/*
Theme Name: MAPA Akademia Mierzyn
Theme URI: https://akademiamapa.pl/
Author: Dawid Jeruzal (dawid@jeruzal.it)
Description: Dedykowany portal WordPress dla Mojej Akademii Piłkarskiej MAPA w Mierzynie z zarządzaniem zawodnikami, rozwojem sportowym, frekwencją, meczami i statystykami, komunikacją, składkami, zgodami, wydarzeniami, obozami i Strefą MAPA.
Version: 5.22.7
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: mapa-akademia
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

:root {
  --mapa-red: #e20716;
  --mapa-red-dark: #9d0710;
  --mapa-red-deep: #6d050b;
  --mapa-black: #ffffff;
  --mapa-ink: #151515;
  --mapa-panel: #ffffff;
  --mapa-panel-2: #f5f5f2;
  --mapa-white: #151515;
  --mapa-muted: #707070;
  --mapa-line: #d9d9d4;
  --mapa-gold: #b98a46;
  --mapa-max: 1440px;
  --mapa-radius: 0px;
  --mapa-shadow: none;
  --mapa-button-radius: 0px;
  --mapa-section-space: 92px;
  --mapa-container-pad: 20px;
  --mapa-heading-scale: 1;
  --mapa-hero-min-height: 100dvh;
  --mapa-card-shadow: none;
  --mapa-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mapa-gallery-columns-tablet: 3;
  --mapa-gallery-columns-mobile: 2;
  --mapa-gallery-page-columns-tablet: 3;
  --mapa-gallery-page-columns-mobile: 2;
  --mapa-adminbar-offset: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mapa-black);
  color: var(--mapa-white);
  font-family: var(--mapa-font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar { --mapa-adminbar-offset: 32px; }
body.mapa-header-static .site-header, body.admin-bar.mapa-header-static .site-header { top: auto; }
@media (max-width: 782px) { body.admin-bar { --mapa-adminbar-offset: 46px; } }
/* WordPress makes the admin bar non-fixed on narrow screens. Do not leave a sticky-header gap after it scrolls away. */
@media (max-width: 600px) { body.admin-bar { --mapa-adminbar-offset: 0px; } }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--mapa-red); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--mapa-red); color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; clip: auto; margin: 8px; padding: 12px 16px;
  background: #fff; color: #000; z-index: 100000;
}

.mapa-container { width: min(calc(100% - (var(--mapa-container-pad) * 2)), var(--mapa-max)); margin-inline: auto; }
.mapa-section { position: relative; padding: var(--mapa-section-space) 0; overflow: hidden; }
.mapa-section--tight { padding: 64px 0; }
.mapa-section--panel { background: var(--mapa-panel); }
.mapa-section--redglow::before {
  content: ""; position: absolute; width: 40rem; height: 40rem; right: -18rem; top: -15rem;
  background: radial-gradient(circle, rgba(226,7,22,.22), transparent 62%); pointer-events: none;
}
.mapa-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  color: var(--mapa-red); font-size: .79rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase;
}
.mapa-eyebrow::before { content: ""; width: 36px; height: 4px; background: var(--mapa-red); transform: skewX(-18deg); }
.mapa-title {
  margin: 0 0 20px; max-width: 900px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(calc(2.6rem * var(--mapa-heading-scale)), calc(6vw * var(--mapa-heading-scale)), calc(5.8rem * var(--mapa-heading-scale))); line-height: .94; letter-spacing: .015em; text-transform: uppercase;
}
.mapa-title .red, .mapa-red { color: var(--mapa-red); }
.mapa-section-title {
  margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(calc(2rem * var(--mapa-heading-scale)), calc(4.4vw * var(--mapa-heading-scale)), calc(4.2rem * var(--mapa-heading-scale))); line-height: 1; letter-spacing: .025em; text-transform: uppercase;
}
.mapa-lead { max-width: 780px; margin: 0; color: #707070; font-size: clamp(1.06rem, 2vw, 1.28rem); }
.mapa-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 38px; }
.mapa-section-head__copy { max-width: 780px; }
.mapa-section-description { margin-top: 16px; }

.mapa-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 22px; border: 0; border-radius: var(--mapa-button-radius);
  background: linear-gradient(135deg, #f20a1b, #b00612); color: #fff;
  font-weight: 900; letter-spacing: .04em; text-decoration: none; text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(226,7,22,.22); transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.mapa-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 34px rgba(226,7,22,.3); }
.mapa-button--ghost { border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.04); box-shadow: none; }
.mapa-button--small { min-height: 40px; padding: 9px 16px; font-size: .82rem; }

/* Header */
.site-header {
  position: sticky; top: var(--mapa-adminbar-offset, 0px); z-index: 999; border-bottom: 1px solid #e2e2dd;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.mapa-header-inner { min-height: 84px; display: flex; align-items: center; gap: 22px; }
.site-branding { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-branding a { text-decoration: none; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 66px; width: auto; }
.mapa-default-logo { display: block; width: 74px; height: 74px; object-fit: contain; border-radius: 5px; }
.mapa-brand-copy { display: none; }
.mapa-brand-copy strong { display: block; font-size: 1.02rem; letter-spacing: .07em; text-transform: uppercase; }
.mapa-brand-copy span { display: block; color: var(--mapa-muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.primary-navigation { margin-left: auto; }
.primary-navigation ul { list-style: none; display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; }
.primary-navigation li { position: relative; }
.primary-navigation a {
  display: block; padding: 12px 12px; border-radius: 0; color: #151515; font-size: .88rem; font-weight: 800;
  letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
}
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a { color: #151515; background: transparent; }
.primary-navigation a:hover,
.primary-navigation a:focus-visible { color: #fff; background: var(--mapa-red); }
.primary-navigation .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; display: none; padding: 8px;
  background: #fff; border: 1px solid var(--mapa-line); border-radius: 0; box-shadow: none;
}
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
/* Desktop hover bridge: keep submenu open while the pointer crosses the visual 8px gap. */
@media (min-width: 1051px) {
  .primary-navigation .sub-menu { z-index: 1100; }
  .primary-navigation .sub-menu::before {
    content: ""; position: absolute; left: -1px; right: -1px; top: -10px; height: 10px; background: transparent;
  }
}
.primary-navigation .sub-menu a { white-space: nowrap; }
.mapa-menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--mapa-line); border-radius: 0; background: #fff; color: #151515; }
.mapa-menu-toggle span, .mapa-menu-toggle span::before, .mapa-menu-toggle span::after { display: block; width: 20px; height: 2px; margin: auto; background: currentColor; transition: .2s; }
.mapa-menu-toggle span { position: relative; }
.mapa-menu-toggle span::before, .mapa-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.mapa-menu-toggle span::before { top: -6px; }
.mapa-menu-toggle span::after { top: 6px; }

/* Hero */
.mapa-hero {
  position: relative; width: 100%; min-height: var(--mapa-hero-min-height);
  display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mapa-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,5,var(--mapa-hero-overlay-strong)) 0%, rgba(5,5,5,var(--mapa-hero-overlay)) 42%, rgba(5,5,5,var(--mapa-hero-overlay-soft)) 100%);
}
.mapa-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5,5,5,.46));
}
.mapa-hero--image-only::before, .mapa-hero--image-only::after { display: none; }
.mapa-hero__visual { position: absolute; inset: 0; overflow: hidden; }
.mapa-hero__visual picture { display: block; width: 100%; height: 100%; }
.mapa-hero__visual img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--mapa-hero-position);
  filter: saturate(1.04) contrast(1.04);
}
/*
 * Hero sizing modes:
 * - viewport-cover fills the viewport and can crop the image (object-fit: cover),
 * - full-image keeps the complete source visible at its natural aspect ratio.
 *   The section still has at least viewport height; when the image is taller than
 *   the viewport the hero grows and the remainder becomes visible on scroll.
 */
.mapa-hero--full-image {
  min-height: var(--mapa-hero-min-height);
  grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(var(--mapa-hero-min-height), auto);
  align-items: stretch; background: var(--mapa-black);
}
.mapa-hero--full-image > .mapa-hero__visual,
.mapa-hero--full-image > .mapa-hero__container { grid-column: 1; grid-row: 1; }
.mapa-hero--full-image .mapa-hero__visual {
  position: relative; inset: auto; min-width: 0; min-height: 100%;
  display: flex; align-items: center; overflow: visible;
}
.mapa-hero--full-image .mapa-hero__visual picture { display: block; width: 100%; height: auto; }
.mapa-hero--full-image .mapa-hero__visual img {
  width: 100%; height: auto; max-width: none; object-fit: contain; object-position: center center;
}
.mapa-hero--full-image .mapa-hero__container {
  position: relative; z-index: 2; min-height: var(--mapa-hero-min-height);
}
.mapa-hero__container { min-height: var(--mapa-hero-min-height); display: flex; align-items: center; }
.mapa-hero__content { position: relative; z-index: 2; width: min(720px, 62%); padding: 96px 0; }
.mapa-hero__copy { max-width: 650px; margin: 0 0 28px; color: #d5d5d8; font-size: 1.15rem; }
.mapa-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mapa-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 38px; border: 1px solid var(--mapa-line); background: var(--mapa-line); border-radius: 12px; overflow: hidden; max-width: 650px; }
.mapa-hero-stat { padding: 16px 18px; background: rgba(7,7,8,.82); }
.mapa-hero-stat strong { display: block; font-size: 1.05rem; color: #fff; }
.mapa-hero-stat span { color: var(--mapa-muted); font-size: .82rem; }

/* Cards */
.mapa-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 22px; }
.mapa-card {
  position: relative; background: #fff;
  border: 1px solid var(--mapa-line); border-radius: 0; overflow: hidden; box-shadow: none;
}
.mapa-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 64px; background: var(--mapa-red); }
.mapa-card__body { padding: 24px; }
.mapa-post-card { grid-column: span 4; min-height: 100%; }
.mapa-post-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #f1f1ee; }
.mapa-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mapa-post-card:hover .mapa-post-card__image img { transform: scale(1.035); }
.mapa-post-card__meta { color: var(--mapa-muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mapa-post-card h3 { margin: 8px 0 10px; font-size: 1.35rem; line-height: 1.2; }
.mapa-post-card h3 a { text-decoration: none; }
.mapa-post-card p { margin: 0; color: #c8c8cb; }

/* Homepage news – horizontal editorial stream. The image source is not cropped and the frame always uses contain. */
.mapa-news-list { display: grid; gap: 22px; }
.mapa-news-row {
  display: grid; grid-template-columns: var(--mapa-news-image-width, 36%) minmax(0, 1fr);
  min-height: 270px; overflow: hidden; position: relative;
  background: linear-gradient(110deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--mapa-line); border-radius: var(--mapa-radius); box-shadow: 0 18px 46px rgba(0,0,0,.16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.mapa-news-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 2; background: var(--mapa-red); }
.mapa-news-row:hover { transform: translateY(-2px); border-color: rgba(226,7,22,.34); box-shadow: 0 22px 54px rgba(0,0,0,.24); }
.mapa-news-row__media {
  min-width: 0; min-height: 270px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: #f1f1ee;
  border-right: 1px solid var(--mapa-line);
}
.mapa-news-row__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 42px rgba(0,0,0,.2); }
.mapa-news-row__image { width: 100%; height: 100%; max-height: 360px; object-fit: contain; object-position: center; display: block; transition: transform .3s ease; }
.mapa-news-row__image--fallback { width: min(58%, 220px); height: auto; padding: 24px; }
.mapa-news-row:hover .mapa-news-row__image:not(.mapa-news-row__image--fallback) { transform: scale(1.018); }
.mapa-news-row__content { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 42px); }
.mapa-news-row__meta { margin-bottom: 10px; color: var(--mapa-red); font-size: .76rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.mapa-news-row__title { margin: 0; font-size: clamp(1.5rem, 2.35vw, 2.25rem); line-height: 1.08; text-wrap: balance; }
.mapa-news-row__title a { color: #fff; text-decoration: none; }
.mapa-news-row__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--mapa-red); text-underline-offset: 6px; }
.mapa-news-row__excerpt { max-width: 760px; margin: 16px 0 0; color: #c8c8cb; line-height: 1.72; }
.mapa-news-row__more { align-self: flex-start; margin-top: 22px; color: #fff; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .055em; font-size: .82rem; }
.mapa-news-row__more span { color: var(--mapa-red); transition: margin-left .2s ease; }
.mapa-news-row__more:hover span { margin-left: 5px; }

/* Feature / recruitment */
.mapa-recruitment { display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, .76fr); gap: 48px; align-items: center; }
.mapa-recruitment--no-image { grid-template-columns: minmax(0, 860px); justify-content: start; }
.mapa-recruitment__image { position: relative; }
.mapa-recruitment__image::before { content: ""; position: absolute; inset: -18px 26px 18px -18px; border: 1px solid rgba(226,7,22,.38); border-radius: 20px; transform: rotate(-1.2deg); }
.mapa-recruitment__image img { position: relative; display: block; width: 100%; border-radius: 18px; box-shadow: var(--mapa-shadow); }
.mapa-checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 11px; }
.mapa-checks li { position: relative; padding-left: 30px; color: #353535; }
.mapa-checks li::before { content: "✓"; position: absolute; left: 0; top: -.1em; color: var(--mapa-red); font-size: 1.2rem; font-weight: 900; }

/* Schedule */
.mapa-schedule-wrap { overflow-x: auto; border: 1px solid var(--mapa-line); border-radius: 0; background: #fff; }
.mapa-schedule { width: 100%; border-collapse: collapse; min-width: 860px; }
.mapa-schedule thead th {
  position: sticky; top: 0; z-index: 1; padding: 14px 16px; text-align: left;
  background: linear-gradient(180deg, #df0b18, #a40711); color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.mapa-schedule tbody td { padding: 13px 16px; border-bottom: 1px solid #e2e2dd; color: #353535; vertical-align: middle; }
.mapa-schedule tbody tr:nth-child(even) { background: #fafaf8; }
.mapa-schedule tbody tr:hover { background: rgba(226,7,22,.06); }
.mapa-schedule__group { min-width: 165px; }
.mapa-schedule__group strong { display: inline; color: #151515; }
.mapa-schedule__group span { color: var(--mapa-muted); font-size: .88rem; }
.mapa-schedule__ball { display: inline-flex; align-items: center; gap: 9px; }
.mapa-schedule__ball::before { content: "⚽"; filter: grayscale(1); }

/* Staff */
.mapa-staff-intro { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 36px; align-items: start; margin-bottom: 34px; }
.mapa-staff-intro--no-poster { grid-template-columns: 1fr; }
.mapa-staff-poster { border-radius: 0; overflow: hidden; box-shadow: none; background:#fff; }
.mapa-staff-poster img { display: block; width: 100%; }
.mapa-staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.mapa-staff-intro--no-poster .mapa-staff-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mapa-staff-card { min-height: 150px; }
.mapa-staff-card__photo { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.mapa-staff-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mapa-staff-card__body { padding: 22px; }
.mapa-staff-card__role { color: var(--mapa-red); font-weight: 900; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.mapa-staff-card h3 { margin: 7px 0 4px; font-size: 1.2rem; }
.mapa-staff-card__group { margin: 0; color: var(--mapa-muted); }
.mapa-staff-card__description { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5e4df; color: #66665f; font-size: .92rem; }
.mapa-staff-card__description p { margin: 0 0 .7em; }
.mapa-staff-card__description p:last-child { margin-bottom: 0; }

/* Camps */
.mapa-camps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mapa-camp { min-height: 290px; display: flex; flex-direction: column; }
.mapa-camp__image { aspect-ratio: 16/8.8; background: #f1f1ee; overflow: hidden; }
.mapa-camp__image img { width: 100%; height: 100%; object-fit: cover; }
.mapa-camp__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.mapa-camp__date { color: var(--mapa-red); font-weight: 900; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.mapa-camp h3 { margin: 8px 0; font-size: 1.3rem; }
.mapa-camp p { margin: 0 0 16px; color: #55554f; }
.mapa-camp .mapa-button { margin-top: auto; align-self: flex-start; }
.mapa-placeholder-card { display: grid; place-items: center; min-height: 280px; padding: 34px; text-align: center; border-style: dashed; }
.mapa-placeholder-card strong { display: block; font-size: 1.2rem; margin-bottom: 5px; }
.mapa-placeholder-card span { color: var(--mapa-muted); }

/* Gallery */
.mapa-gallery-shell { padding: 18px; border: 1px solid var(--mapa-line); border-radius: 0; background: #fff; }
.mapa-home-gallery { display: grid; grid-template-columns: repeat(var(--mapa-gallery-columns,4), minmax(0,1fr)); gap: 10px; }
.mapa-gallery-thumb { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 0; background: #f1f1ee; }
.mapa-gallery-thumb::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.42); color: #fff; font-size: 2rem; font-weight: 300; opacity: 0; transition: opacity .18s ease; }
.mapa-gallery-thumb:hover::after, .mapa-gallery-thumb:focus-visible::after { opacity: 1; }
.mapa-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mapa-gallery-thumb:hover img { transform: scale(1.035); }
.mapa-gallery-more { display: flex; justify-content: center; margin-top: 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.gallery-item { margin: 0; }
.gallery-icon a, .gallery-icon img { display: block; width: 100%; }
.mapa-lightbox[hidden] { display: none; }
.mapa-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; gap: 12px; padding: 28px; background: rgba(0,0,0,.94); }
.mapa-lightbox figure { margin: 0; min-width: 0; text-align: center; }
.mapa-lightbox figure img { max-width: min(1280px,100%); max-height: calc(100dvh - 110px - var(--mapa-adminbar-offset, 0px)); object-fit: contain; }
.mapa-lightbox figcaption { min-height: 24px; margin-top: 10px; color: #ddd; }
.mapa-lightbox__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 2.5rem; line-height: 1; }
.mapa-lightbox__nav { width: 54px; height: 70px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.05); color: #fff; font-size: 2.8rem; }
.mapa-lightbox__next { justify-self: end; }
body.mapa-lightbox-open { overflow: hidden; }

/* Contact */
.mapa-contact { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 34px; align-items: start; }
.mapa-contact--no-form { grid-template-columns: minmax(0,760px); }
.mapa-contact-card { padding: 28px; }
.mapa-contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.mapa-contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.mapa-contact-icon { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(226,7,22,.12); border: 1px solid rgba(226,7,22,.3); border-radius: 9px; color: var(--mapa-red); font-weight: 900; }
.mapa-contact-list strong { display: block; color: #151515; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.mapa-contact-list span, .mapa-contact-list a { color: #4d4d49; text-decoration: none; }
.mapa-contact-list a:hover { color: var(--mapa-red); text-decoration: underline; }
.mapa-form { padding: 28px; }
.mapa-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mapa-field { display: grid; gap: 7px; }
.mapa-field--full { grid-column: 1 / -1; }
.mapa-field label { color: #353535; font-size: .85rem; font-weight: 800; }
.mapa-field input, .mapa-field textarea, .mapa-field select {
  width: 100%; padding: 13px 14px; border: 1px solid #c9c9c2; border-radius: 0;
  background: #fff; color: #151515; outline: none; transition: border-color .18s, box-shadow .18s;
}
.mapa-field textarea { min-height: 155px; resize: vertical; }
.mapa-field input:focus, .mapa-field textarea:focus, .mapa-field select:focus { border-color: rgba(226,7,22,.8); box-shadow: 0 0 0 3px rgba(226,7,22,.11); }
.mapa-form-note { color: var(--mapa-muted); font-size: .8rem; }
.mapa-consent { display:flex; gap:10px; align-items:flex-start; font-weight:500 !important; }
.mapa-consent input { width:auto !important; margin-top:.32em; }
.mapa-form-message { padding: 14px 16px; margin-bottom: 18px; border-radius: 0; border: 1px solid #d9d9d4; }
.mapa-form-message--success { border-color: rgba(68,201,120,.45); background: rgba(68,201,120,.08); }
.mapa-form-message--error { border-color: rgba(226,7,22,.45); background: rgba(226,7,22,.08); }
.mapa-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Footer */
.site-footer { padding: 52px 0 26px; border-top: 1px solid #e2e2dd; background: #fff; }
.mapa-footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 34px; }
.mapa-footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.mapa-footer-logo { width: 88px; flex: 0 0 auto; }
.mapa-footer-copy strong { display: block; margin-top: 6px; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.mapa-footer-copy p { color: var(--mapa-muted); margin: 6px 0 0; max-width: 420px; font-size: .9rem; }
.mapa-footer-title { margin: 0 0 13px; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.mapa-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mapa-footer-links a { color: #4d4d49; text-decoration: none; }
.mapa-footer-links a:hover { color: var(--mapa-red); }
.mapa-footer-menu-hint { margin:0; color:var(--mapa-muted); }
.mapa-footer-menu-hint a { color:#4d4d49; text-decoration:none; }
.mapa-footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #85858b; font-size: .78rem; }

/* Content */
.mapa-page-hero { padding: 92px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg, rgba(226,7,22,.1), transparent 55%); }
.mapa-content { width: min(calc(100% - 40px), 920px); margin: 0 auto; padding: 64px 0 90px; }
.mapa-content > * { max-width: 100%; }
.mapa-content h1, .mapa-content h2, .mapa-content h3 { line-height: 1.15; }
.mapa-content h2 { margin-top: 2em; font-size: 2rem; }
.mapa-content p, .mapa-content li { color: #353535; }
/* News single content must preserve the visual editor paragraph rhythm even when
 * a plugin/core style resets generic paragraph margins. */
.mapa-news-single-body { line-height: 1.68; }
.mapa-news-single-body p { display: block; margin: 0 0 1.15em; }
.mapa-news-single-body p:last-child { margin-bottom: 0; }
.mapa-news-single-body > :is(figure,ul,ol,blockquote,pre,table) { margin-top: 1.25em; margin-bottom: 1.25em; }
.mapa-news-single-body img { height: auto; }
.mapa-content blockquote { margin: 2em 0; padding: 18px 22px; border-left: 4px solid var(--mapa-red); background: rgba(255,255,255,.035); }
.mapa-content table { width: 100%; border-collapse: collapse; }
.mapa-content th, .mapa-content td { padding: 11px 12px; border: 1px solid var(--mapa-line); }
.mapa-content th { background: #f5f5f2; color: #151515; }
.entry-meta { color: var(--mapa-muted); font-size: .82rem; }
.post-navigation { margin-top: 40px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; }

/* Empty / pagination */
.mapa-empty { padding: 30px; border: 1px dashed #c9c9c2; border-radius: 0; background:#fff; color: #55554f; text-align: center; }
.pagination { margin-top: 36px; }
.nav-links .page-numbers { display: inline-grid; min-width: 40px; height: 40px; padding: 0 10px; place-items: center; border: 1px solid var(--mapa-line); border-radius: 7px; text-decoration: none; }
.nav-links .current, .nav-links a.page-numbers:hover { background: var(--mapa-red); border-color: var(--mapa-red); color: #fff; }

/* WordPress alignment */
.alignwide { width: min(1120px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (min-width: 1081px) {
  .mapa-brand-copy { display: block; }
}

@media (max-width: 1050px) {
  .primary-navigation { position: fixed; inset: calc(84px + var(--mapa-adminbar-offset, 0px)) 16px auto; display: none; margin: 0; padding: 12px; max-height: calc(100dvh - 110px - var(--mapa-adminbar-offset, 0px)); overflow: auto; border: 1px solid var(--mapa-line); border-radius: 0; background: #fff; box-shadow: none; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; align-items: stretch; }
  .primary-navigation a { padding: 14px; }
  .primary-navigation .menu-item-has-children > a.mapa-mobile-submenu-toggle{position:relative;padding-right:46px}
  .primary-navigation .menu-item-has-children > a.mapa-mobile-submenu-toggle::after{
    content:"";position:absolute;right:17px;top:50%;width:9px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;
    transform:translateY(-65%) rotate(45deg);transform-origin:60% 60%;transition:transform .2s ease
  }
  .primary-navigation .menu-item-has-children.mapa-mobile-submenu-open > a.mapa-mobile-submenu-toggle::after{transform:translateY(-35%) rotate(225deg)}
  .primary-navigation .sub-menu{position:static;display:none;padding:4px 0 4px 15px;background:transparent;border:0;box-shadow:none}
  .primary-navigation .menu-item-has-children:not(.mapa-mobile-submenu-open) > .sub-menu{display:none!important}
  .primary-navigation .menu-item-has-children.mapa-mobile-submenu-open > .sub-menu{display:grid!important}
  .primary-navigation .sub-menu a{padding:11px 14px;text-transform:none;font-weight:700;color:#353535}
  .mapa-menu-toggle { display: block; position:relative; z-index:1202; flex:0 0 44px; }
  .mapa-hero__content { width: 72%; }
  .mapa-staff-intro--no-poster .mapa-staff-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mapa-recruitment, .mapa-contact, .mapa-staff-intro { grid-template-columns: 1fr 1fr; }
  .mapa-recruitment--no-image, .mapa-contact--no-form, .mapa-staff-intro--no-poster { grid-template-columns: 1fr; }
  .mapa-post-card { grid-column: span 6; }
  .mapa-staff-grid, .mapa-camps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mapa-home-gallery { grid-template-columns: repeat(var(--mapa-gallery-columns-tablet),minmax(0,1fr)); }
  .mapa-full-gallery { grid-template-columns: repeat(var(--mapa-gallery-page-columns-tablet),minmax(0,1fr)) !important; }
}

/* v1.6.3: portrait screens (including rotated desktop monitors) use the dedicated portrait Hero.
 * In fit mode the artwork determines the section height, preventing empty bands above/below it. */
@media (min-width: 761px) and (orientation: portrait) {
  .mapa-hero--mobile-fit {
    min-height: 0; height: auto; grid-template-columns:minmax(0,1fr); grid-template-rows:auto; align-items:stretch; background:var(--mapa-black);
  }
  .mapa-hero--mobile-fit > .mapa-hero__visual,
  .mapa-hero--mobile-fit > .mapa-hero__container { grid-column:1; grid-row:1; }
  .mapa-hero--mobile-fit .mapa-hero__visual { position:relative; inset:auto; min-height:0; display:block; overflow:hidden; }
  .mapa-hero--mobile-fit .mapa-hero__visual picture { display:block; width:100%; height:auto; }
  .mapa-hero--mobile-fit .mapa-hero__visual img { display:block; width:100%; height:auto; max-width:none; object-fit:contain; object-position:center center; }
  .mapa-hero--mobile-fit .mapa-hero__container { position:relative; z-index:2; min-height:0; align-items:center; }
  .mapa-hero--mobile-fill { min-height:100vh; min-height:100dvh; grid-template-rows:minmax(100dvh,auto); }
  .mapa-hero--mobile-fill .mapa-hero__visual { position:absolute; inset:0; min-height:100%; display:block; overflow:hidden; }
  .mapa-hero--mobile-fill .mapa-hero__visual picture,
  .mapa-hero--mobile-fill .mapa-hero__visual img { width:100%; height:100%; }
  .mapa-hero--mobile-fill .mapa-hero__visual img { object-fit:cover; object-position:var(--mapa-hero-position); }
  .mapa-hero--mobile-fill .mapa-hero__container { min-height:100vh; min-height:100dvh; }
}

@media (max-width: 760px) {
  .mapa-container { width: min(calc(100% - (var(--mapa-container-pad) * 2)), var(--mapa-max)); }
  .mapa-header-inner { min-height: 74px; flex-wrap:nowrap; }
  .mapa-default-logo, .custom-logo { max-height: 58px; width: auto; }
  .primary-navigation { top: calc(74px + var(--mapa-adminbar-offset, 0px)); }
  .mapa-hero { min-height: var(--mapa-hero-min-height); align-items: end; }
  .mapa-hero::before { background: linear-gradient(180deg, rgba(5,5,5,var(--mapa-hero-overlay-mobile-soft)), rgba(5,5,5,var(--mapa-hero-overlay-mobile-strong)) 58%, rgba(5,5,5,.88) 100%); }
  .mapa-hero__container { min-height: var(--mapa-hero-min-height); align-items: end; }
  .mapa-hero__content { width: 100%; padding: 200px 0 64px; }

  /* v1.3.1: mobile Hero modes.
   * FIT IMAGE removes the artificial viewport-height row that caused large
   * black bands above and below wide hero artwork on portrait phones.
   * FILL VIEWPORT intentionally uses cover/cropping when a full-screen Hero
   * is preferred instead.
   */
  .mapa-hero--mobile-fit {
    min-height: 0;
    height: auto;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    align-items: stretch;
    background: var(--mapa-black);
  }
  .mapa-hero--mobile-fit > .mapa-hero__visual,
  .mapa-hero--mobile-fit > .mapa-hero__container { grid-column: 1; grid-row: 1; }
  .mapa-hero--mobile-fit .mapa-hero__visual {
    position: relative;
    inset: auto;
    min-height: 0;
    display: block;
    overflow: hidden;
  }
  .mapa-hero--mobile-fit .mapa-hero__visual picture {
    display: block;
    width: 100%;
    height: auto;
  }
  .mapa-hero--mobile-fit .mapa-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center center;
  }
  .mapa-hero--mobile-fit .mapa-hero__container {
    position: relative;
    z-index: 2;
    min-height: 0;
    align-items: center;
  }
  .mapa-hero--mobile-fit.mapa-hero--image-only .mapa-hero__visual { line-height: 0; }

  .mapa-hero--mobile-fill {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-rows: minmax(100svh, auto);
    align-items: end;
  }
  .mapa-hero--mobile-fill .mapa-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
    display: block;
    overflow: hidden;
  }
  .mapa-hero--mobile-fill .mapa-hero__visual picture { width: 100%; height: 100%; }
  .mapa-hero--mobile-fill .mapa-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--mapa-hero-position);
  }
  .mapa-hero--mobile-fill .mapa-hero__container { min-height: 100vh; min-height: 100svh; align-items: end; }

  /* v1.3.3: when a dedicated portrait image is configured, <picture> swaps
   * only on portrait phones. Landscape phones continue to use the wide Hero. */
  @media (orientation: portrait) {
    .mapa-hero--has-portrait.mapa-hero--mobile-fit .mapa-hero__visual img { width: 100%; height: auto; object-fit: contain; object-position: center center; }
    .mapa-hero--has-portrait.mapa-hero--mobile-fill .mapa-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: var(--mapa-hero-position); }
  }
  .mapa-hero__copy { font-size: 1rem; }
  .mapa-hero__stats { grid-template-columns: 1fr; }
  .mapa-section-head { display: grid; align-items: start; }
  .mapa-post-card { grid-column: span 12; }
  .mapa-news-row { grid-template-columns: 1fr; min-height: 0; }
  .mapa-news-row__media { min-height: 0; height: clamp(260px, 72vw, 430px); border-right: 0; border-bottom: 1px solid var(--mapa-line); }
  .mapa-news-row__image { max-height: 100%; }
  .mapa-news-row__content { padding: 26px 24px 30px; }

  /* v1.3.2: mobile training schedule. The default card mode keeps every
   * training fully visible without horizontal scrolling. The legacy table
   * mode remains selectable in MAPA – Wygląd → Harmonogram treningów. */
  .mapa-schedule-wrap--mobile-cards { overflow: visible; border: 0; background: transparent; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule { display: block; width: 100%; min-width: 0; border-collapse: separate; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody { display: grid; gap: 14px; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--mapa-line); border-radius: 0; background: #fff; box-shadow: none; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody tr:nth-child(even) { background: #fafaf8; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody tr:hover { background: #fff; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody td { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 12px 14px; border: 0; border-bottom: 1px solid #e2e2dd; color: #353535; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody td:nth-last-child(-n+2) { border-bottom: 0; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody td::before { content: attr(data-label); color: var(--mapa-muted); font-size: .67rem; font-weight: 800; line-height: 1.2; letter-spacing: .085em; text-transform: uppercase; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule tbody td:empty::after { content: "—"; color: var(--mapa-muted); }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__group { grid-column: 1 / -1; min-width: 0; padding: 15px 14px; border-bottom: 1px solid rgba(226,7,22,.42); background: linear-gradient(90deg,rgba(226,7,22,.18),rgba(226,7,22,.035)); }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__group::before { display: none; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__group strong { font-size: 1.02rem; line-height: 1.3; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__day,
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__time { font-weight: 800; }
  .mapa-schedule-wrap--mobile-cards .mapa-schedule__place { grid-column: 1 / -1; }
  .mapa-recruitment, .mapa-contact, .mapa-staff-intro { grid-template-columns: 1fr; }
  .mapa-recruitment--no-image, .mapa-contact--no-form, .mapa-staff-intro--no-poster { grid-template-columns: 1fr; }
  .mapa-recruitment__image { order: -1; }
  .mapa-staff-grid, .mapa-camps, .mapa-staff-intro--no-poster .mapa-staff-grid { grid-template-columns: 1fr; }
  .mapa-form-grid { grid-template-columns: 1fr; }
  .mapa-field--full { grid-column: auto; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .mapa-home-gallery { grid-template-columns: repeat(var(--mapa-gallery-columns-mobile),minmax(0,1fr)); }
  .mapa-full-gallery { grid-template-columns: repeat(var(--mapa-gallery-page-columns-mobile),minmax(0,1fr)) !important; }
  .mapa-lightbox { grid-template-columns: 42px minmax(0,1fr) 42px; padding: 16px 8px; gap: 4px; }
  .mapa-lightbox__nav { width: 40px; height: 58px; font-size: 2rem; }
  .mapa-footer-grid { grid-template-columns: 1fr; }
  .mapa-footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Full Gallery page */
.mapa-gallery-page-section{padding-top:34px}.mapa-gallery-page-content{max-width:900px;margin:0 auto 34px}.mapa-full-gallery-shell{padding:14px}.mapa-full-gallery .mapa-gallery-thumb{border-radius:12px}.mapa-gallery-page-hero .mapa-lead{max-width:760px;margin-top:12px}

/* v1.2.3 – full Aktualności page uses the same editorial rows as the homepage. */
.mapa-news-list--archive + .page-numbers { margin-top: 42px; }

/* v1.2.4 – unified pagination for Aktualności and Galeria. */
.mapa-pagination{display:flex;justify-content:center;margin-top:42px}.mapa-pagination ul.page-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}.mapa-pagination li{margin:0}.mapa-pagination a.page-numbers,.mapa-pagination span.page-numbers{display:inline-grid;min-width:44px;height:44px;padding:0 12px;place-items:center;border:1px solid var(--mapa-line);border-radius:9px;background:rgba(255,255,255,.025);color:var(--mapa-white);text-decoration:none;font-weight:800;transition:border-color .18s ease,background .18s ease,transform .18s ease}.mapa-pagination a.page-numbers:hover,.mapa-pagination a.page-numbers:focus-visible{border-color:var(--mapa-red);background:rgba(226,7,22,.14);transform:translateY(-1px)}.mapa-pagination span.page-numbers.current{border-color:var(--mapa-red);background:var(--mapa-red);color:#fff}.mapa-pagination .dots{border-color:transparent;background:transparent}.mapa-gallery-pagination{margin-top:30px;margin-bottom:4px}

/* Recruitment Online legacy dark-theme block removed in v5.8.0.
   The active MAPA Modern rules live in the Public Recruitment section below. */
.mapa-turnstile{max-width:340px;min-height:65px}

/* ==========================================================
   MAPA Accounts & Identity — v1.5.0 / Communication Center v1.6.0
   ========================================================== */
.mapa-member-auth-main{min-height:calc(100svh - 80px);display:grid;align-items:center;padding:70px 0;background:#f6f6f4}.mapa-member-auth-shell{width:min(calc(100% - 32px),1100px);margin-inline:auto;display:grid;grid-template-columns:minmax(0,.95fr) minmax(300px,.75fr);gap:28px;align-items:stretch}.mapa-member-auth-card,.mapa-member-auth-info{border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}.mapa-member-auth-card{padding:34px}.mapa-member-auth-info{padding:40px;display:flex;flex-direction:column;justify-content:center;background:#fafaf8}.mapa-member-auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:34px}.mapa-member-auth-brand img{width:72px;height:72px;object-fit:contain}.mapa-member-auth-brand>div{display:grid}.mapa-member-auth-brand span{color:var(--mapa-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.1em}.mapa-member-auth-brand strong{font-size:1.05rem}.mapa-member-eyebrow{display:inline-block;color:#ff2332;font-size:.78rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.mapa-member-auth-card h1{margin:8px 0 8px;font-size:clamp(2rem,4vw,3.2rem);line-height:1}.mapa-member-auth-card>p,.mapa-member-auth-info p{color:var(--mapa-muted)}.mapa-member-auth-info h2{margin:8px 0 14px;font-size:clamp(2rem,3.6vw,3.3rem);line-height:1.02;text-transform:uppercase}.mapa-member-auth-form{display:grid;gap:16px;margin-top:26px}.mapa-member-auth-form label,.mapa-member-password-form label,.mapa-member-profile-form label{display:grid;gap:7px}.mapa-member-auth-form label>span,.mapa-member-password-form label>span,.mapa-member-profile-form label>span{font-weight:800}.mapa-member-auth-form input,.mapa-member-password-form input,.mapa-member-profile-form input{width:100%;min-height:50px;border:1px solid #cfcfca;border-radius:0;background:#fff;color:#151515;padding:11px 14px;outline:none}.mapa-member-auth-form input:focus,.mapa-member-password-form input:focus,.mapa-member-profile-form input:focus{border-color:var(--mapa-red);box-shadow:0 0 0 3px rgba(226,7,22,.18)}.mapa-otp-input{font-size:1.9rem!important;font-weight:900;letter-spacing:.36em;text-align:center}.mapa-member-forgot{display:inline-block;margin-top:18px;color:var(--mapa-muted)}.mapa-member-resend-form{margin-top:14px}.mapa-link-button{padding:0;border:0;background:transparent;color:#b50915;text-decoration:underline;text-underline-offset:3px}.mapa-member-security-badge{align-self:flex-start;margin-top:18px;padding:10px 13px;border:1px solid #deded8;border-radius:0;background:#fafaf8;color:#353535;font-size:.86rem;font-weight:800}.mapa-member-notice{margin:16px 0;padding:13px 15px;border-radius:0;border:1px solid #deded8;font-weight:700}.mapa-member-notice--success{background:rgba(25,126,65,.16);border-color:rgba(73,190,112,.35);color:#226e39}.mapa-member-notice--error{background:rgba(226,7,22,.14);border-color:rgba(255,67,78,.4);color:#9e101b}.mapa-member-portal-main{padding:56px 0 100px}.mapa-member-portal-shell{display:grid;gap:0}.mapa-member-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:28px;border:1px solid var(--mapa-line);border-radius:0;background:#fff;box-shadow:none}.mapa-member-profile-summary{display:flex;align-items:center;gap:20px}.mapa-member-avatar{width:112px;height:112px;object-fit:cover;border-radius:0;border:2px solid #deded8;background:#f1f1ee}.mapa-member-profile-summary h1{margin:4px 0 4px;font-size:clamp(2rem,4vw,3.4rem);line-height:1}.mapa-member-profile-summary p{margin:0;color:var(--mapa-muted)}.mapa-member-tabs{position:sticky;top:82px;z-index:20;display:flex;gap:8px;overflow:auto;margin:18px 0 0;padding:8px;border:1px solid var(--mapa-line);border-radius:0;background:#fff}.mapa-member-tabs a{flex:0 0 auto;padding:10px 14px;border-radius:0;text-decoration:none;font-weight:800;color:var(--mapa-muted)}.mapa-member-tabs a:hover,.mapa-member-tabs a:focus{background:#fff3f4;color:#b50915}.mapa-member-section{padding:68px 0 0;scroll-margin-top:150px}.mapa-member-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mapa-member-stat-card,.mapa-member-panel,.mapa-member-player-card{border:1px solid var(--mapa-line);border-radius:0;background:#fff;box-shadow:none}.mapa-member-stat-card{display:grid;gap:6px;padding:21px}.mapa-member-stat-card>span{color:#ff3744;font-size:.75rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.mapa-member-stat-card>strong{font-size:1.55rem}.mapa-member-stat-card>small{color:var(--mapa-muted);line-height:1.45}.mapa-member-players-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mapa-member-player-card{padding:18px}.mapa-member-player-card__head{display:flex;align-items:center;gap:13px}.mapa-member-player-card__head img,.mapa-member-player-placeholder{width:72px;height:72px;flex:0 0 72px;border-radius:0}.mapa-member-player-card__head img{object-fit:cover}.mapa-member-player-placeholder{display:grid;place-items:center;background:#f1f1ee;color:#353535;font-size:30px}.mapa-member-player-card h3{margin:0;font-size:1.16rem}.mapa-member-player-card__head p{margin:4px 0 0;color:var(--mapa-muted);font-size:.88rem}.mapa-member-player-data{display:grid;gap:0;margin:16px 0 0}.mapa-member-player-data>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #e2e2dd}.mapa-member-player-data dt{color:var(--mapa-muted)}.mapa-member-player-data dd{margin:0;text-align:right;font-weight:700}.mapa-member-guardians{display:grid;gap:5px;margin-top:14px;padding-top:12px;border-top:1px solid #e2e2dd;font-size:.88rem}.mapa-member-guardians>strong{color:#ff3744}.mapa-member-empty{grid-column:1/-1;display:grid;gap:4px;padding:26px;border:1px dashed #cfcfca;border-radius:0;color:var(--mapa-muted)}.mapa-member-empty strong{color:#151515}.mapa-member-panel{padding:24px}.mapa-member-profile-form{display:grid;gap:22px}.mapa-member-avatar-upload{display:flex;align-items:center;gap:20px}.mapa-member-avatar-upload label{flex:1}.mapa-member-avatar-upload small,.mapa-member-form-grid small{color:var(--mapa-muted)}.mapa-member-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mapa-member-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mapa-member-panel h3{margin-top:0}.mapa-member-mfa-state{display:flex;align-items:center;gap:9px;margin:12px 0}.mapa-member-security-dot{width:12px;height:12px;border-radius:50%;background:#39d173;box-shadow:0 0 0 5px rgba(57,209,115,.12)}.mapa-member-password-form{display:grid;gap:13px}.mapa-member-panel p{color:var(--mapa-muted)}
@media(max-width:1050px){.mapa-member-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-players-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-auth-shell{grid-template-columns:1fr}.mapa-member-auth-info{order:-1;padding:28px}.mapa-member-security-grid{grid-template-columns:1fr}}
@media(max-width:760px){.mapa-member-auth-main{padding:26px 0}.mapa-member-auth-shell{width:min(calc(100% - 22px),680px);gap:14px}.mapa-member-auth-card,.mapa-member-auth-info{padding:22px;border-radius:0}.mapa-member-auth-info{display:none}.mapa-member-auth-brand{margin-bottom:24px}.mapa-member-auth-brand img{width:58px;height:58px}.mapa-member-portal-main{padding:22px 0 70px}.mapa-member-portal-hero{align-items:flex-start;flex-direction:column;padding:18px}.mapa-member-profile-summary{align-items:flex-start}.mapa-member-avatar{width:78px;height:78px;border-radius:0}.mapa-member-profile-summary h1{font-size:1.8rem}.mapa-member-tabs{top:74px;margin-top:10px}.mapa-member-section{padding-top:46px}.mapa-member-dashboard-grid,.mapa-member-players-grid,.mapa-member-form-grid{grid-template-columns:1fr}.mapa-member-avatar-upload{align-items:flex-start;flex-direction:column}.mapa-member-player-data>div{display:grid;gap:2px}.mapa-member-player-data dd{text-align:left}.mapa-otp-input{font-size:1.6rem!important;letter-spacing:.28em}}

/* MAPA Communication Center & private documents — v1.6.0 */
.mapa-member-messages,.mapa-member-documents{display:grid;gap:14px}.mapa-member-message,.mapa-member-document{padding:20px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}.mapa-member-message{border-left:4px solid #cfcfca}.mapa-member-message--important{border-left-color:#e7a31a}.mapa-member-message--urgent{border-left-color:var(--mapa-red)}.mapa-member-message header,.mapa-member-document header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.mapa-member-message header h3,.mapa-member-document header h3{margin:4px 0 3px;font-size:clamp(20px,2.5vw,27px)}.mapa-member-message header p,.mapa-member-document header p{margin:0;color:var(--mapa-muted);font-size:13px}.mapa-member-message-priority,.mapa-member-document header>div>span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:rgba(226,7,22,.14);color:#b50915;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.mapa-member-ack-state{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;background:rgba(231,163,26,.15);color:#8a5a00;font-size:11px;font-weight:800;white-space:nowrap}.mapa-member-ack-state.is-done{background:rgba(49,176,93,.15);color:#226e39}.mapa-member-message-body,.mapa-member-document-body{color:#353535;line-height:1.65}.mapa-member-message-body p:last-child,.mapa-member-document-body p:last-child{margin-bottom:0}.mapa-member-message form{margin-top:16px}.mapa-member-document-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:16px}.mapa-member-document-actions form{margin:0}.mapa-member-compose{margin-bottom:18px}.mapa-member-compose>h3{margin-top:0}.mapa-member-muted{color:var(--mapa-muted)}.mapa-member-compose .mapa-recipient-builder{margin:16px 0;border-color:var(--mapa-line);background:#fff}.mapa-member-compose .mapa-recipient-audience{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mapa-member-compose .mapa-check-card{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--mapa-line);border-radius:0;background:#fff}.mapa-member-compose .mapa-check-card span{display:grid;gap:3px}.mapa-member-compose .mapa-check-card small,.mapa-member-compose .description{color:var(--mapa-muted);font-size:12px;line-height:1.45}.mapa-member-compose .mapa-recipient-columns{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}.mapa-member-compose .mapa-recipient-columns strong{display:block;margin-bottom:7px}.mapa-member-compose .mapa-checkbox-grid{display:grid;gap:7px;max-height:190px;overflow:auto}.mapa-member-compose .mapa-checkbox-grid label{display:flex;align-items:flex-start;gap:8px;padding:8px;border:1px solid var(--mapa-line);border-radius:0;background:#fff}.mapa-member-compose .mapa-recipient-columns select{width:100%;min-height:132px;background:#fff;color:#151515;border:1px solid #cfcfca;border-radius:0}.mapa-member-form-grid--compose textarea{width:100%;min-height:130px}.mapa-member-wide{grid-column:1/-1}.mapa-member-channel-checks{display:grid;gap:7px}.mapa-member-channel-checks>span{font-weight:700}.mapa-member-channel-checks label{display:inline-flex;align-items:center;gap:7px;margin-right:10px}.mapa-member-checkbox{display:flex!important;align-items:center;gap:8px}.mapa-member-whatsapp-queue{margin-bottom:18px}.mapa-member-whatsapp-links{display:flex;flex-wrap:wrap;gap:8px}.mapa-member-tabs{overflow-x:auto;scrollbar-width:thin}.mapa-member-document input[type=file]{max-width:100%}
@media(max-width:900px){.mapa-member-compose .mapa-recipient-audience{grid-template-columns:1fr}.mapa-member-compose .mapa-recipient-columns{grid-template-columns:1fr}.mapa-member-wide{grid-column:auto}}@media(max-width:640px){.mapa-member-message,.mapa-member-document{padding:16px}.mapa-member-message header,.mapa-member-document header{display:grid}.mapa-member-ack-state{justify-self:start}.mapa-member-document-actions{align-items:stretch;flex-direction:column}.mapa-member-document-actions .mapa-button,.mapa-member-document-actions form,.mapa-member-document-actions form .mapa-button{width:100%}}

/* ==========================================================
   Header account menu + wider portal polish — v1.6.2
   ========================================================== */
.mapa-header-account{position:relative;flex:0 0 auto;margin-left:4px}
.mapa-header-account--desktop{display:block}
.mapa-header-account__trigger,.mapa-header-login{min-height:52px;display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.mapa-header-account__trigger{width:100%;text-align:left}
.mapa-header-account__trigger:hover,.mapa-header-account__trigger:focus-visible,.mapa-header-login:hover,.mapa-header-login:focus-visible{border-color:rgba(226,7,22,.62);background:rgba(226,7,22,.09);color:#fff;outline:none}
.mapa-header-account-avatar,.mapa-header-generic-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:#fff;object-fit:cover}
.mapa-header-generic-avatar{display:grid;place-items:center;color:#d7d7da}
.mapa-header-generic-avatar svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.mapa-header-account__copy{display:grid;line-height:1.12;min-width:0}
.mapa-header-account__copy small{color:var(--mapa-muted);font-size:.65rem;letter-spacing:.07em;text-transform:uppercase}
.mapa-header-account__copy strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}
.mapa-header-account__chevron{width:8px;height:8px;margin-left:2px;border-right:2px solid #66665f;border-bottom:2px solid #66665f;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
.mapa-header-account.is-open .mapa-header-account__chevron,.mapa-header-account:focus-within .mapa-header-account__chevron{transform:rotate(225deg) translate(-1px,-1px)}
.mapa-header-account__menu{position:absolute;z-index:1200;right:0;top:calc(100% + 10px);width:260px;display:none;padding:8px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}
.mapa-header-account:hover .mapa-header-account__menu,.mapa-header-account:focus-within .mapa-header-account__menu,.mapa-header-account.is-open .mapa-header-account__menu{display:grid}
.mapa-header-account__menu-head{display:grid;gap:2px;padding:10px 11px 12px;margin-bottom:5px;border-bottom:1px solid #e2e2dd}
.mapa-header-account__menu-head strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mapa-header-account__menu-head span{color:var(--mapa-muted);font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mapa-header-account__menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.mapa-header-account__menu>a{display:block;padding:10px 11px;border-radius:0;color:#353535;text-decoration:none;font-size:.84rem;font-weight:700}
.mapa-header-account__menu>a:hover,.mapa-header-account__menu>a:focus-visible{background:#fff3f4;color:#b50915;outline:none}
.mapa-header-account__menu>.mapa-account-logout{margin-top:4px;border-top:1px solid #e2e2dd;border-radius:0;color:#b50915}
.mapa-header-login{font-size:.82rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.mapa-mobile-account{display:none}

/* Member portal form controls use the canonical MAPA Modern light scheme. */
.mapa-member-portal-main{color-scheme:light}
.mapa-member-portal-main input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mapa-member-portal-main textarea,
.mapa-member-portal-main select{
  width:100%;min-height:50px;padding:11px 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px;
  background:#fff;color:#151515;box-shadow:inset 0 1px 0 rgba(255,255,255,.02);outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.mapa-member-portal-main textarea{min-height:130px;resize:vertical}
.mapa-member-portal-main select[multiple]{min-height:145px}
.mapa-member-portal-main input::placeholder,.mapa-member-portal-main textarea::placeholder{color:#77777d;opacity:1}
.mapa-member-portal-main input:disabled,.mapa-member-portal-main textarea:disabled,.mapa-member-portal-main select:disabled{background:#fff;color:#8e8e94;opacity:1;cursor:not-allowed}
.mapa-member-portal-main input:not([type="checkbox"]):not([type="radio"]):focus,
.mapa-member-portal-main textarea:focus,.mapa-member-portal-main select:focus{border-color:rgba(242,10,27,.85);background:#fff;box-shadow:0 0 0 3px rgba(226,7,22,.14)}
.mapa-member-portal-main input:-webkit-autofill,.mapa-member-portal-main input:-webkit-autofill:hover,.mapa-member-portal-main input:-webkit-autofill:focus{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #09090a inset;caret-color:#fff;transition:background-color 9999s ease-in-out 0s}
.mapa-member-portal-main input[type="checkbox"],.mapa-member-portal-main input[type="radio"]{width:18px;height:18px;accent-color:var(--mapa-red)}
.mapa-member-portal-main input[type="file"]{padding:7px 9px;min-height:48px}
.mapa-member-portal-main input[type="file"]::file-selector-button{margin-right:11px;padding:8px 12px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#e30613;color:#fff;font-weight:800;cursor:pointer}
.mapa-member-portal-main input[type="file"]::file-selector-button:hover{background:#b9000b}
.mapa-member-profile-form,.mapa-member-password-form,.mapa-member-compose form{accent-color:var(--mapa-red)}
.mapa-member-profile-form label>span,.mapa-member-password-form label>span,.mapa-member-compose label>span{color:#f3f3f5}
.mapa-member-panel{background:#fff;border-color:#deded8}
.mapa-member-profile-form{gap:26px}
.mapa-member-avatar-upload{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#fff}
.mapa-member-form-grid>label,.mapa-member-password-form>label{gap:8px}
.mapa-member-profile-form>.mapa-button,.mapa-member-password-form>.mapa-button{justify-self:start}
.mapa-member-security-grid .mapa-member-panel{min-height:100%}
.mapa-member-tabs{box-shadow:0 12px 35px rgba(0,0,0,.24)}
.mapa-member-section .mapa-section-heading{margin-bottom:20px}
.mapa-member-section .mapa-section-heading h2{margin:.15em 0 0}

@media (max-width:1050px){
  .mapa-header-account--desktop{display:none}
  .mapa-mobile-account{display:block;margin:0 0 10px;border:1px solid rgba(255,255,255,.11);border-radius:11px;background:#fff;overflow:hidden}
  .mapa-mobile-account:not([open]) .mapa-mobile-account__links{display:none}
  .mapa-mobile-account>summary{list-style:none}
  .mapa-mobile-account>summary::-webkit-details-marker{display:none}
  .mapa-mobile-login{display:flex!important;align-items:center;gap:11px;padding:12px 14px!important;background:transparent!important;text-transform:none!important}
  .mapa-mobile-login span:last-child{display:grid;gap:1px}
  .mapa-mobile-login strong{font-size:.95rem}
  .mapa-mobile-login small{color:var(--mapa-muted);font-size:.72rem;font-weight:600;text-transform:none;letter-spacing:0}
  .mapa-mobile-account__identity{display:flex;align-items:center;gap:11px;width:100%;padding:12px 14px;cursor:pointer;user-select:none}
  .mapa-mobile-account__identity:hover,.mapa-mobile-account__identity:focus-visible{background:rgba(255,255,255,.045);outline:none}
  .mapa-mobile-account__identity>div{display:grid;gap:2px;min-width:0;flex:1}
  .mapa-mobile-account__identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}
  .mapa-mobile-account__identity span{color:var(--mapa-muted);font-size:.72rem}
  .mapa-mobile-account__chevron{width:9px;height:9px;margin-left:auto;margin-right:4px;border-right:2px solid #aaa;border-bottom:2px solid #aaa;transform:rotate(45deg);transition:transform .18s ease}
  .mapa-mobile-account[open] .mapa-mobile-account__chevron{transform:rotate(225deg)}
  .mapa-mobile-account__links{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px 10px 10px;border-top:1px solid rgba(255,255,255,.09)}
  .mapa-mobile-account__links a{padding:10px!important;border-radius:8px;background:rgba(255,255,255,.025);font-size:.78rem!important;text-transform:none!important}
  .mapa-mobile-account__links a:hover{background:rgba(255,255,255,.07)}
  .mapa-mobile-account__links .mapa-account-logout{color:#ff6670}
}
@media (max-width:560px){
  .mapa-mobile-account__links{grid-template-columns:1fr}
  .mapa-member-panel{padding:18px}
  .mapa-member-avatar-upload{padding:14px}
}

/* =========================================================
   Strefa MAPA 2.0 — v1.7.0
   ========================================================= */
.mapa-member-portal-v2{--member-surface:#0d0d0f;--member-surface-2:#131316;--member-line:rgba(255,255,255,.11)}
.mapa-member-portal-hero--v2{background:#fff;border:1px solid var(--member-line);box-shadow:none}
.mapa-member-hero-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.mapa-member-heading-row{display:flex;align-items:end;justify-content:space-between;gap:28px}
.mapa-member-heading-row>p{max-width:520px;margin:0;color:var(--mapa-muted);text-align:right}
.mapa-member-tabs a{display:inline-flex;align-items:center;gap:7px}
.mapa-tab-count,.mapa-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--mapa-red);color:#fff;font-size:11px;font-weight:900;line-height:1}
.mapa-tab-count--warning{background:#df9715;color:#111}
.mapa-header-account__menu>a,.mapa-mobile-account__links a{display:flex!important;align-items:center;justify-content:space-between;gap:9px}
.mapa-nav-count{min-width:18px;height:18px;padding:0 5px;font-size:10px}
.mapa-member-dashboard-grid--v2{grid-template-columns:repeat(4,minmax(0,1fr))}
.mapa-member-stat-card--action{text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.mapa-member-stat-card--action:hover,.mapa-member-stat-card--action:focus-visible{transform:translateY(-2px);border-color:rgba(226,7,22,.42);background:linear-gradient(180deg,rgba(226,7,22,.08),rgba(255,255,255,.015));outline:none}
.mapa-member-overview-block{margin-top:18px;padding:22px;border:1px solid var(--member-line);border-radius:var(--mapa-radius);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008)),var(--member-surface);box-shadow:var(--mapa-card-shadow)}
.mapa-member-subheading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.mapa-member-subheading h3{margin:2px 0 0;font-size:clamp(22px,2vw,29px)}
.mapa-member-subheading>a,.mapa-member-subheading-actions a{color:#ff5964;font-size:.84rem;font-weight:800;text-decoration:none}
.mapa-member-subheading-actions{display:flex;gap:14px;flex-wrap:wrap}
.mapa-member-card-kicker{display:block;color:#ff4d59;font-size:.69rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.mapa-member-family-grid,.mapa-member-groups-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mapa-member-family-card,.mapa-member-group-card{padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#fff}
.mapa-member-family-card__head{display:flex;align-items:center;gap:13px}
.mapa-member-family-card__head img,.mapa-member-family-card__head .mapa-member-player-placeholder{width:54px;height:54px;flex:0 0 54px;border-radius:13px;object-fit:cover}
.mapa-member-family-card__head h4,.mapa-member-group-card h4{margin:0;font-size:1.05rem}.mapa-member-family-card__head p{margin:3px 0 0;color:var(--mapa-muted);font-size:.78rem}
.mapa-member-family-training,.mapa-member-next-training{display:grid;gap:2px;margin-top:14px;padding:13px 14px;border-radius:11px;background:rgba(226,7,22,.075);border:1px solid rgba(226,7,22,.14)}
.mapa-member-family-training>span,.mapa-member-next-training>span{color:#ff606b;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.mapa-member-family-training strong,.mapa-member-next-training strong{font-size:.94rem}.mapa-member-family-training small,.mapa-member-next-training small{color:var(--mapa-muted)}
.mapa-member-family-training.is-empty{background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.08)}.mapa-member-family-training.is-empty>span{color:var(--mapa-muted)}
.mapa-member-group-card{min-height:150px;display:flex;flex-direction:column}.mapa-member-group-card h4{margin:6px 0 18px;font-size:1.16rem}.mapa-member-group-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}.mapa-member-group-metrics span{display:grid;gap:2px;padding:10px;border-radius:9px;background:rgba(255,255,255,.03);color:var(--mapa-muted);font-size:.72rem}.mapa-member-group-metrics strong{color:#fff;font-size:.85rem}
.mapa-member-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mapa-member-quick-grid>a{display:grid;gap:4px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#fff;text-decoration:none}.mapa-member-quick-grid>a:hover{border-color:rgba(226,7,22,.38);background:rgba(226,7,22,.06)}.mapa-member-quick-grid strong{font-size:.92rem}.mapa-member-quick-grid span{color:var(--mapa-muted);font-size:.72rem}
.mapa-member-overview-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mapa-member-mini-list{display:grid;gap:8px}.mapa-member-mini-list>a{display:flex;align-items:center;gap:11px;padding:11px;border-radius:10px;background:rgba(255,255,255,.025);text-decoration:none}.mapa-member-mini-list>a:hover{background:rgba(255,255,255,.055)}.mapa-member-mini-list>a.is-unread strong{color:#fff}.mapa-member-mini-list>a>span:nth-child(2){display:grid;gap:2px;min-width:0}.mapa-member-mini-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem}.mapa-member-mini-list small{color:var(--mapa-muted);font-size:.7rem}.mapa-member-mini-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#777}.mapa-member-mini-dot--important{background:#df9715}.mapa-member-mini-dot--urgent{background:var(--mapa-red)}
.mapa-member-empty--compact{padding:13px;font-size:.8rem}
.mapa-member-filterbar{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 15px}.mapa-member-filterbar a{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--member-line);border-radius:999px;background:#fff;color:#353535;text-decoration:none;font-size:.78rem;font-weight:800}.mapa-member-filterbar a span{min-width:20px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.06);text-align:center;font-size:.68rem}.mapa-member-filterbar a.is-active{border-color:rgba(226,7,22,.48);background:rgba(226,7,22,.1);color:#fff}.mapa-member-filterbar a.is-active span{background:var(--mapa-red)}
.mapa-member-message.is-unread{background:linear-gradient(90deg,rgba(226,7,22,.065),transparent 36%),var(--mapa-panel)}.mapa-member-document.is-overdue{border-color:rgba(226,7,22,.38)}
.mapa-member-player-card--v2{overflow:hidden}.mapa-member-player-card--v2 .mapa-member-next-training{margin:14px 0}.mapa-member-coach-list{display:grid;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.08)}.mapa-member-coach-list>strong{color:#ff5964;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.mapa-member-coach{display:flex;align-items:center;justify-content:space-between;gap:10px}.mapa-member-coach>span:first-child{font-weight:700;font-size:.84rem}.mapa-member-coach-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.mapa-member-coach-actions a{padding:5px 8px;border-radius:7px;background:rgba(255,255,255,.05);font-size:.7rem;font-weight:800;text-decoration:none}
.mapa-member-profile-panel{padding:26px}.mapa-member-security-grid--v2{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-security-grid--v2 .mapa-member-panel{padding:22px}.mapa-member-security-grid--v2 h3{margin:4px 0 14px}.mapa-member-security-dot.is-off{background:#dc9b24;box-shadow:0 0 0 5px rgba(220,155,36,.12)}
.mapa-member-security-meta{display:grid;margin:18px 0 0}.mapa-member-security-meta>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid rgba(255,255,255,.08)}.mapa-member-security-meta dt{color:var(--mapa-muted)}.mapa-member-security-meta dd{margin:0;text-align:right;font-weight:700}
.mapa-member-session-list,.mapa-member-login-list{display:grid;gap:7px;margin:14px 0}.mapa-member-session-list>div,.mapa-member-login-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:9px;background:rgba(255,255,255,.03)}.mapa-member-session-list strong,.mapa-member-login-list strong{font-size:.8rem}.mapa-member-session-list span,.mapa-member-login-list span{color:var(--mapa-muted);font-size:.72rem;text-align:right}
@media(max-width:1100px){.mapa-member-dashboard-grid--v2{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-overview-columns{grid-template-columns:1fr}.mapa-member-security-grid--v2{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.mapa-member-hero-actions{width:100%;justify-content:stretch}.mapa-member-hero-actions .mapa-button{flex:1}.mapa-member-heading-row{display:grid;gap:8px}.mapa-member-heading-row>p{text-align:left}.mapa-member-dashboard-grid--v2,.mapa-member-family-grid,.mapa-member-groups-grid,.mapa-member-quick-grid,.mapa-member-security-grid--v2{grid-template-columns:1fr}.mapa-member-overview-block{padding:16px}.mapa-member-subheading{align-items:flex-start;flex-direction:column}.mapa-member-group-metrics{grid-template-columns:1fr}.mapa-member-coach{align-items:flex-start;flex-direction:column}.mapa-member-coach-actions{justify-content:flex-start}.mapa-member-security-meta>div,.mapa-member-session-list>div,.mapa-member-login-list>div{display:grid}.mapa-member-security-meta dd,.mapa-member-session-list span,.mapa-member-login-list span{text-align:left}}

/* ==========================================================
   MAPA Events & Calendar — v1.8.0
   ========================================================== */
.mapa-section--events{position:relative;overflow:hidden}.mapa-section--events:before{content:"";position:absolute;inset:auto -16% -34% 42%;height:480px;background:radial-gradient(circle,rgba(226,7,22,.13),transparent 68%);pointer-events:none}.mapa-events-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.mapa-event-card{display:grid;grid-template-columns:minmax(180px,.42fr) minmax(0,.58fr);min-height:290px;overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:var(--mapa-shadow);transition:transform .2s ease,border-color .2s ease}.mapa-event-card:hover{transform:translateY(-2px);border-color:rgba(226,7,22,.5)}.mapa-event-card--compact{grid-template-columns:1fr;min-height:0}.mapa-event-card__image{display:block;min-height:100%;background:#fff}.mapa-event-card__image img{display:block;width:100%;height:100%;min-height:290px;object-fit:cover}.mapa-event-card__body{display:flex;flex-direction:column;gap:15px;padding:24px}.mapa-event-card__meta,.mapa-event-single-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mapa-event-type-badge,.mapa-event-status{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;font-size:.7rem;font-weight:900;letter-spacing:.065em;text-transform:uppercase;line-height:1}.mapa-event-type-badge{border:1px solid rgba(226,7,22,.48);background:rgba(226,7,22,.12);color:#ff6f79}.mapa-event-status{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);color:#ddd}.mapa-event-status--today,.mapa-event-status--ongoing{border-color:rgba(64,200,111,.5);background:rgba(64,200,111,.12);color:#8cf0ad}.mapa-event-status--cancelled{border-color:rgba(255,176,46,.52);background:rgba(255,176,46,.12);color:#ffd27d}.mapa-event-status--ended{opacity:.72}.mapa-event-card h3{margin:0;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.08}.mapa-event-card h3 a{color:var(--mapa-white);text-decoration:none}.mapa-event-card h3 a:hover{color:#ff6973}.mapa-event-facts{display:grid;gap:10px;color:var(--mapa-muted);font-size:.92rem}.mapa-event-facts span{display:grid;gap:2px}.mapa-event-facts b{color:#fff;font-size:.67rem;text-transform:uppercase;letter-spacing:.08em}.mapa-event-card__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto}.mapa-button--small{min-height:38px;padding:9px 14px;font-size:.78rem}.mapa-event-versus,.mapa-event-score{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:12px 14px;border-radius:12px;background:#f1f1ee;border:1px solid rgba(255,255,255,.08)}.mapa-event-versus span{color:var(--mapa-red);font-weight:900}.mapa-event-score strong{font-size:1.45rem;color:#fff;letter-spacing:.05em}.mapa-event-score span{font-size:.78rem;font-weight:800;color:var(--mapa-muted);text-transform:uppercase}.mapa-event-score--large,.mapa-event-versus--large{justify-content:center;gap:22px;padding:20px;margin:0 0 24px}.mapa-event-score--large strong{font-size:clamp(2rem,5vw,3.4rem)}.mapa-event-score--large span,.mapa-event-versus--large strong{font-size:clamp(.9rem,2vw,1.25rem)}

.mapa-calendar-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto;gap:12px;align-items:end;margin-bottom:30px;padding:18px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:rgba(255,255,255,.025)}.mapa-calendar-filters label{display:grid;gap:7px}.mapa-calendar-filters label>span{font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--mapa-muted)}.mapa-calendar-filters select{width:100%;min-height:44px;padding:9px 36px 9px 12px;border:1px solid var(--mapa-line);border-radius:9px;background:#fff;color:#151515}.mapa-calendar-view-toggle{display:flex;min-height:44px;border:1px solid var(--mapa-line);border-radius:9px;overflow:hidden}.mapa-calendar-view-toggle button{padding:0 16px;border:0;border-right:1px solid var(--mapa-line);background:#fff;color:var(--mapa-muted);font:inherit;font-weight:800;cursor:pointer}.mapa-calendar-view-toggle button:last-child{border-right:0}.mapa-calendar-view-toggle button.is-active{background:var(--mapa-red);color:#fff}.mapa-calendar-month-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;margin:4px 0 18px}.mapa-calendar-month-head h2{margin:0;text-align:center;text-transform:uppercase;font-size:clamp(1.3rem,3vw,2rem)}.mapa-calendar-month-head a{display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--mapa-line);border-radius:10px;background:rgba(255,255,255,.03);color:#fff;text-decoration:none;font-size:1.35rem}.mapa-calendar-weekdays,.mapa-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.mapa-calendar-weekdays{border:1px solid var(--mapa-line);border-bottom:0;border-radius:12px 12px 0 0;overflow:hidden;background:#fff}.mapa-calendar-weekdays span{padding:10px 8px;text-align:center;color:var(--mapa-muted);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;border-right:1px solid var(--mapa-line)}.mapa-calendar-weekdays span:last-child{border-right:0}.mapa-calendar-grid{border-top:1px solid var(--mapa-line);border-left:1px solid var(--mapa-line)}.mapa-calendar-day{min-height:145px;padding:9px;border-right:1px solid var(--mapa-line);border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.018)}.mapa-calendar-day.is-empty{background:rgba(255,255,255,.008)}.mapa-calendar-day.is-today{box-shadow:inset 0 0 0 2px rgba(226,7,22,.72);background:rgba(226,7,22,.05)}.mapa-calendar-day__number{display:grid;width:29px;height:29px;place-items:center;margin-bottom:7px;border-radius:50%;font-weight:900;color:#eee}.mapa-calendar-day.is-today .mapa-calendar-day__number{background:var(--mapa-red);color:#fff}.mapa-calendar-day__events{display:grid;gap:5px}.mapa-calendar-event{display:grid;gap:2px;padding:7px;border-left:3px solid var(--mapa-red);border-radius:6px;background:#fff;color:#151515;text-decoration:none;line-height:1.15}.mapa-calendar-event span{font-size:.62rem;font-weight:900;color:#ff727c}.mapa-calendar-event strong{font-size:.72rem;overflow-wrap:anywhere}.mapa-calendar-event--tournament{border-left-color:#ffb12f}.mapa-calendar-event--meeting{border-left-color:#78a9ff}.mapa-calendar-event--special_training{border-left-color:#62d492}.mapa-events-list-public{display:grid;gap:20px}

.mapa-event-single-date{margin-top:12px;color:var(--mapa-muted);font-size:1.05rem}.mapa-event-single-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:30px;align-items:start}.mapa-event-single-image{overflow:hidden;margin-bottom:24px;border-radius:var(--mapa-radius);border:1px solid var(--mapa-line)}.mapa-event-single-image img{display:block;width:100%;height:auto}.mapa-event-content{font-size:1.02rem;line-height:1.75}.mapa-event-organization{margin-top:28px;padding:26px;border:1px solid var(--mapa-line);border-left:4px solid var(--mapa-red);border-radius:var(--mapa-radius);background:rgba(255,255,255,.025)}.mapa-event-organization h2{margin:6px 0 14px}.mapa-event-sidebar{display:grid;gap:18px;position:sticky;top:calc(var(--mapa-header-offset,90px) + 18px)}.mapa-event-details{padding:24px}.mapa-event-details h2,.mapa-event-rsvp h2{margin-top:0}.mapa-event-details dl{display:grid;gap:0;margin:18px 0}.mapa-event-details dl>div{display:grid;gap:3px;padding:12px 0;border-bottom:1px solid var(--mapa-line)}.mapa-event-details dt{color:var(--mapa-muted);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mapa-event-details dd{margin:0;font-weight:700}.mapa-event-sidebar-actions{display:grid;gap:9px}.mapa-event-rsvp{padding:24px}.mapa-event-rsvp>p{color:var(--mapa-muted)}.mapa-event-rsvp-row{display:grid;gap:9px;padding:14px 0;border-top:1px solid var(--mapa-line)}.mapa-event-rsvp-row>div{display:flex;flex-wrap:wrap;gap:6px}.mapa-rsvp-button{padding:8px 10px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.mapa-rsvp-button:hover,.mapa-rsvp-button.is-active{border-color:var(--mapa-red);background:rgba(226,7,22,.18)}.mapa-related-event-card{margin:34px 0;padding:24px;border:1px solid rgba(226,7,22,.42);border-radius:var(--mapa-radius);background:linear-gradient(135deg,rgba(226,7,22,.11),rgba(255,255,255,.02))}.mapa-related-event-card h2{margin:5px 0 8px}.mapa-related-event-card p{color:var(--mapa-muted)}

/* Strefa MAPA event presentation */
.mapa-tab-count--events{background:rgba(226,7,22,.18)!important;color:#ff7a84!important}.mapa-member-stat-card--event strong{font-size:clamp(1.45rem,3vw,2rem)}.mapa-member-events-toolbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin:-8px 0 18px}.mapa-member-events-list{display:grid;gap:14px}.mapa-member-event-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015))}.mapa-member-event-card__date{display:grid;place-items:center;align-self:stretch;padding:10px;border-radius:12px;background:rgba(226,7,22,.12);border:1px solid rgba(226,7,22,.28);text-align:center}.mapa-member-event-card__date strong{font-size:1.8rem;line-height:1}.mapa-member-event-card__date span{text-transform:uppercase;color:#ff7780;font-size:.72rem;font-weight:900;letter-spacing:.08em}.mapa-member-event-card__body{min-width:0}.mapa-member-event-card__body h3{margin:8px 0 5px;font-size:1.14rem}.mapa-member-event-card__body>p{margin:0;color:var(--mapa-muted)}.mapa-member-event-card__actions{display:grid;gap:8px;min-width:150px}.mapa-member-event-rsvp-summary{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.mapa-member-event-rsvp-summary span{display:flex;gap:6px;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.045);font-size:.75rem;color:var(--mapa-muted)}.mapa-member-event-rsvp-summary strong{color:#fff}.mapa-member-event-attendance{display:flex;align-items:baseline;gap:8px;margin-top:10px}.mapa-member-event-attendance strong{font-size:1.15rem;color:#fff}.mapa-member-event-attendance span{font-size:.78rem;color:var(--mapa-muted)}

@media (max-width:1100px){.mapa-events-grid{grid-template-columns:1fr}.mapa-event-card{grid-template-columns:minmax(190px,.35fr) minmax(0,.65fr)}.mapa-calendar-filters{grid-template-columns:1fr 1fr}.mapa-calendar-view-toggle{width:max-content}.mapa-event-single-grid{grid-template-columns:1fr}.mapa-event-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.mapa-event-card{grid-template-columns:1fr}.mapa-event-card__image img{min-height:0;max-height:360px;object-fit:contain;background:#fff}.mapa-calendar-filters{grid-template-columns:1fr}.mapa-calendar-view-toggle{width:100%}.mapa-calendar-view-toggle button{flex:1}.mapa-calendar-weekdays{display:none}.mapa-calendar-grid{display:grid;grid-template-columns:1fr;border:0;gap:10px}.mapa-calendar-day,.mapa-calendar-day.is-empty{display:none}.mapa-calendar-day:has(.mapa-calendar-event),.mapa-calendar-day.is-today{display:grid;grid-template-columns:42px 1fr;min-height:0;border:1px solid var(--mapa-line);border-radius:10px}.mapa-calendar-day__number{margin:0}.mapa-calendar-day__events{min-width:0}.mapa-calendar-event strong{font-size:.84rem}.mapa-event-sidebar{grid-template-columns:1fr}.mapa-member-event-card{grid-template-columns:58px minmax(0,1fr);gap:12px}.mapa-member-event-card__date strong{font-size:1.4rem}.mapa-member-event-card__actions{grid-column:1/-1;display:flex;min-width:0}.mapa-member-event-card__actions .mapa-button{flex:1}.mapa-member-events-toolbar{justify-content:flex-start}}
@media (max-width:480px){.mapa-event-card__body{padding:19px}.mapa-event-card__actions{display:grid}.mapa-calendar-month-head{grid-template-columns:40px 1fr 40px}.mapa-calendar-month-head a{width:40px;height:40px}.mapa-member-event-card{padding:14px}.mapa-member-event-card__actions{display:grid}.mapa-member-event-card__actions .mapa-button{width:100%}}


/* Training schedule grouped by MAPA group — restored in v1.8.1 */
.mapa-training-groups { display: grid; gap: 18px; }
.mapa-training-group { overflow: hidden; border: 1px solid var(--mapa-line); border-radius: var(--mapa-radius); background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); box-shadow: var(--mapa-card-shadow); }
.mapa-training-group__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid rgba(226,7,22,.35); background: linear-gradient(90deg,rgba(226,7,22,.18),rgba(226,7,22,.025)); }
.mapa-training-group__header h2, .mapa-training-group__header h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-size: clamp(1.05rem,2vw,1.35rem); line-height: 1.25; }
.mapa-training-group__ball { flex: 0 0 auto; filter: grayscale(1); font-size: 1.05em; }
.mapa-training-group__count { flex: 0 0 auto; color: var(--mapa-muted); font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.mapa-training-sessions__head, .mapa-training-session { display: grid; grid-template-columns: minmax(130px,1.05fr) minmax(110px,.9fr) minmax(160px,1.35fr) minmax(130px,1fr) minmax(130px,1fr); align-items: center; }
.mapa-training-sessions__head { padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--mapa-muted); font-size: .68rem; font-weight: 900; letter-spacing: .085em; text-transform: uppercase; }
.mapa-training-session { min-height: 58px; padding: 0 20px; color: #e9e9eb; }
.mapa-training-session + .mapa-training-session { border-top: 1px solid rgba(255,255,255,.075); }
.mapa-training-session > div { min-width: 0; padding: 13px 14px 13px 0; overflow-wrap: anywhere; }
.mapa-training-session__day, .mapa-training-session__time { color: #fff; font-weight: 850; }
.mapa-training-session__place { color: #f0f0f2; }
.mapa-training-session__trainer, .mapa-training-session__assistant { color: #d0d0d4; }
@media (max-width: 760px) {
  .mapa-training-groups { gap: 14px; }
  .mapa-training-group__header { align-items: flex-start; padding: 15px 14px; }
  .mapa-training-group__header h2, .mapa-training-group__header h3 { font-size: 1.05rem; }
  .mapa-training-group__count { margin-top: 2px; font-size: .66rem; text-align: right; }
  .mapa-training-sessions__head { display: none; }
  .mapa-training-sessions { display: grid; gap: 0; }
  .mapa-training-session { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; padding: 0; }
  .mapa-training-session + .mapa-training-session { border-top: 6px solid rgba(0,0,0,.22); }
  .mapa-training-session > div { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); overflow-wrap: anywhere; }
  .mapa-training-session > div::before { content: attr(data-label); color: var(--mapa-muted); font-size: .64rem; font-weight: 850; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
  .mapa-training-session__place { grid-column: 1 / -1; }
  .mapa-training-session__trainer, .mapa-training-session__assistant { border-bottom: 0; }
}

/* ===== MAPA v1.9.0 — Obozy 2.0 ===== */
.mapa-camp-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mapa-camp-public-grid--archive{opacity:.92}.mapa-camp-public-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:var(--mapa-card-shadow,var(--mapa-shadow));transition:transform .2s ease,border-color .2s ease}.mapa-camp-public-card:hover{transform:translateY(-3px);border-color:rgba(226,7,22,.48)}.mapa-camp-public-card__image{display:grid;place-items:center;aspect-ratio:16/10;background:#fff;overflow:hidden}.mapa-camp-public-card__image img{display:block;width:100%;height:100%;object-fit:cover}.mapa-camp-image-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:2rem;font-weight:1000;color:#4e4e52;background:radial-gradient(circle at 50% 25%,rgba(226,7,22,.18),transparent 45%)}.mapa-camp-public-card__body{display:flex;flex:1;flex-direction:column;gap:13px;padding:22px}.mapa-camp-public-card__meta{display:flex;flex-wrap:wrap;gap:8px}.mapa-camp-public-card h3{margin:0;font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.1}.mapa-camp-public-card h3 a{color:#fff;text-decoration:none}.mapa-camp-public-card h3 a:hover{color:#ff6e78}.mapa-camp-public-card p{margin:0;color:var(--mapa-muted);line-height:1.6}.mapa-camp-public-card .mapa-button{align-self:flex-start;margin-top:auto}.mapa-camp-status{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.055);font-size:.69rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#ddd}.mapa-camp-status--open{border-color:rgba(68,208,119,.48);background:rgba(68,208,119,.12);color:#91edb0}.mapa-camp-status--last{border-color:rgba(255,177,47,.5);background:rgba(255,177,47,.12);color:#ffd07d}.mapa-camp-status--full,.mapa-camp-status--closed{border-color:rgba(226,7,22,.45);background:rgba(226,7,22,.12);color:#ff7b84}.mapa-camp-status--ended{opacity:.7}.mapa-camp-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mapa-camp-facts span{display:grid;gap:2px;padding:10px 11px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#fafaf8;font-size:.84rem}.mapa-camp-facts b{color:var(--mapa-muted);font-size:.62rem;letter-spacing:.08em;text-transform:uppercase}.mapa-camp-single-hero{padding-bottom:44px}.mapa-camp-single-hero__copy{max-width:900px;display:grid;gap:10px}.mapa-camp-single-hero h1{margin:0;font-size:clamp(2.7rem,8vw,6.8rem);line-height:.88;text-transform:uppercase}.mapa-camp-single-date{margin:0;color:#fff;font-weight:800;font-size:1.05rem}.mapa-camp-single-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.62fr);gap:30px;align-items:start}.mapa-camp-single-image{overflow:hidden;margin:0 0 26px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:#fff}.mapa-camp-single-image img{display:block;width:100%;height:auto}.mapa-camp-content{font-size:1.03rem;line-height:1.75}.mapa-camp-info-block{margin-top:28px;padding:26px;border:1px solid var(--mapa-line);border-left:4px solid var(--mapa-red);border-radius:var(--mapa-radius);background:rgba(255,255,255,.025)}.mapa-camp-info-block h2{margin:6px 0 14px}.mapa-camp-gallery-section{margin-top:38px}.mapa-camp-sidebar{position:sticky;top:calc(var(--mapa-header-offset,90px) + 18px);display:grid;gap:18px}.mapa-camp-details,.mapa-camp-registration{padding:24px}.mapa-camp-details h2,.mapa-camp-registration h2{margin-top:0}.mapa-camp-details dl{display:grid;margin:17px 0 0}.mapa-camp-details dl>div{display:grid;gap:3px;padding:11px 0;border-bottom:1px solid var(--mapa-line)}.mapa-camp-details dt{color:var(--mapa-muted);font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mapa-camp-details dd{margin:0;font-weight:800}.mapa-camp-registration-player{display:grid;gap:10px;padding:14px 0;border-top:1px solid var(--mapa-line)}.mapa-camp-registration-player>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.mapa-camp-registration-player>div span{color:var(--mapa-muted);font-size:.8rem}.mapa-camp-package{margin-top:16px;padding-top:16px;border-top:1px solid var(--mapa-line)}.mapa-camp-package h3{margin:0 0 4px}.mapa-camp-package>p{margin:0 0 12px;color:var(--mapa-muted);font-size:.88rem}.mapa-camp-package-list{display:grid;gap:9px}.mapa-camp-package-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid rgba(255,177,47,.28);border-radius:10px;background:rgba(255,177,47,.055)}.mapa-camp-package-item.is-done{border-color:rgba(68,208,119,.28);background:rgba(68,208,119,.045)}.mapa-camp-package-item>div:first-child{display:flex;gap:10px;align-items:flex-start}.mapa-camp-package-item>div:first-child>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#ffb12f;color:#080808;font-weight:1000}.mapa-camp-package-item.is-done>div:first-child>span{background:#55d68a}.mapa-camp-package-item strong,.mapa-camp-package-item small{display:block}.mapa-camp-package-item small{margin-top:2px;color:var(--mapa-muted);font-size:.72rem}.mapa-camp-package-item__action{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.mapa-camp-package-upload{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.mapa-camp-package-upload input[type=file]{max-width:210px;color:var(--mapa-muted);font-size:.72rem}.mapa-member-camps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mapa-member-camp-card{display:grid;grid-template-columns:minmax(180px,.34fr) minmax(0,.66fr);overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:rgba(255,255,255,.025)}.mapa-member-camp-card__image{min-height:240px;background:#fff}.mapa-member-camp-card__image img{width:100%;height:100%;object-fit:cover}.mapa-member-camp-card__body{display:flex;flex-direction:column;gap:10px;padding:19px}.mapa-member-camp-card__body h3{margin:0}.mapa-member-camp-card__body>p{margin:0;color:var(--mapa-muted)}.mapa-camp-capacity{display:grid;grid-template-columns:1fr auto;gap:1px 8px;padding:10px 12px;border-radius:9px;background:rgba(226,7,22,.09)}.mapa-camp-capacity span{color:var(--mapa-muted);font-size:.7rem;font-weight:800;text-transform:uppercase}.mapa-camp-capacity strong{grid-row:1/3;grid-column:2;font-size:1.7rem}.mapa-camp-capacity small{color:var(--mapa-muted)}.mapa-member-camp-signups{display:grid;gap:7px}.mapa-member-camp-signups>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 10px;border:1px solid rgba(255,255,255,.07);border-radius:8px}.mapa-member-camp-signups span{font-weight:800}.mapa-member-camp-signups strong{font-size:.75rem;color:#ff7b84}.mapa-member-camp-signups small{grid-column:1/-1;color:var(--mapa-muted);font-size:.7rem}
@media(max-width:1100px){.mapa-camp-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-camp-single-grid{grid-template-columns:1fr}.mapa-camp-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-camps-grid{grid-template-columns:1fr}}
@media(max-width:760px){.mapa-camp-public-grid{grid-template-columns:1fr}.mapa-camp-facts{grid-template-columns:1fr 1fr}.mapa-camp-sidebar{grid-template-columns:1fr}.mapa-member-camp-card{grid-template-columns:1fr}.mapa-member-camp-card__image{min-height:0;max-height:360px}.mapa-member-camp-card__image img{height:auto;max-height:360px;object-fit:contain}.mapa-camp-package-item{grid-template-columns:1fr}.mapa-camp-package-item__action{justify-content:flex-start}.mapa-camp-single-hero h1{font-size:clamp(2.4rem,13vw,4.6rem)}}
@media(max-width:480px){.mapa-camp-facts{grid-template-columns:1fr}.mapa-camp-registration-player>div{align-items:flex-start;flex-direction:column}.mapa-camp-package-upload{display:grid}.mapa-camp-package-upload input[type=file]{max-width:100%}}
.mapa-camp-calendar-button{width:100%;justify-content:center;margin-top:1rem}
.mapa-calendar-event--camp{border-left-color:#d9a928}

/* MAPA v2.0.0 — Kadra 2.0 + Aktualności 2.0 */
.mapa-staff-card h3 a{color:inherit;text-decoration:none}.mapa-staff-card h3 a:hover{color:var(--mapa-red)}.mapa-staff-card__profile{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--mapa-white);font-size:.83rem;font-weight:800;text-decoration:none}.mapa-staff-card__profile:hover{color:var(--mapa-red)}
.mapa-staff-profile-hero{min-height:auto}.mapa-staff-profile-groups{margin:12px 0 0;color:var(--mapa-muted);font-weight:700}.mapa-staff-profile-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:44px;align-items:start}.mapa-staff-profile-photo{overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}.mapa-staff-profile-photo:empty{display:none}.mapa-staff-profile-photo img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}.mapa-staff-profile-content{display:grid;gap:22px}.mapa-staff-profile-copy{max-width:none;padding:0}.mapa-staff-profile-panel{padding:24px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel)}.mapa-staff-profile-panel ul{margin:14px 0 0;padding-left:20px}.mapa-staff-profile-panel li+li{margin-top:7px}.mapa-staff-profile-tags,.mapa-news-groups{display:flex;flex-wrap:wrap;gap:7px}.mapa-staff-profile-tags span,.mapa-news-groups span{display:inline-flex;padding:5px 9px;border:1px solid rgba(226,7,22,.38);border-radius:999px;background:rgba(226,7,22,.09);color:#ffd9dc;font-size:.72rem;font-weight:800}.mapa-staff-profile-contact{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.mapa-featured-news{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);overflow:hidden;margin-bottom:24px;border:1px solid rgba(226,7,22,.38);border-radius:var(--mapa-radius);background:linear-gradient(135deg,rgba(226,7,22,.09),var(--mapa-panel));box-shadow:var(--mapa-card-shadow)}.mapa-featured-news__media{display:grid;place-items:center;min-height:360px;background:#fff;overflow:hidden}.mapa-featured-news__media img{display:block;width:100%;height:100%;max-height:600px;object-fit:contain}.mapa-featured-news__body{display:flex;flex-direction:column;justify-content:center;padding:34px}.mapa-featured-news__body h3{margin:9px 0 13px;font-size:clamp(1.7rem,3vw,3rem);line-height:1.02}.mapa-featured-news__body h3 a{color:var(--mapa-white);text-decoration:none}.mapa-featured-news__body p{color:var(--mapa-muted);font-size:1rem;line-height:1.65}.mapa-featured-news__badges,.mapa-news-row__badges{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:8px}.mapa-featured-news__badges>span,.mapa-news-row__badges>span{font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--mapa-muted)}.mapa-featured-news__badge{display:inline-flex!important;padding:5px 8px!important;border-radius:999px;background:var(--mapa-red)!important;color:#fff!important}.mapa-featured-news .mapa-news-groups{margin:7px 0 18px}.mapa-news-row .mapa-news-groups{margin:11px 0 0}.mapa-news-filterbar{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(170px,.7fr) minmax(190px,.8fr) auto auto;gap:9px;align-items:center;margin:0 0 24px;padding:14px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel)}.mapa-news-filterbar input,.mapa-news-filterbar select{width:100%;min-height:42px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515;padding:0 12px}.mapa-news-filterbar select option{background:#fff;color:#151515}.mapa-single-featured{display:grid;place-items:center;margin-bottom:30px;border-radius:var(--mapa-radius);overflow:hidden;background:#fff}.mapa-single-featured img{display:block;width:100%;height:auto;max-height:780px;object-fit:contain}.mapa-news-single-meta{margin-top:12px;color:var(--mapa-muted)}.mapa-news-groups--single{margin:0 0 24px}.mapa-news-share{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0;padding:18px 0;border-top:1px solid var(--mapa-line);border-bottom:1px solid var(--mapa-line)}.mapa-news-share>div{display:flex;flex-wrap:wrap;gap:8px}.mapa-news-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:28px 0}.mapa-news-tags a{color:var(--mapa-muted);text-decoration:none}.mapa-news-tags a:hover{color:var(--mapa-red)}
@media(max-width:900px){.mapa-featured-news{grid-template-columns:1fr}.mapa-featured-news__media{min-height:0}.mapa-news-filterbar{grid-template-columns:1fr 1fr}.mapa-news-filterbar>label:first-child{grid-column:1/-1}.mapa-staff-profile-grid{grid-template-columns:1fr}.mapa-staff-profile-photo{max-width:620px}}
@media(max-width:600px){.mapa-featured-news__body{padding:22px}.mapa-news-filterbar{grid-template-columns:1fr}.mapa-news-filterbar>label:first-child{grid-column:auto}.mapa-news-share{align-items:flex-start;flex-direction:column}.mapa-news-share>div{width:100%}.mapa-news-share .mapa-button{flex:1}.mapa-staff-profile-contact{display:grid}.mapa-staff-profile-contact .mapa-button{width:100%}}

/* v2.0.1 — dedicated training schedule page */
.mapa-training-page-content { margin-bottom: 28px; }
.mapa-training-page-section .mapa-training-groups,
.mapa-training-page-section .mapa-schedule-wrap { margin-top: 0; }

/* MAPA v2.0.2 — Partnerzy / Sponsorzy + FAQ */
.mapa-partners-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mapa-partner-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}.mapa-partner-card>a{display:block;color:inherit;text-decoration:none}.mapa-partner-card__logo{display:grid;place-items:center;min-height:145px;padding:22px;background:#fff}.mapa-partner-card__logo img{display:block;width:auto;max-width:100%;height:auto;max-height:105px;object-fit:contain}.mapa-partner-card__logo span{color:#151515;font-size:1.05rem;font-weight:900;text-align:center}.mapa-partner-card__meta{display:grid;gap:5px;padding:16px 18px}.mapa-partner-card__meta>span{color:#ff737c;font-size:.69rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.mapa-partner-card__meta>strong{font-size:1rem}.mapa-partner-card__meta p{margin:5px 0 0;color:var(--mapa-muted);font-size:.86rem;line-height:1.55}.mapa-partner-group+.mapa-partner-group{margin-top:44px}.mapa-partner-group>h2,.mapa-faq-group>h2{margin:0 0 18px;font-size:clamp(1.5rem,2.3vw,2.25rem)}
.mapa-faq-list{display:grid;gap:10px;max-width:1080px}.mapa-faq-item{border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:0 8px 26px rgba(0,0,0,.12);overflow:hidden}.mapa-faq-item>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;cursor:pointer;list-style:none;font-weight:850;line-height:1.35}.mapa-faq-item>summary::-webkit-details-marker{display:none}.mapa-faq-item>summary:focus-visible{outline:2px solid var(--mapa-red);outline-offset:-3px}.mapa-faq-toggle{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:rgba(226,7,22,.12);color:#ff6f78;font-size:1.35rem;font-weight:500;transition:transform .18s ease}.mapa-faq-item[open] .mapa-faq-toggle{transform:rotate(45deg)}.mapa-faq-answer{padding:0 20px 20px;color:var(--mapa-muted);line-height:1.68}.mapa-faq-answer p:first-of-type{margin-top:0}.mapa-faq-answer p:last-child{margin-bottom:0}.mapa-faq-category{display:inline-flex;margin:0 0 10px;padding:4px 8px;border-radius:999px;background:rgba(226,7,22,.1);color:#ff7b84;font-size:.68rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.mapa-faq-group+.mapa-faq-group{margin-top:42px}.mapa-page-intro{margin-bottom:32px}
@media(max-width:1050px){.mapa-partners-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.mapa-partners-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.mapa-partner-card__logo{min-height:120px;padding:15px}.mapa-partner-card__logo img{max-height:88px}.mapa-partner-card__meta{padding:13px}.mapa-faq-item>summary{padding:16px;gap:12px}.mapa-faq-answer{padding:0 16px 17px}}@media(max-width:460px){.mapa-partners-grid{grid-template-columns:1fr}}

/* Portal MAPA 2.1 — frontend management center */
.mapa-management-hero{margin-bottom:18px}.mapa-management-tabs{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:10px 0 18px;scrollbar-width:thin}.mapa-management-tabs a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:10px 13px;border:1px solid #d8d8d2;border-radius:0;background:#fff;text-decoration:none;color:#353535;font-size:.86rem;font-weight:750}.mapa-management-tabs a:hover,.mapa-management-tabs a.is-active{color:#b50915;border-color:#e30613;background:#fff3f4}.mapa-management-module-grid a{position:relative;padding-left:54px}.mapa-management-module-grid a>.dashicons{position:absolute;left:18px;top:20px;color:var(--mapa-red);font-size:23px;width:23px;height:23px}.mapa-frontend-manager-shell{padding-top:18px}.mapa-frontend-manager-shell .wrap,.mapa-frontend-manager-shell .mapa-settings-embedded{margin:0;max-width:none}.mapa-frontend-manager-shell .notice{padding:12px 14px;margin:12px 0;border:1px solid var(--mapa-line);border-left:4px solid var(--mapa-red);border-radius:0;background:#fff;color:#353535}.mapa-frontend-manager-shell .notice-success{border-left-color:#2eae68}.mapa-frontend-manager-shell .notice-warning{border-left-color:#e1a72f}.mapa-frontend-manager-shell .button,.mapa-frontend-manager-shell button.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 13px;border:1px solid var(--mapa-line);border-radius:var(--mapa-button-radius);background:#fff;color:#151515;text-decoration:none;font-weight:700;line-height:1.2;box-shadow:none}.mapa-frontend-manager-shell .button:hover{border-color:#e30613;background:#fff3f4;color:#b50915}.mapa-frontend-manager-shell .button-primary,.mapa-frontend-manager-shell .button.button-primary{border-color:var(--mapa-red);background:var(--mapa-red);color:#fff}.mapa-frontend-manager-shell .button-link,.mapa-frontend-manager-shell .button-link-delete{background:none;border:0;padding:0;color:#50504a;text-decoration:underline}.mapa-frontend-manager-shell .button-link-delete{color:#b50915}.mapa-frontend-manager-shell .widefat{width:100%;border-collapse:separate;border-spacing:0;color:#353535;background:transparent}.mapa-frontend-manager-shell .widefat th,.mapa-frontend-manager-shell .widefat td{padding:12px 11px;border-bottom:1px solid var(--mapa-line);vertical-align:middle;text-align:left}.mapa-frontend-manager-shell .widefat th{color:#50504a;background:#f2f2ef;font-size:.77rem;text-transform:uppercase;letter-spacing:.055em}.mapa-frontend-manager-shell .widefat tbody tr:nth-child(even){background:#fafaf8}.mapa-frontend-manager-shell input[type=text],.mapa-frontend-manager-shell input[type=email],.mapa-frontend-manager-shell input[type=tel],.mapa-frontend-manager-shell input[type=password],.mapa-frontend-manager-shell input[type=number],.mapa-frontend-manager-shell input[type=date],.mapa-frontend-manager-shell input[type=time],.mapa-frontend-manager-shell input[type=url],.mapa-frontend-manager-shell input[type=search],.mapa-frontend-manager-shell textarea,.mapa-frontend-manager-shell select{background:#fff!important;color:#151515!important;border:1px solid #cfcfca!important;border-radius:0;min-height:42px;box-shadow:none!important}.mapa-frontend-manager-shell textarea{min-height:110px}.mapa-frontend-manager-shell input:focus,.mapa-frontend-manager-shell textarea:focus,.mapa-frontend-manager-shell select:focus{border-color:var(--mapa-red)!important;outline:2px solid rgba(226,7,22,.2)!important;outline-offset:1px}.mapa-frontend-manager-shell option{background:#fff;color:#151515}.mapa-frontend-manager-shell .description,.mapa-frontend-manager-shell small{color:var(--mapa-muted)}.mapa-frontend-manager-shell .mapa-admin-card{background:#fff;border-color:#deded8;box-shadow:none}.mapa-frontend-manager-shell .mapa-admin-card__head,.mapa-frontend-manager-shell .mapa-manager-heading{color:#151515}.mapa-frontend-manager-shell .mapa-settings-kicker{color:var(--mapa-red)}.mapa-frontend-manager-shell .mapa-admin-lead{color:var(--mapa-muted)}.mapa-frontend-manager-shell .mapa-empty-admin{color:var(--mapa-muted)}.mapa-frontend-manager-shell code{background:#fff;color:#151515;border:1px solid var(--mapa-line)}
@media(max-width:760px){.mapa-frontend-manager-shell{padding-top:8px}.mapa-frontend-manager-shell .mapa-manager-heading{display:block}.mapa-frontend-manager-shell .widefat{min-width:720px}.mapa-frontend-manager-shell .mapa-training-table-wrap{overflow-x:auto}.mapa-management-tabs{margin-inline:calc(var(--mapa-container-pad) * -1);padding-inline:var(--mapa-container-pad)}}

/* Attendance dashboard shortcuts (v2.8.0). */
.mapa-member-today-training-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mapa-member-today-training-grid>a{display:grid;gap:4px;padding:15px 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035);color:inherit;text-decoration:none}.mapa-member-today-training-grid>a:hover,.mapa-member-today-training-grid>a:focus{border-color:rgba(226,7,22,.75);background:rgba(226,7,22,.06)}.mapa-member-today-training-grid>a>span{color:var(--mapa-red);font-size:.78rem;font-weight:800}.mapa-member-today-training-grid>a>strong{font-size:1rem}.mapa-member-today-training-grid>a>small{color:var(--mapa-muted)}.mapa-member-today-training-grid>a.is-empty{grid-column:1/-1;justify-items:center;text-align:center;padding:22px}
@media(max-width:900px){.mapa-member-today-training-grid{grid-template-columns:1fr}}

/* v2.9.0 — Parent Portal & training communication */
.mapa-parent-family-overview{margin-top:24px;padding:22px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:linear-gradient(135deg,rgba(226,7,22,.08),rgba(255,255,255,.018)),var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}
.mapa-parent-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.mapa-parent-child-summary{padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#fafaf8}.mapa-parent-child-summary.has-attendance-warning{border-color:rgba(255,180,49,.4);box-shadow:inset 3px 0 0 #ffb431}.mapa-parent-child-summary header{display:flex;align-items:center;gap:12px}.mapa-parent-child-summary header div{min-width:0}.mapa-parent-child-summary header span{display:block;color:#ff3744;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.mapa-parent-child-summary h4{margin:3px 0 0;font-size:1.15rem}.mapa-parent-child-avatar{width:58px;height:58px;flex:0 0 58px;border-radius:14px;object-fit:cover;background:#fff}.mapa-parent-child-avatar--placeholder{display:grid;place-items:center;font-size:26px}.mapa-parent-child-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.mapa-parent-child-metrics>div{display:grid;gap:3px;padding:11px;border-radius:11px;background:rgba(255,255,255,.045)}.mapa-parent-child-metrics span{color:var(--mapa-muted);font-size:.74rem}.mapa-parent-child-metrics strong{font-size:1.25rem}.mapa-parent-child-alert{margin:0 0 12px;padding:8px 10px;border-radius:9px;background:rgba(255,180,49,.12);color:#ffd589;font-weight:800;font-size:.82rem}.mapa-parent-child-summary dl{margin:0}.mapa-parent-child-summary dl>div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:10px;padding:8px 0;border-top:1px solid rgba(255,255,255,.07)}.mapa-parent-child-summary dt{color:var(--mapa-muted);font-size:.82rem}.mapa-parent-child-summary dd{margin:0;text-align:right;font-weight:700;font-size:.86rem}
.mapa-parent-attendance-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:14px 0 0}.mapa-parent-attendance-strip>div{display:grid;gap:2px;padding:9px 7px;border-radius:9px;background:rgba(255,255,255,.045);text-align:center}.mapa-parent-attendance-strip span{color:var(--mapa-muted);font-size:.66rem;line-height:1.15}.mapa-parent-attendance-strip strong{font-size:.98rem}.mapa-parent-attendance-recent{display:grid;gap:5px;margin-top:11px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08)}.mapa-parent-attendance-recent>strong{font-size:.82rem}.mapa-parent-attendance-recent>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.8rem}.mapa-parent-attendance-recent time{color:var(--mapa-muted)}.mapa-parent-attendance-recent em{font-style:normal;font-weight:800}.mapa-parent-attendance-recent em.is-present{color:#83e3a4}.mapa-parent-attendance-recent em.is-late{color:#ffd589}.mapa-parent-attendance-recent em.is-absent{color:#ff8e97}.mapa-parent-attendance-recent em.is-excused{color:#a7c8ff}
.mapa-member-notification-preferences{display:grid;gap:10px;margin:0;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#fafaf8}.mapa-member-notification-preferences legend{padding:0 7px;font-weight:900}.mapa-member-notification-preferences p{margin:0 0 4px;color:var(--mapa-muted);font-size:.86rem}.mapa-member-notification-preferences label{display:flex;align-items:flex-start;gap:9px}.mapa-member-notification-preferences input{width:auto!important;min-height:0!important;margin-top:3px}
@media(max-width:900px){.mapa-parent-family-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mapa-parent-attendance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-parent-attendance-strip>div:first-child{grid-column:1/-1}.mapa-parent-child-summary dl>div{grid-template-columns:1fr}.mapa-parent-child-summary dd{text-align:left}}

/* v3.0.0 — Membership, payments, consents and documentation */
.mapa-member-payment-grid,.mapa-member-consent-player-grid,.mapa-sensitive-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mapa-member-payment-card,.mapa-member-consent-player,.mapa-sensitive-player-card{padding:18px;border:1px solid var(--mapa-line);border-radius:16px;background:#fafaf8}.mapa-member-payment-card>header,.mapa-member-consent-player>header,.mapa-sensitive-player-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.mapa-member-payment-card h4,.mapa-member-consent-player h4,.mapa-sensitive-player-card h4{margin:0}.mapa-member-payment-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.mapa-member-payment-totals>div{display:grid;gap:3px;padding:10px;border-radius:10px;background:rgba(255,255,255,.045)}.mapa-member-payment-totals span{font-size:.72rem;color:var(--mapa-muted)}.mapa-member-payment-totals strong{font-size:1.05rem}.mapa-member-payment-list,.mapa-member-consent-list{display:grid;gap:7px;margin-top:10px}.mapa-member-payment-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}.mapa-member-payment-list>div>span{display:grid;gap:2px}.mapa-member-consent-list>details{border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025);overflow:hidden}.mapa-member-consent-list>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none}.mapa-member-consent-list>details>summary::-webkit-details-marker{display:none}.mapa-member-consent-list>details>summary>span:first-child{display:grid;gap:2px;min-width:0}.mapa-member-payment-list small,.mapa-member-consent-list small{color:var(--mapa-muted)}.mapa-member-consent-content{margin:10px 0;padding:13px;border:1px solid #deded8;border-radius:0;background:#fafaf8;color:#353535}.mapa-member-consent-content p:first-child{margin-top:0}.mapa-member-consent-content p:last-child{margin-bottom:0}.mapa-consent-progress{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:6px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.055);font-size:.78rem;font-weight:900}.mapa-consent-progress.is-complete{border-color:rgba(78,201,120,.35);background:rgba(78,201,120,.1);color:#8de0a9}.mapa-consent-confirm{display:flex;align-items:flex-start;gap:9px;margin-top:10px}.mapa-consent-confirm input{width:auto!important;min-height:0!important;margin-top:3px}.mapa-consent-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--mapa-muted);font-size:.76rem}.mapa-sensitive-player-card form,.mapa-sensitive-form{display:grid;gap:11px}.mapa-sensitive-player-card label,.mapa-sensitive-form label{display:grid;gap:5px}.mapa-sensitive-player-card label>span,.mapa-sensitive-form label>span{font-weight:800;font-size:.82rem}.mapa-sensitive-player-card textarea,.mapa-sensitive-form textarea{min-height:92px}.mapa-documentation-status{display:grid;gap:7px;margin-top:10px}.mapa-documentation-status>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid rgba(255,255,255,.07)}.mapa-documentation-status small{color:var(--mapa-muted)}.mapa-documentation-missing{padding:10px 12px;border-radius:10px;background:rgba(255,180,49,.11);color:#ffd589;font-size:.84rem}.mapa-membership-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.mapa-membership-profile-grid>article{display:grid;gap:4px;padding:12px;border-radius:11px;background:rgba(255,255,255,.04)}.mapa-membership-profile-grid span{color:var(--mapa-muted);font-size:.74rem}.mapa-membership-profile-grid strong{font-size:1.1rem}
@media(max-width:900px){.mapa-member-payment-grid,.mapa-member-consent-player-grid,.mapa-sensitive-player-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mapa-member-payment-totals,.mapa-membership-profile-grid{grid-template-columns:1fr}.mapa-member-payment-list>div,.mapa-member-consent-list>details>summary{align-items:flex-start;flex-direction:column}}

/* v3.1.0 — parent-visible player development summary */
.mapa-parent-development{margin-top:14px}.mapa-parent-development-score{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:start}.mapa-parent-development-score>strong{font-size:32px;line-height:1}.mapa-parent-development-score>strong small{font-size:14px}.mapa-parent-development-score>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.mapa-parent-development-score>div span{display:flex;justify-content:space-between;gap:8px;font-size:12px}.mapa-parent-development-note{margin-top:12px;padding-top:12px;border-top:1px solid var(--mapa-line)}.mapa-parent-development-note p{margin:5px 0 0;color:var(--mapa-muted)}
@media(max-width:700px){.mapa-parent-development-score{grid-template-columns:1fr}.mapa-parent-development-score>div{grid-template-columns:1fr}}

/* MAPA v3.2.0 — Parent Portal 3.0, Calendar 2.0 and self-service */
.mapa-parent-app-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}.mapa-parent-app-column{min-width:0;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}.mapa-parent-app-column>header{display:flex;gap:10px;align-items:center;padding:15px 16px;border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.025)}.mapa-parent-app-column>header .dashicons{color:#ff6873}.mapa-parent-app-column>header div{display:grid;gap:2px}.mapa-parent-app-column>header span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--mapa-muted);font-weight:900}.mapa-parent-app-column>header strong{font-size:.95rem}.mapa-parent-app-column>a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;padding:12px 16px;border-bottom:1px solid var(--mapa-line);color:#fff;text-decoration:none}.mapa-parent-app-column>a:last-child{border-bottom:0}.mapa-parent-app-column>a:hover{background:rgba(255,255,255,.035)}.mapa-parent-app-column>a strong{min-width:0;overflow-wrap:anywhere}.mapa-parent-app-column>a small{grid-column:2;color:var(--mapa-muted)}.mapa-parent-app-column>a time{grid-row:1/3;font-weight:900;color:#ff737c}.mapa-parent-app-column--todo>a{grid-template-columns:18px minmax(0,1fr)}.mapa-parent-app-column--todo>a .dashicons{font-size:16px;width:16px;height:16px;color:#ff737c}.mapa-parent-app-type{align-self:start;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.58rem!important}.mapa-parent-app-empty{padding:20px 16px;color:var(--mapa-muted)}.mapa-parent-app-empty.is-clear{color:#8fd3a1}.mapa-calendar-v2{scroll-margin-top:90px}.mapa-calendar-toolbar{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;margin-bottom:14px}.mapa-calendar-toolbar>strong{text-align:center;font-size:1.05rem;text-transform:capitalize}.mapa-calendar-v2 .mapa-calendar-filters{grid-template-columns:repeat(2,minmax(180px,1fr)) auto;margin-bottom:18px}.mapa-calendar-v2 .mapa-calendar-grid{border:1px solid var(--mapa-line);border-radius:12px;overflow:hidden}.mapa-calendar-v2 .mapa-calendar-day{min-height:125px}.mapa-calendar-item{display:grid;gap:2px;padding:6px 7px;margin:0 0 5px;border-left:3px solid #6da8ff;border-radius:6px;background:#fff;color:#151515;text-decoration:none}.mapa-calendar-item span{font-size:.61rem;color:var(--mapa-muted)}.mapa-calendar-item strong{font-size:.7rem;line-height:1.15;overflow-wrap:anywhere}.mapa-calendar-item--match{border-left-color:#ff4e5c}.mapa-calendar-item--camp{border-left-color:#cf9d4d}.mapa-calendar-item--fee{border-left-color:#e7b64f}.mapa-calendar-item--staff{border-left-color:#a679df}.mapa-calendar-agenda{display:grid;gap:8px;margin-top:18px}.mapa-calendar-agenda>a{display:grid;grid-template-columns:72px 120px minmax(150px,1fr) minmax(120px,1fr);gap:10px;align-items:center;padding:11px 13px;border:1px solid var(--mapa-line);border-radius:9px;color:#fff;text-decoration:none;background:rgba(255,255,255,.018)}.mapa-calendar-agenda time{font-weight:900}.mapa-calendar-agenda small{color:var(--mapa-muted)}.mapa-calendar-type{font-size:.68rem;font-weight:900;text-transform:uppercase;color:#ff737c}.mapa-selfservice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;margin-bottom:18px}.mapa-selfservice-grid form{display:grid;gap:10px}.mapa-selfservice-grid label{display:grid;gap:5px}.mapa-selfservice-grid label>span{font-size:.7rem;font-weight:900;text-transform:uppercase;color:var(--mapa-muted)}.mapa-selfservice-grid input{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515}.mapa-selfservice-history{display:grid}.mapa-selfservice-history>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--mapa-line)}.mapa-selfservice-history>div:last-child{border-bottom:0}.mapa-selfservice-history span:first-child{display:grid;gap:2px}.mapa-selfservice-history small{color:var(--mapa-muted)}.mapa-member-form-note{margin:0 0 15px;padding:10px 12px;border-left:3px solid var(--mapa-red);background:rgba(226,7,22,.07);color:var(--mapa-muted)}.mapa-field-full{grid-column:1/-1}
@media(max-width:900px){.mapa-parent-app-dashboard{grid-template-columns:1fr}.mapa-calendar-toolbar{grid-template-columns:1fr 1fr}.mapa-calendar-toolbar>strong{grid-column:1/-1;grid-row:1}.mapa-calendar-v2 .mapa-calendar-filters{grid-template-columns:1fr}.mapa-calendar-agenda>a{grid-template-columns:62px 1fr}.mapa-calendar-agenda .mapa-calendar-type{grid-column:2}.mapa-calendar-agenda small{grid-column:2}}
@media(max-width:760px){.mapa-calendar-v2 .mapa-calendar-grid{display:grid;grid-template-columns:1fr;border:0;gap:9px}.mapa-calendar-v2 .mapa-calendar-day,.mapa-calendar-v2 .mapa-calendar-day.is-empty{display:none}.mapa-calendar-v2 .mapa-calendar-day:has(.mapa-calendar-item),.mapa-calendar-v2 .mapa-calendar-day.is-today{display:grid;grid-template-columns:38px 1fr;min-height:0;border:1px solid var(--mapa-line);border-radius:9px}.mapa-calendar-v2 .mapa-calendar-day__number{margin:0}.mapa-calendar-toolbar{display:flex;flex-wrap:wrap}.mapa-calendar-toolbar>strong{width:100%;order:-1;text-align:left}.mapa-calendar-toolbar .mapa-button{flex:1}}

/* MAPA v3.2.1 — Events manager dark theme + mobile responsiveness */
.mapa-frontend-manager-shell .mapa-events-admin,
.mapa-frontend-manager-shell .mapa-events-admin *{box-sizing:border-box}
.mapa-frontend-manager-shell .mapa-events-admin{width:100%;max-width:100%;min-width:0;color:var(--mapa-white)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-heading{width:100%;max-width:100%;min-width:0;border-color:var(--mapa-line);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:var(--mapa-card-shadow)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-heading h1{color:#fff}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-tip{min-width:0;border-color:var(--mapa-line);background:#fff;color:#151515}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-tip strong{color:#fff}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-tip span:last-child{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats>div,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats>a{min-width:0;border-color:var(--mapa-line);background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.018));color:#fff;box-shadow:none}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats>a{border-color:rgba(226,7,22,.28);background:rgba(226,7,22,.07)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats span{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-admin-card{min-width:0;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.018));border-color:var(--mapa-line)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-admin-card__head{border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.025);color:#fff}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-panel-copy strong,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-admin-card__head h2{color:#fff}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-panel-copy small{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-panel-icon{background:rgba(226,7,22,.12);color:#ff6873}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form{width:100%;min-width:0;padding:20px}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid{width:100%;min-width:0}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid>label,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid>.mapa-event-fieldset,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-groups,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-image{min-width:0;max-width:100%}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid label>span,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-fieldset>span,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-groups>span,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-image>span{color:#f0eff0}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input[type=text],
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input[type=url],
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input[type=date],
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input[type=time],
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input[type=number],
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid select,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid textarea,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-filters input,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-filters select{display:block;width:100%;max-width:100%;min-width:0;background:#fff!important;color:#151515!important;border-color:rgba(255,255,255,.18)!important}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-fieldset,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-check-card,
.mapa-frontend-manager-shell .mapa-events-admin .mapa-checkbox-grid>label{border-color:var(--mapa-line);background:rgba(255,255,255,.025);color:#fff}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-checkbox-grid>label:hover{border-color:rgba(226,7,22,.45);background:rgba(226,7,22,.055)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-checkbox-grid>label:has(input:checked),
.mapa-frontend-manager-shell .mapa-events-admin .mapa-check-card:has(input:checked){border-color:rgba(226,7,22,.52);background:rgba(226,7,22,.08);box-shadow:inset 3px 0 var(--mapa-red)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-image-preview{max-width:100%;border-color:rgba(255,255,255,.18);background:#fff;color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-identity-form-actions{padding:0 20px 20px;margin-top:0;flex-wrap:wrap}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-events-list-card .mapa-event-filters{padding:16px 20px 4px;margin-bottom:12px}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-table a{color:#ff7a83}
.mapa-frontend-manager-shell .mapa-events-admin .mapa-event-table a:hover{color:#fff}

@media(max-width:760px){
  .mapa-member-management-main .mapa-member-portal-shell{width:100%;max-width:100%;overflow:hidden}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-heading{padding:16px;display:grid;gap:14px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-heading h1{font-size:clamp(1.35rem,7vw,1.8rem);overflow-wrap:anywhere}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-manager-tip{width:100%;max-width:100%;min-width:0}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats{grid-template-columns:1fr 1fr;gap:9px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats>div,
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats>a{padding:13px 14px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form{padding:16px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-wide,
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-half{grid-column:1!important}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid input,
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid select,
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-form-grid textarea{font-size:16px!important}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-checkbox-grid{grid-template-columns:1fr}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-image-preview{width:100%;height:auto;min-height:120px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-identity-form-actions{padding:0 16px 16px;display:grid;grid-template-columns:1fr;width:100%}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-identity-form-actions .button{width:100%}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-events-list-card .mapa-event-filters{padding:14px 16px 2px;grid-template-columns:1fr!important}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-filters>*{width:100%;max-width:100%;min-width:0}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-training-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:480px){
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats{grid-template-columns:1fr}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-event-admin-stats strong{font-size:20px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-admin-card__head{padding:14px}
  .mapa-frontend-manager-shell .mapa-events-admin .mapa-panel-icon{flex-basis:34px;width:34px;height:34px}
}

/* MAPA v3.3.0 — Privacy, RODO & cookie consent */
.mapa-legal-document{max-width:1040px;margin:56px auto;padding:0 var(--mapa-container-pad)}
.mapa-legal-document__header{margin-bottom:24px}.mapa-legal-document__header h1{margin:5px 0 8px;font-size:clamp(2rem,5vw,3.6rem);line-height:1}.mapa-legal-document__header p{margin:0;color:var(--mapa-muted)}
.mapa-legal-document__body{padding:clamp(20px,4vw,42px);border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow);line-height:1.72}
.mapa-legal-document__body h2{margin:32px 0 10px;color:#151515;font-size:1.35rem}.mapa-legal-document__body h2:first-child{margin-top:0}.mapa-legal-document__body a,.mapa-privacy-links a{color:#ff646e}.mapa-legal-document__body ul{padding-left:22px}.mapa-legal-table{width:100%;margin:18px 0;border-collapse:collapse;overflow:hidden;border-radius:12px}.mapa-legal-table th,.mapa-legal-table td{padding:12px;border:1px solid var(--mapa-line);text-align:left;vertical-align:top}.mapa-legal-table th{background:#fff;color:#151515}.mapa-legal-table td{background:rgba(255,255,255,.018)}
.mapa-legal-gate{padding-block:34px 64px}.mapa-legal-gate-card{padding:clamp(20px,4vw,36px)}.mapa-legal-gate-card>h1{margin:8px 0 10px}.mapa-legal-gate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.mapa-legal-gate-grid>article{min-width:0;padding:16px;border:1px solid var(--mapa-line);border-radius:14px;background:#fafaf8}.mapa-legal-gate-grid>article>strong{display:block;margin-bottom:10px}.mapa-legal-scroll{max-height:290px;overflow:auto;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#fff;color:var(--mapa-muted);font-size:.9rem;line-height:1.55}.mapa-legal-scroll h2{margin:18px 0 6px;color:#151515;font-size:1rem}.mapa-legal-scroll h2:first-child{margin-top:0}.mapa-legal-gate-grid a{display:inline-block;margin-top:10px;color:#ff646e}.mapa-legal-accept-form{display:grid;gap:12px}.mapa-legal-accept-form label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(255,255,255,.025)}.mapa-legal-accept-form input[type=checkbox]{flex:0 0 auto;margin-top:3px}
.mapa-privacy-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.mapa-privacy-member .mapa-member-panel{min-width:0}.mapa-privacy-links{display:grid;gap:8px;margin:14px 0 18px;padding:0;list-style:none}.mapa-privacy-links a{text-decoration:none}.mapa-privacy-links a:hover{text-decoration:underline}.mapa-privacy-member form{display:grid;gap:12px}.mapa-privacy-member form label{display:grid;gap:6px}.mapa-privacy-member select,.mapa-privacy-member textarea{width:100%}.mapa-privacy-request-list{display:grid;gap:8px}.mapa-privacy-request-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--mapa-line)}.mapa-privacy-request-list>div:last-child{border-bottom:0}.mapa-privacy-request-list>div>span:first-child{display:grid;gap:2px;min-width:0}.mapa-privacy-request-list small{color:var(--mapa-muted)}
.mapa-form-privacy-notice{padding:10px 12px;border-left:3px solid rgba(226,7,22,.75);background:rgba(226,7,22,.045);color:var(--mapa-muted);font-size:.82rem;line-height:1.5}.mapa-form-privacy-notice .mapa-privacy-inline-notice{margin:0;background:transparent;box-shadow:none;border:0}.mapa-form-privacy-notice a{color:inherit;text-decoration:underline}
.mapa-cookie-consent[hidden],.mapa-cookie-modal[hidden]{display:none!important}.mapa-cookie-consent{position:relative;z-index:100000}.mapa-cookie-banner{position:fixed;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;max-width:1180px;margin:auto;padding:20px 22px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none;color:#151515}.mapa-cookie-banner h2{margin:3px 0 7px;font-size:1.2rem}.mapa-cookie-banner p{margin:0;max-width:760px;color:#66665f;font-size:.9rem;line-height:1.5}.mapa-cookie-banner p a{color:#b5000b;text-decoration:underline}.mapa-cookie-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.mapa-cookie-actions .mapa-button{white-space:nowrap}.mapa-cookie-modal{position:fixed;inset:0;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(6px);z-index:100001}.mapa-cookie-modal__panel{position:relative;width:min(640px,100%);max-height:min(760px,calc(100svh - 36px));overflow:auto;padding:26px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}.mapa-cookie-modal__panel h2{margin:5px 0 8px}.mapa-cookie-modal__panel>p{color:var(--mapa-muted);line-height:1.55}.mapa-cookie-close{position:absolute;right:14px;top:13px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--mapa-line);border-radius:50%;background:#fff;color:#151515;font-size:22px;cursor:pointer}.mapa-cookie-categories{display:grid;gap:9px;margin:20px 0}.mapa-cookie-categories>label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #deded8;border-radius:0;background:#fafaf8}.mapa-cookie-categories>label>span{display:grid;gap:3px}.mapa-cookie-categories strong{color:#151515}.mapa-cookie-categories small{color:var(--mapa-muted);line-height:1.4}.mapa-cookie-categories input{flex:0 0 auto;width:20px;height:20px}.mapa-cookie-categories .is-required{opacity:.85}html.mapa-cookie-modal-open{overflow:hidden}
.mapa-footer-legal{display:flex;align-items:center;justify-content:center;gap:8px 16px;flex-wrap:wrap;padding:14px 0 2px;border-top:1px solid #deded8;font-size:.78rem}.mapa-footer-legal a,.mapa-footer-legal__button{border:0;background:none;padding:0;color:var(--mapa-muted);font:inherit;text-decoration:none;cursor:pointer}.mapa-footer-legal a:hover,.mapa-footer-legal__button:hover{color:#b5000b;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.mapa-legal-document{margin:34px auto}.mapa-legal-gate-grid,.mapa-privacy-member-grid{grid-template-columns:1fr}.mapa-cookie-banner{grid-template-columns:1fr;gap:14px;padding:17px}.mapa-cookie-actions{justify-content:stretch}.mapa-cookie-actions .mapa-button{flex:1 1 160px}.mapa-privacy-request-list>div{align-items:flex-start;flex-direction:column}.mapa-legal-table{display:block;overflow-x:auto}.mapa-legal-table tbody,.mapa-legal-table thead{min-width:640px}.mapa-footer-legal{justify-content:flex-start}}
@media(max-width:460px){.mapa-cookie-actions{display:grid;grid-template-columns:1fr}.mapa-cookie-actions .mapa-button{width:100%}.mapa-cookie-modal{padding:9px}.mapa-cookie-modal__panel{padding:20px 16px}.mapa-cookie-categories>label{align-items:flex-start}}
.mapa-legal-document__head{margin-bottom:24px;padding:clamp(24px,3vw,38px) clamp(24px,4vw,42px) 0}.mapa-legal-document__head h1{margin:7px 0 10px;font-size:clamp(2rem,5vw,3.6rem);line-height:1.02}.mapa-legal-document__head p{margin:0;color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-privacy-doc-editor,.mapa-frontend-manager-shell .mapa-privacy-breach-list article{border-color:#deded8;background:#fff;color:#151515}.mapa-frontend-manager-shell .mapa-privacy-doc-editor>summary{background:#fff;color:#151515}.mapa-frontend-manager-shell .mapa-privacy-doc-editor>summary span{background:#e30613;color:#fff}.mapa-frontend-manager-shell .mapa-privacy-admin td form{color:#151515}
.mapa-frontend-manager-shell .mapa-privacy-version-history{border-color:var(--mapa-line);background:#fff}.mapa-frontend-manager-shell .mapa-privacy-version-history small{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-privacy-breach-list article>small{color:var(--mapa-muted)}.mapa-frontend-manager-shell .mapa-privacy-breach-list article>small.is-overdue{color:#ff737c}.mapa-frontend-manager-shell .mapa-privacy-breach-list dt{color:#151515}.mapa-frontend-manager-shell .mapa-privacy-breach-list dd{color:var(--mapa-muted)}


/* v3.4.0 — Strefa MAPA application workspace and legal-page width alignment. */
.mapa-member-workspace{display:grid;grid-template-columns:minmax(210px,245px) minmax(0,1fr);gap:28px;align-items:start;margin-top:22px}
.mapa-member-workspace__content{min-width:0}
.mapa-member-workspace .mapa-member-tabs{position:sticky;top:var(--mapa-sticky-under-header,108px);z-index:30;display:block;margin:0;padding:9px;max-height:calc(100vh - var(--mapa-sticky-under-header,108px) - 18px);overflow-y:auto;overflow-x:hidden;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}
.mapa-member-tabs__group{display:grid;gap:4px;padding:7px 0;border-top:1px solid #e6e6e0}
.mapa-member-tabs__group:first-child{padding-top:2px;border-top:0}
.mapa-member-tabs__label{padding:7px 10px 3px;color:#77777d;font-size:.64rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.mapa-member-tabs__links{display:grid;gap:2px}
.mapa-member-workspace .mapa-member-tabs a{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 10px;border-radius:9px;color:var(--mapa-muted);font-size:.82rem;font-weight:800;text-decoration:none;white-space:normal}
.mapa-member-workspace .mapa-member-tabs a:hover,.mapa-member-workspace .mapa-member-tabs a:focus-visible,.mapa-member-workspace .mapa-member-tabs a.is-active{background:rgba(226,7,22,.12);color:#fff;outline:none}
.mapa-member-workspace .mapa-member-tabs a.is-active{box-shadow:inset 3px 0 0 var(--mapa-red)}
.mapa-member-tabs__external{color:#a9a9ae!important}
.mapa-member-workspace__content>.mapa-member-section{padding-top:4px;scroll-margin-top:var(--mapa-sticky-under-header,108px)}
.mapa-member-workspace__content>.mapa-member-section[hidden]{display:none!important}
.mapa-member-workspace[data-mapa-tabs-ready] .mapa-member-section{animation:mapaMemberSectionIn .16s ease-out}
@keyframes mapaMemberSectionIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}

.mapa-management-workspace{display:grid;grid-template-columns:minmax(220px,255px) minmax(0,1fr);gap:28px;align-items:start;margin-top:18px}
.mapa-management-workspace .mapa-management-tabs{position:sticky;top:var(--mapa-sticky-under-header,108px);z-index:30;display:block;margin:0;padding:9px;max-height:calc(100vh - var(--mapa-sticky-under-header,108px) - 18px);overflow-y:auto;overflow-x:hidden;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}
.mapa-management-tabs__group{display:grid;gap:4px;padding:7px 0;border-top:1px solid rgba(255,255,255,.075)}
.mapa-management-tabs__group:first-child{padding-top:2px;border-top:0}
.mapa-management-tabs__label{padding:7px 10px 3px;color:#77777d;font-size:.64rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.mapa-management-tabs__links{display:grid;gap:2px}
.mapa-management-workspace .mapa-management-tabs a{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--mapa-muted);font-size:.8rem;font-weight:800;text-decoration:none;white-space:normal}
.mapa-management-workspace .mapa-management-tabs a .dashicons{flex:0 0 18px;width:18px;height:18px;font-size:18px;color:#888891}
.mapa-management-workspace .mapa-management-tabs a:hover,.mapa-management-workspace .mapa-management-tabs a:focus-visible,.mapa-management-workspace .mapa-management-tabs a.is-active{border:0;background:rgba(226,7,22,.12);color:#fff;outline:none}
.mapa-management-workspace .mapa-management-tabs a.is-active{box-shadow:inset 3px 0 0 var(--mapa-red)}
.mapa-management-workspace .mapa-management-tabs a.is-active .dashicons{color:#ff5964}
.mapa-management-workspace>.mapa-frontend-manager-shell{min-width:0;padding-top:0}

/* Any nested anchor shown inside Start (for example Zarządzanie) still gets enough clearance below the header. */
.mapa-member-workspace [id]{scroll-margin-top:var(--mapa-sticky-under-header,108px)}

/* Account dropdown: add a second bridge on the parent so hover remains continuous even with browser rounding/zoom. */
@media(min-width:1051px){.mapa-header-account--desktop::after{content:"";position:absolute;z-index:1199;left:0;right:0;top:100%;height:14px;background:transparent;pointer-events:auto;display:none}.mapa-header-account--desktop:hover::after,.mapa-header-account--desktop:focus-within::after,.mapa-header-account--desktop.is-open::after{display:block}}

/* Legal documents use the same configurable content width as the rest of the site. */
body.mapa-legal-page .mapa-content{width:min(calc(100% - (var(--mapa-container-pad) * 2)),var(--mapa-max));padding-top:44px}
body.mapa-legal-page .mapa-legal-document{width:100%;max-width:none;margin:0;padding:0}

@media(max-width:980px){
  .mapa-member-workspace{grid-template-columns:1fr;gap:18px;margin-top:14px}
  .mapa-member-workspace .mapa-member-tabs{top:var(--mapa-sticky-under-header,92px);display:flex;gap:4px;max-height:none;overflow-x:auto;overflow-y:hidden;margin-inline:calc(var(--mapa-container-pad) * -1);padding:8px var(--mapa-container-pad);border-left:0;border-right:0;border-radius:0;scrollbar-width:thin}
  .mapa-member-tabs__group{display:flex;flex:0 0 auto;gap:4px;padding:0 5px 0 0;border:0;border-right:1px solid rgba(255,255,255,.09)}
  .mapa-member-tabs__group:last-child{border-right:0}
  .mapa-member-tabs__label{display:none}
  .mapa-member-tabs__links{display:flex;gap:4px}
  .mapa-member-workspace .mapa-member-tabs a{width:auto;min-height:40px;padding:8px 11px;white-space:nowrap}
  .mapa-member-workspace .mapa-member-tabs a.is-active{box-shadow:inset 0 -3px 0 var(--mapa-red)}
  .mapa-member-workspace__content>.mapa-member-section{padding-top:8px}

  .mapa-management-workspace{grid-template-columns:1fr;gap:14px;margin-top:12px}
  .mapa-management-workspace .mapa-management-tabs{top:var(--mapa-sticky-under-header,92px);display:flex;gap:4px;max-height:none;overflow-x:auto;overflow-y:hidden;margin-inline:calc(var(--mapa-container-pad) * -1);padding:8px var(--mapa-container-pad);border-left:0;border-right:0;border-radius:0;scrollbar-width:thin}
  .mapa-management-tabs__group{display:flex;flex:0 0 auto;gap:4px;padding:0 5px 0 0;border:0;border-right:1px solid rgba(255,255,255,.09)}
  .mapa-management-tabs__group:last-child{border-right:0}
  .mapa-management-tabs__label{display:none}
  .mapa-management-tabs__links{display:flex;gap:4px}
  .mapa-management-workspace .mapa-management-tabs a{width:auto;white-space:nowrap}
  .mapa-management-workspace .mapa-management-tabs a.is-active{box-shadow:inset 0 -3px 0 var(--mapa-red)}
}
@media(max-width:600px){body.mapa-legal-page .mapa-content{width:min(calc(100% - (var(--mapa-container-pad) * 2)),var(--mapa-max));padding-top:28px}.mapa-legal-document__head{padding:22px 20px 0;margin-bottom:20px}.mapa-legal-document__head h1{font-size:clamp(2rem,11vw,3rem);overflow-wrap:anywhere}.mapa-member-workspace{gap:12px}}

/* v3.4.2 — communication form spacing and calendar no-training days. */
.mapa-member-compose .mapa-recipient-audience{margin-bottom:8px}
.mapa-member-compose .mapa-member-send-message{margin-top:18px}
.mapa-calendar-item--break{border-left-color:#a8a8ae;background:rgba(255,255,255,.055)}
.mapa-calendar-type--break{color:#d1d1d6}
.mapa-calendar-break-manager{margin:0 0 18px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}
.mapa-calendar-break-manager>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;list-style:none}
.mapa-calendar-break-manager>summary::-webkit-details-marker{display:none}
.mapa-calendar-break-manager>summary>span:first-child{display:grid;gap:3px}
.mapa-calendar-break-manager>summary small{color:var(--mapa-muted);font-size:.76rem;font-weight:500}
.mapa-calendar-break-manager>summary .dashicons{color:#ff6873}
.mapa-calendar-break-manager[open]>summary{border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.025)}
.mapa-calendar-break-manager__body{display:grid;gap:16px;padding:16px}
.mapa-calendar-break-form{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(150px,.65fr) minmax(240px,1.7fr) auto;gap:10px;align-items:end}
.mapa-calendar-break-form label{display:grid;gap:6px}
.mapa-calendar-break-form label>span{color:var(--mapa-muted);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.mapa-calendar-break-form input{width:100%;min-width:0;min-height:42px;padding:8px 10px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515}
.mapa-calendar-break-list{display:grid;gap:8px}
.mapa-calendar-break-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--mapa-line);border-radius:9px;background:rgba(255,255,255,.02)}
.mapa-calendar-break-list>div>span{display:grid;gap:2px}
.mapa-calendar-break-list small{color:var(--mapa-muted)}
.mapa-calendar-break-list form{margin:0}
@media(max-width:900px){.mapa-calendar-break-form{grid-template-columns:1fr 1fr}.mapa-calendar-break-reason{grid-column:1/-1}.mapa-calendar-break-form>.mapa-button{grid-column:1/-1;justify-self:start}}
@media(max-width:600px){.mapa-calendar-break-form{grid-template-columns:1fr}.mapa-calendar-break-reason,.mapa-calendar-break-form>.mapa-button{grid-column:auto}.mapa-calendar-break-form>.mapa-button{width:100%}.mapa-calendar-break-list>div{align-items:stretch;flex-direction:column}.mapa-calendar-break-list form .mapa-button{width:100%}}


/* v3.4.3 — privacy empty state and expanded notification preferences. */
.mapa-privacy-request-list > .mapa-member-empty--compact{padding:13px 14px;border:1px dashed rgba(255,255,255,.13);border-radius:11px;background:rgba(255,255,255,.018)}
.mapa-member-notification-hint{display:block;margin-top:4px;color:var(--mapa-muted);font-size:.78rem;line-height:1.45}

/* v3.4.4 — compact calendar agenda and scalable recipient picker. */
.mapa-calendar-agenda-panel{display:grid;gap:14px;margin-top:20px;padding:16px;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.018)}
.mapa-calendar-agenda-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:16px;align-items:end}
.mapa-calendar-agenda-head h3{margin:2px 0 4px;font-size:1.15rem}.mapa-calendar-agenda-head p{margin:0;color:var(--mapa-muted);font-size:.8rem}
.mapa-calendar-agenda-search input{width:100%;min-height:42px;padding:8px 11px;border:1px solid var(--mapa-line);border-radius:9px;background:#fff;color:#151515}
.mapa-calendar-agenda-types{display:flex;flex-wrap:wrap;gap:7px}.mapa-calendar-agenda-types button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 10px;border:1px solid var(--mapa-line);border-radius:999px;background:rgba(255,255,255,.025);color:#ddd;cursor:pointer;font:inherit;font-size:.74rem;font-weight:800}.mapa-calendar-agenda-types button span{display:grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.66rem}.mapa-calendar-agenda-types button.is-active{border-color:rgba(226,7,22,.8);background:rgba(226,7,22,.13);color:#fff}
.mapa-calendar-agenda-days{display:grid;gap:8px}.mapa-calendar-agenda-day{border:1px solid var(--mapa-line);border-radius:10px;background:rgba(255,255,255,.014);overflow:hidden}.mapa-calendar-agenda-day>summary{display:grid;grid-template-columns:48px minmax(0,1fr) 22px;gap:11px;align-items:center;padding:10px 12px;cursor:pointer;list-style:none}.mapa-calendar-agenda-day>summary::-webkit-details-marker{display:none}.mapa-calendar-agenda-day[open]>summary{border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.025)}.mapa-calendar-agenda-day>summary>.dashicons{transition:transform .16s;color:var(--mapa-muted)}.mapa-calendar-agenda-day[open]>summary>.dashicons{transform:rotate(180deg)}
.mapa-calendar-agenda-date{display:grid;place-items:center;min-height:44px;border-radius:8px;background:rgba(226,7,22,.10)}.mapa-calendar-agenda-date strong{font-size:1.15rem;line-height:1}.mapa-calendar-agenda-date span{font-size:.62rem;text-transform:uppercase;color:#ff737c;font-weight:900}.mapa-calendar-agenda-summary-copy{display:grid;gap:2px}.mapa-calendar-agenda-summary-copy>strong{text-transform:capitalize}.mapa-calendar-agenda-summary-copy small{color:var(--mapa-muted)}
.mapa-calendar-agenda-list{display:grid}.mapa-calendar-agenda-list>a{display:grid;grid-template-columns:78px 120px minmax(160px,1fr) minmax(140px,1fr);gap:10px;align-items:center;padding:10px 13px;border-bottom:1px solid rgba(255,255,255,.07);color:#fff;text-decoration:none}.mapa-calendar-agenda-list>a:last-child{border-bottom:0}.mapa-calendar-agenda-list>a:hover{background:rgba(255,255,255,.025)}.mapa-calendar-agenda-list time{font-weight:900}.mapa-calendar-agenda-list small{color:var(--mapa-muted)}.mapa-calendar-agenda-more{justify-self:center;min-width:220px}.mapa-calendar-agenda-empty{margin:0}

/* v5.7.0 — recipient builder light base; legacy dark skin removed */
.mapa-member-compose .mapa-recipient-builder,.mapa-document-form .mapa-recipient-builder{margin-bottom:18px}.mapa-recipient-builder{display:grid;gap:14px}.mapa-recipient-workspace{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.4fr);gap:14px}.mapa-recipient-groups,.mapa-recipient-direct{min-width:0;padding:13px;border:1px solid #deded8;border-radius:0;background:#fff;color:#30302d}.mapa-recipient-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.mapa-recipient-section-head>div{display:grid;gap:2px}.mapa-recipient-section-head small{color:#6c6c65;font-size:.72rem;line-height:1.35}.mapa-recipient-section-head>span{flex:0 0 auto;padding:4px 7px;border:1px solid #efc6c9;border-radius:0;background:#fff4f5;color:#a7111c;font-size:.68rem;font-weight:900}.mapa-recipient-search-field{display:block}.mapa-recipient-search-field input,.mapa-recipient-search-toolbar select{width:100%;min-width:0;min-height:40px;padding:7px 9px;border:1px solid #cfcfca;border-radius:0;background:#fff;color:#242421}.mapa-recipient-groups .mapa-checkbox-grid--compact{max-height:220px;margin-top:9px}.mapa-recipient-search-toolbar{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(150px,.6fr) minmax(150px,.7fr);gap:8px}.mapa-recipient-search-status{min-height:34px;padding:9px 1px 6px;color:#6c6c65;font-size:.73rem}.mapa-recipient-results{display:grid;max-height:300px;overflow:auto;border-top:1px solid #deded8}.mapa-recipient-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #ecebe6}.mapa-recipient-result>span{display:grid;gap:2px;min-width:0}.mapa-recipient-result strong,.mapa-recipient-result small{overflow-wrap:anywhere}.mapa-recipient-result strong{color:#242421}.mapa-recipient-result small{color:#6c6c65;font-size:.7rem}.mapa-recipient-result__add{flex:0 0 auto}.mapa-recipient-selected{margin-top:12px;padding-top:11px;border-top:1px solid #deded8}.mapa-recipient-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.mapa-recipient-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:6px 7px 6px 9px;border:1px solid #efc6c9;border-radius:0;background:#fff7f7;color:#292926}.mapa-recipient-chip>span{display:grid;min-width:0}.mapa-recipient-chip strong,.mapa-recipient-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapa-recipient-chip small{color:#6c6c65;font-size:.65rem}.mapa-recipient-chip button{display:grid;width:24px;height:24px;place-items:center;border:1px solid #deded8;border-radius:0;background:#fff;color:#4c4c47;cursor:pointer;font-size:18px}.mapa-recipient-chip button:hover{border-color:#e20716;color:#b10e1a;background:#fff4f5}.mapa-recipient-selected-empty{margin:8px 0 0;color:#6c6c65;font-size:.73rem}
@media(max-width:980px){.mapa-calendar-agenda-head,.mapa-recipient-workspace{grid-template-columns:1fr}.mapa-recipient-search-toolbar{grid-template-columns:1fr 1fr}.mapa-recipient-search-toolbar .mapa-recipient-search-field{grid-column:1/-1}.mapa-calendar-agenda-list>a{grid-template-columns:70px 110px minmax(0,1fr)}.mapa-calendar-agenda-list>a small{grid-column:3}}
@media(max-width:650px){.mapa-calendar-agenda-panel{padding:12px}.mapa-calendar-agenda-head{gap:10px}.mapa-calendar-agenda-types{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.mapa-calendar-agenda-types button{flex:0 0 auto}.mapa-calendar-agenda-day>summary{grid-template-columns:42px minmax(0,1fr) 20px}.mapa-calendar-agenda-list>a{grid-template-columns:62px minmax(0,1fr);gap:4px 9px}.mapa-calendar-agenda-list .mapa-calendar-type{grid-column:2}.mapa-calendar-agenda-list>a strong,.mapa-calendar-agenda-list>a small{grid-column:2}.mapa-recipient-search-toolbar{grid-template-columns:1fr}.mapa-recipient-search-toolbar .mapa-recipient-search-field{grid-column:auto}.mapa-recipient-result{align-items:flex-start}.mapa-recipient-result__add{min-height:36px}}
.mapa-recipient-result__add{min-height:34px;padding:6px 10px;border:1px solid #d3d3cd;border-radius:0;background:#fff;color:#292926;font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}.mapa-recipient-result__add:hover{border-color:#e20716;background:#fff4f5;color:#a7111c}.mapa-recipient-result__add:disabled{opacity:.55;cursor:default}

/* v3.5.0 — Scale & UX */
.mapa-global-search{position:relative;z-index:35;margin:0 0 22px}.mapa-global-search__field{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 12px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}.mapa-global-search__field .dashicons{color:var(--mapa-red)}.mapa-global-search__field input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#151515!important;font:inherit;box-shadow:none!important}.mapa-global-search__field input::placeholder{color:var(--mapa-muted)}.mapa-global-search__field kbd{padding:3px 7px;border:1px solid #deded8;border-radius:0;color:#66665f;font-size:11px;background:#f2f2ef}.mapa-global-search__results{position:absolute;top:calc(100% + 8px);left:0;right:0;max-height:min(62vh,620px);overflow:auto;border:1px solid var(--mapa-line);border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.48);padding:10px}.mapa-global-search__results section+section{border-top:1px solid var(--mapa-line);margin-top:8px;padding-top:8px}.mapa-global-search__group-label{display:block;padding:7px 10px;color:var(--mapa-red);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.mapa-global-search__results a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px;border-radius:0;color:#151515;text-decoration:none}.mapa-global-search__results a:hover,.mapa-global-search__results a:focus{background:rgba(226,7,22,.12)}.mapa-global-search__results a span:first-child{display:grid;gap:3px}.mapa-global-search__results a small{color:var(--mapa-muted);font-size:12px}.mapa-global-search__empty{padding:16px;color:var(--mapa-muted)}.mapa-scale-pagination{display:flex;justify-content:flex-end;margin-top:18px}.mapa-scale-pagination ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.mapa-scale-pagination a,.mapa-scale-pagination span{display:grid;place-items:center;min-width:36px;height:36px;padding:0 10px;border:1px solid var(--mapa-line);border-radius:8px;text-decoration:none}.mapa-scale-pagination .current{background:var(--mapa-red);border-color:var(--mapa-red);color:#fff}.mapa-scale-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}.mapa-scale-toolbar__spacer{flex:1}.mapa-scale-quickviews{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.mapa-scale-quickviews a{padding:7px 10px;border:1px solid var(--mapa-line);border-radius:999px;text-decoration:none;font-size:12px}.mapa-scale-quickviews a.is-active{background:rgba(226,7,22,.14);border-color:rgba(226,7,22,.55)}
@media (max-width:720px){.mapa-global-search__field kbd{display:none}.mapa-global-search__results{position:fixed;left:12px;right:12px;top:calc(var(--mapa-sticky-top,80px) + 8px);max-height:70vh}.mapa-scale-toolbar>*{width:100%}.mapa-scale-pagination{justify-content:center}}

/* v3.5.2 — Management Dashboard dark-theme parity in Strefa MAPA. */
.mapa-frontend-manager-shell .mapa-management-dashboard{color:var(--mapa-white)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-heading{
  margin-bottom:20px;padding:22px 24px;border:1px solid var(--mapa-line);border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(226,7,22,.045));
  box-shadow:var(--mapa-card-shadow);color:var(--mapa-white)
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-heading h1{color:var(--mapa-white)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-heading .mapa-admin-lead{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-tip{
  min-width:230px;border:1px solid var(--mapa-line);background:rgba(255,255,255,.035);color:var(--mapa-white)
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-tip>.dashicons{color:var(--mapa-red)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-tip strong{color:var(--mapa-white)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-tip span:last-child{color:var(--mapa-muted)}

.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis>a,
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis>article{
  position:relative;min-height:118px;padding:17px 18px;border:1px solid var(--mapa-line);border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
  color:var(--mapa-white);box-shadow:none;overflow:hidden
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis>a{transition:border-color .15s ease,background .15s ease,transform .15s ease}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis>a:hover,
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis>a:focus-visible{
  border-color:rgba(226,7,22,.65);background:rgba(226,7,22,.08);transform:translateY(-1px);outline:none
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis span{color:#a9a9af;font-size:.68rem;letter-spacing:.065em}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis strong{color:#fff;font-size:1.7rem}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis small{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis .is-warning{
  border-color:rgba(226,7,22,.56);background:linear-gradient(180deg,rgba(226,7,22,.12),rgba(226,7,22,.045))
}

.mapa-frontend-manager-shell .mapa-management-dashboard>.mapa-admin-card{margin-top:16px;overflow:hidden}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card{
  border:1px solid var(--mapa-line);background:linear-gradient(180deg,rgba(255,255,255,.034),rgba(255,255,255,.018));
  box-shadow:none;color:var(--mapa-white)
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card__head{
  padding:16px 18px;border-bottom:1px solid var(--mapa-line);border-radius:0;background:rgba(255,255,255,.028);color:var(--mapa-white)
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card__head .mapa-panel-icon{
  background:rgba(226,7,22,.12);color:#ff5a66
}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card__head .mapa-panel-copy strong{color:#fff}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card__head .mapa-panel-copy small{color:var(--mapa-muted)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-training-table-wrap{background:#fff}
.mapa-frontend-manager-shell .mapa-management-dashboard .widefat thead th{border-bottom-color:var(--mapa-line);background:#fff;color:#151515}
.mapa-frontend-manager-shell .mapa-management-dashboard .widefat tbody td{color:#e8e7e4;background:transparent}
.mapa-frontend-manager-shell .mapa-management-dashboard .widefat tbody tr:nth-child(even) td{background:rgba(255,255,255,.018)}
.mapa-frontend-manager-shell .mapa-management-dashboard .widefat tbody tr:hover td{background:rgba(255,255,255,.032)}
.mapa-frontend-manager-shell .mapa-management-dashboard .widefat td strong{color:#fff}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-status--accepted{background:rgba(46,174,104,.16);color:#78e6a4}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-status--warning{background:rgba(226,167,47,.15);color:#ffd875}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-occupancy{background:rgba(255,255,255,.10)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-occupancy span{background:var(--mapa-red)}
.mapa-frontend-manager-shell .mapa-management-dashboard .mapa-admin-card form>p{margin:14px 18px 18px}

@media(max-width:1180px){
  .mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .mapa-frontend-manager-shell .mapa-management-dashboard .mapa-management-kpis{grid-template-columns:1fr}
  .mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-heading{padding:18px}
  .mapa-frontend-manager-shell .mapa-management-dashboard .mapa-manager-tip{width:100%;min-width:0}
}

/* v3.5.5 — optional viewport-wide page/content layout. The existing
 * responsive side padding remains the single source of truth. */
body.mapa-layout-full-width .mapa-container,
body.mapa-layout-full-width.mapa-legal-page .mapa-content{
  width:calc(100% - (var(--mapa-container-pad) * 2));
  max-width:none;
}
body.mapa-layout-full-width .mapa-content,
body.mapa-layout-full-width .mapa-legal-document{max-width:none}

/* v3.5.7 — Strefa MAPA app navigation redesign.
 * Desktop keeps a proper sticky sidebar. Mobile replaces the horizontal
 * scrolling tab rail with clear quick actions + a grouped "Więcej" panel. */
.mapa-member-tabs__header,.mapa-management-tabs__header{display:grid;gap:2px;padding:10px 10px 12px;margin-bottom:2px;border-bottom:1px solid #e6e6e0}
.mapa-member-tabs__header strong,.mapa-management-tabs__header strong{font-size:.96rem;letter-spacing:.01em}
.mapa-member-tabs__header span,.mapa-management-tabs__header span{color:var(--mapa-muted);font-size:.75rem}
.mapa-member-nav-link,.mapa-management-nav-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:10px 11px;border-radius:11px;color:var(--mapa-muted);text-decoration:none;font-size:.84rem;font-weight:800;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.mapa-member-nav-link__main,.mapa-management-nav-link__main{display:flex;align-items:center;gap:10px;min-width:0}
.mapa-member-nav-link__main .dashicons,.mapa-management-nav-link__main .dashicons{flex:0 0 18px;width:18px;height:18px;font-size:18px;color:#8f8f96}
.mapa-member-nav-link__text,.mapa-management-nav-link__text{min-width:0;overflow-wrap:anywhere}
.mapa-member-nav-link:hover,.mapa-member-nav-link:focus-visible,.mapa-member-nav-link.is-active,.mapa-management-nav-link:hover,.mapa-management-nav-link:focus-visible,.mapa-management-nav-link.is-active{background:#fff0f1;color:#b5000b;outline:none}
.mapa-member-nav-link:hover .dashicons,.mapa-member-nav-link:focus-visible .dashicons,.mapa-member-nav-link.is-active .dashicons,.mapa-management-nav-link:hover .dashicons,.mapa-management-nav-link:focus-visible .dashicons,.mapa-management-nav-link.is-active .dashicons{color:#ff5964}
.mapa-member-nav-link.is-active,.mapa-management-nav-link.is-active{box-shadow:inset 3px 0 0 var(--mapa-red)}
.mapa-member-nav-link__badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:0 8px;border-radius:999px;background:rgba(226,7,22,.18);color:#ff7e86;font-size:.72rem;font-weight:900;line-height:1}
.mapa-member-nav-link__badge--warning{background:rgba(231,163,26,.16);color:#ffd46d}
.mapa-member-nav-link__badge--events{background:rgba(82,159,212,.16);color:#b6dbff}
.mapa-member-nav-link__badge--ghost{background:rgba(255,255,255,.08);color:#d7d7db}
.mapa-member-nav-link--external .mapa-member-nav-link__main,.mapa-management-tabs .mapa-management-tabs__group:last-child .mapa-management-nav-link__main{align-items:flex-start}
.mapa-member-mobile-nav,.mapa-management-mobile-nav{display:none}
.mapa-member-mobile-nav__quick,.mapa-management-mobile-nav__quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px 11px;border:1px solid #deded8;border-radius:0;background:#fff;color:#151515;font:inherit;font-weight:800;box-shadow:none}
.mapa-member-mobile-nav__more .dashicons,.mapa-management-mobile-nav__more .dashicons{color:#ff5964}
.mapa-member-mobile-nav__panel,.mapa-management-mobile-nav__panel{position:relative;display:grid;gap:14px;padding:16px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}
.mapa-member-mobile-nav__panel[hidden],.mapa-management-mobile-nav__panel[hidden]{display:none!important}
.mapa-member-mobile-nav__panel-head,.mapa-management-mobile-nav__panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e6e6e0}
.mapa-member-mobile-nav__panel-head strong,.mapa-management-mobile-nav__panel-head strong{display:block;font-size:1rem}
.mapa-member-mobile-nav__panel-head span,.mapa-management-mobile-nav__panel-head span{display:block;color:var(--mapa-muted);font-size:.76rem}
.mapa-member-mobile-nav__close,.mapa-management-mobile-nav__close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #deded8;border-radius:0;background:#fff;color:#151515;font-size:1.6rem;line-height:1}
.mapa-member-mobile-nav__groups,.mapa-management-mobile-nav__groups{display:grid;gap:14px}
.mapa-member-mobile-nav__section,.mapa-management-mobile-nav__section{display:grid;gap:7px}
.mapa-member-mobile-nav__label,.mapa-management-mobile-nav__label{padding:0 2px;color:#7f7f86;font-size:.66rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.mapa-member-mobile-nav__links,.mapa-management-mobile-nav__links{display:grid;gap:6px}
.mapa-member-mobile-nav__panel-link,.mapa-management-mobile-nav__panel-link{padding:12px 13px;border:1px solid #deded8;background:#fff}
@media(min-width:1041px){
  .mapa-member-workspace .mapa-member-tabs,.mapa-management-workspace .mapa-management-tabs{padding:10px}
}
@media(max-width:1040px){
  .mapa-member-workspace,.mapa-management-workspace{grid-template-columns:1fr;gap:14px;margin-top:14px}
  .mapa-member-workspace .mapa-member-tabs,.mapa-management-workspace .mapa-management-tabs{display:none!important}
  .mapa-member-mobile-nav,.mapa-management-mobile-nav{position:sticky;top:var(--mapa-sticky-under-header,92px);z-index:34;display:grid;gap:10px;margin-inline:calc(var(--mapa-container-pad) * -1);padding:0 var(--mapa-container-pad)}
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link{min-height:56px;padding:10px 8px;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none}
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link,.mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more{justify-content:center;text-align:center}
  .mapa-member-mobile-nav__quick-link .mapa-member-nav-link__main,.mapa-management-mobile-nav__quick-link .mapa-management-nav-link__main,.mapa-member-mobile-nav__more .mapa-member-nav-link__main,.mapa-management-mobile-nav__more .mapa-management-nav-link__main{display:grid;justify-items:center;gap:5px}
  .mapa-member-mobile-nav__quick-link .dashicons,.mapa-management-mobile-nav__quick-link .dashicons,.mapa-member-mobile-nav__more .dashicons,.mapa-management-mobile-nav__more .dashicons{margin:0;font-size:20px}
  .mapa-member-mobile-nav__quick-link .mapa-member-nav-link__text,.mapa-management-mobile-nav__quick-link .mapa-management-nav-link__text,.mapa-member-mobile-nav__more .mapa-member-nav-link__text,.mapa-management-mobile-nav__more .mapa-management-nav-link__text{font-size:.72rem;line-height:1.2;overflow-wrap:normal;word-break:break-word}
  .mapa-member-mobile-nav__quick-link .mapa-member-nav-link__badge,.mapa-management-mobile-nav__quick-link .mapa-member-nav-link__badge{position:absolute;top:8px;right:8px;min-width:22px;min-height:22px;padding:0 6px;font-size:.68rem}
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link{position:relative}
  .mapa-member-mobile-nav.is-open .mapa-member-mobile-nav__more,.mapa-management-mobile-nav.is-open .mapa-management-mobile-nav__more{border-color:rgba(226,7,22,.62);background:rgba(226,7,22,.12)}
  .mapa-member-workspace__content>.mapa-member-section{padding-top:8px}
}
@media(max-width:760px){
  .mapa-member-mobile-nav,.mapa-management-mobile-nav{top:var(--mapa-sticky-under-header,92px);gap:8px}
  .mapa-member-mobile-nav__quick,.mapa-management-mobile-nav__quick{gap:7px}
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link,.mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more{min-height:54px;border-radius:13px}
  .mapa-member-mobile-nav__panel,.mapa-management-mobile-nav__panel{padding:14px;border-radius:16px}
}
@media(max-width:430px){
  .mapa-member-mobile-nav__quick,.mapa-management-mobile-nav__quick{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v3.5.9 — mobile sticky navigation opacity / overlap fix.
 * The sticky quick-nav must be an opaque application chrome layer: page
 * headings scroll underneath it, but must never be visible through buttons
 * or the gaps between them. */
@media(max-width:1040px){
  .mapa-member-mobile-nav,.mapa-management-mobile-nav{
    padding-top:8px;
    padding-bottom:8px;
    background:#fff;
    border-bottom:1px solid #deded8;
    box-shadow:none;
  }
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link,
  .mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more{
    background:#fff;
  }
  .mapa-member-mobile-nav__quick-link.is-active,.mapa-management-mobile-nav__quick-link.is-active{
    background:#fff0f1;
    border-color:#e30613;
    box-shadow:inset 4px 0 0 var(--mapa-red);
  }
  .mapa-member-mobile-nav.is-open .mapa-member-mobile-nav__more,
  .mapa-management-mobile-nav.is-open .mapa-management-mobile-nav__more{
    background:#fff0f1;
  }
}


/* v3.5.10 — mobile sticky header seam fix.
 * Remove the tiny gap reintroduced between the main sticky header and the
 * mobile quick navigation. The nav now hugs the header edge precisely. */
@media(max-width:1040px){
  .mapa-member-mobile-nav,.mapa-management-mobile-nav{
    top:calc(var(--mapa-sticky-under-header,92px) - 1px);
    margin-top:-1px;
    padding-top:0;
    padding-bottom:8px;
    border-top:0;
  }
}
@media(max-width:760px){
  .mapa-member-mobile-nav,.mapa-management-mobile-nav{
    top:calc(var(--mapa-sticky-under-header,92px) - 1px);
    margin-top:-1px;
    padding-top:0;
  }
}


/* v3.5.11 — accounts list spacing and copy cleanup. */
.mapa-accounts-list-card .mapa-scale-quickviews{margin-top:16px}
@media(max-width:760px){.mapa-accounts-list-card .mapa-scale-quickviews{margin-top:14px}}


/* v3.5.16 — document list/create navigation. */
.mapa-member-document-create-cta{display:flex;align-items:center;gap:10px;margin:18px 0 24px}
.mapa-member-back-link{display:inline-flex;align-items:center;margin:0 0 18px;color:#ddd;text-decoration:none;font-weight:800}
.mapa-member-back-link:hover,.mapa-member-back-link:focus-visible{color:#fff}
.mapa-member-document-create-form{margin-top:18px}
@media(max-width:760px){.mapa-member-document-create-cta{margin:14px 0 20px}.mapa-member-back-link{margin-bottom:14px}.mapa-member-document-create-form{margin-top:14px}}

/* v3.6.0 — frontend management content wrapper used by Operations Center/saved views. */
.mapa-management-workspace>.mapa-management-content{min-width:0}
.mapa-management-content>.mapa-frontend-manager-shell{min-width:0;padding-top:0}


/* v3.6.1 — scheduled messages in member communication */
.mapa-member-scheduled-messages{display:grid;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--mapa-line)}
.mapa-member-scheduled-messages h4{margin:0 0 2px;font-size:1rem}
.mapa-member-scheduled-messages article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid var(--mapa-line);border-radius:11px;background:rgba(255,255,255,.025)}
.mapa-member-scheduled-messages article>div{display:grid;gap:3px;min-width:0}
.mapa-member-scheduled-messages article strong{overflow-wrap:anywhere}
.mapa-member-scheduled-messages article small{color:var(--mapa-muted)}
@media(max-width:640px){.mapa-member-scheduled-messages article{align-items:stretch;flex-direction:column}.mapa-member-scheduled-messages article .mapa-button{width:100%}}

/* v3.6.2 — smart audiences in member communication */
.mapa-member-compose .mapa-recipient-smart{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,.75fr) minmax(170px,.75fr);gap:10px 12px;align-items:end;padding:13px;border:1px solid var(--mapa-line);border-radius:11px;background:rgba(255,255,255,.018)}
.mapa-member-compose .mapa-recipient-smart>div{display:grid;gap:3px;align-self:center}.mapa-member-compose .mapa-recipient-smart>div small{color:var(--mapa-muted);font-size:.72rem;line-height:1.4}.mapa-member-compose .mapa-recipient-smart>label{display:grid;gap:6px}.mapa-member-compose .mapa-recipient-smart>label>span{font-size:.72rem;font-weight:800}.mapa-member-compose .mapa-recipient-smart select{width:100%;min-height:40px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515}
@media(max-width:900px){.mapa-member-compose .mapa-recipient-smart{grid-template-columns:1fr}}

/* v3.6.7 — Document Management 2.0 */
.mapa-document-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.mapa-document-kpis article{display:grid;gap:4px;padding:16px 17px;border:1px solid var(--mapa-line);border-radius:14px;background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}.mapa-document-kpis span{color:var(--mapa-muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.mapa-document-kpis strong{font-size:1.7rem;line-height:1.05}.mapa-document-kpis small{color:var(--mapa-muted);line-height:1.35}.mapa-document-workflow-grid{align-items:start}.mapa-document-admin-list{display:grid;gap:10px;padding:18px}.mapa-document-manager-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-document-manager-main{display:grid;gap:4px;min-width:0}.mapa-document-manager-main>strong{font-size:1rem}.mapa-document-manager-main>small{color:var(--mapa-muted)}.mapa-document-manager-stats{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:5px;color:var(--mapa-muted);font-size:.8rem}.mapa-document-manager-stats strong{color:var(--mapa-white)}
.mapa-document-player-requirements{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--mapa-line)}.mapa-document-player-requirement{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.6fr);gap:18px;align-items:start;padding:14px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-document-player-requirement.is-rejected,.mapa-document-player-requirement.is-expired{border-color:rgba(226,7,22,.45);background:rgba(226,7,22,.045)}.mapa-document-player-requirement.is-approved{border-color:rgba(49,176,93,.35)}.mapa-document-player-requirement>div:first-child{display:grid;gap:3px}.mapa-document-player-requirement>div:first-child small{color:var(--mapa-muted)}.mapa-document-player-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:9px;flex-wrap:wrap}.mapa-document-upload-form{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0}.mapa-document-upload-form label{display:grid;gap:5px;min-width:180px}.mapa-document-upload-form label>span{color:var(--mapa-muted);font-size:.72rem;font-weight:800}.mapa-document-upload-form input[type=file],.mapa-document-upload-form input[type=date]{max-width:260px}.mapa-document-review-note{margin:7px 0 0;color:#ffb3b8;font-size:.82rem;line-height:1.45}
.mapa-document-report-heading{margin-bottom:18px}.mapa-document-report-heading .mapa-manager-heading__side{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-document-report-heading form{margin:0}.mapa-document-report-filters{margin:0 0 16px!important;gap:8px!important}.mapa-document-report-card{overflow:hidden}.mapa-document-report-list{display:grid;gap:10px;padding:18px}.mapa-document-report-row{display:grid;grid-template-columns:minmax(180px,.8fr) auto minmax(250px,1.3fr);gap:14px;align-items:center;padding:14px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-document-report-row.is-rejected,.mapa-document-report-row.is-expired{border-color:rgba(226,7,22,.4)}.mapa-document-report-row.is-approved{border-color:rgba(49,176,93,.32)}.mapa-document-report-person{display:grid;gap:3px}.mapa-document-report-person small{color:var(--mapa-muted)}.mapa-document-status{display:inline-flex;justify-content:center;min-width:108px;padding:6px 9px;border-radius:999px;background:rgba(231,163,26,.14);color:#ffc04a;font-size:.7rem;font-weight:850;white-space:nowrap}.mapa-document-status.is-approved{background:rgba(49,176,93,.14);color:#76e49b}.mapa-document-status.is-rejected,.mapa-document-status.is-expired{background:rgba(226,7,22,.14);color:#ff7b84}.mapa-document-report-meta{display:flex;flex-wrap:wrap;gap:5px 14px;color:var(--mapa-muted);font-size:.76rem}.mapa-document-report-meta strong{color:var(--mapa-white)}.mapa-document-report-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-document-review-form{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:center;flex:1}.mapa-document-review-form input[type=text]{width:100%;min-width:220px}.mapa-document-report-row>.mapa-document-review-note{grid-column:1/-1}
@media(max-width:1040px){.mapa-document-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-document-report-row{grid-template-columns:1fr auto}.mapa-document-report-meta{grid-column:1/-1}.mapa-document-player-requirement{grid-template-columns:1fr}.mapa-document-player-actions,.mapa-document-upload-form{justify-content:flex-start}}
@media(max-width:640px){.mapa-document-kpis{grid-template-columns:1fr}.mapa-document-manager-item{align-items:flex-start;flex-direction:column}.mapa-document-manager-item .mapa-table-actions{width:100%}.mapa-document-manager-item .mapa-table-actions .button{flex:1}.mapa-document-report-row{grid-template-columns:1fr}.mapa-document-status{justify-self:start}.mapa-document-review-form{grid-template-columns:1fr;width:100%}.mapa-document-review-form input[type=text]{min-width:0}.mapa-document-upload-form,.mapa-document-upload-form label,.mapa-document-upload-form input[type=file],.mapa-document-upload-form input[type=date],.mapa-document-upload-form .mapa-button{width:100%;max-width:none}.mapa-document-player-actions{align-items:stretch;flex-direction:column}.mapa-document-player-actions>.mapa-button{width:100%}}
.mapa-document-upload-option[hidden]{display:none!important}

/* v3.6.8 — Event RSVP 2.0 */
.mapa-event-rsvp-v2{display:grid;gap:12px;margin-top:14px}.mapa-event-rsvp-v2__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mapa-event-rsvp-v2__head>div{display:grid;gap:3px}.mapa-event-rsvp-v2__head small{color:var(--mapa-muted);font-size:.76rem}.mapa-rsvp-required{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid rgba(226,7,22,.45);border-radius:999px;background:rgba(226,7,22,.12);color:#fff;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.mapa-event-rsvp-v2__row{display:grid;gap:10px;padding:13px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-event-rsvp-v2__player{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mapa-event-rsvp-v2__player>small{flex-basis:100%;color:var(--mapa-muted);font-size:.72rem}.mapa-event-rsvp-v2__actions{display:flex;flex-wrap:wrap;gap:7px}.mapa-event-rsvp-v2__note{display:grid;gap:5px}.mapa-event-rsvp-v2__note>span{color:var(--mapa-muted);font-size:.72rem;font-weight:700}.mapa-event-rsvp-v2__note input{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--mapa-line);border-radius:8px;background:#fff;color:#151515}.mapa-event-rsvp-v2__closed{padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.04);color:var(--mapa-muted);font-size:.78rem}.mapa-rsvp-state{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid var(--mapa-line);border-radius:999px;font-size:.68rem;font-weight:900;white-space:nowrap}.mapa-rsvp-state--yes{border-color:rgba(46,174,104,.5);background:rgba(46,174,104,.12);color:#bdf0d0}.mapa-rsvp-state--no{border-color:rgba(255,114,124,.48);background:rgba(255,114,124,.1);color:#ffc2c7}.mapa-rsvp-state--maybe{border-color:rgba(225,167,47,.5);background:rgba(225,167,47,.1);color:#f5d58d}.mapa-rsvp-state--pending{color:var(--mapa-muted);background:rgba(255,255,255,.035)}.mapa-event-rsvp-v2--compact{margin-top:12px}.mapa-event-rsvp-v2--compact .mapa-event-rsvp-v2__head{align-items:center}.mapa-event-rsvp-v2--compact .mapa-event-rsvp-v2__row{padding:10px}.mapa-event-rsvp-v2--compact .mapa-event-rsvp-v2__player{justify-content:space-between}.mapa-event-rsvp-v2--compact .mapa-rsvp-button{flex:1 1 auto;min-width:82px}.mapa-member-event-card .mapa-event-rsvp-v2{grid-column:1/-1}.mapa-member-event-card .mapa-event-rsvp-v2__head strong{font-size:.84rem}.mapa-member-event-card .mapa-event-rsvp-v2__head small{font-size:.68rem}
@media(max-width:640px){.mapa-event-rsvp-v2__head{align-items:flex-start}.mapa-event-rsvp-v2__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-event-rsvp-v2__actions .mapa-rsvp-button{min-width:0;padding-inline:6px}.mapa-event-rsvp-v2--compact .mapa-event-rsvp-v2__player{align-items:flex-start;flex-direction:column}.mapa-event-rsvp-v2--compact .mapa-event-rsvp-v2__actions{width:100%}}

/* v3.6.10 — Communication 2.0 frontend */
.mapa-member-compose .mapa-comm-template-picker{margin-bottom:16px}.mapa-member-compose .mapa-comm-template-picker label{display:grid;gap:6px}.mapa-member-compose .mapa-comm-template-picker label>span{font-weight:800}.mapa-member-compose .mapa-comm-template-picker select{width:100%;min-height:42px;border:1px solid var(--mapa-line);border-radius:9px;background:#fff;color:#151515}.mapa-member-compose .mapa-comm-template-picker small{color:var(--mapa-muted)}.mapa-member-compose .mapa-comm-preview{display:grid;gap:9px;margin:-4px 0 16px}.mapa-member-compose .mapa-comm-preview__button{justify-self:start}.mapa-member-compose .mapa-comm-preview__result{padding:13px;border:1px solid var(--mapa-line);border-radius:11px;background:rgba(255,255,255,.025)}.mapa-member-compose .mapa-comm-preview__summary,.mapa-member-compose .mapa-comm-job-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.mapa-member-compose .mapa-comm-preview__summary span,.mapa-member-compose .mapa-comm-job-kpis span{display:grid;gap:2px;padding:9px;border:1px solid var(--mapa-line);border-radius:9px;background:rgba(255,255,255,.025)}.mapa-member-compose .mapa-comm-preview__summary strong,.mapa-member-compose .mapa-comm-job-kpis strong{color:#fff;font-size:1rem}.mapa-member-compose .mapa-comm-preview__rows{display:grid;max-height:340px;overflow:auto;border-top:1px solid var(--mapa-line)}.mapa-member-compose .mapa-comm-preview__rows>div{display:flex;justify-content:space-between;gap:10px;padding:9px 2px;border-bottom:1px solid var(--mapa-line)}.mapa-member-compose .mapa-comm-preview__rows>div>span:first-child{display:grid;gap:2px}.mapa-member-compose .mapa-comm-preview__rows small{color:var(--mapa-muted)}.mapa-member-compose .mapa-comm-preview__channels{display:flex;flex-wrap:wrap;gap:4px;align-content:start}.mapa-member-compose .mapa-comm-preview__channels b{padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.07);font-size:.65rem}.mapa-member-compose .mapa-comm-schedule-center{margin-top:18px}.mapa-member-compose .mapa-comm-job-kpis{margin:10px 0}.mapa-member-compose .mapa-comm-job-status{display:inline-flex;padding:4px 7px;border:1px solid var(--mapa-line);border-radius:999px;font-size:.68rem;font-weight:800}.mapa-member-compose .mapa-comm-delivery-summary{display:flex;flex-wrap:wrap;gap:8px}.mapa-member-compose .mapa-comm-delivery-table{min-width:760px}.mapa-member-compose .is-required-schedule>span:after{content:" *";color:#ff727c}
@media(max-width:760px){.mapa-member-compose .mapa-comm-preview__summary,.mapa-member-compose .mapa-comm-job-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.mapa-member-compose .mapa-comm-preview__summary,.mapa-member-compose .mapa-comm-job-kpis{grid-template-columns:1fr}.mapa-member-compose .mapa-comm-preview__rows>div{flex-direction:column}}

/* v3.6.11 — training participation confirmations in Strefa MAPA */
.mapa-member-training-rsvp-block{display:grid;gap:12px}.mapa-training-rsvp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mapa-training-rsvp-card{display:grid;gap:12px;padding:16px;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.025)}.mapa-training-rsvp-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mapa-training-rsvp-card h4{margin:2px 0 3px}.mapa-training-rsvp-card p{margin:0;color:var(--mapa-muted);font-size:.82rem}.mapa-training-rsvp-deadline{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:rgba(226,7,22,.12);color:#ff8b93;font-size:.7rem;font-weight:800}.mapa-training-rsvp-row{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:10px;align-items:center;padding-top:10px;border-top:1px solid var(--mapa-line)}.mapa-training-rsvp-player{display:grid;gap:2px}.mapa-training-rsvp-player small{color:var(--mapa-muted);font-size:.72rem}.mapa-training-rsvp-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mapa-training-rsvp-actions .mapa-rsvp-button{min-height:34px;padding:6px 9px}.mapa-training-rsvp-closed{color:var(--mapa-muted);font-size:.75rem}
@media(max-width:850px){.mapa-training-rsvp-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mapa-training-rsvp-card>header,.mapa-training-rsvp-row{grid-template-columns:1fr;display:grid}.mapa-training-rsvp-actions{justify-content:flex-start}.mapa-training-rsvp-actions .mapa-rsvp-button{flex:1}.mapa-training-rsvp-deadline{justify-self:start}}

/* v3.7.3 — Finance / Składki 2.0 parent portal */
.mapa-finance-family-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.mapa-finance-family-summary>article{display:grid;gap:4px;padding:14px;border:1px solid var(--mapa-line);border-radius:13px;background:rgba(255,255,255,.035)}.mapa-finance-family-summary span{color:var(--mapa-muted);font-size:.76rem}.mapa-finance-family-summary strong{font-size:1.15rem}.mapa-finance-rate-label{display:block;margin-top:-2px;color:var(--mapa-muted);line-height:1.45}.mapa-finance-parent .mapa-member-payment-card{display:grid;align-content:start}.mapa-finance-parent .mapa-member-payment-list>div>span:last-child{text-align:right}.mapa-finance-parent .mapa-member-payment-list>div>span:last-child small{max-width:240px}
@media(max-width:620px){.mapa-finance-family-summary{grid-template-columns:1fr}.mapa-finance-parent .mapa-member-payment-list>div>span:last-child{text-align:left}}

.mapa-finance-net-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid var(--mapa-line);border-radius:10px;background:rgba(255,255,255,.025)}.mapa-finance-net-balance span{color:var(--mapa-muted);font-size:.76rem}.mapa-finance-net-balance strong{font-size:1rem}

/* v3.8.0 — PWA / Mobile Experience */
.mapa-pwa-install-action[hidden]{display:none!important}
.mapa-pwa-install-action{width:100%;display:flex;align-items:center;gap:9px;padding:10px 14px;border:0;background:transparent;color:inherit;font:inherit;font-weight:750;text-align:left;cursor:pointer}
.mapa-pwa-install-action:hover,.mapa-pwa-install-action:focus-visible{background:rgba(226,7,22,.11);color:#b5000b}
.mapa-pwa-install-action .dashicons{color:var(--mapa-red)}
.mapa-pwa-status-stack{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));z-index:100050;display:grid;gap:8px;width:min(calc(100% - 28px),560px);transform:translateX(-50%);pointer-events:none}
 .mapa-pwa-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px 11px 14px;border:1px solid var(--mapa-line);border-radius:13px;background:#fff;color:#353535;box-shadow:0 18px 54px rgba(0,0,0,.42);opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease;pointer-events:auto}
.mapa-pwa-status.is-visible{opacity:1;transform:none}.mapa-pwa-status.is-warning{border-color:rgba(225,167,47,.52)}.mapa-pwa-status.is-success{border-color:rgba(46,174,104,.5)}.mapa-pwa-status__copy{font-size:.82rem;font-weight:700}.mapa-pwa-status__action{flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid rgba(226,7,22,.65);border-radius:8px;background:#e30613;color:#fff;font:inherit;font-size:.78rem;font-weight:900;cursor:pointer}
.mapa-pwa-install-help{position:fixed;inset:0;z-index:100100;display:grid;align-items:end;padding:16px env(safe-area-inset-right) calc(16px + env(safe-area-inset-bottom)) env(safe-area-inset-left)}
.mapa-pwa-install-help__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}
.mapa-pwa-install-help__card{position:relative;z-index:1;width:min(100%,520px);margin:0 auto;padding:24px;border:1px solid var(--mapa-line);border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.55)}
.mapa-pwa-install-help__card h2{margin:6px 0 7px}.mapa-pwa-install-help__card p{margin:0 0 14px;color:var(--mapa-muted)}.mapa-pwa-install-help__card ol{display:grid;gap:7px;margin:0 0 18px;padding-left:22px;color:#353535}.mapa-pwa-install-help__icon{width:34px;height:34px;color:var(--mapa-red);font-size:34px}.mapa-pwa-install-help__close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:1px solid var(--mapa-line);border-radius:999px;background:#fff;color:#151515;font-size:1.45rem;cursor:pointer}
html.mapa-pwa-standalone body{min-height:100dvh;overscroll-behavior-y:none}
html.mapa-pwa-standalone .site-header{padding-top:env(safe-area-inset-top)}
html.mapa-pwa-standalone .site-footer{padding-bottom:env(safe-area-inset-bottom)}
html.mapa-pwa-standalone .mapa-pwa-install-action{display:none!important}
html.mapa-is-offline .mapa-frontend-manager-shell form[data-mapa-requires-online] button[type=submit]{opacity:.55}
@media(pointer:coarse) and (max-width:1040px){
  .mapa-button,.mapa-frontend-manager-shell .button,.mapa-member-workspace button,.mapa-member-workspace .button,.mapa-rsvp-button{min-height:44px;touch-action:manipulation}
  .mapa-frontend-manager-shell input:not([type=checkbox]):not([type=radio]),.mapa-frontend-manager-shell select,.mapa-frontend-manager-shell textarea,.mapa-member-workspace input:not([type=checkbox]):not([type=radio]),.mapa-member-workspace select,.mapa-member-workspace textarea{font-size:16px}
}
@media(max-width:640px){.mapa-pwa-status-stack{bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100% - 20px)} .mapa-pwa-status{align-items:flex-start}.mapa-pwa-install-help{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.mapa-pwa-install-help__card{padding:22px 18px;border-radius:18px}}
.mapa-pwa-profile-card{display:grid;gap:8px;margin-top:14px}.mapa-pwa-profile-card h3,.mapa-pwa-profile-card p{margin:0}.mapa-pwa-profile-card p{color:var(--mapa-muted)}.mapa-pwa-profile-card small{color:var(--mapa-muted)}.mapa-pwa-install-action--profile{width:auto;justify-self:start;padding:8px 13px;border:1px solid var(--mapa-red);border-radius:var(--mapa-button-radius);background:var(--mapa-red);color:#fff}.mapa-pwa-install-action--profile:hover,.mapa-pwa-install-action--profile:focus-visible{background:#c30613}

/* =========================================================
   v3.8.1 — Notification Center & User Task Center
   ========================================================= */
.mapa-header-notifications{position:relative;flex:0 0 auto;margin-left:-10px}
.mapa-header-notifications>summary{list-style:none}.mapa-header-notifications>summary::-webkit-details-marker{display:none}
.mapa-header-notifications__trigger{position:relative;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035);color:#eee;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease}
.mapa-header-notifications__trigger:hover,.mapa-header-notifications__trigger:focus-visible,.mapa-header-notifications[open] .mapa-header-notifications__trigger{border-color:rgba(226,7,22,.62);background:rgba(226,7,22,.1);color:#fff;outline:none}
.mapa-header-notifications__trigger>.dashicons{width:22px;height:22px;font-size:22px}
.mapa-header-notifications__count{position:absolute;top:-5px;right:-6px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border:2px solid #050505;border-radius:999px;background:var(--mapa-red);color:#fff;font-size:10px;font-weight:900;line-height:1}
.mapa-header-notifications__panel{position:absolute;z-index:1250;right:0;top:calc(100% + 10px);width:min(430px,calc(100vw - 28px));overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.55)}
.mapa-header-notifications__panel::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.mapa-header-notifications__panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-bottom:1px solid rgba(255,255,255,.09)}
.mapa-header-notifications__panel>header>div{display:grid;gap:2px}.mapa-header-notifications__panel>header strong{font-size:.92rem}.mapa-header-notifications__panel>header span{color:var(--mapa-muted);font-size:.71rem}.mapa-header-notifications__panel>header>a{color:#ff5964;text-decoration:none;font-size:.75rem;font-weight:850;white-space:nowrap}
.mapa-header-notifications__list{display:grid;max-height:min(64vh,520px);overflow:auto;padding:7px}
.mapa-header-notification{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:11px;border-radius:10px;color:#eee;text-decoration:none;border:1px solid transparent}
.mapa-header-notification:hover,.mapa-header-notification:focus-visible{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.08);color:#fff;outline:none}
.mapa-header-notification>.dashicons{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(226,7,22,.12);color:#ff5964;font-size:17px}
.mapa-header-notification.is-warning>.dashicons{background:rgba(223,151,21,.13);color:#ffc04d}.mapa-header-notification.is-urgent>.dashicons{background:rgba(226,7,22,.2);color:#ff6670}
.mapa-header-notification>span:last-child{display:grid;gap:2px;min-width:0}.mapa-header-notification small{color:#85858c;font-size:.61rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mapa-header-notification strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.mapa-header-notification em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aaaab0;font-size:.69rem;font-style:normal}
.mapa-header-notifications__empty{display:grid;justify-items:center;gap:4px;padding:28px 18px;text-align:center}.mapa-header-notifications__empty>.dashicons{width:32px;height:32px;color:#64cc87;font-size:32px}.mapa-header-notifications__empty small{max-width:32ch;color:var(--mapa-muted);font-size:.72rem}

.mapa-notification-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}
.mapa-notification-summary>article{display:grid;gap:4px;padding:17px 18px;border:1px solid var(--mapa-line);border-radius:14px;background:#fff}
.mapa-notification-summary span{color:#ff5964;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mapa-notification-summary strong{font-size:1.65rem;line-height:1}.mapa-notification-summary small{color:var(--mapa-muted);font-size:.73rem}
.mapa-notification-center{padding:16px;border:1px solid var(--mapa-line);border-radius:17px;background:#fff;box-shadow:var(--mapa-card-shadow)}
.mapa-notification-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.mapa-notification-filters button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #deded8;border-radius:0;background:#fff;color:#353535;font:inherit;font-size:.77rem;font-weight:850;cursor:pointer}
.mapa-notification-filters button:hover,.mapa-notification-filters button:focus-visible,.mapa-notification-filters button.is-active{border-color:rgba(226,7,22,.65);background:rgba(226,7,22,.13);color:#fff;outline:none}.mapa-notification-filters button span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.65rem}
.mapa-notification-list{display:grid;gap:9px}
.mapa-notification-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#fff}
.mapa-notification-item[hidden]{display:none!important}.mapa-notification-item.is-warning{border-color:rgba(223,151,21,.26)}.mapa-notification-item.is-urgent{border-color:rgba(226,7,22,.38);background:#fff7f7}
.mapa-notification-item__icon{display:grid!important;place-items:center;width:42px!important;height:42px!important;border-radius:11px;background:rgba(226,7,22,.12);color:#ff5964;font-size:20px!important}.mapa-notification-item.is-warning .mapa-notification-item__icon{background:rgba(223,151,21,.12);color:#ffc04d}.mapa-notification-item.is-urgent .mapa-notification-item__icon{background:rgba(226,7,22,.18);color:#ff6670}
.mapa-notification-item__copy{min-width:0}.mapa-notification-item__copy h3{margin:3px 0 4px;font-size:.98rem}.mapa-notification-item__copy p{margin:0;color:var(--mapa-muted);font-size:.8rem;line-height:1.45}
.mapa-notification-item__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-notification-item__meta span{color:#85858c;font-size:.61rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mapa-notification-item__meta time{padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.05);color:#aaaab0;font-size:.65rem}.mapa-notification-item.is-urgent .mapa-notification-item__meta time{background:rgba(226,7,22,.14);color:#ff9ba2}
.mapa-notification-filter-empty{margin:2px 0 0}.mapa-notification-filter-empty[hidden]{display:none!important}.mapa-notification-empty>.dashicons{width:34px;height:34px;color:#64cc87;font-size:34px}

@media(max-width:1050px){.mapa-header-notifications{display:block;margin-left:auto}.mapa-menu-toggle{margin-left:auto}.mapa-header-notifications+.mapa-menu-toggle{margin-left:8px}.mapa-notification-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.mapa-notification-summary{grid-template-columns:1fr 1fr;gap:8px}.mapa-notification-summary>article{padding:14px}.mapa-notification-center{padding:12px}.mapa-notification-item{grid-template-columns:38px minmax(0,1fr);padding:13px}.mapa-notification-item__icon{width:38px!important;height:38px!important}.mapa-notification-item>.mapa-button{grid-column:1/-1;width:100%}.mapa-notification-filters{display:grid;grid-template-columns:1fr 1fr}.mapa-notification-filters button{justify-content:center}}
@media(max-width:1050px){
  .mapa-header-notifications__panel{position:fixed;right:14px;top:calc(74px + var(--mapa-adminbar-offset,0px) + 8px);width:min(430px,calc(100vw - 28px))}
}

/* ==========================================================
   v3.8.2 — Web Push
   ========================================================== */
.mapa-webpush-profile-card{display:grid;gap:14px;margin-top:16px}
.mapa-webpush-profile-card>h3,.mapa-webpush-profile-card>p{margin:0}
.mapa-webpush-profile-card>p{color:var(--mapa-muted)}
.mapa-webpush-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.mapa-webpush-actions .mapa-button{min-height:42px}
.mapa-webpush-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:2px 0 0;padding:14px;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.025)}
.mapa-webpush-preferences legend{padding:0 7px;color:#fff;font-size:.82rem;font-weight:850}
.mapa-webpush-preferences label{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.018);color:#e7e7e9;line-height:1.35}
.mapa-webpush-preferences input[type=checkbox]{flex:0 0 auto;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:1px 0 0!important;accent-color:var(--mapa-red)}
.mapa-webpush-profile-card>small{display:block;color:var(--mapa-muted);line-height:1.45}
@media(max-width:760px){
  .mapa-webpush-preferences{grid-template-columns:1fr}
  .mapa-webpush-actions{display:grid;grid-template-columns:1fr}
  .mapa-webpush-actions .mapa-button{width:100%}
}


/* v3.8.7 — Archive & Restore Lifecycle */
.mapa-archive-manager{display:grid;gap:18px}.mapa-archive-tabs{margin:0}.mapa-archive-card{overflow:hidden}.mapa-archive-filters{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,.55fr) auto auto;align-items:end;gap:10px;padding:18px;border-bottom:1px solid var(--mapa-line)}.mapa-archive-filters label{display:grid;gap:6px}.mapa-archive-results{display:grid;gap:10px;padding:18px}.mapa-archive-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-archive-row__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:rgba(226,7,22,.11);color:#ff5964}.mapa-archive-row__body{display:grid;gap:3px;min-width:0}.mapa-archive-row__body>strong{color:#fff;font-size:.95rem}.mapa-archive-row__body>small{color:var(--mapa-muted);overflow-wrap:anywhere}.mapa-archive-row__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.mapa-archive-inline-action{margin:0}.mapa-archive-safety .mapa-admin-card__head{border-bottom:0}
@media(max-width:900px){.mapa-archive-filters{grid-template-columns:1fr 1fr}.mapa-archive-row{grid-template-columns:44px minmax(0,1fr)}.mapa-archive-row__actions{grid-column:1/-1;justify-content:flex-start;padding-left:58px}}
@media(max-width:620px){.mapa-archive-filters{grid-template-columns:1fr}.mapa-archive-row{grid-template-columns:1fr}.mapa-archive-row__icon{display:none}.mapa-archive-row__actions{grid-column:auto;padding-left:0}.mapa-archive-row__actions .button,.mapa-archive-inline-action,.mapa-archive-inline-action .button{width:100%}}

/* v3.8.8 — Security & Account Experience 2.0 */
.mapa-security-mfa-v2 form,.mapa-security-action-stack{display:grid;gap:12px}.mapa-security-mfa-v2 form label,.mapa-security-totp-start label,.mapa-totp-setup label{display:grid;gap:7px}.mapa-security-mfa-v2 form label>span,.mapa-totp-setup label>span{font-weight:800;color:#f3f3f5}.mapa-security-mfa-v2 input[type=password],.mapa-security-mfa-v2 input[type=text]{width:100%;min-height:46px;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#fff;color:#151515}.mapa-security-mfa-v2 input:focus{border-color:var(--mapa-red);outline:2px solid rgba(226,7,22,.18);outline-offset:1px}.mapa-totp-setup{display:grid;gap:13px;margin-top:14px;padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-totp-setup .mapa-button{justify-self:start}.mapa-security-action-stack{margin-top:16px}.mapa-security-action-stack form{padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.mapa-recovery-codes-notice{grid-column:1/-1}.mapa-recovery-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.mapa-recovery-code-grid code{display:block;padding:9px 11px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#fff;color:#151515;font-size:.9rem;letter-spacing:.06em;text-align:center}.mapa-member-session-list--v2 .mapa-session-row{align-items:center}.mapa-session-row>div:first-child{display:grid;gap:4px;min-width:0}.mapa-session-row form{flex:0 0 auto}.mapa-session-row .mapa-button{min-height:34px;padding:6px 10px}.mapa-security-current-badge{display:inline-flex!important;margin-left:6px;padding:2px 6px!important;border-radius:999px;background:rgba(57,209,115,.13);color:#93edb3!important;font-size:.64rem!important;font-weight:800;vertical-align:middle}.mapa-security-history-v2 .mapa-member-login-list>div{display:grid;gap:3px}.mapa-security-history-v2 .mapa-member-login-list span{text-align:left}.mapa-identity-policy .mapa-check-card{align-self:stretch}
@media(max-width:760px){.mapa-recovery-code-grid{grid-template-columns:1fr}.mapa-member-session-list--v2 .mapa-session-row{display:grid;gap:10px}.mapa-session-row form,.mapa-session-row .mapa-button{width:100%}}

/* v3.9.8 — Family monthly fee plans */
.mapa-finance-family-tariff{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:16px;align-items:center;margin:0 0 16px;padding:16px 18px;border:1px solid rgba(235,0,29,.28);border-radius:14px;background:linear-gradient(135deg,rgba(235,0,29,.11),rgba(255,255,255,.025))}.mapa-finance-family-tariff>div{display:grid;gap:4px}.mapa-finance-family-tariff span{font-size:.76rem;font-weight:800;color:var(--mapa-muted);text-transform:uppercase;letter-spacing:.04em}.mapa-finance-family-tariff strong{font-size:1.45rem}.mapa-finance-family-tariff small,.mapa-finance-family-tariff p{color:var(--mapa-muted);line-height:1.45}.mapa-finance-family-tariff p{margin:0}@media(max-width:720px){.mapa-finance-family-tariff{grid-template-columns:1fr}.mapa-finance-family-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.mapa-finance-family-summary{grid-template-columns:1fr}}

/* v3.9.12 — News gallery */
.mapa-news-single-gallery{margin:34px 0}.mapa-news-single-gallery .mapa-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mapa-news-single-gallery a{display:block;overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);aspect-ratio:4/3;background:#fff}.mapa-news-single-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.mapa-news-single-gallery a:hover img{transform:scale(1.025)}
@media(max-width:760px){.mapa-news-single-gallery .mapa-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* MAPA 4.0.0 — linked pitch details */
.mapa-location-address{display:block;margin-top:4px;color:var(--mapa-muted,#777);font-size:.88em;line-height:1.4}
.mapa-location-map-link{display:inline-flex;margin-top:5px;font-size:.88em;font-weight:700}

/* MAPA 4.2 — Parent / Player Zone 4.0 */
.mapa-member-v4{display:grid;gap:18px;margin:20px 0 28px}.mapa-member-v4__topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px;border:1px solid var(--mapa-line);border-radius:16px;background:linear-gradient(135deg,rgba(226,7,22,.09),rgba(255,255,255,.02))}.mapa-member-v4__topbar h3{margin:3px 0 5px;font-size:1.35rem}.mapa-member-v4__topbar p{margin:0;max-width:760px;color:var(--mapa-muted)}.mapa-member-v4-switcher{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.mapa-member-v4-switcher button{min-height:38px;padding:7px 12px;border:1px solid var(--mapa-line);border-radius:999px;background:#fff;color:#151515;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.mapa-member-v4-switcher button:hover,.mapa-member-v4-switcher button.is-active{border-color:rgba(226,7,22,.75);background:rgba(226,7,22,.15)}.mapa-member-v4-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mapa-member-v4-quick-actions>a{display:flex;gap:11px;align-items:center;min-width:0;padding:13px 14px;border:1px solid var(--mapa-line);border-radius:12px;background:rgba(255,255,255,.02);color:#fff;text-decoration:none}.mapa-member-v4-quick-actions>a:hover{border-color:rgba(226,7,22,.45);background:rgba(226,7,22,.06)}.mapa-member-v4-quick-actions .dashicons{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:9px;background:rgba(226,7,22,.12);color:#ff6c76}.mapa-member-v4-quick-actions a>span:last-child{display:grid;min-width:0}.mapa-member-v4-quick-actions strong{font-size:.86rem}.mapa-member-v4-quick-actions small{margin-top:2px;color:var(--mapa-muted);font-size:.68rem;line-height:1.3}.mapa-member-v4-context[hidden]{display:none!important}.mapa-member-v4-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.mapa-member-v4-summary article{display:grid;gap:2px;padding:13px 14px;border:1px solid var(--mapa-line);border-radius:11px;background:rgba(255,255,255,.018)}.mapa-member-v4-summary span{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:var(--mapa-muted);font-weight:900}.mapa-member-v4-summary strong{font-size:1.4rem;line-height:1.1}.mapa-member-v4-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mapa-muted);font-size:.69rem}.mapa-member-v4-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mapa-member-v4-column{min-width:0;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.018);overflow:hidden}.mapa-member-v4-column>header{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;padding:13px 14px;border-bottom:1px solid var(--mapa-line);background:rgba(255,255,255,.025)}.mapa-member-v4-column>header>.dashicons{color:#ff6873}.mapa-member-v4-column>header div{display:grid}.mapa-member-v4-column>header small{color:var(--mapa-muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900}.mapa-member-v4-column>header strong{font-size:.88rem}.mapa-member-v4-column>header>a{font-size:.7rem;font-weight:800;color:#ff7b84;text-decoration:none}.mapa-member-v4-list{display:grid}.mapa-member-v4-activity,.mapa-member-v4-todo{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--mapa-line);color:#fff;text-decoration:none}.mapa-member-v4-list>:last-child{border-bottom:0}.mapa-member-v4-activity:hover,.mapa-member-v4-todo:hover{background:rgba(255,255,255,.035)}.mapa-member-v4-activity__date{min-width:38px;color:#ff737c;font-weight:900;font-size:.75rem}.mapa-member-v4-activity__copy,.mapa-member-v4-todo__copy{display:grid;min-width:0}.mapa-member-v4-activity__copy small,.mapa-member-v4-todo__copy small{color:var(--mapa-muted);font-size:.58rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.mapa-member-v4-activity__copy strong,.mapa-member-v4-todo__copy strong{font-size:.79rem;line-height:1.25;overflow-wrap:anywhere}.mapa-member-v4-activity__copy em,.mapa-member-v4-todo__copy em{margin-top:2px;color:var(--mapa-muted);font-style:normal;font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mapa-member-v4-activity>.dashicons{font-size:15px;width:15px;height:15px;color:var(--mapa-muted)}.mapa-member-v4-todo__icon{font-size:17px;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.05);color:#ff727c}.mapa-member-v4-todo.is-urgent{background:rgba(226,7,22,.045)}.mapa-member-v4-todo.is-urgent .mapa-member-v4-todo__icon{background:rgba(226,7,22,.14)}.mapa-member-v4-todo__action{padding:5px 7px;border-radius:7px;background:rgba(255,255,255,.06);font-size:.61rem;font-weight:900;white-space:nowrap}.mapa-member-v4-empty{display:grid;justify-items:center;text-align:center;gap:4px;padding:28px 15px;color:var(--mapa-muted)}.mapa-member-v4-empty .dashicons{font-size:25px;width:25px;height:25px}.mapa-member-v4-empty strong{color:#fff;font-size:.82rem}.mapa-member-v4-empty small{font-size:.69rem}.mapa-member-v4-empty.is-clear .dashicons,.mapa-member-v4-empty.is-clear strong{color:#8fd3a1}
@media(max-width:1100px){.mapa-member-v4-quick-actions,.mapa-member-v4-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-member-v4-board{grid-template-columns:1fr}.mapa-member-v4-column{max-height:none}}
@media(max-width:760px){.mapa-member-v4__topbar{align-items:stretch;flex-direction:column;padding:16px}.mapa-member-v4-switcher{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.mapa-member-v4-switcher button{flex:0 0 auto}.mapa-member-v4-quick-actions{grid-template-columns:1fr 1fr}.mapa-member-v4-quick-actions>a{align-items:flex-start;padding:12px}.mapa-member-v4-summary{grid-template-columns:1fr 1fr}.mapa-member-v4-summary article{padding:11px}.mapa-member-v4-summary strong{font-size:1.2rem}.mapa-member-v4-summary small{white-space:normal}.mapa-member-v4-todo__action{display:none}.mapa-member-v4-activity,.mapa-member-v4-todo{grid-template-columns:auto minmax(0,1fr)}.mapa-member-v4-activity>.dashicons{display:none}.mapa-member-v4-activity__copy em,.mapa-member-v4-todo__copy em{white-space:normal}}
@media(max-width:460px){.mapa-member-v4-quick-actions{grid-template-columns:1fr}.mapa-member-v4-summary{grid-template-columns:1fr 1fr}.mapa-member-v4-column>header{grid-template-columns:26px minmax(0,1fr)}.mapa-member-v4-column>header>a{grid-column:2}}
.mapa-selfservice-pending-note{display:flex;align-items:center;gap:9px;margin:10px 0 13px;padding:10px 11px;border:1px solid rgba(231,182,79,.24);border-radius:9px;background:rgba(231,182,79,.07)}.mapa-selfservice-pending-note>.dashicons{color:#e7b64f}.mapa-selfservice-pending-note>span:last-child{display:grid;gap:2px}.mapa-selfservice-pending-note strong{font-size:.78rem}.mapa-selfservice-pending-note small{color:var(--mapa-muted);font-size:.68rem}
.mapa-selfservice-pending-note form{margin-left:auto;flex:0 0 auto}.mapa-selfservice-pending-note form .mapa-button{min-height:32px;padding:5px 8px}
.mapa-status--withdrawn{opacity:.78}
@media(max-width:600px){.mapa-selfservice-pending-note{align-items:flex-start;flex-wrap:wrap}.mapa-selfservice-pending-note form{width:100%;margin-left:35px}}


/* Document Management — MAPA Modern light base (legacy dark form skin removed in v5.7.0) */
.mapa-document-builder{display:grid;gap:16px}.mapa-document-builder-section{overflow:hidden;border:1px solid #deded8;border-radius:0;background:#fff;box-shadow:none;color:#30302d}.mapa-document-builder-section--primary{border-color:#deded8}.mapa-document-builder-head{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid #e7e6e1;background:#fff}.mapa-document-builder-head>div{display:grid;gap:3px;min-width:0}.mapa-document-builder-head strong{color:#171714;font-size:.98rem}.mapa-document-builder-head small{color:#6d6d67;font-size:.76rem;line-height:1.45}.mapa-document-step{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border:1px solid #edc5c8;border-radius:0;background:#fff5f6;color:#b10e1a;font-weight:900}.mapa-document-required-legend{margin-left:auto;color:#6d6d67;font-size:.72rem;white-space:nowrap}.mapa-document-required-legend b,.mapa-required-mark{color:#bd101c;font-style:normal}.mapa-document-builder-grid{padding:18px!important;margin:0!important}.mapa-document-builder-grid>label{min-width:0}.mapa-document-builder-grid>label>span{display:block;margin-bottom:6px;color:#292926;font-weight:800}.mapa-document-builder-grid input,.mapa-document-builder-grid select,.mapa-document-builder-grid textarea{border-radius:0!important;background:#fff!important;color:#242421!important;transition:border-color .15s ease,box-shadow .15s ease}.mapa-document-builder-grid input:focus,.mapa-document-builder-grid select:focus,.mapa-document-builder-grid textarea:focus{border-color:#d43a46!important;box-shadow:0 0 0 2px rgba(226,7,22,.08)!important}.mapa-document-builder-grid small{color:#71716a!important}.mapa-document-upload-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px 18px}.mapa-document-builder-section--recipients .mapa-recipient-builder{padding:18px;margin:0}.mapa-document-builder-section--delivery .mapa-document-channel-field{padding:18px}.mapa-document-scope-state{margin-left:auto;padding:6px 9px;border:1px solid #ead7aa;border-radius:0;background:#fff9e9;color:#765209;font-size:.68rem;font-weight:850;white-space:nowrap}.mapa-document-scope-state.is-ready{border-color:#b9dec2;background:#f0faf2;color:#226e39}.mapa-document-inline-note{display:flex;gap:10px;margin:16px 18px 0;padding:12px 13px;border:1px solid #c6dfcc;border-radius:0;background:#f4fbf5;color:#292926}.mapa-document-inline-note>.dashicons{color:#2d8a4b}.mapa-document-inline-note>div{display:grid;gap:3px}.mapa-document-inline-note small{color:#66665f;line-height:1.4}.mapa-document-validation-summary{padding:14px 16px;border:1px solid #e9b9bd;border-radius:0;background:#fff5f6;color:#7f171f}.mapa-document-validation-summary strong{display:block;margin-bottom:6px;color:#7f171f}.mapa-document-validation-summary ul{margin:0;padding-left:20px}.mapa-document-validation-summary li+li{margin-top:4px}.mapa-document-field-error{border-color:#d43a46!important;box-shadow:0 0 0 2px rgba(226,7,22,.08)!important}.mapa-document-builder-section.mapa-document-field-error{background:#fffafa}.mapa-document-form-server-error{display:grid!important;gap:3px}.mapa-document-confirm-form{display:grid;gap:10px;max-width:680px}.mapa-document-sign-confirm{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #e5c6c9;border-radius:0;background:#fff7f7;color:#33332f;font-size:.84rem;line-height:1.45}.mapa-document-sign-confirm input{flex:0 0 auto;width:auto!important;min-height:0!important;margin-top:3px}.mapa-document-form .mapa-identity-form-actions,.mapa-member-document-create-form .mapa-identity-form-actions{position:sticky;bottom:12px;z-index:8;margin:18px 0 0;padding:12px 14px;border:1px solid #d9d9d4;border-radius:0;background:#fff;box-shadow:0 -6px 18px rgba(20,20,20,.04)}.mapa-member-document-create-form{padding:18px}.mapa-member-document-create-form>form{display:grid;gap:0}.mapa-document-builtin-file-note{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #d8d8d2;background:#fafaf8;color:#292926}.mapa-document-builtin-file-note>.dashicons{color:#d20f1d}.mapa-document-builtin-file-note>div{display:grid;gap:4px}.mapa-document-builtin-file-note strong{color:#171714}.mapa-document-builtin-file-note small{color:#6b6b65}.mapa-document-template-choice select{font-weight:700}.mapa-document-template-choice small{display:block;margin-top:6px}
@media(max-width:900px){.mapa-document-upload-settings{grid-template-columns:1fr}.mapa-document-builder-head{flex-wrap:wrap}.mapa-document-scope-state,.mapa-document-required-legend{margin-left:42px}.mapa-document-builder-section--recipients .mapa-recipient-builder{padding:14px}.mapa-document-builder-grid{padding:14px!important}.mapa-document-upload-settings{padding:0 14px 14px}.mapa-document-builder-section--delivery .mapa-document-channel-field{padding:14px}.mapa-document-inline-note{margin:14px 14px 0}}
@media(max-width:640px){.mapa-document-builder{gap:12px}.mapa-document-builder-head{padding:13px 14px}.mapa-document-step{flex-basis:28px;width:28px;height:28px}.mapa-document-scope-state,.mapa-document-required-legend{width:100%;margin-left:40px;white-space:normal}.mapa-member-document-create-form{padding:12px}.mapa-document-form .mapa-identity-form-actions,.mapa-member-document-create-form .mapa-identity-form-actions{bottom:8px}.mapa-document-form .mapa-identity-form-actions .button,.mapa-member-document-create-form .mapa-identity-form-actions .mapa-button{width:100%}}

/* MAPA v4.3.25 — linked entities in public training schedule + public pitch profile */
.mapa-training-linked-entity{color:inherit;text-decoration:underline;text-decoration-color:rgba(226,7,22,.55);text-decoration-thickness:1px;text-underline-offset:3px;font-weight:800;transition:color .16s ease,text-decoration-color .16s ease}
.mapa-training-linked-entity:hover,.mapa-training-linked-entity:focus-visible{color:var(--mapa-red);text-decoration-color:var(--mapa-red)}
.mapa-training-linked-entity:focus-visible{outline:2px solid rgba(226,7,22,.45);outline-offset:3px;border-radius:3px}
.mapa-pitch-profile-hero{min-height:auto}.mapa-pitch-profile-address{margin:12px 0 0;color:var(--mapa-muted);font-weight:700}.mapa-pitch-profile-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:30px;align-items:start}.mapa-pitch-profile-main{display:grid;gap:24px}.mapa-pitch-profile-photo{overflow:hidden;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}.mapa-pitch-profile-photo img{display:block;width:100%;height:auto;max-height:680px;object-fit:cover}.mapa-pitch-profile-copy{max-width:none}.mapa-pitch-profile-map-panel,.mapa-pitch-profile-panel{padding:24px;border:1px solid var(--mapa-line);border-radius:var(--mapa-radius);background:var(--mapa-panel)}.mapa-pitch-profile-map{display:block;width:100%;min-height:360px;margin-top:14px;border:0;border-radius:12px;background:#f1f1ee}.mapa-pitch-profile-sidebar{position:sticky;top:calc(var(--mapa-header-offset,90px) + 18px);display:grid;gap:16px}.mapa-pitch-profile-panel dl{display:grid;margin:14px 0 18px}.mapa-pitch-profile-panel dl>div{display:grid;gap:4px;padding:11px 0;border-bottom:1px solid var(--mapa-line)}.mapa-pitch-profile-panel dt{color:var(--mapa-muted);font-size:.68rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.mapa-pitch-profile-panel dd{margin:0;color:var(--mapa-white);font-weight:800;line-height:1.5}.mapa-pitch-profile-panel .mapa-button{width:100%;justify-content:center}
@media(max-width:900px){.mapa-pitch-profile-grid{grid-template-columns:1fr}.mapa-pitch-profile-sidebar{position:static}.mapa-pitch-profile-map{min-height:300px}}

/* MAPA v4.3.26 — public pitch profile layout polish */
.mapa-pitch-profile-page{overflow:hidden}
.mapa-pitch-profile-hero{padding:48px 0 42px;border-bottom:1px solid var(--mapa-line);background:linear-gradient(180deg,rgba(226,7,22,.055),rgba(255,255,255,.012))}
.mapa-pitch-profile-hero__inner{display:grid;gap:10px}
.mapa-pitch-profile-back{width:max-content;max-width:100%;margin-bottom:8px;color:var(--mapa-muted);font-size:.78rem;font-weight:850;text-decoration:none;transition:color .16s ease,transform .16s ease}
.mapa-pitch-profile-back:hover,.mapa-pitch-profile-back:focus-visible{color:var(--mapa-red);transform:translateX(-2px)}
.mapa-pitch-profile-hero .mapa-section-title{max-width:1000px;margin:0;line-height:1.02}
.mapa-pitch-profile-hero__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}
.mapa-pitch-profile-meta-chip{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid var(--mapa-line);border-radius:999px;background:var(--mapa-panel);color:var(--mapa-white);font-size:.72rem;font-weight:800;line-height:1.25}
.mapa-pitch-profile-meta-chip--address{max-width:min(100%,620px);overflow-wrap:anywhere}
.mapa-pitch-profile-section{padding-top:44px}
.mapa-pitch-profile-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,.62fr);gap:28px;align-items:start}
.mapa-pitch-profile-main{display:grid;gap:22px;min-width:0}
.mapa-pitch-profile-photo{position:relative;overflow:hidden;margin:0;border:1px solid var(--mapa-line);border-radius:20px;background:var(--mapa-panel);box-shadow:var(--mapa-card-shadow)}
.mapa-pitch-profile-photo:after{content:"";position:absolute;inset:auto 0 0;height:30%;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(0,0,0,.16))}
.mapa-pitch-profile-photo img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover}
.mapa-pitch-profile-copy-card,.mapa-pitch-profile-map-panel,.mapa-pitch-profile-panel{border:1px solid var(--mapa-line);border-radius:18px;background:var(--mapa-panel);box-shadow:0 14px 34px rgba(0,0,0,.1)}
.mapa-pitch-profile-copy-card,.mapa-pitch-profile-map-panel{padding:24px}
.mapa-pitch-profile-block-head{display:grid;gap:4px;margin-bottom:16px}.mapa-pitch-profile-block-head h2{margin:0;color:var(--mapa-white);font-size:1.22rem;line-height:1.2}.mapa-pitch-profile-block-head .mapa-eyebrow{margin:0}
.mapa-pitch-profile-block-head--row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.mapa-pitch-profile-copy{width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--mapa-white);font-size:.94rem;line-height:1.7}.mapa-pitch-profile-copy p,.mapa-pitch-profile-copy li{color:var(--mapa-muted)}.mapa-pitch-profile-copy>*:first-child{margin-top:0}.mapa-pitch-profile-copy>*:last-child{margin-bottom:0}
.mapa-pitch-profile-map{display:block;width:100%;height:clamp(320px,42vw,500px);min-height:0;margin:0;border:0;border-radius:14px;background:#f1f1ee}
.mapa-pitch-profile-map-link{flex:0 0 auto;white-space:nowrap}
.mapa-pitch-profile-sidebar{position:sticky;top:calc(var(--mapa-header-offset,90px) + 20px);display:grid;gap:16px}
.mapa-pitch-profile-panel{padding:22px}
.mapa-pitch-profile-panel dl{display:grid;margin:0 0 18px}.mapa-pitch-profile-panel dl>div{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid var(--mapa-line)}.mapa-pitch-profile-panel dl>div:first-child{padding-top:2px}.mapa-pitch-profile-panel dl>div:last-child{padding-bottom:2px;border-bottom:0}
.mapa-pitch-profile-panel dt{color:var(--mapa-muted);font-size:.67rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.mapa-pitch-profile-panel dd{margin:0;color:var(--mapa-white);font-size:.94rem;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
.mapa-pitch-profile-panel__actions{display:grid;gap:9px;padding-top:17px;border-top:1px solid var(--mapa-line)}.mapa-pitch-profile-panel__actions .mapa-button{width:100%;justify-content:center;text-align:center}
.mapa-pitch-profile-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 8px;border:1px solid var(--mapa-line);border-radius:999px;font-size:.7rem;font-weight:900;line-height:1.25}
.mapa-pitch-profile-status--active{border-color:rgba(56,176,94,.34);background:rgba(56,176,94,.12);color:#72d691}.mapa-pitch-profile-status--temporary{border-color:rgba(231,182,79,.36);background:rgba(231,182,79,.12);color:#e8c66f}.mapa-pitch-profile-status--inactive{border-color:rgba(173,177,184,.3);background:rgba(173,177,184,.09);color:var(--mapa-muted)}
@media(max-width:1000px){.mapa-pitch-profile-grid{grid-template-columns:1fr}.mapa-pitch-profile-sidebar{position:static}.mapa-pitch-profile-panel__actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.mapa-pitch-profile-hero{padding:34px 0 30px}.mapa-pitch-profile-section{padding-top:28px}.mapa-pitch-profile-grid{gap:18px}.mapa-pitch-profile-copy-card,.mapa-pitch-profile-map-panel,.mapa-pitch-profile-panel{padding:18px}.mapa-pitch-profile-block-head--row{align-items:flex-start;flex-direction:column}.mapa-pitch-profile-map-link{width:100%;justify-content:center}.mapa-pitch-profile-panel__actions{grid-template-columns:1fr}.mapa-pitch-profile-map{height:330px}}
@media(max-width:460px){.mapa-pitch-profile-hero__meta{align-items:stretch;flex-direction:column}.mapa-pitch-profile-meta-chip{width:max-content;max-width:100%}.mapa-pitch-profile-photo{border-radius:14px}.mapa-pitch-profile-copy-card,.mapa-pitch-profile-map-panel,.mapa-pitch-profile-panel{padding:15px;border-radius:14px}.mapa-pitch-profile-map{height:290px;border-radius:10px}}
body.mapa-theme-light .mapa-pitch-profile-status--active{color:#176b33;background:#edf9f0;border-color:#b8e2c4}
body.mapa-theme-light .mapa-pitch-profile-status--temporary{color:#745400;background:#fff8dd;border-color:#ead791}
body.mapa-theme-light .mapa-pitch-profile-status--inactive{color:#5d636b;background:#f2f3f4;border-color:#d7dadd}


/* v4.3.35 — centre recruitment CTAs on mobile without changing desktop sizing. */
@media (max-width: 760px) {
  .mapa-recruitment__actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mapa-recruitment__actions .mapa-button {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

/* v4.3.39 — richer Partner/Sponsor cards on the homepage */
.mapa-partner-card--home .mapa-partner-card__meta{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px}
.mapa-partner-card--home .mapa-partner-card__meta>strong{font-size:1.05rem;line-height:1.25}
.mapa-partner-card--home .mapa-partner-card__description{display:-webkit-box;margin:5px 0 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;color:var(--mapa-muted);font-size:.88rem;line-height:1.55}
.mapa-partner-card--home .mapa-partner-card__link{display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:8px;color:var(--mapa-red);font-size:.79rem;font-weight:900;text-decoration:none}
.mapa-partner-card--home .mapa-partner-card__link:hover,.mapa-partner-card--home .mapa-partner-card__link:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media(max-width:620px){.mapa-partners-section .mapa-partners-grid{grid-template-columns:1fr}.mapa-partner-card--home .mapa-partner-card__logo{min-height:132px}.mapa-partner-card--home .mapa-partner-card__description{-webkit-line-clamp:5;line-clamp:5}}

/* === bundled from assets/css/admin.css === */
/* MAPA admin UI — deliberately scoped to theme screens. */
.mapa-admin-wrap,.mapa-manager-admin{max-width:1680px;margin-top:18px}.mapa-admin-lead{max-width:920px;margin:6px 0 0;color:#50575e;font-size:14px;line-height:1.55}.mapa-settings-hero,.mapa-manager-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 18px;padding:22px 24px;border:1px solid #dcdcde;border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f7f7f8 100%);box-shadow:0 3px 16px rgba(0,0,0,.04)}.mapa-settings-hero h1,.mapa-manager-heading h1{margin:3px 0 0;font-size:27px;line-height:1.2}.mapa-settings-kicker{display:inline-flex;align-items:center;gap:6px;color:#b30b16;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.mapa-settings-actions{display:flex;gap:8px;flex-wrap:wrap}.mapa-admin-menu-note{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:14px 16px;border:1px solid #c3c4c7;border-left:4px solid #e20716;border-radius:8px;background:#fff}.mapa-admin-menu-note>.dashicons{margin-top:2px;color:#e20716}.mapa-admin-shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:20px;align-items:start}.mapa-settings-sidebar{position:sticky;top:48px;border:1px solid #dcdcde;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.035)}.mapa-settings-sidebar__title{padding:14px 16px 10px;color:#646970;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.mapa-settings-sidebar nav{padding:0 8px 10px}.mapa-settings-sidebar a{display:flex;align-items:center;gap:9px;padding:9px 10px;margin:2px 0;border-radius:7px;color:#2c3338;text-decoration:none;font-weight:500}.mapa-settings-sidebar a:hover,.mapa-settings-sidebar a:focus,.mapa-settings-sidebar a.is-active{background:#f6f7f7;color:#b30b16}.mapa-settings-sidebar .dashicons{width:18px;height:18px;font-size:18px}.mapa-admin-sections{display:grid;gap:14px;min-width:0}.mapa-admin-card{border:1px solid #dcdcde;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.035);overflow:visible}.mapa-admin-panel{scroll-margin-top:52px}.mapa-admin-panel>summary{list-style:none;cursor:pointer}.mapa-admin-panel>summary::-webkit-details-marker{display:none}.mapa-admin-card__head{display:flex;align-items:center;gap:14px;padding:17px 20px;border-radius:12px;background:#fff}.mapa-admin-panel[open]>.mapa-admin-card__head{border-bottom:1px solid #ececec;border-radius:12px 12px 0 0}.mapa-panel-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#fbeaec;color:#c20c18}.mapa-panel-copy{display:grid;gap:3px;min-width:0;flex:1}.mapa-panel-copy strong,.mapa-admin-card__head h2{margin:0;font-size:16px;color:#1d2327}.mapa-panel-copy small,.mapa-admin-card__head p{margin:0;color:#646970;font-size:13px;line-height:1.4}.mapa-panel-chevron{transition:transform .2s ease;color:#787c82}.mapa-admin-panel[open] .mapa-panel-chevron{transform:rotate(180deg)}.mapa-admin-fields{padding:3px 20px 12px}.mapa-admin-field{display:grid;grid-template-columns:minmax(220px,34%) minmax(340px,66%);gap:26px;align-items:start;padding:17px 0;border-bottom:1px solid #f0f0f1}.mapa-admin-field:last-child{border-bottom:0}.mapa-admin-label-wrap{display:flex;align-items:flex-start;gap:7px;padding-top:7px}.mapa-admin-label{font-weight:600;line-height:1.35;color:#2c3338}.mapa-info{position:relative;display:inline-grid;place-items:center;flex:0 0 19px;width:19px;height:19px;padding:0;border:1px solid #b8bec4;border-radius:50%;background:#fff;color:#646970;font:700 12px/1 system-ui;cursor:help}.mapa-info:hover,.mapa-info:focus{border-color:#e20716;color:#b30b16;outline:none;box-shadow:0 0 0 1px #e20716}.mapa-info:before{content:attr(data-tooltip);position:absolute;z-index:1000;left:27px;top:-9px;width:280px;padding:10px 12px;border:1px solid #d8d8d2;border-radius:0;background:#fff;color:#353535;font:400 12px/1.45 system-ui;text-align:left;box-shadow:0 7px 25px rgba(0,0,0,.22);opacity:0;pointer-events:none;transform:translateY(3px);transition:.15s}.mapa-info:hover:before,.mapa-info:focus:before{opacity:1;transform:none}.mapa-admin-control{min-width:0}.mapa-admin-control input[type=text],.mapa-admin-control input[type=email],.mapa-admin-control input[type=url],.mapa-admin-control input[type=number],.mapa-admin-control select,.mapa-admin-control textarea{width:100%;max-width:760px;min-height:38px;border-radius:6px}.mapa-admin-control textarea{min-height:92px;resize:vertical}.mapa-field-description{max-width:760px;margin:7px 0 0;color:#73777c;font-size:12px;line-height:1.45}.mapa-media-field{max-width:820px;padding:12px;border:1px solid #e0e0e0;border-radius:9px;background:#fafafa}.mapa-media-preview img{display:block;max-width:340px;max-height:190px;object-fit:contain;margin:0 0 10px;border:1px solid #dcdcde;border-radius:6px;background:#fff;padding:5px}.mapa-media-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-inline-hint{color:#73777c;font-size:12px}.mapa-gallery-preview{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 11px;min-height:1px}.mapa-gallery-preview>span{position:relative;width:92px;height:92px;border:1px solid #c3c4c7;border-radius:7px;background:#fff;padding:3px;cursor:move;box-shadow:0 1px 2px rgba(0,0,0,.04)}.mapa-gallery-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}.mapa-gallery-drag{position:absolute;top:5px;right:5px;display:grid!important;place-items:center;width:24px!important;height:24px!important;border-radius:5px;background:rgba(0,0,0,.72);color:#fff;font-size:16px!important}.mapa-gallery-sort-placeholder{width:92px;height:92px;border:2px dashed #e20716!important;border-radius:7px;background:#fff4f5!important}.mapa-switch{display:inline-block;position:relative;width:48px;height:26px}.mapa-switch input{opacity:0;width:0;height:0}.mapa-switch span{position:absolute;inset:0;background:#8c8f94;border-radius:999px;transition:.2s}.mapa-switch span:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.2s}.mapa-switch input:checked+span{background:#e20716}.mapa-switch input:checked+span:before{transform:translateX(22px)}.mapa-admin-savebar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 0;padding:13px 18px;border:1px solid #c3c4c7;border-radius:10px;background:rgba(255,255,255,.97);box-shadow:0 -6px 26px rgba(0,0,0,.09);backdrop-filter:blur(8px)}.mapa-admin-savebar>span{display:flex;align-items:center;gap:6px;color:#646970}.mapa-admin-savebar .button-primary{min-height:38px;padding:0 18px;background:#d90b17;border-color:#b60913}.mapa-admin-savebar .button-primary:hover{background:#b60913;border-color:#990810}
/* Shared manager screens. */
.mapa-manager-heading{align-items:center}.mapa-manager-tip{display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;gap:0 8px;min-width:270px;padding:11px 14px;border-radius:9px;background:#fff;border:1px solid #e2e2e2}.mapa-manager-tip>.dashicons{grid-row:1/3;align-self:center;color:#d90b17;font-size:28px;width:28px;height:28px}.mapa-manager-tip strong{font-size:13px}.mapa-manager-tip span:last-child{color:#646970;font-size:12px}.mapa-training-add{margin:0 0 18px}.mapa-training-add>.mapa-admin-card__head,.mapa-manager-admin section>.mapa-admin-card__head{display:block;border-bottom:1px solid #ececec}.mapa-training-add-form p{margin:0}.mapa-training-add-form label{display:grid;gap:6px;font-weight:600}.mapa-training-add-form input[type=text],.mapa-training-add-form select{width:100%;min-height:36px}.mapa-training-visible{display:flex!important;align-items:center;gap:7px;padding-top:27px}.mapa-training-add-form{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:15px 18px;padding:20px}.mapa-training-add-submit{grid-column:1/-1}.mapa-staff-table-wrap,.mapa-training-table-wrap{overflow:auto}.mapa-staff-table{min-width:1260px}.mapa-training-table{min-width:1440px}.mapa-staff-table th,.mapa-training-table th{white-space:nowrap}.mapa-staff-table td,.mapa-training-table td{vertical-align:top}.mapa-staff-table input[type=text],.mapa-staff-table textarea,.mapa-training-table input[type=text],.mapa-training-table select{width:100%;min-width:128px}.mapa-staff-table textarea{min-width:230px}.mapa-training-table select{min-width:145px}.mapa-drag-col{width:42px}.mapa-drag-cell{width:42px;text-align:center;vertical-align:middle!important}.mapa-drag-handle{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #c3c4c7;border-radius:6px;background:#fff;color:#646970;cursor:grab}.mapa-drag-handle:active{cursor:grabbing}.mapa-drag-handle:hover{border-color:#e20716;color:#c20c18}.mapa-sort-placeholder td,.mapa-sort-placeholder{height:64px!important;background:#fff3f4!important;border:2px dashed #e20716!important}.mapa-sortable-table tr.ui-sortable-helper{background:#fff!important;box-shadow:0 8px 28px rgba(0,0,0,.16)}.mapa-save-hint{color:#646970;font-size:12px}.mapa-row-actions{white-space:nowrap}.mapa-row-actions a{display:block;margin-bottom:7px}
@media(max-width:1180px){.mapa-admin-shell{grid-template-columns:1fr}.mapa-settings-sidebar{position:static}.mapa-settings-sidebar nav{display:flex;gap:4px;overflow:auto;padding-bottom:12px}.mapa-settings-sidebar a{white-space:nowrap}.mapa-training-add-form{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media(max-width:850px){.mapa-settings-hero,.mapa-manager-heading{display:grid}.mapa-manager-tip{min-width:0}.mapa-admin-field{grid-template-columns:1fr;gap:7px}.mapa-admin-label-wrap{padding-top:0}.mapa-info:before{left:auto;right:0;top:26px}.mapa-admin-savebar{align-items:flex-start;flex-direction:column}.mapa-admin-savebar .button-primary{width:100%}}@media(max-width:700px){.mapa-training-add-form{grid-template-columns:1fr}.mapa-training-add-submit{grid-column:auto}.mapa-settings-actions{width:100%}.mapa-settings-actions .button{flex:1}}

/* v1.2.4 – robust drag & drop handles for Kadra / Treningi. */
.mapa-drag-handle{touch-action:none;user-select:none;-webkit-user-select:none}.mapa-drag-handle:focus{outline:2px solid #2271b1;outline-offset:2px}.mapa-sortable-table tr.is-sorting{opacity:.68}.mapa-sortable-table tr.mapa-sort-just-moved>td{animation:mapaRowMoved .7s ease}@keyframes mapaRowMoved{0%{background:#fff1f2}100%{background:transparent}}

/* v1.3.0 — Homepage Builder, Design System, Groups and backup UI. */
.mapa-home-builder-wrap{padding:18px 20px 22px}.mapa-home-builder-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.mapa-home-builder-head>div{display:grid;gap:2px}.mapa-home-builder-head strong{font-size:15px}.mapa-home-builder-head span{color:#646970}.mapa-home-builder{display:grid;gap:8px}.mapa-home-builder-row{display:grid;grid-template-columns:34px 38px minmax(240px,1fr) 58px auto;gap:12px;align-items:center;min-height:66px;padding:10px 12px;border:1px solid #dcdcde;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.035)}.mapa-home-builder-row:hover{border-color:#b8bec4}.mapa-home-builder-drag{display:grid!important;place-items:center;width:34px!important;height:40px!important;border-radius:7px;color:#646970;cursor:grab}.mapa-home-builder-drag:hover,.mapa-home-builder-drag:focus{background:#f0f0f1;color:#b30b16;outline:none}.mapa-home-builder-icon{display:grid!important;place-items:center;width:38px!important;height:38px!important;border-radius:9px;background:#fbeaec;color:#c20c18}.mapa-home-builder-copy{display:grid;gap:2px}.mapa-home-builder-copy strong{font-size:14px;color:#1d2327}.mapa-home-builder-copy small{color:#646970;line-height:1.35}.mapa-home-builder-placeholder{min-height:66px;border:2px dashed #e20716;border-radius:10px;background:#fff5f6}.mapa-home-builder-switch{margin-inline:auto}.mapa-backup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mapa-backup-card__body{padding:20px}.mapa-backup-card__body p{margin-top:0;color:#50575e}.mapa-backup-card input[type=file]{display:block;width:100%;margin:8px 0 16px;padding:12px;border:1px dashed #c3c4c7;border-radius:8px;background:#f6f7f7}.mapa-backup-danger{border-color:#e0b4b7}.mapa-group-add-form{display:grid;grid-template-columns:110px repeat(4,minmax(160px,1fr));gap:14px;padding:20px}.mapa-group-add-form>p{margin:0}.mapa-group-add-form label{display:grid;gap:6px;font-weight:600}.mapa-group-wide{grid-column:2/-1}.mapa-group-table{min-width:1320px}.mapa-group-table textarea{min-width:240px}.mapa-training-manual-group{display:grid;gap:5px}.mapa-training-manual-group input+input{margin-top:6px}.mapa-training-group-select{min-width:180px;max-width:260px}.mapa-training-add-form .mapa-training-group-select{width:100%;max-width:none}.mapa-admin-card__head .mapa-panel-icon{margin-right:0}
@media(max-width:1200px){.mapa-backup-grid{grid-template-columns:1fr}.mapa-group-add-form{grid-template-columns:110px repeat(2,minmax(180px,1fr))}.mapa-group-wide{grid-column:2/-1}}
@media(max-width:900px){.mapa-home-builder-row{grid-template-columns:34px 38px minmax(0,1fr) 58px}.mapa-home-builder-row>.button{grid-column:3/-1;justify-self:start}.mapa-group-add-form{grid-template-columns:1fr}.mapa-group-wide{grid-column:auto}}
.mapa-training-schedule-head{display:flex!important;align-items:center;justify-content:space-between;gap:18px}.mapa-training-schedule-head>div{min-width:0}.mapa-training-schedule-head>.button{flex:0 0 auto}
@media(max-width:900px){.mapa-training-schedule-head{align-items:flex-start;flex-direction:column}}


/* v1.3.2 — consolidated Portal MAPA dashboard. */
.mapa-portal-dashboard{max-width:1320px}.mapa-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:24px 26px;border:1px solid #dcdcde;border-radius:14px;background:linear-gradient(135deg,#fff 0%,#fff7f8 100%);box-shadow:0 2px 10px rgba(0,0,0,.045)}.mapa-admin-hero h1{margin:0;font-size:28px;line-height:1.15}.mapa-portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mapa-portal-card{display:grid;grid-template-columns:48px minmax(0,1fr) 24px;align-items:center;gap:14px;min-height:108px;padding:18px 18px;border:1px solid #dcdcde;border-radius:12px;background:#fff;color:#1d2327;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.035);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.mapa-portal-card:hover,.mapa-portal-card:focus-visible{border-color:#d90b17;color:#1d2327;box-shadow:0 8px 24px rgba(0,0,0,.09);transform:translateY(-2px);outline:none}.mapa-portal-card__icon{display:grid!important;place-items:center;width:48px!important;height:48px!important;border-radius:11px;background:#fff0f1;color:#c20c18;font-size:25px!important}.mapa-portal-card__copy{display:grid;gap:5px;min-width:0}.mapa-portal-card__copy strong{font-size:15px}.mapa-portal-card__copy small{color:#646970;font-size:12.5px;line-height:1.45}.mapa-portal-card>.dashicons:last-child{color:#8c8f94}.mapa-portal-card:hover>.dashicons:last-child{color:#c20c18}
@media(max-width:1100px){.mapa-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.mapa-admin-hero{padding:20px}.mapa-portal-grid{grid-template-columns:1fr}.mapa-portal-card{min-height:94px}}

/* v1.4.0 — Recruitment Online and Form Security */
.mapa-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mapa-security-fields{padding:8px 20px 18px}.mapa-security-field{display:grid;gap:8px;padding:15px 0;border-bottom:1px solid #f0f0f1}.mapa-security-field:last-child{border-bottom:0}.mapa-security-field>label:first-child{font-weight:600;color:#2c3338}.mapa-security-field input[type=text],.mapa-security-field input[type=password],.mapa-security-field input[type=number]{width:100%;max-width:680px;min-height:38px}.mapa-security-field--toggle{grid-template-columns:minmax(0,1fr) 54px;align-items:center}.mapa-security-clear{font-weight:400!important;color:#646970!important;font-size:12px}.mapa-security-summary{display:flex;gap:12px;margin-top:16px;padding:14px;border-radius:9px;background:#f1f8f4;border:1px solid #b8dac4}.mapa-security-summary>.dashicons{color:#16803a}.mapa-security-summary p{margin:3px 0 0;color:#50575e}.mapa-recruitment-stats{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr));gap:10px;margin:0 0 18px}.mapa-recruitment-stat{display:grid;gap:3px;padding:14px 15px;border:1px solid #dcdcde;border-radius:10px;background:#fff;color:#1d2327;text-decoration:none}.mapa-recruitment-stat:hover,.mapa-recruitment-stat.is-active{border-color:#d90b17;box-shadow:0 4px 14px rgba(0,0,0,.06);color:#b30b16}.mapa-recruitment-stat strong{font-size:22px;line-height:1}.mapa-recruitment-stat span{font-size:12px;color:#646970}.mapa-recruitment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #ececec}.mapa-recruitment-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-recruitment-filter select{min-width:170px}.mapa-recruitment-filter input[type=search]{min-width:320px}.mapa-recruitment-results{color:#646970}.mapa-recruitment-table-wrap{overflow:auto}.mapa-recruitment-table{min-width:1050px}.mapa-recruitment-table td{vertical-align:middle}.mapa-recruitment-table td small{display:block;margin-top:4px;color:#646970}.mapa-application-new td:first-child{box-shadow:inset 4px 0 #e20716}.mapa-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#f0f0f1;font-size:11px;font-weight:700;white-space:nowrap}.mapa-status--new{background:#fde8ea;color:#a30b14}.mapa-status--todo{background:#fff2d5;color:#825c00}.mapa-status--contacted{background:#e8f2ff;color:#145a9e}.mapa-status--trial{background:#eee9ff;color:#5c3aa8}.mapa-status--accepted{background:#e3f5e9;color:#18703a}.mapa-status--waiting{background:#f1f1f1;color:#555}.mapa-status--rejected{background:#ececec;color:#6b6b6b}.mapa-admin-pagination{padding:16px 18px;border-top:1px solid #ececec}.mapa-admin-pagination ul{display:flex;gap:5px;list-style:none;margin:0;padding:0}.mapa-admin-pagination a,.mapa-admin-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border:1px solid #dcdcde;border-radius:6px;background:#fff;text-decoration:none}.mapa-admin-pagination .current{background:#d90b17;border-color:#d90b17;color:#fff}.mapa-back-link{display:inline-block;margin-bottom:8px;text-decoration:none}.mapa-application-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:18px;align-items:start}.mapa-application-main,.mapa-application-side{display:grid;gap:18px}.mapa-application-data{display:grid;grid-template-columns:180px minmax(0,1fr);margin:0;padding:18px 20px}.mapa-application-data dt,.mapa-application-data dd{margin:0;padding:12px 0;border-bottom:1px solid #f0f0f1}.mapa-application-data dt{font-weight:600;color:#50575e}.mapa-application-data dd{color:#1d2327}.mapa-application-data dd small{display:block;margin-top:5px;color:#646970}.mapa-application-notes{display:grid;gap:10px;padding:18px 20px 0}.mapa-application-notes article{padding:13px 14px;border:1px solid #e4e4e4;border-radius:9px;background:#fafafa}.mapa-application-notes header{display:flex;justify-content:space-between;gap:12px}.mapa-application-notes time{font-size:12px;color:#646970}.mapa-application-notes p{margin:8px 0 0}.mapa-empty-admin{color:#646970}.mapa-note-form{display:grid;gap:10px;padding:16px 20px 20px}.mapa-note-form textarea{width:100%}.mapa-note-form .button{justify-self:start}.mapa-status-form{display:grid;gap:10px;padding:18px 20px}.mapa-status-form select{width:100%}.mapa-history{display:grid;gap:0;padding:12px 20px 18px}.mapa-history>div{position:relative;display:grid;grid-template-columns:14px 1fr;gap:9px;padding:8px 0}.mapa-history>div>span{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#d90b17;box-shadow:0 0 0 3px #fde8ea}.mapa-history p{display:grid;gap:2px;margin:0}.mapa-history small{color:#646970}.mapa-danger-card{border-color:#efc4c7}.mapa-danger-body{padding:18px 20px}.mapa-danger-body .button-link-delete{color:#b32d2e}.mapa-portal-card .awaiting-mod{margin-left:4px}
@media(max-width:1250px){.mapa-recruitment-stats{grid-template-columns:repeat(4,minmax(105px,1fr))}.mapa-security-grid{grid-template-columns:1fr}.mapa-application-layout{grid-template-columns:1fr}}
@media(max-width:760px){.mapa-recruitment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-recruitment-toolbar{align-items:stretch;flex-direction:column}.mapa-recruitment-filter{display:grid;grid-template-columns:1fr}.mapa-recruitment-filter input[type=search],.mapa-recruitment-filter select{min-width:0;width:100%}.mapa-application-data{grid-template-columns:1fr}.mapa-application-data dt{padding-bottom:2px;border-bottom:0}.mapa-application-data dd{padding-top:0}.mapa-security-field--toggle{grid-template-columns:1fr 54px}}
/* v1.5.0 — Accounts & Identity */
.mapa-identity-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:18px;align-items:start;margin-bottom:18px}.mapa-identity-form{padding:20px}.mapa-identity-profile-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:start}.mapa-account-avatar-editor{display:grid;gap:10px}.mapa-account-avatar-editor__preview{display:grid;place-items:center;width:112px;height:112px;border:1px solid #dcdcde;border-radius:18px;background:#f6f7f7;overflow:hidden}.mapa-account-avatar-editor__preview img{width:100%;height:100%;object-fit:cover}.mapa-identity-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mapa-identity-form-grid label,.mapa-player-notes{display:grid;gap:6px}.mapa-identity-form-grid label>span,.mapa-player-notes>span{font-weight:600;color:#2c3338}.mapa-identity-form-grid input:not([type=checkbox]):not([type=radio]),.mapa-identity-form-grid select,.mapa-player-notes textarea{width:100%;min-height:40px;border-radius:7px}.mapa-identity-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.mapa-check-card{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fafafa}.mapa-check-card input{margin-top:3px}.mapa-check-card span{display:grid;gap:3px}.mapa-check-card small{color:#646970;line-height:1.4}.mapa-account-groups{margin-top:18px;padding-top:18px;border-top:1px solid #ececec}.mapa-account-groups h3{margin:0 0 4px}.mapa-account-groups>p{margin:0 0 12px;color:#646970}.mapa-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mapa-checkbox-grid>label{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #e2e2e2;border-radius:8px;background:#fff}.mapa-checkbox-grid>label>span{display:grid;gap:1px}.mapa-checkbox-grid small{color:#787c82}.mapa-identity-form-actions{display:flex;gap:8px;margin-top:20px}.mapa-policy-form{display:grid;gap:0;padding:8px 18px 18px}.mapa-policy-form>label{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:13px 0;border-bottom:1px solid #ececec}.mapa-policy-form>label>span{font-weight:600}.mapa-policy-form input[type=number]{width:84px}.mapa-policy-form small{grid-column:1/-1;color:#646970;line-height:1.4}.mapa-policy-form>.button{justify-self:start;margin-top:14px}.mapa-accounts-list-card{margin-top:18px}.mapa-accounts-table{min-width:1150px}.mapa-account-cell,.mapa-player-cell{display:flex;align-items:center;gap:10px}.mapa-account-cell img{width:44px;height:44px;border-radius:12px;object-fit:cover}.mapa-account-cell>span,.mapa-player-cell>span{display:grid;gap:2px}.mapa-account-cell small,.mapa-player-cell small{color:#646970}.mapa-player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #ececec}.mapa-player-toolbar form{display:flex;gap:8px;flex-wrap:wrap}.mapa-player-toolbar input[type=search]{min-width:260px}.mapa-player-toolbar select{min-width:170px}.mapa-players-table{min-width:1180px}.mapa-player-cell img,.mapa-player-placeholder{width:50px;height:50px;border-radius:12px}.mapa-player-cell img{object-fit:cover}.mapa-player-placeholder{display:grid;place-items:center;background:#f0f0f1;color:#646970;font-size:25px}.mapa-player-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.mapa-player-editor-body{padding:20px}.mapa-player-photo-editor{display:flex;align-items:center;gap:16px;margin-bottom:20px}.mapa-player-photo-editor__preview{display:grid;place-items:center;width:112px;height:112px;border:1px solid #dcdcde;border-radius:18px;background:#f6f7f7;overflow:hidden}.mapa-player-photo-editor__preview img{width:100%;height:100%;object-fit:cover}.mapa-player-editor-body h3{margin:22px 0 8px}.mapa-player-editor-body h3:first-of-type{margin-top:0}.mapa-player-editor-body select[multiple],.mapa-group-table select[multiple],.mapa-group-add select[multiple]{width:100%;min-width:180px}.mapa-player-notes{margin-top:16px}.mapa-group-add-form small{display:block;margin-top:5px;color:#646970}.mapa-group-table td{vertical-align:top}.mapa-group-table select[multiple]{min-height:88px}.mapa-portal-card[href*="mapa-accounts"] .mapa-portal-card__icon,.mapa-portal-card[href*="mapa-players"] .mapa-portal-card__icon{background:#fbeaec;color:#b30b16}
@media(max-width:1180px){.mapa-identity-grid,.mapa-player-editor-grid{grid-template-columns:1fr}.mapa-identity-policy{order:-1}}@media(max-width:760px){.mapa-identity-profile-row{grid-template-columns:1fr}.mapa-identity-form-grid,.mapa-identity-options,.mapa-checkbox-grid{grid-template-columns:1fr}.mapa-player-toolbar{align-items:stretch;flex-direction:column}.mapa-player-toolbar form{display:grid;grid-template-columns:1fr}.mapa-player-toolbar input[type=search],.mapa-player-toolbar select{min-width:0;width:100%}}
.mapa-identity-role-field{grid-column:1/-1;display:grid;gap:7px}.mapa-identity-role-field>span{font-weight:600;color:#2c3338}.mapa-identity-role-field>small{color:#646970}.mapa-role-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mapa-role-checks label{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;border:1px solid #dcdcde;border-radius:8px;background:#fafafa}.mapa-role-checks label:has(input:checked){border-color:#d90b17;background:#fff5f6}.mapa-role-checks input:disabled+span{opacity:.72}@media(max-width:760px){.mapa-role-checks{grid-template-columns:1fr}}

/* v1.6.0 — Accounts polish, MAPA Mail, Communication Center and Documents */
.mapa-accounts-admin .mapa-identity-form{padding:24px}.mapa-accounts-admin .mapa-identity-profile-row{grid-template-columns:132px minmax(0,1fr);gap:26px}.mapa-accounts-admin .mapa-account-avatar-editor{padding:14px;border:1px solid #e2e4e7;border-radius:12px;background:#fafbfc}.mapa-accounts-admin .mapa-account-avatar-editor__preview{width:100px;height:100px;margin:auto}.mapa-accounts-admin .mapa-account-avatar-editor>div:nth-child(3){display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.mapa-accounts-admin .mapa-account-avatar-editor .description{text-align:center;margin:0;font-size:11px;line-height:1.45}.mapa-accounts-admin .mapa-identity-form-grid{gap:18px 20px}.mapa-accounts-admin .mapa-identity-form-grid>label>span,.mapa-accounts-admin .mapa-identity-role-field>span{font-size:13px}.mapa-account-status-field{grid-column:1/-1;max-width:330px}.mapa-account-status-field select{max-width:330px}.mapa-role-checks{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}.mapa-role-checks label,.mapa-checkbox-grid>label{position:relative;align-items:flex-start;gap:10px;min-height:46px;padding:11px 12px;border-color:#dfe2e5;background:#fbfbfc;transition:border-color .15s,background .15s,box-shadow .15s}.mapa-role-checks label:hover,.mapa-checkbox-grid>label:hover{border-color:#c4c8cc;background:#fff}.mapa-identity-options{gap:14px}.mapa-check-card{align-items:flex-start;gap:11px;padding:15px 16px;background:#fbfbfc}.mapa-check-card--compact{min-height:auto;padding:12px 13px}.mapa-check-card span{min-width:0}.mapa-check-card strong{line-height:1.35}.mapa-account-groups{margin-top:22px;padding-top:20px}.mapa-account-groups h3{font-size:15px}.mapa-identity-form-actions{align-items:center;flex-wrap:wrap;padding-top:2px}.mapa-policy-form>label{align-items:center;min-height:58px}.mapa-policy-form>label>div{display:flex;align-items:center;gap:6px}.mapa-policy-form>.button,.mapa-policy-form>a.button{justify-self:start;margin-top:14px}.mapa-identity-policy .mapa-admin-card__head{border-bottom:1px solid #ececec}
.mapa-mail-grid,.mapa-communication-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:18px;align-items:start;margin-bottom:18px}.mapa-mail-settings-form,.mapa-communication-form,.mapa-document-form{padding:20px}.mapa-mail-settings-form>.mapa-check-card{margin-bottom:18px}.mapa-mail-form-grid,.mapa-compose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.mapa-mail-form-grid label,.mapa-compose-grid>label{display:grid;gap:6px}.mapa-mail-form-grid label>span,.mapa-compose-grid>label>span,.mapa-channel-field>span{font-weight:600;color:#2c3338}.mapa-mail-form-grid input,.mapa-mail-form-grid select,.mapa-compose-grid input[type=text],.mapa-compose-grid input[type=url],.mapa-compose-grid input[type=date],.mapa-compose-grid input[type=datetime-local],.mapa-compose-grid select,.mapa-compose-grid textarea{width:100%;min-height:40px;border-radius:7px}.mapa-compose-grid textarea{resize:vertical}.mapa-compose-wide{grid-column:1/-1}.mapa-inline-unit{display:flex;align-items:center;gap:6px}.mapa-inline-unit input{max-width:110px}.mapa-mail-health-body{display:grid;gap:0;padding:8px 18px 18px}.mapa-mail-health-body>div{display:grid;gap:3px;padding:13px 0;border-bottom:1px solid #ececec}.mapa-mail-health-body>div:last-child{border-bottom:0}.mapa-mail-health-body span{color:#646970;font-size:12px}.mapa-mail-health-body strong{overflow-wrap:anywhere}.mapa-mail-templates-card{margin-top:18px}.mapa-template-form{padding:0 20px 18px}.mapa-template-list{display:grid;gap:10px;padding:16px 0}.mapa-template-card{border:1px solid #dfe2e5;border-radius:10px;background:#fff;overflow:hidden}.mapa-template-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.mapa-template-card>summary::-webkit-details-marker{display:none}.mapa-template-card[open]>summary{border-bottom:1px solid #ececec;background:#fafafa}.mapa-template-card>summary .dashicons{transition:transform .15s}.mapa-template-card[open]>summary .dashicons{transform:rotate(180deg)}.mapa-template-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;padding:16px}.mapa-template-fields label{display:grid;gap:6px}.mapa-template-fields label:nth-child(3),.mapa-template-fields .description{grid-column:1/-1}.mapa-template-fields input,.mapa-template-fields textarea{width:100%;border-radius:7px}.mapa-template-fields textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.mapa-template-fields .description{margin:0}.mapa-recipient-builder{display:grid;gap:14px;margin-bottom:20px;padding:16px;border:1px solid #e1e3e6;border-radius:0;background:#fafbfc;color:#30302d}.mapa-recipient-audience{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mapa-recipient-columns{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px}.mapa-recipient-columns>div{min-width:0}.mapa-recipient-columns strong{display:block;margin-bottom:7px}.mapa-recipient-columns select{width:100%;min-height:132px}.mapa-checkbox-grid--compact{grid-template-columns:1fr;max-height:170px;overflow:auto;padding-right:4px}.mapa-checkbox-grid--compact>label{min-height:40px;padding:8px 10px}.mapa-channel-field{display:grid;gap:7px}.mapa-channel-checks{display:flex;flex-wrap:wrap;gap:8px}.mapa-channel-checks label{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid #dfe2e5;border-radius:0;background:#fbfbfc}.mapa-communication-help-body{display:grid;gap:0;padding:8px 18px 18px}.mapa-communication-help-body>div{display:grid;gap:4px;padding:13px 0;border-bottom:1px solid #ececec}.mapa-communication-help-body>div:last-child{border-bottom:0}.mapa-communication-help-body span{color:#646970;line-height:1.45}.mapa-whatsapp-queue{margin-bottom:18px}.mapa-whatsapp-links{display:flex;flex-wrap:wrap;gap:8px;padding:16px 20px 20px}.mapa-whatsapp-links .button{display:inline-flex;align-items:center;gap:6px}.mapa-communication-history,.mapa-documents-history{margin-top:18px}.mapa-comm-table{min-width:980px}.mapa-documents-table{min-width:930px}.mapa-document-form .mapa-recipient-builder{margin-bottom:18px}.mapa-document-form input[type=file]{max-width:100%}.mapa-portal-card[href*="mapa-mail"] .mapa-portal-card__icon,.mapa-portal-card[href*="mapa-communication"] .mapa-portal-card__icon,.mapa-portal-card[href*="mapa-documents"] .mapa-portal-card__icon{background:#fbeaec;color:#b30b16}
@media(max-width:1180px){.mapa-mail-grid,.mapa-communication-grid{grid-template-columns:1fr}.mapa-recipient-columns{grid-template-columns:1fr 1fr}.mapa-recipient-columns>div:first-child{grid-column:1/-1}}@media(max-width:860px){.mapa-recipient-audience,.mapa-template-fields{grid-template-columns:1fr}.mapa-template-fields label:nth-child(3),.mapa-template-fields .description{grid-column:auto}.mapa-mail-form-grid,.mapa-compose-grid{grid-template-columns:1fr}.mapa-compose-wide{grid-column:auto}}@media(max-width:760px){.mapa-accounts-admin .mapa-identity-form{padding:16px}.mapa-accounts-admin .mapa-identity-profile-row{grid-template-columns:1fr}.mapa-accounts-admin .mapa-account-avatar-editor{max-width:240px}.mapa-role-checks{grid-template-columns:1fr}.mapa-account-status-field{max-width:none}.mapa-account-status-field select{max-width:none}.mapa-recipient-columns{grid-template-columns:1fr}.mapa-recipient-columns>div:first-child{grid-column:auto}}


/* v1.6.1 — consolidated Portal MAPA settings hub */
.mapa-settings-hub{max-width:1680px}
.mapa-settings-hub__hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0;padding:22px 24px 18px;border:1px solid #dcdcde;border-bottom:0;border-radius:14px 14px 0 0;background:linear-gradient(135deg,#fff 0%,#f7f7f8 100%)}
.mapa-settings-hub__hero h1{margin:3px 0 0;font-size:28px;line-height:1.2}
.mapa-settings-tabs{display:flex;align-items:stretch;gap:0;margin:0 0 20px;padding:0 14px;border:1px solid #dcdcde;border-top:0;border-radius:0 0 14px 14px;background:#fff;overflow-x:auto;box-shadow:0 3px 16px rgba(0,0,0,.04)}
.mapa-settings-tab{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:54px;padding:0 17px;color:#50575e;text-decoration:none;font-weight:600;white-space:nowrap;border-bottom:3px solid transparent;transition:.15s ease}
.mapa-settings-tab:hover,.mapa-settings-tab:focus{color:#b30b16;background:#fff7f8;outline:none;box-shadow:none}
.mapa-settings-tab.is-active{color:#b30b16;border-bottom-color:#e20716;background:#fffafb}
.mapa-settings-tab .dashicons{width:19px;height:19px;font-size:19px}
.mapa-settings-tabpanel{min-width:0}
.mapa-settings-embedded{margin:0;max-width:none}
.mapa-settings-embedded>.mapa-settings-hero,.mapa-settings-embedded>.mapa-manager-heading{margin-top:0}
.mapa-settings-embedded>.mapa-settings-hero{border-radius:12px}
.mapa-settings-hub .mapa-admin-savebar{z-index:25}
@media (max-width:782px){.mapa-settings-hub__hero{padding:18px}.mapa-settings-tabs{padding:0 6px}.mapa-settings-tab{min-height:48px;padding:0 12px;font-size:13px}.mapa-settings-tab .dashicons{display:none}}

/* MAPA Events Manager — v1.8.0 */
.mapa-events-admin .mapa-manager-heading{margin-bottom:20px}.mapa-event-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.mapa-event-admin-stats>div,.mapa-event-admin-stats>a{display:grid;gap:4px;padding:16px 18px;border:1px solid #dcdcde;border-radius:12px;background:#fff;text-decoration:none;color:#1d2327;box-shadow:0 1px 2px rgba(0,0,0,.03)}.mapa-event-admin-stats span{color:#646970;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.mapa-event-admin-stats strong{font-size:22px;line-height:1.15}.mapa-event-admin-stats>a{border-color:#f0b6ba;background:#fff8f8}.mapa-event-form{padding:4px 0}.mapa-event-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mapa-event-form-grid>label,.mapa-event-form-grid>.mapa-event-fieldset{display:grid;align-content:start;gap:7px;margin:0}.mapa-event-form-grid label>span,.mapa-event-fieldset>span{font-size:12px;font-weight:700;color:#3c434a}.mapa-event-form-grid input[type=text],.mapa-event-form-grid input[type=url],.mapa-event-form-grid input[type=date],.mapa-event-form-grid input[type=time],.mapa-event-form-grid input[type=number],.mapa-event-form-grid select,.mapa-event-form-grid textarea{width:100%;min-height:40px}.mapa-event-form-grid textarea{min-height:120px}.mapa-event-wide{grid-column:1/-1}.mapa-event-half{grid-column:span 2}.mapa-event-fieldset{grid-column:1/-1;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fafafa}.mapa-event-fieldset .mapa-checkbox-grid{margin-top:4px}.mapa-event-media-picker{display:flex;gap:16px;align-items:center}.mapa-event-image-preview{display:grid;width:180px;height:105px;place-items:center;overflow:hidden;border:1px dashed #c3c4c7;border-radius:10px;background:#f6f7f7;color:#787c82}.mapa-event-image-preview img{width:100%;height:100%;object-fit:cover}.mapa-event-media-actions{display:flex;flex-wrap:wrap;gap:8px}.mapa-event-filters{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(160px,.7fr) minmax(170px,.8fr) auto auto;gap:8px;align-items:center;margin:0 0 14px}.mapa-event-filters input,.mapa-event-filters select{width:100%}.mapa-event-table td{vertical-align:middle}.mapa-event-table td small{display:block;margin-top:4px;color:#646970}.mapa-event-table-title{display:block;margin-top:7px}.mapa-event-type-badge,.mapa-event-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.mapa-event-type-badge{background:#fce8ea;color:#a5101a}.mapa-event-status{background:#f0f0f1;color:#50575e}.mapa-event-status--today,.mapa-event-status--ongoing{background:#e8f6ed;color:#176b36}.mapa-event-status--cancelled{background:#fff3cd;color:#735c0f}.mapa-event-score-admin{display:block;margin-top:7px;font-size:16px}.mapa-row-actions{display:flex;flex-wrap:wrap;gap:8px}.mapa-row-actions a{white-space:nowrap}.mapa-events-list-card{margin-top:18px}.mapa-communication-admin .mapa-recipient-builder .mapa-check-card input:checked+span{border-color:#d63638}
@media(max-width:1100px){.mapa-event-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-event-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-event-filters{grid-template-columns:1fr 1fr}.mapa-event-filters input[type=search]{grid-column:1/-1}}
@media(max-width:782px){.mapa-event-form-grid{grid-template-columns:1fr}.mapa-event-half,.mapa-event-wide{grid-column:auto}.mapa-event-admin-stats{grid-template-columns:1fr 1fr}.mapa-event-filters{grid-template-columns:1fr}.mapa-event-filters input[type=search]{grid-column:auto}.mapa-event-media-picker{align-items:flex-start;flex-direction:column}.mapa-training-table-wrap{overflow:auto}}

/* MAPA v1.9.0 — Camps 2.0 admin */
.mapa-camps-admin-grid{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:18px;align-items:start}.mapa-camps-list-card{position:sticky;top:48px}.mapa-camp-admin-list{display:grid;gap:8px;padding:16px}.mapa-camp-admin-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dcdcde;border-radius:9px;background:#fff;color:#1d2327;text-decoration:none}.mapa-camp-admin-list__item:hover,.mapa-camp-admin-list__item.is-active{border-color:#e20716;background:#fff7f8}.mapa-camp-admin-list__item>span:first-child{display:grid;gap:4px}.mapa-camp-admin-list__item small{color:#646970}.mapa-camp-admin-list__item .mapa-camp-status{width:max-content;font-size:10px}.mapa-camp-editor{padding:20px}.mapa-camp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(170px,1fr));gap:15px}.mapa-camp-form-grid label{display:grid;gap:6px;font-weight:600}.mapa-camp-form-grid input,.mapa-camp-form-grid select,.mapa-camp-form-grid textarea{width:100%;min-height:38px}.mapa-camp-wide{grid-column:1/-1}.mapa-camp-checkbox{align-self:end}.mapa-camp-admin-section{margin-top:22px;padding-top:20px;border-top:1px solid #ececec}.mapa-camp-admin-section h3,.mapa-camp-media-grid h3{margin:0 0 6px}.mapa-camp-media-grid{display:grid;grid-template-columns:minmax(260px,.45fr) minmax(0,.55fr);gap:20px;margin-top:22px;padding-top:20px;border-top:1px solid #ececec}.mapa-camp-image,.mapa-camp-gallery{padding:13px;border:1px solid #dcdcde;border-radius:10px;background:#f8f8f9}.mapa-camp-image-preview img{display:block;max-width:320px;max-height:210px;margin-bottom:10px;border-radius:7px;object-fit:contain}.mapa-camp-gallery-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.mapa-camp-gallery-preview>span{position:relative;width:88px;height:88px;border:1px solid #c3c4c7;border-radius:7px;background:#fff;padding:3px;cursor:move}.mapa-camp-gallery-preview img{width:100%;height:100%;object-fit:cover;border-radius:4px}.mapa-camp-gallery-preview button{position:absolute;right:4px;top:2px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.72);color:#fff!important;text-decoration:none!important}.mapa-camp-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mapa-camp-requirements{display:grid;gap:8px;margin-top:12px}.mapa-camp-requirement-row{display:grid;grid-template-columns:28px minmax(155px,.7fr) minmax(220px,1.4fr) minmax(145px,.65fr) auto;gap:9px;align-items:center;padding:9px;border:1px solid #dcdcde;border-radius:8px;background:#fafafa}.mapa-camp-requirement-row input,.mapa-camp-requirement-row select{width:100%;min-height:36px}.mapa-camp-req-drag{cursor:grab;color:#646970}.mapa-camp-delete-form{padding:0 20px 20px}.mapa-camp-participants{margin-top:18px}.mapa-camp-participant-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 18px 16px}.mapa-camp-participant-table{min-width:1040px}.mapa-camp-participant-table td{vertical-align:middle}.mapa-camp-signup-editor-row td{padding:0!important;background:#f7f7f8!important}.mapa-camp-signup-editor{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:16px;align-items:end;padding:16px 18px}.mapa-camp-signup-editor>label{display:grid;gap:6px;font-weight:600}.mapa-camp-package-admin{display:grid;gap:5px}.mapa-camp-package-admin>label{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.6fr);gap:12px;padding:7px 0;border-bottom:1px solid #e5e5e5}.mapa-camp-package-admin small{font-weight:400;color:#646970}
@media(max-width:1100px){.mapa-camps-admin-grid{grid-template-columns:1fr}.mapa-camps-list-card{position:static}.mapa-camp-form-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.mapa-camp-media-grid{grid-template-columns:1fr}.mapa-camp-signup-editor{grid-template-columns:1fr}}
@media(max-width:782px){.mapa-camp-form-grid{grid-template-columns:1fr}.mapa-camp-wide{grid-column:auto}.mapa-camp-requirement-row{grid-template-columns:28px 1fr}.mapa-camp-requirement-row input,.mapa-camp-requirement-row select,.mapa-camp-requirement-row button{grid-column:2}.mapa-camp-section-head{display:grid}.mapa-camp-package-admin>label{grid-template-columns:1fr}}
.mapa-camps-admin .mapa-camp-status{display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;background:#f0f0f1;color:#50575e;font-size:10px;font-weight:800;text-transform:uppercase}.mapa-camps-admin .mapa-camp-status--open{background:#e6f6eb;color:#176b36}.mapa-camps-admin .mapa-camp-status--last{background:#fff3d6;color:#8a5a00}.mapa-camps-admin .mapa-camp-status--full,.mapa-camps-admin .mapa-camp-status--closed{background:#fbe5e7;color:#9b101a}

/* MAPA v2.0.0 — Staff / News administration */
.mapa-staff-v2-form{grid-template-columns:repeat(4,minmax(170px,1fr))}.mapa-staff-v2-form select,.mapa-staff-v2-form input,.mapa-staff-v2-form textarea{width:100%}.mapa-admin-choice-row{display:flex!important;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:12px;border:1px solid #dcdcde;border-radius:9px;background:#fafafa}.mapa-admin-choice-row label,.mapa-admin-choice-stack label,.mapa-inline-check{display:flex!important;align-items:center;gap:7px;font-weight:600}.mapa-staff-v2-table{min-width:1380px}.mapa-staff-v2-table td{vertical-align:top}.mapa-staff-v2-table td>label{display:grid;gap:5px;margin:0 0 9px;font-size:11px;font-weight:700;color:#50575e}.mapa-staff-v2-table td input[type=text],.mapa-staff-v2-table td input[type=email],.mapa-staff-v2-table td select,.mapa-staff-v2-table td textarea{width:100%;min-width:180px}.mapa-admin-choice-stack{display:grid;gap:6px;margin-top:8px}.mapa-news-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.mapa-news-admin-table td{vertical-align:middle}
@media(max-width:1100px){.mapa-staff-v2-form{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:782px){.mapa-staff-v2-form{grid-template-columns:1fr}.mapa-admin-choice-row{display:grid!important}}

/* MAPA v2.0.2 — Partnerzy / Sponsorzy + FAQ */
.mapa-partner-form,.mapa-faq-form{padding:20px}.mapa-partner-form-grid,.mapa-faq-form-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:15px}.mapa-partner-form-grid>label,.mapa-faq-form-grid>label{display:grid;gap:6px;font-weight:600}.mapa-partner-form-grid input,.mapa-partner-form-grid select,.mapa-partner-form-grid textarea,.mapa-faq-form-grid input,.mapa-faq-form-grid textarea{width:100%;min-height:38px}.mapa-partner-wide,.mapa-faq-wide{grid-column:1/-1}.mapa-partner-logo{min-width:150px}.mapa-partner-logo__preview{display:grid;place-items:center;width:180px;min-height:92px;margin-bottom:8px;padding:8px;border:1px solid #dcdcde;border-radius:9px;background:#f7f7f8}.mapa-partner-logo__preview:empty:before{content:'Brak logo';color:#787c82;font-size:12px}.mapa-partner-logo__preview img{display:block;max-width:160px;max-height:90px;width:auto;height:auto;object-fit:contain}.mapa-partner-logo__actions{display:flex;gap:8px;flex-wrap:wrap}.mapa-partner-table-wrap,.mapa-faq-table-wrap{overflow:auto}.mapa-partner-table{min-width:1220px}.mapa-faq-table{min-width:1050px}.mapa-partner-table td,.mapa-faq-table td{vertical-align:top}.mapa-partner-table td>label,.mapa-faq-table td>label{display:grid;gap:5px;margin:0 0 8px;font-size:11px;font-weight:700;color:#50575e}.mapa-partner-table input[type=text],.mapa-partner-table input[type=url],.mapa-partner-table select,.mapa-partner-table textarea,.mapa-faq-table input[type=text],.mapa-faq-table textarea{width:100%;min-width:180px}.mapa-faq-table td:nth-child(2){min-width:420px}.mapa-faq-table td:nth-child(3){min-width:180px}.mapa-partners-list-card,.mapa-faq-list-card{margin-top:18px}
@media(max-width:782px){.mapa-partner-form-grid,.mapa-faq-form-grid{grid-template-columns:1fr}.mapa-partner-wide,.mapa-faq-wide{grid-column:auto}}

/* v2.0.3 account-group assignment clarity */
.mapa-account-groups.is-role-inactive .mapa-checkbox-grid{opacity:.48}
.mapa-account-groups.is-role-inactive .mapa-checkbox-grid label{cursor:not-allowed}
.mapa-account-groups.is-role-inactive:after{content:"Wybierz rolę Zawodnik, Trener lub Koordynator, aby przypisać konto do grupy.";display:block;margin-top:10px;color:#8c8f94;font-size:12px}

/* MAPA v2.0.7 — SMTP diagnostics */
.mapa-mail-debug-card{margin:18px 0}.mapa-mail-debug-controls{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:12px 20px;align-items:end;padding:18px 20px;border-bottom:1px solid #ececec;background:#fafafa}.mapa-mail-debug-controls>label{display:grid;gap:6px;font-weight:600}.mapa-mail-debug-controls input[type=email]{width:100%;min-height:40px}.mapa-mail-debug-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mapa-mail-debug-actions .button{display:inline-flex;align-items:center;gap:6px}.mapa-mail-debug-actions .button .dashicons{margin:0}.mapa-mail-debug-actions .button.is-busy{opacity:.72;cursor:wait}.mapa-mail-debug-controls>.description{grid-column:1/-1;margin:0}.mapa-mail-debug-result{padding:18px 20px}.mapa-mail-debug-result.is-loading{background:#fffdf5}.mapa-mail-debug-result.is-success{background:#f6fbf7}.mapa-mail-debug-result.is-error{background:#fff7f7}.mapa-mail-debug-empty,.mapa-mail-debug-loading{display:flex;align-items:flex-start;gap:12px;color:#50575e}.mapa-mail-debug-empty>.dashicons{margin-top:2px;color:#646970}.mapa-mail-debug-empty>div,.mapa-mail-debug-loading>div{display:grid;gap:4px}.mapa-mail-debug-loading .spinner{float:none;margin:2px 0 0}.mapa-mail-debug-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 0 14px;border-bottom:1px solid rgba(0,0,0,.08)}.mapa-mail-debug-summary>div{display:grid;gap:4px}.mapa-mail-debug-summary strong{font-size:16px}.mapa-mail-debug-summary span{color:#50575e}.mapa-mail-debug-time{flex:none;padding:4px 8px;border-radius:999px;background:#fff;border:1px solid #dcdcde;font-size:11px!important;font-weight:700}.mapa-mail-debug-steps{display:grid;margin-top:10px}.mapa-mail-debug-step{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid rgba(0,0,0,.07)}.mapa-mail-debug-step:last-child{border-bottom:0}.mapa-mail-debug-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#787c82}.mapa-mail-debug-step.is-ok .mapa-mail-debug-dot{background:#16803a}.mapa-mail-debug-step.is-error .mapa-mail-debug-dot{background:#d63638}.mapa-mail-debug-step.is-warning .mapa-mail-debug-dot{background:#dba617}.mapa-mail-debug-step>div{display:grid;gap:3px}.mapa-mail-debug-step>div>span{color:#50575e;line-height:1.45;overflow-wrap:anywhere}.mapa-mail-debug-step>small{color:#787c82;white-space:nowrap}.mapa-mail-debug-suggestions{margin-top:14px;padding:13px 15px;border:1px solid #dcdcde;border-radius:9px;background:#fff}.mapa-mail-debug-suggestions ul{margin:8px 0 0 19px}.mapa-mail-debug-suggestions li{margin:5px 0;line-height:1.45}.mapa-mail-debug-trace{margin-top:14px;border:1px solid #2b2b2d;border-radius:9px;background:#fff;color:#353535;overflow:hidden}.mapa-mail-debug-trace>summary{padding:11px 14px;cursor:pointer;font-weight:700;background:#fff}.mapa-mail-debug-trace pre{max-height:360px;overflow:auto;margin:0;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#d8d8dc;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.mapa-mail-debug-result.is-error .mapa-mail-debug-summary strong{color:#9b101a}.mapa-mail-debug-result.is-success .mapa-mail-debug-summary strong{color:#176b36}
@media(max-width:900px){.mapa-mail-debug-controls{grid-template-columns:1fr}.mapa-mail-debug-controls>.description{grid-column:auto}}@media(max-width:600px){.mapa-mail-debug-summary{display:grid}.mapa-mail-debug-step{grid-template-columns:12px 1fr}.mapa-mail-debug-step>small{grid-column:2}.mapa-mail-debug-actions .button{width:100%;justify-content:center}}

/* Portal MAPA 2.1 — per-user Strefa permissions */
.mapa-permissions-layout{display:grid;gap:20px}.mapa-permissions-user-picker select{width:min(100%,620px);min-height:44px}.mapa-permission-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mapa-permission-card{border:1px solid #dcdcde;border-radius:14px;padding:16px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.mapa-permission-card.is-allowed{border-color:rgba(0,128,0,.28);box-shadow:inset 3px 0 0 #2e8b57}.mapa-permission-card.is-denied{box-shadow:inset 3px 0 0 #9ca3af}.mapa-permission-card__title{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:start}.mapa-permission-card__title>.dashicons{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f2f3f5;color:#b20b18}.mapa-permission-card__title strong{display:block;font-size:14px;margin-bottom:4px}.mapa-permission-card__title small{display:block;color:#646970;line-height:1.4}.mapa-permission-effective{font-size:11px;font-weight:700;border-radius:999px;padding:5px 9px;background:#f0f0f1;color:#50575e;white-space:nowrap}.mapa-permission-card.is-allowed .mapa-permission-effective{background:#e9f7ee;color:#176b37}.mapa-permission-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.mapa-permission-options label{position:relative}.mapa-permission-options input{position:absolute;opacity:0;pointer-events:none}.mapa-permission-options span{display:block;text-align:center;padding:9px 8px;border:1px solid #dcdcde;border-radius:9px;background:#f6f7f7;font-size:12px;font-weight:600;cursor:pointer}.mapa-permission-options input:checked+span{border-color:#b20b18;background:#fff1f2;color:#8d0b16;box-shadow:0 0 0 1px #b20b18}.mapa-permission-options input:focus-visible+span{outline:2px solid #2271b1;outline-offset:2px}@media(max-width:1000px){.mapa-permission-cards{grid-template-columns:1fr}}@media(max-width:620px){.mapa-permission-card__title{grid-template-columns:36px minmax(0,1fr)}.mapa-permission-effective{grid-column:2;justify-self:start}.mapa-permission-options{grid-template-columns:1fr}}

/* v2.1.0 — Strefa MAPA role access matrix */
.mapa-role-permissions-editor{margin:20px 0 24px}
.mapa-role-permissions-table-wrap{overflow:auto;border:1px solid #dcdcde;border-radius:12px}
.mapa-role-permissions-table{border:0!important;min-width:760px}
.mapa-role-permissions-table th,.mapa-role-permissions-table td{vertical-align:middle;padding:14px 16px}
.mapa-role-permissions-table thead th:not(:first-child){text-align:center;min-width:130px}
.mapa-role-permissions-table tbody td{text-align:center}
.mapa-role-permission-name{display:flex;align-items:flex-start;gap:10px;text-align:left;min-width:300px}
.mapa-role-permission-name>.dashicons{color:#d3232a;margin-top:2px}
.mapa-role-permission-name strong,.mapa-role-permission-name small{display:block}
.mapa-role-permission-name small{font-weight:400;color:#646970;margin-top:3px;line-height:1.35}
.mapa-switch-check,.mapa-standard-check{display:inline-flex;align-items:flex-start;gap:8px;cursor:pointer;font-style:normal}.mapa-switch-check input,.mapa-standard-check input[type=checkbox]{position:static;opacity:1;pointer-events:auto;flex:0 0 auto;margin:1px 0 0!important}.mapa-switch-check>span[aria-hidden=true]{display:none}.mapa-switch-check em,.mapa-standard-check>span{font-style:normal;color:#2c3338}.mapa-role-permission-check{align-items:center;justify-content:center;gap:7px}.mapa-role-permission-check>span{font-size:12px;min-width:42px;text-align:left;color:#50575e}.mapa-policy-form>label.mapa-policy-standard-check{display:flex;grid-template-columns:none;align-items:flex-start;gap:10px;min-height:0;padding:15px 0;border:0;border-bottom:1px solid #ececec;border-radius:0;background:transparent;box-shadow:none}.mapa-policy-standard-check>span{display:grid;gap:3px;min-width:0}.mapa-policy-standard-check>span strong{font-weight:600}.mapa-policy-standard-check>span small{color:#646970;line-height:1.4}.mapa-standard-check--card{align-items:flex-start;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fafafa}.mapa-standard-check--card>span{display:grid;gap:3px}.mapa-standard-check--card small{color:#646970;line-height:1.4}
@media(max-width:782px){.mapa-role-permissions-table th,.mapa-role-permissions-table td{padding:11px 12px}.mapa-role-permission-name{min-width:240px}}

/* v2.1.1 accounts UX and identity settings */
.mapa-manager-heading__side{display:grid;justify-items:end;gap:10px;min-width:290px}.mapa-manager-heading__side>.button{justify-self:end}.mapa-identity-grid{grid-template-columns:1fr}.mapa-account-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}.mapa-account-delete-form{display:inline-flex;margin:0}.mapa-account-delete-button{color:#b32d2e!important;border-color:#d63638!important;text-decoration:none!important}.mapa-account-delete-button:hover,.mapa-account-delete-button:focus{color:#fff!important;background:#b32d2e!important;border-color:#8a2424!important}.mapa-identity-settings-admin .mapa-identity-policy{max-width:980px}.mapa-identity-settings-admin .mapa-policy-form{padding:10px 22px 22px}.mapa-identity-settings-admin .mapa-policy-form .mapa-identity-form-actions{margin-top:18px}.mapa-identity-settings-admin .mapa-policy-form>.description{margin:14px 0 0}.mapa-settings-tab .dashicons-lock{color:inherit}@media(max-width:900px){.mapa-manager-heading__side{width:100%;min-width:0;justify-items:stretch}.mapa-manager-heading__side>.button{justify-self:stretch;text-align:center}.mapa-manager-heading{flex-direction:column}.mapa-manager-tip{width:100%;box-sizing:border-box}}

/* v2.1.4 — login branding controls */
.mapa-login-branding-settings{max-width:1180px;margin-top:18px}.mapa-login-branding-form{padding:20px 22px 22px}.mapa-login-branding-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.8fr);gap:24px;align-items:start}.mapa-login-logo-setting{display:grid;gap:10px;padding:16px;border:1px solid #e2e4e7;border-radius:12px;background:#fafbfc}.mapa-login-logo-setting>label{display:grid;gap:5px}.mapa-login-logo-setting small{color:#646970;line-height:1.45}.mapa-login-logo-setting .mapa-media-preview{display:grid;place-items:center;min-height:180px;padding:18px;border:1px dashed #c3c4c7;border-radius:10px;background:#fff}.mapa-login-logo-setting .mapa-media-preview img{display:block;max-width:220px;max-height:180px;width:auto;height:auto;object-fit:contain}.mapa-login-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.mapa-login-copy-grid label{display:grid;gap:6px}.mapa-login-copy-grid label>span{font-weight:600;color:#2c3338}.mapa-login-copy-grid input,.mapa-login-copy-grid textarea{width:100%;border-radius:7px}.mapa-login-copy-grid textarea{min-height:84px;resize:vertical}.mapa-login-branding-form>.mapa-identity-form-actions{margin-top:20px;padding-top:18px;border-top:1px solid #ececec}.mapa-login-branding-settings .mapa-media-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:960px){.mapa-login-branding-layout{grid-template-columns:1fr}.mapa-login-copy-grid{grid-template-columns:1fr}}

/* Player relationship search + bulk import (v2.4.1). */
.mapa-player-primary-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.mapa-relationship-picker{position:relative;display:grid;gap:9px}.mapa-search-field{display:block}.mapa-search-field input[type=search]{width:100%;min-height:42px;border-radius:8px}.mapa-selected-relationships{display:flex;flex-wrap:wrap;gap:8px}.mapa-relationship-chip{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:8px 9px 8px 11px;border:1px solid #e0a2a7;border-radius:10px;background:#fff6f7}.mapa-relationship-chip>span{display:grid;min-width:0;gap:1px}.mapa-relationship-chip strong,.mapa-relationship-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapa-relationship-chip small{color:#646970}.mapa-relationship-chip button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:transparent;color:#646970;font-size:20px;line-height:1;cursor:pointer}.mapa-relationship-chip button:hover,.mapa-relationship-chip button:focus{background:#f1dadd;color:#a5101a;outline:none}.mapa-no-selection{display:inline-flex;align-items:center;min-height:34px;color:#646970;font-style:italic}.mapa-dynamic-results{position:relative;z-index:3;max-height:290px;overflow:auto;border:1px solid #c3c4c7;border-radius:9px;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.12)}.mapa-dynamic-result{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:0;border-bottom:1px solid #ececec;background:#fff;text-align:left;cursor:pointer}.mapa-dynamic-result:last-child{border-bottom:0}.mapa-dynamic-result:hover,.mapa-dynamic-result:focus{background:#fff6f7;outline:none}.mapa-dynamic-result>span:first-child{display:grid;gap:2px;min-width:0}.mapa-dynamic-result strong,.mapa-dynamic-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapa-dynamic-result small{color:#646970}.mapa-match-badge{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#fbeaec;color:#a5101a;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.mapa-dynamic-results__empty{padding:12px;color:#646970}.mapa-player-import-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:18px;align-items:start}.mapa-player-import-form{display:grid;gap:16px;padding:20px}.mapa-player-import-drop{display:grid;gap:7px;padding:18px;border:1px dashed #c3c4c7;border-radius:10px;background:#fafafa}.mapa-player-import-drop span{font-weight:700}.mapa-player-import-drop input[type=file]{width:100%}.mapa-player-import-help{display:grid;gap:10px;padding:18px}.mapa-player-import-help p{margin:0}.mapa-player-import-columns{margin:0;padding-left:20px}.mapa-player-import-columns li{margin:5px 0}.mapa-import-report{margin-top:18px}.mapa-import-report__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px}.mapa-import-report__summary>div{display:grid;gap:3px;padding:12px;border:1px solid #e1e3e6;border-radius:9px;background:#fafbfc}.mapa-import-report__summary span{font-size:11px;color:#646970;text-transform:uppercase;font-weight:700}.mapa-import-report__summary strong{font-size:22px}.mapa-import-report__details{padding:0 18px 18px}.mapa-import-report__details table{width:100%}.mapa-import-report__details td,.mapa-import-report__details th{padding:8px;border-bottom:1px solid #ececec;text-align:left;vertical-align:top}
@media(max-width:980px){.mapa-player-import-grid{grid-template-columns:1fr}.mapa-import-report__summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.mapa-player-primary-actions{justify-content:stretch}.mapa-player-primary-actions .button{flex:1;text-align:center}.mapa-import-report__summary{grid-template-columns:1fr}}

/* Player bulk operations, account lifecycle and import preview (v2.5.0). */
.mapa-player-bulkbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid #ececec;background:#fbfbfc}.mapa-player-bulkbar select{min-width:210px}.mapa-bulk-selected-count{margin-left:auto;color:#646970;font-weight:600}.mapa-bulk-guardian{position:relative;display:flex;align-items:center;gap:8px;min-width:300px}.mapa-bulk-guardian[hidden],.mapa-player-bulkbar select[hidden]{display:none!important}.mapa-bulk-guardian input[type=search]{min-width:240px}.mapa-bulk-guardian .mapa-dynamic-results{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:20}.mapa-bulk-guardian [data-mapa-bulk-guardian-selected] .mapa-relationship-chip{padding:5px 7px}.mapa-players-table .check-column{width:34px;padding-left:12px}.mapa-account-cell-actions{display:grid;justify-items:start;gap:6px}.mapa-account-state{display:inline-grid;gap:1px;padding:6px 8px;border-radius:8px;border:1px solid #dcdcde;background:#f6f7f7;max-width:230px}.mapa-account-state strong{font-size:12px}.mapa-account-state small{font-size:10px;color:#646970;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.mapa-account-state--success{border-color:#8ccca0;background:#edf9f0;color:#176b33}.mapa-account-state--warning{border-color:#e4c36d;background:#fff8e5;color:#7a5700}.mapa-account-state--error{border-color:#e6a4a8;background:#fff1f2;color:#9a1018}.mapa-account-state--info{border-color:#9fc5e8;background:#f0f7fd;color:#135e96}.mapa-account-state--muted{color:#50575e}.mapa-import-preview{margin-top:18px}.mapa-import-preview__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px}.mapa-import-preview__summary>div{display:grid;gap:3px;padding:12px;border:1px solid #e1e3e6;border-radius:9px;background:#fafbfc}.mapa-import-preview__summary span{font-size:11px;color:#646970;text-transform:uppercase;font-weight:700}.mapa-import-preview__summary strong{font-size:22px}.mapa-import-preview__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px 18px}.mapa-import-preview__table{padding:0 18px 18px;overflow:auto}.mapa-import-preview__table table{width:100%;min-width:900px;border-collapse:collapse}.mapa-import-preview__table th,.mapa-import-preview__table td{padding:8px;border-bottom:1px solid #ececec;text-align:left;vertical-align:top}.mapa-import-row-state{display:inline-block;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase}.mapa-import-row-state--ready{background:#edf9f0;color:#176b33}.mapa-import-row-state--warning{background:#fff8e5;color:#7a5700}.mapa-import-row-state--duplicate,.mapa-import-row-state--error{background:#fff1f2;color:#9a1018}.mapa-import-preview-note{color:#646970;font-size:12px}.mapa-import-analysis-form .button-hero{min-width:190px}
@media(max-width:980px){.mapa-player-bulkbar{align-items:stretch}.mapa-player-bulkbar>*{width:100%;max-width:none}.mapa-bulk-selected-count{margin-left:0}.mapa-bulk-guardian{min-width:0}.mapa-bulk-guardian input[type=search]{min-width:0;flex:1}.mapa-import-preview__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-import-preview__actions{align-items:stretch;flex-direction:column}}@media(max-width:640px){.mapa-import-preview__summary{grid-template-columns:1fr}}

/* Player Data & Profile Improvements (v2.6.0). */
.mapa-player-quality-center{margin-bottom:18px}.mapa-quality-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px}.mapa-quality-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:13px;border:1px solid #dcdcde;border-radius:11px;background:#fff;color:#1d2327;text-decoration:none!important;box-shadow:0 1px 2px rgba(0,0,0,.03)}.mapa-quality-card>.dashicons{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#f6f7f7;color:#8a2424}.mapa-quality-card>strong{font-size:22px;line-height:1.1}.mapa-quality-card>span:last-child{font-size:11px;color:#646970;font-weight:600}.mapa-quality-card:hover,.mapa-quality-card:focus,.mapa-quality-card.is-active{border-color:#d63638;background:#fff7f7;outline:none}.mapa-quality-card.is-clear{opacity:.62}.mapa-quality-card.is-clear>.dashicons{color:#176b33;background:#edf9f0}.mapa-quality-active{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 16px;color:#50575e}.mapa-subsection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.mapa-subsection-heading h3{margin:0}.mapa-subsection-heading .button{display:inline-flex;align-items:center;gap:4px}.mapa-subsection-heading .dashicons{font-size:16px;width:16px;height:16px;line-height:1.3}.mapa-duplicate-check{margin:14px 0;padding:13px;border:1px solid #e4c36d;border-radius:10px;background:#fffaf0}.mapa-duplicate-check[hidden]{display:none!important}.mapa-duplicate-check__head{display:flex;align-items:flex-start;gap:9px;margin-bottom:9px;color:#7a5700}.mapa-duplicate-check__head>.dashicons{margin-top:2px}.mapa-duplicate-check__head>div{display:grid;gap:2px}.mapa-duplicate-check__head small{color:#6b5b2a}.mapa-duplicate-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(122,87,0,.14)}.mapa-duplicate-candidate>div{display:grid;gap:2px;min-width:0}.mapa-duplicate-candidate small{color:#646970}.mapa-duplicate-candidate span{font-size:11px;color:#7a5700}.mapa-player-history-card{margin-top:18px}.mapa-player-history{padding:6px 18px 18px}.mapa-history-entry{display:grid;gap:8px;padding:13px 0;border-bottom:1px solid #ececec}.mapa-history-entry:last-child{border-bottom:0}.mapa-history-entry__meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.mapa-history-entry__meta span{font-size:11px;color:#646970;white-space:nowrap}.mapa-history-changes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mapa-history-changes>div{display:grid;gap:2px;padding:8px 9px;border-radius:8px;background:#f6f7f7}.mapa-history-changes strong{font-size:11px}.mapa-history-changes span{font-size:11px;color:#50575e;overflow-wrap:anywhere}.mapa-modal-backdrop{position:fixed;inset:0;z-index:100100;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.52)}.mapa-modal-backdrop[hidden]{display:none!important}.mapa-quick-modal{width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.3)}.mapa-quick-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 14px;border-bottom:1px solid #ececec}.mapa-quick-modal__head h2{margin:3px 0 0}.mapa-modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#f1f1f1;color:#50575e;font-size:24px;cursor:pointer}.mapa-quick-modal form{display:grid;gap:16px;padding:20px 22px 22px}.mapa-quick-modal__actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.mapa-modal-message{padding:10px 12px;border-radius:8px;font-weight:600}.mapa-modal-message.is-success{background:#edf9f0;color:#176b33}.mapa-modal-message.is-error{background:#fff1f2;color:#9a1018}
@media(max-width:1180px){.mapa-quality-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.mapa-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-quality-active,.mapa-history-entry__meta,.mapa-subsection-heading{align-items:stretch;flex-direction:column}.mapa-history-changes{grid-template-columns:1fr}.mapa-history-entry__meta span{white-space:normal}}@media(max-width:480px){.mapa-quality-grid{grid-template-columns:1fr}}

/* Player Profile 2.0 (v2.7.0). */
.mapa-player-cell--link{color:inherit;text-decoration:none}.mapa-player-cell--link:hover strong,.mapa-player-cell--link:focus strong{color:#b30b16;text-decoration:underline}.mapa-row-actions{display:flex;gap:6px;flex-wrap:wrap}.mapa-inline-form{display:inline;margin:0}.mapa-player-profile-page{max-width:1680px}.mapa-player-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(280px,auto);gap:20px;align-items:center;margin-bottom:16px;padding:22px 24px;border:1px solid #dcdcde;border-radius:16px;background:linear-gradient(135deg,#fff 0%,#f8f8f9 100%);box-shadow:0 3px 16px rgba(0,0,0,.04)}.mapa-player-profile-avatar{display:grid;place-items:center;width:92px;height:92px;border-radius:22px;overflow:hidden;background:#f2f2f3;border:1px solid #dcdcde;color:#8c8f94}.mapa-player-profile-avatar img{width:100%;height:100%;object-fit:cover}.mapa-player-profile-avatar .dashicons{width:42px;height:42px;font-size:42px}.mapa-player-profile-identity h1{margin:3px 0 7px;font-size:30px;line-height:1.1}.mapa-player-profile-identity>p{margin:8px 0 0;color:#646970}.mapa-player-profile-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mapa-player-profile-badges .mapa-account-state{display:inline-flex;align-items:center;gap:6px;padding:4px 8px}.mapa-player-profile-badges .mapa-account-state small{display:none}.mapa-player-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mapa-player-profile-actions .button{min-height:34px;display:inline-flex;align-items:center}.mapa-player-profile-alerts{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:13px 16px;border:1px solid #e4c36d;border-radius:11px;background:#fffaf0}.mapa-player-profile-alerts>div:first-child{display:grid;gap:2px;min-width:170px}.mapa-player-profile-alerts>div:first-child span{font-size:11px;color:#7a5700}.mapa-player-profile-alert-list{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mapa-player-profile-alert-list a{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid rgba(122,87,0,.18);border-radius:8px;background:#fff;color:#6b5200;text-decoration:none;font-size:12px;font-weight:600}.mapa-player-profile-alert-list a:hover{border-color:#b48b13}.mapa-player-profile-alert-list .dashicons{width:15px;height:15px;font-size:15px}.mapa-player-profile-tabs{display:flex;gap:5px;overflow:auto;margin-bottom:16px;padding:6px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-player-profile-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 0 auto;min-width:118px;padding:10px 12px;border-radius:8px;color:#3c434a;text-decoration:none;font-weight:600;white-space:nowrap}.mapa-player-profile-tabs a:hover,.mapa-player-profile-tabs a:focus{background:#f6f7f7;color:#b30b16}.mapa-player-profile-tabs a.is-active{background:#e20716;color:#fff}.mapa-player-profile-tabs .dashicons{width:17px;height:17px;font-size:17px}.mapa-player-profile-content{display:grid;gap:16px}.mapa-player-profile-content>.mapa-admin-card,.mapa-player-profile-content>.mapa-player-history-card{margin-top:0}.mapa-player-profile-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mapa-player-profile-stats article{display:grid;gap:3px;padding:15px 16px;border:1px solid #dcdcde;border-radius:11px;background:#fff}.mapa-player-profile-stats article span{color:#646970;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.mapa-player-profile-stats article strong{font-size:25px;line-height:1.05;color:#1d2327}.mapa-player-profile-stats article small{color:#646970}.mapa-player-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mapa-profile-definition-list{display:grid;margin:0;padding:0 20px 18px}.mapa-profile-definition-list>div{display:grid;grid-template-columns:minmax(140px,35%) minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid #f0f0f1}.mapa-profile-definition-list>div:last-child{border-bottom:0}.mapa-profile-definition-list dt{color:#646970}.mapa-profile-definition-list dd{margin:0;font-weight:600;overflow-wrap:anywhere}.mapa-profile-account-summary{display:grid;gap:14px;padding:0 0 18px}.mapa-profile-account-summary>.mapa-account-state{margin-left:20px}.mapa-profile-account-summary>.button{justify-self:start;margin-left:20px}.mapa-player-profile-notes .mapa-profile-notes-body{padding:0 20px 20px;line-height:1.6}.mapa-player-profile-card-list{display:grid;gap:10px;padding:0 18px 18px}.mapa-player-profile-card-list article{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid #e1e3e6;border-radius:10px;background:#fafbfc}.mapa-player-profile-card-list article>div:nth-child(2){display:grid;gap:2px;min-width:0;flex:1}.mapa-player-profile-card-list article>div:nth-child(2) span,.mapa-player-profile-card-list article>div:nth-child(2) small{color:#646970}.mapa-profile-card-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#fbeaec;color:#c20c18}.mapa-profile-section-actions{display:flex;justify-content:flex-end;padding:0 18px 18px}.mapa-profile-empty{display:grid;justify-items:center;gap:5px;padding:28px 18px;text-align:center;color:#646970}.mapa-profile-empty>.dashicons{width:32px;height:32px;font-size:32px;color:#8c8f94}.mapa-profile-empty strong{color:#2c3338}.mapa-profile-empty p{margin:0;max-width:560px}.mapa-profile-action-stack{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;padding:0 20px 20px}.mapa-player-profile-info{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #9fc5e8;border-radius:10px;background:#f0f7fd;color:#135e96}.mapa-player-profile-info>.dashicons{margin-top:2px}.mapa-player-profile-info p{margin:4px 0 0;color:#355f7d}.mapa-profile-training-table{min-width:900px}.mapa-player-profile-event-list,.mapa-player-profile-document-list{display:grid;gap:9px;padding:0 18px 18px}.mapa-player-profile-event-list article,.mapa-player-profile-document-list article{display:flex;align-items:center;gap:14px;padding:13px;border:1px solid #e1e3e6;border-radius:10px;background:#fafbfc}.mapa-player-profile-event-list article>div:first-child,.mapa-player-profile-document-list article>div:first-child{display:grid;gap:2px;min-width:0;flex:1}.mapa-player-profile-event-list article>div:first-child small,.mapa-player-profile-document-list article>div:first-child small{color:#646970}.mapa-profile-event-date,.mapa-player-profile-document-list article>div:first-child>span{color:#b30b16;font-size:11px;font-weight:700;text-transform:uppercase}.mapa-profile-event-status{display:grid;justify-items:end;gap:4px}.mapa-profile-event-status small{color:#646970}.mapa-profile-document-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:1200px){.mapa-player-profile-hero{grid-template-columns:auto 1fr}.mapa-player-profile-actions{grid-column:1/-1;justify-content:flex-start}.mapa-player-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-player-profile-alerts{align-items:flex-start;flex-direction:column}.mapa-player-profile-alert-list{justify-content:flex-start}}
@media(max-width:780px){.mapa-player-profile-hero{grid-template-columns:1fr;text-align:center}.mapa-player-profile-avatar{margin:0 auto}.mapa-player-profile-badges,.mapa-player-profile-actions{justify-content:center}.mapa-player-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-player-profile-grid{grid-template-columns:1fr}.mapa-player-profile-card-list article,.mapa-player-profile-event-list article,.mapa-player-profile-document-list article{align-items:flex-start;flex-wrap:wrap}.mapa-profile-event-status{justify-items:start}.mapa-profile-definition-list>div{grid-template-columns:1fr;gap:3px}}
@media(max-width:480px){.mapa-player-profile-stats{grid-template-columns:1fr}.mapa-player-profile-tabs a{min-width:108px}.mapa-player-profile-actions .button,.mapa-player-profile-actions form{width:100%}.mapa-player-profile-actions form .button{width:100%;justify-content:center}.mapa-player-profile-event-list article>.button,.mapa-profile-document-actions{width:100%}}

/* Attendance & Training Management (v2.8.0). */
.mapa-attendance-admin{max-width:1680px}.mapa-attendance-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:6px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-attendance-tabs a{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border-radius:8px;color:#3c434a;text-decoration:none;font-weight:600}.mapa-attendance-tabs a:hover,.mapa-attendance-tabs a:focus{background:#f6f7f7;color:#b30b16}.mapa-attendance-tabs a.is-active{background:#e20716;color:#fff}.mapa-attendance-today-head,.mapa-attendance-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 16px}.mapa-attendance-today-head h2,.mapa-attendance-editor-head h1{margin:0 0 4px}.mapa-attendance-today-head p,.mapa-attendance-editor-head p{margin:0;color:#646970}.mapa-attendance-editor-head>div>a{display:inline-block;margin:0 0 12px;text-decoration:none}.mapa-attendance-session-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.mapa-attendance-session-card{display:grid;gap:14px;padding:17px;border:1px solid #dcdcde;border-radius:13px;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.035)}.mapa-attendance-session-card.is-cancelled{opacity:.72;background:#f6f7f7}.mapa-attendance-session-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mapa-attendance-session-card header>div{display:grid;gap:3px}.mapa-attendance-session-card header>div>span{color:#b30b16;font-size:12px;font-weight:800}.mapa-attendance-session-card h3{margin:0;font-size:18px}.mapa-attendance-session-card p{margin:0;color:#646970}.mapa-session-state{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f0f0f1;color:#50575e;font-size:11px;font-weight:700;white-space:nowrap}.is-completed .mapa-session-state{background:#edf9f0;color:#176b33}.is-cancelled .mapa-session-state{background:#fff1f2;color:#9a1018}.mapa-attendance-card-metrics{display:flex;gap:12px;flex-wrap:wrap}.mapa-attendance-card-metrics span{display:grid;gap:1px;color:#646970;font-size:11px}.mapa-attendance-card-metrics strong{font-size:18px;color:#1d2327}.mapa-attendance-empty{grid-column:1/-1;border:1px dashed #c3c4c7;border-radius:12px;background:#fff}.mapa-attendance-adhoc-form,.mapa-attendance-generate-form,.mapa-attendance-filter-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:0 18px 18px}.mapa-attendance-adhoc-form label,.mapa-attendance-generate-form label,.mapa-attendance-filter-form label,.mapa-attendance-settings label{display:grid;gap:5px;min-width:145px}.mapa-attendance-adhoc-form label>span,.mapa-attendance-generate-form label>span,.mapa-attendance-filter-form label>span,.mapa-attendance-settings label>span{font-size:11px;font-weight:700;color:#50575e}.mapa-attendance-adhoc-note{flex:1;min-width:220px!important}.mapa-attendance-adhoc-form input,.mapa-attendance-adhoc-form select,.mapa-attendance-generate-form input,.mapa-attendance-generate-form select,.mapa-attendance-filter-form input,.mapa-attendance-filter-form select{min-height:36px}.mapa-attendance-sessions-table td small.mapa-table-kicker{display:block;margin-top:2px;color:#b30b16;font-size:10px;font-weight:700;text-transform:uppercase}.mapa-attendance-group-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 18px 18px}.mapa-attendance-group-stats article{display:grid;gap:4px;padding:14px;border:1px solid #e1e3e6;border-radius:10px;background:#fafbfc}.mapa-attendance-group-stats article>span{font-size:12px;font-weight:700;color:#50575e}.mapa-attendance-group-stats article>strong{font-size:26px}.mapa-attendance-group-stats article>small{color:#646970}.mapa-attendance-settings form{display:flex;align-items:end;gap:10px;padding:0 18px 18px}.mapa-attendance-editor-stats{margin-bottom:16px}.mapa-attendance-mark-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #ececec}.mapa-attendance-mark-toolbar>div{display:flex;gap:7px;flex-wrap:wrap}.mapa-attendance-mark-toolbar label{display:flex;align-items:center;gap:8px;font-weight:600}.mapa-attendance-roster-table td:first-child strong{display:block}.mapa-attendance-roster-table td:first-child small{color:#646970}.mapa-attendance-roster-table select,.mapa-attendance-roster-table input{width:100%;min-width:180px}.mapa-attendance-roster-table tr[data-attendance-status="present"] td:first-child{box-shadow:inset 4px 0 0 #2f8a4c}.mapa-attendance-roster-table tr[data-attendance-status="late"] td:first-child{box-shadow:inset 4px 0 0 #b78500}.mapa-attendance-roster-table tr[data-attendance-status="absent"] td:first-child{box-shadow:inset 4px 0 0 #c30d19}.mapa-attendance-roster-table tr[data-attendance-status="excused"] td:first-child{box-shadow:inset 4px 0 0 #577590}.mapa-attendance-pill{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:11px;font-weight:700;background:#f0f0f1}.mapa-attendance-pill.is-present{background:#edf9f0;color:#176b33}.mapa-attendance-pill.is-late{background:#fff8dd;color:#785d00}.mapa-attendance-pill.is-absent{background:#fff1f2;color:#9a1018}.mapa-attendance-pill.is-excused{background:#eef5fa;color:#355f7d}.mapa-attendance-low-alert{margin:0}.mapa-profile-attendance-table{min-width:780px}
@media(max-width:1200px){.mapa-attendance-session-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-attendance-group-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mapa-attendance-session-cards,.mapa-attendance-group-stats{grid-template-columns:1fr}.mapa-attendance-today-head,.mapa-attendance-editor-head,.mapa-attendance-mark-toolbar{flex-direction:column;align-items:stretch}.mapa-attendance-adhoc-form,.mapa-attendance-generate-form,.mapa-attendance-filter-form,.mapa-attendance-settings form{display:grid;grid-template-columns:1fr}.mapa-attendance-adhoc-form label,.mapa-attendance-generate-form label,.mapa-attendance-filter-form label{min-width:0}.mapa-attendance-mark-toolbar label{justify-content:space-between}}

/* v2.9.0 — training notifications */
.mapa-attendance-communication{margin:18px 0}.mapa-attendance-communication-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mapa-attendance-communication-actions form{margin:0}.mapa-training-notification-settings{margin-top:20px}.mapa-training-notification-form .mapa-compose-grid{align-items:start}.mapa-training-notification-form .mapa-identity-form-actions{margin-top:16px}.mapa-attendance-adhoc-notify>span:last-child{display:flex;align-items:center;gap:8px;min-height:40px}.mapa-attendance-adhoc-notify input{width:auto!important}

/* v3.0.0 — Membership, consent & documentation management */
.mapa-membership-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.mapa-membership-stats>article{display:grid;gap:5px;padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-membership-stats span{color:#646970;font-size:12px;font-weight:700}.mapa-membership-stats strong{font-size:24px;line-height:1.1}.mapa-membership-settings-form,.mapa-membership-group-rates,.mapa-membership-generate-form{display:grid;gap:12px}.mapa-membership-settings-form .mapa-member-form-grid,.mapa-membership-group-rates{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-membership-group-rates>label,.mapa-membership-settings-form label,.mapa-membership-generate-form label,.mapa-consent-form>label,.mapa-sensitive-form>label{display:grid;gap:6px}.mapa-membership-group-rates span,.mapa-membership-settings-form label>span,.mapa-membership-generate-form label>span,.mapa-consent-form>label>span,.mapa-sensitive-form>label>span{font-weight:700}.mapa-filter-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 14px}.mapa-filter-row label{display:grid;gap:5px}.mapa-filter-row label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-table-subline{display:block;margin-top:3px;color:#646970}.mapa-table-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mapa-table-actions form{margin:0}.mapa-membership-adjust{position:relative}.mapa-membership-adjust summary{cursor:pointer;font-weight:600;color:#2271b1}.mapa-membership-adjust form{display:grid;grid-template-columns:90px minmax(150px,1fr) auto;gap:6px;margin-top:7px;padding:8px;border:1px solid #dcdcde;border-radius:8px;background:#f6f7f7}.mapa-consent-layout{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(420px,1.1fr);gap:16px;align-items:start}.mapa-consent-form{display:grid;gap:14px}.mapa-consent-form textarea{width:100%;min-height:220px}.mapa-consent-scope-box{margin:0;padding:12px;border:1px solid #dcdcde;border-radius:10px}.mapa-consent-scope-box legend{padding:0 7px;font-weight:700}.mapa-consent-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mapa-consent-scope-grid label{display:flex;align-items:flex-start;gap:7px}.mapa-consent-list,.mapa-consent-profile-list{display:grid;gap:8px}.mapa-consent-list article,.mapa-consent-profile-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-consent-list article>div:first-child,.mapa-consent-profile-list article>div:first-child{display:grid;gap:3px;min-width:0}.mapa-consent-list article.is-archived{opacity:.62}.mapa-consent-profile-progress{height:9px;margin:12px 0 16px;border-radius:999px;overflow:hidden;background:#e7e8ea}.mapa-consent-profile-progress>span{display:block;height:100%;border-radius:inherit;background:#2271b1}.mapa-sensitive-form{display:grid;gap:13px}.mapa-sensitive-form textarea{min-height:100px;width:100%}.mapa-sensitive-profile-card{max-width:980px}.mapa-sensitive-profile-card .mapa-member-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-sensitive-audit-note{padding:10px 12px;border-left:4px solid #dba617;background:#fff8e5;color:#3c434a}.mapa-membership-history{display:grid;gap:6px;margin-top:8px}.mapa-membership-history>li{display:grid;grid-template-columns:150px 110px 1fr;gap:8px;padding:7px 0;border-top:1px solid #eee}.mapa-membership-history time,.mapa-membership-history small{color:#646970}
@media(max-width:1100px){.mapa-membership-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-consent-layout{grid-template-columns:1fr}}
@media(max-width:720px){.mapa-membership-stats,.mapa-membership-settings-form .mapa-member-form-grid,.mapa-membership-group-rates,.mapa-consent-scope-grid,.mapa-sensitive-profile-card .mapa-member-form-grid{grid-template-columns:1fr}.mapa-membership-adjust form{grid-template-columns:1fr}.mapa-consent-list article,.mapa-consent-profile-list article{align-items:flex-start;flex-direction:column}}
.mapa-consent-version-history{margin-top:7px}.mapa-consent-version-history>summary{cursor:pointer;color:#2271b1;font-size:12px;font-weight:700}.mapa-consent-version-history>div{display:grid;gap:7px;margin-top:7px}.mapa-consent-version-history article{display:grid!important;gap:3px!important;padding:8px!important;background:#f6f7f7!important}.mapa-consent-version-history article p{margin:2px 0 0;color:#50575e;font-size:12px}.mapa-consent-version-history article small{color:#646970}

/* v3.1.0 — Player Development, Competition & Sports Analytics */
.mapa-development-score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.mapa-development-score-grid label,.mapa-development-notes-grid label{display:grid;gap:6px}.mapa-development-score-grid label>span,.mapa-development-notes-grid label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-development-score-grid select{width:100%}.mapa-development-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-development-summary{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:0 18px 18px}.mapa-development-average{display:grid;align-content:center;gap:5px;padding:18px;border:1px solid #dcdcde;border-radius:12px;background:#fafbfc;text-align:center}.mapa-development-average>span,.mapa-development-average>small{color:#646970}.mapa-development-average>strong{font-size:38px;line-height:1}.mapa-development-average>strong small{font-size:16px}.mapa-development-radar-list{display:grid;gap:9px}.mapa-development-radar-list>div{display:grid;grid-template-columns:minmax(150px,220px) minmax(120px,1fr) 44px;gap:10px;align-items:center}.mapa-development-radar-list span{font-size:12px;font-weight:700}.mapa-development-radar-list strong{text-align:right;font-size:12px}.mapa-development-meter{height:9px;border-radius:999px;overflow:hidden;background:#e7e8ea}.mapa-development-meter>i{display:block;height:100%;border-radius:inherit;background:#2271b1}.mapa-competition-kpis,.mapa-sports-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0}.mapa-competition-kpis>div,.mapa-sports-kpis>article{display:grid;gap:4px;padding:14px;border:1px solid #dcdcde;border-radius:11px;background:#fff}.mapa-competition-kpis span,.mapa-sports-kpis span{font-size:11px;color:#646970;font-weight:700}.mapa-competition-kpis strong,.mapa-sports-kpis strong{font-size:24px;line-height:1.1}.mapa-competition-kpis small,.mapa-sports-kpis small{color:#646970}.mapa-competition-roster{min-width:1280px}.mapa-competition-roster input[type=text]{min-width:90px}.mapa-competition-roster input[type=number]{width:70px}.mapa-competition-roster td:last-child input{min-width:180px;width:100%}.mapa-sports-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mapa-sports-attention-list{display:grid;gap:7px;padding:0 18px 18px}.mapa-sports-attention-list>a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #dcdcde;border-radius:9px;background:#fff;color:#1d2327;text-decoration:none}.mapa-sports-attention-list>a:hover{border-color:#2271b1;background:#f6f7f7}.mapa-sports-attention-list>a span{color:#646970;font-size:12px}.mapa-development-player-view>.mapa-competition-kpis{margin:18px 0}.mapa-development-form-card .mapa-check-card{margin-top:14px}
@media(max-width:1250px){.mapa-development-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-competition-kpis,.mapa-sports-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.mapa-development-summary,.mapa-sports-dashboard-grid{grid-template-columns:1fr}.mapa-development-notes-grid{grid-template-columns:1fr}.mapa-development-radar-list>div{grid-template-columns:minmax(120px,180px) 1fr 42px}}
@media(max-width:640px){.mapa-development-score-grid,.mapa-competition-kpis,.mapa-sports-kpis{grid-template-columns:1fr}.mapa-development-radar-list>div{grid-template-columns:1fr 42px}.mapa-development-meter{grid-column:1/-1;grid-row:2}.mapa-sports-attention-list>a{align-items:flex-start;flex-direction:column}}

/* MAPA v3.2.0 — staffing, management dashboard and parent self-service */
.mapa-staffing-kpis,.mapa-management-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0 24px}.mapa-staffing-kpis article,.mapa-management-kpis>a,.mapa-management-kpis>article{display:grid;gap:6px;padding:18px;border:1px solid #dcdcde;border-radius:12px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(0,0,0,.04)}.mapa-staffing-kpis span,.mapa-management-kpis span{font-size:12px;font-weight:700;color:#646970;text-transform:uppercase;letter-spacing:.04em}.mapa-staffing-kpis strong,.mapa-management-kpis strong{font-size:26px;line-height:1.1}.mapa-staffing-kpis small,.mapa-management-kpis small{color:#646970}.mapa-management-kpis .is-warning{border-color:#d63638;background:#fff5f5}.mapa-staffing-availability-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.mapa-staffing-availability-grid article{padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-staffing-availability-grid article>strong{display:block;margin-bottom:10px}.mapa-staffing-availability-grid label{display:inline-flex;align-items:center;gap:4px;margin:0 6px 6px 0}.mapa-staffing-absence-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.6fr) 150px 150px minmax(180px,1fr) auto;gap:10px;align-items:end;margin-bottom:18px}.mapa-row-warning td{background:#fff5f5!important}.mapa-manager-tip.is-warning{border-color:#d63638}.mapa-occupancy{width:130px;height:8px;margin:0 0 5px;border-radius:999px;background:#e9e9ea;overflow:hidden}.mapa-occupancy span{display:block;height:100%;background:#2271b1;border-radius:inherit}.mapa-selfservice-admin .mapa-inline-actions{display:flex;gap:6px;flex-wrap:wrap}.mapa-selfservice-admin td small{display:block;color:#646970;margin-top:3px}.mapa-status--pending{background:#f0f0f1;color:#50575e}.mapa-status--approved{background:#edfaef;color:#146c2e}.mapa-status--rejected{background:#fff0f0;color:#a32020}
@media(max-width:1100px){.mapa-staffing-absence-form{grid-template-columns:1fr 1fr 1fr}.mapa-staffing-absence-form button{width:max-content}}
@media(max-width:700px){.mapa-staffing-absence-form{grid-template-columns:1fr}.mapa-staffing-kpis,.mapa-management-kpis{grid-template-columns:1fr}.mapa-staffing-availability-grid{grid-template-columns:1fr}}

/* MAPA v3.3.0 — Privacy & Compliance Center */
.mapa-privacy-admin .mapa-manager-stats{margin-bottom:22px}.mapa-privacy-documents .mapa-admin-fields{display:grid;gap:10px}.mapa-privacy-doc-editor{border:1px solid #dcdcde;border-radius:10px;background:#fff;overflow:hidden}.mapa-privacy-doc-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;background:#f6f7f7}.mapa-privacy-doc-editor>summary span{padding:3px 8px;border-radius:999px;background:#ececef;color:#50575e;font-size:12px;font-weight:700}.mapa-privacy-doc-fields{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:16px}.mapa-privacy-doc-fields>label{display:grid;gap:6px;font-weight:600}.mapa-privacy-doc-fields .mapa-field-full{grid-column:1/-1}.mapa-privacy-doc-fields textarea{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.5}.mapa-privacy-breach-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.4fr);gap:20px}.mapa-privacy-breach-grid>form{display:grid;gap:10px}.mapa-privacy-breach-grid>form label{display:grid;gap:5px;font-weight:600}.mapa-privacy-breach-grid>form label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.mapa-privacy-breach-list{display:grid;align-content:start;gap:8px}.mapa-privacy-breach-list article{padding:12px 14px;border:1px solid #dcdcde;border-radius:9px;background:#fff}.mapa-privacy-breach-list article>span{display:block;margin:3px 0;color:#646970;font-size:12px}.mapa-privacy-breach-list article p{margin:6px 0 0}.mapa-privacy-admin td form{display:grid;gap:6px;min-width:220px}.mapa-privacy-admin td form textarea,.mapa-privacy-admin td form select{width:100%}.mapa-privacy-admin .mapa-admin-choice-stack{display:grid;gap:8px}.mapa-privacy-admin .mapa-admin-choice-stack label{display:flex;gap:7px;align-items:center}.mapa-privacy-admin code{white-space:normal}.mapa-privacy-admin .mapa-table-scroll{overflow-x:auto}
@media(max-width:1100px){.mapa-privacy-doc-fields{grid-template-columns:1fr 1fr}.mapa-privacy-doc-fields .mapa-field-full{grid-column:1/-1}.mapa-privacy-breach-grid{grid-template-columns:1fr}}
@media(max-width:720px){.mapa-privacy-doc-fields{grid-template-columns:1fr}.mapa-privacy-doc-fields .mapa-field-full{grid-column:auto}}
.mapa-privacy-version-history{grid-column:1/-1;margin-top:10px;padding:10px 12px;border:1px solid #dcdcde;border-radius:8px;background:#f9f9fa}.mapa-privacy-version-history>summary{cursor:pointer;font-weight:700}.mapa-privacy-version-history ul{margin:10px 0 0 18px}.mapa-privacy-version-history li{margin:5px 0}.mapa-privacy-version-history small{color:#646970}
.mapa-privacy-count-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mapa-privacy-breach-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mapa-privacy-breach-list article>small{display:block;margin-top:4px;color:#646970}.mapa-privacy-breach-list article>small.is-overdue{color:#b32d2e;font-weight:700}.mapa-privacy-breach-list dl{display:flex;gap:16px;margin:9px 0 0}.mapa-privacy-breach-list dl div{display:flex;gap:5px}.mapa-privacy-breach-list dt{font-weight:700}.mapa-privacy-breach-list dd{margin:0}.mapa-privacy-extend{display:flex!important;align-items:center;gap:6px;font-size:12px}
@media(max-width:600px){.mapa-privacy-count-grid{grid-template-columns:1fr}.mapa-privacy-breach-head{align-items:flex-start;flex-direction:column}}

/* v3.4.4 — scalable recipient picker for Communication/Documents. */
.mapa-recipient-workspace{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.4fr);gap:14px}.mapa-recipient-groups,.mapa-recipient-direct{min-width:0;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-recipient-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.mapa-recipient-section-head>div{display:grid;gap:2px}.mapa-recipient-section-head small{color:#646970;font-size:12px}.mapa-recipient-section-head>span{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#fbeaec;color:#a5101a;font-size:11px;font-weight:700}.mapa-recipient-search-field{display:block}.mapa-recipient-search-field input,.mapa-recipient-search-toolbar select{width:100%;min-width:0}.mapa-recipient-groups .mapa-checkbox-grid--compact{max-height:220px;margin-top:9px}.mapa-recipient-search-toolbar{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(150px,.6fr) minmax(150px,.7fr);gap:8px}.mapa-recipient-search-status{min-height:34px;padding:9px 1px 6px;color:#646970;font-size:12px}.mapa-recipient-results{display:grid;max-height:300px;overflow:auto;border-top:1px solid #dcdcde}.mapa-recipient-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #ececec}.mapa-recipient-result>span{display:grid;gap:2px;min-width:0}.mapa-recipient-result strong,.mapa-recipient-result small{overflow-wrap:anywhere}.mapa-recipient-result small{color:#646970}.mapa-recipient-selected{margin-top:12px;padding-top:11px;border-top:1px solid #dcdcde}.mapa-recipient-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.mapa-recipient-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:6px 7px 6px 9px;border:1px solid #f0b6ba;border-radius:8px;background:#fff8f8}.mapa-recipient-chip>span{display:grid;min-width:0}.mapa-recipient-chip strong,.mapa-recipient-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapa-recipient-chip small{color:#646970;font-size:11px}.mapa-recipient-chip button{display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:50%;background:#f0f0f1;color:#1d2327;cursor:pointer;font-size:18px}.mapa-recipient-selected-empty{margin:8px 0 0;color:#646970;font-size:12px}
@media(max-width:1100px){.mapa-recipient-workspace{grid-template-columns:1fr}.mapa-recipient-search-toolbar{grid-template-columns:1fr 1fr}.mapa-recipient-search-toolbar .mapa-recipient-search-field{grid-column:1/-1}}
@media(max-width:760px){.mapa-recipient-search-toolbar{grid-template-columns:1fr}.mapa-recipient-search-toolbar .mapa-recipient-search-field{grid-column:auto}}

/* v3.5.0 — scalable list controls */
.mapa-scale-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px}.mapa-scale-toolbar form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mapa-scale-toolbar__spacer{flex:1}.mapa-scale-pagination{display:flex;justify-content:flex-end;margin-top:18px}.mapa-scale-pagination ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.mapa-scale-pagination a,.mapa-scale-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border:1px solid rgba(255,255,255,.14);border-radius:8px;text-decoration:none}.mapa-scale-pagination .current{background:#e20716;border-color:#e20716;color:#fff}.mapa-scale-quickviews{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.mapa-scale-quickviews a{padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;text-decoration:none}.mapa-scale-quickviews a.is-active{border-color:#e20716;background:rgba(226,7,22,.12)}

/* v3.5.0: clickable membership KPI cards keep the same visual hierarchy as statistic cards. */
.mapa-membership-stats>a{display:grid;gap:5px;padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff;color:inherit;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.mapa-membership-stats>a:hover,.mapa-membership-stats>a:focus-visible{border-color:#9ca3af;box-shadow:0 5px 14px rgba(0,0,0,.08);transform:translateY(-1px);outline:none}.mapa-membership-stats>a span{color:#646970;font-size:12px;font-weight:700}.mapa-membership-stats>a strong{font-size:24px;line-height:1.1}.mapa-membership-stats>a small{color:#646970}
.mapa-scale-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.mapa-scale-summary>span{display:grid;gap:2px;padding:11px 13px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-scale-summary strong{font-size:20px}.mapa-scale-summary small{color:#646970}.mapa-group-scale-toolbar{margin-bottom:14px}.mapa-scale-result-count{align-self:end;padding:7px 0;font-weight:700;color:#50575e}@media(max-width:782px){.mapa-scale-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v3.5.5 — compact expandable management records */
.mapa-record-list{display:grid;gap:10px;padding:16px 18px 18px}
.mapa-record-accordion{min-width:0;border:1px solid var(--mapa-line,#d8d8d2);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}
.mapa-record-accordion.is-open{border-color:color-mix(in srgb,var(--mapa-red,#e20716) 58%,#343438);box-shadow:0 0 0 1px color-mix(in srgb,var(--mapa-red,#e20716) 16%,transparent)}
.mapa-record-summary{display:grid;grid-template-columns:auto auto minmax(180px,1.2fr) minmax(220px,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 14px;cursor:pointer;background:#fff}
.mapa-record-summary:hover{background:#fff}.mapa-record-summary:focus{outline:2px solid color-mix(in srgb,var(--mapa-red,#e20716) 40%,transparent);outline-offset:-2px}
.mapa-record-summary__avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;overflow:hidden;background:#fff}.mapa-record-summary__avatar img,.mapa-record-summary__avatar .mapa-avatar{width:42px;height:42px;object-fit:cover}
.mapa-record-summary__identity{display:grid;gap:3px;min-width:0}.mapa-record-summary__identity strong{color:#fff;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapa-record-summary__identity span{color:#aaa;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mapa-record-summary__meta{display:flex;align-items:center;justify-content:flex-start;gap:8px 12px;flex-wrap:wrap;color:#c4c4c8;font-size:12px}.mapa-record-summary__actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.mapa-record-select{display:grid;place-items:center;margin:0!important}.mapa-record-details{padding:18px;border-top:1px solid var(--mapa-line,#d8d8d2);background:#fff}.mapa-record-details[hidden]{display:none!important}
.mapa-record-editor-grid{display:grid;grid-template-columns:minmax(130px,.55fr) repeat(3,minmax(180px,1fr));gap:18px;align-items:start}.mapa-record-editor-grid--training{grid-template-columns:repeat(4,minmax(0,1fr))}.mapa-record-editor-grid--group{grid-template-columns:minmax(130px,.55fr) repeat(3,minmax(180px,1fr))}
.mapa-record-field-group{display:grid;gap:12px;min-width:0}.mapa-record-field-group label,.mapa-record-field{display:grid;gap:6px;color:#ddd;font-weight:600}.mapa-record-field-group :is(input[type=text],input[type=email],input[type=tel],textarea,select){width:100%;min-width:0}.mapa-record-label{color:#aaa;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.mapa-record-actions-panel{align-content:start;padding:12px;border:1px solid var(--mapa-line,#d8d8d2);border-radius:10px;background:#fff}.mapa-record-empty{padding:24px;text-align:center;color:#aaa}
.mapa-record-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mapa-record-detail-grid>div{display:grid;align-content:start;gap:5px;min-width:0;padding:12px;border:1px solid var(--mapa-line,#d8d8d2);border-radius:9px;background:#fff}.mapa-record-detail-grid>div>span{color:#66665f;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.mapa-record-detail-grid>div>strong{color:#151515;overflow-wrap:anywhere}.mapa-bulk-select-all{padding:10px 16px;border-bottom:1px solid var(--mapa-line,#d8d8d2);background:#fff}.mapa-bulk-select-all label{display:inline-flex;align-items:center;gap:7px;color:#353535}.mapa-record-sort-placeholder{height:64px;border:2px dashed var(--mapa-red,#e20716);border-radius:12px;background:rgba(226,7,22,.05)}
.mapa-manager-editor-page .mapa-back-link{display:inline-flex;margin:0 0 14px}.mapa-manager-heading__side{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:1180px){.mapa-record-summary{grid-template-columns:auto auto minmax(160px,1fr) auto}.mapa-record-summary__meta{grid-column:3/5}.mapa-record-editor-grid,.mapa-record-editor-grid--group,.mapa-record-editor-grid--training{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-record-field--photo{grid-row:auto}.mapa-record-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mapa-record-list{padding:10px}.mapa-record-summary{grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:10px}.mapa-record-summary__avatar{display:none}.mapa-record-summary__meta{grid-column:2/4}.mapa-record-summary__actions{grid-column:2/4;justify-content:flex-start}.mapa-record-editor-grid,.mapa-record-editor-grid--group,.mapa-record-editor-grid--training,.mapa-record-detail-grid{grid-template-columns:1fr}.mapa-record-details{padding:12px}}

/* v3.5.13 management heading spacing */
.mapa-manager-heading,.mapa-settings-hero{column-gap:28px;row-gap:28px}
@media(max-width:900px){.mapa-manager-heading,.mapa-settings-hero{gap:26px}}
@media(max-width:600px){.mapa-manager-heading,.mapa-settings-hero{gap:24px}}

/* v3.5.14 — management layout standardization and filter cleanup. */
.mapa-editor-page .mapa-back-link{display:inline-flex;margin:0 0 16px;text-decoration:none}
.mapa-manager-heading__side{display:grid;justify-items:end;gap:12px;min-width:260px}
.mapa-manager-heading__side>.mapa-manager-tip{width:100%}
.mapa-manager-heading__side>.button{justify-self:end}

/* Consistent inner insets for cards whose controls/tables previously touched the frame. */
.mapa-admin-card>:is(.mapa-filter-row,.mapa-inline-filters,.mapa-event-filters,.mapa-scale-quickviews){margin-left:18px;margin-right:18px}
.mapa-admin-card>.mapa-scale-quickviews{margin-top:16px;margin-bottom:18px}
.mapa-admin-card>:is(.mapa-training-table-wrap,.mapa-staff-table-wrap,.mapa-table-scroll,.mapa-recruitment-table-wrap){width:auto;margin-left:18px;margin-right:18px;margin-bottom:18px;border:1px solid #dcdcde;border-radius:10px;overflow:auto}
.mapa-admin-card>.mapa-scale-toolbar{padding:0 18px 18px;margin:0}
.mapa-admin-card>.mapa-consent-list{padding:18px}
.mapa-admin-card>.mapa-sports-attention-list{padding:16px 18px 18px}
.mapa-admin-card>.mapa-filter-row{padding:16px 0;margin-top:0;margin-bottom:0}
.mapa-admin-card>.mapa-inline-filters{padding:16px 0;margin-top:0;margin-bottom:18px}

/* Accounts — full-width search, compact dropdown row and result count under Filter. */
.mapa-account-filter-form{display:grid;gap:12px;padding:0 18px 18px}
.mapa-account-filter-search{width:100%!important;max-width:none!important;min-height:46px}
.mapa-account-filter-controls{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;gap:10px;align-items:center}
.mapa-account-filter-controls select{width:100%;min-width:0;max-width:none}
.mapa-account-filter-controls .button{min-width:96px}
.mapa-account-filter-results{justify-self:end;color:#646970;font-size:12px;font-weight:600;margin-top:-2px}
.mapa-accounts-list-card .mapa-scale-quickviews{margin-bottom:18px}

/* Recruitment — same search-first filter pattern as Accounts. */
.mapa-recruitment-toolbar{display:block;padding:18px;border-bottom:1px solid #ececec}
.mapa-recruitment-filter{display:grid;grid-template-columns:1fr;gap:12px;width:100%}
.mapa-recruitment-filter-search{width:100%!important;max-width:none!important;min-width:0!important;min-height:46px}
.mapa-recruitment-filter-controls{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr)) auto auto;gap:10px;align-items:center}
.mapa-recruitment-filter-controls select{width:100%;min-width:0!important;max-width:none}
.mapa-recruitment-results{margin-top:10px;color:#646970;font-size:12px;font-weight:600}

/* Events — inset controls and keep the search field readable. */
.mapa-events-list-card .mapa-event-filters{grid-template-columns:repeat(3,minmax(150px,1fr)) auto auto;margin-top:18px;margin-bottom:18px;padding:0}
.mapa-events-list-card .mapa-event-filters input[type=search]{grid-column:1/-1;width:100%;max-width:none}
.mapa-events-admin .mapa-manager-heading+.mapa-event-admin-stats{margin-top:26px}

/* Sports analytics — breathing room above KPI tiles and inside attention cards. */
.mapa-sports-dashboard>.mapa-manager-heading+.mapa-sports-kpis{margin-top:28px}
.mapa-sports-dashboard .mapa-sports-dashboard-grid{margin-top:20px}
.mapa-sports-dashboard .mapa-sports-attention-list{padding-top:16px}

/* Staff planning and self-service empty/action states. */
.mapa-table-empty-cell{text-align:center!important;padding:30px 18px!important;color:#646970!important}
.mapa-selfservice-admin .mapa-inline-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px!important}
.mapa-selfservice-admin .mapa-inline-actions .button{margin:0!important}

/* Separate editor pages and list-only camp state. */
.mapa-camps-admin-grid--list-only{grid-template-columns:1fr}
.mapa-camps-admin-grid--list-only .mapa-camps-list-card{position:static}
.mapa-consent-editor-card .mapa-consent-form,.mapa-development-form-card .mapa-development-form{padding:18px}

/* Privacy/RODO KPI block now follows the same framed-card language. */
.mapa-privacy-admin .mapa-privacy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px;padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff}
.mapa-privacy-admin .mapa-privacy-stats article{display:grid;gap:6px;min-width:0;padding:15px;border:1px solid #e2e4e7;border-radius:10px;background:#f8f9fa}
.mapa-privacy-admin .mapa-privacy-stats article span{color:#646970;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.mapa-privacy-admin .mapa-privacy-stats article strong{font-size:25px;line-height:1.1}
.mapa-privacy-admin .mapa-privacy-stats article small{color:#646970;line-height:1.45}

@media(max-width:1100px){
  .mapa-account-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mapa-account-filter-controls .button{width:max-content}
  .mapa-recruitment-filter-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mapa-recruitment-filter-controls .button{width:max-content}
  .mapa-privacy-admin .mapa-privacy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .mapa-manager-heading__side{width:100%;min-width:0;justify-items:stretch}
  .mapa-manager-heading__side>.button{justify-self:stretch;text-align:center}
  .mapa-account-filter-controls,.mapa-recruitment-filter-controls{grid-template-columns:1fr}
  .mapa-account-filter-controls .button,.mapa-recruitment-filter-controls .button{width:100%}
  .mapa-account-filter-results{justify-self:start}
  .mapa-events-list-card .mapa-event-filters{grid-template-columns:1fr}
  .mapa-events-list-card .mapa-event-filters input[type=search]{grid-column:auto}
  .mapa-privacy-admin .mapa-privacy-stats{grid-template-columns:1fr;padding:12px}
  .mapa-admin-card>:is(.mapa-training-table-wrap,.mapa-staff-table-wrap,.mapa-table-scroll,.mapa-recruitment-table-wrap){margin-left:12px;margin-right:12px;margin-bottom:12px}
  .mapa-admin-card>:is(.mapa-filter-row,.mapa-inline-filters,.mapa-event-filters,.mapa-scale-quickviews){margin-left:12px;margin-right:12px}
  .mapa-account-filter-form,.mapa-recruitment-toolbar{padding-left:12px;padding-right:12px}
}

/* v3.5.14 — audit pass for legacy card bodies that historically sat flush to card edges. */
.mapa-admin-card>:is(.mapa-scale-summary,.mapa-mail-health-body,.mapa-mail-debug-controls,.mapa-quality-grid,.mapa-player-history,.mapa-attendance-communication-actions,.mapa-whatsapp-links,.mapa-communication-help-body,.mapa-player-import-help,.mapa-import-preview__summary,.mapa-import-report__summary,.mapa-profile-definition-list,.mapa-profile-account-summary,.mapa-profile-notes-body,.mapa-player-profile-card-list,.mapa-player-profile-event-list,.mapa-player-profile-document-list,.mapa-player-editor-body,.mapa-competition-kpis,.mapa-privacy-breach-grid,.mapa-player-profile-stats,.mapa-development-radar-list){margin-left:18px;margin-right:18px}
.mapa-admin-card>:is(.mapa-scale-summary,.mapa-mail-health-body,.mapa-mail-debug-controls,.mapa-quality-grid,.mapa-player-history,.mapa-attendance-communication-actions,.mapa-whatsapp-links,.mapa-communication-help-body,.mapa-player-import-help,.mapa-import-preview__summary,.mapa-import-report__summary,.mapa-profile-definition-list,.mapa-profile-account-summary,.mapa-profile-notes-body,.mapa-player-profile-card-list,.mapa-player-profile-event-list,.mapa-player-profile-document-list,.mapa-player-editor-body,.mapa-competition-kpis,.mapa-privacy-breach-grid,.mapa-player-profile-stats,.mapa-development-radar-list):last-child{margin-bottom:18px}
@media(max-width:760px){.mapa-admin-card>:is(.mapa-scale-summary,.mapa-mail-health-body,.mapa-mail-debug-controls,.mapa-quality-grid,.mapa-player-history,.mapa-attendance-communication-actions,.mapa-whatsapp-links,.mapa-communication-help-body,.mapa-player-import-help,.mapa-import-preview__summary,.mapa-import-report__summary,.mapa-profile-definition-list,.mapa-profile-account-summary,.mapa-profile-notes-body,.mapa-player-profile-card-list,.mapa-player-profile-event-list,.mapa-player-profile-document-list,.mapa-player-editor-body,.mapa-competition-kpis,.mapa-privacy-breach-grid,.mapa-player-profile-stats,.mapa-development-radar-list){margin-left:12px;margin-right:12px}}


/* v3.5.17 — self-service filters / result-count spacing parity. */
.mapa-selfservice-admin>.mapa-inline-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0 18px;padding:14px 16px}
.mapa-selfservice-admin>.mapa-inline-filters>.button{margin:0!important}
.mapa-admin-card>.mapa-scale-toolbar{width:auto;margin-left:18px;margin-right:18px;margin-bottom:18px}
@media(max-width:760px){.mapa-selfservice-admin>.mapa-inline-filters{gap:8px;padding:12px 14px}.mapa-admin-card>.mapa-scale-toolbar{margin-left:12px;margin-right:12px;margin-bottom:14px}}

/* v3.6.0 — Operations Center / Action Center / saved management views. */
.mapa-management-content{min-width:0}
.mapa-saved-view-capture{margin:0 0 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}
.mapa-saved-view-capture>summary{display:flex;align-items:center;gap:8px;padding:11px 14px;color:#ddd;font-weight:700;cursor:pointer;list-style:none}
.mapa-saved-view-capture>summary::-webkit-details-marker{display:none}
.mapa-saved-view-capture>summary .dashicons{color:#e20716}
.mapa-saved-view-capture[open]>summary{border-bottom:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)}
.mapa-saved-view-capture form{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:end;padding:14px}
.mapa-saved-view-capture label{display:grid;gap:6px;min-width:0}
.mapa-saved-view-capture label>span{font-size:12px;font-weight:700;color:#dedee2}
.mapa-saved-view-capture input[type=text]{width:100%}

.mapa-operations-admin{--mapa-ops-gap:18px}
.mapa-operations-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.mapa-operations-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:9px 13px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:rgba(255,255,255,.025);color:#ddd;text-decoration:none;font-weight:750}
.mapa-operations-tabs a:hover,.mapa-operations-tabs a:focus-visible{border-color:rgba(226,7,22,.55);color:#fff}
.mapa-operations-tabs a.is-active{border-color:#e20716;background:rgba(226,7,22,.12);color:#fff}
.mapa-operations-tabs a .dashicons{color:#ff5964}
.mapa-operations-tabs a em{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e20716;color:#fff;font-style:normal;font-size:11px}
.mapa-operations-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:var(--mapa-ops-gap)}
.mapa-operations-summary article{display:grid;gap:5px;padding:16px 18px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.025)}
.mapa-operations-summary article span{font-size:12px;color:#aaaab2;text-transform:uppercase;letter-spacing:.045em}
.mapa-operations-summary article strong{font-size:1.45rem;color:#fff}
.mapa-operations-summary article small{color:#aaaab2}
.mapa-operations-card .mapa-action-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}
.mapa-action-center-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:92px;padding:14px 15px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:#fff;color:#151515;text-decoration:none;transition:border-color .15s ease,transform .15s ease,background .15s ease}
.mapa-action-center-item:hover,.mapa-action-center-item:focus-visible{transform:translateY(-1px);border-color:rgba(226,7,22,.55);background:#fff;color:#151515}
.mapa-action-center-item>.dashicons{width:30px;height:30px;font-size:30px;color:#9b9ba3}
.mapa-action-center-item>span{display:grid;gap:4px;min-width:0}
.mapa-action-center-item>span strong{color:#fff}
.mapa-action-center-item>span small{color:#aaaab2;line-height:1.35}
.mapa-action-center-item>em{display:grid;place-items:center;min-width:44px;height:44px;padding:0 10px;border-radius:12px;background:rgba(255,255,255,.06);color:#fff;font-size:1.15rem;font-style:normal;font-weight:850}
.mapa-action-center-item.is-danger{border-color:rgba(226,7,22,.42)}
.mapa-action-center-item.is-danger>.dashicons,.mapa-action-center-item.is-warning>.dashicons{color:#ff5964}
.mapa-action-center-item.is-danger>em{background:rgba(226,7,22,.19);color:#ff9ca3}
.mapa-action-center-item.is-warning>em{background:rgba(226,145,7,.13);color:#ffd083}
.mapa-action-center-item.is-good>em{background:rgba(46,174,104,.12);color:#86e6ad}
.mapa-action-center-item.is-good>.dashicons{color:#5ac887}

.mapa-audit-card>.mapa-audit-filters{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(155px,.8fr) minmax(180px,1fr) minmax(145px,.7fr) minmax(145px,.7fr) auto;gap:10px;align-items:end;padding:18px;border-bottom:1px solid rgba(255,255,255,.08)}
.mapa-audit-filters label{display:grid;gap:6px;min-width:0}
.mapa-audit-filters label>span{font-size:12px;font-weight:700;color:#d7d7dc}
.mapa-audit-filters :is(input,select){width:100%;min-width:0}
.mapa-audit-filter-actions{display:flex;gap:7px;align-items:center}
.mapa-audit-table td{vertical-align:top}
.mapa-audit-table td:last-child{max-width:420px;color:#c1c1c6}
.mapa-audit-card>.mapa-scale-toolbar{margin:0;padding:12px 18px 16px;border-top:1px solid rgba(255,255,255,.06)}
.mapa-audit-card>.mapa-scale-pagination{padding:0 18px 18px}

.mapa-saved-views-card>.mapa-saved-views-list{display:grid;gap:10px;padding:18px}
.mapa-saved-views-list>article{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:#fff}
.mapa-saved-views-list>article>.dashicons{width:27px;height:27px;font-size:27px;color:#ff5964}
.mapa-saved-views-list>article>div:nth-child(2){display:grid;gap:3px;min-width:0}
.mapa-saved-views-list>article strong{color:#fff}
.mapa-saved-views-list>article small{color:#aaaab2}

@media(max-width:1180px){
  .mapa-audit-card>.mapa-audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mapa-audit-filter-actions{grid-column:1/-1}
}
@media(max-width:780px){
  .mapa-saved-view-capture form{grid-template-columns:1fr}
  .mapa-operations-summary,.mapa-operations-card .mapa-action-center-grid{grid-template-columns:1fr}
  .mapa-audit-card>.mapa-audit-filters{grid-template-columns:1fr}
  .mapa-audit-filter-actions{grid-column:auto;flex-wrap:wrap}
  .mapa-saved-views-list>article{grid-template-columns:28px minmax(0,1fr)}
  .mapa-saved-views-list>article>.mapa-table-actions{grid-column:1/-1;padding-left:40px}
}
.mapa-saved-view-capture input[type=text]{min-height:40px;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#fff;color:#151515;box-shadow:none}
.mapa-saved-view-capture input[type=text]:focus{border-color:#e20716;outline:2px solid rgba(226,7,22,.18);outline-offset:1px}


/* v3.6.1 — recruitment workflow and scheduled communication */
.mapa-workflow-form{display:grid;gap:12px;padding:18px 20px 20px}
.mapa-workflow-form label{display:grid;gap:6px}
.mapa-workflow-form label>span{font-weight:600;color:#2c3338}
.mapa-workflow-form :is(select,input[type=text],input[type=datetime-local]){width:100%;min-height:40px}
.mapa-workflow-form .button{justify-self:start}
.mapa-workflow-state{display:block;color:#646970;line-height:1.4}
.mapa-workflow-overdue>strong{color:#b32d2e}
.mapa-communication-scheduled{margin-top:18px}
.mapa-communication-scheduled .mapa-training-table-wrap{padding:0}
@media(max-width:1280px){.mapa-recruitment-filter-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-recruitment-filter-controls .button{width:max-content}}
@media(max-width:760px){.mapa-workflow-form{padding:16px}.mapa-recruitment-filter-controls{grid-template-columns:1fr}.mapa-recruitment-filter-controls .button{width:100%}}

/* v3.6.2 — recruitment conversion and smart communication audiences */
.mapa-recipient-smart{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.7fr) minmax(180px,.7fr);gap:10px 12px;align-items:end;padding:13px 14px;border:1px solid #dcdcde;border-radius:10px;background:#fff}
.mapa-recipient-smart>div{display:grid;gap:3px;align-self:center}.mapa-recipient-smart>div small{color:#646970;line-height:1.4}.mapa-recipient-smart>label{display:grid;gap:6px}.mapa-recipient-smart>label>span{font-size:12px;font-weight:700;color:#3c434a}.mapa-recipient-smart select{width:100%;min-height:40px}
.mapa-recruitment-conversion-form{display:grid;gap:12px;padding:16px 18px 18px}.mapa-recruitment-conversion-form>label:not(.mapa-check-card){display:grid;gap:6px}.mapa-recruitment-conversion-form>label>span{font-weight:700}.mapa-recruitment-conversion-form select{width:100%;min-height:40px}.mapa-conversion-match{display:grid;gap:3px;padding:11px 12px;border:1px solid #dba617;border-radius:9px;background:#fff8df}.mapa-conversion-match span{color:#646970;font-size:12px}.mapa-recruitment-conversion-result{display:grid;gap:7px;padding:16px 18px 18px}.mapa-recruitment-conversion-result>span{color:#646970}.mapa-recruitment-conversion-result .button{justify-self:start}.mapa-recruitment-conversion-card.is-complete{border-color:#8bc89d}
@media(max-width:900px){.mapa-recipient-smart{grid-template-columns:1fr}.mapa-recipient-smart>div{margin-bottom:2px}}

/* v3.6.5 — Staff Planning 2.0 */
.mapa-staffing-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.mapa-staffing-summary>a{display:grid;gap:5px;padding:15px 17px;border:1px solid #dcdcde;border-radius:11px;background:#fff;color:inherit;text-decoration:none}
.mapa-staffing-summary>a:hover{border-color:#e20716}.mapa-staffing-summary>a span{font-size:12px;font-weight:700;color:#646970}.mapa-staffing-summary>a strong{font-size:24px;line-height:1.1}
.mapa-staffing-kpis article.is-warning{border-color:#dba617;background:#fff9e8}
.mapa-staffing-kpis article strong small{font-size:13px;font-weight:700;color:#646970}
.mapa-staffing-range-card>.mapa-staffing-quickviews{margin:18px 18px 0}
.mapa-staffing-range-filters{grid-template-columns:repeat(5,minmax(145px,1fr)) auto!important}
.mapa-staffing-range-filters label{display:grid;gap:6px}.mapa-staffing-range-filters label>span{font-size:12px;font-weight:700;color:#50575e}
.mapa-staffing-range-card>.mapa-scale-toolbar{margin:12px 18px 18px}
.mapa-staffing-availability-form{padding:18px}.mapa-staffing-availability-grid{grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:14px}
.mapa-staffing-coach-availability{padding:0!important;overflow:hidden}.mapa-staffing-coach-availability>header{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #dcdcde;background:#f6f7f7}
.mapa-staffing-coach-availability>header>div{display:grid;gap:3px}.mapa-staffing-coach-availability>header small{color:#646970}
.mapa-staffing-limit{display:grid;gap:5px;min-width:130px;font-size:11px;font-weight:700;color:#646970}.mapa-staffing-limit input{width:130px}
.mapa-staffing-days{display:grid}.mapa-staffing-day{display:grid;grid-template-columns:125px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px 12px;border-bottom:1px solid #eee}.mapa-staffing-day:last-child{border-bottom:0}.mapa-staffing-day.is-disabled{background:#fafafa;opacity:.68}
.mapa-staffing-day-toggle{display:flex!important;align-items:center;gap:7px!important;margin:7px 0 0!important;font-weight:700}.mapa-staffing-day-toggle input{margin:0}
.mapa-staffing-windows{display:grid;gap:7px}.mapa-staffing-window{display:grid;grid-template-columns:minmax(96px,1fr) auto minmax(96px,1fr) auto;align-items:center;gap:6px}.mapa-staffing-window input[type=time]{width:100%;min-width:0}.mapa-staffing-window>span{color:#646970}.mapa-staffing-window .button{min-height:32px;padding:2px 10px;font-size:18px;line-height:1}
.mapa-staffing-add-window{margin-top:3px!important;white-space:nowrap}
.mapa-staffing-availability-form>p.submit{margin:16px 0 0;padding:0}
.mapa-staffing-sessions-card>.mapa-admin-card__head+form{padding:0!important}.mapa-staffing-sessions-card .mapa-training-table-wrap{margin:18px}
.mapa-staffing-statuses{display:flex;flex-wrap:wrap;gap:5px}.mapa-staffing-reason{display:block;margin-top:5px;color:#8a2424;line-height:1.35}
.mapa-staffing-suggestions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.mapa-staffing-suggestions>small{width:100%;color:#646970}.mapa-staffing-suggestion{appearance:none;padding:4px 7px;border:1px solid #c3c4c7;border-radius:999px;background:#fff;color:#1d2327;font:inherit;font-size:11px;cursor:pointer}.mapa-staffing-suggestion:hover{border-color:#e20716;color:#9d0710}
.mapa-staffing-savebar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 18px 18px;padding:14px;border:1px solid #dcdcde;border-radius:11px;background:#f6f7f7}.mapa-staffing-savebar span{color:#646970;font-size:12px}
.mapa-staffing-absence-card .mapa-table-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mapa-status--warning{background:#fff4ce;color:#6f4e00;border-color:#e6c75b}
@media(max-width:1250px){.mapa-staffing-range-filters{grid-template-columns:repeat(3,minmax(160px,1fr))!important}.mapa-staffing-range-filters>.button{align-self:end}.mapa-staffing-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.mapa-staffing-availability-grid{grid-template-columns:1fr}.mapa-staffing-day{grid-template-columns:1fr}.mapa-staffing-day-toggle{margin-top:0!important}.mapa-staffing-add-window{justify-self:start}.mapa-staffing-coach-availability>header{align-items:start;flex-direction:column}.mapa-staffing-limit,.mapa-staffing-limit input{width:100%}.mapa-staffing-summary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.mapa-staffing-range-filters{grid-template-columns:1fr!important}.mapa-staffing-summary{grid-template-columns:1fr}.mapa-staffing-window{grid-template-columns:1fr auto 1fr auto}.mapa-staffing-sessions-card .mapa-training-table-wrap,.mapa-staffing-savebar{margin-left:12px;margin-right:12px}}

/* v3.6.6 — Consent Management 2.0 */
.mapa-consent-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.mapa-consent-kpis>article{display:grid;gap:4px;padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-consent-kpis>article span{color:#646970;font-size:12px;font-weight:700}.mapa-consent-kpis>article strong{font-size:24px;line-height:1.1}.mapa-consent-kpis>article small{color:#646970}.mapa-consent-kpis>article.is-warning{border-color:#dba617;background:#fff8e5}.mapa-consent-kpis>article.is-danger{border-color:#d63638;background:#fcf0f1}.mapa-consent-list-item{align-items:flex-start!important}.mapa-consent-list-main{flex:1}.mapa-consent-list-stats{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:7px}.mapa-consent-list-stats>span{padding:5px 8px;border-radius:7px;background:#f6f7f7;color:#50575e;font-size:12px}.mapa-consent-list-stats>span.is-warning{background:#fff8e5;color:#8a5a00}.mapa-consent-list-stats>span strong{font-size:inherit}.mapa-consent-list-progress,.mapa-consent-report-progress{height:8px;margin-top:9px;overflow:hidden;border-radius:999px;background:#e7e8ea}.mapa-consent-list-progress>span,.mapa-consent-report-progress>span{display:block;height:100%;border-radius:inherit;background:#2271b1}.mapa-consent-form-meta{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(260px,1.15fr)!important;align-items:end}.mapa-consent-report-card>.mapa-admin-card__head{margin-bottom:0}.mapa-consent-report-filters{display:grid;grid-template-columns:minmax(280px,1.6fr) minmax(180px,.8fr) minmax(190px,.9fr) auto;gap:10px;align-items:end;padding:18px 18px 10px}.mapa-consent-report-filters label{display:grid;gap:5px}.mapa-consent-report-filters label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-consent-report-filters input,.mapa-consent-report-filters select{width:100%}.mapa-consent-report-filter-actions,.mapa-consent-report-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-consent-report-actions{padding:0 18px 14px}.mapa-consent-report-progress{margin:0 18px 18px}.mapa-consent-report-table-wrap{margin:0 18px 18px;overflow:auto;border:1px solid #dcdcde;border-radius:10px}.mapa-consent-report-table{border:0!important}.mapa-consent-report-status{white-space:nowrap}.mapa-consent-report-status--accepted{background:#edfaef;color:#116329}.mapa-consent-report-status--pending{background:#f6f7f7;color:#50575e}.mapa-consent-report-status--withdrawn{background:#fff8e5;color:#8a5a00}.mapa-consent-report-status--overdue{background:#fcf0f1;color:#b32d2e}.mapa-consent-report-page .mapa-manager-heading{margin-bottom:18px}
@media(max-width:1100px){.mapa-consent-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-consent-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-consent-report-search{grid-column:1/-1}.mapa-consent-form-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mapa-consent-form-meta>.mapa-switch-check{grid-column:1/-1}}
@media(max-width:720px){.mapa-consent-kpis,.mapa-consent-report-filters,.mapa-consent-form-meta{grid-template-columns:1fr!important}.mapa-consent-report-search,.mapa-consent-form-meta>.mapa-switch-check{grid-column:auto}.mapa-consent-report-filters{padding:14px 14px 8px}.mapa-consent-report-actions{padding:0 14px 12px}.mapa-consent-report-progress{margin:0 14px 14px}.mapa-consent-report-table-wrap{margin:0 14px 14px;border:0;overflow:visible}.mapa-consent-report-table thead{display:none}.mapa-consent-report-table,.mapa-consent-report-table tbody,.mapa-consent-report-table tr,.mapa-consent-report-table td{display:block;width:100%}.mapa-consent-report-table tr{margin-bottom:10px;padding:12px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-consent-report-table td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;padding:7px 0!important;border:0!important}.mapa-consent-report-table td:before{content:attr(data-label);color:#646970;font-size:11px;font-weight:700;text-transform:uppercase}.mapa-consent-list-item .mapa-table-actions{width:100%}}

/* v3.6.7 — Document Management 2.0 (wp-admin parity) */
.mapa-document-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.mapa-document-kpis article{display:grid;gap:4px;padding:16px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-document-kpis article span,.mapa-document-kpis article small{color:#646970}.mapa-document-kpis article strong{font-size:24px}.mapa-document-admin-list,.mapa-document-report-list{display:grid;gap:10px;padding:18px}.mapa-document-manager-item,.mapa-document-report-row{padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-document-manager-item{display:flex;align-items:center;justify-content:space-between;gap:16px}.mapa-document-manager-main{display:grid;gap:4px}.mapa-document-manager-main>small,.mapa-document-manager-stats,.mapa-document-report-person small,.mapa-document-report-meta{color:#646970}.mapa-document-manager-stats{display:flex;gap:12px;flex-wrap:wrap}.mapa-document-report-row{display:grid;grid-template-columns:minmax(180px,.8fr) auto minmax(250px,1.3fr);gap:14px;align-items:center}.mapa-document-report-person{display:grid;gap:3px}.mapa-document-status{display:inline-flex;justify-content:center;padding:5px 9px;border-radius:999px;background:#fff3cd;color:#755900;font-size:12px;font-weight:700}.mapa-document-status.is-approved{background:#dff3e6;color:#176b35}.mapa-document-status.is-rejected,.mapa-document-status.is-expired{background:#fbeaec;color:#a30b15}.mapa-document-report-meta{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:12px}.mapa-document-report-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.mapa-document-review-form{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:center;flex:1}.mapa-document-review-form input[type=text]{width:100%}.mapa-document-review-note{grid-column:1/-1;margin:4px 0 0;color:#a30b15}.mapa-document-report-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.mapa-document-workflow-grid .mapa-check-card{align-self:stretch}
@media(max-width:960px){.mapa-document-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-document-report-row{grid-template-columns:1fr auto}.mapa-document-report-meta{grid-column:1/-1}}
@media(max-width:600px){.mapa-document-kpis{grid-template-columns:1fr}.mapa-document-manager-item{align-items:flex-start;flex-direction:column}.mapa-document-report-row,.mapa-document-review-form{grid-template-columns:1fr}.mapa-document-status{justify-self:start}}
.mapa-document-upload-option[hidden]{display:none!important}

/* v3.6.8 — Event RSVP report */
.mapa-event-rsvp-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.mapa-event-rsvp-kpis>div{display:grid;gap:5px;padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-event-rsvp-kpis span{color:#a7a7ad;font-size:12px}.mapa-event-rsvp-kpis strong{color:#fff;font-size:24px}.mapa-event-rsvp-report-card,.mapa-event-rsvp-history-card{margin-top:18px}.mapa-event-rsvp-filters{display:grid;grid-template-columns:minmax(240px,1.7fr) minmax(150px,.7fr) minmax(170px,.8fr) auto auto;gap:10px;align-items:end;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.mapa-event-rsvp-filters input,.mapa-event-rsvp-filters select{width:100%}.mapa-rsvp-admin-correction{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(150px,1.2fr) auto;gap:6px;align-items:center}.mapa-rsvp-admin-correction input,.mapa-rsvp-admin-correction select{min-width:0}.mapa-inline-action-form{display:inline-flex;margin:0}.mapa-event-rsvp-report .mapa-manager-heading__side{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.mapa-event-rsvp-report-table td{vertical-align:top}.mapa-event-rsvp-report-table .mapa-rsvp-state{margin-top:1px}.mapa-event-table td>small{display:block;margin-top:4px}
@media(max-width:1100px){.mapa-event-rsvp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-event-rsvp-filters{grid-template-columns:1fr 1fr}.mapa-event-rsvp-filters input[type=search]{grid-column:1/-1}.mapa-rsvp-admin-correction{grid-template-columns:1fr}.mapa-rsvp-admin-correction .button{justify-self:start}}
@media(max-width:680px){.mapa-event-rsvp-kpis{grid-template-columns:1fr 1fr}.mapa-event-rsvp-filters{grid-template-columns:1fr}.mapa-event-rsvp-filters input[type=search]{grid-column:auto}.mapa-event-rsvp-kpis>div:last-child{grid-column:1/-1}}

/* v3.6.10 — Communication 2.0 */
.mapa-comm-template-picker{padding:18px 20px 0}.mapa-comm-template-picker label{display:grid;gap:6px}.mapa-comm-template-picker label>span{font-weight:700}.mapa-comm-template-picker select{width:100%;min-height:42px}.mapa-comm-template-picker small{color:#646970}.mapa-comm-preview{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:-4px 20px 18px}.mapa-comm-preview__button{display:inline-flex!important;align-items:center;gap:6px}.mapa-comm-preview__result{flex:1 0 100%;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fafafa}.mapa-comm-preview__summary,.mapa-comm-job-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.mapa-comm-preview__summary span,.mapa-comm-job-kpis span{display:grid;gap:2px;padding:10px 12px;border:1px solid #dcdcde;border-radius:9px;background:#fff}.mapa-comm-preview__summary strong,.mapa-comm-job-kpis strong{font-size:18px}.mapa-comm-preview__rows{display:grid;max-height:360px;overflow:auto;border-top:1px solid #dcdcde}.mapa-comm-preview__rows>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #e7e7e7}.mapa-comm-preview__rows>div>span:first-child{display:grid;gap:2px}.mapa-comm-preview__rows small{color:#646970}.mapa-comm-preview__channels{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.mapa-comm-preview__channels b{padding:3px 6px;border-radius:999px;background:#edf1f4;font-size:10px}.mapa-comm-preview__error{margin:0;color:#b32d2e}.mapa-comm-delivery-detail{margin-bottom:18px}.mapa-comm-delivery-summary{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:16px 20px}.mapa-comm-delivery-summary span{display:flex;align-items:baseline;gap:5px;padding:7px 10px;border:1px solid #dcdcde;border-radius:999px;background:#fff}.mapa-comm-delivery-table{min-width:820px}.mapa-comm-delivery-table td small,.mapa-comm-schedule-center td small{display:block;margin-top:4px;color:#646970}.mapa-comm-schedule-center{margin-top:18px}.mapa-comm-job-kpis{padding:16px 20px 4px;margin:0}.mapa-comm-job-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f0f0f1;font-size:11px;font-weight:700}.mapa-comm-job-status--scheduled{background:#e8f3ff;color:#145b8c}.mapa-comm-job-status--processing{background:#fff4ce;color:#725c00}.mapa-comm-job-status--sent{background:#e8f6ed;color:#176b36}.mapa-comm-job-status--failed{background:#fce8ea;color:#a5101a}.mapa-comm-job-status--cancelled{background:#f0f0f1;color:#50575e}.mapa-compose-grid label.is-required-schedule>span:after{content:" *";color:#d63638}
@media(max-width:860px){.mapa-comm-preview__summary,.mapa-comm-job-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.mapa-comm-preview__summary,.mapa-comm-job-kpis{grid-template-columns:1fr}.mapa-comm-preview__rows>div{align-items:flex-start;flex-direction:column}.mapa-comm-preview__channels{justify-content:flex-start}}

/* v3.6.11 — Training & Attendance 2.0 */
.mapa-training-session-details{margin-bottom:18px}
.mapa-training-session-details-form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;padding:18px}
.mapa-training-session-details-form label{display:grid;gap:5px;min-width:0}
.mapa-training-session-details-form label>span:first-child{font-size:11px;font-weight:700;color:#50575e}
.mapa-training-session-details-form input{width:100%;min-height:38px}
.mapa-training-session-details-place{grid-column:span 2}
.mapa-training-session-rsvp-toggle>span:last-child{display:flex;align-items:center;gap:8px;min-height:38px}
.mapa-training-session-rsvp-toggle input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0}
.mapa-training-session-details-form>.button{align-self:end;min-height:38px}
.mapa-training-session-restore-form{display:flex;align-items:center;gap:10px;padding:0 18px 18px;margin:0}.mapa-training-session-restore-form span{color:#646970;font-size:12px}
.mapa-training-v2-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mapa-attendance-session-card>.mapa-training-v2-badges{margin-top:-4px}
.mapa-attendance-quick-buttons{display:flex;gap:5px;flex-wrap:wrap}
.mapa-attendance-quick-buttons button{display:grid;place-items:center;min-width:34px;height:34px;padding:0 7px;border:1px solid #c3c4c7;border-radius:8px;background:#fff;color:#3c434a;font-weight:800;cursor:pointer}
.mapa-attendance-quick-buttons button:hover,.mapa-attendance-quick-buttons button.is-active{border-color:#e20716;background:#fff1f2;color:#9a1018}
.mapa-attendance-player-conflict{display:inline-flex;margin-top:5px;padding:3px 6px;border-radius:999px;background:#fff1f2;color:#9a1018;font-size:10px;font-weight:700}
.mapa-attendance-reason:disabled{opacity:.45}.mapa-attendance-roster-table td.is-disabled{opacity:.7}
.mapa-training-rsvp-admin-state{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f0f0f1;font-size:11px;font-weight:700}.mapa-training-rsvp-admin-state.is-yes{background:#edf9f0;color:#176b33}.mapa-training-rsvp-admin-state.is-no{background:#fff1f2;color:#9a1018}.mapa-training-rsvp-admin-state.is-maybe{background:#fff8dd;color:#785d00}.mapa-attendance-roster-table td:last-child small{display:block;margin-top:4px;color:#646970}
.mapa-attendance-editor-stats article.is-warning{border-color:#e5b84c;background:#fff8dd}
@media(max-width:1100px){.mapa-training-session-details-form{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-training-session-details-place{grid-column:auto}}
@media(max-width:760px){
  .mapa-training-session-details-form{grid-template-columns:1fr;padding:14px}.mapa-training-session-restore-form{padding:0 14px 14px;align-items:flex-start;flex-direction:column}
  .mapa-attendance-roster-wrap{overflow:visible!important;border:0!important;margin-left:12px!important;margin-right:12px!important}
  .mapa-attendance-roster-table{display:block;min-width:0!important}.mapa-attendance-roster-table thead{display:none}.mapa-attendance-roster-table tbody{display:grid;gap:10px}.mapa-attendance-roster-table tr{display:grid;gap:9px;padding:14px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-attendance-roster-table td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:center;padding:0!important;border:0!important;box-shadow:none!important}.mapa-attendance-roster-table td:before{content:attr(data-label);color:#646970;font-size:11px;font-weight:700}.mapa-attendance-roster-table td[data-label="Zawodnik"]{grid-template-columns:1fr}.mapa-attendance-roster-table td[data-label="Zawodnik"]:before{display:none}.mapa-attendance-roster-table select,.mapa-attendance-roster-table input{min-width:0!important;width:100%}.mapa-attendance-quick-buttons{justify-content:flex-start}.mapa-attendance-quick-buttons button{min-width:42px;height:40px}
}
.mapa-training-add-form input[type=date],.mapa-training-add-form input[type=number]{width:100%;min-height:36px}
.mapa-training-session-status-actions{display:flex;align-items:center;gap:10px;padding:0 18px 18px}.mapa-training-session-status-actions form{margin:0}.mapa-training-session-status-actions span{color:#646970;font-size:12px}@media(max-width:760px){.mapa-training-session-status-actions{padding:0 14px 14px;align-items:flex-start;flex-direction:column}}

/* v3.7.3 — Finance / Składki 2.0 */
.mapa-finance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.mapa-finance-kpis>article{display:grid;gap:5px;padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-finance-kpis span{font-size:12px;font-weight:700;color:#646970}.mapa-finance-kpis strong{font-size:23px;line-height:1.15}.mapa-finance-kpis small{color:#646970}.mapa-finance-settings-card>form,.mapa-finance-reliefs-card>form{margin:18px}.mapa-finance-settings-form{display:grid;gap:16px}.mapa-finance-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mapa-finance-settings-grid>label,.mapa-finance-relief-form>label,.mapa-finance-payment-add label{display:grid;gap:6px}.mapa-finance-settings-grid>label>span,.mapa-finance-relief-form>label>span,.mapa-finance-payment-add label>span{font-size:12px;font-weight:700}.mapa-finance-check{display:flex!important;align-items:center;gap:9px;align-self:end;min-height:40px}.mapa-finance-check input{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important}.mapa-finance-form-actions{display:flex;gap:8px;flex-wrap:wrap}.mapa-finance-relief-form{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(130px,.7fr)) minmax(220px,1.5fr) auto;gap:10px;align-items:end}.mapa-finance-relief-list{display:grid;gap:8px;margin:0 18px 18px}.mapa-finance-relief-list>article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-finance-relief-list>article>div{display:grid;gap:3px}.mapa-finance-relief-list span,.mapa-finance-relief-list small{color:#646970}.mapa-finance-filter-row .mapa-finance-search{flex:1;min-width:240px}.mapa-finance-filter-row .mapa-finance-search input{width:100%}.mapa-finance-table td{vertical-align:top}.mapa-finance-credit{color:#16833d}.mapa-finance-debt{color:#b32d2e}.mapa-finance-actions{align-items:flex-start}.mapa-finance-payment-add,.mapa-membership-adjust{position:relative}.mapa-finance-payment-add>summary,.mapa-membership-adjust>summary{cursor:pointer;font-weight:700}.mapa-finance-payment-add form{display:grid;grid-template-columns:110px 135px 150px minmax(150px,1fr);gap:8px;margin-top:8px;padding:10px;border:1px solid #dcdcde;border-radius:9px;background:#f6f7f7;min-width:560px}.mapa-finance-payment-add .mapa-finance-payment-note{grid-column:1/-2}.mapa-finance-payment-history{display:grid;gap:7px;margin-top:8px;min-width:420px}.mapa-finance-payment-history>article{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(170px,1.3fr) auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #e5e5e5}.mapa-finance-payment-history>article>div{display:grid;gap:2px}.mapa-finance-payment-history small{color:#646970}.mapa-finance-payment-history .is-reversed{opacity:.62}.mapa-finance-reversed{color:#b32d2e}.mapa-finance-player-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.mapa-finance-player-reliefs{display:grid;gap:6px;margin:16px 18px 18px;padding:14px;border:1px solid #dcdcde;border-radius:10px}.mapa-finance-player-reliefs h3{margin:0 0 4px}.mapa-finance-player-reliefs span{display:block}
@media(max-width:1250px){.mapa-finance-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-finance-relief-form{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-finance-relief-note{grid-column:span 2}}
@media(max-width:900px){.mapa-finance-kpis,.mapa-finance-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-finance-payment-add form{grid-template-columns:1fr 1fr;min-width:min(520px,82vw)}.mapa-finance-payment-add .mapa-finance-payment-note{grid-column:1/-1}.mapa-finance-relief-form{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.mapa-finance-kpis,.mapa-finance-player-stats,.mapa-finance-settings-grid,.mapa-finance-relief-form{grid-template-columns:1fr}.mapa-finance-relief-note{grid-column:auto}.mapa-finance-relief-list>article{align-items:flex-start;flex-direction:column}.mapa-finance-payment-add form{grid-template-columns:1fr;min-width:min(300px,78vw)}.mapa-finance-payment-add .mapa-finance-payment-note{grid-column:auto}.mapa-finance-payment-history{min-width:280px}.mapa-finance-payment-history>article{grid-template-columns:1fr}}

/* v3.7.4 — Season Management */
.mapa-season-admin{--mapa-season-gap:18px}
.mapa-season-admin>.mapa-admin-card{margin-top:var(--mapa-season-gap)}
.mapa-season-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}
.mapa-season-stats>div{display:grid;gap:5px;min-width:0;padding:15px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.025)}
.mapa-season-stats span{font-size:12px;color:#aeb0b6}.mapa-season-stats strong{font-size:24px;color:#fff;line-height:1}
.mapa-season-integrations{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 18px}.mapa-season-integrations>span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.025);color:#d7d7da;font-size:12px}.mapa-season-integrations .dashicons{color:#e20716}
.mapa-season-impact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.mapa-season-impact>span{display:grid;gap:5px;padding:16px 18px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.03)}.mapa-season-impact strong{font-size:26px;color:#fff}.mapa-season-impact small{color:#aeb0b6}
.mapa-season-rollover-form{display:grid;gap:18px}.mapa-season-rollover-form>.mapa-admin-card{margin:0}.mapa-season-form-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;padding:18px}.mapa-season-form-grid label{display:grid;gap:7px}.mapa-season-form-grid label>span{font-weight:700;color:#f7f5f1}
.mapa-season-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.mapa-season-options label{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #deded8;border-radius:0;background:#fff}.mapa-season-options label>span{display:grid;gap:4px}.mapa-season-options strong{color:#151515}.mapa-season-options small{color:#66665f;line-height:1.45}.mapa-season-options input[type=checkbox],.mapa-season-confirm input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important;margin:2px 8px 0 0!important}
.mapa-season-confirm{display:flex;align-items:flex-start;gap:10px;padding:15px 16px;border:1px solid rgba(226,7,22,.42);border-radius:12px;background:rgba(226,7,22,.07);color:#eee}.mapa-season-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:8px}
.mapa-season-context{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:10px 13px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-season-context>.dashicons{color:#e20716}.mapa-season-context>span:nth-child(2){display:grid;gap:1px;min-width:0}.mapa-season-context strong{color:#fff;font-size:13px}.mapa-season-context small{color:#aeb0b6;font-size:11px}.mapa-season-context>a{margin-left:auto;color:#fff;font-size:12px;font-weight:700;text-decoration:none}.mapa-season-context>a:hover{color:#ff5964}
@media(max-width:900px){.mapa-season-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-season-form-grid,.mapa-season-options{grid-template-columns:1fr}.mapa-season-impact{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:600px){.mapa-season-stats{grid-template-columns:1fr 1fr;padding:14px}.mapa-season-impact{grid-template-columns:1fr}.mapa-season-form-grid,.mapa-season-options{padding:14px}.mapa-season-context{align-items:flex-start;flex-wrap:wrap}.mapa-season-context>a{width:100%;margin-left:30px}}

/* v3.7.5 — individual participants & multi-staff assignment */
.mapa-participant-scope,.mapa-event-staff-section,.mapa-camp-admin-section.mapa-camp-participant-section{display:grid;gap:10px}
.mapa-participant-scope>span,.mapa-event-staff-section>span,.mapa-training-staff-fields>span,.mapa-training-session-details-staff>span{font-weight:700;color:#2c3338}
.mapa-participant-scope__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mapa-participant-scope__choices>label{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dcdcde;border-radius:10px;background:#fafafa;cursor:pointer}
.mapa-participant-scope__choices>label:has(input:checked){border-color:#e0a2a7;background:#fff6f7;box-shadow:inset 3px 0 #d90b17}
.mapa-participant-scope__choices input[type=radio]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}
.mapa-participant-scope__choices label>span{display:grid;gap:3px}.mapa-participant-scope__choices small{color:#646970;line-height:1.4}
[data-mapa-selected-participants][hidden],[data-mapa-selected-players][hidden]{display:none!important}
.mapa-player-picker{display:grid;gap:10px;margin-top:2px;padding:13px;border:1px solid #dcdcde;border-radius:10px;background:#f6f7f7}
.mapa-player-picker__toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:center}.mapa-player-picker__toolbar input[type=search]{width:100%;min-height:38px}.mapa-player-picker__toolbar>div{display:flex;gap:7px;flex-wrap:wrap}
.mapa-player-picker__count{color:#646970;font-size:12px}.mapa-player-picker__count strong{color:#1d2327}
.mapa-player-picker__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto;padding:2px}
.mapa-player-picker__item{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:10px;border:1px solid #dcdcde;border-radius:9px;background:#fff;cursor:pointer}.mapa-player-picker__item[hidden]{display:none!important}.mapa-player-picker__item:has(input:checked){border-color:#e0a2a7;background:#fff6f7}
.mapa-player-picker__item input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;margin:1px 0 0!important}
.mapa-player-picker__item>span{display:grid;gap:2px;min-width:0}.mapa-player-picker__item strong{overflow-wrap:anywhere}.mapa-player-picker__item small{color:#646970;font-size:11px;overflow-wrap:anywhere}
.mapa-staff-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}.mapa-staff-assignment-grid>label{display:grid;gap:6px;min-width:0}.mapa-staff-assignment-grid label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-staff-assignment-grid select,.mapa-staff-assignment-grid input[type=text]{width:100%;min-width:0}.mapa-staff-assignment-grid select[multiple]{min-height:122px}.mapa-staff-assignment-grid small{color:#646970;line-height:1.4}
.mapa-record-field-group--staff .mapa-staff-assignment-grid,.mapa-training-session-details-staff .mapa-staff-assignment-grid,.mapa-attendance-adhoc-staff .mapa-staff-assignment-grid{grid-column:1/-1;width:100%}
.mapa-record-field-group--staff>.mapa-staff-assignment-grid{margin-bottom:8px}.mapa-training-session-details-staff{display:grid!important;gap:8px}.mapa-training-session-details-staff .mapa-staff-assignment-grid{margin-top:0}.mapa-attendance-adhoc-staff{display:grid!important;gap:8px}
.mapa-event-staff-summary{display:block;margin-top:4px;color:#646970;line-height:1.35}.mapa-event-table td>small{display:block;margin-top:4px}
@media(max-width:1100px){.mapa-player-picker__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mapa-participant-scope__choices,.mapa-staff-assignment-grid,.mapa-player-picker__list{grid-template-columns:1fr}.mapa-player-picker__toolbar{grid-template-columns:1fr}.mapa-player-picker__toolbar>div{justify-content:flex-start}.mapa-player-picker{padding:11px}}

/* v3.8.6 — MAPA Mail branding picker */
.mapa-mail-branding-card{margin:18px 0}.mapa-mail-branding-form{padding:20px}.mapa-mail-branding-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:24px;align-items:start}.mapa-mail-logo-preview{display:grid;gap:9px}.mapa-mail-logo-preview>span,.mapa-mail-logo-width>span{font-weight:700;color:#2c3338}.mapa-mail-logo-preview>div{display:grid;place-items:center;min-height:190px;padding:22px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-mail-logo-preview img{display:block;max-height:160px;object-fit:contain}.mapa-mail-branding-controls{display:grid;gap:14px}.mapa-mail-branding-actions{display:flex;flex-wrap:wrap;gap:8px}.mapa-mail-logo-width{display:grid;gap:7px;max-width:320px}.mapa-mail-logo-width small{color:#646970;line-height:1.45}.mapa-mail-branding-form>.mapa-identity-form-actions{margin-top:18px}.mapa-frontend-manager-shell .mapa-mail-logo-preview>span,.mapa-frontend-manager-shell .mapa-mail-logo-width>span{color:#fff}.mapa-frontend-manager-shell .mapa-mail-logo-preview>div{border-color:var(--mapa-line);background:#fff}.mapa-frontend-manager-shell .mapa-mail-logo-width small{color:var(--mapa-muted)}
@media(max-width:860px){.mapa-mail-branding-grid{grid-template-columns:1fr}.mapa-mail-logo-preview>div{min-height:150px}}
@media(max-width:600px){.mapa-mail-branding-form{padding:14px}.mapa-mail-branding-actions .button{width:100%;justify-content:center}.mapa-mail-logo-width{max-width:none}}

/* v3.9.0 — Integration & Quality / System Health */
/* System Health is wp-admin only; its component styles live exclusively in assets/css/mapa-admin.css. */

/* v3.9.5 — standard admin checkboxes + dynamic permission user picker. */
.mapa-permissions-user-picker .mapa-permission-user-search{position:relative;display:grid;gap:8px;padding:0 20px 20px}.mapa-permission-user-search>label{display:block}.mapa-permission-user-search input[type=search]{width:min(100%,720px);min-height:42px}.mapa-permission-user-search__status{color:#646970;font-size:12px}.mapa-permission-user-results{position:absolute;z-index:100;top:52px;left:20px;width:min(calc(100% - 40px),720px);max-height:320px;overflow:auto;padding:6px;border:1px solid #c3c4c7;border-radius:9px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.16)}.mapa-permission-user-result{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;padding:9px 10px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}.mapa-permission-user-result:hover,.mapa-permission-user-result:focus{background:#f6f7f7;outline:none}.mapa-permission-user-result>span{display:grid;gap:2px;min-width:0}.mapa-permission-user-result strong{color:#1d2327}.mapa-permission-user-result small{color:#646970;overflow-wrap:anywhere}.mapa-permission-user-result .dashicons{color:#b30b16}.mapa-permission-current-user{display:flex;align-items:center;gap:10px;width:min(100%,720px);padding:10px 12px;border:1px solid #dcdcde;border-radius:9px;background:#f8f9fa}.mapa-permission-current-user>.dashicons{color:#198754}.mapa-permission-current-user>span:nth-child(2){display:grid;gap:2px;min-width:0;flex:1}.mapa-permission-current-user small{color:#646970}.mapa-permission-current-user .button{flex:0 0 auto}.mapa-settings-embedded .mapa-standard-check input[type=checkbox],.mapa-admin-wrap .mapa-standard-check input[type=checkbox]{width:1rem!important;height:1rem!important;min-width:1rem!important;min-height:1rem!important;max-width:none!important;max-height:none!important;padding:0!important}.mapa-settings-embedded .mapa-standard-check input[type=checkbox]:before,.mapa-admin-wrap .mapa-standard-check input[type=checkbox]:before{margin:-.1875rem 0 0 -.25rem}

.mapa-accounts-admin .mapa-role-checks label:has(input:checked){border-color:#dcdcde;background:#fafafa}


/* v3.9.7 — Training ad hoc: explicit responsive grid after global People Picker rollout. */
.mapa-attendance-adhoc-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:14px 12px;padding:0 18px 18px}
.mapa-attendance-adhoc-form>label{min-width:0!important;width:100%;margin:0}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-group{grid-column:span 3}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-date{grid-column:span 2}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-start,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-end{grid-column:span 2}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place{grid-column:span 3}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-staff{grid-column:1/-1;min-width:0!important;width:100%;margin:0}
.mapa-attendance-adhoc-staff>.mapa-staff-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin-top:0;width:100%}
.mapa-attendance-adhoc-staff>.mapa-staff-assignment-grid>label{min-width:0!important;width:100%;margin:0}
.mapa-attendance-adhoc-staff .mapa-people-picker,.mapa-attendance-adhoc-staff .mapa-people-search-wrap,.mapa-attendance-adhoc-staff .mapa-people-search{width:100%!important;min-width:0!important}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-note-field{grid-column:span 6;min-width:0!important}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-notify{grid-column:span 3;align-self:stretch}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-notify>span:last-child{height:100%;min-height:44px}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-deadline{grid-column:span 3}
.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-submit{grid-column:span 3;justify-self:start;align-self:end;min-height:40px;margin:0}
@media(max-width:1180px){.mapa-attendance-adhoc-form{grid-template-columns:repeat(6,minmax(0,1fr))}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-group,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-date{grid-column:span 3}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-start,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-end,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place{grid-column:span 2}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-staff{grid-column:1/-1}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-note-field{grid-column:1/-1}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-notify{grid-column:span 3}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-deadline,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-submit{grid-column:span 3}}
@media(max-width:760px){.mapa-attendance-adhoc-form{grid-template-columns:1fr;gap:12px;padding:0 12px 14px}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-group,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-date,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-start,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-end,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-staff,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-note-field,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-notify,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-deadline,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-submit{grid-column:1/-1}.mapa-attendance-adhoc-staff>.mapa-staff-assignment-grid{grid-template-columns:1fr}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-submit{width:100%;justify-self:stretch}}

/* v3.9.8 — Family monthly fee plans */
.mapa-finance-family-help{padding:14px 16px;border:1px solid #dcdcde;border-radius:10px;background:#f6f7f7}.mapa-finance-family-help strong{display:block;margin-bottom:5px}.mapa-finance-family-help p{margin:0;color:#50575e;line-height:1.5}.mapa-finance-legacy-discounts{padding:12px 14px;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-finance-legacy-discounts>summary{cursor:pointer;font-weight:700}.mapa-finance-legacy-discounts>p{margin:10px 0;color:#646970}.mapa-finance-legacy-discounts .mapa-finance-settings-grid{margin-top:10px}.mapa-finance-family-toggle{grid-column:span 1}

/* v3.9.9 — canonical training date/time controls */
.mapa-training-add-form input[type=time],.mapa-record-editor-grid--training input[type=time]{width:100%;min-height:36px}
.mapa-training-time-warning{display:block;grid-column:1/-1;padding:8px 10px;border-left:3px solid #dba617;background:#fff8e5;color:#5d4b15;font-size:12px;line-height:1.4}

/* v3.9.10 — session generator diagnostics */
.mapa-attendance-generation-report{margin:8px 0 10px 20px;padding:0;list-style:disc}.mapa-attendance-generation-report li{margin:4px 0;line-height:1.45}

/* v3.9.11 — explicit sibling billing groups */
.mapa-finance-sibling-groups-card{margin-top:18px}.mapa-finance-sibling-groups-card>.mapa-finance-family-help{margin:18px}.mapa-finance-sibling-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(320px,2fr) auto;gap:12px;align-items:end;margin:18px}.mapa-finance-sibling-form>label{display:grid;gap:6px}.mapa-finance-sibling-form>label>span{font-size:12px;font-weight:700}.mapa-finance-sibling-players{min-width:0}.mapa-finance-sibling-list{display:grid;gap:10px;margin:0 18px 18px}.mapa-finance-sibling-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #dcdcde;border-radius:10px;background:#fff}.mapa-finance-sibling-row .mapa-finance-sibling-form{margin:0;padding:12px;grid-template-columns:minmax(180px,.7fr) minmax(320px,2fr) auto}.mapa-finance-sibling-delete{padding:12px}.mapa-finance-sibling-actions{align-self:end}.mapa-finance-sibling-row small{color:#646970}
@media(max-width:980px){.mapa-finance-sibling-form,.mapa-finance-sibling-row .mapa-finance-sibling-form{grid-template-columns:1fr 1fr}.mapa-finance-sibling-form>button,.mapa-finance-sibling-actions{grid-column:1/-1}.mapa-finance-sibling-row{grid-template-columns:1fr}.mapa-finance-sibling-delete{padding-top:0}}
@media(max-width:620px){.mapa-finance-sibling-form,.mapa-finance-sibling-row .mapa-finance-sibling-form{grid-template-columns:1fr}.mapa-finance-sibling-form>button,.mapa-finance-sibling-actions{grid-column:auto}}

/* v3.9.12 — Newsroom / Facebook integration */
.mapa-news-editor-form{padding:24px}.mapa-news-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.mapa-news-editor-grid>label,.mapa-news-editor-grid>div{min-width:0}.mapa-news-editor-grid label>span,.mapa-news-field-title{display:block;margin:0 0 7px;font-weight:800}.mapa-news-editor-wide{grid-column:1/-1}.mapa-news-editor-form input[type=text],.mapa-news-editor-form textarea,.mapa-news-editor-form select{width:100%}.mapa-news-editor-form .wp-editor-wrap{border-radius:10px;overflow:hidden}.mapa-news-editor-form .wp-editor-container{border-color:rgba(255,255,255,.14)}.mapa-news-editor-form .mapa-media-preview img{display:block;max-width:260px;max-height:180px;object-fit:contain;border-radius:8px}.mapa-news-editor-form .mapa-gallery-preview{display:flex;flex-wrap:wrap;gap:10px;min-height:66px}.mapa-news-editor-form .mapa-gallery-preview>span{position:relative;display:inline-grid;place-items:center;width:86px;height:66px;border:1px solid rgba(255,255,255,.12);border-radius:8px;overflow:hidden;background:#fafaf8}.mapa-news-editor-form .mapa-gallery-preview img{width:100%;height:100%;object-fit:cover}.mapa-news-editor-form .mapa-gallery-drag{position:absolute;left:4px;top:4px;z-index:2;background:rgba(0,0,0,.72);border-radius:4px}.mapa-facebook-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.mapa-facebook-test{display:grid;gap:4px;margin-top:18px;padding:14px 16px;border-radius:10px}.mapa-facebook-test.is-ok{border:1px solid rgba(68,208,119,.35);background:rgba(68,208,119,.08)}.mapa-facebook-test.is-error{border:1px solid rgba(226,7,22,.35);background:rgba(226,7,22,.08)}.mapa-facebook-preview-list{display:grid;gap:14px;margin-top:18px}.mapa-facebook-preview-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}.mapa-facebook-preview-card>img{width:160px;height:120px;object-fit:cover;border-radius:8px}.mapa-facebook-preview-card p{margin:6px 0 10px}.mapa-facebook-preview-date{font-size:.78rem;color:var(--mapa-muted,#9b9ba1)}.mapa-facebook-imported{display:flex;gap:7px;align-items:center;color:#9be6b4}.mapa-news-admin-table td:last-child{white-space:nowrap}
@media(max-width:820px){.mapa-news-editor-grid,.mapa-facebook-setting-grid{grid-template-columns:1fr}.mapa-news-editor-wide{grid-column:auto}.mapa-facebook-preview-card{grid-template-columns:1fr}.mapa-facebook-preview-card>img{width:100%;height:auto;max-height:240px}}

/* v3.9.12 — Newsroom gallery controls */
.mapa-news-editor-form .mapa-gallery-preview>span{position:relative}.mapa-gallery-remove{position:absolute;right:4px;top:4px;z-index:3;display:grid;place-items:center;width:23px;height:23px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.78);color:#fff;font-size:18px;line-height:1;cursor:pointer}.mapa-gallery-remove:hover,.mapa-gallery-remove:focus{background:#e20716;outline:2px solid rgba(255,255,255,.75);outline-offset:1px}

/* v3.9.13 — Finance sibling/relief form alignment.
 * Dynamic People Picker/month controls append status/helper content below the
 * actual input. Align the field shells from the top instead of their complete
 * variable-height boxes so every control shares one visual baseline. */
.mapa-finance-sibling-form,
.mapa-finance-relief-form{
  align-items:start;
}
.mapa-finance-sibling-form>label,
.mapa-finance-relief-form>label{
  min-width:0;
  align-content:start;
}
.mapa-finance-sibling-form>label>span,
.mapa-finance-relief-form>label>span{
  display:flex;
  align-items:flex-end;
  min-height:18px;
  line-height:18px;
}
.mapa-finance-sibling-form :is(input[type=text],input[type=search],select),
.mapa-finance-relief-form :is(input[type=text],input[type=search],input[type=number],select),
.mapa-finance-sibling-form .mapa-people-search,
.mapa-finance-relief-form .mapa-people-search,
.mapa-finance-relief-form .mapa-month-localized select{
  min-height:50px!important;
  height:50px;
}
.mapa-finance-sibling-form>.button,
.mapa-finance-sibling-actions,
.mapa-finance-relief-form>.button{
  align-self:start;
  margin-top:24px!important;
  min-height:50px;
}
.mapa-finance-sibling-actions>.button{min-height:50px}
.mapa-finance-sibling-players>small,
.mapa-finance-relief-form .mapa-people-status{
  margin-top:0;
}
@media(max-width:620px){
  .mapa-finance-sibling-form>.button,
  .mapa-finance-sibling-actions,
  .mapa-finance-relief-form>.button{margin-top:0!important}
}


/* v3.9.14 — Strefa MAPA Newsroom navigation and dashboard shortcuts */
.mapa-management-dashboard-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px}
.mapa-management-dashboard-actions .button{display:inline-flex;align-items:center;gap:7px;min-height:42px}
.mapa-management-dashboard-actions .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
@media(max-width:620px){.mapa-management-dashboard-actions{display:grid;grid-template-columns:1fr}.mapa-management-dashboard-actions .button{justify-content:center;width:100%}}


/* Newsroom visual editor / media controls v3.9.15 */
.mapa-news-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 7px}.mapa-news-editor-toolbar .mapa-news-field-title{margin:0}.mapa-news-editor-toolbar .button{display:inline-flex;align-items:center;gap:6px}.mapa-news-editor-toolbar .dashicons{width:18px;height:18px;font-size:18px}.mapa-news-editor-help{margin:8px 0 0!important}.mapa-news-editor-form .mapa-media-field>.description{margin:9px 0 0}.mapa-news-editor-form .mapa-gallery-sort-placeholder{width:86px;height:66px;border:1px dashed rgba(226,7,22,.75);border-radius:8px;background:rgba(226,7,22,.08)}
@media(max-width:600px){.mapa-news-editor-toolbar{align-items:stretch}.mapa-news-editor-toolbar .button{justify-content:center;width:100%}}

/* MAPA 4.0.0 — Boiska MAPA */
.mapa-pitch-select{width:100%;min-height:40px}.mapa-pitch-field,.mapa-pitch-manual-field{display:grid;gap:6px}.mapa-pitch-manual-field small,.mapa-event-form-grid label small,.mapa-camp-form-grid label small{color:#646970;font-size:11px;font-weight:400;line-height:1.35}
.mapa-pitches-admin{max-width:1500px}.mapa-pitch-list{display:grid;gap:10px;padding:0 18px 18px}.mapa-pitch-list-item{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.mapa-pitch-list-item__image{display:grid;place-items:center;width:82px;height:68px;border-radius:9px;background:#f6f7f7;overflow:hidden}.mapa-pitch-list-item__image img{width:100%;height:100%;object-fit:cover}.mapa-pitch-list-item__image .dashicons{width:30px;height:30px;font-size:30px;color:#8c8f94}.mapa-pitch-list-item__body{display:grid;gap:4px;min-width:0}.mapa-pitch-list-item__body p,.mapa-pitch-list-item__body small{margin:0;color:#646970}.mapa-pitch-list-item__head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.mapa-pitch-list-item__head strong{font-size:15px}.mapa-pitch-list-item__actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mapa-pitch-editor{padding:18px}.mapa-pitch-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.mapa-pitch-form-grid label{display:grid;gap:6px;margin:0}.mapa-pitch-form-grid label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-pitch-form-grid input,.mapa-pitch-form-grid select,.mapa-pitch-form-grid textarea{width:100%;min-height:42px}.mapa-pitch-wide{grid-column:1/-1}.mapa-pitch-media-map{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(360px,1.25fr);gap:18px;margin-top:18px}.mapa-pitch-media-map>section{padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fafafa}.mapa-pitch-media-map h3{margin:0 0 12px}.mapa-pitch-image-preview{display:grid;place-items:center;min-height:150px;margin:0 0 10px;border:1px dashed #c3c4c7;border-radius:10px;background:#fff;overflow:hidden}.mapa-pitch-image-preview img{display:block;max-width:100%;max-height:240px;object-fit:contain}.mapa-pitch-map{width:100%;min-height:290px;border:0;border-radius:10px;background:#eee}.mapa-pitch-editor .mapa-identity-form-actions{margin-top:18px;padding-top:16px;border-top:1px solid #e1e3e6}
.mapa-training-add-form .mapa-pitch-select,.mapa-record-editor-grid--training .mapa-pitch-select,.mapa-training-session-details-form .mapa-pitch-select,.mapa-attendance-adhoc-form .mapa-pitch-select{width:100%;max-width:none}.mapa-training-place-manual small{font-size:11px;color:#646970;font-weight:400}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-pitch,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place-manual{grid-column:span 3}
@media(max-width:1100px){.mapa-pitch-media-map{grid-template-columns:1fr}.mapa-pitch-list-item{grid-template-columns:68px minmax(0,1fr)}.mapa-pitch-list-item__image{width:68px;height:60px}.mapa-pitch-list-item__actions{grid-column:1/-1;justify-content:flex-start}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-pitch,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place-manual{grid-column:span 3}}
@media(max-width:760px){.mapa-pitch-form-grid{grid-template-columns:1fr}.mapa-pitch-wide{grid-column:auto}.mapa-pitch-list-item{grid-template-columns:1fr}.mapa-pitch-list-item__image{width:100%;height:150px}.mapa-pitch-list-item__actions{grid-column:auto}.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-pitch,.mapa-attendance-adhoc-form>.mapa-attendance-adhoc-place-manual{grid-column:1/-1}}

/* v4.3.4 theme-ready inline admin helpers */
.mapa-admin-inline-hint{color:#646970}.mapa-news-group-picker{max-height:170px;overflow:auto;border:1px solid #dcdcde;padding:8px;background:#fff;border-radius:8px}.mapa-news-group-picker label{display:block;margin:5px 0}

/* v4.3.22 — chargeable months */
.mapa-finance-charge-months{margin:18px 0;padding:16px;border:1px solid var(--mapa-admin-border,#dcdcde);border-radius:12px}.mapa-finance-charge-months>div:first-child p{margin:4px 0 12px}.mapa-finance-month-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px 14px}.mapa-finance-month-check{min-height:38px;align-items:center}@media(max-width:900px){.mapa-finance-month-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:520px){.mapa-finance-month-grid{grid-template-columns:1fr}}

/* v4.3.38 — Partner/Sponsor compact accordion editor */
.mapa-partner-record-list{gap:10px}
.mapa-partner-record__summary{grid-template-columns:auto 58px minmax(180px,1.15fr) minmax(220px,1fr) auto;min-height:74px}
.mapa-partner-record__logo{width:58px;height:50px;border-radius:9px;background:#fff!important;border:1px solid rgba(127,127,127,.18)}
.mapa-partner-record__logo img{width:100%;height:100%;padding:4px;object-fit:contain;background:#fff}
.mapa-partner-record__logo>.dashicons{display:grid;place-items:center;width:100%;height:100%;font-size:24px;color:#777}
.mapa-partner-record__details{padding:18px}
.mapa-partner-record-editor{display:grid;grid-template-columns:minmax(190px,.34fr) minmax(0,1fr);gap:18px;align-items:start}
.mapa-partner-record-editor__logo{display:grid;gap:8px;min-width:0;padding:14px;border:1px solid var(--mapa-line,#dcdcde);border-radius:12px;background:color-mix(in srgb,var(--mapa-ui-surface-bg,#fff) 94%,transparent)}
.mapa-partner-record-editor__logo .mapa-partner-logo{min-width:0}
.mapa-partner-record-editor__logo .mapa-partner-logo__preview{width:100%;max-width:220px;min-height:112px;margin:0;padding:10px}
.mapa-partner-record-editor__logo .mapa-partner-logo__preview img{max-width:100%;max-height:105px}
.mapa-partner-record-editor__logo>small,.mapa-partner-record-editor__fields small,.mapa-partner-record-editor__options small{color:var(--mapa-ui-muted,#646970);font-size:12px;font-weight:400;line-height:1.45}
.mapa-partner-record-editor__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.mapa-partner-record-editor__fields>label{display:grid;gap:6px;min-width:0;font-weight:700}
.mapa-partner-record-editor__fields>label>span:first-child{font-size:12px}
.mapa-partner-record-editor__fields :is(input[type=text],input[type=url],select,textarea){width:100%;min-width:0}
.mapa-partner-record-editor__wide{grid-column:1/-1}
.mapa-partner-record-editor__options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mapa-partner-record-editor__options>label{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:13px 14px;border:1px solid var(--mapa-line,#dcdcde);border-radius:11px;background:color-mix(in srgb,var(--mapa-ui-surface-bg,#fff) 94%,transparent)}
.mapa-partner-record-editor__options input[type=checkbox]{flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0!important;padding:0!important}
.mapa-partner-record-editor__options>label>span{display:grid;gap:3px;min-width:0}.mapa-partner-record-editor__options strong{font-size:13px}
.mapa-partner-record-editor__actions{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:2px}
@media(max-width:900px){.mapa-partner-record__summary{grid-template-columns:auto 52px minmax(0,1fr) auto}.mapa-partner-record__summary .mapa-record-summary__meta{grid-column:3/5}.mapa-partner-record-editor{grid-template-columns:1fr}.mapa-partner-record-editor__logo{grid-template-columns:minmax(0,220px) minmax(0,1fr);align-items:start}.mapa-partner-record-editor__logo>.mapa-record-label{grid-column:1/-1}.mapa-partner-record-editor__logo>small{align-self:center}}
@media(max-width:700px){.mapa-partner-record__summary{grid-template-columns:auto 46px minmax(0,1fr);gap:9px}.mapa-partner-record .mapa-record-summary__avatar{display:grid;width:46px;height:42px}.mapa-partner-record__summary .mapa-record-summary__identity{grid-column:3}.mapa-partner-record__summary .mapa-record-summary__meta{grid-column:2/4;margin-left:0}.mapa-partner-record__summary .mapa-record-summary__actions{grid-column:2/4;justify-content:flex-start}.mapa-partner-record-editor__logo{grid-template-columns:1fr}.mapa-partner-record-editor__logo>small{align-self:auto}.mapa-partner-record-editor__fields,.mapa-partner-record-editor__options{grid-template-columns:1fr}.mapa-partner-record-editor__wide{grid-column:auto}.mapa-partner-record-editor__actions{justify-content:flex-start}}

/* v4.3.39 — Partner/Sponsor collapsed record usability polish */
.mapa-partner-record__summary{
  grid-template-columns:42px 66px minmax(210px,1.35fr) minmax(240px,.9fr) auto;
  gap:12px;
  min-height:82px;
  padding:11px 13px;
  align-items:center;
}
.mapa-partner-record__summary .mapa-drag-handle{
  width:38px;
  height:38px;
  border-radius:10px;
}
.mapa-partner-record__logo{
  width:66px;
  height:56px;
  border-radius:11px;
  overflow:hidden;
  flex:none;
}
.mapa-partner-record__logo img{padding:5px}
.mapa-partner-record__identity{display:grid;gap:2px;align-content:center;min-width:0}
.mapa-partner-record__identity strong{font-size:15px;line-height:1.3}
.mapa-partner-record__identity>span{font-size:12px;line-height:1.3}
.mapa-partner-record__identity>small{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  margin-top:3px;
  color:var(--mapa-ui-muted,#8f8f96);
  font-size:11px;
  line-height:1.35;
  font-weight:400;
}
.mapa-partner-record__meta{gap:6px!important;align-items:center!important}
.mapa-partner-record__meta .mapa-status,
.mapa-partner-record__www{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:4px 9px;
  border:1px solid var(--mapa-line,#dcdcde);
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
.mapa-partner-record__www{
  color:inherit;
  text-decoration:none;
  background:color-mix(in srgb,var(--mapa-ui-surface-bg,#fff) 92%,transparent);
}
.mapa-partner-record__www:hover,.mapa-partner-record__www:focus-visible{
  border-color:var(--mapa-red,#e20716);
  color:var(--mapa-red,#e20716);
  outline:none;
}
.mapa-partner-record__actions .mapa-record-toggle-button{
  min-width:86px;
  min-height:38px;
  margin:0;
  border-radius:10px;
  font-weight:700;
}
.mapa-partner-record.is-open .mapa-partner-record__summary{
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
@media(max-width:900px){
  .mapa-partner-record__summary{
    grid-template-columns:40px 60px minmax(0,1fr) auto;
    gap:10px;
  }
  .mapa-partner-record__logo{width:60px;height:52px}
  .mapa-partner-record__summary .mapa-partner-record__meta{grid-column:3/5;margin:0}
}
@media(max-width:700px){
  .mapa-partner-record-list{gap:9px}
  .mapa-partner-record{
    border-radius:14px;
  }
  .mapa-partner-record__summary{
    grid-template-columns:38px 56px minmax(0,1fr) 42px!important;
    grid-template-rows:auto auto;
    gap:7px 9px!important;
    min-height:0;
    padding:11px!important;
  }
  .mapa-partner-record__summary .mapa-drag-handle{
    grid-column:1;
    grid-row:1/3;
    align-self:center;
    width:36px;
    height:42px;
  }
  .mapa-partner-record .mapa-record-summary__avatar.mapa-partner-record__logo{
    display:grid;
    grid-column:2;
    grid-row:1/3;
    align-self:center;
    width:56px;
    height:50px;
  }
  .mapa-partner-record__summary .mapa-partner-record__identity{
    grid-column:3;
    grid-row:1;
    align-self:end;
  }
  .mapa-partner-record__identity strong{font-size:14px;white-space:normal;line-height:1.25}
  .mapa-partner-record__identity>span{font-size:11px}
  .mapa-partner-record__identity>small{display:none}
  .mapa-partner-record__summary .mapa-partner-record__meta{
    grid-column:3/5!important;
    grid-row:2;
    align-self:start;
    margin:0!important;
    gap:5px!important;
  }
  .mapa-partner-record__meta .mapa-status,.mapa-partner-record__www{
    min-height:24px;
    padding:3px 7px;
    font-size:10px;
  }
  .mapa-partner-record__summary .mapa-partner-record__actions{
    grid-column:4!important;
    grid-row:1!important;
    align-self:center;
    justify-self:end;
    margin:0;
  }
  .mapa-partner-record__actions .mapa-record-toggle-button{
    position:relative;
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0!important;
    overflow:hidden;
    border-radius:999px;
    font-size:0!important;
    line-height:0;
  }
  .mapa-partner-record__actions .mapa-record-toggle-button::after{
    content:"⌄";
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    font-size:21px;
    line-height:1;
    transform:translateY(-2px);
  }
  .mapa-partner-record.is-open .mapa-partner-record__actions .mapa-record-toggle-button::after{
    content:"⌃";
    transform:translateY(2px);
  }
}


/* MAPA v5.0.9 — Operations Center apparel queue */
.mapa-operations-apparel-card{margin-top:18px}
.mapa-operations-apparel-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 18px 0}
.mapa-operations-apparel-metrics>a{display:grid;gap:4px;padding:14px 16px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none}
.mapa-operations-apparel-metrics>a:hover,.mapa-operations-apparel-metrics>a:focus-visible{border-color:rgba(226,7,22,.55)}
.mapa-operations-apparel-metrics span{font-size:12px;color:#aaaab2;text-transform:uppercase;letter-spacing:.045em}
.mapa-operations-apparel-metrics strong{font-size:1.55rem;color:#fff}
.mapa-operations-apparel-metrics small{color:#aaaab2}
.mapa-operations-apparel-list{display:grid;gap:0;padding:18px}
.mapa-operations-apparel-list__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e2e2dd}
.mapa-operations-apparel-list article{display:grid;grid-template-columns:minmax(0,1.4fr) auto auto auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.mapa-operations-apparel-list article>div:first-child small{display:block;margin-top:3px;color:#aaaab2}
.mapa-operations-apparel-list__amount{white-space:nowrap}
.mapa-operations-apparel-list__statuses{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:1000px){.mapa-operations-apparel-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-operations-apparel-list article{grid-template-columns:minmax(0,1fr) auto}.mapa-operations-apparel-list__statuses{grid-column:1}.mapa-operations-apparel-list article>a{grid-column:2;grid-row:2}}
@media(max-width:620px){.mapa-operations-apparel-metrics{grid-template-columns:1fr}.mapa-operations-apparel-list__head{align-items:flex-start;flex-direction:column}.mapa-operations-apparel-list article{grid-template-columns:1fr;gap:7px}.mapa-operations-apparel-list__statuses,.mapa-operations-apparel-list article>a{grid-column:auto;grid-row:auto}.mapa-operations-apparel-list article>a{justify-self:start}}

/* === bundled from assets/css/date-localization.css === */
/* MAPA — Polish date/time controls (v3.9.10). */
.mapa-date-display{font-variant-numeric:tabular-nums}
.mapa-date-display.is-invalid-date{border-color:#e20716!important;box-shadow:0 0 0 2px rgba(226,7,22,.18)!important}
.mapa-datetime-localized{display:grid;grid-template-columns:minmax(150px,1fr) minmax(108px,.55fr);gap:8px;align-items:center;width:100%}
.mapa-month-localized{display:grid;grid-template-columns:minmax(130px,1fr) minmax(90px,.65fr);gap:8px;align-items:center;width:100%}
.mapa-datetime-localized input,.mapa-month-localized select{min-width:0;width:100%}

#ui-datepicker-div.ui-datepicker{display:none;width:min(330px,calc(100vw - 24px));padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:#fff;color:#151515;box-shadow:0 22px 64px rgba(0,0,0,.48);font:inherit;z-index:100000!important}
.ui-datepicker .ui-datepicker-header{position:relative;display:grid;grid-template-columns:36px 1fr 36px;gap:8px;align-items:center;margin-bottom:9px;padding:0;background:transparent;border:0}
.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:static!important;display:grid!important;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#fff;color:#151515;text-decoration:none;cursor:pointer}
.ui-datepicker .ui-datepicker-prev{grid-column:1}.ui-datepicker .ui-datepicker-next{grid-column:3}
.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{position:static!important;margin:0!important;background:none!important;text-indent:0!important;width:auto!important;height:auto!important;font-size:0}
.ui-datepicker .ui-datepicker-prev span:before{content:'‹';font-size:24px;line-height:1}.ui-datepicker .ui-datepicker-next span:before{content:'›';font-size:24px;line-height:1}
.ui-datepicker .ui-datepicker-title{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:6px;margin:0!important;line-height:1.2;text-align:center}
.ui-datepicker .ui-datepicker-title select{width:100%!important;min-height:36px!important;margin:0!important;padding:5px 7px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:8px!important;background:#fff!important;color:#151515!important;font:inherit!important;font-size:13px!important}
.ui-datepicker table{width:100%;margin:0;border-collapse:separate;border-spacing:3px;background:transparent;color:inherit}
.ui-datepicker th{padding:6px 2px!important;border:0!important;background:transparent!important;color:#aaaab2!important;text-align:center;font-size:11px;font-weight:800;text-transform:uppercase}
.ui-datepicker td{padding:0!important;border:0!important;background:transparent!important}
.ui-datepicker td span,.ui-datepicker td a{display:grid!important;place-items:center;min-width:34px;height:34px;padding:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#f7f5f1!important;text-decoration:none!important;text-align:center!important;font-weight:700!important}
.ui-datepicker td a:hover{border-color:rgba(226,7,22,.55)!important;background:rgba(226,7,22,.12)!important}
.ui-datepicker td.ui-datepicker-today a{border-color:rgba(255,255,255,.28)!important}
.ui-datepicker td .ui-state-active{border-color:#e20716!important;background:#e20716!important;color:#fff!important}
.ui-datepicker .ui-datepicker-other-month span,.ui-datepicker .ui-datepicker-other-month a{opacity:.4}
.ui-datepicker .ui-datepicker-buttonpane{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.ui-datepicker .ui-datepicker-buttonpane button{min-height:34px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#fff;color:#151515}

/* Light wp-admin fallback where MAPA dark shell is not wrapping the picker. */
body.wp-admin #ui-datepicker-div.ui-datepicker{background:#fff;color:#151515}

@media(max-width:560px){
  .mapa-datetime-localized,.mapa-month-localized{grid-template-columns:1fr}
  #ui-datepicker-div.ui-datepicker{padding:10px}
  .ui-datepicker td span,.ui-datepicker td a{min-width:31px;height:31px}
}

/* === bundled from assets/css/ux-stabilization.css === */
/* MAPA v3.6.4 — portal-wide UX stabilization. */

/* Toasts */
.mapa-toast-region{position:fixed;top:calc(var(--mapa-adminbar-offset,0px) + 18px);right:18px;z-index:100000;display:grid;gap:10px;width:min(390px,calc(100vw - 28px));pointer-events:none}
.mapa-toast{display:flex;align-items:flex-start;gap:12px;padding:14px 14px 14px 16px;border:1px solid rgba(255,255,255,.16);border-left:4px solid #6ea8fe;border-radius:13px;background:#fff;color:#151515;box-shadow:0 22px 60px rgba(0,0,0,.48);opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease;pointer-events:auto}
.mapa-toast.is-visible{opacity:1;transform:translateY(0)}
.mapa-toast.is-leaving{opacity:0;transform:translateY(-8px)}
.mapa-toast.is-success{border-left-color:#37c978}.mapa-toast.is-warning{border-left-color:#e1a72f}.mapa-toast.is-error{border-left-color:#ff5964}
.mapa-toast__body{display:grid;gap:3px;min-width:0;flex:1}.mapa-toast__body strong{font-size:.84rem}.mapa-toast__body span{color:#d2d2d7;font-size:.78rem;line-height:1.45}
.mapa-toast__close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:1.25rem;line-height:1;cursor:pointer}
.mapa-toast__close:hover,.mapa-toast__close:focus{background:rgba(255,255,255,.12)}
.mapa-toast-source-hidden{display:none!important}

/* Consistent inline validation */
.mapa-field-invalid{border-color:#ff5964!important;outline:2px solid rgba(255,89,100,.18)!important;outline-offset:1px!important}
.mapa-field-error{display:block;margin-top:6px;color:#ff8b93!important;font-size:.76rem!important;font-weight:650;line-height:1.35}
label>.mapa-field-error,.mapa-field>.mapa-field-error{grid-column:1/-1}

/* Empty-result rows should read like proper empty states rather than stray table text. */
.mapa-empty-result-row{display:table-row!important}
.mapa-empty-result-cell{text-align:center!important;padding:30px 18px!important;color:var(--mapa-muted,#b8b8bd)!important;background:rgba(255,255,255,.018)!important}
.mapa-responsive-table .mapa-empty-result-row .mapa-empty-result-cell:before{display:none!important}
@media(max-width:760px){.mapa-responsive-table .mapa-empty-result-row{display:block!important}.mapa-responsive-table .mapa-empty-result-row .mapa-empty-result-cell{display:block!important;margin:0!important;border:1px dashed rgba(255,255,255,.13)!important;border-radius:11px!important}}

/* Standard back-navigation treatment used by separate editor pages. */
.mapa-back-link--standardized,.mapa-back-link{display:inline-flex!important;align-items:center;gap:7px;margin:0 0 16px!important;padding:8px 11px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.025);color:#d7d7dc!important;text-decoration:none!important;font-size:.82rem;font-weight:750;line-height:1.2}
.mapa-back-link--standardized:hover,.mapa-back-link:hover{border-color:rgba(226,7,22,.55);background:rgba(226,7,22,.08);color:#fff!important}

/* Consistent action spacing. */
.mapa-frontend-manager-shell :is(.mapa-settings-actions,.mapa-identity-form-actions,.mapa-quick-modal__actions,.mapa-member-event-card__actions,.mapa-admin-savebar){gap:10px}
.mapa-frontend-manager-shell :is(.mapa-settings-actions,.mapa-identity-form-actions,.mapa-quick-modal__actions){flex-wrap:wrap}

/* Final baseline for framed management cards: heading and content must never touch. */
.mapa-frontend-manager-shell .mapa-admin-card>.mapa-admin-card__head+*:not(.mapa-admin-card__head){scroll-margin-top:calc(var(--mapa-sticky-under-header,92px) + 16px)}
.mapa-frontend-manager-shell .mapa-admin-card>.mapa-member-empty,
.mapa-frontend-manager-shell .mapa-admin-card>.mapa-profile-empty,
.mapa-frontend-manager-shell .mapa-admin-card>.mapa-empty-admin{margin:18px;padding:24px 18px;border:1px dashed rgba(255,255,255,.13);border-radius:11px;text-align:center;background:rgba(255,255,255,.015)}

/* Dirty/validation focus should remain visible under sticky chrome. */
.mapa-frontend-manager-shell input:invalid,.mapa-frontend-manager-shell select:invalid,.mapa-frontend-manager-shell textarea:invalid{scroll-margin-top:calc(var(--mapa-sticky-under-header,92px) + 80px)}

@media(max-width:760px){
  .mapa-toast-region{top:calc(var(--mapa-adminbar-offset,0px) + 10px);right:10px;width:calc(100vw - 20px)}
  .mapa-toast{padding:13px 12px 13px 14px}
  .mapa-back-link--standardized,.mapa-back-link{margin-bottom:14px!important}
  .mapa-frontend-manager-shell .mapa-admin-card>.mapa-member-empty,
  .mapa-frontend-manager-shell .mapa-admin-card>.mapa-profile-empty,
  .mapa-frontend-manager-shell .mapa-admin-card>.mapa-empty-admin{margin:12px;padding:20px 14px}
}

/* === bundled from assets/css/people-picker.css === */
.mapa-people-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;margin:-1px!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.mapa-people-picker,.mapa-people-filter-suggest{position:relative;width:100%;min-width:0}
.mapa-people-search-wrap{display:flex;align-items:center;gap:6px;position:relative}
.mapa-people-search{width:100%!important;min-width:0!important}
.mapa-people-clear{flex:0 0 36px;width:36px;height:36px;border:1px solid rgba(127,127,127,.28);border-radius:7px;background:transparent;color:inherit;cursor:pointer;font-size:20px;line-height:1}
.mapa-people-clear[hidden]{display:none!important}
.mapa-people-selected{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 8px}
.mapa-people-selected[hidden]{display:none!important}
.mapa-people-chip,.mapa-people-single-value{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 9px;border:1px solid rgba(127,127,127,.25);border-radius:999px;background:rgba(127,127,127,.08);font-size:13px;font-weight:600}
.mapa-people-single-value{border-radius:7px;padding:7px 10px}
.mapa-people-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mapa-people-chip button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:17px;line-height:1;padding:0 2px}
.mapa-people-results{position:absolute;z-index:100000;left:0;right:0;top:calc(100% + 5px);max-height:320px;overflow:auto;padding:6px;border:1px solid rgba(127,127,127,.28);border-radius:9px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.mapa-people-picker .mapa-people-results{top:calc(100% + 5px)}
.mapa-people-filter-suggest .mapa-people-results{top:calc(100% + 4px)}
.mapa-people-result{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:0;border-radius:6px;background:transparent;color:#1d2327;padding:9px 10px;cursor:pointer}
.mapa-people-result:hover,.mapa-people-result:focus{background:#f0f2f5;outline:none}
.mapa-people-result:disabled{opacity:.55;cursor:not-allowed}
.mapa-people-result>span:first-child{display:flex;flex-direction:column;min-width:0}
.mapa-people-result strong{font-size:13px;line-height:1.35}
.mapa-people-result small{margin-top:2px;color:#646970;font-size:11px;line-height:1.35;white-space:normal}
.mapa-people-result__action{flex:0 0 auto;color:#3858e9;font-size:11px;font-weight:700}
.mapa-people-result.is-selected .mapa-people-result__action{color:#008a20}
.mapa-people-empty{padding:12px;color:#646970;font-size:12px;text-align:center}
.mapa-people-status{min-height:16px;margin-top:4px;color:#646970;font-size:11px}
.mapa-people-filter-suggest{display:block}
body.mapa-member-portal .mapa-people-results,.mapa-frontend-manager .mapa-people-results{background:#fff;border-color:rgba(255,255,255,.14);box-shadow:0 16px 40px rgba(0,0,0,.42)}
body.mapa-member-portal .mapa-people-result,.mapa-frontend-manager .mapa-people-result{color:#f7f5f1}
body.mapa-member-portal .mapa-people-result:hover,body.mapa-member-portal .mapa-people-result:focus,.mapa-frontend-manager .mapa-people-result:hover,.mapa-frontend-manager .mapa-people-result:focus{background:rgba(255,255,255,.08)}
body.mapa-member-portal .mapa-people-result small,.mapa-frontend-manager .mapa-people-result small,body.mapa-member-portal .mapa-people-status,.mapa-frontend-manager .mapa-people-status{color:#b8b8bd}
@media (max-width:782px){.mapa-people-results{max-height:44vh}.mapa-people-result{min-height:44px}.mapa-people-chip{min-height:36px}}
/* Dynamic filter suggestions are portalled to <body> so they never alter an existing filter grid/flex layout. */
.mapa-people-filter-results--portal{position:fixed;right:auto;z-index:100200;margin:0}.mapa-member-portal-main .mapa-people-results,.mapa-frontend-manager-shell .mapa-people-results{background:#fff;border-color:rgba(255,255,255,.14);box-shadow:0 16px 40px rgba(0,0,0,.42)}
.mapa-member-portal-main .mapa-people-result,.mapa-frontend-manager-shell .mapa-people-result{color:#f7f5f1}
.mapa-member-portal-main .mapa-people-result:hover,.mapa-member-portal-main .mapa-people-result:focus,.mapa-frontend-manager-shell .mapa-people-result:hover,.mapa-frontend-manager-shell .mapa-people-result:focus{background:rgba(255,255,255,.08)}
.mapa-member-portal-main .mapa-people-result small,.mapa-member-portal-main .mapa-people-status,.mapa-frontend-manager-shell .mapa-people-result small,.mapa-frontend-manager-shell .mapa-people-status{color:#b8b8bd}


/* Rich multi-person tables (e.g. match roster): instant local search plus batch selection. */
.mapa-people-multi-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 16px;margin:0 0 12px;border:1px solid #dcdcde;border-radius:10px;background:#f6f7f7}.mapa-people-multi-toolbar label{display:grid;gap:5px;min-width:min(260px,100%)}.mapa-people-multi-toolbar label>span{font-size:12px;font-weight:700;color:#50575e}.mapa-people-multi-toolbar input[type=search]{min-width:260px}.mapa-people-multi-toolbar__actions{display:flex;flex-wrap:wrap;gap:8px}.mapa-people-multi-toolbar__count{margin-left:auto;padding:7px 0;color:#50575e;white-space:nowrap}.mapa-people-multi-toolbar__count strong{color:#1d2327}.mapa-member-portal-main .mapa-people-multi-toolbar,.mapa-frontend-manager-shell .mapa-people-multi-toolbar{border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.04)}.mapa-member-portal-main .mapa-people-multi-toolbar label>span,.mapa-frontend-manager-shell .mapa-people-multi-toolbar label>span,.mapa-member-portal-main .mapa-people-multi-toolbar__count,.mapa-frontend-manager-shell .mapa-people-multi-toolbar__count{color:#c7cbd3}.mapa-member-portal-main .mapa-people-multi-toolbar__count strong,.mapa-frontend-manager-shell .mapa-people-multi-toolbar__count strong{color:#fff}@media(max-width:782px){.mapa-people-multi-toolbar{align-items:stretch}.mapa-people-multi-toolbar label,.mapa-people-multi-toolbar input[type=search]{min-width:0;width:100%}.mapa-people-multi-toolbar__actions{width:100%}.mapa-people-multi-toolbar__actions .button{flex:1 1 150px}.mapa-people-multi-toolbar__count{margin-left:0;width:100%}}

.mapa-people-picker.is-invalid .mapa-people-search-wrap{outline:2px solid #d63638;outline-offset:1px}.mapa-member-portal-main .mapa-people-picker.is-invalid .mapa-people-search-wrap,.mapa-frontend-manager-shell .mapa-people-picker.is-invalid .mapa-people-search-wrap{outline-color:#ff5b68}

/* === bundled from assets/css/reporting-v2.css === */
.mapa-reporting{--report-gap:16px}.mapa-reporting-heading{margin-bottom:18px}.mapa-report-filters{display:grid;grid-template-columns:minmax(150px,1.15fr) minmax(135px,.85fr) repeat(2,minmax(140px,.8fr)) minmax(180px,1.25fr);gap:12px;align-items:end;padding:16px;border:1px solid var(--mapa-line);border-radius:14px;background:rgba(255,255,255,.025);margin-bottom:14px}.mapa-report-filters label{display:grid;gap:6px;min-width:0}.mapa-report-filters label>span{font-size:12px;font-weight:800;color:#ddd}.mapa-report-filters input,.mapa-report-filters select{width:100%}.mapa-report-filters__actions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1}.mapa-report-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0 0 12px}.mapa-report-toolbar__exports,.mapa-report-save{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mapa-report-save input{min-width:200px}.mapa-report-presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 14px;color:var(--mapa-muted);font-size:12px}.mapa-report-preset{display:inline-flex;align-items:center;border:1px solid var(--mapa-line);border-radius:999px;background:rgba(255,255,255,.025)}.mapa-report-preset>a:first-child{padding:7px 4px 7px 10px;color:#fff;text-decoration:none}.mapa-report-preset__remove{display:grid;place-items:center;width:28px;height:28px;color:#ff7f87;text-decoration:none;font-size:18px}.mapa-report-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 14px;scrollbar-width:thin}.mapa-report-tabs a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 12px;border:1px solid var(--mapa-line);border-radius:999px;color:var(--mapa-muted);text-decoration:none;font-weight:800;font-size:12px;background:rgba(255,255,255,.025)}.mapa-report-tabs a.is-active,.mapa-report-tabs a:hover{color:#fff;border-color:rgba(226,7,22,.65);background:rgba(226,7,22,.13)}.mapa-report-tabs .dashicons{font-size:18px;width:18px;height:18px}.mapa-report-content{display:grid;gap:var(--report-gap)}.mapa-report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.mapa-report-kpis article{display:grid;gap:5px;min-width:0;padding:14px;border:1px solid var(--mapa-line);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018))}.mapa-report-kpis article>span{font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:var(--mapa-muted);font-weight:850}.mapa-report-kpis article>strong{font-size:clamp(18px,2vw,27px);color:#fff;line-height:1.1}.mapa-report-kpis article>small{color:var(--mapa-muted);font-size:11px}.mapa-report-kpis small.is-good{color:#67d895}.mapa-report-kpis small.is-bad{color:#ff8088}.mapa-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--report-gap)}.mapa-report-card{overflow:hidden}.mapa-report-card__body{display:grid;gap:13px;padding:16px}.mapa-report-table-wrap{padding:16px;overflow:auto}.mapa-report-bar{display:grid;gap:6px}.mapa-report-bar__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mapa-report-bar__head strong{font-size:13px;color:#fff}.mapa-report-bar__head span{font-size:12px;color:var(--mapa-muted)}.mapa-report-bar__track{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.mapa-report-bar__track>span{display:block;width:var(--mapa-report-bar,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mapa-red),#ff5964)}.mapa-report-money{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-report-money>div{display:grid;gap:4px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}.mapa-report-money span{font-size:11px;color:var(--mapa-muted);text-transform:uppercase}.mapa-report-money strong{color:#fff;font-size:18px}.mapa-report-note{margin:0;padding:11px 12px;border-radius:10px;background:rgba(255,255,255,.035);color:var(--mapa-muted)}.mapa-report-list{gap:0}.mapa-report-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.mapa-report-list>div:last-child{border-bottom:0}.mapa-report-list span{color:var(--mapa-muted)}.mapa-report-print-header{display:none}
@media(max-width:1280px){.mapa-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.mapa-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-report-grid{grid-template-columns:1fr}.mapa-report-filters{grid-template-columns:1fr 1fr;padding:14px}.mapa-report-filters label:first-of-type,.mapa-report-filters label:last-of-type,.mapa-report-filters__actions{grid-column:1/-1}.mapa-report-toolbar{align-items:stretch}.mapa-report-toolbar__exports,.mapa-report-save{width:100%}.mapa-report-save input{flex:1;min-width:130px}.mapa-report-table-wrap{padding:12px}.mapa-report-money{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.mapa-report-kpis{grid-template-columns:1fr 1fr}.mapa-report-filters{grid-template-columns:1fr}.mapa-report-filters label,.mapa-report-filters label:first-of-type,.mapa-report-filters label:last-of-type{grid-column:1}.mapa-report-money{grid-template-columns:1fr}}
@media print{body{background:#fff!important;color:#111!important}.mapa-reporting{margin:0!important}.mapa-reporting-heading,.mapa-report-filters,.mapa-report-toolbar,.mapa-report-presets,.mapa-report-tabs,#adminmenumain,#wpadminbar,#wpfooter,.mapa-management-tabs,.site-header,.mapa-member-mobile-nav{display:none!important}.mapa-report-print-header{display:flex!important;justify-content:space-between;gap:20px;padding-bottom:10px;margin-bottom:16px;border-bottom:1px solid #aaa;color:#111}.mapa-report-content,.mapa-report-grid{display:block}.mapa-report-kpis{grid-template-columns:repeat(3,1fr);margin-bottom:14px}.mapa-report-kpis article,.mapa-admin-card,.mapa-report-money>div{break-inside:avoid;background:#fff!important;border:1px solid #bbb!important;box-shadow:none!important;color:#111!important;margin-bottom:12px}.mapa-report-kpis article>strong,.mapa-report-card strong,.mapa-report-table-wrap th,.mapa-report-table-wrap td{color:#111!important}.mapa-report-kpis article>span,.mapa-report-kpis article>small,.mapa-report-card small,.mapa-report-card span{color:#444!important}.mapa-report-bar__track{background:#ddd!important}.mapa-report-bar__track>span{background:#555!important}.wrap{margin:0!important}.mapa-report-table-wrap{overflow:visible}.mapa-report-table-wrap table{border-collapse:collapse}.mapa-report-table-wrap th,.mapa-report-table-wrap td{border:1px solid #ccc!important}}

/* === bundled from assets/css/training-editor.css === */
/* v4.3.24 — friendlier Training editor layout */
.mapa-training-add-form.mapa-training-editor-form{display:grid;grid-template-columns:1fr;gap:22px;padding:22px}
.mapa-training-editor-shell{display:grid;gap:18px}
.mapa-training-editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.03)}
.mapa-training-editor-toolbar__summary{display:grid;gap:5px;min-width:0}.mapa-training-editor-toolbar__summary strong{font-size:14px;color:#fff}.mapa-training-editor-toolbar__summary span{color:#aaa;font-size:12px;line-height:1.45}
.mapa-training-editor-toolbar__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.mapa-training-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.mapa-training-editor-card{display:grid;gap:16px;min-width:0;padding:18px;border:1px solid #e2e4e7;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.mapa-training-editor-card--staff{grid-column:1/-1}
.mapa-training-editor-card__head{display:grid;gap:5px}.mapa-training-editor-card__head h2,.mapa-training-editor-card__head h3{margin:0;font-size:17px;line-height:1.25;color:#1d2327}.mapa-training-editor-card__head p{margin:0;color:#646970;font-size:13px;line-height:1.45}
.mapa-training-editor-fields{display:grid;gap:14px;align-items:start}.mapa-training-editor-fields--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mapa-training-editor-fields label,.mapa-training-editor-staff .mapa-staff-assignment-grid label{display:grid;gap:8px;min-width:0;color:#1d2327;font-weight:600}
.mapa-training-editor-fields label>span:first-child,.mapa-training-editor-staff .mapa-staff-assignment-grid label>span:first-child{font-size:12px;font-weight:700;color:#2f3841}
.mapa-training-editor-fields :is(input[type=text],input[type=date],input[type=time],input[type=number],select),.mapa-training-editor-staff .mapa-staff-assignment-grid :is(input[type=text],select){width:100%;min-width:0;min-height:42px;padding:0 12px;border:1px solid #cfd6dd;border-radius:10px;background:#fff;color:#1d2327}
.mapa-training-editor-staff .mapa-staff-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mapa-training-editor-staff .mapa-staff-assignment-grid label{padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fafbfc}
.mapa-training-editor-staff .mapa-staff-assignment-grid small{color:#646970;font-size:12px;font-weight:400;line-height:1.45}
.mapa-training-editor-field--wide{grid-column:1/-1}
.mapa-training-editor-note{margin:0;color:#646970;font-size:12px;font-weight:400;line-height:1.45}
.mapa-training-editor-toggle{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fafbfc;grid-column:span 1}
.mapa-training-editor-toggle input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0}
.mapa-training-editor-toggle span{display:grid;gap:4px}.mapa-training-editor-toggle strong{font-size:14px;line-height:1.3;color:#1d2327}.mapa-training-editor-toggle small{color:#646970;font-size:12px;font-weight:400;line-height:1.45}
.mapa-training-editor-toggle--visible{grid-column:1/-1}
.mapa-training-editor-preview{display:grid;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))}
.mapa-training-editor-preview__head{display:grid;gap:4px}.mapa-training-editor-preview__head h4{margin:0;color:#fff;font-size:15px}.mapa-training-editor-preview__head span{color:#aaa;font-size:12px;line-height:1.45}
.mapa-training-editor-preview__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mapa-training-editor-preview__grid>div{display:grid;gap:5px;padding:13px 14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.03)}
.mapa-training-editor-preview__grid span{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9fa3aa}.mapa-training-editor-preview__grid strong{font-size:14px;line-height:1.35;color:#f4f4f5;overflow-wrap:anywhere}
.mapa-training-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;border-top:1px solid #ececec;background:#fafafa;border-radius:0 0 16px 16px}.mapa-training-editor-footer .button{margin:0}
.mapa-training-editor-footer__submit{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:1;min-width:0}.mapa-training-editor-footer__submit span{color:#646970;font-size:12px;line-height:1.45;text-align:right;max-width:680px}
.mapa-record-details .mapa-training-time-warning{margin:0;align-self:start}
.mapa-record-accordion--training .mapa-record-details{padding:18px}
@media(max-width:1180px){.mapa-training-editor-preview__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.mapa-training-editor-grid,.mapa-training-editor-fields--2,.mapa-training-editor-staff .mapa-staff-assignment-grid,.mapa-training-editor-preview__grid{grid-template-columns:1fr}.mapa-training-editor-card--staff,.mapa-training-editor-field--wide,.mapa-training-editor-toggle,.mapa-training-editor-toggle--visible{grid-column:auto}.mapa-training-editor-toolbar,.mapa-training-editor-footer,.mapa-training-editor-footer__submit{align-items:flex-start;flex-direction:column}.mapa-training-editor-footer__submit span{text-align:left;max-width:none}.mapa-training-editor-toolbar__actions{justify-content:flex-start}}
@media(max-width:600px){.mapa-training-add-form.mapa-training-editor-form{padding:14px}.mapa-record-accordion--training .mapa-record-details{padding:12px}.mapa-training-editor-card,.mapa-training-editor-preview{padding:14px}.mapa-training-editor-toolbar{padding:14px}.mapa-training-editor-footer{padding:14px}}

/* === bundled from assets/css/workflow-tasks.css === */
.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell{max-width:1500px;margin:0 auto;padding:24px 26px 42px;box-sizing:border-box}
.mapa-workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.mapa-workflow-heading .button-hero{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.mapa-workflow-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.mapa-workflow-summary article{position:relative;overflow:hidden;padding:18px 20px;border:1px solid var(--mapa-admin-border,#d8d8d2);border-radius:16px;background:var(--mapa-admin-card,#fff);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.mapa-workflow-summary article:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:rgba(255,255,255,.14)}
.mapa-workflow-summary article.is-danger:before{background:#ff5964}
.mapa-workflow-summary span{display:block;margin-bottom:7px;color:var(--mapa-admin-muted,#a5a5ad);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.mapa-workflow-summary strong{display:block;font-size:1.7rem;line-height:1;color:var(--mapa-admin-text,#fff)}
.mapa-workflow-summary small{display:block;margin-top:7px;color:var(--mapa-admin-muted,#a5a5ad);font-size:.75rem}
.mapa-workflow-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:6px;border:1px solid var(--mapa-admin-border,#d8d8d2);border-radius:14px;background:var(--mapa-admin-card,#fff)}
.mapa-workflow-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:10px;color:var(--mapa-admin-muted,#c2c2c8);font-weight:700;text-decoration:none}
.mapa-workflow-tabs a:hover,.mapa-workflow-tabs a:focus-visible{color:var(--mapa-admin-text,#fff);background:rgba(255,255,255,.05)}
.mapa-workflow-tabs a.is-active{color:#fff;background:var(--mapa-accent,#c8102e)}
.mapa-workflow-tabs a span{min-width:20px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.13);font-size:.72rem;text-align:center}
.mapa-workflow-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,220px) minmax(150px,220px) auto auto;align-items:end;gap:10px;margin-bottom:16px;padding:14px;border:1px solid var(--mapa-admin-border,#d8d8d2);border-radius:14px;background:var(--mapa-admin-card,#fff)}
.mapa-workflow-toolbar label,.mapa-workflow-field{display:grid;gap:7px;min-width:0}
.mapa-workflow-toolbar label>span,.mapa-workflow-field>span{font-size:.76rem;font-weight:800;color:var(--mapa-admin-muted,#a5a5ad)}
.mapa-workflow-toolbar input,.mapa-workflow-toolbar select,.mapa-workflow-form input,.mapa-workflow-form select,.mapa-workflow-form textarea,.mapa-workflow-comment-form textarea,.mapa-workflow-state-form select{width:100%;max-width:none;box-sizing:border-box}
.mapa-workflow-list{display:grid;gap:10px}
.mapa-workflow-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid var(--mapa-admin-border,#d8d8d2);border-radius:15px;background:var(--mapa-admin-card,#fff);transition:border-color .18s ease,transform .18s ease,background .18s ease}
.mapa-workflow-row:hover{border-color:rgba(255,255,255,.22);transform:translateY(-1px)}
.mapa-workflow-row.is-overdue{border-left:3px solid #ff5964}
.mapa-workflow-row.is-escalated{box-shadow:inset 0 0 0 1px rgba(255,89,100,.12)}
.mapa-workflow-row__main{min-width:0;padding:16px 18px;color:inherit;text-decoration:none}
.mapa-workflow-row__main h3{margin:7px 0 8px;font-size:1rem;line-height:1.3;color:var(--mapa-admin-text,#fff)}
.mapa-workflow-row__badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.mapa-workflow-status,.mapa-workflow-priority,.mapa-workflow-escalated{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:.67rem;font-weight:850;letter-spacing:.03em}
.mapa-workflow-status{background:rgba(129,140,248,.12);color:#c8cdff}.mapa-workflow-status--in_progress{background:rgba(56,189,248,.12);color:#86ddff}.mapa-workflow-status--waiting{background:rgba(245,158,11,.12);color:#ffd27d}.mapa-workflow-status--done{background:rgba(34,197,94,.12);color:#8ae5a7}.mapa-workflow-status--cancelled{background:rgba(148,163,184,.12);color:#c3ccd8}
.mapa-workflow-priority--urgent{background:rgba(255,89,100,.14);color:#ff98a0}.mapa-workflow-priority--high{background:rgba(245,158,11,.14);color:#ffd27d}.mapa-workflow-priority--normal{background:rgba(148,163,184,.11);color:#c9d0db}.mapa-workflow-priority--low{background:rgba(100,116,139,.1);color:#aab5c4}.mapa-workflow-escalated{background:#ff5964;color:#fff}
.mapa-workflow-row__meta{display:flex;flex-wrap:wrap;gap:12px 18px;color:var(--mapa-admin-muted,#a5a5ad);font-size:.78rem}
.mapa-workflow-row__meta>span{display:inline-flex;align-items:center;gap:5px}.mapa-workflow-row__meta .dashicons{font-size:15px;width:15px;height:15px}.mapa-workflow-row__meta .is-danger{color:#ff8790;font-weight:700}
.mapa-workflow-row__relations{margin:9px 0 0;color:var(--mapa-admin-muted,#9898a1);font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mapa-workflow-row__actions{display:flex;align-items:center;gap:7px;padding:0 16px 0 0}.mapa-workflow-row__actions form{margin:0}
.mapa-workflow-empty{padding:15px;color:var(--mapa-admin-muted,#a5a5ad);text-align:center}.mapa-workflow-empty--large{padding:44px 20px;border:1px dashed var(--mapa-admin-border,#d8d8d2);border-radius:15px}.mapa-workflow-empty--large .dashicons{display:block;width:auto;height:auto;margin-bottom:10px;font-size:34px;color:#73d494}.mapa-workflow-empty--large strong{display:block;color:var(--mapa-admin-text,#fff);font-size:1rem}.mapa-workflow-empty--large p{margin:6px 0 0}
.mapa-workflow-form{padding:0!important;overflow:hidden}.mapa-workflow-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px}.mapa-workflow-field--wide{grid-column:1/-1}.mapa-workflow-field small{color:var(--mapa-admin-muted,#8f8f98);font-size:.72rem;line-height:1.45}.mapa-workflow-field--recurrence{align-content:start}.mapa-workflow-recurrence-grid{display:grid;grid-template-columns:minmax(170px,1fr) minmax(110px,.5fr) minmax(150px,.7fr);gap:9px;align-items:end}.mapa-workflow-recurrence-grid label{display:grid;gap:5px}.mapa-workflow-recurrence-grid label>span{font-size:.7rem;color:var(--mapa-admin-muted,#92929b)}
.mapa-workflow-relations{border-top:1px solid var(--mapa-admin-border,#d8d8d2);padding:0 22px}.mapa-workflow-relations summary{display:flex;align-items:center;gap:7px;padding:17px 0;font-weight:800;cursor:pointer;color:var(--mapa-admin-text,#fff)}.mapa-workflow-relations__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 0 22px}.mapa-workflow-form__actions{display:flex;align-items:center;gap:9px;padding:17px 22px;border-top:1px solid var(--mapa-admin-border,#d8d8d2);background:rgba(255,255,255,.018)}
.mapa-workflow-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:14px 0 20px}.mapa-workflow-detail-head h1{margin:8px 0 5px;font-size:clamp(1.6rem,3vw,2.25rem);line-height:1.1}.mapa-workflow-detail-head p{margin:0;color:var(--mapa-admin-muted,#a5a5ad)}.mapa-workflow-detail-head__actions{display:flex;gap:8px}
.mapa-workflow-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);gap:16px;align-items:start}.mapa-workflow-detail-main,.mapa-workflow-detail-side{display:grid;gap:16px}.mapa-workflow-card-body{padding:18px 20px}.mapa-workflow-description .mapa-workflow-card-body{font-size:.93rem;line-height:1.65}.mapa-workflow-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:16px 18px;border-bottom:1px solid var(--mapa-admin-border,#d8d8d2)}.mapa-workflow-comment-form textarea{resize:vertical}.mapa-workflow-comments{display:grid;gap:0}.mapa-workflow-comments article{padding:15px 18px;border-bottom:1px solid rgba(255,255,255,.06)}.mapa-workflow-comments article:last-child{border-bottom:0}.mapa-workflow-comments header{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px}.mapa-workflow-comments time{color:var(--mapa-admin-muted,#96969f);font-size:.72rem}.mapa-workflow-comments p{margin:0;line-height:1.55}.mapa-workflow-history{padding:6px 18px 14px}.mapa-workflow-history>div{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;padding:10px 0}.mapa-workflow-history>div>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--mapa-accent,#c8102e)}.mapa-workflow-history p{margin:0}.mapa-workflow-history strong,.mapa-workflow-history small{display:block}.mapa-workflow-history small{margin-top:3px;color:var(--mapa-admin-muted,#96969f);font-size:.72rem}
.mapa-workflow-facts{display:grid;gap:13px}.mapa-workflow-facts>div{display:grid;gap:3px}.mapa-workflow-facts span{color:var(--mapa-admin-muted,#96969f);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.mapa-workflow-facts strong{font-size:.86rem}.mapa-workflow-link-list{display:grid;padding:10px}.mapa-workflow-link-list a{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;color:var(--mapa-admin-text,#fff);text-decoration:none}.mapa-workflow-link-list a:hover{background:rgba(255,255,255,.05)}.mapa-workflow-state-form{display:grid;gap:10px;padding:16px}.mapa-workflow-danger .mapa-workflow-card-body{text-align:center}
@media(max-width:1050px){.mapa-workflow-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-workflow-toolbar{grid-template-columns:minmax(240px,1fr) 1fr 1fr auto}.mapa-workflow-toolbar>a.button{grid-column:1/-1;justify-self:start}.mapa-workflow-detail-layout{grid-template-columns:1fr}.mapa-workflow-detail-side{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-workflow-danger{grid-column:1/-1}}
@media(max-width:782px){.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell{padding:18px 14px 34px}.mapa-workflow-heading,.mapa-workflow-detail-head{display:grid}.mapa-workflow-heading .button-hero{justify-self:start}.mapa-workflow-toolbar{grid-template-columns:1fr 1fr}.mapa-workflow-toolbar label:first-child{grid-column:1/-1}.mapa-workflow-row{grid-template-columns:1fr}.mapa-workflow-row__actions{padding:0 16px 15px}.mapa-workflow-row__actions .button{min-height:36px}.mapa-workflow-form__grid,.mapa-workflow-relations__grid{grid-template-columns:1fr}.mapa-workflow-field--wide{grid-column:auto}.mapa-workflow-recurrence-grid{grid-template-columns:1fr}.mapa-workflow-detail-side{grid-template-columns:1fr}.mapa-workflow-comment-form{grid-template-columns:1fr}.mapa-workflow-comment-form .button{justify-self:start}}
@media(max-width:520px){.mapa-workflow-summary{grid-template-columns:1fr 1fr;gap:8px}.mapa-workflow-summary article{padding:14px}.mapa-workflow-tabs{display:grid;grid-template-columns:1fr 1fr}.mapa-workflow-tabs a{justify-content:space-between}.mapa-workflow-toolbar{grid-template-columns:1fr}.mapa-workflow-toolbar label:first-child{grid-column:auto}.mapa-workflow-toolbar .button{width:100%;text-align:center}.mapa-workflow-row__actions{display:grid;grid-template-columns:1fr 1fr}.mapa-workflow-row__actions .button{width:100%}.mapa-workflow-form__actions{display:grid;grid-template-columns:1fr}.mapa-workflow-form__actions .button{text-align:center}.mapa-workflow-detail-head__actions .button{width:100%;text-align:center}}

/* === bundled from assets/css/apparel-r36.css === */
/* MAPA Modern — Odzież / Zamówienia R36 */
.mapa-apparel-admin,.mapa-apparel-member-section{color:#1d1d1f}.mapa-apparel-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px;border-bottom:1px solid #dedede}.mapa-apparel-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;color:#343434;text-decoration:none;font-weight:700;border-bottom:3px solid transparent}.mapa-apparel-tabs a:hover,.mapa-apparel-tabs a:focus{color:#a30000}.mapa-apparel-tabs a.is-active{color:#111;border-bottom-color:#b00000}.mapa-apparel-empty,.mapa-apparel-editor,.mapa-apparel-catalog-list,.mapa-apparel-settings,.mapa-apparel-order,.mapa-apparel-payment-box,.mapa-apparel-roadmap-note{background:#fff;border:1px solid #dedede}.mapa-apparel-empty,.mapa-apparel-settings{padding:24px}.mapa-apparel-order-list{display:grid;gap:10px}.mapa-apparel-order>summary{display:grid;grid-template-columns:minmax(170px,1.15fr) minmax(150px,1fr) minmax(160px,1fr) minmax(100px,.6fr) auto;gap:18px;align-items:center;padding:16px 18px;cursor:pointer;list-style:none;background:#fff}.mapa-apparel-order>summary::-webkit-details-marker{display:none}.mapa-apparel-order>summary:hover{background:#fafafa}.mapa-apparel-order>summary span{min-width:0}.mapa-apparel-order>summary small{display:block;margin-bottom:3px;color:#666;font-size:12px}.mapa-apparel-order>summary strong{display:block;color:#171717;overflow-wrap:anywhere}.mapa-apparel-order__number small{margin-top:4px}.mapa-apparel-order__statuses{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mapa-apparel-badge{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border:1px solid #cfcfcf;border-radius:0;background:#f5f5f5;color:#333;font-size:12px;font-weight:800;white-space:nowrap}.mapa-apparel-badge--new,.mapa-apparel-badge--unpaid{background:#fff8df;border-color:#e7cb75;color:#654c00}.mapa-apparel-badge--accepted{background:#eef6ff;border-color:#91b9df;color:#154e7b}.mapa-apparel-badge--ready,.mapa-apparel-badge--paid{background:#edf8ef;border-color:#91c79a;color:#1e642b}.mapa-apparel-badge--rejected{background:#fff0f0;border-color:#db9a9a;color:#8b1b1b}.mapa-apparel-order__body{padding:20px;border-top:1px solid #e2e2e2;background:#fff}.mapa-apparel-order__columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:24px}.mapa-apparel-order__columns h3{margin:0 0 14px}.mapa-apparel-items-table{overflow:auto;border:1px solid #e0e0e0}.mapa-apparel-items-table table{width:100%;border-collapse:collapse;background:#fff;color:#222}.mapa-apparel-items-table th,.mapa-apparel-items-table td{padding:10px 12px;border-bottom:1px solid #e7e7e7;text-align:left;vertical-align:top}.mapa-apparel-items-table th{background:#f5f5f5;color:#333;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.mapa-apparel-items-table td small{display:block;color:#666;margin-top:3px}.mapa-apparel-details{display:grid;grid-template-columns:130px 1fr;gap:8px 12px;margin:0}.mapa-apparel-details dt{font-weight:700;color:#555}.mapa-apparel-details dd{margin:0;color:#1d1d1f;overflow-wrap:anywhere}.mapa-apparel-confirmation,.mapa-apparel-payment-box{margin-top:16px;padding:14px}.mapa-apparel-confirmation{border-left:4px solid #3f7b48;background:#f3faf4}.mapa-apparel-confirmation p,.mapa-apparel-payment-box p{margin:7px 0}.mapa-apparel-confirmation small{color:#666}.mapa-apparel-status-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding-top:20px;margin-top:20px;border-top:1px solid #e1e1e1}.mapa-apparel-status-form label{display:grid;gap:6px}.mapa-apparel-status-form label span,.mapa-apparel-form-grid label>span,.mapa-apparel-player-select>span,.mapa-apparel-product label>span,.mapa-apparel-notes>span{font-weight:700;color:#303030}.mapa-apparel-status-form select,.mapa-apparel-form-grid input,.mapa-apparel-form-grid select,.mapa-apparel-form-grid textarea,.mapa-apparel-player-select select,.mapa-apparel-product input,.mapa-apparel-product select,.mapa-apparel-notes textarea{min-height:42px;background:#fff!important;color:#1d1d1f!important;border:1px solid #bdbdbd!important;box-shadow:none!important}.mapa-apparel-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mapa-apparel-form-grid label{display:grid;gap:7px}.mapa-apparel-form-grid .mapa-field-full{grid-column:1/-1}.mapa-apparel-form-grid small{color:#666}.mapa-apparel-catalog-layout{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(480px,1.35fr);gap:22px;align-items:start}.mapa-apparel-editor,.mapa-apparel-catalog-list{padding:20px}.mapa-apparel-editor h2,.mapa-apparel-catalog-list h2,.mapa-apparel-settings h2{margin-top:0}.mapa-apparel-media{display:grid;gap:10px;margin:18px 0}.mapa-apparel-media [data-mapa-apparel-preview]:empty{display:none}.mapa-apparel-media img{display:block;max-width:220px;height:auto;border:1px solid #dedede;background:#fff}.mapa-apparel-confirm{display:flex!important;align-items:flex-start;gap:9px;margin:16px 0;color:#252525}.mapa-apparel-editor__actions{display:flex;gap:8px;flex-wrap:wrap}.mapa-apparel-catalog-list{display:grid;gap:9px}.mapa-apparel-catalog-list h2{margin-bottom:4px}.mapa-apparel-catalog-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #e5e5e5}.mapa-apparel-catalog-row:last-child{border-bottom:0}.mapa-apparel-catalog-row__image img{width:54px;height:54px;object-fit:contain;background:#fff}.mapa-apparel-catalog-row>div:nth-child(2) span{display:block;color:#666;margin-top:3px}.mapa-apparel-catalog-row__actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.mapa-apparel-settings{max-width:960px}.mapa-apparel-roadmap-note{padding:14px 16px;margin-top:20px;background:#fafafa}.mapa-apparel-parent{display:grid;gap:22px}.mapa-apparel-intro{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.mapa-apparel-intro h3{margin:0 0 7px}.mapa-apparel-intro p{margin:0;max-width:820px;color:#555}.mapa-apparel-total-box{min-width:150px;padding:12px 16px;border-left:3px solid #b00000;background:#f7f7f7;text-align:right}.mapa-apparel-total-box span,.mapa-apparel-submit div span{display:block;color:#666;font-size:12px;font-weight:700;text-transform:uppercase}.mapa-apparel-total-box strong,.mapa-apparel-submit div strong{display:block;margin-top:4px;font-size:22px;color:#111}.mapa-apparel-player-select{display:grid;gap:7px;max-width:520px}.mapa-apparel-category{display:grid;gap:12px;margin-top:22px}.mapa-apparel-category>h4{margin:0;padding-bottom:8px;border-bottom:1px solid #d9d9d9;font-size:18px;color:#171717}.mapa-apparel-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mapa-apparel-product{display:grid;gap:13px;padding:16px;border:1px solid #dedede;background:#fff;color:#222}.mapa-apparel-product__image{display:flex;align-items:center;justify-content:center;min-height:130px;background:#fff}.mapa-apparel-product__image img{max-width:100%;height:160px;object-fit:contain}.mapa-apparel-product__head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.mapa-apparel-product__head h5{margin:0;color:#161616;font-size:16px}.mapa-apparel-product__head p{margin:5px 0 0;color:#666;font-size:13px}.mapa-apparel-product__head>strong{white-space:nowrap;color:#a30000;font-size:17px}.mapa-apparel-product label{display:grid;gap:5px}.mapa-apparel-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mapa-apparel-options[hidden]{display:none}.mapa-apparel-product__line{text-align:right;padding-top:10px;border-top:1px solid #e4e4e4;color:#555}.mapa-apparel-product__line strong{color:#111}.mapa-apparel-notes{display:grid;gap:7px;margin-top:24px}.mapa-apparel-submit{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:14px 16px;margin-top:18px;border-top:1px solid #d6d6d6;background:rgba(255,255,255,.97)}.mapa-apparel-history{margin-top:28px}.mapa-apparel-history h3{margin-bottom:10px}.mapa-apparel-history__list{border-top:1px solid #dedede}.mapa-apparel-history__row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #dedede}.mapa-apparel-history__row>div:first-child span{display:block;color:#666;font-size:13px;margin-top:3px}.mapa-inline-alert{padding:12px 14px;border:1px solid #d3d3d3;background:#fafafa;color:#222}.mapa-inline-alert--danger{border-color:#da9a9a;background:#fff3f3;color:#721c1c}.mapa-inline-alert--success{border-color:#9ac5a1;background:#f2faf3;color:#205c2b}.mapa-inline-alert--warning{border-color:#dfc77a;background:#fff9e7;color:#604d08}
@media(max-width:1100px){.mapa-apparel-order>summary{grid-template-columns:1fr 1fr}.mapa-apparel-order__statuses{justify-content:flex-start}.mapa-apparel-order__columns,.mapa-apparel-catalog-layout{grid-template-columns:1fr}.mapa-apparel-product-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.mapa-apparel-form-grid,.mapa-apparel-product-grid,.mapa-apparel-options{grid-template-columns:1fr}.mapa-apparel-order>summary{grid-template-columns:1fr;gap:9px}.mapa-apparel-order__body{padding:14px}.mapa-apparel-details{grid-template-columns:1fr;gap:2px}.mapa-apparel-details dd{margin-bottom:10px}.mapa-apparel-intro{display:grid}.mapa-apparel-total-box{width:100%;text-align:left}.mapa-apparel-submit{justify-content:space-between}.mapa-apparel-history__row{grid-template-columns:1fr}.mapa-apparel-catalog-row{grid-template-columns:auto 1fr}.mapa-apparel-catalog-row>.mapa-apparel-badge,.mapa-apparel-catalog-row__actions{grid-column:2}.mapa-apparel-catalog-row__actions{justify-content:flex-start}}

/* MAPA v5.0.1 — apparel catalog/settings polish */
.mapa-apparel-catalog-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.mapa-apparel-catalog-row--has-image{grid-template-columns:auto minmax(0,1fr) auto}
.mapa-apparel-catalog-row__info{min-width:0}
.mapa-apparel-catalog-row__info strong{display:block;color:#171717;line-height:1.35;overflow-wrap:anywhere}
.mapa-apparel-catalog-row__info span{display:block;margin-top:4px;color:#666;font-size:13px;line-height:1.35}
.mapa-apparel-catalog-row__actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap}
.mapa-apparel-catalog-row__status{min-height:18px;padding:1px 6px;margin-right:2px;font-size:10px;line-height:1.2}
.mapa-apparel-settings__save{margin-top:20px}
@media(max-width:760px){.mapa-apparel-catalog-row,.mapa-apparel-catalog-row--has-image{grid-template-columns:1fr}.mapa-apparel-catalog-row__image,.mapa-apparel-catalog-row__info,.mapa-apparel-catalog-row__actions{grid-column:auto}.mapa-apparel-catalog-row__actions{justify-content:flex-start;flex-wrap:wrap}}

/* MAPA v5.0.2 — catalog thumbnails with hover preview and MAPA placeholder */
.mapa-apparel-catalog-row,.mapa-apparel-catalog-row--has-image{grid-template-columns:32px minmax(0,1fr) auto}
.mapa-apparel-catalog-row__image{position:relative;z-index:20;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex:0 0 32px;outline-offset:3px}
.mapa-apparel-catalog-row__thumb{display:block!important;width:32px!important;height:32px!important;max-width:32px!important;object-fit:contain;background:#fff;border:1px solid #dedede}
.mapa-apparel-catalog-row--placeholder .mapa-apparel-catalog-row__thumb{padding:3px}
.mapa-apparel-catalog-row__preview{position:absolute;left:0;top:calc(100% + 8px);z-index:1000;width:220px;height:220px;padding:10px;background:#fff;border:1px solid #cfcfcf;box-shadow:0 10px 28px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;pointer-events:none}
.mapa-apparel-catalog-row__preview img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;background:#fff}
.mapa-apparel-catalog-row__image:hover .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus-visible .mapa-apparel-catalog-row__preview{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:760px){.mapa-apparel-catalog-row,.mapa-apparel-catalog-row--has-image{grid-template-columns:32px minmax(0,1fr)}.mapa-apparel-catalog-row__image{grid-column:1;grid-row:1}.mapa-apparel-catalog-row__info{grid-column:2;grid-row:1}.mapa-apparel-catalog-row__actions{grid-column:2;grid-row:2;justify-content:flex-start;flex-wrap:wrap}.mapa-apparel-catalog-row__preview{width:180px;height:180px}}

/* MAPA v5.0.3 — wide catalog thumbnails, left-side preview and transparent MAPA placeholder */
.mapa-apparel-catalog-list,.mapa-apparel-catalog-layout{overflow:visible}
.mapa-apparel-catalog-row,.mapa-apparel-catalog-row--has-image{position:relative;z-index:1;grid-template-columns:120px minmax(0,1fr) auto;gap:12px;align-items:center}
.mapa-apparel-catalog-row:hover,.mapa-apparel-catalog-row:focus-within{z-index:3000}
.mapa-apparel-catalog-row__image{position:relative;z-index:auto;width:120px;height:45px;display:flex;align-items:center;justify-content:center;flex:0 0 120px;outline-offset:3px;overflow:visible}
.mapa-apparel-catalog-row__thumb{display:block!important;width:120px!important;height:45px!important;max-width:120px!important;object-fit:contain;background:transparent;border:1px solid #dedede}
.mapa-apparel-catalog-row--placeholder .mapa-apparel-catalog-row__thumb{padding:3px}
.mapa-apparel-catalog-row__preview{position:absolute;left:auto;right:calc(100% + 14px);top:50%;z-index:3;width:300px;height:220px;padding:10px;background:#fff;border:1px solid #cfcfcf;box-shadow:0 10px 28px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translate(6px,-50%);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;pointer-events:none}
.mapa-apparel-catalog-row__preview img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;background:transparent}
.mapa-apparel-catalog-row__image:hover .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus-visible .mapa-apparel-catalog-row__preview{opacity:1;visibility:visible;transform:translate(0,-50%)}
@media(max-width:1100px){.mapa-apparel-catalog-row__preview{left:0;right:auto;top:calc(100% + 8px);width:260px;height:200px;transform:translateY(-4px)}.mapa-apparel-catalog-row__image:hover .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus .mapa-apparel-catalog-row__preview,.mapa-apparel-catalog-row__image:focus-visible .mapa-apparel-catalog-row__preview{transform:translateY(0)}}
@media(max-width:760px){.mapa-apparel-catalog-row,.mapa-apparel-catalog-row--has-image{grid-template-columns:120px minmax(0,1fr)}.mapa-apparel-catalog-row__image{grid-column:1;grid-row:1;width:120px;height:45px}.mapa-apparel-catalog-row__info{grid-column:2;grid-row:1}.mapa-apparel-catalog-row__actions{grid-column:2;grid-row:2;justify-content:flex-start;flex-wrap:wrap}.mapa-apparel-catalog-row__preview{width:220px;height:180px}}



/* MAPA v5.0.4 — parent kit visualization with uppercase text and 1-99 validation */
.mapa-apparel-visualizer{grid-column:1/-1;display:grid;gap:10px;padding:14px;border:1px solid #e0e0e0;background:#fafafa}
.mapa-apparel-visualizer__figure{position:relative;display:flex;justify-content:center;align-items:flex-start;min-height:420px;padding:8px 0 0;background:linear-gradient(180deg,#fff 0%,#f6f6f6 100%);overflow:hidden}
.mapa-apparel-visualizer__figure img{display:block;max-width:min(100%,280px);width:100%;height:auto;object-fit:contain}
.mapa-apparel-visualizer__name,.mapa-apparel-visualizer__number{position:absolute;left:50%;color:#fff;text-transform:uppercase;text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.35);pointer-events:none}
.mapa-apparel-visualizer__name{top:26%;transform:translateX(-50%);width:56%;text-align:center;font-size:16px;font-weight:900;letter-spacing:.09em;line-height:1.15;overflow-wrap:anywhere}
.mapa-apparel-visualizer__number{top:34%;transform:translateX(-50%);font-size:74px;font-weight:900;line-height:.95;letter-spacing:.04em}
.mapa-apparel-visualizer__hint{margin:0;color:#666;font-size:13px;line-height:1.45}
.mapa-apparel-product input[data-mapa-apparel-text]{text-transform:uppercase}
@media(max-width:760px){.mapa-apparel-visualizer__figure{min-height:360px}.mapa-apparel-visualizer__figure img{max-width:min(100%,240px)}.mapa-apparel-visualizer__name{top:26%;width:60%;font-size:14px}.mapa-apparel-visualizer__number{top:34%;font-size:60px}}


/* MAPA v5.0.5 — modal mascot visualization for apparel personalization */
body.mapa-apparel-modal-open{overflow:hidden}
.mapa-apparel-visualizer-source{display:none!important}
.mapa-apparel-submit{gap:16px}
.mapa-apparel-submit__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mapa-apparel-modal[hidden]{display:none!important}
.mapa-apparel-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.mapa-apparel-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}
.mapa-apparel-modal__dialog{position:relative;z-index:1;display:grid;gap:0;width:min(960px,100%);max-height:min(90vh,980px);background:#fff;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.28);overflow:hidden}
.mapa-apparel-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e3e3e3;background:#fff}
.mapa-apparel-modal__header h3{margin:0;color:#171717;font-size:22px}
.mapa-apparel-modal__close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d4d4d4;border-radius:999px;background:#fff;color:#222;font-size:26px;line-height:1;cursor:pointer}
.mapa-apparel-modal__content{padding:18px 20px 20px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;background:#fafafa}
.mapa-apparel-modal-card{display:grid;gap:10px;padding:16px;border:1px solid #e1e1e1;border-radius:14px;background:#fff}
.mapa-apparel-modal-card__title{margin:0;color:#171717;font-size:16px}
.mapa-apparel-visualizer{display:grid;gap:10px}
.mapa-apparel-visualizer__figure{position:relative;display:flex;align-items:flex-start;justify-content:center;min-height:560px;padding:12px 0 0;border:1px solid #ececec;border-radius:12px;background:linear-gradient(180deg,#ffffff 0%,#f3f3f3 100%);overflow:hidden}
.mapa-apparel-visualizer__figure img{display:block;max-width:min(100%,360px);width:100%;height:auto;object-fit:contain}
.mapa-apparel-visualizer__name,.mapa-apparel-visualizer__number{position:absolute;left:50%;transform:translateX(-50%);color:#fff;text-transform:uppercase;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.3);pointer-events:none}
.mapa-apparel-visualizer__name{top:35%;width:34%;font-size:18px;font-weight:900;letter-spacing:.08em;line-height:1.12;overflow-wrap:anywhere}
.mapa-apparel-visualizer__number{top:42%;font-size:84px;font-weight:900;line-height:.92;letter-spacing:.02em}
.mapa-apparel-visualizer__name[hidden],.mapa-apparel-visualizer__number[hidden]{display:none!important}
.mapa-apparel-visualizer__hint{margin:0;color:#666;font-size:13px;line-height:1.5}
.mapa-apparel-product input[data-mapa-apparel-text]{text-transform:uppercase}
@media(max-width:760px){.mapa-apparel-submit{position:sticky;bottom:0;align-items:stretch;flex-direction:column}.mapa-apparel-submit__actions{width:100%;display:grid;grid-template-columns:1fr}.mapa-apparel-submit__actions .button{width:100%;justify-content:center}.mapa-apparel-modal{padding:12px}.mapa-apparel-modal__dialog{width:100%;max-height:92vh;border-radius:14px}.mapa-apparel-modal__header{padding:14px 16px}.mapa-apparel-modal__header h3{font-size:18px}.mapa-apparel-modal__content{padding:14px 16px 16px;grid-template-columns:1fr}.mapa-apparel-modal-card{padding:12px}.mapa-apparel-visualizer__figure{min-height:420px}.mapa-apparel-visualizer__figure img{max-width:min(100%,280px)}.mapa-apparel-visualizer__name{top:35%;width:38%;font-size:15px}.mapa-apparel-visualizer__number{top:42%;font-size:66px}}

/* MAPA v5.0.6 — compact apparel entry, collapsible order form and payment summary modal */
.mapa-apparel-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #dedede;background:#fff}
.mapa-apparel-entry h3{margin:0 0 6px;color:#171717;font-size:20px}.mapa-apparel-entry p{margin:0;color:#666}.mapa-apparel-new-order{flex:0 0 auto;min-height:42px}
.mapa-apparel-form-panel{display:grid;gap:18px;padding:20px;border:1px solid #dedede;background:#fff}.mapa-apparel-form-panel[hidden]{display:none!important}.mapa-apparel-form-panel>.mapa-inline-alert{margin:0}
.mapa-apparel-history{margin-top:0;padding:20px;border:1px solid #dedede;background:#fff}.mapa-apparel-history h3{margin:0 0 12px}.mapa-apparel-history--empty p{margin:0;color:#666}
.mapa-apparel-order-summary-modal__dialog{width:min(900px,100%)}
.mapa-apparel-order-summary-modal__number{margin:5px 0 0;color:#666;font-weight:800;letter-spacing:.03em}
.mapa-apparel-order-summary-modal__content{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:18px;padding:20px;overflow:auto;background:#fafafa}
.mapa-apparel-order-summary,.mapa-apparel-order-summary__payment{padding:18px;border:1px solid #e0e0e0;border-radius:12px;background:#fff}
.mapa-apparel-order-summary h4,.mapa-apparel-order-summary__payment h4{margin:0 0 14px;color:#171717;font-size:17px}
.mapa-apparel-order-summary__top{display:grid;grid-template-columns:1fr auto;gap:16px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e5e5e5}
.mapa-apparel-order-summary__top span{display:block;margin-bottom:4px;color:#666;font-size:12px;font-weight:700;text-transform:uppercase}.mapa-apparel-order-summary__top strong{display:block;color:#171717;font-size:18px}
.mapa-apparel-order-summary__items{display:grid;gap:0}.mapa-apparel-order-summary__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:11px 0;border-bottom:1px solid #ececec}.mapa-apparel-order-summary__item:last-child{border-bottom:0}.mapa-apparel-order-summary__item>div>strong{display:block;color:#171717}.mapa-apparel-order-summary__item small{display:block;margin-top:4px;color:#666;line-height:1.4}.mapa-apparel-order-summary__item>strong{white-space:nowrap;color:#171717}
.mapa-apparel-order-summary__payment dl{display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px 12px;margin:0}.mapa-apparel-order-summary__payment dt{color:#666;font-weight:700}.mapa-apparel-order-summary__payment dd{margin:0;color:#171717;overflow-wrap:anywhere}.mapa-apparel-order-summary__account{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;letter-spacing:.02em}
.mapa-apparel-order-summary__instructions{margin-top:16px;padding:12px 14px;border-left:3px solid #b00000;background:#f7f7f7;color:#333;line-height:1.55}
.mapa-apparel-order-summary-modal__footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid #e3e3e3;background:#fff}
@media(max-width:760px){.mapa-apparel-entry{align-items:stretch;flex-direction:column;padding:16px}.mapa-apparel-new-order{width:100%;justify-content:center}.mapa-apparel-form-panel,.mapa-apparel-history{padding:14px}.mapa-apparel-order-summary-modal__content{grid-template-columns:1fr;padding:14px}.mapa-apparel-order-summary,.mapa-apparel-order-summary__payment{padding:14px}.mapa-apparel-order-summary__top{grid-template-columns:1fr}.mapa-apparel-order-summary__payment dl{grid-template-columns:1fr;gap:2px}.mapa-apparel-order-summary__payment dd{margin-bottom:10px}.mapa-apparel-order-summary-modal__footer{padding:12px 14px}.mapa-apparel-order-summary-modal__footer .button{width:100%;justify-content:center}}


/* MAPA v5.0.7 — two-line name wrapping and larger jersey number */
.mapa-apparel-visualizer__name{white-space:pre-line;max-width:36%;line-height:1.05;letter-spacing:.06em}
.mapa-apparel-visualizer__number{font-size:98px;line-height:.9}
@media(max-width:760px){.mapa-apparel-visualizer__name{max-width:40%;font-size:14px;line-height:1.02}.mapa-apparel-visualizer__number{font-size:76px}}


/* MAPA v5.0.9 — order filters */
.mapa-apparel-order-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:14px 16px;border:1px solid #dedede;background:#fff}
.mapa-apparel-order-filters label{display:grid;gap:6px;min-width:190px}
.mapa-apparel-order-filters label>span{font-weight:700;color:#303030}
.mapa-apparel-order-filters select{min-height:40px;background:#fff!important;color:#1d1d1f!important;border:1px solid #bdbdbd!important;box-shadow:none!important}
.mapa-apparel-order-filters__actions{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:760px){.mapa-apparel-order-filters{display:grid;grid-template-columns:1fr}.mapa-apparel-order-filters label{min-width:0}.mapa-apparel-order-filters__actions{width:100%}}

/* === bundled from assets/css/modern/modern-tokens.css === */
/* MAPA Modern v5.0.0 — independent light-only design tokens */
body.mapa-interface-modern,
body.mapa-admin-screen.mapa-interface-modern,
body.login.mapa-interface-modern{
  --mapa-modern-red:#e30613;
  --mapa-modern-red-dark:#b9000b;
  --mapa-modern-ink:#151515;
  --mapa-modern-copy:#353535;
  --mapa-modern-muted:#707070;
  --mapa-modern-line:#d9d9d4;
  --mapa-modern-line-strong:#bcbcb6;
  --mapa-modern-paper:#ffffff;
  --mapa-modern-canvas:#f5f5f2;
  --mapa-modern-soft:#ecece7;
  --mapa-modern-success:#146b3a;
  --mapa-modern-warning:#8a5a00;
  --mapa-modern-danger:#a30812;
  --mapa-modern-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mapa-red:var(--mapa-modern-red);
  --mapa-black:var(--mapa-modern-paper);
  --mapa-panel:var(--mapa-modern-paper);
  --mapa-white:var(--mapa-modern-ink);
  --mapa-muted:var(--mapa-modern-muted);
  --mapa-line:var(--mapa-modern-line);
  --mapa-radius:0px;
  --mapa-button-radius:0px;
  --mapa-card-shadow:none;
  color-scheme:light;
  font-family:var(--mapa-modern-font);
}
body.mapa-interface-modern *{box-sizing:border-box}
body.mapa-interface-modern :where(button,input,select,textarea){font:inherit}
body.mapa-interface-modern :where(a,button,input,select,textarea,summary):focus-visible,
body.mapa-admin-screen.mapa-interface-modern :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(227,6,19,.32)!important;outline-offset:2px!important}
body.mapa-interface-modern :where(.mapa-container){width:100%;max-width:none;margin:0;padding-inline:clamp(20px,4vw,72px)}
body.mapa-interface-modern :where(.mapa-button,.button,button[type=submit],input[type=submit]){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=search],select,textarea){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-admin-card,.mapa-member-panel,.mapa-member-overview-block,.mapa-member-stat-card,.mapa-record-accordion,.mapa-portal-card,.mapa-card){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-status,.mapa-event-status,.mapa-event-type-badge,.mapa-nav-count){border-radius:0!important}
body.mapa-interface-modern :where(img){max-width:100%}
@media (prefers-reduced-motion:reduce){body.mapa-interface-modern *,body.mapa-interface-modern *::before,body.mapa-interface-modern *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
/* Shape contract: Modern never inherits Classic elevation/rounded-card language. */
body.mapa-interface-modern :where([class*="-card"],[class*="__card"],[class*="-panel"],[class*="__panel"],[class*="popover"],[class*="dropdown"],[class*="modal"],[class*="tile"]),
body.mapa-admin-screen.mapa-interface-modern :where([class*="-card"],[class*="__card"],[class*="-panel"],[class*="__panel"],[class*="popover"],[class*="dropdown"],[class*="modal"],[class*="tile"]){box-shadow:none!important;border-radius:0!important}

/* === bundled from assets/css/modern/modern-public.css === */
/* MAPA Modern v5.0.0 — public website */
body.mapa-interface-modern{margin:0;background:var(--mapa-modern-paper)!important;color:var(--mapa-modern-copy)!important;font-size:16px;line-height:1.55}
body.mapa-interface-modern #page,body.mapa-interface-modern main{width:100%;max-width:none}
body.mapa-interface-modern a{color:var(--mapa-modern-ink);text-underline-offset:3px}
body.mapa-interface-modern a:hover{color:var(--mapa-modern-red)}
body.mapa-interface-modern h1,body.mapa-interface-modern h2,body.mapa-interface-modern h3,body.mapa-interface-modern h4,body.mapa-interface-modern h5,body.mapa-interface-modern h6{color:var(--mapa-modern-ink)!important;font-family:var(--mapa-modern-font)!important;letter-spacing:-.03em;line-height:1.05;text-transform:none}
body.mapa-interface-modern p{color:var(--mapa-modern-copy)}
body.mapa-interface-modern .mapa-eyebrow{display:flex;align-items:center;gap:10px;color:var(--mapa-modern-red)!important;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.mapa-interface-modern .mapa-eyebrow::before{content:"";display:block;width:28px;height:2px;background:var(--mapa-modern-red)}

/* Header */
body.mapa-interface-modern .mapa-modern-header{position:sticky;top:var(--mapa-adminbar-offset,0px);z-index:1000;width:100%;height:78px;background:#fff;border:0;border-bottom:1px solid var(--mapa-modern-line);box-shadow:none!important}
body.mapa-interface-modern .mapa-modern-header__inner{height:100%;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.6fr) auto;align-items:center;gap:28px;padding:0 clamp(20px,3.5vw,64px)}
body.mapa-interface-modern .mapa-modern-brand{display:flex;align-items:center;gap:14px;text-decoration:none;min-width:0}
body.mapa-interface-modern .mapa-modern-brand__mark{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-right:3px solid var(--mapa-modern-red);padding-right:12px}
body.mapa-interface-modern .mapa-modern-logo{display:block;width:42px;height:42px;object-fit:contain}
body.mapa-interface-modern .mapa-modern-brand__copy{display:grid;gap:1px;min-width:0}
body.mapa-interface-modern .mapa-modern-brand__copy strong{font-size:15px;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;color:var(--mapa-modern-ink)}
body.mapa-interface-modern .mapa-modern-brand__copy small{font-size:11px;color:var(--mapa-modern-muted);white-space:nowrap}
body.mapa-interface-modern .mapa-modern-navigation{position:static!important;display:flex!important;align-items:center;justify-content:center;min-width:0;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-modern-navigation>ul{display:flex;align-items:center;justify-content:center;gap:28px;margin:0;padding:0;list-style:none}
body.mapa-interface-modern .mapa-modern-navigation>ul>li{position:relative;margin:0;padding:0}
body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{display:flex;align-items:center;min-height:77px;padding:0;text-decoration:none;color:var(--mapa-modern-ink)!important;font-size:13px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;border-bottom:3px solid transparent}
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-item>a,body.mapa-interface-modern .mapa-modern-navigation>ul>li>a:hover{border-bottom-color:var(--mapa-modern-red);color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu{position:absolute;top:77px;left:-18px;display:none;min-width:230px;margin:0;padding:8px 0;background:#fff;border:1px solid var(--mapa-modern-line);list-style:none;box-shadow:none!important}
body.mapa-interface-modern .mapa-modern-navigation li:hover>.sub-menu,body.mapa-interface-modern .mapa-modern-navigation li:focus-within>.sub-menu{display:block}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a{display:block;padding:11px 18px;text-decoration:none;font-size:13px;font-weight:650;color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a:hover{background:var(--mapa-modern-canvas);color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-modern-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
body.mapa-interface-modern .mapa-modern-login{display:inline-flex;align-items:center;min-height:42px;padding:0 18px;background:var(--mapa-modern-ink);color:#fff!important;text-decoration:none;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
body.mapa-interface-modern .mapa-modern-account{position:relative}
body.mapa-interface-modern .mapa-modern-account>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 0 0 12px;cursor:pointer;list-style:none;border-left:1px solid var(--mapa-modern-line)}
body.mapa-interface-modern .mapa-modern-account>summary::-webkit-details-marker{display:none}
body.mapa-interface-modern .mapa-modern-account__avatar{width:34px!important;height:34px!important;object-fit:cover;border-radius:0!important}
body.mapa-interface-modern .mapa-modern-account__name{display:grid;line-height:1.15}.mapa-interface-modern .mapa-modern-account__name small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--mapa-modern-muted)}.mapa-interface-modern .mapa-modern-account__name strong{font-size:12px;color:var(--mapa-modern-ink)}
body.mapa-interface-modern .mapa-modern-account__menu{position:absolute;right:0;top:calc(100% + 14px);display:grid;min-width:250px;background:#fff;border:1px solid var(--mapa-modern-line);z-index:1100}
body.mapa-interface-modern .mapa-modern-account__meta{display:grid;padding:16px;border-bottom:1px solid var(--mapa-modern-line)}.mapa-interface-modern .mapa-modern-account__meta strong{font-size:14px}.mapa-interface-modern .mapa-modern-account__meta span{font-size:12px;color:var(--mapa-modern-muted)}
body.mapa-interface-modern .mapa-modern-account__menu>a{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;text-decoration:none;border-bottom:1px solid var(--mapa-modern-line);font-size:13px;font-weight:650}.mapa-interface-modern .mapa-modern-account__menu>a:hover{background:var(--mapa-modern-canvas)}
body.mapa-interface-modern .mapa-modern-account__logout{color:var(--mapa-modern-danger)!important}
body.mapa-interface-modern .mapa-modern-menu-toggle{display:none;width:44px;height:44px;padding:0;background:#fff;border:1px solid var(--mapa-modern-line);border-radius:0!important}
body.mapa-interface-modern .mapa-modern-menu-toggle span,body.mapa-interface-modern .mapa-modern-menu-toggle span::before,body.mapa-interface-modern .mapa-modern-menu-toggle span::after{background:var(--mapa-modern-ink)!important}

/* Notification entry remains the same backend component, but gets Modern chrome. */
body.mapa-interface-modern .mapa-notification-trigger,body.mapa-interface-modern .mapa-notification-header-button{border:1px solid var(--mapa-modern-line)!important;background:#fff!important;color:var(--mapa-modern-ink)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-notification-popover,body.mapa-interface-modern .mapa-notification-dropdown{border:1px solid var(--mapa-modern-line)!important;background:#fff!important;border-radius:0!important;box-shadow:none!important}

/* Public sections */
body.mapa-interface-modern .mapa-section,body.mapa-interface-modern section[id]{scroll-margin-top:94px}
body.mapa-interface-modern .mapa-section{padding-block:clamp(64px,7vw,112px);background:#fff;border-top:1px solid var(--mapa-modern-line)}
body.mapa-interface-modern .mapa-section:nth-of-type(even){background:var(--mapa-modern-canvas)}
body.mapa-interface-modern .mapa-section-heading{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(360px,1.3fr);align-items:end;gap:40px;margin:0 0 42px;padding:0}
body.mapa-interface-modern .mapa-section-heading h2{margin:8px 0 0;font-size:clamp(36px,4vw,64px)}
body.mapa-interface-modern .mapa-section-heading>p{max-width:760px;margin:0;font-size:17px;color:var(--mapa-modern-muted)}

/* New hero geometry: content and photography are equal first-class columns, no overlay. */
body.mapa-interface-modern .mapa-hero{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:calc(100svh - 78px)!important;height:auto!important;background:#fff!important;color:var(--mapa-modern-ink)!important;overflow:hidden}
body.mapa-interface-modern .mapa-hero__visual{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;min-height:620px;height:100%!important;background:#f1f1ee}
body.mapa-interface-modern .mapa-hero__visual::after{display:none!important}
body.mapa-interface-modern .mapa-hero__visual picture,body.mapa-interface-modern .mapa-hero__visual img{display:block;width:100%;height:100%!important;min-height:620px;object-fit:cover!important;object-position:center!important}
body.mapa-interface-modern .mapa-hero__container{grid-column:1;grid-row:1;display:flex;align-items:center;padding:clamp(42px,6vw,96px)!important;background:#fff!important}
body.mapa-interface-modern .mapa-hero__content{width:100%;max-width:760px;margin:0!important;padding:0!important;text-align:left!important;color:var(--mapa-modern-ink)!important;text-shadow:none!important}
body.mapa-interface-modern .mapa-hero .mapa-title{margin:18px 0 22px;font-size:clamp(52px,6vw,104px)!important;line-height:.92!important;color:var(--mapa-modern-ink)!important;text-shadow:none!important;letter-spacing:-.055em}
body.mapa-interface-modern .mapa-hero .mapa-title .red{color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-hero__copy{max-width:650px;margin:0 0 30px!important;color:var(--mapa-modern-copy)!important;font-size:clamp(17px,1.35vw,21px)!important;line-height:1.6;text-shadow:none!important}
body.mapa-interface-modern .mapa-hero__actions{display:flex;flex-wrap:wrap;gap:0;margin:0 0 46px}
body.mapa-interface-modern .mapa-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;background:var(--mapa-modern-red)!important;border:1px solid var(--mapa-modern-red)!important;color:#fff!important;text-decoration:none;font-weight:800;letter-spacing:.02em;text-transform:none;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern .mapa-button:hover{background:var(--mapa-modern-red-dark)!important;border-color:var(--mapa-modern-red-dark)!important;color:#fff!important}
body.mapa-interface-modern .mapa-button--ghost{background:#fff!important;border-color:var(--mapa-modern-line-strong)!important;color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-button--ghost:hover{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-hero__stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0!important;border-top:1px solid var(--mapa-modern-line);border-bottom:1px solid var(--mapa-modern-line)}
body.mapa-interface-modern .mapa-hero-stat{padding:18px 18px 18px 0;border-right:1px solid var(--mapa-modern-line);background:transparent!important;box-shadow:none!important;border-radius:0!important}.mapa-interface-modern .mapa-hero-stat:last-child{border-right:0;padding-left:18px}.mapa-interface-modern .mapa-hero-stat+ .mapa-hero-stat{padding-left:18px}
body.mapa-interface-modern .mapa-hero-stat strong{color:var(--mapa-modern-ink)!important;font-size:28px}.mapa-interface-modern .mapa-hero-stat span{color:var(--mapa-modern-muted)!important;font-size:12px}

/* Flatten legacy public cards into a Modern editorial grid. */
body.mapa-interface-modern :where(.mapa-news-card,.mapa-event-card,.mapa-staff-card,.mapa-camp-card,.mapa-partner-card,.mapa-faq-item,.mapa-contact-card,.mapa-training-card,.mapa-gallery-item){background:transparent!important;border:0!important;border-top:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-news-card,.mapa-event-card,.mapa-staff-card,.mapa-camp-card,.mapa-partner-card){padding-top:18px}
body.mapa-interface-modern :where(.mapa-news-grid,.mapa-events-grid,.mapa-staff-grid,.mapa-camps-grid,.mapa-partners-grid,.mapa-gallery-grid){gap:clamp(22px,3vw,46px)!important}
body.mapa-interface-modern :where(.mapa-news-card img,.mapa-event-card img,.mapa-staff-card img,.mapa-camp-card img,.mapa-partner-card img,.mapa-gallery-item img){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-news-card h3,.mapa-event-card h3,.mapa-staff-card h3,.mapa-camp-card h3,.mapa-partner-card h3){font-size:clamp(20px,2vw,30px)!important}

/* Forms/public tables */
body.mapa-interface-modern :where(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=search],select,textarea){min-height:46px;background:#fff!important;color:var(--mapa-modern-ink)!important;border:1px solid var(--mapa-modern-line-strong)!important;padding:10px 12px!important}
body.mapa-interface-modern textarea{min-height:120px}
body.mapa-interface-modern :where(table){width:100%;border-collapse:collapse;background:#fff;color:var(--mapa-modern-copy)}
body.mapa-interface-modern :where(th,td){padding:12px 14px;border-bottom:1px solid var(--mapa-modern-line);text-align:left}
body.mapa-interface-modern th{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-ink)!important;font-size:12px;text-transform:uppercase;letter-spacing:.06em}

/* Footer */
body.mapa-interface-modern .mapa-modern-footer{position:relative;background:#fff;color:var(--mapa-modern-copy);border-top:5px solid var(--mapa-modern-red);box-shadow:none!important}
body.mapa-interface-modern .mapa-modern-footer__main{display:grid;grid-template-columns:minmax(340px,1.4fr) minmax(180px,.6fr) minmax(260px,.8fr);gap:48px;padding:58px clamp(20px,4vw,72px)}
body.mapa-interface-modern .mapa-modern-footer__brand{display:flex;align-items:center;gap:18px}.mapa-interface-modern .mapa-modern-footer__logo{width:72px;height:72px;object-fit:contain}.mapa-interface-modern .mapa-modern-footer__brand>div{display:grid;gap:4px}.mapa-interface-modern .mapa-modern-footer__brand strong{font-size:18px;color:var(--mapa-modern-ink)}.mapa-interface-modern .mapa-modern-footer__brand span{font-size:13px;color:var(--mapa-modern-muted)}
body.mapa-interface-modern .mapa-modern-footer__column{display:grid;align-content:start;gap:8px;font-size:13px}.mapa-interface-modern .mapa-modern-footer__column ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.mapa-interface-modern .mapa-modern-footer__column a{text-decoration:none}.mapa-interface-modern .mapa-modern-footer__label{margin-bottom:8px;color:var(--mapa-modern-red);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}
body.mapa-interface-modern .mapa-modern-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px clamp(20px,4vw,72px);border-top:1px solid var(--mapa-modern-line);font-size:11px;color:var(--mapa-modern-muted)}.mapa-interface-modern .mapa-modern-footer__bottom nav{display:flex;flex-wrap:wrap;gap:18px}.mapa-interface-modern .mapa-modern-footer__bottom a{color:var(--mapa-modern-muted);text-decoration:none}

@media(max-width:1050px){
  body.mapa-interface-modern .mapa-modern-header__inner{grid-template-columns:1fr auto;gap:16px}
  body.mapa-interface-modern .mapa-modern-brand__copy{display:none}
  body.mapa-interface-modern .mapa-modern-navigation{position:fixed!important;top:calc(var(--mapa-adminbar-offset,0px) + 78px)!important;left:0;right:0;bottom:0;display:none!important;align-items:flex-start!important;justify-content:flex-start!important;padding:24px!important;background:#fff!important;border-top:1px solid var(--mapa-modern-line)!important;overflow:auto;z-index:999}
  body.mapa-interface-modern .mapa-modern-navigation.is-open{display:block!important}
  body.mapa-interface-modern .mapa-modern-navigation>ul{display:grid;gap:0;width:100%}
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{min-height:54px;border-bottom:1px solid var(--mapa-modern-line)!important;font-size:16px}
  body.mapa-interface-modern .mapa-modern-navigation .sub-menu{position:static;display:none!important;border:0;border-left:2px solid var(--mapa-modern-red);margin:0 0 8px 12px;padding:0;background:var(--mapa-modern-canvas)}
  body.mapa-interface-modern .mapa-modern-navigation .mapa-mobile-submenu-open>.sub-menu{display:block!important}
  body.mapa-interface-modern .mapa-modern-menu-toggle{display:grid;place-items:center}
  body.mapa-interface-modern .mapa-modern-account__name{display:none}
  body.mapa-interface-modern .mapa-modern-account>summary{padding-left:8px}
  body.mapa-interface-modern .mapa-hero{grid-template-columns:1fr;min-height:0!important}
  body.mapa-interface-modern .mapa-hero__visual{grid-column:1;grid-row:1;min-height:48vw;max-height:520px}
  body.mapa-interface-modern .mapa-hero__visual picture,body.mapa-interface-modern .mapa-hero__visual img{min-height:48vw;max-height:520px}
  body.mapa-interface-modern .mapa-hero__container{grid-column:1;grid-row:2;padding:52px clamp(20px,4vw,48px)!important}
  body.mapa-interface-modern .mapa-modern-footer__main{grid-template-columns:1fr 1fr}.mapa-interface-modern .mapa-modern-footer__brand{grid-column:1/-1}
}
@media(max-width:720px){
  body.mapa-interface-modern .mapa-modern-header{height:68px}
  body.mapa-interface-modern .mapa-modern-header__inner{padding-inline:16px}.mapa-interface-modern .mapa-modern-brand__mark{width:48px;height:48px;flex-basis:48px;padding-right:10px}.mapa-interface-modern .mapa-modern-logo{width:38px;height:38px}
  body.mapa-interface-modern .mapa-modern-navigation{top:calc(var(--mapa-adminbar-offset,0px) + 68px)!important}
  body.mapa-interface-modern .mapa-container{padding-inline:18px}
  body.mapa-interface-modern .mapa-section{padding-block:58px}
  body.mapa-interface-modern .mapa-section-heading{grid-template-columns:1fr;gap:14px;margin-bottom:30px}.mapa-interface-modern .mapa-section-heading h2{font-size:38px}
  body.mapa-interface-modern .mapa-hero__visual,body.mapa-interface-modern .mapa-hero__visual picture,body.mapa-interface-modern .mapa-hero__visual img{min-height:62vw}
  body.mapa-interface-modern .mapa-hero__container{padding:40px 18px!important}.mapa-interface-modern .mapa-hero .mapa-title{font-size:50px!important}.mapa-interface-modern .mapa-hero__stats{grid-template-columns:1fr}.mapa-interface-modern .mapa-hero-stat,.mapa-interface-modern .mapa-hero-stat+ .mapa-hero-stat{padding:13px 0;border-right:0;border-bottom:1px solid var(--mapa-modern-line)}
  body.mapa-interface-modern .mapa-modern-account__menu{position:fixed;top:68px;left:16px;right:16px;min-width:0}
  body.mapa-interface-modern .mapa-modern-footer__main{grid-template-columns:1fr;gap:34px;padding:42px 18px}.mapa-interface-modern .mapa-modern-footer__brand{grid-column:auto;align-items:flex-start}.mapa-interface-modern .mapa-modern-footer__bottom{align-items:flex-start;flex-direction:column;padding:18px}
}

/* v5.0.0 R2 — MAPA Modern homepage hero ---------------------------------- */
body.mapa-interface-modern .mapa-modern-home-hero{
  display:grid;
  grid-template-columns:minmax(420px,42%) minmax(0,58%);
  width:100%;
  min-height:640px;
  height:clamp(640px,calc(100svh - 78px),820px);
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid var(--mapa-modern-line);
}
body.mapa-interface-modern .mapa-modern-home-hero__content{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  padding:clamp(52px,6vw,96px) clamp(36px,5vw,88px);
  background:#fff;
}
body.mapa-interface-modern .mapa-modern-home-hero__content::before{
  content:"";
  position:absolute;
  top:0;
  left:clamp(36px,5vw,88px);
  width:72px;
  height:5px;
  background:var(--mapa-modern-red);
}
body.mapa-interface-modern .mapa-modern-home-hero__content-inner{
  width:100%;
  max-width:720px;
}
body.mapa-interface-modern .mapa-modern-home-hero__kicker{
  margin:0 0 24px;
  color:var(--mapa-modern-red);
  font-size:12px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.mapa-interface-modern .mapa-modern-home-hero__title{
  display:grid;
  gap:10px;
  margin:0;
  max-width:760px;
  font-size:clamp(52px,5.3vw,92px)!important;
  line-height:.9!important;
  letter-spacing:-.06em!important;
  text-transform:uppercase!important;
  color:var(--mapa-modern-ink)!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__title>span{
  display:block;
  max-width:700px;
  color:var(--mapa-modern-red);
  font-size:clamp(22px,2.15vw,38px);
  line-height:1.05;
  letter-spacing:-.035em;
}
body.mapa-interface-modern .mapa-modern-home-hero__lead{
  max-width:610px;
  margin:30px 0 0;
  color:var(--mapa-modern-copy)!important;
  font-size:clamp(17px,1.25vw,20px);
  line-height:1.65;
}
body.mapa-interface-modern .mapa-modern-home-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin:34px 0 0;
}
body.mapa-interface-modern .mapa-modern-home-hero__actions .mapa-button{
  min-height:52px;
  padding-inline:24px;
}
body.mapa-interface-modern .mapa-modern-home-hero__primary{gap:18px}
body.mapa-interface-modern .mapa-modern-home-hero__primary>span{font-size:20px;line-height:1}
body.mapa-interface-modern .mapa-modern-home-hero__facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:44px;
  border-top:1px solid var(--mapa-modern-line);
  border-bottom:1px solid var(--mapa-modern-line);
}
body.mapa-interface-modern .mapa-modern-home-hero__fact{
  display:grid;
  align-content:center;
  gap:4px;
  min-width:0;
  min-height:84px;
  padding:15px 18px;
  border-right:1px solid var(--mapa-modern-line);
}
body.mapa-interface-modern .mapa-modern-home-hero__fact:first-child{padding-left:0}
body.mapa-interface-modern .mapa-modern-home-hero__fact:last-child{border-right:0}
body.mapa-interface-modern .mapa-modern-home-hero__fact strong{
  color:var(--mapa-modern-ink);
  font-size:20px;
  line-height:1.1;
  overflow-wrap:anywhere;
}
body.mapa-interface-modern .mapa-modern-home-hero__fact span{
  color:var(--mapa-modern-muted);
  font-size:11px;
  line-height:1.35;
  text-transform:uppercase;
  letter-spacing:.055em;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual{
  position:relative;
  min-width:0;
  height:100%;
  overflow:hidden;
  background:#f1f1ee;
  border-left:1px solid var(--mapa-modern-line);
}
body.mapa-interface-modern .mapa-modern-home-hero__visual picture,
body.mapa-interface-modern .mapa-modern-home-hero__visual img{
  display:block;
  width:100%;
  height:100%;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual img{
  object-fit:var(--mapa-modern-hero-fit,cover);
  object-position:var(--mapa-modern-hero-position,center center);
  background:#f1f1ee;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual-meta{
  position:absolute;
  right:0;
  bottom:0;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  padding:0 18px;
  background:#fff;
  border-top:1px solid var(--mapa-modern-line);
  border-left:4px solid var(--mapa-modern-red);
  color:var(--mapa-modern-muted);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual-meta strong{color:var(--mapa-modern-ink);font-size:10px}

@media(max-width:1180px){
  body.mapa-interface-modern .mapa-modern-home-hero{grid-template-columns:minmax(360px,46%) minmax(0,54%);height:auto;min-height:650px}
  body.mapa-interface-modern .mapa-modern-home-hero__content{padding:58px 40px}
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:40px}
  body.mapa-interface-modern .mapa-modern-home-hero__title{font-size:58px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__title>span{font-size:27px}
}
@media(max-width:900px){
  body.mapa-interface-modern .mapa-modern-home-hero{grid-template-columns:1fr;height:auto;min-height:0}
  body.mapa-interface-modern .mapa-modern-home-hero__content{grid-row:1;padding:58px clamp(24px,6vw,54px) 50px}
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:clamp(24px,6vw,54px)}
  body.mapa-interface-modern .mapa-modern-home-hero__content-inner{max-width:none}
  body.mapa-interface-modern .mapa-modern-home-hero__visual{grid-row:2;min-height:520px;height:min(66vw,680px);border-left:0;border-top:1px solid var(--mapa-modern-line)}
  body.mapa-interface-modern .mapa-modern-home-hero__visual img{object-fit:cover}
}
@media(max-width:620px){
  body.mapa-interface-modern .mapa-modern-home-hero__content{padding:46px 20px 38px}
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:20px;width:54px;height:4px}
  body.mapa-interface-modern .mapa-modern-home-hero__kicker{margin-bottom:18px;font-size:10px}
  body.mapa-interface-modern .mapa-modern-home-hero__title{gap:8px;font-size:46px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__title>span{font-size:23px}
  body.mapa-interface-modern .mapa-modern-home-hero__lead{margin-top:22px;font-size:16px}
  body.mapa-interface-modern .mapa-modern-home-hero__actions{display:grid;grid-template-columns:1fr;margin-top:28px}
  body.mapa-interface-modern .mapa-modern-home-hero__actions .mapa-button{width:100%}
  body.mapa-interface-modern .mapa-modern-home-hero__facts{grid-template-columns:1fr;margin-top:34px}
  body.mapa-interface-modern .mapa-modern-home-hero__fact,
  body.mapa-interface-modern .mapa-modern-home-hero__fact:first-child{min-height:64px;padding:12px 0;border-right:0;border-bottom:1px solid var(--mapa-modern-line)}
  body.mapa-interface-modern .mapa-modern-home-hero__fact:last-child{border-bottom:0}
  body.mapa-interface-modern .mapa-modern-home-hero__visual{min-height:0;height:auto;aspect-ratio:4/5}
  body.mapa-interface-modern .mapa-modern-home-hero__visual img{object-fit:cover;object-position:center top}
  body.mapa-interface-modern .mapa-modern-home-hero__visual-meta{display:none}
}

/* === bundled from assets/css/modern/modern-portal.css === */
/* MAPA Modern v5.0.0 — Strefa MAPA + frontend management */
body.mapa-interface-modern .mapa-member-portal-main{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-copy)!important;padding:0!important;min-height:70vh}
body.mapa-interface-modern .mapa-member-portal-shell{padding:0!important}
body.mapa-interface-modern .mapa-member-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:0!important;padding:34px clamp(20px,4vw,64px)!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-profile-summary{display:flex;align-items:center;gap:18px}.mapa-interface-modern .mapa-member-profile-summary .mapa-member-avatar{width:64px!important;height:64px!important;border-radius:0!important;border:1px solid var(--mapa-modern-line)!important;object-fit:cover}.mapa-interface-modern .mapa-member-profile-summary>div{display:grid;gap:2px}.mapa-interface-modern .mapa-member-profile-summary h1{margin:0!important;font-size:clamp(28px,3vw,48px)!important}.mapa-interface-modern .mapa-member-profile-summary p{margin:0!important;color:var(--mapa-modern-muted)!important}.mapa-interface-modern .mapa-member-eyebrow{font-size:11px!important;letter-spacing:.1em!important;color:var(--mapa-modern-red)!important;text-transform:uppercase;font-weight:850}
body.mapa-interface-modern .mapa-member-hero-actions{display:flex;gap:0}.mapa-interface-modern .mapa-member-hero-actions .mapa-button{min-height:44px}
body.mapa-interface-modern .mapa-global-search,body.mapa-interface-modern .mapa-global-search-shell{margin:0!important;padding:18px clamp(20px,4vw,64px)!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-global-search :where(input[type=search],input[type=text]){min-height:50px!important;background:var(--mapa-modern-canvas)!important;border-color:transparent!important;border-bottom:2px solid var(--mapa-modern-line-strong)!important;font-size:15px!important}

/* Desktop app shell */
body.mapa-interface-modern .mapa-member-workspace,body.mapa-interface-modern .mapa-management-workspace{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;align-items:start;gap:0!important;max-width:none!important;margin:0!important;background:var(--mapa-modern-canvas)!important}
body.mapa-interface-modern .mapa-member-tabs,body.mapa-interface-modern .mapa-management-tabs{position:sticky!important;top:var(--mapa-sticky-under-header,78px)!important;display:block!important;align-self:start;height:calc(100vh - var(--mapa-sticky-under-header,78px));overflow:auto;margin:0!important;padding:22px 0!important;background:#fff!important;border:0!important;border-right:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-tabs__header,body.mapa-interface-modern .mapa-management-tabs__header{display:grid;gap:2px;padding:0 22px 18px!important;border-bottom:1px solid var(--mapa-modern-line)!important}.mapa-interface-modern .mapa-member-tabs__header strong,.mapa-interface-modern .mapa-management-tabs__header strong{font-size:16px;color:var(--mapa-modern-ink)}.mapa-interface-modern .mapa-member-tabs__header span,.mapa-interface-modern .mapa-management-tabs__header span{font-size:11px;color:var(--mapa-modern-muted);text-transform:uppercase;letter-spacing:.08em}
body.mapa-interface-modern .mapa-member-tabs__group,body.mapa-interface-modern .mapa-management-tabs__group{display:grid!important;gap:2px!important;padding:20px 12px 0!important;margin:0!important;border:0!important}.mapa-interface-modern .mapa-member-tabs__label,.mapa-interface-modern .mapa-management-tabs__label{display:block;padding:0 10px 7px!important;color:var(--mapa-modern-muted)!important;font-size:10px!important;font-weight:850!important;letter-spacing:.1em!important;text-transform:uppercase}
body.mapa-interface-modern .mapa-member-tabs__links,body.mapa-interface-modern .mapa-management-tabs__links{display:grid!important;gap:1px!important}
body.mapa-interface-modern .mapa-member-nav-link,body.mapa-interface-modern .mapa-management-nav-link{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 10px!important;background:transparent!important;border:0!important;border-left:3px solid transparent!important;border-radius:0!important;color:var(--mapa-modern-copy)!important;text-decoration:none!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-nav-link:hover,body.mapa-interface-modern .mapa-management-nav-link:hover,body.mapa-interface-modern .mapa-member-nav-link.is-active,body.mapa-interface-modern .mapa-management-nav-link.is-active{background:var(--mapa-modern-canvas)!important;border-left-color:var(--mapa-modern-red)!important;color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-member-nav-link__main,body.mapa-interface-modern .mapa-management-nav-link__main{display:flex;align-items:center;gap:10px}.mapa-interface-modern .mapa-member-nav-link .dashicons,.mapa-interface-modern .mapa-management-nav-link .dashicons{width:18px;height:18px;font-size:18px;color:var(--mapa-modern-muted)}.mapa-interface-modern .mapa-member-nav-link:hover .dashicons,.mapa-interface-modern .mapa-management-nav-link:hover .dashicons,.mapa-interface-modern .mapa-member-nav-link.is-active .dashicons,.mapa-interface-modern .mapa-management-nav-link.is-active .dashicons{color:var(--mapa-modern-red)}
body.mapa-interface-modern .mapa-member-workspace__content,body.mapa-interface-modern .mapa-management-content{min-width:0;padding:36px clamp(22px,3vw,52px) 80px!important;background:var(--mapa-modern-canvas)!important}
body.mapa-interface-modern .mapa-member-mobile-nav,body.mapa-interface-modern .mapa-management-mobile-nav{display:none!important}

/* Page sections are flat work areas rather than cards. */
body.mapa-interface-modern .mapa-member-section{margin:0 0 56px!important;padding:0 0 56px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-heading-row{display:grid!important;grid-template-columns:minmax(260px,.7fr) minmax(320px,1.3fr);align-items:end;gap:30px;margin:0 0 28px!important;padding:0!important}.mapa-interface-modern .mapa-member-heading-row h2{margin:5px 0 0!important;font-size:clamp(30px,3vw,48px)!important}.mapa-interface-modern .mapa-member-heading-row>p{margin:0!important;color:var(--mapa-modern-muted)!important;max-width:680px}
body.mapa-interface-modern .mapa-member-panel,body.mapa-interface-modern .mapa-member-overview-block,body.mapa-interface-modern .mapa-member-stat-card,body.mapa-interface-modern .mapa-member-group-card,body.mapa-interface-modern .mapa-member-event-card,body.mapa-interface-modern .mapa-member-empty{background:#fff!important;border:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-panel,body.mapa-interface-modern .mapa-member-overview-block{padding:24px!important}
body.mapa-interface-modern .mapa-member-dashboard-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1px!important;background:var(--mapa-modern-line)!important;border:1px solid var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-member-stat-card{min-height:160px!important;padding:22px!important;border:0!important;background:#fff!important}.mapa-interface-modern .mapa-member-stat-card span{color:var(--mapa-modern-muted)!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.mapa-interface-modern .mapa-member-stat-card strong{font-size:36px!important;color:var(--mapa-modern-ink)!important}.mapa-interface-modern .mapa-member-stat-card small{color:var(--mapa-modern-muted)!important}
body.mapa-interface-modern .mapa-member-overview-columns,body.mapa-interface-modern .mapa-member-security-grid,body.mapa-interface-modern .mapa-member-players-grid,body.mapa-interface-modern .mapa-member-groups-grid{gap:18px!important}
body.mapa-interface-modern .mapa-member-subheading{margin-bottom:18px!important;padding-bottom:14px!important;border-bottom:1px solid var(--mapa-modern-line)!important}.mapa-interface-modern .mapa-member-subheading h3{margin:3px 0 0!important;font-size:23px!important}.mapa-interface-modern .mapa-member-card-kicker{color:var(--mapa-modern-red)!important;font-size:10px!important;font-weight:850!important;letter-spacing:.1em!important;text-transform:uppercase}
body.mapa-interface-modern .mapa-member-mini-list>a{border-radius:0!important;border-bottom:1px solid var(--mapa-modern-line)!important;background:transparent!important}

/* Management modules rendered inside the portal */
body.mapa-interface-modern .mapa-frontend-manager-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--mapa-modern-copy)!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.wrap,.mapa-admin-wrap,.mapa-manager-admin){width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.mapa-interface-modern .mapa-manager-heading,body.mapa-interface-modern .mapa-admin-hero,body.mapa-interface-modern .mapa-settings-hero{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:28px!important;margin:0 0 30px!important;padding:0 0 22px!important;border-bottom:2px solid var(--mapa-modern-ink)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}.mapa-interface-modern .mapa-manager-heading h1,.mapa-interface-modern .mapa-admin-hero h1,.mapa-interface-modern .mapa-settings-hero h1{margin:0!important;font-size:clamp(32px,3vw,52px)!important}
body.mapa-interface-modern .mapa-admin-card{margin:0 0 24px!important;background:#fff!important;border:1px solid var(--mapa-modern-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-admin-card__head{padding:18px 20px!important;border-bottom:1px solid var(--mapa-modern-line)!important;background:#fff!important}.mapa-interface-modern .mapa-panel-icon{border-radius:0!important;background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-record-list{gap:0!important;padding:0!important}.mapa-interface-modern .mapa-record-accordion{border:0!important;border-bottom:1px solid var(--mapa-modern-line)!important;background:#fff!important}.mapa-interface-modern .mapa-record-summary{min-height:62px!important;background:#fff!important;color:var(--mapa-modern-copy)!important;border-radius:0!important}.mapa-interface-modern .mapa-record-summary:hover{background:var(--mapa-modern-canvas)!important}.mapa-interface-modern .mapa-record-summary__identity strong{color:var(--mapa-modern-ink)!important}.mapa-interface-modern .mapa-record-summary__identity span,.mapa-interface-modern .mapa-record-summary__meta{color:var(--mapa-modern-muted)!important}.mapa-interface-modern .mapa-record-details{background:#fff!important;border-top:1px solid var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-drag-handle{background:#fff!important;border:1px solid var(--mapa-modern-line)!important;border-radius:0!important;color:var(--mapa-modern-muted)!important}

/* Forms */
body.mapa-interface-modern .mapa-member-portal-main :where(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=search],select,textarea),
body.mapa-interface-modern .mapa-frontend-manager-shell :where(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=search],select,textarea){width:100%;min-height:44px;background:#fff!important;color:var(--mapa-modern-ink)!important;border:1px solid var(--mapa-modern-line-strong)!important;border-radius:0!important;box-shadow:none!important;padding:9px 11px!important}
body.mapa-interface-modern :where(.mapa-member-form-grid,.mapa-compose-grid,.mapa-admin-form-grid,.mapa-record-editor-grid){gap:18px!important}
body.mapa-interface-modern label>span:first-child{color:var(--mapa-modern-ink)}

/* Tables */
body.mapa-interface-modern .mapa-member-portal-main table,body.mapa-interface-modern .mapa-frontend-manager-shell table{border-collapse:collapse!important;width:100%!important;min-width:0!important;background:#fff!important;color:var(--mapa-modern-copy)!important;border:1px solid var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-member-portal-main th,body.mapa-interface-modern .mapa-frontend-manager-shell th{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-ink)!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.07em}
body.mapa-interface-modern .mapa-member-portal-main td,body.mapa-interface-modern .mapa-member-portal-main th,body.mapa-interface-modern .mapa-frontend-manager-shell td,body.mapa-interface-modern .mapa-frontend-manager-shell th{padding:12px 14px!important;border-bottom:1px solid var(--mapa-modern-line)!important;vertical-align:top}
body.mapa-interface-modern :where(.mapa-table-scroll,.mapa-training-table-wrap,.mapa-staff-table-wrap){overflow:auto;max-width:100%;border:0!important;border-radius:0!important}

/* Modern is light-only; profile explains that Classic preference remains preserved. */
body.mapa-interface-modern .mapa-member-appearance-preferences--modern{display:block!important;margin-top:22px;padding:18px 0 0!important;border:0!important;border-top:1px solid var(--mapa-modern-line)!important}.mapa-interface-modern .mapa-member-appearance-preferences--modern legend{padding:0;font-weight:800;color:var(--mapa-modern-ink)}.mapa-interface-modern .mapa-member-appearance-preferences--modern p{margin:8px 0 0;color:var(--mapa-modern-muted)}

@media(max-width:1100px){body.mapa-interface-modern .mapa-member-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){
  body.mapa-interface-modern .mapa-member-portal-hero{align-items:flex-start;flex-direction:column;padding:24px 18px!important}.mapa-interface-modern .mapa-member-profile-summary .mapa-member-avatar{width:54px!important;height:54px!important}.mapa-interface-modern .mapa-member-profile-summary h1{font-size:32px!important}
  body.mapa-interface-modern .mapa-global-search,body.mapa-interface-modern .mapa-global-search-shell{padding:14px 18px!important}
  body.mapa-interface-modern .mapa-member-workspace,body.mapa-interface-modern .mapa-management-workspace{display:block!important}
  body.mapa-interface-modern .mapa-member-tabs,body.mapa-interface-modern .mapa-management-tabs{display:none!important}
  body.mapa-interface-modern .mapa-member-mobile-nav,body.mapa-interface-modern .mapa-management-mobile-nav{position:sticky!important;top:var(--mapa-sticky-under-header,68px)!important;z-index:60;display:block!important;background:#fff!important;border-bottom:1px solid var(--mapa-modern-line)!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__quick,body.mapa-interface-modern .mapa-management-mobile-nav__quick{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;padding:0!important;border:0!important;background:#fff!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__quick-link,body.mapa-interface-modern .mapa-management-mobile-nav__quick-link,body.mapa-interface-modern .mapa-member-mobile-nav__more,body.mapa-interface-modern .mapa-management-mobile-nav__more{min-height:62px!important;padding:8px 4px!important;border:0!important;border-right:1px solid var(--mapa-modern-line)!important;border-bottom:3px solid transparent!important;background:#fff!important;border-radius:0!important;color:var(--mapa-modern-copy)!important}.mapa-interface-modern .mapa-member-mobile-nav__quick-link.is-active,.mapa-interface-modern .mapa-management-mobile-nav__quick-link.is-active{border-bottom-color:var(--mapa-modern-red)!important;color:var(--mapa-modern-red)!important;background:#fff!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__panel,body.mapa-interface-modern .mapa-management-mobile-nav__panel{position:fixed!important;inset:calc(var(--mapa-sticky-under-header,68px)) 0 0!important;z-index:2000!important;width:auto!important;max-height:none!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:auto!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__panel-head,body.mapa-interface-modern .mapa-management-mobile-nav__panel-head{position:sticky;top:0;z-index:2;padding:18px!important;background:#fff!important;border-bottom:1px solid var(--mapa-modern-line)!important}.mapa-interface-modern .mapa-member-mobile-nav__close,.mapa-interface-modern .mapa-management-mobile-nav__close{border-radius:0!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__links,body.mapa-interface-modern .mapa-management-mobile-nav__links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px!important;background:var(--mapa-modern-line)!important;border:1px solid var(--mapa-modern-line)!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link,body.mapa-interface-modern .mapa-management-mobile-nav__panel-link{min-height:96px!important;display:grid!important;place-items:center!important;text-align:center!important;background:#fff!important;border:0!important;border-radius:0!important}
  body.mapa-interface-modern .mapa-member-workspace__content,body.mapa-interface-modern .mapa-management-content{padding:28px 18px 64px!important}
  body.mapa-interface-modern .mapa-member-heading-row{grid-template-columns:1fr;gap:10px}.mapa-interface-modern .mapa-member-heading-row h2{font-size:34px!important}
  body.mapa-interface-modern .mapa-manager-heading,body.mapa-interface-modern .mapa-admin-hero,body.mapa-interface-modern .mapa-settings-hero{align-items:flex-start!important;flex-direction:column!important}
}
@media(max-width:560px){
  body.mapa-interface-modern .mapa-member-dashboard-grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-member-mobile-nav__quick,body.mapa-interface-modern .mapa-management-mobile-nav__quick{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-member-mobile-nav__quick-link,body.mapa-interface-modern .mapa-management-mobile-nav__quick-link,body.mapa-interface-modern .mapa-member-mobile-nav__more,body.mapa-interface-modern .mapa-management-mobile-nav__more{font-size:11px!important}
}

/* === bundled from assets/css/modern/modern-public-r3.css === */
/* MAPA Modern v5.0.0 R3 — public UI polish and contrast pass */

/* -------------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-modern-navigation>ul{
  gap:0;
}
body.mapa-interface-modern .mapa-modern-navigation>ul>li{
  min-width:118px;
}
body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{
  width:100%;
  min-width:118px;
  justify-content:center;
  padding:0 14px!important;
  background:transparent!important;
  color:var(--mapa-modern-ink)!important;
  border-top:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:3px solid transparent!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-modern-navigation>ul>li:hover>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li:focus-within>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-item>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current_page_item>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-ancestor>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current_page_ancestor>a{
  background:transparent!important;
  color:var(--mapa-modern-red)!important;
  border-bottom-color:var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-item:hover>a,
body.mapa-interface-modern .mapa-modern-navigation>ul>li.current_page_item:hover>a{
  background:var(--mapa-modern-canvas)!important;
  color:var(--mapa-modern-red-dark)!important;
}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu li,
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a{min-width:0}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a{background:#fff!important;color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a:hover,
body.mapa-interface-modern .mapa-modern-navigation .sub-menu a:focus-visible{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-red)!important}

/* -------------------------------------------------------------------------
   Recruitment / "Dołącz do Akademii" — top aligned and readable
   ------------------------------------------------------------------------- */
body.mapa-interface-modern #nabor .mapa-recruitment{
  align-items:start!important;
  gap:clamp(40px,5vw,88px)!important;
}
body.mapa-interface-modern #nabor .mapa-recruitment>div:first-child{
  align-self:start!important;
  padding-top:0;
}
body.mapa-interface-modern #nabor .mapa-section-title{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern #nabor .mapa-section-description,
body.mapa-interface-modern #nabor .mapa-lead{color:var(--mapa-modern-copy)!important}
body.mapa-interface-modern #nabor .mapa-checks{margin-top:26px}
body.mapa-interface-modern #nabor .mapa-checks li{
  color:#3f3f3f!important;
  font-weight:520;
}
body.mapa-interface-modern #nabor .mapa-checks li::before{color:var(--mapa-modern-red)!important}
body.mapa-interface-modern #nabor .mapa-recruitment__image{
  align-self:start;
  background:#fff!important;
  border:1px solid var(--mapa-modern-line);
  overflow:hidden;
}
body.mapa-interface-modern #nabor .mapa-recruitment__image::before{display:none!important}
body.mapa-interface-modern #nabor .mapa-recruitment__image img{
  display:block;
  width:100%;
  height:auto;
  background:#fff!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* -------------------------------------------------------------------------
   Contact — remove Classic dark-text assumptions
   ------------------------------------------------------------------------- */
body.mapa-interface-modern #kontakt.mapa-section--redglow::before{display:none!important}
body.mapa-interface-modern #kontakt .mapa-contact{align-items:start!important}
body.mapa-interface-modern #kontakt .mapa-contact-card,
body.mapa-interface-modern #kontakt .mapa-form{
  color:var(--mapa-modern-copy)!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.mapa-interface-modern #kontakt .mapa-section-title{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern #kontakt .mapa-section-description,
body.mapa-interface-modern #kontakt .mapa-lead{color:var(--mapa-modern-copy)!important}
body.mapa-interface-modern #kontakt .mapa-contact-list strong{
  color:var(--mapa-modern-ink)!important;
  font-weight:800;
}
body.mapa-interface-modern #kontakt .mapa-contact-list span,
body.mapa-interface-modern #kontakt .mapa-contact-list a{
  color:#303030!important;
}
body.mapa-interface-modern #kontakt .mapa-contact-list a:hover{color:var(--mapa-modern-red)!important}
body.mapa-interface-modern #kontakt .mapa-contact-icon{
  color:var(--mapa-modern-red)!important;
  background:#fff2f3!important;
  border-color:#efb8bd!important;
  border-radius:0!important;
}
body.mapa-interface-modern #kontakt .mapa-field label{
  color:var(--mapa-modern-ink)!important;
  font-weight:760;
}
body.mapa-interface-modern #kontakt .mapa-form-privacy-notice{
  color:#444!important;
  background:#fff6f6!important;
  border-left-color:var(--mapa-modern-red)!important;
}
body.mapa-interface-modern #kontakt .mapa-form-privacy-notice a{color:var(--mapa-modern-ink)!important}

/* -------------------------------------------------------------------------
   Image surfaces — no unexplained black mats in Modern
   ------------------------------------------------------------------------- */
body.mapa-interface-modern :where(
  .mapa-post-card__image,
  .mapa-featured-news__media,
  .mapa-single-featured,
  .mapa-event-card__image,
  .mapa-camp-public-card__image,
  .mapa-camp-single-image,
  .mapa-staff-card__photo,
  .mapa-gallery-thumb,
  .mapa-gallery-shell,
  .mapa-full-gallery-shell
){background:#fff!important}
body.mapa-interface-modern :where(.mapa-post-card__image,.mapa-featured-news__media,.mapa-event-card__image,.mapa-gallery-thumb){border:1px solid var(--mapa-modern-line)!important}
body.mapa-interface-modern :where(.mapa-featured-news__media img,.mapa-single-featured img){background:#fff!important}
body.mapa-interface-modern .mapa-gallery-shell{
  padding:18px!important;
  border:1px solid var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-gallery-thumb{border-radius:0!important}
body.mapa-interface-modern .mapa-gallery-thumb::after{background:rgba(21,21,21,.34)}

/* -------------------------------------------------------------------------
   Public news — readable body copy and white image fields
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-post-card p,
body.mapa-interface-modern .mapa-news-row__excerpt,
body.mapa-interface-modern .mapa-featured-news__body p{color:var(--mapa-modern-copy)!important}
body.mapa-interface-modern .mapa-post-card__meta,
body.mapa-interface-modern .mapa-featured-news__badges>span,
body.mapa-interface-modern .mapa-news-row__badges>span{color:#666!important}
body.mapa-interface-modern .mapa-featured-news__body{justify-content:flex-start!important}

/* -------------------------------------------------------------------------
   Calendar — full light-only contrast pass
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-calendar-section{background:#fff!important}
body.mapa-interface-modern .mapa-calendar-filters{
  background:#fff!important;
  border-color:var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-calendar-filters label>span{color:#555!important}
body.mapa-interface-modern .mapa-calendar-filters select{
  background:#fff!important;
  color:var(--mapa-modern-ink)!important;
  border-color:var(--mapa-modern-line-strong)!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-calendar-view-toggle{
  border-color:var(--mapa-modern-line-strong)!important;
  border-radius:0!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-calendar-view-toggle button{
  background:#fff!important;
  color:#454545!important;
  border-color:var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-calendar-view-toggle button:hover,
body.mapa-interface-modern .mapa-calendar-view-toggle button:focus-visible{
  background:var(--mapa-modern-canvas)!important;
  color:var(--mapa-modern-ink)!important;
}
body.mapa-interface-modern .mapa-calendar-view-toggle button.is-active{
  background:var(--mapa-modern-red)!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-calendar-month-head h2{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-calendar-month-head a{
  background:#fff!important;
  color:var(--mapa-modern-ink)!important;
  border-color:var(--mapa-modern-line-strong)!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-calendar-month-head a:hover{background:var(--mapa-modern-canvas)!important;color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-calendar-weekdays{
  background:#f0f0ed!important;
  border-color:var(--mapa-modern-line)!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-calendar-weekdays span{
  color:#4a4a4a!important;
  border-color:var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-calendar-grid{border-color:var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-calendar-day{
  background:#fff!important;
  border-color:var(--mapa-modern-line)!important;
  color:var(--mapa-modern-ink)!important;
}
body.mapa-interface-modern .mapa-calendar-day.is-empty{background:#fafaf8!important}
body.mapa-interface-modern .mapa-calendar-day.is-today{
  background:#fff5f5!important;
  box-shadow:inset 0 0 0 2px var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-calendar-day__number{color:#333!important}
body.mapa-interface-modern .mapa-calendar-day.is-today .mapa-calendar-day__number{background:var(--mapa-modern-red)!important;color:#fff!important}
body.mapa-interface-modern .mapa-calendar-event{
  background:#fff5f5!important;
  color:var(--mapa-modern-ink)!important;
  border-radius:0!important;
  border-top:1px solid #f0c8cb;
  border-right:1px solid #f0c8cb;
  border-bottom:1px solid #f0c8cb;
}
body.mapa-interface-modern .mapa-calendar-event span{color:#9b1119!important}
body.mapa-interface-modern .mapa-calendar-event strong{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-calendar-event:hover{background:#ffe9ea!important;color:var(--mapa-modern-red-dark)!important}

/* -------------------------------------------------------------------------
   Training schedule — remove washed-out legacy dark colors
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-training-page-section{background:#fff!important}
body.mapa-interface-modern .mapa-training-group{
  background:#fff!important;
  color:var(--mapa-modern-copy)!important;
  border-color:var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-training-group__header{
  background:#fff1f2!important;
  border-bottom-color:#e7aeb3!important;
}
body.mapa-interface-modern .mapa-training-group__header h2,
body.mapa-interface-modern .mapa-training-group__header h3{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-training-group__count{color:#5d5d5d!important}
body.mapa-interface-modern .mapa-training-sessions__head{
  color:#555!important;
  background:#f5f5f2!important;
  border-bottom-color:var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-training-session{
  color:var(--mapa-modern-copy)!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-training-session + .mapa-training-session{border-top-color:var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-training-session__day,
body.mapa-interface-modern .mapa-training-session__time,
body.mapa-interface-modern .mapa-training-session__place{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-training-session__trainer,
body.mapa-interface-modern .mapa-training-session__assistant{color:#4d4d4d!important}
body.mapa-interface-modern .mapa-training-session a{color:var(--mapa-modern-ink)!important;text-decoration-color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-training-session a:hover{color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-schedule :where(td,th){color:var(--mapa-modern-copy)!important;border-color:var(--mapa-modern-line)!important}
body.mapa-interface-modern .mapa-schedule th{color:var(--mapa-modern-ink)!important;background:#f5f5f2!important}

/* -------------------------------------------------------------------------
   Header notifications — own Modern component, not Classic dark dropdown
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-header-notifications{margin:0!important}
body.mapa-interface-modern .mapa-header-notifications__trigger{
  width:48px!important;
  height:48px!important;
  background:#fff!important;
  color:var(--mapa-modern-ink)!important;
  border:1px solid var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-header-notifications__trigger:hover,
body.mapa-interface-modern .mapa-header-notifications__trigger:focus-visible,
body.mapa-interface-modern .mapa-header-notifications[open] .mapa-header-notifications__trigger{
  background:#fff1f2!important;
  color:var(--mapa-modern-red)!important;
  border-color:var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-header-notifications__count{
  border-color:#fff!important;
  background:var(--mapa-modern-red)!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-header-notifications__panel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:min(440px,calc(100vw - 28px));
  overflow:hidden;
  background:#fff!important;
  color:var(--mapa-modern-copy)!important;
  border:1px solid var(--mapa-modern-line-strong)!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:1250;
}
body.mapa-interface-modern .mapa-header-notifications__panel>header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px 18px!important;
  padding:16px 18px!important;
  background:#fff!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-header-notifications__heading{display:grid!important;gap:2px!important}
body.mapa-interface-modern .mapa-header-notifications__heading strong{color:var(--mapa-modern-ink)!important;font-size:14px!important}
body.mapa-interface-modern .mapa-header-notifications__heading span{color:#626262!important;font-size:11px!important}
body.mapa-interface-modern .mapa-header-notifications__view-all{
  align-self:start;
  color:var(--mapa-modern-red)!important;
  background:transparent!important;
  text-decoration:none!important;
  font-weight:800!important;
}
body.mapa-interface-modern .mapa-header-notifications__header-actions{grid-column:1/-1!important;padding:0!important;border:0!important}
body.mapa-interface-modern .mapa-header-notifications__header-actions button{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:6px 10px!important;
  background:var(--mapa-modern-canvas)!important;
  color:var(--mapa-modern-ink)!important;
  border:1px solid var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.mapa-interface-modern .mapa-header-notifications__header-actions button:hover{background:#fff1f2!important;color:var(--mapa-modern-red)!important;border-color:#efb8bd!important}
body.mapa-interface-modern .mapa-header-notifications__list{
  display:grid!important;
  max-height:min(68vh,540px)!important;
  overflow:auto!important;
  padding:0!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-header-notification-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
  background:#fff!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-header-notification-row.is-unread{box-shadow:inset 3px 0 0 var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-header-notification{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  gap:12px!important;
  padding:14px 16px!important;
  background:#fff!important;
  color:var(--mapa-modern-copy)!important;
  text-decoration:none!important;
  border:0!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-header-notification:hover{background:var(--mapa-modern-canvas)!important}
body.mapa-interface-modern .mapa-header-notification>.dashicons{color:var(--mapa-modern-red)!important;background:transparent!important}
body.mapa-interface-modern .mapa-header-notification small{display:block!important;color:#6b6b6b!important;font-style:normal!important}
body.mapa-interface-modern .mapa-header-notification strong{display:block!important;margin-top:2px;color:var(--mapa-modern-ink)!important;line-height:1.3!important}
body.mapa-interface-modern .mapa-header-notification em{display:-webkit-box!important;margin-top:4px;color:#525252!important;font-style:normal!important;line-height:1.45!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.mapa-interface-modern .mapa-header-notification-read-form{
  margin:0!important;
  padding:0 16px 12px 58px!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-header-notification-read-form button{
  min-height:30px!important;
  padding:4px 8px!important;
  background:transparent!important;
  color:#555!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:750!important;
}
body.mapa-interface-modern .mapa-header-notification-read-form button:hover{color:var(--mapa-modern-red)!important;border-bottom-color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-header-notifications__empty{
  display:grid!important;
  justify-items:start!important;
  gap:5px!important;
  padding:26px 18px!important;
  text-align:left!important;
  color:var(--mapa-modern-copy)!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-header-notifications__empty>.dashicons{color:var(--mapa-modern-success)!important}
body.mapa-interface-modern .mapa-header-notifications__empty>strong{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-header-notifications__empty>small{color:#606060!important}

/* General readability guards for public Modern templates. */
body.mapa-interface-modern main :where(.mapa-meta,.mapa-subtle,.mapa-section-description,.mapa-page-intro,.entry-meta){color:#606060!important}
body.mapa-interface-modern main :where(.mapa-empty){color:var(--mapa-modern-copy)!important;background:#fff!important;border-color:var(--mapa-modern-line)!important}

@media(max-width:1050px){
  body.mapa-interface-modern .mapa-modern-navigation>ul>li,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{min-width:0!important}
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{justify-content:flex-start!important;padding-inline:0!important;background:#fff!important}
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:hover>a,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-item>a{background:#fff!important}
}
@media(max-width:760px){
  body.mapa-interface-modern #nabor .mapa-recruitment__image{order:0!important}
  body.mapa-interface-modern #nabor .mapa-recruitment>div:first-child{order:-1!important}
  body.mapa-interface-modern .mapa-calendar-day:has(.mapa-calendar-event),
  body.mapa-interface-modern .mapa-calendar-day.is-today{border-radius:0!important;background:#fff!important}
  body.mapa-interface-modern .mapa-training-session + .mapa-training-session{border-top:6px solid var(--mapa-modern-canvas)!important}
  body.mapa-interface-modern .mapa-training-session>div{border-bottom-color:var(--mapa-modern-line)!important}
  body.mapa-interface-modern .mapa-training-session>div::before{color:#666!important}
  body.mapa-interface-modern .mapa-header-notifications__panel{
    position:fixed!important;
    top:calc(var(--mapa-adminbar-offset,0px) + 68px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 80px)!important;
  }
}

/* Neutral image canvas also applies to the new Modern hero when contain is used. */
body.mapa-interface-modern .mapa-modern-home-hero__visual,
body.mapa-interface-modern .mapa-modern-home-hero__visual img,
body.mapa-interface-modern .mapa-hero__visual,
body.mapa-interface-modern .mapa-event-card__image img{
  background:#fff!important;
}

/* Public subpage heroes: explicit Modern light surface and readable copy. */
body.mapa-interface-modern .mapa-page-hero{
  padding:58px 0 42px!important;
  background:#fff5f5!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-page-hero .mapa-section-title{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-page-hero .mapa-lead{margin-top:12px!important;color:var(--mapa-modern-copy)!important}

/* === bundled from assets/css/modern/modern-portal-r4.css === */
/* MAPA Modern v5.0.0 R4 — Portal App Shell & Modules redesign
 * Light-only, full-width, flat, square and deliberately independent from Classic.
 */
body.mapa-interface-modern .mapa-member-portal-main{font-size:15px;line-height:1.55;background:#f7f7f4!important}
body.mapa-interface-modern .mapa-member-portal-hero{padding:26px clamp(24px,3.5vw,56px)!important;min-height:116px}
body.mapa-interface-modern .mapa-member-profile-summary{gap:16px}
body.mapa-interface-modern .mapa-member-profile-summary .mapa-member-avatar{width:56px!important;height:56px!important}
body.mapa-interface-modern .mapa-member-profile-summary h1{font-size:clamp(30px,2.7vw,44px)!important;letter-spacing:-.035em}
body.mapa-interface-modern .mapa-member-hero-actions{align-items:center;gap:8px}
body.mapa-interface-modern .mapa-member-hero-actions .mapa-button{padding-inline:18px!important;background:#fff!important;color:#151515!important;border:1px solid #cfcfca!important}
body.mapa-interface-modern .mapa-member-hero-actions .mapa-button:hover{border-color:#151515!important;background:#f7f7f4!important}
body.mapa-interface-modern .mapa-global-search,body.mapa-interface-modern .mapa-global-search-shell{padding:12px clamp(24px,3.5vw,56px)!important}
body.mapa-interface-modern .mapa-global-search{background:#fff!important}
body.mapa-interface-modern .mapa-global-search :where(input[type=search],input[type=text]){min-height:46px!important;background:#fff!important;border:0!important;color:#151515!important;padding-inline:16px!important}
body.mapa-interface-modern .mapa-global-search :where(.mapa-global-search-icon,.dashicons){color:#8a8a84!important}

/* App shell proportions */
body.mapa-interface-modern .mapa-member-workspace,body.mapa-interface-modern .mapa-management-workspace{grid-template-columns:246px minmax(0,1fr)!important;background:#f7f7f4!important}
body.mapa-interface-modern .mapa-member-tabs,body.mapa-interface-modern .mapa-management-tabs{padding:20px 0 30px!important;background:#fbfbf9!important}
body.mapa-interface-modern .mapa-member-tabs__header,body.mapa-interface-modern .mapa-management-tabs__header{padding:0 18px 16px!important}
body.mapa-interface-modern .mapa-member-tabs__group,body.mapa-interface-modern .mapa-management-tabs__group{padding:18px 10px 0!important}
body.mapa-interface-modern .mapa-member-nav-link,body.mapa-interface-modern .mapa-management-nav-link{min-height:44px;padding:9px 10px!important;font-size:13px;font-weight:720}
body.mapa-interface-modern .mapa-member-nav-link.is-active,body.mapa-interface-modern .mapa-management-nav-link.is-active{background:#efefeb!important;border-left-color:#e30613!important;color:#111!important}
body.mapa-interface-modern .mapa-member-workspace__content,body.mapa-interface-modern .mapa-management-content{padding:38px clamp(28px,3.3vw,56px) 88px!important}

/* Common page heading */
body.mapa-interface-modern .mapa-member-section{margin:0 0 52px!important;padding:0 0 52px!important}
body.mapa-interface-modern .mapa-member-heading-row{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);align-items:end;gap:48px;margin-bottom:30px!important;padding-bottom:18px!important;border-bottom:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-heading-row h2{font-size:clamp(32px,2.8vw,46px)!important;letter-spacing:-.045em;line-height:1.02}
body.mapa-interface-modern .mapa-member-heading-row>p{font-size:14px;line-height:1.6;color:#66665f!important}
body.mapa-interface-modern .mapa-eyebrow,body.mapa-interface-modern .mapa-settings-kicker{color:#d9000d!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:850!important;text-transform:uppercase}

/* Shared content surfaces: no dark cards, no nested card effect. */
body.mapa-interface-modern :where(.mapa-member-panel,.mapa-member-overview-block,.mapa-member-stat-card,.mapa-member-group-card,.mapa-member-event-card,.mapa-member-message,.mapa-member-document,.mapa-notification-center,.mapa-notification-item,.mapa-member-compose,.mapa-member-filterbar,.mapa-member-player-card,.mapa-admin-card){box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern :where(.mapa-member-panel,.mapa-member-overview-block,.mapa-member-message,.mapa-member-document,.mapa-member-compose,.mapa-member-filterbar,.mapa-member-player-card){background:#fff!important;border:1px solid #d7d7d1!important;color:#2d2d2a!important}
body.mapa-interface-modern :where(.mapa-member-panel,.mapa-member-overview-block){padding:26px!important}
body.mapa-interface-modern :where(.mapa-member-panel,.mapa-member-overview-block) :where(p,small,dt){color:#66665f!important}
body.mapa-interface-modern :where(.mapa-member-panel,.mapa-member-overview-block) :where(h2,h3,h4,strong,dd){color:#151515!important}
body.mapa-interface-modern .mapa-member-subheading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px!important;padding-bottom:14px!important}
body.mapa-interface-modern .mapa-member-subheading h3{font-size:22px!important;letter-spacing:-.025em}

/* Profile — one clear form, no dark avatar block / no grey preference blocks. */
body.mapa-interface-modern .mapa-member-profile-panel{padding:0!important;border:0!important;background:transparent!important}
body.mapa-interface-modern .mapa-member-profile-form{display:grid;gap:0;background:#fff;border:1px solid #d7d7d1}
body.mapa-interface-modern .mapa-member-avatar-upload{display:grid!important;grid-template-columns:104px minmax(0,1fr);gap:24px!important;align-items:center;padding:24px!important;background:#f2f2ee!important;border:0!important;border-bottom:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-avatar-upload img{width:96px!important;height:96px!important;object-fit:cover;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important}
body.mapa-interface-modern .mapa-member-avatar-upload label{display:grid;gap:8px!important}
body.mapa-interface-modern .mapa-member-avatar-upload input[type=file]{min-height:44px;padding:9px!important;background:#fff!important;border:1px solid #bdbdb7!important;color:#151515!important}
body.mapa-interface-modern .mapa-member-form-grid{padding:26px!important;gap:20px 24px!important}
body.mapa-interface-modern .mapa-member-form-grid label>span{font-size:12px;font-weight:800!important;color:#272724!important}
body.mapa-interface-modern .mapa-member-profile-form :where(input,select,textarea){min-height:46px!important}
body.mapa-interface-modern .mapa-member-profile-form .mapa-member-form-note{margin:0 26px 24px;padding:14px 16px;border-left:3px solid #e30613;background:#f7f7f4;color:#55554f!important}
body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){display:grid!important;grid-template-columns:minmax(200px,.34fr) minmax(0,1fr);align-items:start;column-gap:34px;row-gap:10px;margin:0!important;padding:26px!important;background:#fff!important;border:0!important;border-top:1px solid #d7d7d1!important;color:#333!important}
body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences) legend{grid-column:1;padding:0!important;color:#151515!important;font-size:15px;font-weight:850}
body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>p{grid-column:1;margin:4px 0 0!important;color:#66665f!important;line-height:1.55}
body.mapa-interface-modern .mapa-member-notification-preferences>label{grid-column:2;display:flex!important;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #ecece7;color:#2f2f2c!important;font-weight:650}
body.mapa-interface-modern .mapa-member-notification-preferences>label:last-of-type{border-bottom:0}
body.mapa-interface-modern .mapa-member-notification-preferences input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:1px 0 0!important;accent-color:#e30613}
body.mapa-interface-modern .mapa-member-notification-preferences .mapa-member-notification-hint{grid-column:2;color:#73736d!important;padding-top:4px}
body.mapa-interface-modern .mapa-member-profile-form>.mapa-button{justify-self:start;margin:24px 26px 28px!important;min-height:46px;padding-inline:22px!important}
body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card){display:grid;grid-template-columns:minmax(180px,.32fr) minmax(0,1fr);gap:6px 28px;margin-top:18px!important;padding:24px 26px!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card) .mapa-member-card-kicker{grid-column:1}
body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card) h3{grid-column:1;margin:0!important;font-size:18px!important}
body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card)>p{grid-column:2;grid-row:1/span 2;margin:0!important;align-self:start}
body.mapa-interface-modern .mapa-webpush-actions{grid-column:2;display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.mapa-interface-modern .mapa-webpush-preferences{grid-column:1/-1;margin-top:18px;padding-top:18px;border-top:1px solid #d7d7d1}

/* Notifications / task center */
body.mapa-interface-modern .mapa-notification-center{background:transparent!important;border:0!important;padding:0!important;color:#2c2c29!important}
body.mapa-interface-modern .mapa-notification-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid #d7d7d1}
body.mapa-interface-modern .mapa-notification-heading h2,body.mapa-interface-modern .mapa-notification-heading h3{color:#151515!important;letter-spacing:-.03em}
body.mapa-interface-modern .mapa-notification-summary{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px!important;background:#d7d7d1!important;border:1px solid #d7d7d1!important;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-notification-summary>*{min-height:112px;padding:18px!important;background:#fff!important;border:0!important;color:#151515!important}
body.mapa-interface-modern .mapa-notification-summary :where(span,small){color:#696963!important}
body.mapa-interface-modern .mapa-notification-summary strong{color:#151515!important;font-size:28px!important}
body.mapa-interface-modern .mapa-notification-filters{display:flex!important;flex-wrap:wrap;gap:0!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-notification-filters a{min-height:42px;padding:10px 15px!important;border:0!important;border-right:1px solid #d7d7d1!important;background:#fff!important;color:#3d3d39!important;text-decoration:none}
body.mapa-interface-modern .mapa-notification-filters a:is(.is-active,:hover,:focus-visible){background:#fff3f4!important;color:#b50915!important}
body.mapa-interface-modern .mapa-notification-list{display:grid;gap:0;margin-top:0!important;border:1px solid #d7d7d1;border-top:0;background:#fff}
body.mapa-interface-modern .mapa-notification-item{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:16px;padding:20px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e1e1dc!important;color:#30302d!important}
body.mapa-interface-modern .mapa-notification-item:last-child{border-bottom:0!important}
body.mapa-interface-modern .mapa-notification-item__icon{display:grid;place-items:center;width:40px;height:40px;background:#f2f2ee!important;color:#d9000d!important;border:0!important}
body.mapa-interface-modern .mapa-notification-item__copy :where(h3,h4,strong){color:#151515!important}
body.mapa-interface-modern .mapa-notification-item__copy :where(p,small,.mapa-notification-item__meta){color:#66665f!important}
body.mapa-interface-modern .mapa-notification-empty,body.mapa-interface-modern .mapa-notification-filter-empty{padding:44px 24px!important;background:#fff!important;border:1px solid #d7d7d1!important;color:#66665f!important;text-align:left!important}

/* Calendar — light readable grid rather than inherited dark event blocks. */
body.mapa-interface-modern .mapa-calendar-v2{color:#2d2d2a!important}
body.mapa-interface-modern .mapa-calendar-toolbar{display:grid!important;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:12px;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-calendar-toolbar h2,body.mapa-interface-modern .mapa-calendar-toolbar strong{color:#151515!important}
body.mapa-interface-modern .mapa-calendar-filters{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(180px,.6fr) auto;gap:12px!important;padding:18px!important;background:#fff!important;border:1px solid #d7d7d1!important;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-calendar-weekdays{background:#f2f2ef!important;color:#50504a!important;border:1px solid #deded8!important}
body.mapa-interface-modern .mapa-calendar-weekdays>*{color:#50504a!important;font-size:10px!important;letter-spacing:.08em;font-weight:850!important}
body.mapa-interface-modern .mapa-calendar-grid{background:#d7d7d1!important;gap:1px!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-calendar-day{min-height:142px!important;padding:11px!important;background:#fff!important;border:0!important;color:#333!important}
body.mapa-interface-modern .mapa-calendar-day.is-outside,body.mapa-interface-modern .mapa-calendar-day[aria-disabled=true]{background:#fafaf8!important;color:#b0b0aa!important}
body.mapa-interface-modern .mapa-calendar-day.is-today{outline:2px solid #e30613!important;outline-offset:-2px;background:#fff7f7!important}
body.mapa-interface-modern .mapa-calendar-day__number{color:#1c1c1a!important;font-size:12px!important;font-weight:850!important}
body.mapa-interface-modern .mapa-calendar-item{display:block!important;margin-top:5px!important;padding:6px 8px!important;background:#f0f0ec!important;border:0!important;border-left:3px solid #151515!important;color:#232320!important;font-size:11px!important;line-height:1.35!important;text-decoration:none!important}
body.mapa-interface-modern .mapa-calendar-item:hover{background:#e7e7e2!important;border-left-color:#e30613!important}
body.mapa-interface-modern .mapa-calendar-agenda-panel{margin-top:24px!important;padding:0!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-calendar-agenda-head{padding:20px!important;border-bottom:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-calendar-agenda-day{border-bottom:1px solid #e2e2dd!important;background:#fff!important}
body.mapa-interface-modern .mapa-calendar-agenda-date{background:#f2f2ee!important;color:#151515!important}
body.mapa-interface-modern .mapa-calendar-agenda-list :where(strong,h3,h4){color:#151515!important}
body.mapa-interface-modern .mapa-calendar-agenda-list :where(span,small,p){color:#62625d!important}

/* Messages / Communication wizard */
body.mapa-interface-modern .mapa-member-compose{padding:0!important;border:0!important;background:transparent!important}
body.mapa-interface-modern .mapa-member-communication-wizard{background:#fff!important;border:1px solid #d7d7d1!important;padding:24px!important;color:#30302d!important}
body.mapa-interface-modern .mapa-comm-wizard-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;margin:18px 0 24px!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-comm-wizard-progress>*{min-height:58px;padding:11px 14px!important;background:#fff!important;border:0!important;border-right:1px solid #d7d7d1!important;color:#595954!important;font-size:12px!important}
body.mapa-interface-modern .mapa-comm-wizard-progress>*:last-child{border-right:0!important}
body.mapa-interface-modern .mapa-comm-wizard-progress .is-active{background:#e30613!important;color:#fff!important}
body.mapa-interface-modern .mapa-comm-wizard-step{padding:0!important;background:transparent!important;border:0!important;color:#30302d!important}
body.mapa-interface-modern .mapa-communication-grid,body.mapa-interface-modern .mapa-compose-grid{gap:16px!important}
body.mapa-interface-modern .mapa-member-compose :where(.mapa-recipient-builder,.mapa-recipient-audience,.mapa-check-card,.mapa-recipient-panel,.mapa-comm-wizard-review){background:#fff!important;color:#30302d!important;border-color:#d7d7d1!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-compose :where(h2,h3,h4,strong,label>span){color:#151515!important}
body.mapa-interface-modern .mapa-member-compose :where(p,small,.description){color:#66665f!important}
body.mapa-interface-modern .mapa-member-messages{gap:0!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-message{padding:22px 24px!important;border:0!important;border-bottom:1px solid #d7d7d1!important;border-left:4px solid #a6a69f!important}
body.mapa-interface-modern .mapa-member-message--important{border-left-color:#a46b00!important}.mapa-interface-modern .mapa-member-message--urgent{border-left-color:#e30613!important}
body.mapa-interface-modern .mapa-member-message header h3{font-size:21px!important;color:#151515!important}.mapa-interface-modern .mapa-member-message header p,.mapa-interface-modern .mapa-member-message-body{color:#55554f!important}
body.mapa-interface-modern .mapa-member-message-priority{background:#f2f2ee!important;color:#4a4a45!important;border-radius:0!important}

/* Documents */
body.mapa-interface-modern .mapa-document-section-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-member-filterbar,body.mapa-interface-modern .mapa-document-filterbar{display:grid!important;grid-template-columns:minmax(240px,1fr) repeat(2,minmax(150px,.35fr)) auto;gap:10px!important;padding:16px!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-documents{gap:0!important;border:1px solid #d7d7d1!important;background:#fff}
body.mapa-interface-modern .mapa-member-document{padding:22px 24px!important;border:0!important;border-bottom:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-document header h3{font-size:20px!important;color:#151515!important}.mapa-interface-modern .mapa-member-document header p,.mapa-interface-modern .mapa-member-document-body{color:#5f5f59!important}
body.mapa-interface-modern .mapa-member-document header>div>span,body.mapa-interface-modern .mapa-document-status{background:#f2f2ee!important;color:#444440!important;border:0!important}
body.mapa-interface-modern :where(.mapa-document-builder,.mapa-document-report-shell,.mapa-document-repository){background:#fff!important;border:1px solid #d7d7d1!important;color:#30302d!important}
body.mapa-interface-modern .mapa-document-builder-section{padding:22px!important;border-bottom:1px solid #d7d7d1!important;background:#fff!important}

/* Players */
body.mapa-interface-modern .mapa-member-players-grid{grid-template-columns:repeat(3,minmax(240px,1fr))!important;gap:1px!important;background:#d7d7d1!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-member-player-card{padding:22px!important;border:0!important;background:#fff!important}
body.mapa-interface-modern .mapa-member-player-card__head{align-items:flex-start!important}.mapa-interface-modern .mapa-member-player-card__head img,.mapa-interface-modern .mapa-member-player-placeholder{width:64px!important;height:64px!important;flex-basis:64px!important;border-radius:0!important;background:#f2f2ee!important}
body.mapa-interface-modern .mapa-member-player-card h3{font-size:19px!important;color:#151515!important}.mapa-interface-modern .mapa-member-player-card__head p{color:#66665f!important}
body.mapa-interface-modern .mapa-member-player-data>div{padding:10px 0!important;border-top:1px solid #e2e2dd!important}.mapa-interface-modern .mapa-member-player-data dt{color:#696963!important}.mapa-interface-modern .mapa-member-player-data dd{color:#222!important}
body.mapa-interface-modern .mapa-player-profile-page,body.mapa-interface-modern .mapa-player-profile-content{color:#30302d!important}
body.mapa-interface-modern .mapa-player-profile-hero{background:#fff!important;border:1px solid #d7d7d1!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-player-profile-tabs{border-bottom:1px solid #d7d7d1!important;background:#fff!important}

/* News / newsroom */
body.mapa-interface-modern .mapa-news-editor,body.mapa-interface-modern .mapa-news-editor-form{background:#fff!important;color:#30302d!important;border-color:#d7d7d1!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern .mapa-news-editor-form{padding:26px!important}
body.mapa-interface-modern .mapa-news-editor-grid{gap:22px!important}
body.mapa-interface-modern .mapa-news-editor-form :where(label>span,.mapa-news-field-title,h2,h3,strong){color:#151515!important}
body.mapa-interface-modern .mapa-news-editor-form :where(p,small,.description,.mapa-news-editor-help){color:#66665f!important}
body.mapa-interface-modern .mapa-news-editor-form .wp-editor-wrap{border-radius:0!important;background:#fff!important}
body.mapa-interface-modern .mapa-news-editor-form .wp-editor-container{border:1px solid #bdbdb7!important}
body.mapa-interface-modern .mapa-news-editor-form .mapa-gallery-preview>span{background:#f2f2ee!important;border-color:#d7d7d1!important;border-radius:0!important}
body.mapa-interface-modern .mapa-news-admin-table :where(th,td){font-size:13px!important}

/* Management: typography and predictable module primitives. */
body.mapa-interface-modern .mapa-frontend-manager-shell{font-size:14px!important;line-height:1.5!important;color:#30302d!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(h1,h2,h3,h4,h5,h6,strong){color:#151515!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(p,small,.description,.mapa-admin-lead){color:#62625d!important}
body.mapa-interface-modern .mapa-manager-heading,body.mapa-interface-modern .mapa-admin-hero,body.mapa-interface-modern .mapa-settings-hero{align-items:end!important;margin-bottom:24px!important;padding-bottom:18px!important;border-bottom:1px solid #151515!important}
body.mapa-interface-modern .mapa-manager-heading h1,body.mapa-interface-modern .mapa-admin-hero h1,body.mapa-interface-modern .mapa-settings-hero h1{font-size:clamp(30px,2.5vw,44px)!important;letter-spacing:-.04em!important;line-height:1.03!important}
body.mapa-interface-modern .mapa-management-dashboard-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-management-kpis,body.mapa-interface-modern :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px!important;background:#d7d7d1!important;border:1px solid #d7d7d1!important;margin-bottom:22px!important}
body.mapa-interface-modern .mapa-management-kpis>a,body.mapa-interface-modern .mapa-management-kpis>article,body.mapa-interface-modern :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary)>*{display:grid!important;align-content:start;gap:5px;min-height:118px!important;padding:18px 20px!important;background:#fff!important;border:0!important;color:#30302d!important;text-decoration:none!important}
body.mapa-interface-modern .mapa-management-kpis>a:hover{background:#f1f1ed!important}
body.mapa-interface-modern .mapa-management-kpis span,body.mapa-interface-modern .mapa-management-kpis small{color:#696963!important}.mapa-interface-modern .mapa-management-kpis strong{color:#151515!important;font-size:28px!important;line-height:1.1!important}
body.mapa-interface-modern .mapa-management-kpis .is-warning{background:#fff4f4!important;box-shadow:inset 3px 0 0 #e30613!important}
body.mapa-interface-modern .mapa-admin-card{margin-bottom:18px!important;background:#fff!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-admin-card__head{display:flex!important;align-items:center!important;gap:12px!important;padding:15px 18px!important;background:#f2f2ee!important;border-bottom:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-panel-icon{display:grid;place-items:center;width:30px;height:30px;background:transparent!important;color:#d9000d!important}
body.mapa-interface-modern .mapa-panel-copy{display:grid;gap:2px}.mapa-interface-modern .mapa-panel-copy>strong{font-size:14px!important}.mapa-interface-modern .mapa-panel-copy>small{font-size:12px!important}
body.mapa-interface-modern .mapa-filter-row,body.mapa-interface-modern .mapa-inline-filters,body.mapa-interface-modern :where(.mapa-report-filters,.mapa-event-filters,.mapa-audit-filters,.mapa-finance-filter-row,.mapa-staffing-range-filters){gap:10px!important;padding:15px 18px!important;background:#fff!important;border:1px solid #d7d7d1!important;margin-bottom:16px!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(input,select,textarea){font-size:14px!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.button,.mapa-button,button[type=submit]){min-height:40px!important;padding:8px 14px!important;font-size:13px!important;font-weight:750!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.button-primary,.mapa-button:not(.mapa-button--ghost),button[type=submit]){background:#e30613!important;border-color:#e30613!important;color:#fff!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.button-primary,.mapa-button:not(.mapa-button--ghost),button[type=submit]):hover{background:#bd000b!important;border-color:#bd000b!important}

/* Management tables — readable density. */
body.mapa-interface-modern .mapa-frontend-manager-shell table{font-size:13px!important;border-color:#d7d7d1!important}
body.mapa-interface-modern .mapa-frontend-manager-shell th{padding:11px 12px!important;background:#f0f0ec!important;color:#30302d!important;font-size:10px!important;font-weight:850!important;letter-spacing:.08em!important}
body.mapa-interface-modern .mapa-frontend-manager-shell td{padding:12px!important;color:#33332f!important;background:#fff!important}
body.mapa-interface-modern .mapa-frontend-manager-shell tbody tr:hover td{background:#fafaf7!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.mapa-training-table-wrap,.mapa-table-scroll,.mapa-report-table-wrap,.mapa-recruitment-table-wrap){border:1px solid #d7d7d1!important;background:#fff!important;overflow:auto!important}

/* Operations / workflow / analytics */
body.mapa-interface-modern .mapa-operations-tabs,body.mapa-interface-modern .mapa-workflow-tabs{display:flex!important;flex-wrap:wrap;gap:0!important;margin-bottom:18px!important;border:1px solid #d7d7d1!important;background:#fff!important}
body.mapa-interface-modern .mapa-operations-tabs a,body.mapa-interface-modern .mapa-workflow-tabs a{min-height:42px;padding:10px 15px!important;background:#fff!important;border:0!important;border-right:1px solid #d7d7d1!important;color:#33332f!important;text-decoration:none!important}
body.mapa-interface-modern .mapa-operations-tabs a.is-active,body.mapa-interface-modern .mapa-workflow-tabs a.is-active{background:#fff3f4!important;color:#b50915!important;border-color:#e30613!important}
body.mapa-interface-modern .mapa-operations-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px!important;background:#d7d7d1!important;border:1px solid #d7d7d1!important;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-operations-summary article{display:grid;gap:5px;min-height:106px;padding:18px!important;background:#fff!important;border:0!important;color:#333!important}
body.mapa-interface-modern .mapa-operations-summary article span,body.mapa-interface-modern .mapa-operations-summary article small{color:#696963!important}.mapa-interface-modern .mapa-operations-summary article strong{font-size:26px!important;color:#151515!important}
body.mapa-interface-modern :where(.mapa-action-center-item,.mapa-workflow-row,.mapa-saved-views-list>article){background:#fff!important;border:1px solid #d7d7d1!important;border-radius:0!important;box-shadow:none!important;color:#30302d!important}
body.mapa-interface-modern .mapa-workflow-row{padding:16px 18px!important}.mapa-interface-modern .mapa-workflow-row__main strong{font-size:15px!important}.mapa-interface-modern .mapa-workflow-row__meta{color:#66665f!important}

/* Remove inherited dark/grey surfaces in common nested modules. */
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.mapa-identity-editor,.mapa-identity-policy,.mapa-document-builder,.mapa-document-builder-section,.mapa-recruitment-workflow-card,.mapa-finance-settings-card,.mapa-workflow-form-shell,.mapa-workflow-detail-shell,.mapa-player-profile-page,.mapa-news-editor,.mapa-attendance-settings,.mapa-training-notification-settings){background:#fff!important;color:#30302d!important;border-color:#d7d7d1!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.mapa-record-summary,.mapa-record-details){background:#fff!important;color:#30302d!important}
body.mapa-interface-modern .mapa-record-summary{padding:12px 14px!important}.mapa-interface-modern .mapa-record-summary__identity strong{font-size:14px!important}
body.mapa-interface-modern .mapa-record-summary__meta{font-size:12px!important;color:#66665f!important}

/* Accessibility / legibility overrides for any legacy low-contrast text. */
body.mapa-interface-modern .mapa-member-portal-main :where(.description,small,.mapa-muted,.mapa-member-muted){color:#66665f!important}
body.mapa-interface-modern .mapa-member-portal-main :where(h1,h2,h3,h4,h5,h6,strong,label,legend){color:#151515}
body.mapa-interface-modern :where(input,select,textarea)::placeholder{color:#888882!important;opacity:1!important}
body.mapa-interface-modern input:disabled,body.mapa-interface-modern input[readonly],body.mapa-interface-modern select:disabled,body.mapa-interface-modern textarea:disabled{background:#eeeeea!important;color:#60605b!important;opacity:1!important}

@media(max-width:1250px){
  body.mapa-interface-modern .mapa-notification-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-management-kpis,body.mapa-interface-modern :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-member-players-grid{grid-template-columns:repeat(2,minmax(240px,1fr))!important}
}
@media(max-width:900px){
  body.mapa-interface-modern .mapa-member-portal-hero{min-height:0;padding:20px 18px!important}.mapa-interface-modern .mapa-member-profile-summary h1{font-size:30px!important}
  body.mapa-interface-modern .mapa-member-hero-actions{width:100%}.mapa-interface-modern .mapa-member-hero-actions .mapa-button{flex:1;justify-content:center}
  body.mapa-interface-modern .mapa-member-workspace__content,body.mapa-interface-modern .mapa-management-content{padding:28px 18px 64px!important}
  body.mapa-interface-modern .mapa-member-heading-row{grid-template-columns:1fr;gap:8px;padding-bottom:14px!important}.mapa-interface-modern .mapa-member-heading-row h2{font-size:34px!important}
  body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){grid-template-columns:1fr;gap:8px;padding:20px!important}
  body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>legend,body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>p,body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>label,body.mapa-interface-modern :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>.mapa-member-notification-hint{grid-column:1}
  body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card){grid-template-columns:1fr;padding:20px!important}
  body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card)>.mapa-member-card-kicker,body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card)>h3,body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card)>p,body.mapa-interface-modern :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card)>.mapa-webpush-actions{grid-column:1;grid-row:auto}
  body.mapa-interface-modern .mapa-notification-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-notification-item{grid-template-columns:40px minmax(0,1fr)}.mapa-interface-modern .mapa-notification-item__actions{grid-column:2}
  body.mapa-interface-modern .mapa-calendar-filters{grid-template-columns:1fr 1fr}.mapa-interface-modern .mapa-calendar-filters>:last-child{grid-column:1/-1}
  body.mapa-interface-modern .mapa-calendar-grid{min-width:760px}.mapa-interface-modern .mapa-calendar-v2{overflow-x:auto}
  body.mapa-interface-modern .mapa-comm-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-member-filterbar,body.mapa-interface-modern .mapa-document-filterbar{grid-template-columns:1fr 1fr}.mapa-interface-modern :where(.mapa-member-filterbar,.mapa-document-filterbar)>:first-child{grid-column:1/-1}
  body.mapa-interface-modern .mapa-management-kpis,body.mapa-interface-modern :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mapa-interface-modern .mapa-operations-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body.mapa-interface-modern .mapa-member-profile-summary{align-items:flex-start}.mapa-interface-modern .mapa-member-profile-summary .mapa-member-avatar{width:48px!important;height:48px!important}.mapa-interface-modern .mapa-member-profile-summary h1{font-size:27px!important}
  body.mapa-interface-modern .mapa-member-avatar-upload{grid-template-columns:72px minmax(0,1fr);gap:16px!important;padding:18px!important}.mapa-interface-modern .mapa-member-avatar-upload img{width:70px!important;height:70px!important}
  body.mapa-interface-modern .mapa-member-form-grid{grid-template-columns:1fr!important;padding:20px!important}.mapa-interface-modern .mapa-field-full{grid-column:auto!important}
  body.mapa-interface-modern .mapa-notification-summary{grid-template-columns:1fr 1fr}
  body.mapa-interface-modern .mapa-notification-filters{display:grid!important;grid-template-columns:1fr 1fr}.mapa-interface-modern .mapa-notification-filters a{border-right:0!important;border-bottom:1px solid #d7d7d1!important}
  body.mapa-interface-modern .mapa-calendar-toolbar{grid-template-columns:auto 1fr auto}.mapa-interface-modern .mapa-calendar-filters{grid-template-columns:1fr}.mapa-interface-modern .mapa-calendar-filters>*{grid-column:auto!important}
  body.mapa-interface-modern .mapa-comm-wizard-progress{grid-template-columns:1fr 1fr}.mapa-interface-modern .mapa-comm-wizard-progress>*{min-height:52px!important}
  body.mapa-interface-modern .mapa-member-filterbar,body.mapa-interface-modern .mapa-document-filterbar{grid-template-columns:1fr}.mapa-interface-modern :where(.mapa-member-filterbar,.mapa-document-filterbar)>*{grid-column:auto!important}
  body.mapa-interface-modern .mapa-member-players-grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-management-kpis,body.mapa-interface-modern :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary),body.mapa-interface-modern .mapa-operations-summary{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-manager-heading h1,body.mapa-interface-modern .mapa-admin-hero h1,body.mapa-interface-modern .mapa-settings-hero h1{font-size:32px!important}
}

/* === bundled from assets/css/modern/modern-management-r5.css === */
/* MAPA Modern v5.0.0 R5 — Management UI System 2.0
 * Final management design-language pass: application shell, navigation, metrics,
 * tables, filters, actions and compact application footer. Modern only.
 */

/* --------------------------------------------------------------------------
   Management application shell
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view{
  --mapa-mgmt-sidebar:286px;
  --mapa-mgmt-gutter:clamp(24px,2.6vw,48px);
  --mapa-mgmt-section:34px;
  --mapa-mgmt-row:52px;
  background:#f4f4f1!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-member-portal-shell{padding-inline:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-member-management-main{background:#f4f4f1!important}

/* Context header: deliberately quieter than the actual module heading. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero{
  min-height:76px!important;
  padding:14px var(--mapa-mgmt-gutter)!important;
  margin:0!important;
  border-bottom:1px solid #d8d8d2!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-profile-summary{gap:12px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-avatar{width:40px!important;height:40px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-eyebrow{
  margin:0 0 2px!important;
  font-size:9px!important;
  letter-spacing:.14em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero h1{
  margin:0!important;
  font-size:21px!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-profile-summary p{
  margin:3px 0 0!important;
  font-size:11px!important;
  color:#777770!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-button{
  min-height:38px!important;
  padding:8px 13px!important;
  background:#fff!important;
  border:1px solid #c9c9c2!important;
  color:#262623!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-button:hover{background:#f3f3ef!important;border-color:#8c8c85!important}

/* Search is a utility bar, not a dark visual hero. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search,
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search-shell{
  margin:0!important;
  padding:11px var(--mapa-mgmt-gutter)!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #d8d8d2!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search__field{
  min-height:44px!important;
  background:#f4f4f1!important;
  border:1px solid transparent!important;
  border-bottom:1px solid #c7c7c0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search__field:focus-within{
  background:#fff!important;
  border-color:#aaa9a2!important;
  border-bottom-color:#e30613!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search :where(input[type=search],input[type=text]){
  min-height:42px!important;
  background:transparent!important;
  border:0!important;
  color:#171714!important;
  font-size:14px!important;
  padding-inline:10px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search kbd{
  background:#fff!important;
  border:1px solid #d1d1cb!important;
  color:#777770!important;
}

body.mapa-interface-modern.mapa-modern-management-view .mapa-management-workspace{
  grid-template-columns:var(--mapa-mgmt-sidebar) minmax(0,1fr)!important;
  gap:0!important;
  margin:0!important;
  background:#f4f4f1!important;
}

/* --------------------------------------------------------------------------
   Sidebar — application navigation rather than a WordPress-looking menu
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs{
  top:var(--mapa-sticky-under-header,78px)!important;
  height:calc(100vh - var(--mapa-sticky-under-header,78px))!important;
  padding:24px 0 36px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #d8d8d2!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  scrollbar-color:#c7c7c0 transparent;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header{
  padding:0 24px 21px!important;
  border-bottom:1px solid #e3e3de!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header strong{
  font-size:17px!important;
  letter-spacing:-.02em!important;
  color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header span{
  margin-top:3px!important;
  font-size:9px!important;
  letter-spacing:.13em!important;
  color:#8b8b84!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__group{
  padding:22px 14px 0!important;
  border:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__label{
  padding:0 10px 8px!important;
  color:#8b8b84!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.13em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__links{gap:2px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link{
  position:relative;
  min-height:46px!important;
  padding:9px 12px!important;
  border:0!important;
  border-left:2px solid transparent!important;
  background:transparent!important;
  color:#4a4a45!important;
  font-size:13px!important;
  font-weight:690!important;
  line-height:1.2!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link__main{gap:11px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link .dashicons{
  flex:0 0 19px!important;
  width:19px!important;
  height:19px!important;
  font-size:19px!important;
  color:#8a8a83!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link:hover{
  background:#f5f5f2!important;
  color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link.is-active{
  background:#f1f1ed!important;
  border-left-color:#e30613!important;
  color:#171714!important;
  font-weight:800!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link.is-active .dashicons{color:#e30613!important}

/* --------------------------------------------------------------------------
   Main workspace / hierarchy
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{
  padding:30px var(--mapa-mgmt-gutter) 62px!important;
  background:#f4f4f1!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell{
  font-size:14px!important;
  line-height:1.55!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell>.wrap,
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell>.mapa-admin-wrap,
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell>.mapa-manager-admin{padding:0!important}

/* Save-view becomes a compact utility control. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture{
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture>summary{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:5px 0!important;
  border:0!important;
  background:transparent!important;
  color:#74746d!important;
  font-size:12px!important;
  font-weight:700!important;
  cursor:pointer;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture>summary:hover{color:#e30613!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture[open]{
  padding:14px 16px 16px!important;
  border:1px solid #d7d7d1!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture form{display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important;margin-top:10px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-saved-view-capture form label{flex:1 1 320px!important}

/* The module's own page heading is the primary heading. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading,
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-hero,
body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:30px!important;
  margin:0 0 18px!important;
  padding:0 0 18px!important;
  border:0!important;
  border-bottom:1px solid #b8b8b1!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading h1,
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-hero h1,
body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-hero h1{
  margin:3px 0 0!important;
  font-size:clamp(31px,2.2vw,43px)!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
  color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-lead{
  max-width:900px!important;
  margin:7px 0 0!important;
  color:#66665f!important;
  font-size:13px!important;
  line-height:1.55!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-kicker{
  color:#e30613!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{
  min-width:170px!important;
  padding:10px 0 8px 16px!important;
  border:0!important;
  border-left:2px solid #e30613!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>.dashicons{display:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip strong{font-size:14px!important;color:#171714!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip span:last-child{font-size:10px!important;color:#777770!important}

/* Page actions */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-dashboard-actions,
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side,
body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-dashboard-actions{margin:0 0 18px!important}

/* --------------------------------------------------------------------------
   Metrics — one information strip, not six form fields
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis,
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){
  display:grid!important;
  grid-template-columns:repeat(6,minmax(130px,1fr))!important;
  gap:0!important;
  margin:0 0 32px!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #d8d8d2!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>a,
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>article,
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary)>*{
  position:relative;
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  min-height:112px!important;
  padding:17px 18px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #e0e0da!important;
  color:#33332f!important;
  text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>a:hover{background:#f6f6f2!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis span,
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis small{
  color:#74746d!important;
  font-size:10px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis span{
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis strong{
  color:#171714!important;
  font-size:32px!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis .is-warning{
  background:#fff4f4!important;
  box-shadow:inset 3px 0 0 #e30613!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis .is-warning strong{color:#9e0710!important}

/* --------------------------------------------------------------------------
   Sections — hierarchy via spacing and separators rather than nested cards
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card{
  margin:0 0 var(--mapa-mgmt-section)!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-top:1px solid #c9c9c2!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card__head{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:15px 0 13px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-panel-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 25px!important;
  width:25px!important;
  height:25px!important;
  background:transparent!important;
  color:#e30613!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-panel-icon .dashicons{width:18px!important;height:18px!important;font-size:18px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-panel-copy{display:grid!important;gap:2px!important;min-width:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-panel-copy strong,
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card__head h2{
  color:#1b1b18!important;
  font-size:15px!important;
  font-weight:820!important;
  letter-spacing:-.015em!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-panel-copy small,
body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card__head p{
  color:#74746d!important;
  font-size:11px!important;
  line-height:1.45!important;
}

/* Tables are data surfaces, not boxed cards. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-table-wrap,
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-table-scroll,.mapa-report-table-wrap,.mapa-recruitment-table-wrap,.mapa-staff-table-wrap){
  width:100%!important;
  margin:0!important;
  background:#fff!important;
  border:0!important;
  border-top:1px solid #d7d7d1!important;
  border-bottom:1px solid #d7d7d1!important;
  overflow:auto!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table{
  width:100%!important;
  min-width:0!important;
  border:0!important;
  background:#fff!important;
  font-size:14px!important;
  table-layout:auto!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table th{
  height:38px!important;
  padding:9px 14px!important;
  background:#efefeb!important;
  border:0!important;
  border-bottom:1px solid #d4d4ce!important;
  color:#55554f!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  vertical-align:middle!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table td{
  min-height:var(--mapa-mgmt-row)!important;
  padding:13px 14px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #e5e5e0!important;
  color:#353531!important;
  font-size:13px!important;
  vertical-align:middle!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table tbody tr:last-child td{border-bottom:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table tbody tr:hover td{background:#fafaf7!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table td strong{color:#20201d!important;font-weight:750!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table :where(small,.mapa-table-subline){color:#797972!important;font-size:11px!important}

/* Dashboard occupancy becomes a real visual indicator. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-input{
  width:78px!important;
  min-height:36px!important;
  padding:6px 8px!important;
  text-align:center!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-count{
  display:inline-flex!important;
  align-items:center!important;
  min-width:28px!important;
  min-height:28px!important;
  font-weight:800!important;
  color:#20201d!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-cell{
  display:grid!important;
  grid-template-columns:minmax(90px,1fr) auto!important;
  align-items:center!important;
  gap:4px 10px!important;
  min-width:190px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-cell .mapa-occupancy{
  width:100%!important;
  height:5px!important;
  margin:0!important;
  background:#deded8!important;
  border-radius:0!important;
  overflow:hidden!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-cell .mapa-occupancy span{
  display:block!important;
  height:100%!important;
  background:#e30613!important;
  border-radius:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-cell>strong{
  grid-column:2!important;
  grid-row:1!important;
  font-size:12px!important;
  color:#242421!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-cell>small{
  grid-column:1/-1!important;
  color:#85857e!important;
  font-size:10px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-occupancy-empty{color:#85857e!important;font-size:11px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-section-actions{
  display:flex!important;
  justify-content:flex-end!important;
  padding:14px 0 0!important;
}

/* --------------------------------------------------------------------------
   Controls / actions
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.button,.mapa-button,button[type=submit],input[type=submit]){
  min-height:38px!important;
  padding:8px 13px!important;
  border:1px solid #c8c8c1!important;
  background:#fff!important;
  color:#282825!important;
  font-size:12px!important;
  font-weight:780!important;
  line-height:1.15!important;
  text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.button,.mapa-button,button[type=submit],input[type=submit]):hover{
  background:#f1f1ed!important;
  border-color:#8e8e87!important;
  color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.button-primary,.mapa-button:not(.mapa-button--ghost),button[type=submit].button-primary,input[type=submit].button-primary){
  background:#e30613!important;
  border-color:#e30613!important;
  color:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.button-primary,.mapa-button:not(.mapa-button--ghost),button[type=submit].button-primary,input[type=submit].button-primary):hover{
  background:#bb000b!important;
  border-color:#bb000b!important;
  color:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-drilldown{
  white-space:nowrap!important;
  background:transparent!important;
  border-color:#d1d1ca!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-drilldown span{margin-left:3px!important;color:#e30613!important}

/* Inputs */
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=month],input[type=search],select,textarea){
  min-height:42px!important;
  padding:8px 10px!important;
  background:#fff!important;
  border:1px solid #c9c9c2!important;
  color:#242421!important;
  font-size:13px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(input,select,textarea):focus{
  border-color:#888881!important;
  border-bottom-color:#e30613!important;
  outline:0!important;
  box-shadow:inset 0 -1px 0 #e30613!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell textarea{min-height:104px!important}

/* Filters are compact utility rows. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.mapa-filter-row,.mapa-inline-filters,.mapa-report-filters,.mapa-event-filters,.mapa-audit-filters,.mapa-finance-filter-row,.mapa-staffing-range-filters,.mapa-scale-toolbar){
  gap:10px!important;
  margin:0 0 18px!important;
  padding:12px 0!important;
  background:transparent!important;
  border:0!important;
  border-top:1px solid #d4d4ce!important;
  border-bottom:1px solid #d4d4ce!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.mapa-filter-row,.mapa-inline-filters,.mapa-report-filters,.mapa-event-filters,.mapa-audit-filters,.mapa-finance-filter-row,.mapa-staffing-range-filters) label>span{
  color:#6e6e67!important;
  font-size:10px!important;
  font-weight:820!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}

/* Tabs and quick views — light segmented controls. */
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-report-tabs,.mapa-scale-quickviews){
  display:flex!important;
  flex-wrap:wrap!important;
  gap:0!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #c9c9c2!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-report-tabs,.mapa-scale-quickviews) a{
  min-height:40px!important;
  padding:9px 13px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  background:transparent!important;
  color:#66665f!important;
  font-size:12px!important;
  font-weight:720!important;
  text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-report-tabs,.mapa-scale-quickviews) a:hover{color:#171714!important;background:#f0f0ec!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-report-tabs,.mapa-scale-quickviews) a.is-active{
  background:transparent!important;
  border-bottom-color:#e30613!important;
  color:#171714!important;
}

/* Operations summary follows the same metric language. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0 0 26px!important;
  background:#fff!important;
  border:1px solid #d8d8d2!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article{
  min-height:104px!important;
  padding:16px 18px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #e0e0da!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article strong{font-size:30px!important;letter-spacing:-.03em!important}

/* Record lists / accordions */
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-list{padding:0!important;gap:0!important;border-top:1px solid #d8d8d2!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-accordion{
  border:0!important;
  border-bottom:1px solid #d8d8d2!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-summary{
  min-height:58px!important;
  padding:10px 12px!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-summary:hover{background:#f7f7f3!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-summary__identity strong{font-size:13px!important;color:#22221f!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-summary__meta{font-size:11px!important;color:#777770!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-record-details{padding:18px!important;background:#fbfbf8!important;border-top:1px solid #e2e2dc!important}

/* Empty states and notices */
body.mapa-interface-modern.mapa-modern-management-view .notice{
  margin:0 0 16px!important;
  padding:11px 13px!important;
  background:#fff!important;
  border:0!important;
  border-left:3px solid #e30613!important;
  color:#343431!important;
}
body.mapa-interface-modern.mapa-modern-management-view .notice-success{border-left-color:#14733f!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-record-empty,.mapa-profile-empty,.mapa-empty-admin){
  padding:28px 20px!important;
  background:#fff!important;
  border:1px dashed #cfcfc8!important;
  color:#6f6f68!important;
  text-align:center!important;
}

/* --------------------------------------------------------------------------
   Compact app footer — management should not end in a marketing footer
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer{border-top:2px solid #e30613!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__main{
  grid-template-columns:minmax(280px,1fr) auto auto!important;
  gap:34px!important;
  padding:26px var(--mapa-mgmt-gutter)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__logo{width:42px!important;height:42px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__brand{gap:12px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__brand strong{font-size:14px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__brand span,
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__column{font-size:11px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__label{margin-bottom:3px!important;font-size:9px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__bottom{padding:11px var(--mapa-mgmt-gutter)!important;font-size:9px!important}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:1550px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis,
  body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:nth-child(3n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:nth-child(-n+3){border-bottom:1px solid #e0e0da!important}
}
@media(max-width:1180px){
  body.mapa-interface-modern.mapa-modern-management-view{--mapa-mgmt-sidebar:248px;--mapa-mgmt-gutter:26px}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header{padding-inline:18px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__group{padding-inline:10px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article:nth-child(2){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article:nth-child(-n+2){border-bottom:1px solid #e0e0da!important}
}
@media(max-width:1040px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-workspace{display:block!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs{display:none!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-mobile-nav{display:block!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{padding:24px 18px 56px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero{padding-inline:18px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search,body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search-shell{padding-inline:18px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading,body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-hero,body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-hero{grid-template-columns:1fr!important;align-items:start!important;gap:12px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{padding-left:12px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__main{grid-template-columns:1fr 1fr!important;padding-inline:18px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__brand{grid-column:1/-1!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__bottom{padding-inline:18px!important}
}
@media(max-width:760px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero{min-height:68px!important;padding-block:12px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-avatar{width:36px!important;height:36px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero h1{font-size:19px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-hero-actions{width:auto!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-button{min-height:36px!important;font-size:11px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search,body.mapa-interface-modern.mapa-modern-management-view .mapa-global-search-shell{padding-block:8px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{padding:20px 14px 48px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading h1,body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-hero h1,body.mapa-interface-modern.mapa-modern-management-view .mapa-settings-hero h1{font-size:29px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis,
  body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*{min-height:100px!important;border-right:1px solid #e0e0da!important;border-bottom:1px solid #e0e0da!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:nth-child(2n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:nth-last-child(-n+2){border-bottom:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis strong{font-size:28px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card{margin-bottom:28px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-admin-card__head{padding-top:12px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table{min-width:0!important;max-width:100%!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-table{min-width:760px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__main{grid-template-columns:1fr!important;gap:20px!important;padding:22px 14px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__brand{grid-column:auto!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-modern-footer__bottom{padding:10px 14px!important;gap:10px!important}
}
@media(max-width:520px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero{align-items:flex-start!important;gap:10px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-profile-summary p{display:none!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis,
  body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary){grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*{min-height:82px!important;border-right:0!important;border-bottom:1px solid #e0e0da!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:last-child{border-bottom:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis strong{font-size:27px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article{border-right:0!important;border-bottom:1px solid #e0e0da!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-operations-summary article:last-child{border-bottom:0!important}
}

/* === bundled from assets/css/modern/modern-isolation-r6.css === */
/* MAPA Modern v5.0.0 R6 — Classic isolation / flat application system
 * This layer is intentionally loaded last. It removes Classic visual language
 * from Strefa MAPA and frontend management while preserving module markup,
 * data, permissions and JS behaviour.
 */

/* -------------------------------------------------------------------------
   Application root and typography
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app{
  --mapa-r6-bg:#f7f7f4;
  --mapa-r6-surface:#fff;
  --mapa-r6-soft:#f1f1ed;
  --mapa-r6-line:#deded8;
  --mapa-r6-line-strong:#bcbcb5;
  --mapa-r6-ink:#171714;
  --mapa-r6-copy:#4f4f49;
  --mapa-r6-muted:#76766f;
  --mapa-r6-red:#e30613;
  background:var(--mapa-r6-bg)!important;
  color:var(--mapa-r6-copy)!important;
  font-weight:400!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(h1,h2,h3,h4,h5,h6){font-weight:680!important;color:var(--mapa-r6-ink)!important;letter-spacing:-.035em!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(p,li,td,dd,small){color:var(--mapa-r6-copy)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(strong,b){font-weight:650!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(label,th,.mapa-record-label,.mapa-settings-kicker,.mapa-eyebrow){font-weight:650!important}

/* Modern app is flat by contract. No Classic elevation or roundness. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  [class*="-card"],[class*="__card"],[class*="-panel"],[class*="__panel"],
  [class*="-tile"],[class*="__tile"],[class*="popover"],[class*="dropdown"],
  [class*="modal"],[class*="accordion"],[class*="summary"],details,
  .mapa-admin-card,.mapa-admin-panel,.mapa-member-panel,.mapa-record-accordion
){border-radius:0!important;box-shadow:none!important}

/* Remove Classic dark surfaces from application content. Header/navigation can
 * still use brand black where intentionally designed, but module content does not. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-frontend-manager-shell,.mapa-management-content,.mapa-member-workspace__content,
  .mapa-admin-card,.mapa-admin-panel,.mapa-member-panel,.mapa-member-overview-block,
  .mapa-record-accordion,.mapa-record-details,.mapa-record-summary,
  .mapa-operations-card,.mapa-workflow-card,.mapa-notification-center,
  .mapa-comm-wizard,.mapa-document-report-card,.mapa-consent-report-card,
  .mapa-development-history-card,.mapa-event-rsvp-report-card,.mapa-camp-editor-card
){color:var(--mapa-r6-copy)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-admin-card,.mapa-admin-panel,.mapa-member-panel,.mapa-member-overview-block,
  .mapa-record-accordion,.mapa-record-details,.mapa-record-summary,
  .mapa-operations-card,.mapa-workflow-card,.mapa-notification-center,
  .mapa-document-report-card,.mapa-consent-report-card,.mapa-development-history-card,
  .mapa-event-rsvp-report-card,.mapa-camp-editor-card
){background:var(--mapa-r6-surface)!important;border-color:var(--mapa-r6-line)!important}

/* -------------------------------------------------------------------------
   Search / shell — explicitly neutralise old black Classic search bar
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search-shell{
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r6-line)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__field{
  min-height:44px!important;
  padding:0 12px!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__field:focus-within{background:#fff!important;border:0!important;outline:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__field :where(input[type=search],input[type=text]){background:transparent!important;color:var(--mapa-r6-ink)!important;font-weight:400!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__field input::placeholder{color:#898982!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__field kbd{background:#fff!important;color:#777770!important;border:1px solid var(--mapa-r6-line)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__results{background:#fff!important;color:var(--mapa-r6-ink)!important;border:1px solid var(--mapa-r6-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__results a{color:var(--mapa-r6-ink)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-global-search__results a:hover{background:#f3f3ef!important}

/* -------------------------------------------------------------------------
   Management shell — these selectors start working once R6 fixes body context
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-workspace{grid-template-columns:276px minmax(0,1fr)!important;background:var(--mapa-r6-bg)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs{
  background:#fff!important;
  border:0!important;
  border-right:1px solid var(--mapa-r6-line)!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header{padding:24px 22px 18px!important;border-bottom:1px solid var(--mapa-r6-line)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__header strong{font-size:17px!important;font-weight:680!important;color:var(--mapa-r6-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__group{padding:20px 12px 0!important;border:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs__label{padding:0 10px 8px!important;font-size:10px!important;font-weight:700!important;color:#82827b!important;letter-spacing:.11em!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link{
  min-height:44px!important;
  padding:9px 11px!important;
  background:transparent!important;
  border:0!important;
  border-left:2px solid transparent!important;
  color:#4c4c47!important;
  font-size:13px!important;
  font-weight:560!important;
  border-radius:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link:hover{background:#f4f4f0!important;color:var(--mapa-r6-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-nav-link.is-active{background:#f0f0ec!important;border-left-color:var(--mapa-r6-red)!important;color:var(--mapa-r6-ink)!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{background:var(--mapa-r6-bg)!important;padding:30px clamp(26px,3vw,52px) 58px!important}

/* Context header uses only essential information. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero{
  padding:16px clamp(28px,3.2vw,56px)!important;
  min-height:76px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r6-line)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero h1{font-size:23px!important;font-weight:680!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-hero .mapa-member-eyebrow{font-size:10px!important;font-weight:700!important}

/* -------------------------------------------------------------------------
   Buttons / fields — eliminate Classic black blocks and heavy typography
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app :where(.button,.mapa-button,button,input[type=submit],input[type=button]){
  border-radius:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:620!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button:not(.button-primary):not(.button-link-delete),.mapa-button--ghost,.mapa-button--secondary){background:#fff!important;color:var(--mapa-r6-ink)!important;border:1px solid var(--mapa-r6-line-strong)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button:not(.button-primary):not(.button-link-delete),.mapa-button--ghost,.mapa-button--secondary):hover{background:#f1f1ed!important;border-color:#8f8f88!important;color:var(--mapa-r6-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button-primary,.mapa-button--primary,button[type=submit].button-primary,input[type=submit].button-primary){background:var(--mapa-r6-red)!important;border-color:var(--mapa-r6-red)!important;color:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=search],select,textarea){background:#fff!important;color:var(--mapa-r6-ink)!important;border:1px solid #c9c9c2!important;border-radius:0!important;box-shadow:none!important;font-weight:400!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(input,select,textarea):focus{border-color:#8f8f88!important;border-bottom-color:var(--mapa-r6-red)!important;box-shadow:none!important}

/* -------------------------------------------------------------------------
   Module headings / cards / section chrome
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-manager-heading,.mapa-admin-hero,.mapa-settings-hero,.mapa-member-heading-row){background:transparent!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-manager-heading h1,.mapa-admin-hero h1,.mapa-settings-hero h1,.mapa-member-heading-row h2){font-weight:680!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-admin-card{margin-bottom:26px!important;border:0!important;border-top:1px solid var(--mapa-r6-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-admin-card__head{padding:15px 0 12px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--mapa-r6-line)!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-admin-card__head :where(strong,h2,h3){font-weight:650!important;color:var(--mapa-r6-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-admin-card__head :where(p,small,span){color:var(--mapa-r6-muted)!important}

/* Generic classic cards become flat rows/sections. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-member-stat-card,.mapa-manager-stats>*,.mapa-scale-summary>*,.mapa-event-admin-stats>*,
  .mapa-attendance-group-stats>*,.mapa-competition-kpis>*,.mapa-sports-kpis>*,
  .mapa-finance-kpis>*,.mapa-document-kpis>*,.mapa-consent-kpis>*,.mapa-event-rsvp-kpis>*,
  .mapa-comm-job-kpis>*,.mapa-document-detail-kpis>*,.mapa-operations-summary>*
){background:transparent!important;border:0!important;border-left:2px solid var(--mapa-r6-line)!important;border-radius:0!important;box-shadow:none!important;padding:10px 16px!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-member-stat-card,.mapa-manager-stats>*,.mapa-scale-summary>*,.mapa-event-admin-stats>*,
  .mapa-attendance-group-stats>*,.mapa-competition-kpis>*,.mapa-sports-kpis>*,
  .mapa-finance-kpis>*,.mapa-document-kpis>*,.mapa-consent-kpis>*,.mapa-event-rsvp-kpis>*,
  .mapa-comm-job-kpis>*,.mapa-document-detail-kpis>*,.mapa-operations-summary>*
) :where(strong,b){color:var(--mapa-r6-ink)!important;font-weight:650!important}

/* Management dashboard KPI strip in particular. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;margin:18px 0 32px!important;border-top:1px solid var(--mapa-r6-line)!important;border-bottom:1px solid var(--mapa-r6-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*{min-height:102px!important;padding:17px 18px!important;background:#fff!important;border:0!important;border-right:1px solid var(--mapa-r6-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*.is-alert,
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*.mapa-management-kpi--alert{background:#fff4f4!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis :where(span,small){font-size:10px!important;font-weight:600!important;letter-spacing:.06em!important;color:#7d7d76!important;text-transform:uppercase}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis strong{display:block;margin:6px 0 4px!important;font-size:29px!important;line-height:1!important;font-weight:650!important;color:var(--mapa-r6-ink)!important}

/* -------------------------------------------------------------------------
   Tables — flat data grid instead of boxed Classic tables
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-table-scroll,.mapa-training-table-wrap,.mapa-staff-table-wrap,.mapa-recruitment-table-wrap,.mapa-comm-delivery-table-wrap,.mapa-consent-report-table-wrap,.mapa-faq-table-wrap){border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat,.mapa-finance-table,.mapa-management-capacity-table,.mapa-event-table,.mapa-attendance-roster-table,.mapa-comm-table,.mapa-audit-table,.mapa-legal-table){width:100%!important;border-collapse:collapse!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--mapa-r6-copy)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat,.mapa-finance-table,.mapa-management-capacity-table,.mapa-event-table,.mapa-attendance-roster-table,.mapa-comm-table,.mapa-audit-table,.mapa-legal-table) thead th{height:42px!important;padding:10px 12px!important;background:#f0f0ec!important;color:#55554f!important;border:0!important;border-bottom:1px solid #cfcfc8!important;font-size:10px!important;font-weight:680!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat,.mapa-finance-table,.mapa-management-capacity-table,.mapa-event-table,.mapa-attendance-roster-table,.mapa-comm-table,.mapa-audit-table,.mapa-legal-table) tbody td{min-height:48px!important;padding:11px 12px!important;background:#fff!important;color:#44443f!important;border:0!important;border-bottom:1px solid #e2e2dc!important;font-size:13px!important;font-weight:400!important;vertical-align:middle!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat,.mapa-finance-table,.mapa-management-capacity-table,.mapa-event-table,.mapa-attendance-roster-table,.mapa-comm-table,.mapa-audit-table,.mapa-legal-table) tbody tr:hover td{background:#fafaf7!important}

/* Dashboard capacity is a data table, not a collection of black buttons. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-table input[type=number]{width:76px!important;min-height:36px!important;padding:6px 8px!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-table .button{min-height:34px!important;padding:6px 10px!important;background:#fff!important;color:var(--mapa-r6-ink)!important;border:1px solid var(--mapa-r6-line-strong)!important;font-size:11px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-bar,
body.mapa-interface-modern.mapa-modern-management-view .mapa-capacity-bar{height:4px!important;background:#e4e4de!important;border-radius:0!important;overflow:hidden!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-capacity-bar>*,
body.mapa-interface-modern.mapa-modern-management-view .mapa-capacity-bar>*{height:100%!important;background:var(--mapa-r6-red)!important;border-radius:0!important}

/* -------------------------------------------------------------------------
   Accordions, statuses, chips, notices
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app .mapa-record-accordion{border:0!important;border-bottom:1px solid var(--mapa-r6-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-record-summary{min-height:58px!important;padding:12px 10px!important;background:#fff!important;color:var(--mapa-r6-ink)!important;border:0!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-record-summary:hover{background:#f7f7f4!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-record-details{padding:20px!important;background:#fff!important;border:0!important;border-top:1px solid var(--mapa-r6-line)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-status,.mapa-event-status,.mapa-attendance-status,.mapa-attendance-pill,.mapa-comm-job-status,.mapa-document-status,.mapa-consent-report-status,.mapa-camp-status,.mapa-account-state,.mapa-event-type-badge){border-radius:0!important;box-shadow:none!important;font-size:10px!important;font-weight:650!important;padding:4px 7px!important;background:#f0f0ec!important;color:#565650!important;border:1px solid #d8d8d2!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.notice,.mapa-member-notice,.mapa-form-message){border-radius:0!important;box-shadow:none!important;background:#fff!important;border:0!important;border-left:3px solid #b9b9b2!important;color:var(--mapa-r6-copy)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.notice-error,.mapa-member-notice--error,.mapa-form-message--error){border-left-color:var(--mapa-r6-red)!important;background:#fff7f7!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.notice-success,.mapa-member-notice--success,.mapa-form-message--success){border-left-color:#2b7a49!important;background:#f5fbf7!important}

/* -------------------------------------------------------------------------
   Member pages: profile, notifications, calendar, messages, docs, players/news
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace{grid-template-columns:250px minmax(0,1fr)!important;background:var(--mapa-r6-bg)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs{background:#fff!important;border-right:1px solid var(--mapa-r6-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{background:var(--mapa-r6-bg)!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-profile-form,.mapa-notification-center,.mapa-calendar-agenda-panel,.mapa-member-compose,.mapa-document-report-shell,.mapa-member-player-card){background:#fff!important;border:0!important;border-top:1px solid var(--mapa-r6-line)!important;border-bottom:1px solid var(--mapa-r6-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{background:#f1f1ed!important;border:0!important;border-bottom:1px solid var(--mapa-r6-line)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload img{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-notification-summary,.mapa-document-kpis,.mapa-member-overview-grid){gap:0!important}

/* Communication wizard: eliminate Classic black step chips/cards. */
body.mapa-interface-modern.mapa-modern-portal-app .mapa-comm-wizard-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--mapa-r6-line)!important;border-bottom:1px solid var(--mapa-r6-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-comm-wizard-progress>*{min-height:54px!important;padding:11px 13px!important;background:#fff!important;color:#60605a!important;border:0!important;border-right:1px solid var(--mapa-r6-line)!important;border-radius:0!important;font-weight:560!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-comm-wizard-progress>*.is-active{background:#fff5f5!important;color:var(--mapa-r6-ink)!important;border-bottom:2px solid var(--mapa-r6-red)!important}

/* -------------------------------------------------------------------------
   Application footer should not dominate management/member views
   ------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app .mapa-modern-footer{margin-top:0!important;border-top:1px solid var(--mapa-r6-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-modern-footer__main{min-height:150px!important;padding-block:34px!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-modern-footer__bottom{min-height:42px!important;padding-block:12px!important}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media(max-width:1280px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*{border-bottom:1px solid var(--mapa-r6-line)!important}
}
@media(max-width:1040px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-workspace,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-tabs,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs{display:none!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{padding:24px 18px 52px!important}
}
@media(max-width:720px){
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis>*{min-height:90px!important;padding:14px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-management-kpis strong{font-size:25px!important}
  body.mapa-interface-modern.mapa-modern-portal-app .mapa-comm-wizard-progress{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat) thead th{font-size:9px!important}
  body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat) tbody td{font-size:12px!important}
}

/* -------------------------------------------------------------------------
   Resilient management fallback: the DOM root is authoritative as well.
   This makes the R6 visual system work even before/without body context class
   propagation, while the PHP fix above ensures the classes are correct too.
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-member-management-main{--mapa-r6-bg:#f7f7f4;--mapa-r6-surface:#fff;--mapa-r6-line:#deded8;--mapa-r6-line-strong:#bcbcb5;--mapa-r6-ink:#171714;--mapa-r6-copy:#4f4f49;--mapa-r6-red:#e30613;background:#f7f7f4!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-global-search{background:#fff!important;border-bottom:1px solid #deded8!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-global-search__field{background:#f1f1ed!important;border-radius:0!important;box-shadow:none!important;border:1px solid transparent!important;border-bottom-color:#bcbcb5!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-workspace{grid-template-columns:276px minmax(0,1fr)!important;background:#f7f7f4!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-tabs{background:#fff!important;border:0!important;border-right:1px solid #deded8!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-nav-link{border-radius:0!important;background:transparent!important;font-weight:560!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-nav-link.is-active{background:#f0f0ec!important;border-left:2px solid #e30613!important;color:#171714!important;font-weight:650!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-content{background:#f7f7f4!important;padding:30px clamp(26px,3vw,52px) 58px!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #deded8!important;border-bottom:1px solid #deded8!important;background:#fff!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-management-kpis>*{background:#fff!important;border:0!important;border-right:1px solid #deded8!important;border-radius:0!important;box-shadow:none!important;padding:17px 18px!important}
body.mapa-interface-modern .mapa-member-management-main :where(.mapa-admin-card,.mapa-admin-panel,.mapa-record-accordion,.mapa-record-summary,.mapa-record-details){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-admin-card{background:transparent!important;border:0!important;border-top:1px solid #deded8!important}
body.mapa-interface-modern .mapa-member-management-main .mapa-admin-card__head{background:transparent!important;border:0!important;border-bottom:1px solid #deded8!important}
body.mapa-interface-modern .mapa-member-management-main :where(table,.widefat){border-collapse:collapse!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
body.mapa-interface-modern .mapa-member-management-main :where(table,.widefat) th{background:#f0f0ec!important;border:0!important;border-bottom:1px solid #cfcfc8!important;color:#55554f!important;font-weight:650!important}
body.mapa-interface-modern .mapa-member-management-main :where(table,.widefat) td{background:#fff!important;border:0!important;border-bottom:1px solid #e2e2dc!important;color:#44443f!important;font-weight:400!important}
@media(max-width:1280px){body.mapa-interface-modern .mapa-member-management-main .mapa-management-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1040px){body.mapa-interface-modern .mapa-member-management-main .mapa-management-workspace{grid-template-columns:1fr!important}body.mapa-interface-modern .mapa-member-management-main .mapa-management-tabs{display:none!important}}
@media(max-width:720px){body.mapa-interface-modern .mapa-member-management-main .mapa-management-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* === bundled from assets/css/modern/modern-module-suite-r7.css === */
/* MAPA Modern v5.0.0 R7 — Full Module Modernization Pass
 * Loaded after R6 isolation. Focus: all module list/detail/form/report routes.
 * Modern contract: light-only, flat, square, no shadows, no Classic black surfaces.
 */
body.mapa-interface-modern.mapa-modern-portal-app{
  --mapa-r7-bg:#f7f7f4;
  --mapa-r7-surface:#fff;
  --mapa-r7-soft:#f1f1ed;
  --mapa-r7-line:#d9d9d2;
  --mapa-r7-line-strong:#b8b8b0;
  --mapa-r7-ink:#171714;
  --mapa-r7-copy:#505049;
  --mapa-r7-muted:#74746d;
  --mapa-r7-red:#e30613;
  --mapa-admin-bg:#f7f7f4;
  --mapa-admin-card:#fff;
  --mapa-admin-text:#171714;
  --mapa-admin-muted:#74746d;
  --mapa-admin-border:#d9d9d2;
  --mapa-line:#d9d9d2;
  --mapa-white:#171714;
  --mapa-muted:#74746d;
  --mapa-red:#e30613;
  --mapa-accent:#e30613;
}

/* --------------------------------------------------------------------------
   Cross-module hard reset for legacy visual patterns
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-workflow-summary article,.mapa-workflow-tabs,.mapa-workflow-toolbar,.mapa-workflow-row,
  .mapa-player-bulkbar,.mapa-player-toolbar,.mapa-record-summary,.mapa-record-details,
  .mapa-finance-family-help,.mapa-finance-family-summary,.mapa-finance-family-tariff,
  .mapa-membership-parent-section,.mapa-finance-settings-card,.mapa-finance-reliefs-card,.mapa-finance-sibling-groups-card,
  .mapa-consent-list-item,.mapa-consent-editor-card,.mapa-consent-report-card,
  .mapa-privacy-doc-editor,.mapa-privacy-version-history,.mapa-privacy-breach-list article,.mapa-admin-savebar,
  .mapa-member-filterbar,.mapa-document-filterbar,.mapa-member-message,.mapa-member-document,
  .mapa-document-builder,.mapa-document-builder-section,.mapa-document-report-card,.mapa-document-repository,
  .mapa-member-profile-panel,.mapa-member-notification-preferences,.mapa-member-appearance-preferences,
  .mapa-pwa-profile-card,.mapa-webpush-profile-card,.mapa-player-profile-hero,.mapa-player-profile-tabs,
  .mapa-player-profile-card-list article,.mapa-player-profile-event-list article,.mapa-player-profile-document-list article
){border-radius:0!important;box-shadow:none!important}

body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-workflow-summary article,.mapa-workflow-tabs,.mapa-workflow-toolbar,.mapa-workflow-row,
  .mapa-player-bulkbar,.mapa-player-toolbar,.mapa-record-summary,.mapa-record-details,
  .mapa-finance-family-help,.mapa-finance-family-summary,.mapa-finance-family-tariff,.mapa-membership-parent-section,
  .mapa-consent-list-item,.mapa-consent-editor-card,.mapa-consent-report-card,
  .mapa-privacy-doc-editor,.mapa-privacy-version-history,.mapa-privacy-breach-list article,
  .mapa-member-filterbar,.mapa-document-filterbar,.mapa-member-message,.mapa-member-document,
  .mapa-document-builder,.mapa-document-builder-section,.mapa-document-report-card,.mapa-document-repository,
  .mapa-member-profile-panel,.mapa-member-notification-preferences,.mapa-member-appearance-preferences,
  .mapa-pwa-profile-card,.mapa-player-profile-hero,.mapa-player-profile-tabs
){background:var(--mapa-r7-surface)!important;color:var(--mapa-r7-copy)!important}

body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-workflow-summary article,.mapa-workflow-toolbar,.mapa-workflow-row,.mapa-player-bulkbar,
  .mapa-consent-list-item,.mapa-document-builder-section,.mapa-member-message,.mapa-member-document,
  .mapa-player-profile-card-list article,.mapa-player-profile-event-list article,.mapa-player-profile-document-list article
){border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important}

/* Text that inherited white from Classic must always remain readable in Modern. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell,
  .mapa-players-admin,.mapa-player-editor-page,.mapa-player-profile-page,
  .mapa-membership-admin,.mapa-finance-v2,.mapa-consent-admin,.mapa-consent-report-page,
  .mapa-privacy-admin,.mapa-communication-admin,.mapa-member-communication-wizard,
  .mapa-documents-admin,.mapa-document-report-shell,.mapa-document-repository,
  .mapa-member-profile-panel
) :where(h1,h2,h3,h4,strong,b,legend,dt){color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell,
  .mapa-players-admin,.mapa-player-editor-page,.mapa-player-profile-page,
  .mapa-membership-admin,.mapa-finance-v2,.mapa-consent-admin,.mapa-consent-report-page,
  .mapa-privacy-admin,.mapa-communication-admin,.mapa-member-communication-wizard,
  .mapa-documents-admin,.mapa-document-report-shell,.mapa-document-repository,
  .mapa-member-profile-panel
) :where(p,small,span,dd,label){color:var(--mapa-r7-copy)!important}

/* --------------------------------------------------------------------------
   Workflow / Tasks — list, filters, add/edit and detail routes
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-manage-workflow :where(.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell){max-width:none!important;margin:0!important;padding:0!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0 0 26px!important;
  border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary article{
  min-height:96px!important;padding:16px 18px!important;border:0!important;border-right:1px solid var(--mapa-r7-line)!important;background:#fff!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary article:before{display:none!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary span{margin:0 0 6px!important;color:var(--mapa-r7-muted)!important;font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary strong{font-size:28px!important;font-weight:650!important;color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary small{margin-top:5px!important;color:var(--mapa-r7-muted)!important;font-size:11px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs{
  display:flex!important;gap:24px!important;margin:0 0 14px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs a{
  position:relative!important;padding:10px 0 12px!important;border:0!important;background:transparent!important;color:#666660!important;font-size:12px!important;font-weight:600!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs a:hover{color:var(--mapa-r7-ink)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs a.is-active{color:var(--mapa-r7-ink)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r7-red)}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs a span{min-width:18px!important;padding:1px 5px!important;background:var(--mapa-r7-soft)!important;color:#55554f!important;border:0!important;border-radius:0!important;font-size:10px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar{
  grid-template-columns:minmax(280px,1fr) minmax(150px,190px) minmax(150px,190px) auto auto!important;gap:10px!important;margin:0 0 20px!important;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar label>span{color:var(--mapa-r7-muted)!important;font-size:10px!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-list{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row{
  grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important;transition:background .15s ease!important
}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row:hover{transform:none!important;background:#fafaf7!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row.is-overdue{border-left:3px solid var(--mapa-r7-red)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row__main{padding:16px 14px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row__main h3{font-size:16px!important;font-weight:650!important;color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row__meta,
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row__relations{color:var(--mapa-r7-muted)!important;font-size:12px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow :where(.mapa-workflow-status,.mapa-workflow-priority,.mapa-workflow-escalated){min-height:20px!important;padding:2px 6px!important;border-radius:0!important;border:1px solid var(--mapa-r7-line)!important;background:#f3f3ef!important;color:#55554f!important;font-size:9px!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-priority--urgent,
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-escalated{border-color:#f1a7ac!important;background:#fff1f2!important;color:#a10b14!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-empty--large{padding:54px 20px!important;border:1px dashed var(--mapa-r7-line-strong)!important;border-radius:0!important;background:#fff!important}

/* Workflow add/edit/detail */
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-form{border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-form__grid{padding:22px 0!important;gap:20px 28px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-relations{padding:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-relations summary{padding:16px 0!important;color:var(--mapa-r7-ink)!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-form__actions{padding:16px 0!important;border-top:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-detail-layout{gap:26px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-detail-main,
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-detail-side{gap:24px!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-card-body{padding:18px 0!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-comment-form{padding:16px 0!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-comments article{padding:14px 0!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-link-list{padding:0!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-link-list a{padding:9px 0!important;border-radius:0!important;color:var(--mapa-r7-ink)!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-link-list a:hover{background:transparent!important;color:var(--mapa-r7-red)!important}

/* --------------------------------------------------------------------------
   Players — list, bulk operations, add/edit, import and profile routes
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-manage-players :where(.mapa-players-admin,.mapa-player-editor-page,.mapa-player-profile-page){max-width:none!important}
body.mapa-interface-modern.mapa-modern-manage-players :where(.mapa-player-toolbar,.mapa-scale-toolbar){padding:12px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-bulk-form{border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-bulkbar{padding:10px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-list--players{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-record{border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-record .mapa-record-summary{min-height:66px!important;padding:10px 12px!important;background:#fff!important;border:0!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-record .mapa-record-summary:hover{background:#fafaf7!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-summary__identity strong{font-size:14px!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-summary__identity span,
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-summary__meta{font-size:11px!important;color:var(--mapa-r7-muted)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-details{padding:18px 12px!important;background:#fafaf7!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-editor-form{background:#fff!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-editor-body{padding:22px 0!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-editor-grid{gap:22px 28px!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-photo-editor{background:var(--mapa-r7-soft)!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-photo-editor__preview{border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-duplicate-check{border:0!important;border-left:2px solid #d8a300!important;border-radius:0!important;background:#fffbea!important;box-shadow:none!important}

/* Player profile is a content page, not a floating card. */
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-hero{
  grid-template-columns:auto minmax(0,1fr) auto!important;margin:0 0 20px!important;padding:0 0 20px!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line-strong)!important;background:transparent!important
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-avatar{border-radius:0!important;border:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-tabs{gap:22px!important;margin:0 0 24px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-tabs a{min-width:auto!important;padding:10px 0 12px!important;border-radius:0!important;background:transparent!important;color:#666660!important;font-weight:600!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-tabs a.is-active{background:transparent!important;color:var(--mapa-r7-ink)!important;border-bottom:2px solid var(--mapa-r7-red)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-stats{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-stats article{padding:14px 16px!important;border:0!important;border-right:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-card-list,
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-event-list,
body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-document-list{gap:0!important;padding:0!important}
body.mapa-interface-modern.mapa-modern-manage-players :where(.mapa-player-profile-card-list,.mapa-player-profile-event-list,.mapa-player-profile-document-list) article{padding:13px 0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-profile-card-icon{border-radius:0!important;background:#fff1f2!important}

/* --------------------------------------------------------------------------
   Finance / Membership — settings, family tariff, reliefs and register
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-manage-membership :where(.mapa-membership-admin,.mapa-finance-v2){max-width:none!important}
body.mapa-interface-modern.mapa-modern-manage-membership :where(.mapa-membership-stats,.mapa-finance-kpis){gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-membership :where(.mapa-membership-stats,.mapa-finance-kpis)>*{border:0!important;border-right:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-settings-card,
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-reliefs-card,
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-sibling-groups-card{padding:0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-family-help,
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-family-tariff{
  margin:14px 0!important;padding:12px 14px!important;border:0!important;border-left:2px solid var(--mapa-r7-red)!important;background:#fff5f5!important;color:var(--mapa-r7-copy)!important
}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-family-toggle,
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-legacy-discounts summary{
  padding:12px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important;color:var(--mapa-r7-ink)!important;border-radius:0!important
}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-month-grid{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-left:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-month-check{min-height:44px!important;padding:9px 10px!important;border:0!important;border-right:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-sibling-row,
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-relief-list>*{border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-membership .mapa-finance-register-wrap{border-top:1px solid var(--mapa-r7-line)!important}

/* --------------------------------------------------------------------------
   Consents — list, add/edit and confirmation report routes
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-card{border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list{gap:0!important;padding:0!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-item{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;padding:18px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important
}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-item.is-archived{opacity:.62!important;background:#fafaf7!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-stats{gap:18px!important;color:var(--mapa-r7-muted)!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-progress{height:3px!important;background:#e5e5df!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-progress span{background:var(--mapa-r7-red)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-editor-card{padding:0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-form{padding:22px 0!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-scope-box{padding:16px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-scope-grid{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-left:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-scope-grid label{padding:9px 10px!important;border:0!important;border-right:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-report-card{padding:0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-report-filters{padding:12px 0!important;border-bottom:1px solid var(--mapa-r7-line)!important}

/* --------------------------------------------------------------------------
   Privacy / GDPR — document editors, cookie settings, requests and breaches
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-admin{max-width:none!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-stats{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-stats>*{padding:14px 18px!important;border:0!important;border-right:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-documents{display:grid!important;gap:0!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-doc-editor{padding:0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-doc-editor>summary{padding:14px 0!important;background:transparent!important;color:var(--mapa-r7-ink)!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-doc-fields{padding:18px 0!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-version-history{padding:10px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-admin-savebar{
  position:static!important;margin:26px 0!important;padding:12px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line-strong)!important;border-bottom:1px solid var(--mapa-r7-line-strong)!important;background:#fff!important;color:var(--mapa-r7-copy)!important
}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-admin-savebar>span{color:var(--mapa-r7-muted)!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-breach-grid{gap:30px!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-breach-grid>form{padding:0 26px 0 0!important;border-right:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-breach-list article{padding:14px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}

/* --------------------------------------------------------------------------
   Messages / Communication — compose wizard, history/detail and filter tabs
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-compose,.mapa-member-communication-wizard){border:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-compose{padding:22px 0!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-recipient-groups,.mapa-recipient-direct,.mapa-recipient-builder,.mapa-recipient-smart){border:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-check-card{border:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-check-card:has(input:checked){border-color:#ef9aa0!important;background:#fff5f5!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar{
  display:flex!important;flex-wrap:wrap!important;gap:22px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar a{
  position:relative!important;display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:38px!important;padding:8px 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#696963!important;font-weight:600!important
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar a:hover{background:transparent!important;color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar a.is-active{background:transparent!important;color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r7-red)}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-filterbar a span{min-width:18px!important;padding:1px 5px!important;background:var(--mapa-r7-soft)!important;color:#55554f!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-messages{border:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-message{padding:18px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-delivery-summary{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-delivery-summary>*{padding:12px 16px!important;border-right:1px solid var(--mapa-r7-line)!important;background:#fff!important;border-radius:0!important}

/* --------------------------------------------------------------------------
   Documents — list, add/edit builder, detail/report and repository routes
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-filterbar{
  display:flex!important;flex-wrap:wrap!important;gap:22px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-filterbar a{position:relative!important;padding:9px 0 11px!important;border:0!important;background:transparent!important;color:#696963!important;border-radius:0!important;font-weight:600!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-filterbar a.is-active{color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-filterbar a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r7-red)}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-documents{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document{padding:18px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-builder{padding:0!important;border:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-builder-head{padding:0 0 18px!important;border-bottom:1px solid var(--mapa-r7-line-strong)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-builder-grid{gap:28px!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-builder-section{padding:18px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-shell{padding:0!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-card{padding:0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-repository{padding:0!important;border:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-repository__toolbar{padding:12px 0!important;border-bottom:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-repository__address{border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:var(--mapa-r7-soft)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-repository__grid{gap:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-left:1px solid var(--mapa-r7-line)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-repo-entry{border:0!important;border-right:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}

/* --------------------------------------------------------------------------
   My Profile — form, preferences, PWA and Web Push
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-panel{border:0!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-form{padding:0!important;border:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:18px!important;padding:18px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:#fff!important
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload img{border-radius:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-form-grid{padding:22px 0!important;gap:20px 28px!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){margin:0!important;padding:20px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences) legend{padding:0!important;margin:0 0 8px!important;font-size:14px!important;font-weight:650!important;color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>p{max-width:840px!important;margin:0 0 12px!important;color:var(--mapa-r7-muted)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label{
  display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;margin:0!important;padding:10px 0!important;border-bottom:1px solid #ecece7!important;color:var(--mapa-r7-copy)!important;opacity:1!important
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label:last-of-type{border-bottom:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label span{color:var(--mapa-r7-copy)!important;font-weight:500!important;opacity:1!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label small{color:var(--mapa-r7-muted)!important;font-weight:400!important;opacity:1!important}
body.mapa-interface-modern.mapa-modern-member-view :where(input,select,textarea):disabled{opacity:1!important;background:#f0f0ec!important;color:#666660!important;-webkit-text-fill-color:#666660!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-pwa-profile-card,
body.mapa-interface-modern.mapa-modern-member-view .mapa-webpush-profile-card{margin-top:24px!important;padding:20px 0!important;border:0!important;border-top:1px solid var(--mapa-r7-line)!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-security-grid>*,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-security-grid--v2>*{border-radius:0!important;box-shadow:none!important}

/* --------------------------------------------------------------------------
   Generic linked forms / detail pages from remaining management modules
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-editor-page,.mapa-manager-editor-page,.mapa-admin-editor-page){max-width:none!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-identity-form-grid,.mapa-member-form-grid,.mapa-admin-fields){gap:20px 28px!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-identity-form-actions,.mapa-finance-form-actions,.mapa-table-actions,.mapa-row-actions){gap:8px!important}
body.mapa-interface-modern.mapa-modern-management-view :where(details,summary){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-management-view details>summary{color:var(--mapa-r7-ink)!important;background:transparent!important}

/* Checkboxes/radios remain normal controls instead of inheriting full-width fields. */
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=checkbox],input[type=radio]){width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:2px 0!important;padding:0!important;box-shadow:none!important}

/* --------------------------------------------------------------------------
   Responsive routes
   -------------------------------------------------------------------------- */
@media(max-width:1050px){
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar label:first-child{grid-column:1/-1!important}
  body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-breach-grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-manage-privacy .mapa-privacy-breach-grid>form{padding-right:0!important;border-right:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;padding-bottom:24px!important}
}
@media(max-width:760px){
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-tabs,
  body.mapa-interface-modern.mapa-modern-manage-players .mapa-player-profile-tabs,
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar){gap:16px!important;overflow-x:auto!important;flex-wrap:nowrap!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-toolbar label:first-child{grid-column:auto!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-row__actions{padding:0 14px 14px!important}
  body.mapa-interface-modern.mapa-modern-manage-consents .mapa-consent-list-item{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern.mapa-modern-manage-workflow .mapa-workflow-summary article{min-height:82px!important;padding:12px!important}
}

/* R7 late fixes found while following player-list drill-down paths. */
body.mapa-interface-modern.mapa-modern-manage-players .mapa-scale-quickviews{display:flex!important;flex-wrap:wrap!important;gap:20px!important;padding:0!important;margin:0 0 12px!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:transparent!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-scale-quickviews a{position:relative!important;padding:9px 0 11px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#686862!important;font-weight:600!important;text-decoration:none!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-scale-quickviews a.is-active{color:var(--mapa-r7-ink)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-scale-quickviews a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r7-red)}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-bulk-select-all{min-height:42px!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--mapa-r7-line)!important;background:var(--mapa-r7-soft)!important;color:var(--mapa-r7-copy)!important}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-bulk-select-all label{display:inline-flex!important;align-items:center!important;gap:9px!important;color:var(--mapa-r7-copy)!important;font-weight:500!important}

/* === bundled from assets/css/modern/modern-consistency-r8.css === */
/* MAPA Modern v5.0.0 R8 — Modern Consistency & Regression Fix
 * Final scope layer after R7. Public, member and management views are kept
 * separate so app-specific primitives cannot leak onto public pages.
 */

/* ========================================================================== 
   Public site — homepage events, news media and public calendar
   ========================================================================== */
body.mapa-interface-modern.mapa-front-page .mapa-section--events{
  background:#fff!important;
  overflow:visible!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-section--events::before{
  display:none!important;
  content:none!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-section--events .mapa-section-head{
  align-items:end!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-events-calendar-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:8px 0!important;
  border:0!important;
  background:transparent!important;
  color:#171714!important;
  font-size:13px!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-events-calendar-link:hover,
body.mapa-interface-modern.mapa-front-page .mapa-events-calendar-link:focus-visible{
  color:#e30613!important;
  text-decoration:underline!important;
  text-underline-offset:5px!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-section--events .mapa-empty{
  margin:0!important;
  padding:34px 0!important;
  border:0!important;
  border-top:1px solid #deded8!important;
  border-bottom:1px solid #deded8!important;
  background:#fff!important;
  color:#55554f!important;
  text-align:left!important;
}
body.mapa-interface-modern.mapa-front-page .mapa-section--events .mapa-empty strong{color:#171714!important}

/* Editorial images never reveal Classic's black media mat. */
body.mapa-interface-modern :where(.mapa-news-row__media,.mapa-featured-news__media,.mapa-post-card__image){
  background:#fff!important;
  border-color:#deded8!important;
}
body.mapa-interface-modern :where(.mapa-news-row__media,.mapa-featured-news__media)::after{
  display:none!important;
  content:none!important;
  box-shadow:none!important;
}
body.mapa-interface-modern :where(.mapa-news-row__image,.mapa-featured-news__media img,.mapa-post-card__image img){
  background:#fff!important;
}
body.mapa-interface-modern .mapa-news-row{
  background:#fff!important;
  border-color:#deded8!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-news-row:hover{transform:none!important;box-shadow:none!important;border-color:#c9c9c2!important}

/* Public calendar must never inherit the black app-calendar weekday bar. */
body.mapa-interface-modern:not(.mapa-modern-portal-app) .mapa-calendar-weekdays,
body.mapa-interface-modern .mapa-calendar-section .mapa-calendar-weekdays{
  background:#f2f2ee!important;
  color:#343430!important;
  border:1px solid #d7d7d1!important;
}
body.mapa-interface-modern:not(.mapa-modern-portal-app) .mapa-calendar-weekdays>*,
body.mapa-interface-modern .mapa-calendar-section .mapa-calendar-weekdays>*{
  color:#4f4f49!important;
  background:transparent!important;
  border-color:#d7d7d1!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.07em!important;
}
body.mapa-interface-modern .mapa-calendar-section .mapa-calendar-grid{background:#d7d7d1!important;gap:1px!important;border:1px solid #d7d7d1!important}
body.mapa-interface-modern .mapa-calendar-section .mapa-calendar-day{background:#fff!important;color:#171714!important;border:0!important}
body.mapa-interface-modern .mapa-calendar-section .mapa-calendar-day.is-empty{background:#fafaf8!important}

/* ========================================================================== 
   Member portal — keep the good Modern dashboard and remove technical greys
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-portal-main,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs{background:#fbfbf9!important}

/* User home KPI tiles: white, editorial and clearly separated — never grey. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-dashboard-grid{
  gap:0!important;
  background:#fff!important;
  border-top:1px solid #d9d9d2!important;
  border-bottom:1px solid #d9d9d2!important;
  border-left:0!important;
  border-right:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card{
  position:relative!important;
  min-height:142px!important;
  padding:20px 22px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #d9d9d2!important;
  border-left:0!important;
  color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home a.mapa-member-stat-card:hover{
  background:#fff7f7!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card>span{color:#777770!important;font-size:10px!important;font-weight:700!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card>strong{color:#171714!important;font-size:34px!important;font-weight:650!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card>small{color:#666660!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card--action::after{
  content:""!important;position:absolute!important;left:22px!important;bottom:0!important;width:34px!important;height:2px!important;background:#e30613!important;
}

body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-overview-block,.mapa-member-group-card,.mapa-member-panel){
  background:#fff!important;
  border-color:#deded8!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-groups-grid{
  gap:0!important;
  border-top:1px solid #deded8!important;
  border-left:1px solid #deded8!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-group-card{
  border:0!important;
  border-right:1px solid #deded8!important;
  border-bottom:1px solid #deded8!important;
  padding:20px!important;
}

/* Profile — deliberately white and light; no R4 technical-grey header block. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-panel{
  background:#fff!important;border:0!important;padding:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-form{
  background:#fff!important;border:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:20px!important;
  padding:20px 0!important;
  background:#fff!important;
  border:0!important;
  border-top:1px solid #deded8!important;
  border-bottom:1px solid #deded8!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload img{
  width:72px!important;height:72px!important;background:#fff!important;border:1px solid #d2d2cc!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload input[type=file]{
  background:#fff!important;border:1px solid #c8c8c1!important;color:#171714!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-form-grid{
  padding:22px 0!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){
  padding:22px 0!important;
  background:#fff!important;
  border:0!important;
  border-top:1px solid #deded8!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label{
  background:#fff!important;color:#454540!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-form>.mapa-button{
  margin:22px 0 26px!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-pwa-profile-card,.mapa-webpush-profile-card){
  background:#fff!important;
  border:0!important;
  border-top:1px solid #deded8!important;
  margin-top:18px!important;
  padding:22px 0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-webpush-preferences{
  background:#fff!important;border-top:1px solid #deded8!important;
}

/* Consistent custom check/radio controls in all portal modules. */
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=checkbox],input[type=radio]){
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-grid!important;
  place-content:center!important;
  width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
  margin:2px 0!important;padding:0!important;
  border:1px solid #a9a9a2!important;
  background:#fff!important;
  box-shadow:none!important;
  vertical-align:middle!important;
}
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]{border-radius:50%!important}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox]{border-radius:0!important}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox]:checked,
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]:checked{
  border-color:#e30613!important;background:#e30613!important;
}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox]:checked::after{
  content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg);
}
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]:checked::after{
  content:"";width:7px;height:7px;border-radius:50%;background:#fff;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=checkbox],input[type=radio]):focus-visible{
  outline:2px solid rgba(227,6,19,.25)!important;outline-offset:2px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=checkbox],input[type=radio]):disabled{
  background:#f1f1ed!important;border-color:#c9c9c2!important;opacity:1!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=checkbox],input[type=radio]):checked:disabled{
  background:#b5b5ae!important;border-color:#b5b5ae!important;
}

/* Messages / Documents tab bars — never black pills. */
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar){
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:22px!important;
  padding:0!important;margin:0 0 18px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #d9d9d2!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar)>a{
  position:relative!important;display:inline-flex!important;align-items:center!important;gap:7px!important;
  min-height:40px!important;padding:8px 0 10px!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  color:#65655f!important;font-weight:600!important;text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar)>a.is-active{
  color:#171714!important;background:transparent!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar)>a.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#e30613;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-filterbar,.mapa-document-filterbar)>a>span{
  display:inline-grid!important;place-items:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;
  background:#f1f1ed!important;color:#55554f!important;border:0!important;border-radius:0!important;font-size:10px!important;
}

/* Content rows stay white and square. */
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-message,.mapa-member-document){
  background:#fff!important;border:0!important;border-bottom:1px solid #deded8!important;border-radius:0!important;
}

/* ========================================================================== 
   Management — protect the R6/R7 dashboard success while normalising controls
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-management-view .mapa-management-content{background:#fff!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-status,.mapa-account-state,.mapa-document-status,.mapa-member-ack-state){border-radius:0!important;box-shadow:none!important}

@media(max-width:900px){
  body.mapa-interface-modern.mapa-front-page .mapa-section--events .mapa-section-head{align-items:start!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card:nth-child(2n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){grid-template-columns:1fr!important;gap:10px!important}
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences) legend,
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>p,
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences)>label,
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences) .mapa-member-notification-hint{grid-column:1!important}
}
@media(max-width:560px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-dashboard-grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-stat-card{border-right:0!important;border-bottom:1px solid #deded8!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{grid-template-columns:1fr!important}
}

/* === bundled from assets/css/modern/modern-consistency-r9.css === */
/* MAPA Modern v5.0.0 R9 — Strefa MAPA consistency & deep-route polish
 * Loaded last in Modern. Keeps public/member/management surfaces isolated.
 */

:root{
  --mapa-r9-ink:#171714;
  --mapa-r9-copy:#3f3f3a;
  --mapa-r9-muted:#72726b;
  --mapa-r9-line:#deded8;
  --mapa-r9-line-strong:#c9c9c2;
  --mapa-r9-soft:#f6f6f2;
  --mapa-r9-soft-red:#fff4f4;
  --mapa-r9-red:#e30613;
  --mapa-r9-green:#198754;
}

/* ========================================================================== 
   MEMBER APP — common form primitives and controls
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],input[type=time],input[type=datetime-local],input[type=number],select,textarea){
  border:1px solid var(--mapa-r9-line-strong)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mapa-r9-ink)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(input,select){min-height:42px!important}
body.mapa-interface-modern.mapa-modern-member-view textarea{min-height:110px!important}
body.mapa-interface-modern.mapa-modern-member-view :where(input,select,textarea):focus{
  border-color:var(--mapa-r9-red)!important;
  outline:2px solid color-mix(in srgb,var(--mapa-r9-red) 18%,transparent)!important;
  outline-offset:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-button,.button,button.mapa-button){
  border-radius:0!important;
  box-shadow:none!important;
}

/* ========================================================================== 
   MESSAGES — stepper, wizard actions and history tabs
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:18px 0 24px!important;
  border:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:12px!important;
  row-gap:2px!important;
  align-items:center!important;
  min-height:70px!important;
  padding:12px 16px!important;
  border:0!important;
  border-right:1px solid var(--mapa-r9-line)!important;
  border-bottom:2px solid transparent!important;
  background:#fff!important;
  color:var(--mapa-r9-ink)!important;
  text-align:left!important;
  font-weight:500!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button>span{
  grid-row:1/3!important;
  display:grid!important;
  place-items:center!important;
  width:30px!important;height:30px!important;
  border:1px solid var(--mapa-r9-line-strong)!important;
  background:#fff!important;
  color:var(--mapa-r9-muted)!important;
  font-size:12px!important;font-weight:700!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button>b{
  display:block!important;
  min-width:0!important;
  color:var(--mapa-r9-ink)!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button>small{
  display:block!important;
  min-width:0!important;
  color:var(--mapa-r9-muted)!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:400!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button.is-active{
  background:var(--mapa-r9-soft-red)!important;
  border-bottom-color:var(--mapa-r9-red)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button.is-active>span{
  border-color:var(--mapa-r9-red)!important;
  background:var(--mapa-r9-red)!important;
  color:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-top:24px!important;
  padding-top:18px!important;
  border-top:1px solid var(--mapa-r9-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions__right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions [data-mapa-comm-wizard-status],
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions [data-mapa-wizard-status]{
  display:inline-flex!important;
  align-items:center!important;
  min-height:44px!important;
  margin-right:4px!important;
  color:var(--mapa-r9-muted)!important;
  font-size:12px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-wizard-next,[data-mapa-comm-wizard-submit],.mapa-wizard-submit){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:178px!important;
  min-height:44px!important;
  padding:0 18px!important;
  border:1px solid var(--mapa-r9-red)!important;
  border-radius:0!important;
  background:var(--mapa-r9-red)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-back{
  min-height:44px!important;
  padding:0 16px!important;
  border:1px solid var(--mapa-r9-line-strong)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mapa-r9-ink)!important;
  font-weight:650!important;
}

/* ========================================================================== 
   NOTIFICATION CENTER — reuse the visual language of user-home KPI tiles
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:0!important;
  margin:20px 0 18px!important;
  border-top:1px solid var(--mapa-r9-line)!important;
  border-bottom:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:136px!important;
  padding:18px 20px!important;
  border:0!important;
  border-right:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
  color:var(--mapa-r9-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article::after{
  content:""!important;
  position:absolute!important;
  left:20px!important;bottom:0!important;
  width:34px!important;height:2px!important;
  background:var(--mapa-r9-red)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary span{
  color:var(--mapa-r9-muted)!important;
  font-size:10px!important;font-weight:700!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary strong{
  margin:7px 0 5px!important;
  color:var(--mapa-r9-ink)!important;
  font-size:32px!important;line-height:1!important;font-weight:650!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary small{color:#666660!important;font-size:11px!important;line-height:1.4!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-center{
  border:0!important;
  background:#fff!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:22px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:42px!important;
  padding:8px 0 11px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#666660!important;
  font-size:12px!important;font-weight:650!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button span{
  display:inline-grid!important;place-items:center!important;
  min-width:20px!important;height:20px!important;padding:0 5px!important;
  border:1px solid var(--mapa-r9-line)!important;
  background:var(--mapa-r9-soft)!important;color:#666660!important;
  font-size:10px!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button.is-active{
  color:var(--mapa-r9-ink)!important;background:transparent!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button.is-active::after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:-1px!important;height:2px!important;background:var(--mapa-r9-red)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-list{border:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-item{
  border:0!important;border-bottom:1px solid var(--mapa-r9-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
}

/* ========================================================================== 
   MEMBER CALENDAR 2.0 — light weekday header + aligned filter fields
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-weekdays{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  background:#f2f2ee!important;
  border:1px solid var(--mapa-r9-line)!important;
  color:var(--mapa-r9-copy)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-weekdays>span{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:38px!important;
  border-right:1px solid var(--mapa-r9-line)!important;
  background:#f2f2ee!important;
  color:#55554f!important;
  font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-weekdays>span:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters{
  display:grid!important;
  grid-template-columns:minmax(260px,1.4fr) minmax(220px,1fr) auto!important;
  gap:14px!important;
  align-items:end!important;
  padding:18px 0!important;
  border:0!important;
  border-top:1px solid var(--mapa-r9-line)!important;
  border-bottom:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>label{
  display:grid!important;
  grid-template-rows:18px 42px!important;
  gap:6px!important;
  align-items:end!important;
  min-width:0!important;
  color:var(--mapa-r9-copy)!important;
  font-size:11px!important;font-weight:650!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>label :where(select,.mapa-people-picker){height:42px!important;min-height:42px!important;margin:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>.mapa-button{height:42px!important;min-height:42px!important;margin:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-item{
  background:var(--mapa-r9-soft)!important;color:var(--mapa-r9-ink)!important;border:0!important;border-left:2px solid #bdbdb6!important;border-radius:0!important;
}

/* ========================================================================== 
   DOCUMENTS — give list content breathing room inside the outer rule
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-documents{
  display:grid!important;
  gap:0!important;
  margin-top:16px!important;
  padding:0 18px!important;
  border:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document{
  padding:20px 0!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r9-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document:last-child{border-bottom:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document-actions{gap:8px!important;margin-top:14px!important;flex-wrap:wrap!important}

/* ========================================================================== 
   MANAGEMENT — staffing filters, event editor, partner options, manager tips
   ========================================================================== */
body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{
  display:grid!important;
  grid-template-columns:150px 150px minmax(200px,1.15fr) minmax(200px,1fr) minmax(180px,.9fr) auto!important;
  gap:12px!important;
  align-items:end!important;
  padding:16px 0!important;
  background:#fff!important;
  border:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters>label{
  display:grid!important;grid-template-rows:18px 42px!important;gap:6px!important;min-width:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters :where(input,select,.mapa-people-picker){width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters>.button{min-height:42px!important;margin:0!important}

body.mapa-interface-modern.mapa-modern-management-view .mapa-event-editor{
  border:0!important;border-top:1px solid var(--mapa-r9-line)!important;background:#fff!important;padding:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form{padding:18px 0 0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form-grid{gap:18px 22px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form :where(input[type=text],input[type=url],input[type=date],input[type=time],input[type=datetime-local],input[type=number],select,textarea){
  background:#fff!important;color:var(--mapa-r9-ink)!important;border:1px solid var(--mapa-r9-line-strong)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form :where(input,select){min-height:42px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form textarea{min-height:108px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-image-preview{background:#f5f5f2!important;border:1px solid var(--mapa-r9-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form .mapa-check-card{background:#fff!important;border:1px solid var(--mapa-r9-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form .mapa-check-card:has(input:checked){background:var(--mapa-r9-soft-red)!important;border-color:#ef9aa0!important}

body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  column-gap:10px!important;row-gap:3px!important;
  align-items:start!important;
  padding:14px 0!important;
  border:0!important;border-top:1px solid var(--mapa-r9-line)!important;border-radius:0!important;background:#fff!important;color:var(--mapa-r9-ink)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label>input{grid-row:1/3!important;margin-top:2px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label>span{display:grid!important;gap:3px!important;min-width:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label strong{font-size:13px!important;font-weight:700!important;color:var(--mapa-r9-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label small{font-size:11px!important;font-weight:400!important;line-height:1.45!important;color:var(--mapa-r9-muted)!important}

/* Manager heading tips must remain readable even when explanatory copy is long. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side:has(.mapa-manager-tip){
  min-width:min(520px,46vw)!important;
  max-width:620px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{
  display:grid!important;
  grid-template-columns:minmax(135px,auto) minmax(250px,1fr)!important;
  gap:8px 18px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
  padding:14px 0 14px 18px!important;
  border:0!important;border-left:2px solid var(--mapa-r9-red)!important;
  background:#fff!important;
  color:var(--mapa-r9-copy)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>.dashicons{display:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>strong{
  grid-column:1!important;
  margin:0!important;
  color:var(--mapa-r9-ink)!important;
  font-size:14px!important;font-weight:700!important;line-height:1.35!important;
  overflow-wrap:normal!important;word-break:normal!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>span:last-child{
  grid-column:2!important;
  margin:0!important;
  color:var(--mapa-r9-muted)!important;
  font-size:11px!important;font-weight:400!important;line-height:1.5!important;
  overflow-wrap:anywhere!important;
}

/* Generic management forms: never regress to black legacy fields. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],input[type=time],input[type=datetime-local],input[type=number],select,textarea){
  background:#fff!important;color:var(--mapa-r9-ink)!important;border-color:var(--mapa-r9-line-strong)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(input,select){min-height:40px!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell input[type=checkbox],
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell input[type=radio]{
  width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
}

/* ========================================================================== 
   RESPONSIVE
   ========================================================================== */
@media(max-width:1200px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article:nth-child(3){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters>.button{align-self:end!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side:has(.mapa-manager-tip){min-width:360px!important;max-width:480px!important}
}
@media(max-width:900px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button:nth-child(2){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>.mapa-button{grid-column:1/-1!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side:has(.mapa-manager-tip){min-width:0!important;max-width:none!important;width:100%!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>strong,
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>span:last-child{grid-column:1!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options{grid-template-columns:1fr!important}
}
@media(max-width:680px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article{min-height:116px!important;border-right:1px solid var(--mapa-r9-line)!important;border-bottom:1px solid var(--mapa-r9-line)!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article:nth-child(2n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions__right{align-items:stretch!important;flex-direction:column!important;width:100%!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions [data-mapa-comm-wizard-status],
  body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions [data-mapa-wizard-status]{justify-content:center!important;margin:0!important}
  body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-wizard-next,[data-mapa-comm-wizard-submit],.mapa-wizard-submit,.mapa-wizard-back){width:100%!important;min-width:0!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-documents{padding:0 14px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{grid-template-columns:1fr!important}
}

/* === bundled from assets/css/modern/modern-consistency-r10.css === */
/* MAPA Modern v5.0.0 R10 — full consistency & spacing audit
 * Final frontend layer. Modern only. Classic remains untouched.
 */
:root{
  --mapa-r10-red:#e30613;
  --mapa-r10-red-soft:#fff5f5;
  --mapa-r10-ink:#151513;
  --mapa-r10-copy:#3f3f3a;
  --mapa-r10-muted:#707069;
  --mapa-r10-line:#deded8;
  --mapa-r10-line-strong:#c8c8c1;
  --mapa-r10-white:#fff;
  --mapa-r10-success:#167743;
  --mapa-r10-warning:#8a5a00;
  --mapa-r10-danger:#b10d17;
}

/* --------------------------------------------------------------------------
   Global Modern reset: white surfaces, flat geometry, consistent typography
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-portal-app,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-member-portal-main,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-member-workspace,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-management-workspace,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-member-workspace__content,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-management-content{
  background:var(--mapa-r10-white)!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-member-tabs,.mapa-management-tabs){background:#fff!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-member-section,.mapa-management-content section){background:transparent!important}

/* Do not let old card skins return through nested routes. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-member-panel,.mapa-member-overview-block,.mapa-member-stat-card,.mapa-member-group-card,
  .mapa-member-event-card,.mapa-member-message,.mapa-member-document,.mapa-member-compose,
  .mapa-member-filterbar,.mapa-member-player-card,.mapa-notification-center,.mapa-notification-item,
  .mapa-admin-card,.mapa-manager-card,.mapa-record-accordion,.mapa-record-details,.mapa-check-card,
  .mapa-document-builder,.mapa-document-builder-section,.mapa-document-report-shell,
  .mapa-calendar-agenda-panel,.mapa-calendar-break-manager,.mapa-calendar-filters,
  .mapa-pwa-profile-card,.mapa-webpush-profile-card,.mapa-member-profile-form
){
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}

/* Text inputs only. Checkbox/radio are deliberately excluded. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],
  input[type=date],input[type=time],input[type=datetime-local],input[type=number],input[type=password],
  input[type=file],select,textarea
){
  min-height:42px!important;
  border:1px solid var(--mapa-r10-line-strong)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mapa-r10-ink)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app textarea{min-height:108px!important;line-height:1.55!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(
  input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],
  input[type=time],input[type=datetime-local],input[type=number],input[type=password],select,textarea
):focus{
  border-color:var(--mapa-r10-red)!important;
  outline:2px solid rgba(227,6,19,.13)!important;
  outline-offset:0!important;
}

/* One checkbox/radio contract for every Modern route. Fixes 42px/high controls. */
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox],
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  display:inline-block!important;
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  margin:2px 0!important;
  padding:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  vertical-align:middle!important;
  accent-color:var(--mapa-r10-red)!important;
}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox]:focus-visible,
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]:focus-visible{
  outline:2px solid rgba(227,6,19,.3)!important;
  outline-offset:2px!important;
}

/* Buttons: flat and consistent. */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-button,.button,button,input[type=submit]){
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-button,.button):not(.button-primary):not(.mapa-button--primary):not(.mapa-button-danger){
  background:#fff!important;
  color:var(--mapa-r10-ink)!important;
  border-color:var(--mapa-r10-line-strong)!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button-primary,.mapa-button--primary,.mapa-button-danger){
  background:var(--mapa-r10-red)!important;
  color:#fff!important;
  border-color:var(--mapa-r10-red)!important;
}

/* Common headings / section copy. */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-member-heading-row,.mapa-manager-heading,.mapa-settings-hero){
  background:#fff!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-member-heading-row>p,.mapa-admin-lead,.mapa-panel-copy small,.mapa-field-description){
  color:var(--mapa-r10-muted)!important;
  line-height:1.55!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-member-card-kicker,.mapa-eyebrow,.mapa-settings-kicker){color:var(--mapa-r10-red)!important}

/* --------------------------------------------------------------------------
   MEMBER HOME — keep the clean KPI design consistently white
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-overview-stats,.mapa-member-dashboard-stats){
  background:#fff!important;
  border-top:1px solid var(--mapa-r10-line)!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-overview-stats,.mapa-member-dashboard-stats)>*{
  background:#fff!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-group-card{
  background:#fff!important;
  border:0!important;
  border-top:1px solid var(--mapa-r10-line)!important;
  padding:18px 14px!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-block{
  background:#fff!important;
  border:1px solid var(--mapa-r10-line)!important;
  padding:20px!important;
}

/* --------------------------------------------------------------------------
   NOTIFICATIONS — same KPI language as the member home; no black tabs
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary{
  gap:0!important;
  background:#fff!important;
  border-top:1px solid var(--mapa-r10-line)!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article{
  padding:18px 16px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid var(--mapa-r10-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary>article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary strong{color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-summary :where(span,small){color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters{
  display:flex!important;
  gap:22px!important;
  flex-wrap:wrap!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
  padding:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button{
  position:relative!important;
  display:inline-flex!important;
  gap:7px!important;
  align-items:center!important;
  min-height:40px!important;
  padding:8px 0 10px!important;
  border:0!important;
  background:transparent!important;
  color:#5f5f59!important;
  font-weight:650!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button:hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button:focus-visible,
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button.is-active{
  background:transparent!important;
  color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r10-red);
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-notification-filters button span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:18px!important;height:18px!important;padding:0 4px!important;
  background:#fff!important;color:#696963!important;border:1px solid var(--mapa-r10-line)!important;
}

/* --------------------------------------------------------------------------
   MEMBER CALENDAR 2.0 — spacing, labels and filter contrast
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2{
  background:#fff!important;
  color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-weekdays{
  background:#fff!important;
  color:var(--mapa-r10-copy)!important;
  border:1px solid var(--mapa-r10-line)!important;
  border-bottom:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-weekdays>span{
  background:#fff!important;
  color:#52524d!important;
  border-right:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-grid,
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-day{
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-day.is-empty{background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-item{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:baseline!important;
  gap:0 7px!important;
  padding:5px 7px!important;
  background:#fff!important;
  border:0!important;
  border-left:2px solid #c6c6bf!important;
  color:var(--mapa-r10-ink)!important;
  text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-item>span{
  display:block!important;
  color:var(--mapa-r10-muted)!important;
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-item>strong{
  display:block!important;
  min-width:0!important;
  color:var(--mapa-r10-ink)!important;
  font-size:11px!important;
  line-height:1.3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-v2 .mapa-calendar-item:hover{border-left-color:var(--mapa-r10-red)!important;background:var(--mapa-r10-red-soft)!important}

body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters{
  background:#fff!important;
  border-left:0!important;border-right:0!important;
  padding:18px 0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>label{
  align-self:end!important;
  margin:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-filters>label>span{
  display:block!important;
  min-height:18px!important;
  color:var(--mapa-r10-copy)!important;
  font-size:11px!important;
  font-weight:650!important;
}

/* Agenda type filters must never inherit white/grey text from Classic. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types{
  display:flex!important;flex-wrap:wrap!important;gap:18px!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button{
  position:relative!important;
  min-height:40px!important;
  padding:8px 0 10px!important;
  border:0!important;
  background:#fff!important;
  color:#5d5d57!important;
  font-size:12px!important;font-weight:650!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button span{
  margin-left:4px!important;
  background:#fff!important;
  color:#777770!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button:hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button:focus-visible,
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button.is-active{
  background:#fff!important;color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-types button.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r10-red);
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-day,
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-day>summary,
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-day[open]>summary{
  background:#fff!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a{
  display:grid!important;
  grid-template-columns:72px 88px minmax(180px,1fr) minmax(180px,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  padding:10px 12px!important;
  background:#fff!important;
  color:var(--mapa-r10-ink)!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a :where(time,strong,small,.mapa-calendar-type){margin:0!important;min-width:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a small{color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-break-manager{background:#fff!important;border:1px solid var(--mapa-r10-line)!important}

/* --------------------------------------------------------------------------
   DOCUMENTS — list + detailed report / preview
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-documents{
  background:#fff!important;
  border:1px solid var(--mapa-r10-line)!important;
  padding:0 20px!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document{
  padding:20px 0!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-document:last-child{border-bottom:0!important}

body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-shell{
  display:grid!important;
  gap:24px!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-heading{
  margin:0!important;padding:0 0 18px!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  border-top:1px solid var(--mapa-r10-line)!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis>article{
  display:grid!important;
  align-content:start!important;
  gap:5px!important;
  min-height:105px!important;
  padding:16px!important;
  border:0!important;
  border-right:1px solid var(--mapa-r10-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis>article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis span{
  display:block!important;color:var(--mapa-r10-muted)!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.07em!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis strong{
  display:block!important;color:var(--mapa-r10-ink)!important;font-size:24px!important;line-height:1.1!important;font-weight:700!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis small{
  display:block!important;color:var(--mapa-r10-muted)!important;line-height:1.4!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-overview,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-report,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-card{
  border:0!important;border-top:1px solid var(--mapa-r10-line)!important;background:#fff!important;padding:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-overview .mapa-admin-card__head,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-report .mapa-admin-card__head,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-card .mapa-admin-card__head{
  padding:16px 0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:0!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid>div{
  display:grid!important;align-content:start!important;gap:5px!important;
  padding:16px!important;background:#fff!important;border:0!important;border-right:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid>div:nth-child(4n){border-right:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid span{
  display:block!important;color:var(--mapa-r10-muted)!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.07em!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid strong{
  display:block!important;color:var(--mapa-r10-ink)!important;font-size:13px!important;font-weight:650!important;line-height:1.45!important;overflow-wrap:anywhere!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid small,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid a{
  display:block!important;margin-top:2px!important;line-height:1.4!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-description{
  margin:18px 0 0!important;padding:16px 0!important;border:0!important;border-top:1px solid var(--mapa-r10-line)!important;background:#fff!important;color:var(--mapa-r10-copy)!important;line-height:1.65!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-list{display:grid!important;gap:0!important;padding:0!important;background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-row{
  display:grid!important;grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(130px,.7fr))!important;gap:16px!important;align-items:center!important;
  padding:14px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-person,
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-channel{
  display:grid!important;gap:4px!important;min-width:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-row :where(strong,small,span){display:block!important;margin:0!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-channel>span{color:var(--mapa-r10-muted)!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0!important;padding:14px 0!important;border-top:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-filters{
  display:flex!important;gap:18px!important;flex-wrap:wrap!important;margin:0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-filters .button{
  position:relative!important;min-height:36px!important;padding:7px 0 9px!important;border:0!important;background:#fff!important;color:#60605a!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-filters .button.button-primary{
  background:#fff!important;color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-filters .button.button-primary::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r10-red);
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-list{display:grid!important;gap:0!important;padding:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-row{
  display:grid!important;grid-template-columns:minmax(220px,1fr) auto minmax(280px,1.4fr)!important;gap:16px!important;align-items:center!important;
  padding:16px 0!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-person{display:grid!important;gap:4px!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-meta{display:flex!important;gap:6px 16px!important;flex-wrap:wrap!important;line-height:1.45!important;color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-actions{grid-column:1/-1!important;display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-review-form{display:grid!important;grid-template-columns:minmax(220px,1fr) auto auto!important;gap:10px!important;align-items:center!important;flex:1!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-lifecycle{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;padding-top:18px!important;border-top:1px solid var(--mapa-r10-line)!important;
}

/* --------------------------------------------------------------------------
   PROFILE / PWA / WEB PUSH — eliminate grey blocks and tall checkboxes
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-form,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-panel{background:#fff!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-avatar-upload{
  padding:18px 0!important;background:#fff!important;border-top:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-profile-form :where(.mapa-member-appearance-preferences,.mapa-member-notification-preferences){
  background:#fff!important;border:0!important;border-top:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-notification-preferences>label{
  display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;
  min-height:0!important;padding:9px 0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-pwa-profile-card,
body.mapa-interface-modern.mapa-modern-member-view .mapa-webpush-profile-card{
  background:#fff!important;border:0!important;border-top:1px solid var(--mapa-r10-line)!important;padding:20px 0!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-webpush-preferences{
  background:#fff!important;border-top:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-webpush-preferences label{
  display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;
  padding:9px 0!important;background:#fff!important;
}

/* --------------------------------------------------------------------------
   MESSAGES — robust spacing in wizard and actions
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button{
  grid-template-columns:30px minmax(0,1fr)!important;
  column-gap:12px!important;
  padding:12px 14px!important;
  background:#fff!important;color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button>b,
body.mapa-interface-modern.mapa-modern-member-view .mapa-comm-wizard-progress>button>small{margin:0!important;padding:0!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions{
  gap:16px!important;margin-top:22px!important;padding-top:18px!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions__right{gap:10px!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-wizard-actions [data-mapa-comm-wizard-status]{margin:0!important;padding:0 8px 0 0!important}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-wizard-next,[data-mapa-comm-wizard-submit]){
  min-width:190px!important;min-height:44px!important;background:var(--mapa-r10-red)!important;color:#fff!important;border-color:var(--mapa-r10-red)!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-recipient-groups,.mapa-recipient-direct,.mapa-recipient-builder,.mapa-recipient-smart){background:#fff!important}

/* --------------------------------------------------------------------------
   MANAGEMENT deep routes — white forms and consistent inline filters
   -------------------------------------------------------------------------- */
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell{
  background:#fff!important;color:var(--mapa-r10-copy)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell :where(.mapa-admin-card,.mapa-admin-fields,.mapa-admin-control,.mapa-record-details,.mapa-record-summary,details,summary){
  background:#fff!important;box-shadow:none!important;border-radius:0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table{background:#fff!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table th{
  background:#fff!important;color:#55554f!important;border-bottom:2px solid var(--mapa-r10-line-strong)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-frontend-manager-shell table td{background:#fff!important;border-bottom:1px solid var(--mapa-r10-line)!important}

body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{
  grid-template-columns:repeat(5,minmax(150px,1fr)) auto!important;
  gap:12px!important;background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters>label{min-width:0!important}

body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form :where(input,select,textarea),
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form .mapa-people-picker,
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-form .mapa-staff-picker{
  background:#fff!important;color:var(--mapa-r10-ink)!important;border-color:var(--mapa-r10-line-strong)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-event-image-preview{background:#fff!important;border:1px solid var(--mapa-r10-line)!important}

body.mapa-interface-modern.mapa-modern-management-view .mapa-partner-options>label{
  grid-template-columns:16px minmax(0,1fr)!important;background:#fff!important;min-height:0!important;
}

/* Long manager tips/callouts: title and explanatory text stay separate. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side:has(.mapa-manager-tip){
  min-width:min(600px,48vw)!important;max-width:680px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{
  display:grid!important;grid-template-columns:minmax(150px,.38fr) minmax(0,1fr)!important;gap:8px 20px!important;
  align-items:start!important;padding:14px 0 14px 18px!important;background:#fff!important;border:0!important;border-left:2px solid var(--mapa-r10-red)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>strong{
  display:block!important;margin:0!important;color:var(--mapa-r10-ink)!important;line-height:1.35!important;overflow-wrap:normal!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip>span:last-child{
  display:block!important;margin:0!important;color:var(--mapa-r10-muted)!important;line-height:1.55!important;overflow-wrap:anywhere!important;
}

/* Generic info/help blocks should be white, not grey/black. */
body.mapa-interface-modern.mapa-modern-portal-app :where(
  .mapa-finance-family-help,.mapa-finance-legacy-discounts,.mapa-documentation-missing,
  .mapa-training-time-warning,.mapa-admin-menu-note,.mapa-inline-note,.mapa-help-box,.mapa-info-box
){
  background:#fff!important;box-shadow:none!important;border-radius:0!important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:1180px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid>div:nth-child(4n){border-right:1px solid var(--mapa-r10-line)!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid>div:nth-child(2n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis>article:nth-child(2n){border-right:0!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-row{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-person{grid-column:1/-1!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-row{grid-template-columns:1fr auto!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-meta{grid-column:1/-1!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a{grid-template-columns:64px 80px minmax(0,1fr)!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a>small{grid-column:1/-1!important;padding-left:158px!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-heading__side:has(.mapa-manager-tip){min-width:0!important;max-width:none!important;width:100%!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-manager-tip{grid-template-columns:1fr!important}
}
@media(max-width:680px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-kpis>article,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-grid>div{border-right:0!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-recipient-row,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-row,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-review-form{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-toolbar,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-detail-lifecycle{align-items:stretch!important;flex-direction:column!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-toolbar__actions{display:flex!important;flex-wrap:wrap!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a{grid-template-columns:60px minmax(0,1fr)!important;gap:6px 10px!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a .mapa-calendar-type{grid-column:2!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a>strong{grid-column:2!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-calendar-agenda-list>a>small{grid-column:2!important;padding-left:0!important}
  body.mapa-interface-modern.mapa-modern-management-view .mapa-staffing-range-filters{grid-template-columns:1fr!important}
}

/* R10 audit late fixes: dashboard grid and native checks. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  background:#fff!important;
  border-top:1px solid var(--mapa-r10-line)!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2 .mapa-member-stat-card{
  min-height:122px!important;
  padding:18px 16px!important;
  border:0!important;
  border-right:1px solid var(--mapa-r10-line)!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2 .mapa-member-stat-card:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox]::before,
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio]::before{content:none!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(input,select,textarea):disabled{
  background:#fff!important;
  color:#777770!important;
  -webkit-text-fill-color:#777770!important;
  opacity:.72!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-empty{
  background:#fff!important;
  color:var(--mapa-r10-muted)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
@media(max-width:900px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2 .mapa-member-stat-card:nth-child(2n){border-right:0!important}
}
@media(max-width:540px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2 .mapa-member-stat-card{border-right:0!important;border-bottom:1px solid var(--mapa-r10-line)!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-dashboard-grid--v2 .mapa-member-stat-card:last-child{border-bottom:0!important}
}

/* R10 cross-route audit: remaining shared surfaces from older module CSS. */
body.mapa-interface-modern.mapa-modern-portal-app .mapa-admin-card__head{
  background:#fff!important;
  border-radius:0!important;
  box-shadow:none!important;
  border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-players-grid{
  gap:0!important;background:#fff!important;border:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-player-card{
  background:#fff!important;border:0!important;border-right:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-member-view :where(.mapa-member-player-placeholder,.mapa-notification-item__icon){background:#fff!important}

/* Management tabs: never use legacy black active pills. */
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-player-profile-tabs,.mapa-scale-quickviews){
  display:flex!important;gap:20px!important;flex-wrap:wrap!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-player-profile-tabs,.mapa-scale-quickviews) a{
  position:relative!important;padding:9px 0 11px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#62625c!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-player-profile-tabs,.mapa-scale-quickviews) a:hover,
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-player-profile-tabs,.mapa-scale-quickviews) a.is-active{
  background:#fff!important;color:var(--mapa-r10-ink)!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-operations-tabs,.mapa-workflow-tabs,.mapa-player-profile-tabs,.mapa-scale-quickviews) a.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r10-red);
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-management-kpis,.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary,.mapa-operations-summary){
  background:#fff!important;border-color:var(--mapa-r10-line)!important;
}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-management-kpis,.mapa-event-admin-stats,.mapa-membership-stats,.mapa-attendance-group-stats,.mapa-competition-kpis,.mapa-sports-kpis,.mapa-staffing-kpis,.mapa-scale-summary,.mapa-operations-summary)>*{
  background:#fff!important;border-radius:0!important;box-shadow:none!important;
}

/* Media / editor previews use white canvas rather than grey/black mats. */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-media-field,.mapa-media-preview,.mapa-gallery-preview,.mapa-event-image-preview,.mapa-partner-logo-preview,.mapa-news-editor-form .mapa-gallery-preview>span){
  background:#fff!important;box-shadow:none!important;border-radius:0!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-media-preview img,.mapa-gallery-preview img,.mapa-event-image-preview img,.mapa-partner-logo-preview img){background:#fff!important;border-radius:0!important}

/* --------------------------------------------------------------------------
   Module CSS neutralisation discovered by the R10 route audit
   -------------------------------------------------------------------------- */
/* People picker: legacy module CSS still declares dark portal dropdowns. */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-people-results,.mapa-people-filter-results,.mapa-people-multi-toolbar){
  background:#fff!important;color:var(--mapa-r10-copy)!important;border:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-people-result{background:#fff!important;color:var(--mapa-r10-ink)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-people-result:hover,
body.mapa-interface-modern.mapa-modern-portal-app .mapa-people-result:focus{background:var(--mapa-r10-red-soft)!important;color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-people-result strong,.mapa-people-multi-toolbar__count strong){color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-people-result small,.mapa-people-multi-toolbar label>span,.mapa-people-multi-toolbar__count){color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-people-chip,.mapa-people-single-value){border-radius:0!important;background:#fff!important;color:var(--mapa-r10-ink)!important;border-color:var(--mapa-r10-line)!important}
body.mapa-interface-modern.mapa-modern-portal-app .mapa-people-clear{border-radius:0!important;background:#fff!important;color:var(--mapa-r10-ink)!important}

/* Workflow: its dedicated stylesheet is historically dark; Modern owns it. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary{gap:0!important;background:#fff!important;border-top:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary article{
  background:#fff!important;color:var(--mapa-r10-copy)!important;border:0!important;border-right:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;padding:16px!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary article::before{display:none!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary :where(strong,h3,h4){color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-summary :where(span,small,p){color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-toolbar{
  background:#fff!important;border:0!important;border-top:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;padding:14px 0!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-row,
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-workflow-detail-main,.mapa-workflow-detail-side) .mapa-admin-card{
  background:#fff!important;color:var(--mapa-r10-copy)!important;border:0!important;border-bottom:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-empty--large{background:#fff!important;border:1px dashed var(--mapa-r10-line-strong)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-empty--large strong,
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-relations summary,
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-link-list a{color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-form__actions{background:#fff!important;border-top:1px solid var(--mapa-r10-line)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-workflow-comments article{border-bottom:1px solid var(--mapa-r10-line)!important}
body.mapa-interface-modern.mapa-modern-management-view :where(.mapa-workflow-status,.mapa-workflow-priority,.mapa-workflow-escalated){border-radius:0!important}

/* Reporting & Analytics: convert the dedicated dark report skin to Modern light. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-reporting{color:var(--mapa-r10-copy)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-filters{
  background:#fff!important;border:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-filters label>span{color:var(--mapa-r10-copy)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-presets{color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-preset{background:#fff!important;border-color:var(--mapa-r10-line)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-preset>a:first-child{color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-tabs{gap:18px!important;border-bottom:1px solid var(--mapa-r10-line)!important;padding-bottom:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-tabs a{
  position:relative!important;padding:9px 0 11px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#62625c!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-tabs a:hover,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-tabs a.is-active{background:#fff!important;color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-tabs a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r10-red)}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis{gap:0!important;border-top:1px solid var(--mapa-r10-line)!important;border-bottom:1px solid var(--mapa-r10-line)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis article{
  background:#fff!important;border:0!important;border-right:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis article:last-child{border-right:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis article>strong,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-card strong,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-money strong{color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis article>span,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-kpis article>small,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-card :where(small,span),
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-list span{color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-card,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-money>div,
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-note{
  background:#fff!important;border:1px solid var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;color:var(--mapa-r10-copy)!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-bar__track{background:#ecece7!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-bar__track>span{background:var(--mapa-r10-red)!important;border-radius:0!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-report-list>div{border-bottom:1px solid var(--mapa-r10-line)!important}

/* Training editor deep route. */
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-toolbar,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-card,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-staff .mapa-staff-assignment-grid label,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-toggle,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview__grid>div{
  background:#fff!important;color:var(--mapa-r10-copy)!important;border-color:var(--mapa-r10-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-toolbar__summary strong,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview__head h4,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview__grid strong{color:var(--mapa-r10-ink)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-toolbar__summary span,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview__head span,
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-preview__grid span{color:var(--mapa-r10-muted)!important}
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-fields :is(input[type=text],input[type=date],input[type=time],input[type=number],select),
body.mapa-interface-modern.mapa-modern-management-view .mapa-training-editor-staff .mapa-staff-assignment-grid :is(input[type=text],select){border-radius:0!important;background:#fff!important;color:var(--mapa-r10-ink)!important}

/* Date picker used by linked forms. */
body.mapa-interface-modern #ui-datepicker-div.ui-datepicker{
  background:#fff!important;color:var(--mapa-r10-ink)!important;border:1px solid var(--mapa-r10-line-strong)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern #ui-datepicker-div .ui-datepicker-header,
body.mapa-interface-modern #ui-datepicker-div .ui-datepicker-buttonpane{background:#fff!important;color:var(--mapa-r10-ink)!important;border-color:var(--mapa-r10-line)!important}
body.mapa-interface-modern #ui-datepicker-div :where(.ui-datepicker-prev,.ui-datepicker-next,.ui-datepicker-buttonpane button){background:#fff!important;color:var(--mapa-r10-ink)!important;border-color:var(--mapa-r10-line)!important;border-radius:0!important}
body.mapa-interface-modern #ui-datepicker-div .ui-datepicker-title select{background:#fff!important;color:var(--mapa-r10-ink)!important;border-color:var(--mapa-r10-line)!important;border-radius:0!important}
body.mapa-interface-modern #ui-datepicker-div td :where(span,a){background:#fff!important;color:var(--mapa-r10-ink)!important;border-radius:0!important}
body.mapa-interface-modern #ui-datepicker-div td a:hover{background:var(--mapa-r10-red-soft)!important;color:var(--mapa-r10-red)!important}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-report-heading .mapa-manager-heading__side{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex-wrap:wrap!important;
}
body.mapa-interface-modern.mapa-modern-member-view .mapa-document-lifecycle{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:6px 10px!important;background:#fff!important;border:1px solid var(--mapa-r10-line)!important;border-radius:0!important;color:var(--mapa-r10-copy)!important}

/* === bundled from assets/css/modern/modern-public-r11.css === */
/* MAPA Modern v5.0.0 R11 — responsive Hero + Recruitment page refinement. */

/* -------------------------------------------------------------------------
   Homepage Hero
   The artwork defines the natural desktop height. The copy no longer forces
   a taller row that leaves empty space below a fully-contained image.
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-modern-home-hero{
  grid-template-columns:minmax(420px,42%) minmax(0,58%)!important;
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__content{
  align-self:stretch!important;
  justify-content:center!important;
  padding:clamp(36px,4vw,64px) clamp(34px,4.6vw,78px)!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__content::before{
  left:clamp(34px,4.6vw,78px)!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__kicker{margin-bottom:18px!important}
body.mapa-interface-modern .mapa-modern-home-hero__title{
  font-size:clamp(46px,4.65vw,78px)!important;
  line-height:.92!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__title>span{font-size:clamp(20px,1.85vw,32px)!important}
body.mapa-interface-modern .mapa-modern-home-hero__lead{
  margin-top:22px!important;
  font-size:clamp(16px,1.05vw,19px)!important;
  line-height:1.55!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__actions{margin-top:26px!important}
body.mapa-interface-modern .mapa-modern-home-hero__actions .mapa-button{min-height:48px!important}
body.mapa-interface-modern .mapa-modern-home-hero__facts{margin-top:28px!important}
body.mapa-interface-modern .mapa-modern-home-hero__fact{min-height:68px!important;padding-top:12px!important;padding-bottom:12px!important}
body.mapa-interface-modern .mapa-modern-home-hero__fact strong{font-size:18px!important}
body.mapa-interface-modern .mapa-modern-home-hero__visual{
  display:flex!important;
  align-items:flex-start!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual picture{
  display:block!important;
  width:100%!important;
  height:auto!important;
}
body.mapa-interface-modern .mapa-modern-home-hero__visual img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center top!important;
  background:#fff!important;
}

@media(max-width:1180px){
  body.mapa-interface-modern .mapa-modern-home-hero{grid-template-columns:minmax(360px,44%) minmax(0,56%)!important}
  body.mapa-interface-modern .mapa-modern-home-hero__content{padding:40px 34px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:34px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__title{font-size:52px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__facts{margin-top:24px!important}
}

/* Mobile/tablet: artwork first, complete and uncropped; copy follows. */
@media(max-width:900px){
  body.mapa-interface-modern .mapa-modern-home-hero{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
  }
  body.mapa-interface-modern .mapa-modern-home-hero__visual{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    border:0!important;
    border-bottom:1px solid var(--mapa-modern-line)!important;
  }
  body.mapa-interface-modern .mapa-modern-home-hero__visual picture,
  body.mapa-interface-modern .mapa-modern-home-hero__visual img{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  body.mapa-interface-modern .mapa-modern-home-hero__content{
    grid-column:1!important;
    grid-row:2!important;
    padding:44px clamp(22px,5vw,46px)!important;
  }
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:clamp(22px,5vw,46px)!important}
}
@media(max-width:620px){
  body.mapa-interface-modern .mapa-modern-home-hero__content{padding:38px 20px 42px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__content::before{left:20px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__title{font-size:44px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__title>span{font-size:22px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__lead{font-size:16px!important}
  body.mapa-interface-modern .mapa-modern-home-hero__facts{margin-top:28px!important}
}

/* -------------------------------------------------------------------------
   Public Recruitment page
   ------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-recruitment-page{
  background:#fff!important;
  color:var(--mapa-modern-ink)!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero{
  padding:clamp(46px,5vw,72px) 0 clamp(34px,4vw,54px)!important;
  background:#fff!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero .mapa-container,
body.mapa-interface-modern .mapa-recruitment-page>.mapa-section>.mapa-container{
  width:min(calc(100% - clamp(36px,7vw,120px)),1560px)!important;
  max-width:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero .mapa-section-title{
  max-width:920px!important;
  margin:14px 0 12px!important;
  color:var(--mapa-modern-ink)!important;
  font-size:clamp(42px,4.4vw,72px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero .mapa-lead{
  max-width:820px!important;
  margin:0!important;
  color:var(--mapa-modern-copy)!important;
  font-size:clamp(17px,1.25vw,21px)!important;
  line-height:1.55!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-section--tight{
  padding:clamp(38px,4vw,62px) 0 clamp(66px,7vw,104px)!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-recruitment-page-grid{
  display:grid!important;
  grid-template-columns:minmax(260px,.58fr) minmax(0,1.42fr)!important;
  gap:clamp(42px,5vw,86px)!important;
  align-items:start!important;
}

/* Explanatory column: editorial block, not a Classic card. */
body.mapa-interface-modern .mapa-recruitment-page-copy{
  position:sticky!important;
  top:104px!important;
  padding:22px 0 0 24px!important;
  background:transparent!important;
  border:0!important;
  border-left:3px solid var(--mapa-modern-red)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page-copy h2{
  margin:0 0 14px!important;
  color:var(--mapa-modern-ink)!important;
  font-size:clamp(24px,2vw,32px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page-copy p{
  margin:0!important;
  color:var(--mapa-modern-copy)!important;
  font-size:16px!important;
  line-height:1.62!important;
}
body.mapa-interface-modern .mapa-recruitment-page-copy .mapa-checks{
  display:grid!important;
  gap:9px!important;
  margin:24px 0 0!important;
  padding:0!important;
}
body.mapa-interface-modern .mapa-recruitment-page-copy .mapa-checks li{
  color:#343432!important;
  font-size:15px!important;
  line-height:1.45!important;
}
body.mapa-interface-modern .mapa-recruitment-contact-note{
  display:grid!important;
  gap:6px!important;
  margin-top:28px!important;
  padding-top:20px!important;
  border-top:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-recruitment-contact-note strong{color:var(--mapa-modern-ink)!important;font-size:13px!important}
body.mapa-interface-modern .mapa-recruitment-contact-note a{
  color:var(--mapa-modern-ink)!important;
  font-size:15px!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.mapa-interface-modern .mapa-recruitment-contact-note a:hover,
body.mapa-interface-modern .mapa-recruitment-contact-note a:focus-visible{color:var(--mapa-modern-red)!important;text-decoration:underline!important}

/* Form: flat Modern surface, compact field rhythm and strong labels. */
body.mapa-interface-modern .mapa-recruitment-page .mapa-recruitment-form{
  min-width:0!important;
  padding:26px 0 0 30px!important;
  background:#fff!important;
  border:0!important;
  border-left:1px solid var(--mapa-modern-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading{
  margin:0 0 28px!important;
  padding:0 0 20px!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading h2{
  margin:8px 0 7px!important;
  color:var(--mapa-modern-ink)!important;
  font-size:clamp(30px,2.7vw,44px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
  text-transform:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading p{
  max-width:780px!important;
  margin:0!important;
  color:var(--mapa-modern-copy)!important;
  font-size:15px!important;
  line-height:1.55!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-recruitment-form__grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 20px!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field{
  display:grid!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field--full{grid-column:1/-1!important}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field label{
  margin:0!important;
  color:#30302e!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.35!important;
  letter-spacing:.015em!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  padding:10px 12px!important;
  background:#fff!important;
  color:var(--mapa-modern-ink)!important;
  border:1px solid #c9c9c3!important;
  border-radius:0!important;
  box-shadow:none!important;
  font:inherit!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field textarea{min-height:132px!important;resize:vertical!important}
body.mapa-interface-modern .mapa-recruitment-page .mapa-field :where(input,select,textarea):focus{
  outline:2px solid rgba(226,7,22,.2)!important;
  outline-offset:1px!important;
  border-color:var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-privacy-notice{
  display:block!important;
  padding:14px 16px!important;
  background:#fff6f6!important;
  color:#444!important;
  border:0!important;
  border-left:3px solid var(--mapa-modern-red)!important;
  line-height:1.55!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-privacy-notice a{color:var(--mapa-modern-ink)!important}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-submit-row{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:14px 18px!important;
  padding-top:2px!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-submit-row button{
  min-height:48px!important;
  padding:0 22px!important;
  background:var(--mapa-modern-red)!important;
  color:#fff!important;
  border:1px solid var(--mapa-modern-red)!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-submit-row button:hover{background:#b90410!important;border-color:#b90410!important;filter:none!important}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-note{
  max-width:580px!important;
  color:#6b6b67!important;
  font-size:12px!important;
  line-height:1.45!important;
}

@media(max-width:980px){
  body.mapa-interface-modern .mapa-recruitment-page-grid{grid-template-columns:1fr!important;gap:34px!important}
  body.mapa-interface-modern .mapa-recruitment-page-copy{position:static!important;top:auto!important;max-width:760px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-recruitment-form{padding:28px 0 0!important;border-left:0!important}
}
@media(max-width:640px){
  body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero{padding:38px 0 30px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero .mapa-container,
  body.mapa-interface-modern .mapa-recruitment-page>.mapa-section>.mapa-container{width:calc(100% - 36px)!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-subpage-hero .mapa-section-title{font-size:40px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-section--tight{padding:30px 0 58px!important}
  body.mapa-interface-modern .mapa-recruitment-page-copy{padding-left:18px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-recruitment-form__grid{grid-template-columns:1fr!important;gap:16px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-field--full{grid-column:auto!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading h2{font-size:32px!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-submit-row{align-items:stretch!important;flex-direction:column!important}
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-submit-row button{width:100%!important}
}

/* === bundled from assets/css/modern/modern-public-r12.css === */
/* MAPA Modern v5.0.0 R12 — mobile navigation layering + account affordance + recruitment heading spacing */

/* Keep the complete Modern header and its overlays above page content while still below the WP admin bar. */
body.mapa-interface-modern .mapa-modern-header{
  z-index:99990!important;
  overflow:visible!important;
  isolation:isolate;
}
body.mapa-interface-modern .mapa-modern-header__inner,
body.mapa-interface-modern .mapa-modern-header__actions{
  overflow:visible!important;
}

/* Desktop account trigger: make it unmistakably interactive. */
body.mapa-interface-modern .mapa-modern-account>summary{
  min-width:148px;
  padding:0 12px!important;
  border-left:1px solid var(--mapa-modern-line)!important;
  border-right:1px solid transparent!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease;
}
body.mapa-interface-modern .mapa-modern-account>summary:hover,
body.mapa-interface-modern .mapa-modern-account>summary:focus-visible,
body.mapa-interface-modern .mapa-modern-account[open]>summary{
  background:#f6f6f2!important;
  border-right-color:var(--mapa-modern-line)!important;
  color:var(--mapa-modern-red)!important;
  outline:0!important;
}
body.mapa-interface-modern .mapa-modern-account__chevron{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  margin-left:2px;
  color:#6b6b66;
  transition:transform .16s ease,color .16s ease;
}
body.mapa-interface-modern .mapa-modern-account__chevron svg{display:block;width:14px;height:14px}
body.mapa-interface-modern .mapa-modern-account>summary:hover .mapa-modern-account__chevron,
body.mapa-interface-modern .mapa-modern-account>summary:focus-visible .mapa-modern-account__chevron,
body.mapa-interface-modern .mapa-modern-account[open] .mapa-modern-account__chevron{color:var(--mapa-modern-red)!important}
body.mapa-interface-modern .mapa-modern-account[open] .mapa-modern-account__chevron{transform:rotate(180deg)}
body.mapa-interface-modern .mapa-modern-account__menu{
  z-index:99996!important;
}

/* Recruitment form heading: eyebrow and title are separate, readable blocks. */
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading{
  display:block!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>.mapa-eyebrow{
  position:static!important;
  inset:auto!important;
  clear:both!important;
  margin:0 0 18px!important;
  padding:0!important;
  line-height:1.35!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading h2{
  clear:both!important;
  margin:0 0 9px!important;
}

@media(max-width:1050px){
  /* Mobile hamburger is a real viewport layer, not a child visually trapped under the page. */
  body.mapa-interface-modern .mapa-modern-header{z-index:99990!important}
  body.mapa-interface-modern .mapa-modern-navigation{
    position:fixed!important;
    top:calc(var(--mapa-adminbar-offset,0px) + 78px)!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    height:auto!important;
    max-width:none!important;
    padding:20px 22px 40px!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid var(--mapa-modern-line)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:99995!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation.is-open{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  body.mapa-interface-modern.mapa-modern-mobile-menu-open{
    overflow:hidden!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul{
    position:relative!important;
    z-index:1!important;
    width:100%!important;
    background:#fff!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{
    width:100%!important;
  }
  body.mapa-interface-modern .mapa-modern-account>summary{
    min-width:0;
    width:48px;
    height:48px;
    padding:0!important;
    justify-content:center;
    border:1px solid var(--mapa-modern-line)!important;
  }
  body.mapa-interface-modern .mapa-modern-account__chevron{display:none}
}

@media(max-width:720px){
  body.mapa-interface-modern .mapa-modern-navigation{
    top:calc(var(--mapa-adminbar-offset,0px) + 68px)!important;
    padding:16px 18px 36px!important;
  }
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>.mapa-eyebrow{
    margin-bottom:15px!important;
  }
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading h2{
    margin-bottom:8px!important;
  }
}

/* === bundled from assets/css/modern/modern-public-r13.css === */
/* MAPA Modern v5.0.0 R13 — mobile menu sizing/scroll behaviour + recruitment heading spacing */

/* Recruitment form heading: guarantee a visible editorial gap between eyebrow and title. */
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
  row-gap:0!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>.mapa-eyebrow{
  position:static!important;
  inset:auto!important;
  display:flex!important;
  clear:both!important;
  width:auto!important;
  min-height:0!important;
  margin:0 0 28px!important;
  padding:0!important;
  transform:none!important;
  line-height:1.35!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>h2{
  position:static!important;
  clear:both!important;
  margin:0 0 10px!important;
  padding:0!important;
  transform:none!important;
}

@media(max-width:1050px){
  /*
   * R12 inherited Classic's mobile max-height from style.css.  The result was a
   * tiny navigation viewport with its own scrollbar.  Modern now behaves like a
   * normal dropdown: it grows to fit its menu and only scrolls internally if it
   * genuinely cannot fit inside the available viewport.
   */
  body.mapa-interface-modern .mapa-modern-navigation{
    position:fixed!important;
    top:calc(var(--mapa-adminbar-offset,0px) + 78px)!important;
    left:0!important;
    right:0!important;
    bottom:auto!important;
    inset-block-end:auto!important;
    width:100vw!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 90px)!important;
    margin:0!important;
    padding:14px 22px 18px!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid var(--mapa-modern-line)!important;
    border-bottom:1px solid var(--mapa-modern-line)!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:auto!important;
    -webkit-overflow-scrolling:touch;
    z-index:99995!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation.is-open{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  /* Opening navigation must not freeze the page underneath. */
  body.mapa-interface-modern.mapa-modern-mobile-menu-open{
    overflow:auto!important;
    overflow-x:hidden!important;
    touch-action:auto!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul{
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{
    min-height:50px!important;
  }
}

@media(max-width:720px){
  body.mapa-interface-modern .mapa-modern-navigation{
    top:calc(var(--mapa-adminbar-offset,0px) + 68px)!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 78px)!important;
    padding:12px 16px 16px!important;
  }
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>.mapa-eyebrow{
    margin-bottom:24px!important;
  }
  body.mapa-interface-modern .mapa-recruitment-page .mapa-form-heading>h2{
    margin-top:10px!important;
    margin-bottom:10px!important;
  }
}

/* === bundled from assets/css/modern/modern-public-r15.css === */
/* MAPA Modern v5.0.0 R15 — mobile navigation + account menu redesign */

/* Account menu: a compact application-style menu instead of a plain stacked list. */
body.mapa-interface-modern .mapa-modern-account__menu{
  width:min(360px,calc(100vw - 28px));
  min-width:320px;
  padding:0!important;
  background:#fff!important;
  border:1px solid var(--mapa-modern-line)!important;
  border-top:3px solid var(--mapa-modern-red)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-modern-account__meta{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  padding:16px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
}
body.mapa-interface-modern .mapa-modern-account__meta-avatar{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  overflow:hidden;
  background:var(--mapa-modern-canvas);
  border-left:3px solid var(--mapa-modern-red);
}
body.mapa-interface-modern .mapa-modern-account__meta-avatar-image{
  display:block!important;
  width:40px!important;
  height:40px!important;
  object-fit:cover!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-modern-account__meta-copy{
  display:grid;
  gap:2px;
  min-width:0;
  line-height:1.15;
}
body.mapa-interface-modern .mapa-modern-account__meta-copy>small{
  color:var(--mapa-modern-red)!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.mapa-interface-modern .mapa-modern-account__meta-copy>strong{
  overflow:hidden;
  color:var(--mapa-modern-ink)!important;
  font-size:15px!important;
  font-weight:750!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.mapa-interface-modern .mapa-modern-account__meta-copy>span{
  color:var(--mapa-modern-muted)!important;
  font-size:12px!important;
}
body.mapa-interface-modern .mapa-modern-account__links{
  display:grid;
  grid-template-columns:1fr;
  margin:0;
  padding:0;
}
body.mapa-interface-modern .mapa-modern-account__link,
body.mapa-interface-modern .mapa-modern-account__logout{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:50px!important;
  margin:0!important;
  padding:12px 16px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--mapa-modern-line)!important;
  color:var(--mapa-modern-ink)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
body.mapa-interface-modern .mapa-modern-account__link:hover,
body.mapa-interface-modern .mapa-modern-account__link:focus-visible{
  background:#fafaf7!important;
  color:var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-modern-account__link--portal{
  border-left:3px solid var(--mapa-modern-red)!important;
}
body.mapa-interface-modern .mapa-modern-account__link--management,
body.mapa-interface-modern .mapa-modern-account__link--admin{
  background:#f8f8f5!important;
}
body.mapa-interface-modern .mapa-modern-account__link-arrow{
  flex:0 0 auto;
  color:#8a8a84!important;
  font-size:16px;
  font-weight:500;
  transition:transform .16s ease,color .16s ease;
}
body.mapa-interface-modern .mapa-modern-account__link:hover .mapa-modern-account__link-arrow,
body.mapa-interface-modern .mapa-modern-account__link:focus-visible .mapa-modern-account__link-arrow{
  color:var(--mapa-modern-red)!important;
  transform:translateX(3px);
}
body.mapa-interface-modern .mapa-modern-account__count{
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  padding:0 6px;
  background:var(--mapa-modern-red)!important;
  color:#fff!important;
  font-size:11px;
  font-weight:800;
}
body.mapa-interface-modern .mapa-modern-account__logout{
  min-height:52px!important;
  border-bottom:0!important;
  background:#fff!important;
  color:var(--mapa-modern-danger)!important;
}
body.mapa-interface-modern .mapa-modern-account__logout:hover,
body.mapa-interface-modern .mapa-modern-account__logout:focus-visible{
  background:#fff3f3!important;
  color:var(--mapa-modern-danger)!important;
}

@media(max-width:1050px){
  /* Main navigation becomes a compact Modern sheet instead of a tall raw list. */
  body.mapa-interface-modern .mapa-modern-navigation{
    position:fixed!important;
    top:calc(var(--mapa-adminbar-offset,0px) + 86px)!important;
    left:12px!important;
    right:12px!important;
    bottom:auto!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 102px)!important;
    margin:0!important;
    padding:0 16px 16px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#fff!important;
    border:1px solid var(--mapa-modern-line)!important;
    border-top:3px solid var(--mapa-modern-red)!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:99995!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation::before{
    content:"Nawigacja";
    display:block;
    padding:15px 0 12px;
    color:var(--mapa-modern-red);
    font-size:10px;
    font-weight:850;
    letter-spacing:.14em;
    line-height:1;
    text-transform:uppercase;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border-top:1px solid var(--mapa-modern-line)!important;
    border-left:1px solid var(--mapa-modern-line)!important;
    background:#fff!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li{
    min-width:0!important;
    width:auto!important;
    margin:0!important;
    border-right:1px solid var(--mapa-modern-line)!important;
    border-bottom:1px solid var(--mapa-modern-line)!important;
    background:#fff!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:last-child:nth-child(odd){
    grid-column:1/-1;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    min-height:62px!important;
    padding:13px 15px!important;
    background:#fff!important;
    border:0!important;
    color:var(--mapa-modern-ink)!important;
    font-size:14px!important;
    font-weight:750!important;
    letter-spacing:.02em!important;
    line-height:1.2!important;
    text-align:left!important;
    text-transform:uppercase!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:not(.menu-item-has-children)>a::after{
    content:"→";
    flex:0 0 auto;
    color:#979790;
    font-size:17px;
    font-weight:500;
    transition:transform .16s ease,color .16s ease;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:not(.menu-item-has-children)>a:hover::after,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:not(.menu-item-has-children)>a:focus-visible::after{
    color:var(--mapa-modern-red);
    transform:translateX(3px);
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-item>a,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li.current_page_item>a,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li.current-menu-ancestor>a,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li.current_page_ancestor>a{
    background:#fff4f4!important;
    color:var(--mapa-modern-red)!important;
    box-shadow:inset 3px 0 0 var(--mapa-modern-red)!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a:hover,
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a:focus-visible{
    background:#f8f8f5!important;
    color:var(--mapa-modern-red)!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .menu-item-has-children>a.mapa-mobile-submenu-toggle{
    padding-right:46px!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .menu-item-has-children>a.mapa-mobile-submenu-toggle::after{
    right:17px!important;
    width:8px!important;
    height:8px!important;
    border-right:1.5px solid currentColor!important;
    border-bottom:1.5px solid currentColor!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .mapa-mobile-submenu-open{
    grid-column:1/-1!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .sub-menu{
    display:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
    background:#fafaf7!important;
    border:0!important;
    border-top:1px solid var(--mapa-modern-line)!important;
    border-left:3px solid var(--mapa-modern-red)!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .mapa-mobile-submenu-open>.sub-menu{
    display:grid!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .sub-menu li{
    border-right:1px solid var(--mapa-modern-line)!important;
    border-bottom:1px solid var(--mapa-modern-line)!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation .sub-menu a{
    min-height:48px!important;
    padding:11px 13px!important;
    background:#fafaf7!important;
    color:var(--mapa-modern-copy)!important;
    font-size:13px!important;
    font-weight:650!important;
    text-transform:none!important;
  }

  /* Make the hamburger visually communicate open/close state. */
  body.mapa-interface-modern .mapa-modern-menu-toggle[aria-expanded="true"]{
    border-color:var(--mapa-modern-red)!important;
    background:#fff6f6!important;
  }
  body.mapa-interface-modern .mapa-modern-menu-toggle[aria-expanded="true"] span{
    background:transparent!important;
  }
  body.mapa-interface-modern .mapa-modern-menu-toggle[aria-expanded="true"] span::before{
    top:0!important;
    transform:rotate(45deg);
  }
  body.mapa-interface-modern .mapa-modern-menu-toggle[aria-expanded="true"] span::after{
    top:0!important;
    transform:rotate(-45deg);
  }

  /* Mobile account menu uses the same sheet/grid language as the hamburger. */
  body.mapa-interface-modern .mapa-modern-account__menu{
    position:fixed!important;
    top:calc(var(--mapa-adminbar-offset,0px) + 86px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    min-width:0!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 102px)!important;
    overflow:auto!important;
    z-index:99996!important;
  }
  body.mapa-interface-modern .mapa-modern-account__links{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border-left:1px solid var(--mapa-modern-line)!important;
  }
  body.mapa-interface-modern .mapa-modern-account__link{
    min-height:62px!important;
    border-right:1px solid var(--mapa-modern-line)!important;
    border-bottom:1px solid var(--mapa-modern-line)!important;
  }
  body.mapa-interface-modern .mapa-modern-account__link--portal,
  body.mapa-interface-modern .mapa-modern-account__link--management,
  body.mapa-interface-modern .mapa-modern-account__link--admin{
    border-left:0!important;
  }
  body.mapa-interface-modern .mapa-modern-account__logout{
    border-top:0!important;
    border-bottom:0!important;
  }
}

@media(max-width:720px){
  body.mapa-interface-modern .mapa-modern-navigation,
  body.mapa-interface-modern .mapa-modern-account__menu{
    top:calc(var(--mapa-adminbar-offset,0px) + 76px)!important;
    left:10px!important;
    right:10px!important;
    max-height:calc(100dvh - var(--mapa-adminbar-offset,0px) - 88px)!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation{
    padding:0 12px 12px!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation::before{
    padding:13px 0 10px;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li>a,
  body.mapa-interface-modern .mapa-modern-account__link{
    min-height:58px!important;
    padding:12px 13px!important;
    font-size:13px!important;
  }
  body.mapa-interface-modern .mapa-modern-account__meta{
    padding:14px!important;
  }
}

@media(max-width:420px){
  body.mapa-interface-modern .mapa-modern-navigation>ul,
  body.mapa-interface-modern .mapa-modern-account__links,
  body.mapa-interface-modern .mapa-modern-navigation .sub-menu{
    grid-template-columns:1fr!important;
  }
  body.mapa-interface-modern .mapa-modern-navigation>ul>li:last-child:nth-child(odd){grid-column:auto}
  body.mapa-interface-modern .mapa-modern-navigation .mapa-mobile-submenu-open{grid-column:auto!important}
}

/* === bundled from assets/css/modern/modern-components-r16.css === */
/* MAPA Modern v5.0.0 R16 — Documents + cookie preferences consistency */

/* --------------------------------------------------------------------------
   DOCUMENT EDITOR — proper four-step Modern stepper
   -------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0 0 28px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #d9d9d4!important;
  background:#fff!important;
  overflow:visible!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button{
  position:relative!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:1px!important;
  align-items:center!important;
  min-width:0!important;
  min-height:66px!important;
  margin:0!important;
  padding:12px 16px!important;
  border:0!important;
  border-right:1px solid #ecece8!important;
  border-radius:0!important;
  background:#fff!important;
  color:#181816!important;
  box-shadow:none!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:last-child,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:last-child{border-right:0!important}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button::after,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  height:3px!important;
  background:transparent!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button.is-active::after,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button.is-active::after{background:#e30613!important}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>span{
  grid-row:1/3!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  margin:0!important;
  border:1px solid #cacac4!important;
  border-radius:0!important;
  background:#fff!important;
  color:#6b6b65!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button.is-active>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button.is-active>span{
  border-color:#e30613!important;
  background:#e30613!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>b,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>b{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#181816!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:750!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>small,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button>small{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#74746e!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:450!important;
}
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:hover,
body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:focus-visible,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:hover,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:focus-visible{
  background:#fafaf8!important;
  outline:none!important;
}

/* --------------------------------------------------------------------------
   DOCUMENT REPORT — actions must read as controls, not raw links
   -------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button),
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:38px!important;
  margin:0!important;
  padding:8px 14px!important;
  border:1px solid #c9c9c3!important;
  border-radius:0!important;
  background:#fff!important;
  color:#1d1d1a!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
body.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button):hover,
body.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button):focus-visible,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button):hover,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-shell :where(a.button,button.button):focus-visible{
  border-color:#8e8e88!important;
  background:#f7f7f4!important;
  color:#11110f!important;
  outline:none!important;
}
body.mapa-interface-modern .mapa-document-report-shell :where(a.button.button-primary,button.button-primary),
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-shell :where(a.button.button-primary,button.button-primary){
  border-color:#e30613!important;
  background:#e30613!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-document-report-shell :where(a.button.button-primary,button.button-primary):hover,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-shell :where(a.button.button-primary,button.button-primary):hover{
  border-color:#bd0611!important;
  background:#bd0611!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-document-report-heading .mapa-manager-heading__side,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-heading .mapa-manager-heading__side{
  gap:10px!important;
}
body.mapa-interface-modern .mapa-document-report-toolbar,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar{
  gap:20px!important;
  padding:16px 0!important;
}
body.mapa-interface-modern .mapa-document-report-filters,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters{
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
body.mapa-interface-modern .mapa-document-report-filters>a.button,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters>a.button{
  position:relative!important;
  min-height:36px!important;
  padding:7px 0 10px!important;
  border:0!important;
  background:#fff!important;
  color:#5b5b56!important;
  font-weight:650!important;
}
body.mapa-interface-modern .mapa-document-report-filters>a.button:hover,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters>a.button:hover{
  background:#fff!important;
  color:#171714!important;
}
body.mapa-interface-modern .mapa-document-report-filters>a.button.button-primary,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters>a.button.button-primary{
  border:0!important;
  background:#fff!important;
  color:#171714!important;
}
body.mapa-interface-modern .mapa-document-report-filters>a.button.button-primary::after,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters>a.button.button-primary::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:2px!important;
  background:#e30613!important;
}
body.mapa-interface-modern .mapa-document-report-toolbar__actions,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar__actions,
body.mapa-interface-modern .mapa-document-report-actions,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-actions,
body.mapa-interface-modern .mapa-document-detail-lifecycle,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-detail-lifecycle{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
body.mapa-interface-modern .mapa-document-report-toolbar__actions form,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar__actions form,
body.mapa-interface-modern .mapa-document-detail-lifecycle form,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-detail-lifecycle form{margin:0!important}
body.mapa-interface-modern .mapa-document-review-form,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-review-form{
  gap:10px!important;
}

/* --------------------------------------------------------------------------
   COOKIE PREFERENCES — clean light-only Modern dialog
   -------------------------------------------------------------------------- */
body.mapa-interface-modern .mapa-cookie-modal{
  padding:24px!important;
  background:rgba(17,17,15,.34)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel{
  width:min(760px,100%)!important;
  max-height:min(760px,calc(100svh - 48px))!important;
  padding:30px 32px 28px!important;
  border:1px solid #d7d7d1!important;
  border-top:4px solid #e30613!important;
  border-radius:0!important;
  background:#fff!important;
  color:#1d1d1a!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-eyebrow{
  display:block!important;
  margin:0 0 8px!important;
  color:#e30613!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel h2{
  margin:0 46px 8px 0!important;
  color:#151513!important;
  font-size:clamp(28px,4vw,40px)!important;
  line-height:1.05!important;
  font-weight:700!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>p{
  max-width:660px!important;
  margin:0!important;
  color:#62625c!important;
  font-size:14px!important;
  line-height:1.6!important;
}
body.mapa-interface-modern .mapa-cookie-close{
  top:20px!important;
  right:20px!important;
  width:38px!important;
  height:38px!important;
  border:1px solid #cfcfc9!important;
  border-radius:0!important;
  background:#fff!important;
  color:#171714!important;
  box-shadow:none!important;
  font-size:24px!important;
  line-height:1!important;
}
body.mapa-interface-modern .mapa-cookie-close:hover,
body.mapa-interface-modern .mapa-cookie-close:focus-visible{
  border-color:#e30613!important;
  color:#e30613!important;
  outline:none!important;
}
body.mapa-interface-modern .mapa-cookie-categories{
  display:grid!important;
  gap:0!important;
  margin:26px 0 24px!important;
  border-top:1px solid #deded8!important;
  border-bottom:1px solid #deded8!important;
}
body.mapa-interface-modern .mapa-cookie-categories>label{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 18px!important;
  gap:22px!important;
  align-items:center!important;
  min-height:0!important;
  margin:0!important;
  padding:16px 2px!important;
  border:0!important;
  border-bottom:1px solid #ecece8!important;
  border-radius:0!important;
  background:#fff!important;
  color:#1d1d1a!important;
  opacity:1!important;
}
body.mapa-interface-modern .mapa-cookie-categories>label:last-child{border-bottom:0!important}
body.mapa-interface-modern .mapa-cookie-categories>label>span{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
body.mapa-interface-modern .mapa-cookie-categories strong{
  color:#181816!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.mapa-interface-modern .mapa-cookie-categories small{
  color:#686862!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.mapa-interface-modern .mapa-cookie-categories input[type=checkbox]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  justify-self:end!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  accent-color:#e30613!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-cookie-categories input[type=checkbox]::before{content:none!important}
body.mapa-interface-modern .mapa-cookie-categories .is-required{
  background:#fafaf8!important;
}
body.mapa-interface-modern .mapa-cookie-categories .is-required::after{
  content:"Zawsze aktywne";
  grid-column:1;
  margin-top:-10px;
  color:#777770;
  font-size:10px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body.mapa-interface-modern .mapa-cookie-categories .is-required input{grid-column:2;grid-row:1/3!important;opacity:.72!important}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border:1px solid #c9c9c3!important;
  border-radius:0!important;
  background:#fff!important;
  color:#1d1d1a!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button:not(.mapa-button--ghost){
  border-color:#e30613!important;
  background:#e30613!important;
  color:#fff!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button:hover,
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button:focus-visible{
  border-color:#9b9b94!important;
  background:#f6f6f3!important;
  color:#11110f!important;
  outline:none!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button:not(.mapa-button--ghost):hover,
body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button:not(.mapa-button--ghost):focus-visible{
  border-color:#bd0611!important;
  background:#bd0611!important;
  color:#fff!important;
}

@media(max-width:860px){
  body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:nth-child(2),
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:nth-child(2){border-right:0!important}
  body.mapa-interface-modern .mapa-document-report-toolbar,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar{align-items:flex-start!important;flex-direction:column!important}
}
@media(max-width:620px){
  body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button{border-right:0!important;border-bottom:1px solid #ecece8!important}
  body.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:last-child,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-builder .mapa-wizard-progress>button:last-child{border-bottom:0!important}
  body.mapa-interface-modern .mapa-document-report-filters,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-filters{gap:14px!important}
  body.mapa-interface-modern .mapa-document-report-toolbar__actions,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar__actions,
  body.mapa-interface-modern .mapa-document-detail-lifecycle,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-detail-lifecycle{width:100%!important;align-items:stretch!important;flex-direction:column!important}
  body.mapa-interface-modern .mapa-document-report-toolbar__actions :where(a.button,button.button),
  body.mapa-interface-modern .mapa-document-detail-lifecycle :where(a.button,button.button),
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-report-toolbar__actions :where(a.button,button.button),
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-detail-lifecycle :where(a.button,button.button){width:100%!important}
  body.mapa-interface-modern .mapa-cookie-modal{padding:10px!important;align-items:end!important}
  body.mapa-interface-modern .mapa-cookie-modal__panel{max-height:calc(100svh - 20px)!important;padding:24px 18px 18px!important}
  body.mapa-interface-modern .mapa-cookie-modal__panel h2{font-size:30px!important}
  body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions{display:grid!important;grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-cookie-modal__panel>.mapa-cookie-actions .mapa-button{width:100%!important}
}

/* === bundled from assets/css/modern/modern-public-r19.css === */
/* MAPA Modern v5.0.0 R19 — homepage News media backdrop + News gallery polish. */

/*
 * Homepage only. The foreground image keeps object-fit:contain and its original
 * proportions. A second copy of the same image fills the complete media surface
 * behind it, blurred and softened. The transparent foreground background is
 * critical: earlier Modern rules set the IMG itself to white, hiding the blur.
 */
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:#e9e9e5!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media__blur{
  position:absolute!important;
  inset:-28px!important;
  z-index:0!important;
  display:block!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  filter:blur(24px) saturate(.92) brightness(.82)!important;
  transform:scale(1.08)!important;
  opacity:.72!important;
  pointer-events:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:rgba(255,255,255,.13)!important;
  pointer-events:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur::after{
  display:none!important;
  content:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > img,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > picture,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > picture > img{
  position:relative!important;
  z-index:2!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media.mapa-home-news-media--blur .mapa-news-row__image,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-featured-news__media.mapa-home-news-media--blur img{
  object-fit:contain!important;
  object-position:center!important;
}

/* News gallery uses the same visual/lightbox thumbnail contract as main Gallery. */
body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-thumb{
  cursor:zoom-in!important;
}

/* === bundled from assets/css/modern/modern-public-r20.css === */
/* MAPA Modern v5.0.0 R20 — softer blurred-image fill for News lists. */

/* Scope: Home > Aktualności and the main /aktualnosci/ list only. */
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:#e7e7e3!important;
}

body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media__blur,
body.mapa-interface-modern .mapa-news-list--archive .mapa-home-news-media__blur{
  position:absolute!important;
  inset:-18px!important;
  z-index:0!important;
  display:block!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  filter:blur(13px) saturate(.98) brightness(.9)!important;
  transform:scale(1.055)!important;
  opacity:.88!important;
  pointer-events:none!important;
}

body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur::before,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:rgba(255,255,255,.045)!important;
  pointer-events:none!important;
}

body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur::after,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur::after{
  display:none!important;
  content:none!important;
}

body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > img,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > picture,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media--blur > picture > img,
body.mapa-interface-modern .mapa-news-list--archive .mapa-home-news-media--blur > img,
body.mapa-interface-modern .mapa-news-list--archive .mapa-home-news-media--blur > picture,
body.mapa-interface-modern .mapa-news-list--archive .mapa-home-news-media--blur > picture > img{
  position:relative!important;
  z-index:2!important;
  background:transparent!important;
}

body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media.mapa-home-news-media--blur .mapa-news-row__image,
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-featured-news__media.mapa-home-news-media--blur img,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur .mapa-news-row__image{
  object-fit:contain!important;
  object-position:center!important;
}

@media (max-width:720px){
  body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-home-news-media__blur,
  body.mapa-interface-modern .mapa-news-list--archive .mapa-home-news-media__blur{
    filter:blur(11px) saturate(.96) brightness(.92)!important;
    opacity:.82!important;
  }
}

/* === bundled from assets/css/modern/modern-public-r21.css === */
/* MAPA Modern v5.0.0 R21 — header notification bell polish. */
body.mapa-interface-modern .site-header .mapa-header-notifications__trigger{
  border:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .site-header .mapa-header-notifications__trigger:hover,
body.mapa-interface-modern .site-header .mapa-header-notifications__trigger:focus-visible,
body.mapa-interface-modern .site-header .mapa-header-notifications[open] .mapa-header-notifications__trigger{
  border:0!important;
  box-shadow:none!important;
}

/* === bundled from assets/css/modern/modern-public-r22.css === */
/* MAPA Modern v5.0.0 R22 — global scroll-to-top control. */

body.mapa-interface-modern .mapa-modern-scroll-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 8500;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--mapa-modern-accent, #e20716);
  border-radius: 0;
  background: var(--mapa-modern-accent, #e20716);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease, background-color .18s ease;
}
body.mapa-interface-modern .mapa-modern-scroll-top[hidden] {
  display: none !important;
}
body.mapa-interface-modern .mapa-modern-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.mapa-interface-modern .mapa-modern-scroll-top svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
}
body.mapa-interface-modern .mapa-modern-scroll-top:hover {
  background: #ba0712;
}
body.mapa-interface-modern .mapa-modern-scroll-top:focus-visible {
  outline: 3px solid rgba(226, 7, 22, .22);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  body.mapa-interface-modern .mapa-modern-scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.mapa-interface-modern .mapa-modern-scroll-top {
    transition: none;
  }
}

/* === bundled from assets/css/modern/modern-only-r24.css === */
/* MAPA Modern v5.0.0 R24 — Modern-only product state. */

/* Defensive guard for browser/page caches that may still contain retired controls. */
body.mapa-interface-modern .mapa-header-theme-toggle,
body.mapa-interface-modern [data-mapa-theme-toggle],
body.mapa-interface-modern .mapa-member-appearance-preferences,
body.mapa-interface-modern .mapa-theme-choice-grid,
body.mapa-interface-modern .mapa-interface-choice-grid,
body.mapa-interface-modern .mapa-interface-preview-control {
  display:none!important;
}

/* Every MAPA Modern surface stays in the single supported light color scheme. */
body.mapa-interface-modern,
body.mapa-admin-screen.mapa-interface-modern,
body.login.mapa-interface-modern {
  color-scheme:light!important;
}

/* === bundled from assets/css/modern/modern-portal-r25.css === */
/* MAPA Modern v5.0.0 R25 — mobile Strefa MAPA width + calendar + More panel fixes. */

@media (max-width: 900px) {
  html,
  body.mapa-interface-modern {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.mapa-interface-modern :where(
    .mapa-member-portal-main,
    .mapa-member-portal-shell,
    .mapa-member-workspace,
    .mapa-member-workspace__content,
    .mapa-member-section,
    .mapa-calendar-v2
  ) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-portal-shell {
    overflow: visible !important;
  }

  body.mapa-interface-modern .mapa-member-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-hero-actions .mapa-button {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: center !important;
  }

  body.mapa-interface-modern :where(.mapa-global-search,.mapa-global-search-shell,.mapa-global-search form) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.mapa-interface-modern .mapa-global-search input[type="search"] {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__quick {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__quick > * {
    min-width: 0 !important;
  }

  /* Keep the expanded More sheet below the quick bar instead of covering it. */
  body.mapa-interface-modern .mapa-member-mobile-nav__panel {
    inset: auto !important;
    top: calc(var(--mapa-sticky-under-header, 68px) + 62px) !important;
    right: 10px !important;
    bottom: auto !important;
    left: 10px !important;
    z-index: 120 !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100dvh - var(--mapa-sticky-under-header, 68px) - 74px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background: #fff !important;
    border: 1px solid var(--mapa-modern-line) !important;
    border-top: 2px solid var(--mapa-modern-red) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    align-content: start !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel[hidden] {
    display: none !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    background: #fff !important;
    border-bottom: 1px solid var(--mapa-modern-line) !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-head strong {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-head span {
    margin-top: 2px !important;
    color: var(--mapa-modern-muted) !important;
    font-size: 12px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__close {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid var(--mapa-modern-line) !important;
    background: #fff !important;
    color: var(--mapa-modern-ink) !important;
    border-radius: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__groups {
    display: grid !important;
    align-content: start !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__section {
    display: grid !important;
    align-content: start !important;
    gap: 8px !important;
    min-height: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    color: #777770 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__label::before {
    content: "" !important;
    width: 18px !important;
    height: 2px !important;
    background: var(--mapa-modern-red) !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
    text-align: left !important;
    background: #fff !important;
    color: var(--mapa-modern-ink) !important;
    border: 1px solid var(--mapa-modern-line) !important;
    border-radius: 0 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link .mapa-member-nav-link__main {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link .dashicons {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #666660 !important;
    font-size: 18px !important;
    line-height: 18px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link .mapa-member-nav-link__text {
    min-width: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link:is(:hover,:focus-visible,.is-active) {
    border-color: rgba(226,7,22,.42) !important;
    background: #fff7f7 !important;
    color: #a30b15 !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link:is(:hover,:focus-visible,.is-active) .dashicons {
    color: var(--mapa-modern-red) !important;
  }

  /* Calendar must never be allowed to widen the whole Strefa MAPA page. */
  body.mapa-interface-modern .mapa-calendar-v2 {
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-member-heading-row,
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-toolbar,
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-filters,
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-break-manager,
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-agenda-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-member-heading-row > * {
    min-width: 0 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-member-heading-row h2 {
    max-width: 100% !important;
    font-size: clamp(28px, 7.5vw, 34px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-member-heading-row p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body.mapa-interface-modern .mapa-calendar-toolbar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  body.mapa-interface-modern .mapa-calendar-toolbar > strong {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    padding: 4px 0 !important;
    text-align: left !important;
    font-size: 20px !important;
  }

  body.mapa-interface-modern .mapa-calendar-toolbar .mapa-button {
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
    justify-content: center !important;
  }

  body.mapa-interface-modern .mapa-calendar-toolbar .mapa-button:last-child {
    grid-column: 1 / -1 !important;
  }

  body.mapa-interface-modern .mapa-calendar-filters {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.mapa-interface-modern .mapa-calendar-filters > * {
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.mapa-interface-modern .mapa-calendar-filters :where(select,input,button) {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  /* Mobile calendar becomes a compact list of active days instead of a 760px grid. */
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-weekdays {
    display: none !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day,
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day.is-empty {
    display: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day:has(.mapa-calendar-item),
  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day.is-today {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 6px 10px !important;
    align-items: start !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 10px !important;
    background: #fff !important;
    border: 1px solid var(--mapa-modern-line) !important;
    border-radius: 0 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day.is-today {
    border-left: 3px solid var(--mapa-modern-red) !important;
    background: #fff8f8 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day__number {
    grid-column: 1 !important;
    grid-row: 1 / span 20 !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-item {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 5px 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    background: #f7f7f4 !important;
    border: 0 !important;
    border-left: 2px solid #c7c7c1 !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-item > span {
    color: #777770 !important;
    font-size: 10px !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-item > strong {
    min-width: 0 !important;
    color: var(--mapa-modern-ink) !important;
    font-size: 12px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
  }

  body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day > small {
    grid-column: 2 !important;
    margin: 2px 0 0 !important;
    color: var(--mapa-modern-muted) !important;
  }

  body.mapa-interface-modern .mapa-calendar-agenda-head,
  body.mapa-interface-modern .mapa-calendar-agenda-list > a {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 430px) {
  body.mapa-interface-modern .mapa-member-mobile-nav__panel {
    right: 6px !important;
    left: 6px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__groups {
    padding: 12px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__links {
    gap: 6px !important;
  }

  body.mapa-interface-modern .mapa-member-mobile-nav__panel-link {
    min-height: 54px !important;
    padding: 9px 10px !important;
  }
}

/* === bundled from assets/css/modern/modern-portal-r26.css === */
/* MAPA Modern v5.0.0 R26 — mobile "Więcej" scroll reliability. */

@media (max-width: 1040px) {
  /*
   * Legacy mobile-menu code toggles mapa-mobile-more-open on html/body.
   * Do not freeze the document in Modern: mobile browsers with dynamic
   * browser chrome can otherwise leave the panel taller than the visual
   * viewport with neither page nor panel scroll available.
   */
  html.mapa-mobile-more-open,
  body.mapa-interface-modern.mapa-mobile-more-open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
  }

  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav.is-open,
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav.is-open {
    overflow: visible !important;
  }

  /*
   * Pin the panel between an explicit top and bottom instead of calculating
   * max-height from 100dvh. This behaves reliably on Android browsers where
   * the address/navigation bars dynamically change the visual viewport.
   */
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav__panel,
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav__panel {
    position: fixed !important;
    top: calc(var(--mapa-sticky-under-header, 68px) + 62px) !important;
    right: 8px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    scrollbar-gutter: stable !important;
    contain: layout paint !important;
  }

  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav__panel[hidden],
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav__panel[hidden] {
    display: none !important;
  }

  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav__panel-head,
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav__panel-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 4 !important;
  }

  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav__groups,
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav__groups {
    min-height: min-content !important;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 430px) {
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-member-mobile-nav__panel,
  body.mapa-interface-modern main.mapa-member-portal-main .mapa-management-mobile-nav__panel {
    right: 5px !important;
    left: 5px !important;
  }
}

/* === bundled from assets/css/modern/modern-audit-r27.css === */

/* MAPA Modern v5.0.0 R27 — final Modern-only portal/admin audit layer.
 * Purpose: structural legacy styles may remain loaded for layout/behaviour,
 * but no retired dark/rounded/shadow visual skin may win in Modern.
 */

:root{
  --mapa-r27-red:#e30613;
  --mapa-r27-red-soft:#fff4f4;
  --mapa-r27-ink:#171715;
  --mapa-r27-copy:#3f3f3a;
  --mapa-r27-muted:#707069;
  --mapa-r27-line:#deded8;
  --mapa-r27-line-strong:#c9c9c2;
  --mapa-r27-surface:#fff;
  --mapa-r27-soft:#f7f7f4;
  --mapa-r27-success:#167743;
  --mapa-r27-warning:#8a5a00;
  --mapa-r27-danger:#b10d17;
}

/* ---- Modern-only geometry contract ---- */
body.mapa-interface-modern.mapa-modern-portal-app [class*="mapa-"],
body.mapa-admin-screen.mapa-interface-modern [class*="mapa-"]{
  --mapa-radius:0px;
  --mapa-button-radius:0px;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(
  [class*="mapa-"][class*="card"],[class*="mapa-"][class*="panel"],
  [class*="mapa-"][class*="toolbar"],[class*="mapa-"][class*="filter"],
  [class*="mapa-"][class*="record"],[class*="mapa-"][class*="builder"],
  [class*="mapa-"][class*="shell"],[class*="mapa-"][class*="dialog"]
),
body.mapa-admin-screen.mapa-interface-modern :where(
  [class*="mapa-"][class*="card"],[class*="mapa-"][class*="panel"],
  [class*="mapa-"][class*="toolbar"],[class*="mapa-"][class*="filter"],
  [class*="mapa-"][class*="record"],[class*="mapa-"][class*="builder"],
  [class*="mapa-"][class*="shell"],[class*="mapa-"][class*="dialog"]
){
  border-radius:0!important;
  box-shadow:none!important;
}

/* ---- Forms: one control system everywhere ---- */
body.mapa-interface-modern.mapa-modern-portal-app :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=number],input[type=password],input[type=file],select,textarea),
body.mapa-admin-screen.mapa-interface-modern :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=number],input[type=password],input[type=file],select,textarea){
  min-height:40px!important;
  border:1px solid var(--mapa-r27-line-strong)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mapa-r27-ink)!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(textarea),
body.mapa-admin-screen.mapa-interface-modern :where(textarea){line-height:1.5!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(input,textarea)::placeholder,
body.mapa-admin-screen.mapa-interface-modern :where(input,textarea)::placeholder{color:#85857f!important;opacity:1!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(input,textarea,select):disabled,
body.mapa-interface-modern.mapa-modern-portal-app :where(input,textarea,select)[readonly],
body.mapa-admin-screen.mapa-interface-modern :where(input,textarea,select):disabled,
body.mapa-admin-screen.mapa-interface-modern :where(input,textarea,select)[readonly]{background:#f2f2ef!important;color:#72726c!important;-webkit-text-fill-color:#72726c!important;opacity:1!important}
body.mapa-interface-modern.mapa-modern-portal-app input[type=checkbox],
body.mapa-interface-modern.mapa-modern-portal-app input[type=radio],
body.mapa-admin-screen.mapa-interface-modern input[type=checkbox],
body.mapa-admin-screen.mapa-interface-modern input[type=radio]{
  appearance:auto!important;-webkit-appearance:auto!important;
  width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
  max-width:16px!important;max-height:16px!important;flex:0 0 16px!important;
  margin:2px 6px 2px 0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;
  accent-color:var(--mapa-r27-red)!important;vertical-align:middle!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-standard-check,.mapa-inline-check,.mapa-finance-check,.mapa-switch-check,.mapa-camp-checkbox,.mapa-role-permission-check),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-standard-check,.mapa-inline-check,.mapa-finance-check,.mapa-switch-check,.mapa-camp-checkbox,.mapa-role-permission-check){
  display:flex!important;align-items:flex-start!important;gap:8px!important;min-height:0!important;background:transparent!important;
}

/* ---- Buttons / actions / tabs ---- */
body.mapa-interface-modern.mapa-modern-portal-app :where(.button,.mapa-button,button):not(.mapa-lightbox__nav):not(.mapa-lightbox__close),
body.mapa-admin-screen.mapa-interface-modern :where(.button,.mapa-button,button){border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button,.mapa-button):not(.button-primary):not(.mapa-button--primary):not(.mapa-button-danger),
body.mapa-admin-screen.mapa-interface-modern :where(.button,.mapa-button):not(.button-primary):not(.mapa-button--primary):not(.mapa-button-danger){background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line-strong)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.button-primary,.mapa-button--primary,.mapa-button-danger,input[type=submit]),
body.mapa-admin-screen.mapa-interface-modern :where(.button-primary,.mapa-button--primary,.mapa-button-danger,input[type=submit]){background:var(--mapa-r27-red)!important;color:#fff!important;border-color:var(--mapa-r27-red)!important}

body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs){
  display:flex!important;gap:18px!important;flex-wrap:wrap!important;padding:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button){
  position:relative!important;min-height:40px!important;padding:9px 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#62625c!important;box-shadow:none!important;text-decoration:none!important;
}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button).is-active,
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button).is-active{color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button).is-active::after,
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-tabs,.mapa-report-tabs,.mapa-document-report-tabs,.mapa-document-tabs,.mapa-notification-filters,.mapa-scale-quickviews,.mapa-operations-tabs,.mapa-player-profile-tabs) :where(a,button).is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mapa-r27-red)}

/* ---- Tables and list records ---- */
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat),
body.mapa-admin-screen.mapa-interface-modern :where(table,.widefat){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;box-shadow:none!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat) thead th,
body.mapa-admin-screen.mapa-interface-modern :where(table,.widefat) thead th{background:#f2f2ef!important;color:#50504a!important;border-color:var(--mapa-r27-line)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(table,.widefat) tbody td,
body.mapa-admin-screen.mapa-interface-modern :where(table,.widefat) tbody td{background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important}
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-record-summary,.mapa-document-manager-item,.mapa-camp-admin-list__item,.mapa-member-consent-item),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-record-summary,.mapa-document-manager-item,.mapa-camp-admin-list__item,.mapa-member-consent-item){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* ---- Known legacy dark structural modules: Workflow, Reports, Training editor ---- */
body.mapa-interface-modern :where(.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell,.mapa-workflow-summary article,.mapa-workflow-toolbar,.mapa-workflow-row,.mapa-workflow-empty,.mapa-workflow-form,.mapa-workflow-detail-main,.mapa-workflow-detail-side,.mapa-workflow-comments article,.mapa-workflow-history>div,.mapa-workflow-facts>div,.mapa-workflow-state-form,.mapa-workflow-relations),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell,.mapa-workflow-summary article,.mapa-workflow-toolbar,.mapa-workflow-row,.mapa-workflow-empty,.mapa-workflow-form,.mapa-workflow-detail-main,.mapa-workflow-detail-side,.mapa-workflow-comments article,.mapa-workflow-history>div,.mapa-workflow-facts>div,.mapa-workflow-state-form,.mapa-workflow-relations){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-workflow-summary strong,.mapa-workflow-row__main h3,.mapa-workflow-empty strong,.mapa-workflow-detail-head h1,.mapa-workflow-facts strong,.mapa-workflow-history strong),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-summary strong,.mapa-workflow-row__main h3,.mapa-workflow-empty strong,.mapa-workflow-detail-head h1,.mapa-workflow-facts strong,.mapa-workflow-history strong){color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern :where(.mapa-workflow-summary span,.mapa-workflow-summary small,.mapa-workflow-row__meta,.mapa-workflow-empty p,.mapa-workflow-detail-head p,.mapa-workflow-field small,.mapa-workflow-history small),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-workflow-summary span,.mapa-workflow-summary small,.mapa-workflow-row__meta,.mapa-workflow-empty p,.mapa-workflow-detail-head p,.mapa-workflow-field small,.mapa-workflow-history small){color:var(--mapa-r27-muted)!important}

body.mapa-interface-modern :where(.mapa-reporting,.mapa-report-filters,.mapa-report-card,.mapa-report-kpis article,.mapa-report-money>div,.mapa-report-note,.mapa-report-preset,.mapa-report-table-wrap),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-reporting,.mapa-report-filters,.mapa-report-card,.mapa-report-kpis article,.mapa-report-money>div,.mapa-report-note,.mapa-report-preset,.mapa-report-table-wrap){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-report-kpis article>strong,.mapa-report-card strong,.mapa-report-money strong,.mapa-report-bar__head strong,.mapa-report-preset>a:first-child),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-report-kpis article>strong,.mapa-report-card strong,.mapa-report-money strong,.mapa-report-bar__head strong,.mapa-report-preset>a:first-child){color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern :where(.mapa-report-kpis article>span,.mapa-report-kpis article>small,.mapa-report-money span,.mapa-report-note,.mapa-report-list span,.mapa-report-bar__head span),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-report-kpis article>span,.mapa-report-kpis article>small,.mapa-report-money span,.mapa-report-note,.mapa-report-list span,.mapa-report-bar__head span){color:var(--mapa-r27-muted)!important}
body.mapa-interface-modern .mapa-report-bar__track,body.mapa-admin-screen.mapa-interface-modern .mapa-report-bar__track{background:#ecece8!important;border-radius:0!important}
body.mapa-interface-modern .mapa-report-bar__track>span,body.mapa-admin-screen.mapa-interface-modern .mapa-report-bar__track>span{background:var(--mapa-r27-red)!important;border-radius:0!important}

body.mapa-interface-modern :where(.mapa-training-editor-shell,.mapa-training-editor-toolbar,.mapa-training-editor-card,.mapa-training-editor-toggle,.mapa-training-editor-preview,.mapa-training-editor-preview__grid>div,.mapa-training-editor-footer),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-training-editor-shell,.mapa-training-editor-toolbar,.mapa-training-editor-card,.mapa-training-editor-toggle,.mapa-training-editor-preview,.mapa-training-editor-preview__grid>div,.mapa-training-editor-footer){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* ---- People picker: never inherit retired dark skin ---- */
body.mapa-interface-modern :where(.mapa-people-results,.mapa-people-filter-results,.mapa-people-filter-results--portal,.mapa-people-multi-toolbar,.mapa-people-chip,.mapa-people-single-value),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-people-results,.mapa-people-filter-results,.mapa-people-filter-results--portal,.mapa-people-multi-toolbar,.mapa-people-chip,.mapa-people-single-value){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-people-result),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-people-result){background:#fff!important;color:var(--mapa-r27-ink)!important;border-radius:0!important}
body.mapa-interface-modern :where(.mapa-people-result:hover,.mapa-people-result:focus),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-people-result:hover,.mapa-people-result:focus){background:var(--mapa-r27-red-soft)!important;color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern :where(.mapa-people-result small,.mapa-people-status),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-people-result small,.mapa-people-status){color:var(--mapa-r27-muted)!important}

/* ---- jQuery UI datepicker: canonical Modern light skin ---- */
body.mapa-interface-modern #ui-datepicker-div.ui-datepicker,
body.mapa-admin-screen.mapa-interface-modern #ui-datepicker-div.ui-datepicker{
  background:#fff!important;color:var(--mapa-r27-ink)!important;border:1px solid var(--mapa-r27-line-strong)!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern .ui-datepicker :where(.ui-datepicker-prev,.ui-datepicker-next),
body.mapa-admin-screen.mapa-interface-modern .ui-datepicker :where(.ui-datepicker-prev,.ui-datepicker-next){background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important}
body.mapa-interface-modern .ui-datepicker .ui-datepicker-title select,
body.mapa-admin-screen.mapa-interface-modern .ui-datepicker .ui-datepicker-title select{background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line-strong)!important;border-radius:0!important}
body.mapa-interface-modern .ui-datepicker td :where(span,a),
body.mapa-admin-screen.mapa-interface-modern .ui-datepicker td :where(span,a){background:transparent!important;color:var(--mapa-r27-ink)!important;border-radius:0!important}
body.mapa-interface-modern .ui-datepicker td .ui-state-active,
body.mapa-admin-screen.mapa-interface-modern .ui-datepicker td .ui-state-active{background:var(--mapa-r27-red)!important;color:#fff!important}
body.mapa-interface-modern .ui-datepicker .ui-datepicker-buttonpane button,
body.mapa-admin-screen.mapa-interface-modern .ui-datepicker .ui-datepicker-buttonpane button{background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important}

/* ---- Content/admin modules audited in R27 ---- */
body.mapa-interface-modern :where(
 .mapa-news-editor-form,.mapa-news-editor-toolbar,.mapa-document-form,.mapa-document-builder,.mapa-document-builder-section,
 .mapa-document-manager-item,.mapa-document-report-shell,.mapa-document-player-requirement,.mapa-document-repository-settings,
 .mapa-staff-v2-form,.mapa-record-actions-panel,.mapa-account-record,.mapa-accounts-list-card,.mapa-players-list-card,
 .mapa-membership-settings-form,.mapa-membership-register-card,.mapa-member-payment-card,.mapa-finance-settings-form,
 .mapa-finance-sibling-form,.mapa-finance-relief-form,.mapa-events-list-card,.mapa-event-score-admin,.mapa-event-staff-section,
 .mapa-camps-list-card,.mapa-camp-admin-section,.mapa-camp-package-admin,.mapa-camp-signup-editor,.mapa-consent-form-meta,
 .mapa-consent-parent-section,.mapa-privacy-member,.mapa-staffing-range-card,.mapa-staffing-absence-card,
 .mapa-staffing-availability-card,.mapa-staffing-sessions-card,.mapa-recipient-workspace,.mapa-communication-help,.mapa-communication-history
),
body.mapa-admin-screen.mapa-interface-modern :where(
 .mapa-news-editor-form,.mapa-news-editor-toolbar,.mapa-document-form,.mapa-document-builder,.mapa-document-builder-section,
 .mapa-document-manager-item,.mapa-document-report-shell,.mapa-document-player-requirement,.mapa-document-repository-settings,
 .mapa-staff-v2-form,.mapa-record-actions-panel,.mapa-account-record,.mapa-accounts-list-card,.mapa-players-list-card,
 .mapa-membership-settings-form,.mapa-membership-register-card,.mapa-member-payment-card,.mapa-finance-settings-form,
 .mapa-finance-sibling-form,.mapa-finance-relief-form,.mapa-events-list-card,.mapa-event-score-admin,.mapa-event-staff-section,
 .mapa-camps-list-card,.mapa-camp-admin-section,.mapa-camp-package-admin,.mapa-camp-signup-editor,.mapa-consent-form-meta,
 .mapa-consent-parent-section,.mapa-privacy-member,.mapa-staffing-range-card,.mapa-staffing-absence-card,
 .mapa-staffing-availability-card,.mapa-staffing-sessions-card,.mapa-recipient-workspace,.mapa-communication-help,.mapa-communication-history
){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* Checkbox / option grids: no giant legacy controls and no grey/black blocks. */
body.mapa-interface-modern :where(.mapa-checkbox-grid,.mapa-checkbox-grid--compact,.mapa-channel-checks,.mapa-participant-scope__choices,.mapa-role-checks,.mapa-identity-options,.mapa-permission-options),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-checkbox-grid,.mapa-checkbox-grid--compact,.mapa-channel-checks,.mapa-participant-scope__choices,.mapa-role-checks,.mapa-identity-options,.mapa-permission-options){background:transparent!important;color:var(--mapa-r27-copy)!important}
body.mapa-interface-modern :where(.mapa-checkbox-grid,.mapa-checkbox-grid--compact,.mapa-channel-checks,.mapa-participant-scope__choices,.mapa-role-checks,.mapa-identity-options,.mapa-permission-options)>label,
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-checkbox-grid,.mapa-checkbox-grid--compact,.mapa-channel-checks,.mapa-participant-scope__choices,.mapa-role-checks,.mapa-identity-options,.mapa-permission-options)>label{background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important;min-height:0!important}

/* Upload/media areas: flat white, readable, no inherited black background. */
body.mapa-interface-modern :where(.mapa-media-field,.mapa-file-picker,.mapa-camp-image-preview,.mapa-camp-gallery-preview,.mapa-account-avatar-editor,.mapa-staff-photo__preview),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-media-field,.mapa-file-picker,.mapa-camp-image-preview,.mapa-camp-gallery-preview,.mapa-account-avatar-editor,.mapa-staff-photo__preview){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* Status pills keep semantic colour but never dark-panel geometry. */
body.mapa-interface-modern :where(.mapa-status,.mapa-workflow-status,.mapa-workflow-priority),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-status,.mapa-workflow-status,.mapa-workflow-priority){border-radius:0!important;box-shadow:none!important}

/* Headings and helper copy must not inherit old white/grey-on-dark colours. */
body.mapa-interface-modern.mapa-modern-portal-app :where(.mapa-manager-heading,.mapa-settings-hero,.mapa-admin-card__head,.mapa-subsection-heading,.mapa-wizard-section-head,.mapa-recipient-section-head),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-manager-heading,.mapa-settings-hero,.mapa-admin-card__head,.mapa-subsection-heading,.mapa-wizard-section-head,.mapa-recipient-section-head){background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line)!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern :where(.description,.mapa-field-description,.mapa-save-hint,.mapa-inline-hint,.mapa-document-inline-note,.mapa-finance-payment-note,.mapa-staffing-reason),
body.mapa-admin-screen.mapa-interface-modern :where(.description,.mapa-field-description,.mapa-save-hint,.mapa-inline-hint,.mapa-document-inline-note,.mapa-finance-payment-note,.mapa-staffing-reason){color:var(--mapa-r27-muted)!important;line-height:1.5!important}

/* Responsive form grids audited across staff, players, finance, events and documents. */
@media(max-width:900px){
 body.mapa-interface-modern :where(.mapa-record-editor-grid,.mapa-record-detail-grid,.mapa-finance-settings-grid,.mapa-event-form-grid,.mapa-camp-form-grid,.mapa-document-builder-grid,.mapa-identity-grid,.mapa-login-branding-layout),
 body.mapa-admin-screen.mapa-interface-modern :where(.mapa-record-editor-grid,.mapa-record-detail-grid,.mapa-finance-settings-grid,.mapa-event-form-grid,.mapa-camp-form-grid,.mapa-document-builder-grid,.mapa-identity-grid,.mapa-login-branding-layout){grid-template-columns:1fr!important;min-width:0!important}
 body.mapa-interface-modern :where(.mapa-record-editor-grid,.mapa-record-detail-grid,.mapa-finance-settings-grid,.mapa-event-form-grid,.mapa-camp-form-grid,.mapa-document-builder-grid,.mapa-identity-grid,.mapa-login-branding-layout)>*,
 body.mapa-admin-screen.mapa-interface-modern :where(.mapa-record-editor-grid,.mapa-record-detail-grid,.mapa-finance-settings-grid,.mapa-event-form-grid,.mapa-camp-form-grid,.mapa-document-builder-grid,.mapa-identity-grid,.mapa-login-branding-layout)>*{min-width:0!important;max-width:100%!important}
}

/* ---- R27 second-pass: legacy admin.css structures that were still visibly dark ---- */
body.mapa-interface-modern :where(
  .mapa-record-details,.mapa-saved-view-capture,.mapa-saved-view-capture[open]>summary,
  .mapa-operations-summary article,.mapa-action-center-item,.mapa-saved-views-list>article,
  .mapa-event-rsvp-kpis>div,.mapa-season-stats>div,.mapa-season-options label,.mapa-season-context,
  .mapa-facebook-preview-card,.mapa-mail-logo-preview>div,.mapa-mail-debug-trace
),
body.mapa-admin-screen.mapa-interface-modern :where(
  .mapa-record-details,.mapa-saved-view-capture,.mapa-saved-view-capture[open]>summary,
  .mapa-operations-summary article,.mapa-action-center-item,.mapa-saved-views-list>article,
  .mapa-event-rsvp-kpis>div,.mapa-season-stats>div,.mapa-season-options label,.mapa-season-context,
  .mapa-facebook-preview-card,.mapa-mail-logo-preview>div,.mapa-mail-debug-trace
){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

body.mapa-interface-modern :where(
 .mapa-record-summary__identity strong,.mapa-operations-summary article strong,.mapa-action-center-item,.mapa-action-center-item>span strong,
 .mapa-saved-views-list>article strong,.mapa-event-rsvp-kpis strong,.mapa-season-stats strong,.mapa-season-options strong,
 .mapa-season-context strong,.mapa-season-context>a,.mapa-season-impact strong,
 .mapa-people-multi-toolbar__count strong,.mapa-training-editor-toolbar__summary strong,.mapa-training-editor-preview__head h4
),
body.mapa-admin-screen.mapa-interface-modern :where(
 .mapa-record-summary__identity strong,.mapa-operations-summary article strong,.mapa-action-center-item,.mapa-action-center-item>span strong,
 .mapa-saved-views-list>article strong,.mapa-event-rsvp-kpis strong,.mapa-season-stats strong,.mapa-season-options strong,
 .mapa-season-context strong,.mapa-season-context>a,.mapa-season-impact strong,
 .mapa-people-multi-toolbar__count strong,.mapa-training-editor-toolbar__summary strong,.mapa-training-editor-preview__head h4
){color:var(--mapa-r27-ink)!important}

body.mapa-interface-modern :where(.mapa-action-center-item:hover,.mapa-action-center-item:focus-visible),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-action-center-item:hover,.mapa-action-center-item:focus-visible){transform:none!important;background:var(--mapa-r27-red-soft)!important;color:var(--mapa-r27-ink)!important;border-color:#f2a5aa!important}
body.mapa-interface-modern .mapa-action-center-item>em,
body.mapa-admin-screen.mapa-interface-modern .mapa-action-center-item>em{background:var(--mapa-r27-soft)!important;color:var(--mapa-r27-ink)!important;border-radius:0!important}

body.mapa-interface-modern .mapa-season-integrations>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-season-integrations>span{background:#fff!important;color:var(--mapa-r27-copy)!important;border:1px solid var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* KPI families across players/documents/fees/events/consents/privacy/staffing. */
body.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div),
body.mapa-admin-screen.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div) strong,
body.mapa-admin-screen.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div) strong{color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div) :where(span,small),
body.mapa-admin-screen.mapa-interface-modern :where([class^="mapa-"][class*="kpis"],[class*=" mapa-"][class*="kpis"]) > :where(article,div) :where(span,small){color:var(--mapa-r27-muted)!important}

/* Frontend-manager disabled/read-only inputs must never inherit the old charcoal fill. */
body.mapa-interface-modern .mapa-frontend-manager-shell :where(input,textarea,select):disabled,
body.mapa-interface-modern .mapa-frontend-manager-shell :where(input,textarea,select)[readonly]{background:#f2f2ef!important;color:#72726c!important;border-color:var(--mapa-r27-line-strong)!important;-webkit-text-fill-color:#72726c!important;opacity:1!important}

/* Operations / reports / document filters use one Modern tab language, never black pills. */
body.mapa-interface-modern :where(.mapa-attendance-tabs,.mapa-consent-report-filters,.mapa-document-report-filters,.mapa-event-rsvp-filters,.mapa-member-filterbar),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-attendance-tabs,.mapa-consent-report-filters,.mapa-document-report-filters,.mapa-event-rsvp-filters,.mapa-member-filterbar){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* Media management remains functional but removes old round/shadow controls. */
body.mapa-interface-modern :where(.mapa-gallery-drag,.mapa-gallery-remove,.mapa-camp-gallery-preview button),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-gallery-drag,.mapa-gallery-remove,.mapa-camp-gallery-preview button){border-radius:0!important;box-shadow:none!important}

/* Keep Modern admin content readable on all native mapa_* WordPress screens. */
body.mapa-admin-screen.mapa-interface-modern :where(.postbox,.stuffbox,.card){border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-admin-screen.mapa-interface-modern :where(.postbox .inside,.stuffbox .inside){color:var(--mapa-r27-copy)!important}
body.mapa-admin-screen.mapa-interface-modern #poststuff :where(h1,h2,h3,.hndle){color:var(--mapa-r27-ink)!important}

/* ---- R27 portal route audit: profile/security/events/communication/document validation ---- */
body.mapa-interface-modern :where(
  .mapa-member-family-card,.mapa-member-group-card,.mapa-member-quick-grid>a,
  .mapa-member-event-rsvp-summary span,.mapa-member-v4-quick-actions>a,
  .mapa-member-v4-activity,.mapa-member-v4-todo,.mapa-member-v4-todo__icon,.mapa-member-v4-todo__action,
  .mapa-recovery-code-grid code,.mapa-document-validation-summary,
  .mapa-events-admin .mapa-manager-heading,.mapa-events-admin .mapa-manager-tip,.mapa-events-admin .mapa-event-admin-stats>div,
  .mapa-events-admin .mapa-event-admin-stats>a,.mapa-events-admin .mapa-admin-card,.mapa-events-admin .mapa-admin-card__head,
  .mapa-events-admin .mapa-event-fieldset,.mapa-events-admin .mapa-check-card,.mapa-events-admin .mapa-checkbox-grid>label,
  .mapa-events-admin .mapa-event-image-preview,.mapa-recipient-chip,.mapa-comm-preview__summary span,.mapa-comm-job-kpis span
){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

body.mapa-interface-modern :where(
 .mapa-member-auth-form label>span,.mapa-member-password-form label>span,.mapa-member-profile-form label>span,
 .mapa-member-family-card__head h4,.mapa-member-group-card h4,.mapa-member-group-metrics strong,
 .mapa-event-facts b,.mapa-member-event-rsvp-summary strong,.mapa-member-event-attendance strong,
 .mapa-events-admin .mapa-manager-heading h1,.mapa-events-admin .mapa-manager-tip,.mapa-events-admin .mapa-manager-tip strong,
 .mapa-events-admin .mapa-event-admin-stats>div,.mapa-events-admin .mapa-event-admin-stats>a,
 .mapa-events-admin .mapa-panel-copy strong,.mapa-events-admin .mapa-admin-card__head h2,
 .mapa-events-admin .mapa-event-form-grid label>span,.mapa-events-admin .mapa-event-fieldset>span,
 .mapa-events-admin .mapa-event-groups>span,.mapa-events-admin .mapa-event-image>span,
 .mapa-security-mfa-v2 form label>span,.mapa-totp-setup label>span,.mapa-recovery-code-grid code,
 .mapa-member-v4-switcher button,.mapa-member-v4-quick-actions>a,.mapa-member-v4-activity,.mapa-member-v4-todo,
 .mapa-member-v4-empty strong,.mapa-document-validation-summary strong,.mapa-comm-preview__summary strong,.mapa-comm-job-kpis strong
){color:var(--mapa-r27-ink)!important}

body.mapa-interface-modern :where(
 .mapa-member-auth-form input,.mapa-member-password-form input,.mapa-member-profile-form input,
 .mapa-security-mfa-v2 input[type=password],.mapa-security-mfa-v2 input[type=text],
 .mapa-member-compose .mapa-comm-template-picker select,.mapa-recipient-search-field input,.mapa-recipient-search-toolbar select
){background:#fff!important;color:var(--mapa-r27-ink)!important;border:1px solid var(--mapa-r27-line-strong)!important;border-radius:0!important;box-shadow:none!important}

body.mapa-interface-modern .mapa-events-admin :where(input,textarea,select){background:#fff!important;color:var(--mapa-r27-ink)!important;border-color:var(--mapa-r27-line-strong)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-events-admin .mapa-event-table a{color:#b9000b!important}
body.mapa-interface-modern .mapa-events-admin .mapa-event-table a:hover{color:#e30613!important}

body.mapa-interface-modern .mapa-member-group-metrics span,
body.mapa-interface-modern .mapa-member-v4-switcher button{background:#fff!important;color:var(--mapa-r27-copy)!important;border:1px solid var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-member-v4-switcher button:is(:hover,.is-active){background:var(--mapa-r27-red-soft)!important;color:var(--mapa-r27-ink)!important;border-color:#f0a0a6!important}
body.mapa-interface-modern .mapa-member-v4-activity:hover,
body.mapa-interface-modern .mapa-member-v4-todo:hover{background:var(--mapa-r27-soft)!important;color:var(--mapa-r27-ink)!important}
body.mapa-interface-modern .mapa-member-v4-todo.is-urgent{background:var(--mapa-r27-red-soft)!important}
body.mapa-interface-modern .mapa-member-v4-empty{color:var(--mapa-r27-muted)!important}
body.mapa-interface-modern .mapa-document-validation-summary{background:#fff5f5!important;color:var(--mapa-r27-danger)!important;border-color:#efb3b7!important}

body.mapa-interface-modern .mapa-recipient-chip button{background:#fff!important;color:var(--mapa-r27-ink)!important;border:1px solid var(--mapa-r27-line)!important;border-radius:0!important}
body.mapa-interface-modern .mapa-comm-template-picker small,
body.mapa-interface-modern .mapa-member-v4-activity__copy small,
body.mapa-interface-modern .mapa-member-v4-todo__copy small,
body.mapa-interface-modern .mapa-member-v4-activity__copy em,
body.mapa-interface-modern .mapa-member-v4-todo__copy em{color:var(--mapa-r27-muted)!important}

/* Legal/privacy editors and content previews: white documents, normal reading contrast. */
body.mapa-interface-modern :where(.mapa-legal-document__body,.mapa-legal-scroll,.mapa-privacy-document-editor,.mapa-privacy-document-preview),
body.mapa-admin-screen.mapa-interface-modern :where(.mapa-legal-document__body,.mapa-legal-scroll,.mapa-privacy-document-editor,.mapa-privacy-document-preview){background:#fff!important;color:var(--mapa-r27-copy)!important;border-color:var(--mapa-r27-line)!important;border-radius:0!important;box-shadow:none!important}

/* Remove stale white label used by the legacy mail logo editor. */
body.mapa-interface-modern .mapa-frontend-manager-shell .mapa-mail-logo-width>span,
body.mapa-interface-modern .mapa-frontend-manager-shell .mapa-mail-logo-preview>span{color:var(--mapa-r27-ink)!important}

/* === bundled from assets/css/modern/modern-portal-r28.css === */
/* MAPA Modern v5.0.0 R28 — mobile dashboard alignment polish. */

@media (max-width:760px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns{
    min-width:0!important;
    width:100%!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-overview-block{
    min-width:0!important;
    width:100%!important;
    text-align:left!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-subheading{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    text-align:left!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-subheading > div,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-subheading :where(.mapa-member-card-kicker,h3),
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-subheading > a{
    align-self:flex-start!important;
    width:auto!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-mini-list,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-mini-list > *,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-overview-columns .mapa-member-empty{
    text-align:left!important;
  }
}

/* === bundled from assets/css/modern/modern-polish-r29.css === */
/* MAPA Modern v5.0.0 R29 — portal polish, communication wizard and component consistency. */

/* Recruitment privacy notice: keep the MAPA notice, remove inherited white strip behind its text. */
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-privacy-notice :where(p,span,strong,em,a){
  background:transparent!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-recruitment-page .mapa-form-privacy-notice p{margin:0!important}

/* Staff public profile: readable group panel and tags. */
body.mapa-interface-modern .mapa-staff-profile-panel{
  background:#fff!important;
  color:#171714!important;
  border-color:#d9d9d3!important;
}
body.mapa-interface-modern .mapa-staff-profile-panel>.mapa-eyebrow{
  color:#c90012!important;
  opacity:1!important;
  font-weight:850!important;
  letter-spacing:.12em!important;
}
body.mapa-interface-modern .mapa-staff-profile-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:14px!important}
body.mapa-interface-modern .mapa-staff-profile-tags>span{
  display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:6px 11px!important;
  background:#fff5f5!important;color:#7f0912!important;border:1px solid #efb4b8!important;border-radius:0!important;
  font-weight:750!important;opacity:1!important;
}

/* Strefa MAPA global search sits on white, never on inherited grey/black wrapper. */
body.mapa-interface-modern :where(.mapa-global-search,.mapa-global-search-shell),
body.mapa-interface-modern .mapa-member-management-main :where(.mapa-global-search,.mapa-global-search-shell){
  background:#fff!important;
  box-shadow:none!important;
}

/* Calendar: every day gets a subtle, visible boundary. */
body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-grid{gap:0!important;background:#fff!important;border:0!important}
body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day{
  border:1px solid #e1e1dc!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day.is-outside,
body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day[aria-disabled=true]{background:#fafaf8!important}
body.mapa-interface-modern .mapa-calendar-v2 .mapa-calendar-day.is-today{border-color:#e30613!important;outline:0!important;background:#fff7f7!important}

/* Polish, consistent file picker replacing browser English strings. */
body.mapa-interface-modern .mapa-file-input,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input{
  position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;
  width:min(100%,680px)!important;min-height:44px!important;border:1px solid #d6d6d0!important;background:#fff!important;
}
body.mapa-interface-modern .mapa-file-input__native,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input__native{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:2!important;
}
body.mapa-interface-modern .mapa-file-input__button,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input__button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;
  min-width:118px!important;padding:0 14px!important;background:#f2f2ee!important;color:#171714!important;border-right:1px solid #d6d6d0!important;
  font-weight:750!important;white-space:nowrap!important;
}
body.mapa-interface-modern .mapa-file-input__name,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input__name{
  display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#6f6f69!important;font-size:13px!important;padding-right:12px!important;
}
body.mapa-interface-modern .mapa-file-input:focus-within,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input:focus-within{border-color:#e30613!important;outline:2px solid rgba(227,6,19,.12)!important;outline-offset:1px!important}
body.mapa-interface-modern .mapa-file-input.has-file .mapa-file-input__name,
body.mapa-admin-screen.mapa-interface-modern .mapa-file-input.has-file .mapa-file-input__name{color:#272724!important;font-weight:650!important}

/* Communication wizard: each step starts with a real, spaced heading bar. */
body.mapa-interface-modern .mapa-wizard-section-head,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-section-head{
  display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:13px!important;
  margin:0 0 20px!important;padding:14px 0!important;border:0!important;border-top:1px solid #d9d9d3!important;border-bottom:1px solid #d9d9d3!important;
  background:#fff!important;color:#171714!important;
}
body.mapa-interface-modern .mapa-wizard-section-head>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-section-head>span{
  display:grid!important;place-items:center!important;width:30px!important;height:30px!important;margin:0!important;
  background:#e30613!important;color:#fff!important;font-weight:850!important;font-size:13px!important;border-radius:0!important;
}
body.mapa-interface-modern .mapa-wizard-section-head>div,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-section-head>div{display:grid!important;gap:3px!important;min-width:0!important}
body.mapa-interface-modern .mapa-wizard-section-head strong,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-section-head strong{display:block!important;color:#171714!important;font-size:17px!important;line-height:1.2!important;font-weight:800!important}
body.mapa-interface-modern .mapa-wizard-section-head small,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-section-head small{display:block!important;color:#666660!important;font-size:13px!important;line-height:1.45!important;font-weight:400!important}

/* Progress labels remain separated instead of concatenating number/title/copy. */
body.mapa-interface-modern .mapa-comm-wizard-progress>button,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-progress>button{
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  column-gap:10px!important;row-gap:1px!important;align-items:center!important;text-align:left!important;padding:11px 12px!important;
}
body.mapa-interface-modern .mapa-comm-wizard-progress>button>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-progress>button>span{grid-column:1!important;grid-row:1/3!important;margin:0!important}
body.mapa-interface-modern .mapa-comm-wizard-progress>button>b,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-progress>button>b{grid-column:2!important;grid-row:1!important;display:block!important;line-height:1.25!important}
body.mapa-interface-modern .mapa-comm-wizard-progress>button>small,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-progress>button>small{grid-column:2!important;grid-row:2!important;display:block!important;line-height:1.25!important;color:#74746e!important}

/* Step 3: scheduling field truly disappears for 'Wyślij teraz'. */
body.mapa-interface-modern [data-mapa-schedule-field][hidden],
body.mapa-admin-screen.mapa-interface-modern [data-mapa-schedule-field][hidden],
body.mapa-interface-modern .mapa-wizard-next[hidden],
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-next[hidden],
body.mapa-interface-modern [data-mapa-comm-wizard-submit][hidden],
body.mapa-admin-screen.mapa-interface-modern [data-mapa-comm-wizard-submit][hidden]{display:none!important}

/* Step 4: structured review cards with visible labels and spacing. */
body.mapa-interface-modern .mapa-comm-wizard-review,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:0!important;
  border:1px solid #d9d9d3!important;background:#fff!important;
}
body.mapa-interface-modern .mapa-comm-wizard-review>article,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review>article{
  display:grid!important;align-content:start!important;gap:7px!important;min-width:0!important;padding:18px!important;background:#fff!important;
  border:0!important;border-right:1px solid #d9d9d3!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern .mapa-comm-wizard-review>article:last-child,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review>article:last-child{border-right:0!important}
body.mapa-interface-modern .mapa-comm-wizard-review article>span,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review article>span{color:#c60012!important;font-size:10px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.1em!important}
body.mapa-interface-modern .mapa-comm-wizard-review article>strong,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review article>strong{display:block!important;color:#171714!important;font-size:16px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
body.mapa-interface-modern .mapa-comm-wizard-review article>small,
body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review article>small{display:block!important;color:#666660!important;line-height:1.45!important;overflow-wrap:anywhere!important}

/* Wizard actions: status has breathing room; final action is the red primary action, no 'Dalej' on step 4. */
body.mapa-interface-modern .mapa-wizard-actions,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:20px!important;padding-top:18px!important;border-top:1px solid #deded8!important}
body.mapa-interface-modern .mapa-wizard-actions__right,
body.mapa-admin-screen.mapa-interface-modern .mapa-wizard-actions__right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex-wrap:wrap!important}
body.mapa-interface-modern [data-mapa-comm-wizard-status],
body.mapa-admin-screen.mapa-interface-modern [data-mapa-comm-wizard-status]{display:inline-block!important;margin:0 4px 0 0!important;color:#666660!important;white-space:nowrap!important}
body.mapa-interface-modern [data-mapa-comm-wizard-submit],
body.mapa-admin-screen.mapa-interface-modern [data-mapa-comm-wizard-submit]{background:#e30613!important;color:#fff!important;border:1px solid #e30613!important;font-weight:800!important;min-height:44px!important;padding:0 18px!important}

/* Separate compose launcher/page. */
body.mapa-interface-modern .mapa-member-compose-launch{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:20px!important;background:#fff!important;border:1px solid #d9d9d3!important}
body.mapa-interface-modern .mapa-member-compose-launch h3{margin:3px 0 5px!important}
body.mapa-interface-modern .mapa-member-compose-launch p{margin:0!important}
body.mapa-interface-modern .mapa-member-communication-wizard--standalone{padding:22px!important;border:1px solid #d9d9d3!important;background:#fff!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-communication-launch__body{padding:20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-communication-launch__body p{margin:0!important;color:#666660!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-communication-compose-page>.button{margin:0 0 16px!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-communication-compose-card{padding-bottom:20px!important}

/* Admin message-template CRUD. */
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-manager__layout{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)!important;gap:28px!important;padding:20px!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-manager__list{display:grid!important;align-content:start!important;border-top:1px solid #deded8!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:13px 0!important;border-bottom:1px solid #deded8!important;background:#fff!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-row>div:first-child{display:grid!important;gap:3px!important;min-width:0!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-row small{color:#71716b!important;overflow-wrap:anywhere!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-row__actions{display:flex!important;gap:7px!important;flex:0 0 auto!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form{display:grid!important;gap:13px!important;padding-left:24px!important;border-left:1px solid #deded8!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form label{display:grid!important;gap:6px!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form label>span{font-weight:750!important;color:#30302d!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding-bottom:10px!important;border-bottom:1px solid #deded8!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form__head strong{font-size:18px!important}
body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}

/* Document Repository: restore the structural Explorer layout inside Modern (old compatibility CSS is intentionally disabled). */
body.mapa-interface-modern .mapa-document-repository,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository{display:grid!important;gap:0!important;width:100%!important;background:#fff!important;border:1px solid #d9d9d3!important}
body.mapa-interface-modern .mapa-document-repository__toolbar,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__toolbar{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;padding:20px!important;border-bottom:1px solid #d9d9d3!important;background:#fff!important}
body.mapa-interface-modern .mapa-document-repository__toolbar>div,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__toolbar>div{min-width:0!important}
body.mapa-interface-modern .mapa-document-repository__toolbar h3,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__toolbar h3{margin:4px 0 5px!important;color:#171714!important}
body.mapa-interface-modern .mapa-document-repository__toolbar p,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__toolbar p{margin:0!important;color:#686862!important;max-width:760px!important}
body.mapa-interface-modern .mapa-document-repository__address,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__address{display:flex!important;align-items:center!important;gap:7px!important;min-height:44px!important;padding:10px 14px!important;background:#f7f7f4!important;border:0!important;border-bottom:1px solid #d9d9d3!important;overflow-x:auto!important;white-space:nowrap!important}
body.mapa-interface-modern .mapa-document-repository__grid,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:12px!important;padding:16px!important;border:0!important;background:#fff!important}
body.mapa-interface-modern .mapa-document-repo-entry,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry{position:relative!important;display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;min-height:82px!important;padding:14px!important;border:1px solid #d9d9d3!important;border-radius:0!important;background:#fff!important;color:#171714!important;text-decoration:none!important;box-shadow:none!important;overflow:hidden!important}
body.mapa-interface-modern .mapa-document-repo-entry:hover,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry:hover{border-color:#e30613!important;background:#fffafa!important}
body.mapa-interface-modern .mapa-document-repo-entry>span:nth-child(2),
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry>span:nth-child(2){display:grid!important;gap:3px!important;min-width:0!important;flex:1!important}
body.mapa-interface-modern .mapa-document-repo-entry strong,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry strong{display:block!important;color:#171714!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.mapa-interface-modern .mapa-document-repo-entry small,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry small{display:block!important;color:#6c6c66!important;line-height:1.4!important}
body.mapa-interface-modern .mapa-document-repo-folder-icon,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-folder-icon{display:grid!important;place-items:center!important;flex:0 0 48px!important;width:48px!important;height:42px!important;overflow:hidden!important}
body.mapa-interface-modern .mapa-document-repo-folder-icon svg,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-folder-icon svg{display:block!important;width:44px!important;height:38px!important;max-width:44px!important;max-height:38px!important;overflow:visible!important}
body.mapa-interface-modern .mapa-document-repo-folder-icon path:first-child,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-folder-icon path:first-child{fill:#fff0f1!important;stroke:#e30613!important;stroke-width:1.5!important}
body.mapa-interface-modern .mapa-document-repo-folder-icon path:last-child,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-folder-icon path:last-child{fill:none!important;stroke:#e30613!important;stroke-width:1.5!important}
body.mapa-interface-modern .mapa-document-repo-entry--file,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-entry--file{grid-column:1/-1!important;display:grid!important;grid-template-columns:50px minmax(0,1fr) 34px!important;min-height:76px!important}
body.mapa-interface-modern .mapa-document-repo-file-icon,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-file-icon{position:relative!important;display:grid!important;place-items:center!important;width:44px!important;height:52px!important;overflow:hidden!important}
body.mapa-interface-modern .mapa-document-repo-file-icon svg,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-file-icon svg{position:absolute!important;inset:3px 4px!important;width:36px!important;height:46px!important;max-width:36px!important;max-height:46px!important}
body.mapa-interface-modern .mapa-document-repo-file-icon svg path,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-file-icon svg path{fill:#f5f5f2!important;stroke:#aaa9a3!important;stroke-width:1.5!important}
body.mapa-interface-modern .mapa-document-repo-file-icon b,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-file-icon b{position:relative!important;z-index:1!important;margin-top:10px!important;padding:2px 4px!important;background:#e30613!important;color:#fff!important;font-size:8px!important;line-height:1!important}
body.mapa-interface-modern .mapa-document-repo-download,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repo-download{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;color:#e30613!important;font-size:22px!important;font-weight:800!important}
body.mapa-interface-modern .mapa-document-repository__empty,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__empty{grid-column:1/-1!important}

@media (max-width:900px){
  body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-manager__layout{grid-template-columns:1fr!important}
  body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form{padding-left:0!important;padding-top:20px!important;border-left:0!important;border-top:1px solid #deded8!important}
  body.mapa-admin-screen.mapa-interface-modern .mapa-message-template-form__grid{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-comm-wizard-review,
  body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-comm-wizard-review>article,
  body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review>article{border-right:0!important;border-bottom:1px solid #d9d9d3!important}
  body.mapa-interface-modern .mapa-comm-wizard-review>article:last-child,
  body.mapa-admin-screen.mapa-interface-modern .mapa-comm-wizard-review>article:last-child{border-bottom:0!important}
}

@media (max-width:760px){
  body.mapa-interface-modern .mapa-member-compose-launch{display:grid!important;grid-template-columns:1fr!important;padding:16px!important}
  body.mapa-interface-modern .mapa-member-compose-launch .mapa-button{width:100%!important;justify-content:center!important}
  body.mapa-interface-modern .mapa-member-communication-wizard--standalone{padding:14px!important}
  body.mapa-interface-modern .mapa-comm-wizard-progress{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern .mapa-wizard-actions{align-items:stretch!important}
  body.mapa-interface-modern .mapa-wizard-actions__right{flex:1!important;display:grid!important;grid-template-columns:1fr!important;justify-items:stretch!important}
  body.mapa-interface-modern [data-mapa-comm-wizard-status]{margin:0!important;text-align:center!important}
  body.mapa-interface-modern .mapa-wizard-actions :where(button,.mapa-button){width:100%!important;justify-content:center!important}
  body.mapa-interface-modern .mapa-document-repository__toolbar{display:grid!important;padding:16px!important}
  body.mapa-interface-modern .mapa-document-repository__toolbar>.mapa-button{width:100%!important;justify-content:center!important}
  body.mapa-interface-modern .mapa-document-repository__grid{grid-template-columns:1fr!important;padding:12px!important}
  body.mapa-interface-modern .mapa-file-input{width:100%!important}
}

/* === bundled from assets/css/modern/modern-polish-r31.css === */
/* MAPA Modern v5.0.0 R31 — Communication page polish and global search surface. */

/* Global MAPA search: keep both the shell and the actual field white. */
body.mapa-interface-modern :where(.mapa-global-search,.mapa-global-search-shell),
body.mapa-interface-modern .mapa-member-management-main :where(.mapa-global-search,.mapa-global-search-shell){
  background:#fff!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-global-search__field,
body.mapa-interface-modern .mapa-member-management-main .mapa-global-search__field{
  background:#fff!important;
  border:1px solid #d9d9d3!important;
  border-bottom-color:#bdbdb6!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-global-search__field:focus-within,
body.mapa-interface-modern .mapa-member-management-main .mapa-global-search__field:focus-within{
  background:#fff!important;
  border-color:#c9c9c2!important;
  border-bottom-color:#e30613!important;
}
body.mapa-interface-modern .mapa-global-search__field :where(input[type="search"],input[type="text"]),
body.mapa-interface-modern .mapa-member-management-main .mapa-global-search__field :where(input[type="search"],input[type="text"]){
  background:#fff!important;
  color:#171714!important;
}

/* Messages landing page — use the same clean, structured card language as the rest of Strefa MAPA. */
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:28px!important;
  min-height:118px!important;
  margin:0 0 18px!important;
  padding:22px 24px!important;
  background:#fff!important;
  border:1px solid #d9d9d3!important;
  border-left:3px solid #e30613!important;
  box-shadow:none!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch>div{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch .mapa-member-card-kicker{
  display:block!important;
  margin:0!important;
  color:#c60012!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  letter-spacing:.1em!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch h3{
  margin:0!important;
  color:#171714!important;
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch p{
  margin:2px 0 0!important;
  color:#666660!important;
  line-height:1.5!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch>a.mapa-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:0 19px!important;
  background:#e30613!important;
  color:#fff!important;
  border:1px solid #e30613!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch>a.mapa-button:hover,
body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch>a.mapa-button:focus-visible{
  background:#bd0010!important;
  border-color:#bd0010!important;
  color:#fff!important;
}

/* Scheduled-message overview: real KPI tiles instead of small inline counters. */
body.mapa-interface-modern #wiadomosci .mapa-comm-schedule-center{
  margin:0 0 18px!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
body.mapa-interface-modern #wiadomosci .mapa-comm-schedule-center>h4{
  margin:0!important;
  padding:16px 0 12px!important;
  border-bottom:1px solid #d9d9d3!important;
  color:#171714!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  border:1px solid #d9d9d3!important;
  border-top:0!important;
  background:#fff!important;
}
body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span{
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  min-height:94px!important;
  padding:16px 18px!important;
  border-right:1px solid #d9d9d3!important;
  background:#fff!important;
  color:#666660!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span:last-child{border-right:0!important}
body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span>strong{
  display:block!important;
  color:#171714!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:700!important;
}
body.mapa-interface-modern #wiadomosci .mapa-comm-schedule-center>.mapa-empty-admin{
  margin:0!important;
  padding:16px 18px!important;
  border:1px solid #d9d9d3!important;
  border-top:0!important;
  background:#fff!important;
  color:#666660!important;
}

/* Message filters: Modern tab bar, never old dark pills. */
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  flex-wrap:wrap!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid #d9d9d3!important;
  background:#fff!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:42px!important;
  padding:0 14px!important;
  background:#fff!important;
  color:#5e5e59!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:700!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a:hover,
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a:focus-visible{
  color:#171714!important;
  background:#fff!important;
  border-bottom-color:#ef9aa1!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a.is-active{
  color:#171714!important;
  background:#fff!important;
  border-bottom-color:#e30613!important;
}
body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a>span{
  display:inline-grid!important;
  place-items:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  background:#f2f2ee!important;
  color:#666660!important;
  border:0!important;
  border-radius:0!important;
  font-size:10px!important;
  line-height:1!important;
}

/* Standalone communication wizard: no extra frame around the whole content. */
body.mapa-interface-modern .mapa-member-communication-compose-page .mapa-member-communication-wizard--standalone,
body.mapa-interface-modern .mapa-member-communication-compose-page>.mapa-member-panel.mapa-member-compose{
  margin-top:0!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

@media (max-width:820px){
  body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:18px!important;
  }
  body.mapa-interface-modern #wiadomosci .mapa-member-compose-launch>a.mapa-button{width:100%!important}
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis{grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span:nth-child(2){border-right:0!important}
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span:nth-child(-n+2){border-bottom:1px solid #d9d9d3!important}
}

@media (max-width:520px){
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis{grid-template-columns:1fr!important}
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span{
    min-height:76px!important;
    border-right:0!important;
    border-bottom:1px solid #d9d9d3!important;
  }
  body.mapa-interface-modern #wiadomosci .mapa-comm-job-kpis>span:last-child{border-bottom:0!important}
  body.mapa-interface-modern #wiadomosci .mapa-member-filterbar{display:grid!important;grid-template-columns:1fr 1fr!important}
  body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a{justify-content:space-between!important;border-bottom:1px solid #e4e4df!important}
  body.mapa-interface-modern #wiadomosci .mapa-member-filterbar>a.is-active{border-bottom:2px solid #e30613!important}
}

/* === bundled from assets/css/modern/modern-polish-r32.css === */
/* MAPA Modern v5.0.0 R32 — AJAX document repository feedback. */

body.mapa-interface-modern .mapa-document-repository,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository{
  position:relative;
  min-height:180px;
}

body.mapa-interface-modern .mapa-document-repository.is-loading .mapa-document-repository__address,
body.mapa-interface-modern .mapa-document-repository.is-loading .mapa-document-repository__grid,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository.is-loading .mapa-document-repository__address,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository.is-loading .mapa-document-repository__grid{
  opacity:.48;
  pointer-events:none;
}

body.mapa-interface-modern .mapa-document-repository.is-loading::after,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository.is-loading::after{
  content:"Otwieram folder…";
  position:absolute;
  z-index:5;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 15px;
  background:#fff;
  color:#171714;
  border:1px solid #d9d9d3;
  border-left:3px solid #e30613;
  box-shadow:none;
  font-size:13px;
  font-weight:750;
  white-space:nowrap;
}

body.mapa-interface-modern .mapa-document-repository__live,
body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository__live{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media (prefers-reduced-motion:reduce){
  body.mapa-interface-modern .mapa-document-repository *,
  body.mapa-admin-screen.mapa-interface-modern .mapa-document-repository *{
    transition:none!important;
  }
}

/* === bundled from assets/css/modern/modern-polish-r33.css === */
/* MAPA Modern v5.0.0 R33 — Strefa MAPA sidebar/search parity with Dashboard zarządczy. */

body.mapa-interface-modern.mapa-modern-member-view{
  --mapa-member-sidebar:286px;
  --mapa-member-gutter:clamp(24px,2.6vw,48px);
  background:#fff!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-portal-shell{
  padding-inline:0!important;
}

/* Search bar — align the member portal utility search with the management shell. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search-shell{
  margin:0!important;
  padding:11px var(--mapa-member-gutter)!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #d8d8d2!important;
  box-shadow:none!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field{
  min-height:44px!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus-within{
  background:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search :where(input[type="search"],input[type="text"]){
  min-height:42px!important;
  background:transparent!important;
  border:0!important;
  color:#171714!important;
  font-size:14px!important;
  padding-inline:10px!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search .dashicons{
  color:#8a8a83!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search kbd{
  background:#fff!important;
  border:1px solid #d1d1cb!important;
  border-radius:0!important;
  color:#777770!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__results{
  border:1px solid #d8d8d2!important;
  border-top:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Sidebar — use the same visual system as the management dashboard. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace{
  grid-template-columns:var(--mapa-member-sidebar) minmax(0,1fr)!important;
  gap:0!important;
  margin:0!important;
  background:#fff!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs{
  top:var(--mapa-sticky-under-header,78px)!important;
  height:calc(100vh - var(--mapa-sticky-under-header,78px))!important;
  padding:24px 0 36px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #d8d8d2!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  scrollbar-color:#c7c7c0 transparent;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__header{
  padding:0 24px 21px!important;
  border-bottom:1px solid #e3e3de!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__header strong{
  font-size:17px!important;
  letter-spacing:-.02em!important;
  color:#171714!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__header span{
  margin-top:3px!important;
  font-size:9px!important;
  letter-spacing:.13em!important;
  color:#8b8b84!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__group{
  padding:22px 14px 0!important;
  border:0!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__label{
  padding:0 10px 8px!important;
  color:#8b8b84!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.13em!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs__links{
  gap:2px!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link{
  position:relative;
  min-height:46px!important;
  padding:9px 12px!important;
  border:0!important;
  border-left:2px solid transparent!important;
  background:transparent!important;
  color:#4a4a45!important;
  font-size:13px!important;
  font-weight:690!important;
  line-height:1.2!important;
  border-radius:0!important;
  box-shadow:none!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link__main{
  gap:11px!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link .dashicons{
  flex:0 0 19px!important;
  width:19px!important;
  height:19px!important;
  font-size:19px!important;
  color:#8a8a83!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link:hover{
  background:#f5f5f2!important;
  color:#171714!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link.is-active,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link[href^="#"]:target{
  background:#f1f1ed!important;
  border-left-color:#e30613!important;
  color:#171714!important;
  font-weight:800!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link:hover .dashicons,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link.is-active .dashicons{
  color:#e30613!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link__badge{
  min-width:22px!important;
  min-height:22px!important;
  padding:0 7px!important;
  background:#edede8!important;
  border:1px solid #d6d6cf!important;
  border-radius:999px!important;
  color:#5f5f59!important;
  font-size:11px!important;
  font-weight:760!important;
  line-height:1!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link__badge--warning{
  background:#fff4dd!important;
  border-color:#efd6a8!important;
  color:#9a6400!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link__badge--events{
  background:#eef3fb!important;
  border-color:#cfdae9!important;
  color:#4f6178!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-nav-link__badge--ghost{
  background:#fff!important;
  border-color:#d6d6cf!important;
  color:#6d6d67!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{
  padding:30px var(--mapa-member-gutter) 62px!important;
  background:#fff!important;
}

@media(max-width:1040px){
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace{grid-template-columns:1fr!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-tabs{display:none!important}
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{padding:24px 18px 52px!important}
}

/* === bundled from assets/css/modern/modern-polish-r34.css === */
/* MAPA Modern v5.0.0 R34 — Strefa MAPA white canvas/search polish. */

/* Restore the white member-portal canvas. */
body.mapa-interface-modern.mapa-modern-member-view,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-portal-shell,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{
  background:#fff!important;
}

/* Keep the global MAPA search white in idle, hover and active states. */
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search-shell{
  background:#fff!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus-within{
  background:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search :where(input[type="search"],input[type="text"]),
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search :where(input[type="search"],input[type="text"]):hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search :where(input[type="search"],input[type="text"]):focus,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search :where(input[type="search"],input[type="text"]):focus-visible{
  background:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* === bundled from assets/css/modern/modern-polish-r35.css === */
/* MAPA Modern v5.0.0 R35 — white Strefa canvas/search hardening. */

body.mapa-interface-modern.mapa-modern-member-view,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-portal-shell,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace,
body.mapa-interface-modern.mapa-modern-member-view .mapa-member-workspace__content{
  background:#fff!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search-shell,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus-within,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]),
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]):hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]):focus,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]):focus-visible{
  background:#fff!important;
}

body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:hover,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field:focus-within,
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]),
body.mapa-interface-modern.mapa-modern-member-view .mapa-global-search__field :where(input[type="search"],input[type="text"]):focus{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* === bundled from assets/css/modern/modern-motion-v511.css === */
/* MAPA Modern v5.1.1 — Homepage Motion System with admin-configurable timing */

/* No JavaScript = no hidden content. Motion states become active only after JS marks the page ready. */
body.home.mapa-interface-modern.mapa-motion-ready{
  --mapa-motion-ease:cubic-bezier(.22,1,.36,1);
  --mapa-motion-fast:360ms;
  --mapa-motion-hero-duration:1050ms;
  --mapa-motion-section-duration:820ms;
  --mapa-motion-item-duration:780ms;
}

/* Hero entrance */
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__kicker,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__title,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__lead,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__actions,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__facts{
  opacity:0;
  transform:translate3d(0,24px,0);
  transition:opacity var(--mapa-motion-hero-duration) var(--mapa-motion-ease),transform var(--mapa-motion-hero-duration) var(--mapa-motion-ease);
  will-change:opacity,transform;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__kicker{transition-delay:40ms}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__title{transition-delay:110ms}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__lead{transition-delay:190ms}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__actions{transition-delay:270ms}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__facts{transition-delay:350ms}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__kicker,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__title,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__lead,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__actions,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__facts{
  opacity:1;
  transform:none;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__visual{
  overflow:hidden;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__visual img{
  transform:scale(1.045);
  transition:transform var(--mapa-motion-hero-duration) var(--mapa-motion-ease),filter var(--mapa-motion-hero-duration) ease;
  will-change:transform;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__visual img{transform:scale(1)}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__visual-meta{
  opacity:0;
  transform:translate3d(0,12px,0);
  transition:opacity var(--mapa-motion-hero-duration) var(--mapa-motion-ease) .22s,transform var(--mapa-motion-hero-duration) var(--mapa-motion-ease) .22s;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero.is-visible .mapa-modern-home-hero__visual-meta{opacity:1;transform:none}

/* Section entrance */
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-heading,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-item{
  opacity:0;
  transform:translate3d(0,28px,0);
  transition-delay:var(--mapa-motion-delay,0ms);
  will-change:opacity,transform;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-heading{
  transform:translate3d(0,20px,0);
  transition-property:opacity,transform;
  transition-duration:var(--mapa-motion-section-duration);
  transition-timing-function:var(--mapa-motion-ease);
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-item{
  transition-property:opacity,transform;
  transition-duration:var(--mapa-motion-item-duration);
  transition-timing-function:var(--mapa-motion-ease);
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section.is-visible .mapa-motion-heading,
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section.is-visible .mapa-motion-item{
  opacity:1;
  transform:none;
}

/* Small red motion accent under section headers. */
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-section-head{
  position:relative;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-section-head::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-13px;
  width:72px;
  height:3px;
  background:var(--mapa-modern-red,#c90016);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform var(--mapa-motion-section-duration) var(--mapa-motion-ease) .12s;
}
body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section.is-visible .mapa-section-head::after{transform:scaleX(1)}

/* Hover / focus motion: restrained, not card-heavy. */
@media (hover:hover) and (pointer:fine){
  body.home.mapa-interface-modern .mapa-news-list > *,
  body.home.mapa-interface-modern .mapa-events-grid > *,
  body.home.mapa-interface-modern .mapa-camp-public-grid > *,
  body.home.mapa-interface-modern .mapa-staff-grid > *,
  body.home.mapa-interface-modern .mapa-partners-grid > *,
  body.home.mapa-interface-modern .mapa-home-gallery > *{
    transition:transform .28s var(--mapa-motion-ease),border-color .28s ease,box-shadow .28s ease;
  }
  body.home.mapa-interface-modern .mapa-news-list > *:hover,
  body.home.mapa-interface-modern .mapa-events-grid > *:hover,
  body.home.mapa-interface-modern .mapa-camp-public-grid > *:hover,
  body.home.mapa-interface-modern .mapa-staff-grid > *:hover,
  body.home.mapa-interface-modern .mapa-partners-grid > *:hover,
  body.home.mapa-interface-modern .mapa-home-gallery > *:hover{
    transform:translate3d(0,-4px,0);
  }
  body.home.mapa-interface-modern .mapa-gallery-thumb img,
  body.home.mapa-interface-modern .mapa-news-list img,
  body.home.mapa-interface-modern .mapa-events-grid img,
  body.home.mapa-interface-modern .mapa-camp-public-grid img,
  body.home.mapa-interface-modern .mapa-staff-grid img{
    transition:transform .55s var(--mapa-motion-ease);
  }
  body.home.mapa-interface-modern .mapa-gallery-thumb:hover img,
  body.home.mapa-interface-modern .mapa-news-list > *:hover img,
  body.home.mapa-interface-modern .mapa-events-grid > *:hover img,
  body.home.mapa-interface-modern .mapa-camp-public-grid > *:hover img,
  body.home.mapa-interface-modern .mapa-staff-grid > *:hover img{
    transform:scale(1.025);
  }
  body.home.mapa-interface-modern .mapa-button,
  body.home.mapa-interface-modern .mapa-text-link{
    transition:transform .24s var(--mapa-motion-ease),background-color .24s ease,border-color .24s ease,color .24s ease;
  }
  body.home.mapa-interface-modern .mapa-button:hover,
  body.home.mapa-interface-modern .mapa-button:focus-visible,
  body.home.mapa-interface-modern .mapa-text-link:hover,
  body.home.mapa-interface-modern .mapa-text-link:focus-visible{
    transform:translate3d(0,-2px,0);
  }
}

/* Header becomes slightly more compact after leaving the very top of the homepage. */
body.home.mapa-interface-modern .site-header,
body.home.mapa-interface-modern .mapa-header-inner,
body.home.mapa-interface-modern .custom-logo{
  transition:min-height .3s var(--mapa-motion-ease),max-height .3s var(--mapa-motion-ease),background-color .3s ease,border-color .3s ease;
}
body.home.mapa-interface-modern.mapa-motion-scrolled .mapa-header-inner{min-height:74px}
body.home.mapa-interface-modern.mapa-motion-scrolled .custom-logo{max-height:58px}

/* Mobile: keep the energy but use shorter travel and duration. */
@media (max-width:760px){
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-heading,
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-section .mapa-motion-item{
    transform:translate3d(0,16px,0);
    transition-duration:480ms;
  }
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__kicker,
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__title,
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__lead,
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__actions,
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__facts{
    transform:translate3d(0,16px,0);
    transition-duration:520ms;
  }
  body.home.mapa-interface-modern.mapa-motion-ready .mapa-motion-hero .mapa-modern-home-hero__visual img{transform:scale(1.025)}
  body.home.mapa-interface-modern.mapa-motion-scrolled .mapa-header-inner{min-height:72px}
}

/* Accessibility: explicit opt-out. */
@media (prefers-reduced-motion:reduce){
  body.home.mapa-interface-modern *,
  body.home.mapa-interface-modern *::before,
  body.home.mapa-interface-modern *::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    transition-delay:0ms!important;
  }
  body.home.mapa-interface-modern .mapa-motion-heading,
  body.home.mapa-interface-modern .mapa-motion-item,
  body.home.mapa-interface-modern .mapa-modern-home-hero__kicker,
  body.home.mapa-interface-modern .mapa-modern-home-hero__title,
  body.home.mapa-interface-modern .mapa-modern-home-hero__lead,
  body.home.mapa-interface-modern .mapa-modern-home-hero__actions,
  body.home.mapa-interface-modern .mapa-modern-home-hero__facts,
  body.home.mapa-interface-modern .mapa-modern-home-hero__visual-meta{
    opacity:1!important;
    transform:none!important;
  }
  body.home.mapa-interface-modern .mapa-modern-home-hero__visual img{transform:none!important}
}

/* === MAPA v5.2.0 CSS architecture utilities: no inline presentation === */
:root{--mapa-sticky-under-header:calc(78px + var(--mapa-adminbar-offset,0px))}
@media(max-width:760px){:root{--mapa-sticky-under-header:calc(68px + var(--mapa-adminbar-offset,0px))}}
.mapa-grid-span-all{grid-column:1/-1!important}
.mapa-archive-description{margin-top:14px}
.mapa-404-section{min-height:62vh;display:grid;place-items:center}
.mapa-text-center{text-align:center}
.mapa-404-lead{margin:18px auto 26px}
.mapa-button-full{float:none!important;width:100%!important;text-align:center!important;justify-content:center}
.mapa-meta-field{margin:0 0 16px}.mapa-meta-label{display:block;font-weight:600;margin-bottom:5px}.mapa-meta-control{width:100%!important;max-width:560px}
.mapa-control-full{width:100%!important}.mapa-recruitment-log-item{margin:0 0 12px}
.mapa-checkbox-label{display:flex!important;gap:9px;align-items:flex-start}.mapa-news-group-option{display:block;margin:5px 0}.mapa-select-full-spaced{width:100%!important;margin-top:6px}
.mapa-inline-form{display:inline}.mapa-js-hidden-form{display:none!important}
#toplevel_page_mapa-portal .wp-submenu li[data-mapa-routing-only="1"]{display:none!important}
.mapa-gallery-cols-2{--mapa-gallery-columns:2}.mapa-gallery-cols-3{--mapa-gallery-columns:3}.mapa-gallery-cols-4{--mapa-gallery-columns:4}.mapa-gallery-cols-5{--mapa-gallery-columns:5}.mapa-gallery-cols-6{--mapa-gallery-columns:6}
.mapa-hero-fit-cover{--mapa-modern-hero-fit:cover}.mapa-hero-fit-contain{--mapa-modern-hero-fit:contain}
.mapa-hero-position-center-center{--mapa-modern-hero-position:center center}.mapa-hero-position-center-top{--mapa-modern-hero-position:center top}.mapa-hero-position-center-bottom{--mapa-modern-hero-position:center bottom}.mapa-hero-position-left-center{--mapa-modern-hero-position:left center}.mapa-hero-position-right-center{--mapa-modern-hero-position:right center}
.mapa-home-news-media__blur{width:calc(100% + 36px)!important;height:calc(100% + 36px)!important;max-width:none!important;object-fit:cover!important;object-position:center!important}
.mapa-people-filter-anchor{position:relative!important}.mapa-people-filter-results--portal{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 4px)!important;bottom:auto!important;width:max(220px,100%)!important;max-height:320px!important;z-index:100200!important}.mapa-people-filter-results--portal.is-above{top:auto!important;bottom:calc(100% + 4px)!important}
.mapa-mail-logo-preview-image{max-width:100%;height:auto}
.mapa-offline-page{margin:0;min-height:100vh;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));background:#f6f6f4;color:#29292d;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mapa-offline-card{width:min(100%,520px);padding:28px;border:1px solid #d9d9d6;background:#fff;text-align:center}.mapa-offline-logo{width:92px;height:92px;margin-bottom:14px}.mapa-offline-card h1{margin:0 0 8px;font-size:1.5rem;color:#151518}.mapa-offline-card p{margin:0 auto 20px;max-width:38ch;color:#5f6067}.mapa-offline-actions{display:grid;gap:10px}.mapa-offline-card small{display:block;margin-top:18px;color:#74757c}
.mapa-progress-width-0{width:0%!important}.mapa-report-width-0{--mapa-report-bar:0%}.mapa-progress-width-1{width:1%!important}.mapa-report-width-1{--mapa-report-bar:1%}.mapa-progress-width-2{width:2%!important}.mapa-report-width-2{--mapa-report-bar:2%}.mapa-progress-width-3{width:3%!important}.mapa-report-width-3{--mapa-report-bar:3%}.mapa-progress-width-4{width:4%!important}.mapa-report-width-4{--mapa-report-bar:4%}.mapa-progress-width-5{width:5%!important}.mapa-report-width-5{--mapa-report-bar:5%}.mapa-progress-width-6{width:6%!important}.mapa-report-width-6{--mapa-report-bar:6%}.mapa-progress-width-7{width:7%!important}.mapa-report-width-7{--mapa-report-bar:7%}.mapa-progress-width-8{width:8%!important}.mapa-report-width-8{--mapa-report-bar:8%}.mapa-progress-width-9{width:9%!important}.mapa-report-width-9{--mapa-report-bar:9%}.mapa-progress-width-10{width:10%!important}.mapa-report-width-10{--mapa-report-bar:10%}.mapa-progress-width-11{width:11%!important}.mapa-report-width-11{--mapa-report-bar:11%}.mapa-progress-width-12{width:12%!important}.mapa-report-width-12{--mapa-report-bar:12%}.mapa-progress-width-13{width:13%!important}.mapa-report-width-13{--mapa-report-bar:13%}.mapa-progress-width-14{width:14%!important}.mapa-report-width-14{--mapa-report-bar:14%}.mapa-progress-width-15{width:15%!important}.mapa-report-width-15{--mapa-report-bar:15%}.mapa-progress-width-16{width:16%!important}.mapa-report-width-16{--mapa-report-bar:16%}.mapa-progress-width-17{width:17%!important}.mapa-report-width-17{--mapa-report-bar:17%}.mapa-progress-width-18{width:18%!important}.mapa-report-width-18{--mapa-report-bar:18%}.mapa-progress-width-19{width:19%!important}.mapa-report-width-19{--mapa-report-bar:19%}.mapa-progress-width-20{width:20%!important}.mapa-report-width-20{--mapa-report-bar:20%}.mapa-progress-width-21{width:21%!important}.mapa-report-width-21{--mapa-report-bar:21%}.mapa-progress-width-22{width:22%!important}.mapa-report-width-22{--mapa-report-bar:22%}.mapa-progress-width-23{width:23%!important}.mapa-report-width-23{--mapa-report-bar:23%}.mapa-progress-width-24{width:24%!important}.mapa-report-width-24{--mapa-report-bar:24%}.mapa-progress-width-25{width:25%!important}.mapa-report-width-25{--mapa-report-bar:25%}.mapa-progress-width-26{width:26%!important}.mapa-report-width-26{--mapa-report-bar:26%}.mapa-progress-width-27{width:27%!important}.mapa-report-width-27{--mapa-report-bar:27%}.mapa-progress-width-28{width:28%!important}.mapa-report-width-28{--mapa-report-bar:28%}.mapa-progress-width-29{width:29%!important}.mapa-report-width-29{--mapa-report-bar:29%}.mapa-progress-width-30{width:30%!important}.mapa-report-width-30{--mapa-report-bar:30%}.mapa-progress-width-31{width:31%!important}.mapa-report-width-31{--mapa-report-bar:31%}.mapa-progress-width-32{width:32%!important}.mapa-report-width-32{--mapa-report-bar:32%}.mapa-progress-width-33{width:33%!important}.mapa-report-width-33{--mapa-report-bar:33%}.mapa-progress-width-34{width:34%!important}.mapa-report-width-34{--mapa-report-bar:34%}.mapa-progress-width-35{width:35%!important}.mapa-report-width-35{--mapa-report-bar:35%}.mapa-progress-width-36{width:36%!important}.mapa-report-width-36{--mapa-report-bar:36%}.mapa-progress-width-37{width:37%!important}.mapa-report-width-37{--mapa-report-bar:37%}.mapa-progress-width-38{width:38%!important}.mapa-report-width-38{--mapa-report-bar:38%}.mapa-progress-width-39{width:39%!important}.mapa-report-width-39{--mapa-report-bar:39%}.mapa-progress-width-40{width:40%!important}.mapa-report-width-40{--mapa-report-bar:40%}.mapa-progress-width-41{width:41%!important}.mapa-report-width-41{--mapa-report-bar:41%}.mapa-progress-width-42{width:42%!important}.mapa-report-width-42{--mapa-report-bar:42%}.mapa-progress-width-43{width:43%!important}.mapa-report-width-43{--mapa-report-bar:43%}.mapa-progress-width-44{width:44%!important}.mapa-report-width-44{--mapa-report-bar:44%}.mapa-progress-width-45{width:45%!important}.mapa-report-width-45{--mapa-report-bar:45%}.mapa-progress-width-46{width:46%!important}.mapa-report-width-46{--mapa-report-bar:46%}.mapa-progress-width-47{width:47%!important}.mapa-report-width-47{--mapa-report-bar:47%}.mapa-progress-width-48{width:48%!important}.mapa-report-width-48{--mapa-report-bar:48%}.mapa-progress-width-49{width:49%!important}.mapa-report-width-49{--mapa-report-bar:49%}.mapa-progress-width-50{width:50%!important}.mapa-report-width-50{--mapa-report-bar:50%}.mapa-progress-width-51{width:51%!important}.mapa-report-width-51{--mapa-report-bar:51%}.mapa-progress-width-52{width:52%!important}.mapa-report-width-52{--mapa-report-bar:52%}.mapa-progress-width-53{width:53%!important}.mapa-report-width-53{--mapa-report-bar:53%}.mapa-progress-width-54{width:54%!important}.mapa-report-width-54{--mapa-report-bar:54%}.mapa-progress-width-55{width:55%!important}.mapa-report-width-55{--mapa-report-bar:55%}.mapa-progress-width-56{width:56%!important}.mapa-report-width-56{--mapa-report-bar:56%}.mapa-progress-width-57{width:57%!important}.mapa-report-width-57{--mapa-report-bar:57%}.mapa-progress-width-58{width:58%!important}.mapa-report-width-58{--mapa-report-bar:58%}.mapa-progress-width-59{width:59%!important}.mapa-report-width-59{--mapa-report-bar:59%}.mapa-progress-width-60{width:60%!important}.mapa-report-width-60{--mapa-report-bar:60%}.mapa-progress-width-61{width:61%!important}.mapa-report-width-61{--mapa-report-bar:61%}.mapa-progress-width-62{width:62%!important}.mapa-report-width-62{--mapa-report-bar:62%}.mapa-progress-width-63{width:63%!important}.mapa-report-width-63{--mapa-report-bar:63%}.mapa-progress-width-64{width:64%!important}.mapa-report-width-64{--mapa-report-bar:64%}.mapa-progress-width-65{width:65%!important}.mapa-report-width-65{--mapa-report-bar:65%}.mapa-progress-width-66{width:66%!important}.mapa-report-width-66{--mapa-report-bar:66%}.mapa-progress-width-67{width:67%!important}.mapa-report-width-67{--mapa-report-bar:67%}.mapa-progress-width-68{width:68%!important}.mapa-report-width-68{--mapa-report-bar:68%}.mapa-progress-width-69{width:69%!important}.mapa-report-width-69{--mapa-report-bar:69%}.mapa-progress-width-70{width:70%!important}.mapa-report-width-70{--mapa-report-bar:70%}.mapa-progress-width-71{width:71%!important}.mapa-report-width-71{--mapa-report-bar:71%}.mapa-progress-width-72{width:72%!important}.mapa-report-width-72{--mapa-report-bar:72%}.mapa-progress-width-73{width:73%!important}.mapa-report-width-73{--mapa-report-bar:73%}.mapa-progress-width-74{width:74%!important}.mapa-report-width-74{--mapa-report-bar:74%}.mapa-progress-width-75{width:75%!important}.mapa-report-width-75{--mapa-report-bar:75%}.mapa-progress-width-76{width:76%!important}.mapa-report-width-76{--mapa-report-bar:76%}.mapa-progress-width-77{width:77%!important}.mapa-report-width-77{--mapa-report-bar:77%}.mapa-progress-width-78{width:78%!important}.mapa-report-width-78{--mapa-report-bar:78%}.mapa-progress-width-79{width:79%!important}.mapa-report-width-79{--mapa-report-bar:79%}.mapa-progress-width-80{width:80%!important}.mapa-report-width-80{--mapa-report-bar:80%}.mapa-progress-width-81{width:81%!important}.mapa-report-width-81{--mapa-report-bar:81%}.mapa-progress-width-82{width:82%!important}.mapa-report-width-82{--mapa-report-bar:82%}.mapa-progress-width-83{width:83%!important}.mapa-report-width-83{--mapa-report-bar:83%}.mapa-progress-width-84{width:84%!important}.mapa-report-width-84{--mapa-report-bar:84%}.mapa-progress-width-85{width:85%!important}.mapa-report-width-85{--mapa-report-bar:85%}.mapa-progress-width-86{width:86%!important}.mapa-report-width-86{--mapa-report-bar:86%}.mapa-progress-width-87{width:87%!important}.mapa-report-width-87{--mapa-report-bar:87%}.mapa-progress-width-88{width:88%!important}.mapa-report-width-88{--mapa-report-bar:88%}.mapa-progress-width-89{width:89%!important}.mapa-report-width-89{--mapa-report-bar:89%}.mapa-progress-width-90{width:90%!important}.mapa-report-width-90{--mapa-report-bar:90%}.mapa-progress-width-91{width:91%!important}.mapa-report-width-91{--mapa-report-bar:91%}.mapa-progress-width-92{width:92%!important}.mapa-report-width-92{--mapa-report-bar:92%}.mapa-progress-width-93{width:93%!important}.mapa-report-width-93{--mapa-report-bar:93%}.mapa-progress-width-94{width:94%!important}.mapa-report-width-94{--mapa-report-bar:94%}.mapa-progress-width-95{width:95%!important}.mapa-report-width-95{--mapa-report-bar:95%}.mapa-progress-width-96{width:96%!important}.mapa-report-width-96{--mapa-report-bar:96%}.mapa-progress-width-97{width:97%!important}.mapa-report-width-97{--mapa-report-bar:97%}.mapa-progress-width-98{width:98%!important}.mapa-report-width-98{--mapa-report-bar:98%}.mapa-progress-width-99{width:99%!important}.mapa-report-width-99{--mapa-report-bar:99%}.mapa-progress-width-100{width:100%!important}.mapa-report-width-100{--mapa-report-bar:100%}
.mapa-motion-delay-0{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*0)}.mapa-motion-delay-1{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*1)}.mapa-motion-delay-2{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*2)}.mapa-motion-delay-3{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*3)}.mapa-motion-delay-4{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*4)}.mapa-motion-delay-5{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*5)}.mapa-motion-delay-6{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*6)}.mapa-motion-delay-7{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*7)}.mapa-motion-delay-8{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*8)}.mapa-motion-delay-9{--mapa-motion-delay:calc(var(--mapa-motion-stagger,90ms)*9)}


/* MAPA v5.2.5 — News image layering after CSS consolidation.
 * The blurred copy is a true background layer; the original image remains sharp above it.
 */
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > .mapa-home-news-media__blur,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > .mapa-home-news-media__blur{
  position:absolute!important;
  inset:-18px!important;
  z-index:0!important;
  width:calc(100% + 36px)!important;
  height:calc(100% + 36px)!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:blur(13px) saturate(.98) brightness(.9)!important;
  transform:scale(1.055)!important;
  opacity:.88!important;
  pointer-events:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > :not(.mapa-home-news-media__blur),
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > :not(.mapa-home-news-media__blur){
  position:relative!important;
  z-index:2!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > img:not(.mapa-home-news-media__blur),
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > img:not(.mapa-home-news-media__blur),
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media.mapa-home-news-media--blur .mapa-news-row__image,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur .mapa-news-row__image{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > picture,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > picture{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > picture > img,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > picture > img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
@media(max-width:720px){
  body.mapa-interface-modern.mapa-front-page #aktualnosci :is(.mapa-news-row__media,.mapa-featured-news__media).mapa-home-news-media--blur > .mapa-home-news-media__blur,
  body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media.mapa-home-news-media--blur > .mapa-home-news-media__blur{
    filter:blur(11px) saturate(.96) brightness(.92)!important;
    opacity:.82!important;
  }
}


/* v5.2.5 — Apparel visualizer responsiveness and sizing */
:root{
  --mapa-apparel-name-size:24px;
  --mapa-apparel-number-size:116px;
  --mapa-apparel-name-size-mobile:20px;
  --mapa-apparel-number-size-mobile:95px;
  --mapa-apparel-name-number-gap:0px;
}
.mapa-apparel-submit__actions .button{
  min-height:48px;
  padding:12px 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  text-transform:uppercase;
  line-height:1.1;
}
.mapa-apparel-modal{
  padding:clamp(10px,2vw,20px);
}
.mapa-apparel-modal__dialog{
  width:min(820px,100%);
  max-height:min(92vh,920px);
}
.mapa-apparel-modal__content{
  padding:16px;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
}
.mapa-apparel-modal-card{
  gap:12px;
}
.mapa-apparel-visualizer__figure{
  min-height:0!important;
  height:min(58vh,620px)!important;
  max-height:min(58vh,620px)!important;
  padding:12px 10px 0!important;
}
.mapa-apparel-visualizer__figure img{
  max-width:min(100%,360px)!important;
  max-height:100%!important;
  width:auto!important;
  height:100%!important;
  object-fit:contain!important;
}
.mapa-apparel-visualizer__name,
.mapa-apparel-visualizer__number{
  transform:translateX(-50%);
}
.mapa-apparel-visualizer__name{
  top:35%!important;
  width:40%!important;
  max-width:40%!important;
  font-size:var(--mapa-apparel-name-size)!important;
  font-weight:900;
  line-height:1.06!important;
  letter-spacing:.05em!important;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.mapa-apparel-visualizer__number{
  top:calc(37.5% + var(--mapa-apparel-name-number-gap))!important;
  font-size:var(--mapa-apparel-number-size)!important;
  font-weight:900;
  line-height:.95;
}
@media(max-width:760px){
  .mapa-apparel-submit__actions .button{
    width:100%;
  }
  .mapa-apparel-modal{
    padding:10px;
  }
  .mapa-apparel-modal__dialog{
    width:100%;
    max-height:94vh;
  }
  .mapa-apparel-modal__content{
    padding:12px;
  }
  .mapa-apparel-modal-card{
    padding:12px;
  }
  .mapa-apparel-visualizer__figure{
    height:min(50vh,460px)!important;
    max-height:min(50vh,460px)!important;
    padding-top:10px!important;
  }
  .mapa-apparel-visualizer__figure img{
    max-width:min(100%,280px)!important;
  }
  .mapa-apparel-visualizer__name{
    top:35%!important;
    width:42%!important;
    max-width:42%!important;
    font-size:var(--mapa-apparel-name-size-mobile)!important;
    line-height:1.02!important;
  }
  .mapa-apparel-visualizer__number{
    top:calc(37.5% + var(--mapa-apparel-name-number-gap))!important;
    font-size:var(--mapa-apparel-number-size-mobile)!important;
  }
}


/* v5.2.5 — raised jersey number position further for better shirt alignment */


/* v5.5.1 — admin-configurable gap between apparel personalization name and number */


/* v5.5.1 — News list rows return to a fixed editorial height.
 * Each row keeps one consistent height, while the main image stays fully visible
 * inside the available media box and any empty side/top/bottom area is filled by
 * the blurred version of the same image underneath.
 */
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row{
  min-height:var(--mapa-news-card-height,290px)!important;
  height:var(--mapa-news-card-height,290px)!important;
  grid-template-columns:minmax(250px,34%) minmax(0,1fr)!important;
  align-items:stretch!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__media,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__media{
  min-height:100%!important;
  height:100%!important;
  max-height:100%!important;
  align-self:stretch!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__content,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__content{
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__title,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__excerpt,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-groups,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-groups{
  max-height:64px;
  overflow:hidden;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__more,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__more{
  margin-top:14px!important;
}
@media(max-width:760px){
  body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
  body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row{
    min-height:0!important;
    height:auto!important;
    grid-template-columns:1fr!important;
  }
  body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__media,
  body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__media{
    min-height:300px!important;
    height:300px!important;
    max-height:300px!important;
  }
  body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__content,
  body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row .mapa-news-row__content{
    height:auto!important;
  }
}


/* v5.5.1 — Configurable news card height and magazine/editorial mode. */
body.mapa-interface-modern.mapa-news-layout-classic.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
body.mapa-interface-modern.mapa-news-layout-classic .mapa-news-list--archive .mapa-news-row{
  min-height:var(--mapa-news-card-height,290px)!important;
  height:var(--mapa-news-card-height,290px)!important;
}

/* v5.10.3 — mobile news cards must grow with their text.
 * The classic desktop height must not clip the stacked content below the
 * 300px media panel on phones. */
@media(max-width:760px){
  body.mapa-interface-modern.mapa-news-layout-classic.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
  body.mapa-interface-modern.mapa-news-layout-classic .mapa-news-list--archive .mapa-news-row{
    min-height:0!important;
    height:auto!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
  }
  body.mapa-interface-modern.mapa-news-layout-classic.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__content,
  body.mapa-interface-modern.mapa-news-layout-classic .mapa-news-list--archive .mapa-news-row .mapa-news-row__content{
    min-height:0!important;
    height:auto!important;
  }
}

@media(min-width:761px){
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:stretch!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,58%) minmax(0,42%)!important;
    min-height:var(--mapa-news-magazine-card-height,520px)!important;
    height:var(--mapa-news-magazine-card-height,520px)!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid #deded8!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row:first-child,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row:first-child{
    grid-column:1/-1!important;
    grid-template-columns:minmax(0,56%) minmax(0,44%)!important;
    grid-template-rows:1fr!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__media,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row .mapa-news-row__media{
    min-height:0!important;
    height:100%!important;
    max-height:100%!important;
    border-right:0!important;
    border-bottom:1px solid #deded8!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row:first-child .mapa-news-row__media,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row:first-child .mapa-news-row__media{
    border-right:1px solid #deded8!important;
    border-bottom:0!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row .mapa-news-row__content,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row .mapa-news-row__content{
    height:100%!important;
    min-height:0!important;
    justify-content:flex-start!important;
    padding:24px 26px!important;
    overflow:hidden!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row:first-child .mapa-news-row__content,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row:first-child .mapa-news-row__content{
    justify-content:center!important;
    padding:clamp(30px,4vw,54px)!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row__title{
    font-size:clamp(1.35rem,2vw,2rem)!important;
    line-height:1.08!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row:first-child .mapa-news-row__title{
    font-size:clamp(2rem,3.2vw,3.5rem)!important;
    line-height:1.02!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row__excerpt{
    margin-top:12px!important;
    line-height:1.55!important;
    -webkit-line-clamp:3!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row:first-child .mapa-news-row__excerpt{
    -webkit-line-clamp:5!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row__more{
    margin-top:auto!important;
    padding-top:12px!important;
  }
}

@media(max-width:760px){
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive{
    grid-template-columns:1fr!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine.mapa-front-page #aktualnosci .mapa-news-list > .mapa-news-row,
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-list--archive .mapa-news-row{
    min-height:0!important;
    height:auto!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row__media{
    min-height:300px!important;
    height:300px!important;
    max-height:300px!important;
  }
}


/* v5.5.1 — News foreground images are never cropped.
 * The sharp/original image is always fully contained inside the media viewport.
 * Landscape images fit by width, portrait images fit by height, and any unused
 * space remains occupied by the blurred copy underneath. Only the blur layer
 * may use cover/scale.
 */
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media > img:not(.mapa-home-news-media__blur),
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media > img:not(.mapa-home-news-media__blur),
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media .mapa-news-row__image,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media .mapa-news-row__image{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  transform:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media > picture,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media > picture{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
  background:transparent!important;
  transform:none!important;
}
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__media > picture > img,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__media > picture > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  transform:none!important;
}
/* Motion System must never zoom the sharp news image because even a small scale
 * can clip an otherwise perfectly contained portrait/landscape image. */
@media (hover:hover) and (pointer:fine){
  body.home.mapa-interface-modern #aktualnosci .mapa-news-row:hover .mapa-news-row__media > img:not(.mapa-home-news-media__blur),
  body.home.mapa-interface-modern #aktualnosci .mapa-news-row:hover .mapa-news-row__media > picture,
  body.home.mapa-interface-modern #aktualnosci .mapa-news-row:hover .mapa-news-row__media > picture > img{
    transform:none!important;
  }
}


/* v5.5.1 — News title descender-safe typography.
 * Keep glyph descenders (y/g/p/j/q) inside the clamped title box without
 * changing card height or title font size.
 */
body.mapa-interface-modern.mapa-front-page #aktualnosci .mapa-news-row__title,
body.mapa-interface-modern .mapa-news-list--archive .mapa-news-row__title{
  line-height:1.14!important;
  padding-bottom:.10em!important;
  box-sizing:content-box!important;
}
@media(min-width:761px){
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row__title{
    line-height:1.14!important;
    padding-bottom:.10em!important;
  }
  body.mapa-interface-modern.mapa-news-layout-magazine .mapa-news-row:first-child .mapa-news-row__title{
    line-height:1.08!important;
    padding-bottom:.12em!important;
  }
}


/* v5.5.1 — Staff apparel player dynamic search */
.mapa-apparel-player-picker{position:relative;display:grid;gap:8px;margin-bottom:18px}
.mapa-apparel-player-search{display:grid;gap:6px}
.mapa-apparel-player-search>span{font-weight:800}
.mapa-apparel-player-search input[type="search"]{width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--mapa-modern-line,#d7d7d1);background:var(--mapa-modern-surface,#fff);color:var(--mapa-modern-copy,#222)}
.mapa-apparel-player-results{position:absolute;left:0;right:0;top:78px;z-index:120;max-height:min(52vh,440px);overflow:auto;border:1px solid #cfcfca;background:#fff;box-shadow:0 18px 42px rgba(0,0,0,.18)}
.mapa-apparel-player-result{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(220px,.9fr);gap:18px;align-items:center;padding:12px 14px;border:0;border-bottom:1px solid #ecece8;background:#fff;color:#1b1b1b;text-align:left;cursor:pointer}
.mapa-apparel-player-result:last-of-type{border-bottom:0}
.mapa-apparel-player-result:hover,.mapa-apparel-player-result:focus{background:#fff4f5;outline:none}
.mapa-apparel-player-result:disabled{cursor:not-allowed;opacity:.58;background:#f6f6f3}
.mapa-apparel-player-result__main,.mapa-apparel-player-result__guardians{display:grid;gap:3px;min-width:0}
.mapa-apparel-player-result__main strong{font-size:14px}
.mapa-apparel-player-result__main small,.mapa-apparel-player-result__guardians small{color:#6a6a66;font-size:12px}
.mapa-apparel-player-result__guardians strong{font-size:12px;font-weight:800;overflow-wrap:anywhere}
.mapa-apparel-player-results__empty{padding:16px;color:#666;background:#fff}
.mapa-apparel-player-selected{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #d8d8d3;background:#f7f7f4}
.mapa-apparel-player-selected>div{display:grid;gap:2px;min-width:0}
.mapa-apparel-player-selected span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#777}
.mapa-apparel-player-selected strong{font-size:14px}
.mapa-apparel-player-selected small{color:#666;overflow-wrap:anywhere}
.mapa-apparel-player-picker__hint{color:#686862;font-size:12px;line-height:1.45}
@media(max-width:760px){.mapa-apparel-player-results{top:78px;max-height:56vh}.mapa-apparel-player-result{grid-template-columns:1fr;gap:7px}.mapa-apparel-player-selected{align-items:flex-start;flex-direction:column}.mapa-apparel-player-selected .button{width:100%}}


/* v5.5.1 — Players light-mode cleanup, light cookie UI and apparel history details */
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid>div{
  padding:14px 16px!important;
  border:1px solid #deded8!important;
  border-radius:0!important;
  background:#fff!important;
  color:#30302d!important;
  box-shadow:none!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid>div>span{
  color:#777770!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid>div>strong,
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid>div :where(strong,a){
  color:#20201d!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid .mapa-row-actions .button{
  background:#fff!important;
  color:#20201d!important;
  border-color:#cfcfc9!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid .mapa-row-actions .button:hover,
body.mapa-interface-modern.mapa-modern-manage-players .mapa-record-detail-grid .mapa-row-actions .button:focus-visible{
  background:#f5f5f1!important;
  color:#b30b16!important;
  border-color:#b30b16!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-bulk-select-all{
  background:#f7f7f4!important;
  color:#30302d!important;
  border-color:#deded8!important;
}
body.mapa-interface-modern.mapa-modern-manage-players .mapa-bulk-select-all label{
  color:#30302d!important;
}

/* Cookie consent stays visually consistent with the light MAPA Modern interface. */
body.mapa-interface-modern .mapa-cookie-banner{
  border:1px solid #d8d8d2!important;
  background:rgba(255,255,255,.985)!important;
  color:#20201d!important;
  box-shadow:0 20px 55px rgba(0,0,0,.16)!important;
  backdrop-filter:blur(12px)!important;
}
body.mapa-interface-modern .mapa-cookie-banner h2,
body.mapa-interface-modern .mapa-cookie-banner strong{
  color:#171714!important;
}
body.mapa-interface-modern .mapa-cookie-banner p{
  color:#62625d!important;
}
body.mapa-interface-modern .mapa-cookie-banner p a{
  color:#b30b16!important;
}
body.mapa-interface-modern .mapa-cookie-modal{
  background:rgba(25,25,25,.48)!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel{
  border:1px solid #d8d8d2!important;
  border-radius:0!important;
  background:#fff!important;
  color:#20201d!important;
  box-shadow:0 26px 80px rgba(0,0,0,.22)!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel h2,
body.mapa-interface-modern .mapa-cookie-categories strong{
  color:#171714!important;
}
body.mapa-interface-modern .mapa-cookie-modal__panel>p,
body.mapa-interface-modern .mapa-cookie-categories small{
  color:#666660!important;
}
body.mapa-interface-modern .mapa-cookie-close{
  border:1px solid #d2d2cc!important;
  border-radius:0!important;
  background:#fff!important;
  color:#20201d!important;
}
body.mapa-interface-modern .mapa-cookie-close:hover,
body.mapa-interface-modern .mapa-cookie-close:focus-visible{
  border-color:#b30b16!important;
  color:#b30b16!important;
  background:#fff5f5!important;
}
body.mapa-interface-modern .mapa-cookie-categories>label{
  border:1px solid #deded8!important;
  border-radius:0!important;
  background:#fafaf7!important;
}
body.mapa-interface-modern .mapa-cookie-actions .mapa-button--ghost{
  border:1px solid #cfcfc9!important;
  background:#fff!important;
  color:#20201d!important;
  box-shadow:none!important;
}
body.mapa-interface-modern .mapa-cookie-actions .mapa-button--ghost:hover,
body.mapa-interface-modern .mapa-cookie-actions .mapa-button--ghost:focus-visible{
  border-color:#b30b16!important;
  background:#fff5f5!important;
  color:#b30b16!important;
}

/* Expandable order history in Strefa MAPA. */
.mapa-apparel-history__order{
  border-bottom:1px solid #dedede;
  background:#fff;
}
.mapa-apparel-history__order>.mapa-apparel-history__row{
  border-bottom:0!important;
  cursor:pointer;
  list-style:none;
}
.mapa-apparel-history__order>.mapa-apparel-history__row::-webkit-details-marker{
  display:none;
}
.mapa-apparel-history__order>.mapa-apparel-history__row:hover{
  background:#fafaf7;
}
.mapa-apparel-history__status{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.mapa-apparel-history__toggle{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:3px 9px;
  border:1px solid #cfcfcf;
  background:#fff;
  color:#333;
  font-size:12px;
  font-weight:800;
}
.mapa-apparel-history__toggle::after{
  content:" +";
}
.mapa-apparel-history__order[open] .mapa-apparel-history__toggle::after{
  content:" −";
}
.mapa-apparel-history__details{
  padding:0 0 16px;
  border-top:1px solid #ecece8;
}
.mapa-apparel-history__items{
  display:grid;
  gap:0;
}
.mapa-apparel-history__item{
  padding:16px 0;
  border-bottom:1px solid #ecece8;
}
.mapa-apparel-history__item-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.mapa-apparel-history__item-head>strong:first-child{
  color:#171714;
}
.mapa-apparel-history__item-head>strong:last-child{
  color:#a30000;
  white-space:nowrap;
}
.mapa-apparel-history__item dl{
  display:grid;
  grid-template-columns:minmax(120px,180px) minmax(0,1fr);
  gap:5px 14px;
  margin:0;
}
.mapa-apparel-history__item dt{
  color:#777770;
  font-size:12px;
  font-weight:700;
}
.mapa-apparel-history__item dd{
  margin:0;
  color:#30302d;
  overflow-wrap:anywhere;
}
.mapa-apparel-history__grand-total{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:16px;
  padding:16px 0 0;
}
.mapa-apparel-history__grand-total span{
  color:#666660;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
}
.mapa-apparel-history__grand-total strong{
  color:#171714;
  font-size:20px;
}
@media(max-width:760px){
  .mapa-apparel-history__status{
    justify-content:flex-start;
  }
  .mapa-apparel-history__item dl{
    grid-template-columns:1fr;
    gap:2px;
  }
  .mapa-apparel-history__item dd{
    margin-bottom:8px;
  }
  .mapa-apparel-history__grand-total{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
}

/* v5.5.1 — Management-only apparel order editing and visible audit history */
.mapa-apparel-order-edit{
  margin-top:22px;
  border:1px solid #d8d8d3;
  background:#fafaf8;
}
.mapa-apparel-order-edit>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
  background:#f5f5f1;
  color:#171717;
}
.mapa-apparel-order-edit>summary::-webkit-details-marker{display:none}
.mapa-apparel-order-edit>summary span{font-weight:900}
.mapa-apparel-order-edit>summary small{color:#666;font-size:12px}
.mapa-apparel-order-edit[open]>summary{border-bottom:1px solid #d8d8d3}
.mapa-apparel-order-edit__body{display:grid;gap:18px;padding:16px}
.mapa-apparel-order-edit__form{display:grid;gap:18px}
.mapa-apparel-order-edit__form h4{margin:0 0 10px;color:#171717}
.mapa-apparel-order-edit__items{display:grid;gap:12px}
.mapa-apparel-order-edit__item{
  padding:14px;
  border:1px solid #deded8;
  background:#fff;
}
.mapa-apparel-order-edit__item--new{background:#fcfcfa}
.mapa-apparel-order-edit__item-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.mapa-apparel-order-edit__item-head>div{min-width:0}
.mapa-apparel-order-edit__item-head strong{display:block;color:#171717;overflow-wrap:anywhere}
.mapa-apparel-order-edit__item-head small{display:block;margin-top:3px;color:#666;line-height:1.4}
.mapa-apparel-order-edit__item-head>span{flex:0 0 auto;font-weight:900;color:#171717}
.mapa-apparel-order-edit__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.mapa-apparel-order-edit__grid label,
.mapa-apparel-order-edit__notes{display:grid;gap:6px;min-width:0}
.mapa-apparel-order-edit__grid label>span,
.mapa-apparel-order-edit__notes>span{font-weight:800;color:#303030}
.mapa-apparel-order-edit__grid label>small{color:#777;font-size:11px}
.mapa-apparel-order-edit__grid :is(input,select),
.mapa-apparel-order-edit__notes textarea{
  width:100%;
  min-height:42px;
  border:1px solid #bdbdb8!important;
  background:#fff!important;
  color:#1d1d1f!important;
  box-shadow:none!important;
}
.mapa-apparel-order-edit__catalog{
  border:1px solid #ddd;
  background:#fff;
}
.mapa-apparel-order-edit__catalog>summary{
  padding:12px 14px;
  cursor:pointer;
  font-weight:800;
  color:#171717;
}
.mapa-apparel-order-edit__catalog[open]>summary{border-bottom:1px solid #ddd}
.mapa-apparel-order-edit__items--catalog{padding:12px}
.mapa-apparel-order-edit__actions{
  display:flex;
  justify-content:flex-end;
  padding-top:14px;
  border-top:1px solid #deded8;
}
.mapa-apparel-order-change-history{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #deded8;
}
.mapa-apparel-order-change-history h3{margin:0 0 12px}
.mapa-apparel-order-change-history__list{display:grid;gap:9px}
.mapa-apparel-order-change-history article{
  padding:12px 14px;
  border:1px solid #deded8;
  background:#fafaf8;
}
.mapa-apparel-order-change-history article header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.mapa-apparel-order-change-history article header strong{color:#171717}
.mapa-apparel-order-change-history article header span{color:#666;font-size:12px;white-space:nowrap}
.mapa-apparel-order-change-history article ul{margin:0;padding-left:18px;color:#3d3d3a}
.mapa-apparel-order-change-history article li+li{margin-top:4px}
@media(max-width:900px){
  .mapa-apparel-order-edit__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .mapa-apparel-order-edit>summary,
  .mapa-apparel-order-edit__item-head,
  .mapa-apparel-order-change-history article header{align-items:flex-start;flex-direction:column}
  .mapa-apparel-order-edit__grid{grid-template-columns:1fr}
  .mapa-apparel-order-edit__actions .button{width:100%;justify-content:center}
  .mapa-apparel-order-change-history article header span{white-space:normal}
}


/* v5.5.1 — Parent-visible apparel order modification history and payment update */
.mapa-apparel-history__edited-note{display:block;margin-top:4px;color:#9a6a00!important;font-size:11px!important;font-weight:800!important;line-height:1.35!important}
.mapa-apparel-history__modified{
  display:grid;gap:12px;margin:0 0 18px;padding:16px 18px;border:1px solid #e3c46a;background:#fff9e9;color:#24221d;
}
.mapa-apparel-history__modified-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.mapa-apparel-history__modified-head>div{display:grid;gap:2px}
.mapa-apparel-history__modified-head span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#805f00}
.mapa-apparel-history__modified-head strong{font-size:15px;color:#171714}
.mapa-apparel-history__modified-head time{font-size:12px;color:#69665c;white-space:nowrap}
.mapa-apparel-history__modified ul{margin:0;padding-left:20px;color:#37352f}
.mapa-apparel-history__modified li+li{margin-top:5px}
.mapa-apparel-history__price-change,.mapa-apparel-history__payment-required{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-top:1px solid #ead9a9;background:#fffdf6}
.mapa-apparel-history__price-change span,.mapa-apparel-history__payment-required span{color:#5d584b;font-size:13px}
.mapa-apparel-history__price-change strong,.mapa-apparel-history__payment-required strong{color:#171714;font-size:15px}
.mapa-apparel-history__price-change del{color:#8d8370;font-weight:600}
.mapa-apparel-history__payment-required{border:1px solid #e7b9b9;background:#fff2f2;flex-wrap:wrap}
.mapa-apparel-history__payment-required strong{color:#a20d16}
.mapa-apparel-history__payment-info{padding:12px 14px;border:1px solid #cdd8ea;background:#f2f6fc;color:#303b4d}
.mapa-apparel-history__changes{margin-top:16px;border-top:1px solid #deded8;padding-top:14px}
.mapa-apparel-history__changes>summary{cursor:pointer;font-weight:800;color:#171714}
.mapa-apparel-history__changes-list{display:grid;gap:10px;margin-top:12px}
.mapa-apparel-history__changes-list article{padding:12px 14px;border:1px solid #deded8;background:#fafaf8}
.mapa-apparel-history__changes-list header{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}
.mapa-apparel-history__changes-list header strong{color:#171714}
.mapa-apparel-history__changes-list header time{font-size:12px;color:#6b6b65;white-space:nowrap}
.mapa-apparel-history__changes-list ul{margin:0;padding-left:20px;color:#45453f}
@media(max-width:760px){.mapa-apparel-history__modified-head,.mapa-apparel-history__price-change,.mapa-apparel-history__payment-required,.mapa-apparel-history__changes-list header{align-items:flex-start;flex-direction:column}.mapa-apparel-history__modified-head time,.mapa-apparel-history__changes-list header time{white-space:normal}}


/* v5.5.1 — Zgody i oświadczenia: align consent page with MAPA Modern */
body.mapa-interface-modern.mapa-modern-portal-app #zgody.mapa-consent-parent-section{
  border-bottom:0!important;
  margin-bottom:56px!important;
  padding-bottom:0!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-player-grid{
  grid-template-columns:1fr!important;
  gap:22px!important;
  max-width:980px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-player{
  padding:28px!important;
  background:#fff!important;
  border:1px solid #d7d7d1!important;
  color:#2d2d2a!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-subheading{
  align-items:center!important;
  gap:18px!important;
  margin-bottom:18px!important;
  padding-bottom:18px!important;
  border-bottom:1px solid #e3e1db!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-subheading > div{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-subheading h3{
  margin:0!important;
  font-size:clamp(28px,2.8vw,40px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
  color:#151515!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-card-kicker{
  color:#e20716!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-consent-progress{
  min-width:68px!important;
  padding:7px 12px!important;
  border:1px solid #cfe8d8!important;
  background:#eef8f1!important;
  color:#2f8a53!important;
  font-size:13px!important;
  font-weight:800!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-documentation-missing{
  margin:0 0 18px!important;
  padding:14px 16px!important;
  border:1px solid #f1d1a0!important;
  background:#fff6e7!important;
  color:#6c4a16!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-list{
  gap:12px!important;
  margin-top:0!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item{
  background:#fff!important;
  border:1px solid #d7d7d1!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item > summary{
  align-items:flex-start!important;
  gap:16px!important;
  padding:18px 20px!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item[open] > summary{
  border-bottom:1px solid #ebe9e3!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item > summary:hover{
  background:#faf9f7!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item > summary > span:first-child strong{
  display:block!important;
  margin:0 0 4px!important;
  color:#151515!important;
  font-size:19px!important;
  line-height:1.25!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item > summary > span:first-child small{
  display:block!important;
  color:#66665f!important;
  line-height:1.5!important;
  font-size:13px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-ack-state{
  min-height:28px!important;
  padding:5px 10px!important;
  background:#fff6e7!important;
  color:#9a6800!important;
  border:1px solid #efd7a8!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-ack-state.is-done{
  background:#eef8f1!important;
  color:#2f8a53!important;
  border-color:#cfe8d8!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-content{
  margin:0 20px 20px!important;
  padding:18px 20px!important;
  background:#faf9f7!important;
  border:1px solid #ebe9e3!important;
  color:#2d2d2a!important;
  line-height:1.7!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-content :where(p,li,span){
  color:#2d2d2a!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-content p + p{
  margin-top:12px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-consent-meta{
  margin:16px 0 0!important;
  color:#66665f!important;
  font-size:13px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-consent-confirm{
  margin:18px 0 0!important;
  padding:14px 16px!important;
  border:1px solid #e3e1db!important;
  background:#fff!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-consent-confirm span{
  color:#2d2d2a!important;
  line-height:1.55!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody form{
  margin-top:16px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-button,
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-button--ghost{
  min-height:44px!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-button--ghost{
  border-color:#d7d7d1!important;
  background:#fff!important;
  color:#151515!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-button--ghost:hover,
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-button--ghost:focus{
  border-color:#151515!important;
  background:#faf9f7!important;
}
body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-empty--compact{
  background:#fff!important;
  border:1px dashed #d7d7d1!important;
  color:#66665f!important;
}
@media(max-width:860px){
  body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-player{
    padding:20px!important;
  }
  body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-subheading{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-item > summary{
    flex-direction:column!important;
  }
  body.mapa-interface-modern.mapa-modern-portal-app #zgody .mapa-member-consent-content{
    margin:0 0 16px!important;
    padding:16px!important;
  }
}


/* v5.5.1 — dynamic player / guardian filter in Apparel Orders management */
.mapa-apparel-order-filters__search{min-width:min(360px,100%)!important;flex:1 1 320px}
.mapa-apparel-order-filters__search input{width:100%;min-height:40px;background:#fff!important;color:#1d1d1f!important;border:1px solid #bdbdbd!important;box-shadow:none!important;padding:0 12px}
.mapa-apparel-order-search-status{display:flex;justify-content:flex-end;margin:-4px 0 10px;color:#666;font-size:12px;font-weight:700}
.mapa-apparel-order-search-empty{margin-bottom:12px}
@media(max-width:760px){.mapa-apparel-order-filters__search{min-width:0!important;flex:auto}.mapa-apparel-order-search-status{justify-content:flex-start}}


/* v5.5.1 — Apparel Orders management: stronger edit entry-point and quick jump to editor */
.mapa-apparel-order__statuses{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}
.mapa-apparel-order__badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.mapa-apparel-order__edit-trigger{
  min-height:34px;
  padding:0 12px;
  border-color:#e7b2b8!important;
  background:#fff7f7!important;
  color:#961924!important;
  font-weight:800!important;
  white-space:nowrap;
}
.mapa-apparel-order__edit-trigger:hover,
.mapa-apparel-order__edit-trigger:focus{
  border-color:#c9303e!important;
  background:#fff0f1!important;
  color:#7c0f1d!important;
}
.mapa-apparel-order-edit{
  position:relative;
  overflow:hidden;
  border:1px solid #e6d7d9;
  background:#fff;
  box-shadow:0 14px 30px rgba(20,20,20,.05);
}
.mapa-apparel-order-edit::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#d41f33;
}
.mapa-apparel-order-edit>summary{
  padding:16px 18px 16px 22px;
  background:linear-gradient(180deg,#fff9fa 0%,#f6eff0 100%);
}
.mapa-apparel-order-edit>summary span{
  color:#151515;
  font-size:18px;
  letter-spacing:-.01em;
}
.mapa-apparel-order-edit>summary small{
  color:#6b6366;
  font-size:12px;
  text-align:right;
}
.mapa-apparel-order-edit[open]>summary{
  border-bottom:1px solid #e6d7d9;
}
.mapa-apparel-order-edit.is-emphasized{
  box-shadow:0 0 0 3px rgba(212,31,51,.16),0 20px 34px rgba(20,20,20,.08);
}
.mapa-apparel-order-edit__body{
  padding:18px;
  background:#fff;
}
@keyframes mapa-apparel-editor-pulse{
  0%{box-shadow:0 0 0 0 rgba(212,31,51,.22),0 20px 34px rgba(20,20,20,.08)}
  50%{box-shadow:0 0 0 6px rgba(212,31,51,.06),0 20px 34px rgba(20,20,20,.08)}
  100%{box-shadow:0 0 0 3px rgba(212,31,51,.16),0 20px 34px rgba(20,20,20,.08)}
}
.mapa-apparel-order-edit.is-emphasized{
  animation:mapa-apparel-editor-pulse 1.6s ease;
}
@media(max-width:1100px){
  .mapa-apparel-order__statuses,
  .mapa-apparel-order__badges{justify-content:flex-start}
}
@media(max-width:620px){
  .mapa-apparel-order__edit-trigger{width:100%;justify-content:center}
  .mapa-apparel-order-edit>summary{align-items:flex-start;flex-direction:column}
  .mapa-apparel-order-edit>summary small{text-align:left}
}


/* v5.5.1 — Apparel order lifecycle, acceptance and parent cancellation workflow */
.mapa-apparel-badge--in_progress{background:#eef1ff;border-color:#aeb9e6;color:#304a8f}
.mapa-apparel-badge--completed{background:#f0f2f0;border-color:#bfc6bf;color:#415044}
.mapa-apparel-badge--cancelled{background:#fff0f0;border-color:#db9a9a;color:#8b1b1b}
.mapa-apparel-order-accept,.mapa-apparel-cancel-admin{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:15px 16px;border:1px solid #d8d8d3;background:#fafaf8}
.mapa-apparel-order-accept{border-left:4px solid #3f7b48;background:#f3faf4}
.mapa-apparel-order-accept>div,.mapa-apparel-cancel-admin>div:first-child{display:grid;gap:3px}
.mapa-apparel-order-accept span,.mapa-apparel-cancel-admin small{color:#666}
.mapa-apparel-cancel-admin{border-left:4px solid #d39018;background:#fff9e9}
.mapa-apparel-cancel-admin>div>span{color:#8b5b00;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.mapa-apparel-cancel-admin__actions{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.mapa-apparel-cancel-admin__actions form{margin:0}
.mapa-apparel-cancel-request-form{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:15px 16px;border:1px solid #e2d3d3;border-left:4px solid #b44b56;background:#fff8f8}
.mapa-apparel-cancel-request-form>div{display:grid;gap:4px}.mapa-apparel-cancel-request-form span{color:#666;line-height:1.45}
.mapa-apparel-cancel-request-button{border-color:#cf9ca1!important;color:#8b1b1b!important;background:#fff!important;font-weight:800!important}
.mapa-apparel-cancel-state{margin:18px 0;padding:13px 15px;border:1px solid #d8d8d3;background:#fafaf8;color:#555}
.mapa-apparel-cancel-state--pending{display:grid;gap:4px;border-color:#e4c77d;background:#fff9e9;color:#6c5100}
.mapa-apparel-history__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mapa-apparel-history__heading h3{margin:0}
.mapa-operations-apparel-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
@media(max-width:760px){.mapa-apparel-order-accept,.mapa-apparel-cancel-admin,.mapa-apparel-cancel-request-form,.mapa-apparel-history__heading{align-items:stretch;flex-direction:column}.mapa-apparel-cancel-admin__actions{align-items:stretch}.mapa-apparel-cancel-admin__actions form,.mapa-apparel-cancel-admin__actions .button,.mapa-apparel-order-accept form,.mapa-apparel-order-accept .button,.mapa-apparel-cancel-request-button{width:100%}}


/* v5.5.1 — Parent editing of New apparel orders + management review state */
.mapa-apparel-parent-order-edit{
  margin:18px 0;
  border:1px solid #e2d8da;
  background:#fff;
}
.mapa-apparel-parent-order-edit>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px 17px;
  cursor:pointer;
  list-style:none;
  border-left:4px solid #d41f33;
  background:#fff8f9;
}
.mapa-apparel-parent-order-edit>summary::-webkit-details-marker{display:none}
.mapa-apparel-parent-order-edit>summary>span:first-child{display:grid;gap:3px;min-width:0}
.mapa-apparel-parent-order-edit>summary strong{color:#171717;font-size:16px}
.mapa-apparel-parent-order-edit>summary small{color:#68615f;font-size:12px;line-height:1.45}
.mapa-apparel-parent-order-edit__action{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #d9aeb4;
  background:#fff;
  color:#961924;
  font-size:12px;
  font-weight:800;
}
.mapa-apparel-parent-order-edit[open]>summary{border-bottom:1px solid #e2d8da}
.mapa-apparel-parent-order-edit__body{display:grid;gap:18px;padding:18px}
.mapa-apparel-parent-order-edit .mapa-apparel-order-edit__form{margin:0}
.mapa-apparel-badge--parent-review{
  background:#fff1f3!important;
  border-color:#e3a2aa!important;
  color:#8c1725!important;
}
.mapa-apparel-parent-review{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid #e3b5bb;
  border-left:4px solid #d41f33;
  background:#fff7f8;
}
.mapa-apparel-parent-review>div{display:grid;gap:3px}
.mapa-apparel-parent-review span{color:#9a1f2d;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.mapa-apparel-parent-review strong{color:#171717}
.mapa-apparel-parent-review small{color:#666;line-height:1.45}
@media(max-width:620px){
  .mapa-apparel-parent-order-edit>summary{align-items:flex-start;flex-direction:column}
  .mapa-apparel-parent-order-edit__action{width:100%;justify-content:center}
  .mapa-apparel-parent-order-edit__body{padding:14px}
}


/* v5.5.1 — Bidirectional parent / player relationship management */
.mapa-relationship-picker--guardian{
  margin-top:8px;
  padding:16px;
  border:1px solid #deded8;
  background:#fafaf8;
}
.mapa-relationship-picker--guardian .mapa-search-field{
  display:grid;
  gap:7px;
}
.mapa-relationship-picker--guardian .mapa-search-field>span{
  color:#20201d;
  font-weight:800;
}
.mapa-account-children{
  display:grid;
  gap:12px;
  margin-top:18px;
  padding:18px;
  border:1px solid #d7d7d1;
  background:#fff;
}
.mapa-account-children h3{margin:0;color:#171717}
.mapa-account-children>p{margin:0;color:#66665f;line-height:1.55}
.mapa-account-children>label{display:grid;gap:7px}
.mapa-account-children>label>span{font-weight:800;color:#252522}
.mapa-account-children>label>small{color:#6b6b65;line-height:1.45}
.mapa-account-children.is-role-inactive{
  opacity:.56;
  background:#f7f7f4;
}
.mapa-profile-existing-guardian{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:12px;
  align-items:end;
  margin-top:18px;
  padding:16px;
  border:1px solid #deded8;
  background:#fafaf8;
}
.mapa-profile-existing-guardian label{display:grid;gap:7px;min-width:0}
.mapa-profile-existing-guardian label>span{font-weight:800;color:#252522}
.mapa-profile-existing-guardian .button{min-height:42px}
@media(max-width:760px){
  .mapa-profile-existing-guardian{grid-template-columns:1fr}
  .mapa-profile-existing-guardian .button{width:100%;justify-content:center}
}

/* v5.5.2 — Data Import Center refresh */
.mapa-bulk-import-page{display:grid;gap:22px}
.mapa-bulk-import-wizard,.mapa-bulk-import-reference,.mapa-bulk-import-preview,.mapa-bulk-import-report,.mapa-bulk-import-overview{background:#fff!important;border:1px solid #d9d9d4!important;box-shadow:none!important}
.mapa-bulk-import-overview{padding:0!important}
.mapa-bulk-import-overview__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px}
.mapa-bulk-import-overview__grid article{display:grid;gap:8px;padding:18px;border:1px solid #ecebe6;background:linear-gradient(180deg,#fff 0%,#fafaf8 100%)}
.mapa-bulk-import-overview__eyebrow{color:#b10e1a;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.mapa-bulk-import-overview__grid strong{font-size:18px;line-height:1.2;color:#171717}
.mapa-bulk-import-overview__grid p{margin:0;color:#66665f;line-height:1.55}
.mapa-bulk-import-form{display:grid;gap:24px}
.mapa-bulk-import-steps{display:grid;gap:0}
.mapa-bulk-import-steps>section{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid #e5e4df}
.mapa-bulk-import-steps>section:first-child{padding-top:4px}
.mapa-bulk-import-steps>section:last-child{border-bottom:0;padding-bottom:4px}
.mapa-bulk-import-steps h3{margin:0 0 6px;color:#171717;font-size:20px;letter-spacing:-.02em}
.mapa-bulk-import-steps p{margin:0 0 16px;color:#66665f;line-height:1.55}
.mapa-bulk-import-step{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #e20716;background:#fff7f7;color:#b10e1a;font-size:14px;font-weight:900}
.mapa-bulk-import-upload-layout{display:grid;grid-template-columns:minmax(320px,1.4fr) minmax(260px,.9fr);gap:14px;align-items:stretch}
.mapa-bulk-import-upload-card{position:relative;display:grid;gap:10px;padding:22px;border:1px dashed #d8b4b8;background:linear-gradient(180deg,#fff 0%,#fff8f8 100%);cursor:pointer}
.mapa-bulk-import-upload-card:hover{border-color:#e20716;background:linear-gradient(180deg,#fff 0%,#fff5f6 100%)}
.mapa-bulk-import-upload-card input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.mapa-bulk-import-upload-card__kicker{color:#b10e1a;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.mapa-bulk-import-upload-card strong{font-size:20px;color:#171717;line-height:1.2}
.mapa-bulk-import-upload-card small{color:#66665f;line-height:1.5}
.mapa-bulk-import-upload-card__button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #e20716;background:#e20716;color:#fff;font-weight:800;width:max-content}
.mapa-bulk-import-upload-card__filename{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border:1px solid #e3e2dd;background:#fff;color:#3a3a36;font-weight:700;overflow-wrap:anywhere}
.mapa-bulk-import-upload-help{display:grid;gap:10px;padding:18px;border:1px solid #ecebe6;background:#fafaf8}
.mapa-bulk-import-upload-help h4{margin:0;color:#171717;font-size:15px}
.mapa-bulk-import-upload-help ul{margin:0;padding-left:18px;color:#66665f;line-height:1.6}
.mapa-bulk-import-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mapa-bulk-import-tabbed{display:grid;gap:14px}
.mapa-bulk-import-tab-nav{display:flex;gap:10px;flex-wrap:wrap}
.mapa-bulk-import-tab{display:grid;gap:2px;min-width:180px;padding:14px 16px;border:1px solid #dcdcd6;background:#fafaf8;color:#242421;text-align:left;cursor:pointer}
.mapa-bulk-import-tab:hover{border-color:#c7c6c0;background:#fff}
.mapa-bulk-import-tab span{font-size:15px;font-weight:800;color:#171717}
.mapa-bulk-import-tab small{color:#74746d}
.mapa-bulk-import-tab.is-active{border-color:#e20716;background:#fff7f7;box-shadow:inset 0 0 0 1px rgba(226,7,22,.08)}
.mapa-bulk-import-tab-panel{display:none;border:1px solid #e2e1dc;background:#fff}
.mapa-bulk-import-tab-panel.is-active{display:block}
.mapa-bulk-import-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 18px 14px;border-bottom:1px solid #ecebe6;background:#fcfcfb}
.mapa-bulk-import-panel-head strong{display:block;margin:0 0 4px;color:#171717;font-size:18px}
.mapa-bulk-import-panel-head p{margin:0;color:#66665f;line-height:1.5}
.mapa-bulk-import-panel-stats{display:grid;grid-template-columns:repeat(3,minmax(88px,1fr));gap:10px;min-width:min(100%,350px)}
.mapa-bulk-import-panel-stats span{display:grid;gap:2px;padding:10px 12px;border:1px solid #e7e6e1;background:#fff;text-align:center}
.mapa-bulk-import-panel-stats strong{margin:0;color:#171717;font-size:20px;line-height:1}
.mapa-bulk-import-panel-stats small{color:#74746d;font-size:11px}
.mapa-bulk-import-required-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;max-height:none;overflow:visible}
.mapa-bulk-import-field-toggle{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #ecece7;background:#fff;cursor:pointer}
.mapa-bulk-import-field-toggle:hover{background:#fffafa;border-color:#e4d0d2}
.mapa-bulk-import-field-toggle.is-fixed{background:#fafaf8}
.mapa-bulk-import-field-toggle input[type=checkbox]{flex:0 0 auto;margin-top:2px}
.mapa-bulk-import-field-toggle__content{display:grid;gap:8px;min-width:0}
.mapa-bulk-import-field-toggle__title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mapa-bulk-import-field-toggle__title strong{color:#292926;font-size:14px}
.mapa-bulk-import-field-toggle__title code{padding:2px 6px;border:1px solid #e4e3de;background:#fafaf8;color:#6c6c65;font-size:11px}
.mapa-bulk-import-field-toggle small{color:#777770;font-size:12px;line-height:1.5}
.mapa-bulk-import-field-toggle__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mapa-bulk-import-field-toggle__meta em{font-style:normal;color:#8b2e35;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.mapa-bulk-import-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border:1px solid #e2e1dc;background:#fafaf8;color:#555550;font-size:11px;font-weight:700}
.mapa-bulk-import-badge.is-active{border-color:#f1c9cd;background:#fff1f2;color:#9e101b}
.mapa-bulk-import-actions,.mapa-bulk-import-confirm-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #e3e2dd}
.mapa-bulk-import-columns-table,.mapa-bulk-import-preview-table,.mapa-bulk-import-report-table{overflow:auto;border:1px solid #dfdfda;background:#fff}
.mapa-bulk-import-columns-table table,.mapa-bulk-import-preview-table table,.mapa-bulk-import-report-table table{width:100%;border-collapse:collapse;min-width:860px}
.mapa-bulk-import-columns-table th,.mapa-bulk-import-columns-table td,.mapa-bulk-import-preview-table th,.mapa-bulk-import-preview-table td,.mapa-bulk-import-report-table th,.mapa-bulk-import-report-table td{padding:11px 12px;border-bottom:1px solid #e8e8e3;text-align:left;vertical-align:top;color:#30302c}
.mapa-bulk-import-columns-table th,.mapa-bulk-import-preview-table th,.mapa-bulk-import-report-table th{background:#f4f4f1;color:#4c4c47;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.mapa-bulk-import-preview-table small{color:#6f6f69}
.mapa-bulk-import-preview-table ul{margin:7px 0 0;padding-left:18px;color:#66665f}
.mapa-bulk-import-row--error{background:#fff7f7}
.mapa-bulk-import-row--duplicate{background:#fffaf0}
.mapa-bulk-import-row--warning{background:#fffdf7}
.mapa-bulk-import-duplicate-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:14px;border:1px solid #e2e1dc;background:#fafaf8}
.mapa-bulk-import-duplicate-toolbar label{display:grid;gap:5px;min-width:270px}
.mapa-bulk-import-duplicate-toolbar label>span{font-weight:800;color:#30302c}
.mapa-bulk-import-duplicate-toolbar select{min-height:40px;background:#fff!important;color:#222!important;border:1px solid #bdbdb8!important}
.mapa-bulk-import-duplicate-toolbar>span{color:#6c6c65;font-size:12px;line-height:1.45}
.mapa-bulk-import-preview-table select{min-width:145px;min-height:36px;background:#fff!important;color:#222!important;border:1px solid #bdbdb8!important}
.mapa-bulk-import-report-table{margin-top:14px}
.mapa-bulk-import-report .mapa-import-report__summary,.mapa-bulk-import-preview .mapa-import-preview__summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.mapa-bulk-import-report .mapa-import-report__summary>div,.mapa-bulk-import-preview .mapa-import-preview__summary>div{background:#fafaf8!important;border:1px solid #e0e0db!important;color:#222!important}
.mapa-bulk-import-report .mapa-import-report__summary span,.mapa-bulk-import-preview .mapa-import-preview__summary span{color:#707069!important}
.mapa-bulk-import-report .mapa-import-report__summary strong,.mapa-bulk-import-preview .mapa-import-preview__summary strong{color:#171717!important}
.mapa-bulk-import-reference-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 18px}
.mapa-bulk-import-reference-summary article{display:grid;gap:4px;padding:16px;border:1px solid #ecebe6;background:#fafaf8}
.mapa-bulk-import-reference-summary strong{color:#171717;font-size:16px}
.mapa-bulk-import-reference-summary p{margin:0;color:#4a4a45;font-weight:700}
.mapa-bulk-import-reference-summary small{color:#74746d;line-height:1.5}
.mapa-bulk-import-reference-accordion{margin:0 18px 18px;border:1px solid #e2e1dc;background:#fff}
.mapa-bulk-import-reference-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:16px 18px;font-weight:800;color:#171717;list-style:none}
.mapa-bulk-import-reference-accordion>summary::-webkit-details-marker{display:none}
.mapa-bulk-import-reference-accordion[open]>summary{border-bottom:1px solid #ecebe6;background:#fcfcfb}
.mapa-bulk-import-reference-accordion>div{padding:18px}
.mapa-bulk-import-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mapa-bulk-import-reference-card{display:grid;gap:10px;padding:16px;border:1px solid #ecebe6;background:#fff}
.mapa-bulk-import-reference-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.mapa-bulk-import-reference-card header div{display:grid;gap:6px}
.mapa-bulk-import-reference-card strong{color:#171717;font-size:15px}
.mapa-bulk-import-reference-card code{display:inline-flex;width:max-content;padding:2px 7px;border:1px solid #e4e3de;background:#fafaf8;color:#6c6c65;font-size:11px}
.mapa-bulk-import-reference-card p{margin:0;color:#66665f;line-height:1.55}
.mapa-bulk-import-reference-card__flag{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border:1px solid #d8d7d1;background:#fafaf8;color:#565650;font-size:11px;font-weight:800;white-space:nowrap}
.mapa-bulk-import-reference-card__flag.is-required{border-color:#f1c9cd;background:#fff1f2;color:#9e101b}
.mapa-bulk-import-reference-card__meta{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1200px){.mapa-bulk-import-overview__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-bulk-import-upload-layout,.mapa-bulk-import-required-list,.mapa-bulk-import-reference-grid{grid-template-columns:1fr}.mapa-bulk-import-reference-summary{grid-template-columns:1fr}.mapa-bulk-import-panel-head{flex-direction:column}.mapa-bulk-import-panel-stats{min-width:0;width:100%}}
@media(max-width:1050px){.mapa-bulk-import-options{grid-template-columns:1fr}}
@media(max-width:700px){.mapa-bulk-import-overview__grid{grid-template-columns:1fr}.mapa-bulk-import-steps>section{grid-template-columns:1fr}.mapa-bulk-import-step{width:32px}.mapa-bulk-import-actions,.mapa-bulk-import-confirm-actions{align-items:stretch;flex-direction:column}.mapa-bulk-import-actions .button,.mapa-bulk-import-confirm-actions .button{width:100%;justify-content:center}.mapa-bulk-import-report .mapa-import-report__summary,.mapa-bulk-import-preview .mapa-import-preview__summary,.mapa-bulk-import-panel-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-bulk-import-tab{min-width:0;flex:1 1 100%}}
.mapa-bulk-import-row-data{min-width:180px}
.mapa-bulk-import-row-data>summary{cursor:pointer;color:#9e101b;font-weight:800;white-space:nowrap}
.mapa-bulk-import-row-data dl{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(130px,1.2fr);gap:5px 10px;margin:10px 0 0;padding:10px;border:1px solid #e2e1dc;background:#fff}
.mapa-bulk-import-row-data dt{color:#74746d;font-size:11px;font-weight:700}
.mapa-bulk-import-row-data dd{margin:0;color:#242421;font-size:12px;overflow-wrap:anywhere}
.mapa-bulk-import-no-data{color:#8a8a83;font-size:12px}

/* v5.5.3 — Workflow / Zadania modern refresh */
.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell{max-width:1500px;margin:0 auto;padding:24px 26px 42px;box-sizing:border-box}
.mapa-workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.mapa-workflow-heading .button-hero{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;white-space:nowrap}
.mapa-workflow-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 18px;border:1px solid #dcdcd7;background:#fff}
.mapa-workflow-summary article{min-height:112px;padding:18px 20px;border-right:1px solid #e8e8e3;background:#fff!important;box-shadow:none!important;border-radius:0!important;border:0!important}
.mapa-workflow-summary article:last-child{border-right:0}
.mapa-workflow-summary article:before{display:none!important}
.mapa-workflow-summary article.is-danger{background:#fff8f8!important}
.mapa-workflow-summary span{display:block;margin-bottom:8px;color:#6a6a63;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.mapa-workflow-summary strong{display:block;color:#171717!important;font-size:2rem;line-height:1}
.mapa-workflow-summary small{display:block;margin-top:8px;color:#74746d;font-size:13px;line-height:1.45}
.mapa-workflow-tabs{display:flex;flex-wrap:wrap;gap:0;margin:0 0 14px;padding:0;border:1px solid #dcdcd7;background:#fff;border-radius:0}
.mapa-workflow-tabs a{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 18px;color:#343430;font-weight:800;text-decoration:none;background:#fff;border-right:1px solid #ecebe6}
.mapa-workflow-tabs a:last-child{border-right:0}
.mapa-workflow-tabs a:hover,.mapa-workflow-tabs a:focus-visible{color:#171717;background:#fafaf8}
.mapa-workflow-tabs a.is-active{color:#171717;background:#fff}
.mapa-workflow-tabs a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#e20716}
.mapa-workflow-tabs a span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;padding:0 6px;border-radius:999px;background:#f3f2ef;color:#5f5f58;font-size:11px;font-weight:900;text-align:center}
.mapa-workflow-tabs a.is-active span{background:#fff1f2;color:#a40d19}
.mapa-workflow-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(170px,220px) minmax(170px,220px) auto auto;align-items:end;gap:10px;margin:0 0 16px;padding:16px;border:1px solid #dcdcd7;background:#fff;border-radius:0}
.mapa-workflow-toolbar label,.mapa-workflow-field{display:grid;gap:6px;min-width:0}
.mapa-workflow-toolbar label>span,.mapa-workflow-field>span{font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#6d6d66}
.mapa-workflow-toolbar input,.mapa-workflow-toolbar select,.mapa-workflow-form input,.mapa-workflow-form select,.mapa-workflow-form textarea,.mapa-workflow-comment-form textarea,.mapa-workflow-state-form select{width:100%;max-width:none;box-sizing:border-box;border-color:#cfcfca;background:#fff;color:#1f1f1d}
.mapa-workflow-list{display:grid;gap:12px}
.mapa-workflow-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;border:1px solid #dcdcd7;background:#fff;border-radius:0;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.mapa-workflow-row:hover{border-color:#cac9c3;box-shadow:0 8px 20px rgba(17,17,17,.04);transform:translateY(-1px)}
.mapa-workflow-row.is-overdue{border-left:3px solid #e20716}
.mapa-workflow-row.is-escalated{box-shadow:inset 0 0 0 1px rgba(226,7,22,.08)}
.mapa-workflow-row__main{min-width:0;padding:18px 20px;color:inherit;text-decoration:none}
.mapa-workflow-row__main h3{margin:8px 0 8px;color:#171717!important;font-size:18px;line-height:1.35}
.mapa-workflow-row__badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mapa-workflow-status,.mapa-workflow-priority,.mapa-workflow-escalated{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;box-shadow:none}
.mapa-workflow-status{background:#eef2ff;color:#4a58b0}.mapa-workflow-status--in_progress{background:#ebf8ff;color:#0e7490}.mapa-workflow-status--waiting{background:#fff7e8;color:#b96500}.mapa-workflow-status--done{background:#edf9f0;color:#217a3c}.mapa-workflow-status--cancelled{background:#f1f4f7;color:#5b6876}
.mapa-workflow-priority--urgent{background:#fff1f2;color:#b1101b}.mapa-workflow-priority--high{background:#fff7e8;color:#b96500}.mapa-workflow-priority--normal{background:#f2f3f5;color:#5b6674}.mapa-workflow-priority--low{background:#f6f7f8;color:#69727e}.mapa-workflow-escalated{background:#e20716;color:#fff}
.mapa-workflow-row__meta{display:flex;flex-wrap:wrap;gap:12px 18px;color:#6f6f68!important;font-size:13px;line-height:1.45}
.mapa-workflow-row__meta>span{display:inline-flex;align-items:center;gap:6px}.mapa-workflow-row__meta .dashicons{font-size:15px;width:15px;height:15px}.mapa-workflow-row__meta .is-danger{color:#b10e1a;font-weight:800}
.mapa-workflow-row__relations{margin:10px 0 0;color:#7a7a74;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mapa-workflow-row__actions{display:flex;align-items:center;gap:8px;padding:0 18px 0 0}.mapa-workflow-row__actions form{margin:0}
.mapa-workflow-empty{padding:15px;color:#72726b;text-align:center;background:#fff}
.mapa-workflow-empty--large{padding:52px 22px;border:1px dashed #cfcfc9;border-radius:0;background:#fff}
.mapa-workflow-empty--large .dashicons{display:block;width:auto;height:auto;margin-bottom:10px;font-size:38px;color:#6bc47f}
.mapa-workflow-empty--large strong{display:block;color:#171717!important;font-size:22px;line-height:1.25}
.mapa-workflow-empty--large p{margin:8px 0 0;color:#72726b}
.mapa-workflow-form{padding:0!important;overflow:hidden;border:1px solid #dcdcd7;background:#fff}
.mapa-workflow-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px}
.mapa-workflow-field--wide{grid-column:1/-1}
.mapa-workflow-field small{color:#75756f;font-size:12px;line-height:1.5}
.mapa-workflow-relations{border-top:1px solid #e7e6e1;padding:0 22px;background:#fff}
.mapa-workflow-relations summary{display:flex;align-items:center;gap:8px;padding:18px 0;font-weight:800;cursor:pointer;color:#171717}
.mapa-workflow-relations__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 0 22px}
.mapa-workflow-form__actions{display:flex;align-items:center;gap:9px;padding:18px 22px;border-top:1px solid #e7e6e1;background:#fafaf8}
.mapa-workflow-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:14px 0 20px}
.mapa-workflow-detail-head h1{margin:8px 0 5px;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.1;color:#171717}
.mapa-workflow-detail-head p{margin:0;color:#6f6f68}
.mapa-workflow-detail-head__actions{display:flex;gap:8px}
.mapa-workflow-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;align-items:start}
.mapa-workflow-detail-main,.mapa-workflow-detail-side{display:grid;gap:18px}
.mapa-workflow-card-body{padding:18px 20px;background:#fff}
.mapa-workflow-description .mapa-workflow-card-body{font-size:15px;line-height:1.7}
.mapa-workflow-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:16px 18px;border-bottom:1px solid #e7e6e1;background:#fff}.mapa-workflow-comment-form textarea{resize:vertical}
.mapa-workflow-comments{display:grid;gap:0;background:#fff}.mapa-workflow-comments article{padding:15px 18px;border-bottom:1px solid #ecebe6}.mapa-workflow-comments article:last-child{border-bottom:0}.mapa-workflow-comments header{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px}.mapa-workflow-comments time{color:#7a7a74;font-size:12px}.mapa-workflow-comments p{margin:0;line-height:1.6;color:#2a2a27}
.mapa-workflow-history{padding:6px 18px 14px;background:#fff}.mapa-workflow-history>div{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;padding:10px 0}.mapa-workflow-history>div>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#e20716}.mapa-workflow-history p{margin:0;color:#2a2a27}.mapa-workflow-history strong,.mapa-workflow-history small{display:block}.mapa-workflow-history small{margin-top:3px;color:#7a7a74;font-size:12px}
.mapa-workflow-facts{display:grid;gap:13px}.mapa-workflow-facts>div{display:grid;gap:4px}.mapa-workflow-facts span{color:#6d6d66;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.mapa-workflow-facts strong{font-size:15px;color:#171717}
.mapa-workflow-link-list{display:grid;padding:10px;background:#fff}.mapa-workflow-link-list a{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #ecebe6;color:#171717;text-decoration:none}.mapa-workflow-link-list a:last-child{border-bottom:0}.mapa-workflow-link-list a:hover{color:#b10e1a;background:#fafaf8}
.mapa-workflow-state-form{display:grid;gap:10px;padding:18px;background:#fff}.mapa-workflow-danger .mapa-workflow-card-body{background:#fff}
@media(max-width:1200px){.mapa-workflow-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-workflow-summary article:nth-child(2){border-right:0}.mapa-workflow-summary article:nth-child(-n+2){border-bottom:1px solid #e8e8e3}.mapa-workflow-toolbar{grid-template-columns:1fr 1fr}.mapa-workflow-toolbar label:first-child{grid-column:1/-1}.mapa-workflow-detail-layout{grid-template-columns:1fr}}
@media(max-width:900px){.mapa-workflow-heading{flex-direction:column;align-items:stretch}.mapa-workflow-heading .button-hero{width:100%;justify-content:center}.mapa-workflow-tabs a{flex:1 1 calc(50% - 1px);justify-content:center}.mapa-workflow-form__grid,.mapa-workflow-relations__grid{grid-template-columns:1fr}.mapa-workflow-comment-form{grid-template-columns:1fr}}
@media(max-width:700px){.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell{padding:18px 16px 32px}.mapa-workflow-summary{grid-template-columns:1fr}.mapa-workflow-summary article{border-right:0;border-bottom:1px solid #e8e8e3}.mapa-workflow-summary article:last-child{border-bottom:0}.mapa-workflow-tabs{display:grid;grid-template-columns:1fr 1fr}.mapa-workflow-tabs a{justify-content:flex-start;border-right:1px solid #ecebe6;border-bottom:1px solid #ecebe6}.mapa-workflow-tabs a:nth-child(2n){border-right:0}.mapa-workflow-tabs a:nth-last-child(-n+1){border-bottom:0}.mapa-workflow-toolbar{grid-template-columns:1fr}.mapa-workflow-toolbar label:first-child{grid-column:auto}.mapa-workflow-row{grid-template-columns:1fr}.mapa-workflow-row__actions{padding:0 18px 18px}.mapa-workflow-detail-head{flex-direction:column}.mapa-workflow-detail-head__actions{width:100%}.mapa-workflow-detail-head__actions .button{flex:1 1 auto}}

/* v5.5.4 — Treningi MAPA admin refresh */
.mapa-training-admin.mapa-manager-admin{max-width:1500px;margin:0 auto;padding:24px 26px 42px;box-sizing:border-box}
.mapa-training-admin .mapa-manager-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.mapa-training-admin .mapa-manager-heading h1{margin:0 0 10px;color:#171717;font-size:clamp(2rem,4vw,2.8rem);line-height:1.05}.mapa-training-admin .mapa-admin-lead{max-width:920px;margin:0;color:#6f6f68;font-size:15px;line-height:1.65}.mapa-training-admin .mapa-manager-heading__side{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.mapa-training-admin .mapa-manager-heading__side .button{min-height:44px;padding:0 15px}.mapa-training-admin .button-hero{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.mapa-training-admin .notice{margin:0 0 16px}
.mapa-training-admin .mapa-admin-card{border:1px solid #dcdcd7;background:#fff;border-radius:0;box-shadow:none;overflow:hidden}.mapa-training-admin .mapa-admin-card__head{padding:18px 22px;border-bottom:1px solid #e7e6e1;background:#fff}.mapa-training-admin .mapa-admin-card__head h2{margin:0 0 6px;color:#171717;font-size:20px;line-height:1.2}.mapa-training-admin .mapa-admin-card__head p{margin:0;color:#72726b;font-size:13px;line-height:1.55}
.mapa-training-admin .mapa-training-schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.mapa-training-admin .mapa-training-schedule-head .button{flex:0 0 auto;min-height:40px}
.mapa-training-admin .mapa-record-list--training{padding:0;gap:0;border-top:1px solid #ecebe6;background:#fff}
.mapa-training-admin .mapa-record-accordion--training{border:0;border-bottom:1px solid #ecebe6;border-radius:0;background:#fff;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}.mapa-training-admin .mapa-record-accordion--training.is-open{border-bottom-color:#d9d8d2;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(226,7,22,.08)}
.mapa-training-admin .mapa-record-summary{grid-template-columns:auto minmax(220px,1.25fr) minmax(380px,1.9fr) auto;gap:16px;min-height:76px;padding:12px 18px;background:#fff;color:#2f2f2b}.mapa-training-admin .mapa-record-summary:hover{background:#fbfbf8}.mapa-training-admin .mapa-record-summary:focus{outline:2px solid rgba(226,7,22,.3);outline-offset:-2px}
.mapa-training-admin .mapa-drag-handle{width:38px;height:38px;border:1px solid #d2d2cd;border-radius:10px;background:#fff;color:#64645d}.mapa-training-admin .mapa-drag-handle:hover{border-color:#e20716;color:#c20c18;background:#fff8f8}
.mapa-training-admin .mapa-record-summary__identity{gap:4px}.mapa-training-admin .mapa-record-summary__identity strong{color:#171717;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mapa-training-admin .mapa-record-summary__identity span{color:#7b7b74;font-size:12px;font-weight:600}
.mapa-training-admin .mapa-record-summary__meta{gap:8px 10px;color:#686861;font-size:12px;line-height:1.45}.mapa-training-admin .mapa-record-summary__meta>span{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;background:#f5f4f1;border:1px solid #ebe9e4;color:#50504a;font-weight:700}.mapa-training-admin .mapa-record-summary__meta>span strong{font-weight:800;color:#21211f}
.mapa-training-admin .mapa-record-summary__meta .mapa-status{border-color:transparent}.mapa-training-admin .mapa-status--waiting{background:#f5f6f8!important;color:#5e6874!important}.mapa-training-admin .mapa-status--accepted{background:#edf8ef!important;color:#24763f!important}.mapa-training-admin .mapa-status--warning{background:#fff5e7!important;color:#a96a00!important}
.mapa-training-admin .mapa-record-summary__actions{justify-content:flex-end}.mapa-training-admin .mapa-record-toggle-button{min-height:38px;padding:0 12px;border-color:#d8d7d2;background:#fff;color:#2f2f2b}.mapa-training-admin .mapa-record-toggle-button:hover{border-color:#c8c7c2;background:#fafaf8}.mapa-training-admin .mapa-record-accordion--training.is-open .mapa-record-toggle-button{border-color:#e6c8cb;background:#fff4f5;color:#a8121d}
.mapa-training-admin .mapa-record-details{padding:18px;background:#fbfbf8;border-top:1px solid #ecebe6}
.mapa-training-admin .mapa-training-editor-shell{display:grid;gap:18px}.mapa-training-admin .mapa-training-editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #e1dfda;border-radius:0;background:linear-gradient(180deg,#fff,#fcfcfa)}.mapa-training-admin .mapa-training-editor-toolbar__summary{display:grid;gap:5px;min-width:0}.mapa-training-admin .mapa-training-editor-toolbar__summary strong{color:#171717;font-size:20px;line-height:1.2}.mapa-training-admin .mapa-training-editor-toolbar__summary span{color:#6f6f68;font-size:13px;line-height:1.6}.mapa-training-admin .mapa-training-editor-toolbar__actions{display:flex;flex-wrap:wrap;gap:9px}.mapa-training-admin .mapa-training-editor-toolbar__actions .button{min-height:40px}
.mapa-training-admin .mapa-training-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mapa-training-admin .mapa-training-editor-card{padding:18px;border:1px solid #e1dfda;border-radius:0;background:#fff;box-shadow:none}.mapa-training-admin .mapa-training-editor-card__head{display:grid;gap:5px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #ecebe6}.mapa-training-admin .mapa-training-editor-card__head h3{margin:0;color:#171717;font-size:18px;line-height:1.25}.mapa-training-admin .mapa-training-editor-card__head p{margin:0;color:#6f6f68;font-size:13px;line-height:1.55}
.mapa-training-admin .mapa-training-editor-fields{display:grid;gap:14px}.mapa-training-admin .mapa-training-editor-fields--2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mapa-training-admin .mapa-training-editor-fields label,.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid label{display:grid;gap:7px}.mapa-training-admin .mapa-training-editor-fields label>span,.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid label>span,.mapa-training-admin .mapa-record-details label>span{color:#6a6a63;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.mapa-training-admin .mapa-training-editor-fields :is(input[type=text],input[type=date],input[type=time],input[type=number],select),.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid :is(input[type=text],select){width:100%;max-width:none;min-height:42px;box-sizing:border-box;border:1px solid #cfcfca;border-radius:0;background:#fff;color:#1d1d1b;padding:0 12px}.mapa-training-admin .mapa-training-editor-fields textarea{border:1px solid #cfcfca;border-radius:0;background:#fff;color:#1d1d1b}.mapa-training-admin .mapa-training-editor-note,.mapa-training-admin .mapa-training-time-warning,.mapa-training-admin .mapa-record-details small{color:#787871;font-size:12px;line-height:1.55}
.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid label{padding:14px;border:1px solid #ecebe6;border-radius:0;background:#fafaf8}
.mapa-training-admin .mapa-training-editor-toggle{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid #ecebe6;border-radius:0;background:#fafaf8}.mapa-training-admin .mapa-training-editor-toggle input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0}.mapa-training-admin .mapa-training-editor-toggle span{display:grid;gap:4px}.mapa-training-admin .mapa-training-editor-toggle strong{color:#171717;font-size:14px;line-height:1.3}.mapa-training-admin .mapa-training-editor-toggle small{color:#6e6e67;font-size:12px;line-height:1.5}
.mapa-training-admin .mapa-training-editor-preview{display:grid;gap:14px;padding:18px;border:1px solid #e1dfda;border-radius:0;background:#fff}.mapa-training-admin .mapa-training-editor-preview__head{display:grid;gap:5px}.mapa-training-admin .mapa-training-editor-preview__head h4{margin:0;color:#171717;font-size:18px}.mapa-training-admin .mapa-training-editor-preview__head span{color:#6f6f68;font-size:13px;line-height:1.55}.mapa-training-admin .mapa-training-editor-preview__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mapa-training-admin .mapa-training-editor-preview__grid>div{display:grid;gap:5px;padding:14px;border:1px solid #ecebe6;border-radius:0;background:#fafaf8}.mapa-training-admin .mapa-training-editor-preview__grid span{color:#75756f;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.mapa-training-admin .mapa-training-editor-preview__grid strong{color:#171717;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.mapa-training-admin .mapa-staff-save{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-top:1px solid #ecebe6;background:#fafaf8}.mapa-training-admin .mapa-save-hint{color:#72726b;font-size:12px;line-height:1.55}.mapa-training-admin .mapa-staff-save .button-hero{min-height:44px;padding:0 18px}
.mapa-training-admin .mapa-record-empty{padding:42px 22px;color:#707069;text-align:center;background:#fff}
@media(max-width:1280px){.mapa-training-admin .mapa-record-summary{grid-template-columns:auto minmax(180px,1fr) minmax(220px,1.25fr) auto}.mapa-training-admin .mapa-training-editor-preview__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.mapa-training-admin.mapa-manager-admin{padding:20px 18px 34px}.mapa-training-admin .mapa-manager-heading{flex-direction:column;align-items:stretch}.mapa-training-admin .mapa-manager-heading__side{width:100%}.mapa-training-admin .mapa-manager-heading__side .button{flex:1 1 auto;justify-content:center}.mapa-training-admin .mapa-training-schedule-head{flex-direction:column}.mapa-training-admin .mapa-training-schedule-head .button{width:100%;justify-content:center}.mapa-training-admin .mapa-record-summary{grid-template-columns:auto minmax(0,1fr) auto;gap:10px}.mapa-training-admin .mapa-record-summary__meta{grid-column:2/4}.mapa-training-admin .mapa-record-summary__actions{grid-column:2/4;justify-content:flex-start}.mapa-training-admin .mapa-training-editor-grid,.mapa-training-admin .mapa-training-editor-fields--2,.mapa-training-admin .mapa-training-editor-staff .mapa-staff-assignment-grid,.mapa-training-admin .mapa-training-editor-preview__grid{grid-template-columns:1fr}.mapa-training-admin .mapa-training-editor-toolbar{flex-direction:column}.mapa-training-admin .mapa-staff-save{flex-direction:column;align-items:stretch}.mapa-training-admin .mapa-staff-save .button-hero{width:100%}}
@media(max-width:640px){.mapa-training-admin.mapa-manager-admin{padding:16px 12px 28px}.mapa-training-admin .mapa-admin-card__head,.mapa-training-admin .mapa-record-details,.mapa-training-admin .mapa-staff-save{padding-left:14px;padding-right:14px}.mapa-training-admin .mapa-record-summary{padding:12px}.mapa-training-admin .mapa-record-summary__meta>span{min-height:26px;padding:0 9px;font-size:11px}.mapa-training-admin .mapa-training-editor-card,.mapa-training-admin .mapa-training-editor-preview,.mapa-training-admin .mapa-training-editor-toolbar{padding:14px}}

/* v5.5.5 — Apparel metrics light-state fix */
body.mapa-interface-modern :where(.mapa-operations-apparel-card){background:#fff!important;border:1px solid #d9d9d4!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:18px!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) > a{display:grid!important;gap:4px!important;padding:14px 16px!important;border:1px solid #dfdfda!important;border-radius:0!important;background:#fff!important;color:#1c1c1a!important;text-decoration:none!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) > a:hover,body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) > a:focus-visible{border-color:#e30613!important;background:#fff9f9!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) span{font-size:11px!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#787871!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) strong{font-size:28px!important;line-height:1!important;color:#171714!important}
body.mapa-interface-modern :where(.mapa-operations-apparel-metrics) small{color:#6e6e67!important;line-height:1.5!important}
@media(max-width:1050px){body.mapa-interface-modern :where(.mapa-operations-apparel-metrics){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.mapa-interface-modern :where(.mapa-operations-apparel-metrics){grid-template-columns:1fr!important}}

/* v5.5.6 — Nabór Online: frontend-safe management view and MAPA Modern refresh */
.mapa-recruitment-admin{max-width:1500px;margin:0 auto;padding:24px 26px 42px;box-sizing:border-box;color:#2d2d29}
.mapa-recruitment-admin .mapa-recruitment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.mapa-recruitment-admin .mapa-recruitment-heading h1{margin:5px 0 10px;color:#171714;font-size:clamp(2rem,4vw,2.75rem);line-height:1.05;letter-spacing:-.035em}
.mapa-recruitment-admin .mapa-recruitment-heading .mapa-admin-lead{max-width:920px;margin:0;color:#6d6d66;font-size:15px;line-height:1.65}
.mapa-recruitment-admin .mapa-settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.mapa-recruitment-admin .mapa-settings-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px}
.mapa-recruitment-admin .notice{margin:0 0 16px}
.mapa-recruitment-stats{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;margin:0 0 18px}
.mapa-recruitment-stat{position:relative;display:grid;gap:8px;min-height:92px;padding:15px 16px;border:1px solid #deded8;border-radius:0;background:#fff;color:#242421;text-decoration:none;box-shadow:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.mapa-recruitment-stat:hover,.mapa-recruitment-stat:focus-visible{border-color:#c9c8c2;background:#fafaf8;color:#171714;transform:translateY(-1px)}
.mapa-recruitment-stat.is-active{border-color:#e30613;background:#fff7f7;color:#9f101a}
.mapa-recruitment-stat.is-active::after{content:"";position:absolute;left:-1px;right:-1px;bottom:-1px;height:3px;background:#e30613}
.mapa-recruitment-stat strong{font-size:28px;line-height:1;color:#171714}
.mapa-recruitment-stat.is-active strong{color:#b10e1a}
.mapa-recruitment-stat span{font-size:12px;font-weight:800;line-height:1.35;color:#686861}
.mapa-recruitment-list-card{border:1px solid #dcdcd7!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
.mapa-recruitment-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:18px;border-bottom:1px solid #e7e6e1;background:#fff}
.mapa-recruitment-filter{display:grid;grid-template-columns:1fr;gap:10px;min-width:0}
.mapa-recruitment-filter-search{width:100%!important;min-width:0!important;min-height:44px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1f1f1d!important;padding:0 13px!important}
.mapa-recruitment-filter-controls{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr)) auto auto;gap:9px;align-items:end}
.mapa-recruitment-filter-controls select{width:100%!important;min-width:0!important;min-height:40px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1f1f1d!important}
.mapa-recruitment-filter-controls .button{min-height:40px;justify-content:center}
.mapa-recruitment-results{align-self:end;padding-bottom:9px;color:#6c6c65;font-size:12px;font-weight:800;white-space:nowrap}
.mapa-recruitment-table-wrap{max-width:100%;overflow:auto;background:#fff}
.mapa-recruitment-table{width:100%;min-width:1120px;border-collapse:collapse;background:#fff}
.mapa-recruitment-table thead th{padding:11px 12px;border-bottom:1px solid #d9d9d4;background:#f7f7f4;color:#5f5f59;font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;text-align:left}
.mapa-recruitment-table tbody td{padding:13px 12px;border-bottom:1px solid #ecebe6;background:#fff;color:#30302d;vertical-align:middle}
.mapa-recruitment-table tbody tr:hover td{background:#fbfbf8}
.mapa-recruitment-table tbody tr.mapa-application-new td{background:#fffafa}
.mapa-recruitment-table tbody tr.mapa-application-new:hover td{background:#fff7f7}
.mapa-recruitment-table .mapa-application-new td:first-child{box-shadow:inset 3px 0 #e30613}
.mapa-recruitment-table td>a:not(.button){color:#242421;text-decoration-color:#d7a8ac;text-underline-offset:3px}
.mapa-recruitment-table td>a:not(.button):hover{color:#b10e1a;text-decoration-color:#e30613}
.mapa-recruitment-table td small{display:block;margin-top:4px;color:#777770;line-height:1.45}
.mapa-recruitment-table td strong{color:#20201d}
.mapa-recruitment-table .mapa-workflow-overdue strong{color:#b10e1a}
.mapa-recruitment-table .button-small{min-height:34px;padding:0 10px}
.mapa-recruitment-admin .mapa-status{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;border:1px solid transparent;font-size:10px;font-weight:900;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
.mapa-recruitment-admin .mapa-status--new{background:#fff0f1;color:#a30b14;border-color:#f2c9cd}.mapa-recruitment-admin .mapa-status--todo{background:#fff6df;color:#825c00;border-color:#ead9a7}.mapa-recruitment-admin .mapa-status--contacted{background:#edf6ff;color:#145a9e;border-color:#cfe2f4}.mapa-recruitment-admin .mapa-status--trial{background:#f3efff;color:#5c3aa8;border-color:#ddd3fb}.mapa-recruitment-admin .mapa-status--accepted{background:#edf8f0;color:#18703a;border-color:#cce6d3}.mapa-recruitment-admin .mapa-status--waiting{background:#f5f5f2;color:#5c5c56;border-color:#dfdfda}.mapa-recruitment-admin .mapa-status--rejected{background:#f2f3f4;color:#656b72;border-color:#dde0e3}
.mapa-recruitment-admin .mapa-admin-pagination{padding:16px 18px;border-top:1px solid #ecebe6;background:#fff}
.mapa-recruitment-admin .mapa-admin-pagination ul{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.mapa-recruitment-admin .mapa-admin-pagination a,.mapa-recruitment-admin .mapa-admin-pagination span{display:grid;place-items:center;min-width:36px;height:36px;padding:0 9px;border:1px solid #d9d9d4;border-radius:0;background:#fff;color:#2b2b28;text-decoration:none}
.mapa-recruitment-admin .mapa-admin-pagination .current{background:#e30613;border-color:#e30613;color:#fff}
.mapa-recruitment-admin .mapa-back-link{display:inline-flex;align-items:center;margin-bottom:12px;color:#5e5e58;text-decoration:none;font-weight:700}
.mapa-recruitment-admin .mapa-back-link:hover{color:#b10e1a}
.mapa-recruitment-admin .mapa-application-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.65fr);gap:18px;align-items:start}
.mapa-recruitment-admin .mapa-application-main,.mapa-recruitment-admin .mapa-application-side{display:grid;gap:18px}
.mapa-recruitment-admin .mapa-application-main>.mapa-admin-card,.mapa-recruitment-admin .mapa-application-side>.mapa-admin-card{border:1px solid #dcdcd7!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.mapa-recruitment-admin .mapa-admin-card__head{padding:16px 18px;border-bottom:1px solid #ecebe6;background:#fff}
.mapa-recruitment-admin .mapa-admin-card__head strong{color:#171714}
.mapa-recruitment-admin .mapa-admin-card__head small{color:#777770}
.mapa-recruitment-admin .mapa-application-data{display:grid;grid-template-columns:190px minmax(0,1fr);margin:0;padding:8px 18px 18px}
.mapa-recruitment-admin .mapa-application-data dt,.mapa-recruitment-admin .mapa-application-data dd{margin:0;padding:12px 0;border-bottom:1px solid #f0efeb}
.mapa-recruitment-admin .mapa-application-data dt{color:#66665f;font-size:12px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.mapa-recruitment-admin .mapa-application-data dd{color:#242421;line-height:1.55}
.mapa-recruitment-admin .mapa-application-notes{display:grid;gap:10px;padding:16px 18px 0}
.mapa-recruitment-admin .mapa-application-notes article{padding:13px 14px;border:1px solid #e8e7e2;border-radius:0;background:#fafaf8}
.mapa-recruitment-admin .mapa-application-notes header{display:flex;justify-content:space-between;gap:12px}.mapa-recruitment-admin .mapa-application-notes time{font-size:12px;color:#777770}.mapa-recruitment-admin .mapa-application-notes p{margin:8px 0 0;line-height:1.6}
.mapa-recruitment-admin .mapa-note-form,.mapa-recruitment-admin .mapa-status-form{display:grid;gap:10px;padding:16px 18px 18px}.mapa-recruitment-admin .mapa-note-form textarea,.mapa-recruitment-admin .mapa-status-form select{width:100%;border:1px solid #cfcfca;border-radius:0;background:#fff;color:#1f1f1d}.mapa-recruitment-admin .mapa-note-form .button{justify-self:start}
.mapa-recruitment-admin .mapa-history{display:grid;gap:0;padding:10px 18px 18px}.mapa-recruitment-admin .mapa-history>div{display:grid;grid-template-columns:14px 1fr;gap:9px;padding:9px 0}.mapa-recruitment-admin .mapa-history>div>span{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#e30613;box-shadow:0 0 0 3px #fff0f1}.mapa-recruitment-admin .mapa-history p{display:grid;gap:3px;margin:0}.mapa-recruitment-admin .mapa-history small{color:#777770}
.mapa-recruitment-admin .mapa-danger-card{border-color:#efc4c7!important}.mapa-recruitment-admin .mapa-danger-body{padding:18px}.mapa-recruitment-admin .mapa-danger-body .button-link-delete{color:#b32d2e}
@media(max-width:1280px){.mapa-recruitment-stats{grid-template-columns:repeat(4,minmax(130px,1fr))}.mapa-recruitment-filter-controls{grid-template-columns:repeat(3,minmax(150px,1fr)) auto auto}.mapa-recruitment-admin .mapa-application-layout{grid-template-columns:1fr}}
@media(max-width:900px){.mapa-recruitment-admin{padding:20px 18px 34px}.mapa-recruitment-admin .mapa-recruitment-heading{flex-direction:column;align-items:stretch}.mapa-recruitment-admin .mapa-settings-actions{justify-content:flex-start}.mapa-recruitment-toolbar{grid-template-columns:1fr}.mapa-recruitment-results{padding-bottom:0}.mapa-recruitment-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-recruitment-filter-controls .button{width:100%}}
@media(max-width:620px){.mapa-recruitment-admin{padding:16px 12px 28px}.mapa-recruitment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-recruitment-stat{min-height:82px}.mapa-recruitment-filter-controls{grid-template-columns:1fr}.mapa-recruitment-admin .mapa-settings-actions{display:grid;grid-template-columns:1fr}.mapa-recruitment-admin .mapa-application-data{grid-template-columns:1fr}.mapa-recruitment-admin .mapa-application-data dt{padding-bottom:3px;border-bottom:0}.mapa-recruitment-admin .mapa-application-data dd{padding-top:0}}

/* v5.5.7 — Kadra MAPA: functional light-only management UI */
.mapa-staff-admin.mapa-staff-v2-admin{max-width:1500px;margin:0 auto;padding:24px 26px 46px;box-sizing:border-box;color:#272724}
.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 18px;padding:0 0 18px;border:0;border-bottom:1px solid #d8d8d2;border-radius:0;background:transparent;box-shadow:none}
.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading h1{margin:4px 0 8px;color:#171714;font-size:clamp(2rem,4vw,2.8rem);line-height:1.05;letter-spacing:-.035em}
.mapa-staff-admin.mapa-staff-v2-admin .mapa-admin-lead{max-width:920px;margin:0;color:#696963;font-size:14px;line-height:1.6}
.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading__side{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading__side .button{min-height:44px;padding:0 16px}
.mapa-staff-admin .mapa-status--info{background:#eef5ff!important;border-color:#d7e4f6!important;color:#275f99!important}
.mapa-staff-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 18px;border:1px solid #dcdcd7;background:#fff}
.mapa-staff-kpis article{display:grid;gap:5px;min-height:108px;padding:18px 20px;border-right:1px solid #e8e8e3;background:#fff}
.mapa-staff-kpis article:last-child{border-right:0}
.mapa-staff-kpis span{color:#6c6c65;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.mapa-staff-kpis strong{color:#171714;font-size:30px;line-height:1;letter-spacing:-.03em}
.mapa-staff-kpis small{color:#777770;font-size:12px;line-height:1.45}
.mapa-staff-directory{overflow:visible!important;border:1px solid #dcdcd7!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.mapa-staff-directory__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;padding:18px 20px!important;border-bottom:1px solid #e7e6e1!important;background:#fff!important}
.mapa-staff-directory__head h2{margin:0 0 5px!important;color:#171714!important;font-size:20px!important}
.mapa-staff-directory__head p{margin:0!important;color:#6f6f68!important;line-height:1.5!important}
.mapa-staff-directory__head>[data-mapa-staff-result-count]{flex:0 0 auto;padding:7px 10px;border:1px solid #e2e1dc;background:#fafaf8;color:#4f4f49;font-size:12px;font-weight:800;white-space:nowrap}
.mapa-staff-toolbar{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(150px,.65fr) minmax(150px,.65fr) minmax(150px,.65fr) auto;gap:10px;align-items:end;padding:16px 20px;border-bottom:1px solid #e7e6e1;background:#fafaf8}
.mapa-staff-toolbar label{display:grid;gap:6px;min-width:0}
.mapa-staff-toolbar label>span{color:#676760;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.mapa-staff-toolbar :is(input[type=search],select){width:100%;min-height:42px;max-width:none;margin:0;border:1px solid #cfcfca;border-radius:0;background:#fff;color:#1d1d1b;box-sizing:border-box}
.mapa-staff-toolbar__clear{min-height:42px!important;padding:0 14px!important}
.mapa-record-list--staff{display:grid!important;gap:0!important;padding:0!important;background:#fff!important}
.mapa-record-list--staff .mapa-record-accordion--staff{min-width:0!important;border:0!important;border-bottom:1px solid #e9e8e3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
.mapa-record-list--staff .mapa-record-accordion--staff[hidden]{display:none!important}
.mapa-record-list--staff .mapa-record-accordion--staff.is-open{border-bottom-color:#d8d7d1!important;background:#fbfbf8!important;box-shadow:inset 3px 0 0 #e20716!important}
.mapa-record-list--staff .mapa-record-summary{display:grid!important;grid-template-columns:auto minmax(180px,1fr) minmax(320px,1.6fr) auto!important;align-items:center!important;gap:14px!important;min-height:72px!important;padding:11px 18px!important;cursor:pointer!important;background:#fff!important;color:#2f2f2b!important;border:0!important;border-radius:0!important}
.mapa-record-list--staff .mapa-record-summary:hover{background:#fafaf8!important}
.mapa-record-list--staff .mapa-record-accordion--staff.is-open .mapa-record-summary{background:#fffafa!important}
.mapa-record-list--staff .mapa-drag-handle{display:inline-grid!important;place-items:center!important;width:38px!important;height:38px!important;padding:0!important;border:1px solid #d1d1cc!important;border-radius:8px!important;background:#fff!important;color:#676760!important;cursor:grab!important}
.mapa-record-list--staff .mapa-drag-handle:hover,.mapa-record-list--staff .mapa-drag-handle:focus{border-color:#e20716!important;background:#fff7f7!important;color:#b10e1a!important;outline:none!important}
.mapa-record-list--staff .mapa-record-summary__identity{display:grid!important;gap:3px!important;min-width:0!important}
.mapa-record-list--staff .mapa-record-summary__identity strong{color:#171714!important;font-size:14px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mapa-record-list--staff .mapa-record-summary__identity span{color:#777770!important;font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mapa-record-list--staff .mapa-record-summary__meta{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;color:#66665f!important;font-size:11px!important}
.mapa-staff-summary-chip{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:26px!important;max-width:260px!important;padding:0 9px!important;border:1px solid #e6e5e0!important;background:#fafaf8!important;color:#55554f!important;font-size:11px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mapa-staff-summary-chip .dashicons{flex:0 0 auto;width:14px;height:14px;font-size:14px;color:#85857e}
.mapa-staff-summary-chip.is-muted{color:#85857e!important;font-weight:600!important}
.mapa-record-list--staff .mapa-status{display:inline-flex!important;align-items:center!important;min-height:26px!important;padding:0 9px!important;border:1px solid #deded9!important;border-radius:999px!important;background:#f5f5f2!important;color:#55554f!important;font-size:10px!important;font-weight:900!important;letter-spacing:.03em!important;text-transform:uppercase!important}
.mapa-record-list--staff .mapa-status--accepted{border-color:#d7ebdc!important;background:#edf8ef!important;color:#24763f!important}
.mapa-record-list--staff .mapa-status--waiting{border-color:#e5e5df!important;background:#f4f4f1!important;color:#66665f!important}
.mapa-record-list--staff .mapa-status--info{border-color:#d7e4f6!important;background:#eef5ff!important;color:#275f99!important}
.mapa-record-list--staff .mapa-record-summary__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.mapa-record-list--staff .mapa-record-summary__actions .button{min-height:36px!important;padding:0 12px!important;border-color:#d6d5d0!important;background:#fff!important;color:#292926!important}
.mapa-record-list--staff .mapa-record-summary__actions .button:hover{border-color:#c6c5bf!important;background:#fafaf8!important}
.mapa-record-list--staff .mapa-record-accordion--staff.is-open .mapa-record-toggle-button{border-color:#edc4c8!important;background:#fff2f3!important;color:#9f111d!important}
.mapa-record-list--staff .mapa-record-details{padding:18px!important;border-top:1px solid #ecebe6!important;background:#fbfbf8!important;color:#2f2f2b!important}
.mapa-staff-editor-shell{display:grid;gap:16px}
.mapa-staff-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #e1e0db;background:#fff}
.mapa-staff-editor-head>div:first-child{display:grid;gap:4px}
.mapa-staff-editor-head strong{color:#171714;font-size:18px;line-height:1.25}
.mapa-staff-editor-head span{color:#6f6f68;font-size:12px;line-height:1.5}
.mapa-staff-editor-head__state{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important}
.mapa-staff-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mapa-staff-editor-card{display:grid;align-content:start;gap:14px;min-width:0;padding:18px;border:1px solid #e1e0db;background:#fff;color:#2f2f2b}
.mapa-staff-editor-card__head{display:grid;gap:4px;padding-bottom:13px;border-bottom:1px solid #ecebe6}
.mapa-staff-editor-card__head h3{margin:0;color:#171714;font-size:17px;line-height:1.25}
.mapa-staff-editor-card__head p{margin:0;color:#707069;font-size:12px;line-height:1.5}
.mapa-staff-editor-profile-layout{display:grid;grid-template-columns:126px minmax(0,1fr);gap:18px;align-items:start}
.mapa-staff-editor-card .mapa-record-field-group,.mapa-staff-editor-card .mapa-record-field{display:grid;gap:13px;min-width:0;color:#2f2f2b!important;font-weight:600!important}
.mapa-staff-editor-card .mapa-record-field-group label,.mapa-staff-editor-card .mapa-record-field{display:grid;gap:6px;color:#2f2f2b!important;font-weight:600!important}
.mapa-staff-editor-card .mapa-record-field-group label>span,.mapa-staff-editor-card .mapa-record-label{color:#66665f!important;font-size:11px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.mapa-staff-editor-card :is(input[type=text],input[type=email],input[type=tel],select,textarea){width:100%!important;max-width:none!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:8px 11px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important;box-sizing:border-box!important;box-shadow:none!important}
.mapa-staff-editor-card textarea{resize:vertical!important;line-height:1.5!important}
.mapa-staff-photo{width:116px!important}
.mapa-staff-photo__preview{display:grid!important;place-items:center!important;width:112px!important;height:112px!important;margin:0 0 9px!important;border:1px solid #d7d7d2!important;border-radius:0!important;background:#fafaf8!important;overflow:hidden!important}
.mapa-staff-photo__preview:empty:before{content:"Brak zdjęcia";color:#85857e;font-size:11px;text-align:center}
.mapa-staff-photo__preview img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.mapa-staff-photo .button{margin:0 4px 4px 0!important}
.mapa-staff-editor-toggle{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px!important;border:1px solid #e7e6e1!important;background:#fafaf8!important;color:#2f2f2b!important;cursor:pointer!important}
.mapa-staff-editor-toggle input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0!important}
.mapa-staff-editor-toggle>span{display:grid!important;gap:3px!important}
.mapa-staff-editor-toggle strong{color:#1f1f1d!important;font-size:13px!important;line-height:1.35!important}
.mapa-staff-editor-toggle small{color:#72726b!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-editor-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mapa-staff-editor-danger{margin-top:2px;padding-top:14px;border-top:1px solid #ecebe6}
.mapa-staff-editor-danger .button-link-delete{color:#b10e1a!important;font-weight:700!important}
.mapa-staff-filter-empty{padding:34px 20px!important;background:#fff!important;color:#707069!important}
.mapa-staff-admin .mapa-staff-save{position:sticky;bottom:10px;z-index:20;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin-top:0!important;padding:14px 18px!important;border:1px solid #d8d8d2!important;border-top:1px solid #d8d8d2!important;border-radius:0!important;background:rgba(255,255,255,.97)!important;box-shadow:0 -8px 24px rgba(22,22,20,.07)!important;backdrop-filter:blur(8px)}
.mapa-staff-admin .mapa-save-hint{color:#6f6f68!important;font-size:12px!important;line-height:1.5!important}
.mapa-staff-admin .mapa-staff-save .button-hero{min-height:44px!important;padding:0 18px!important}
/* Explicit light reset for legacy record styles on the Staff screen. */
.mapa-staff-admin :is(.mapa-record-accordion,.mapa-record-summary,.mapa-record-details,.mapa-record-actions-panel,.mapa-record-field-group,.mapa-record-field,.mapa-admin-choice-stack){color:#2f2f2b!important}
.mapa-staff-admin :is(.mapa-record-accordion,.mapa-record-summary,.mapa-record-details,.mapa-record-actions-panel){background:#fff!important;border-color:#deded8!important;box-shadow:none!important}
.mapa-staff-admin :is(input,textarea,select):disabled,.mapa-staff-admin :is(input,textarea,select)[readonly]{background:#f4f4f1!important;color:#686861!important;border-color:#d6d6d0!important;opacity:1!important}
@media(max-width:1200px){.mapa-staff-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-staff-kpis article:nth-child(2){border-right:0}.mapa-staff-kpis article:nth-child(-n+2){border-bottom:1px solid #e8e8e3}.mapa-staff-toolbar{grid-template-columns:1fr 1fr 1fr}.mapa-staff-toolbar__search{grid-column:1/-1}.mapa-staff-toolbar__clear{justify-self:start}.mapa-record-list--staff .mapa-record-summary{grid-template-columns:auto minmax(180px,1fr) auto}.mapa-record-list--staff .mapa-record-summary__meta{grid-column:2/4}}
@media(max-width:900px){.mapa-staff-admin.mapa-staff-v2-admin{padding:20px 16px 38px}.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading{flex-direction:column;align-items:stretch}.mapa-staff-admin.mapa-staff-v2-admin .mapa-manager-heading__side{justify-content:flex-start}.mapa-staff-editor-grid{grid-template-columns:1fr}.mapa-staff-editor-profile-layout{grid-template-columns:126px minmax(0,1fr)}}
@media(max-width:700px){.mapa-staff-kpis{grid-template-columns:1fr}.mapa-staff-kpis article{border-right:0!important;border-bottom:1px solid #e8e8e3}.mapa-staff-kpis article:last-child{border-bottom:0}.mapa-staff-toolbar{grid-template-columns:1fr}.mapa-staff-toolbar__search{grid-column:auto}.mapa-record-list--staff .mapa-record-summary{grid-template-columns:auto minmax(0,1fr)!important;gap:9px!important;padding:12px!important}.mapa-record-list--staff .mapa-record-summary__meta,.mapa-record-list--staff .mapa-record-summary__actions{grid-column:2!important;justify-content:flex-start!important}.mapa-staff-editor-head{flex-direction:column}.mapa-staff-editor-profile-layout{grid-template-columns:1fr}.mapa-staff-editor-switches{grid-template-columns:1fr}.mapa-staff-photo{width:100%!important}.mapa-staff-admin .mapa-staff-save{position:static;flex-direction:column;align-items:stretch!important}.mapa-staff-admin .mapa-staff-save .button-hero{width:100%!important}}

/* v5.6.0 — Groups MAPA as the single source of truth for capacity / occupancy */
body.mapa-interface-modern .mapa-group-admin.mapa-manager-admin{max-width:1500px!important;margin:0 auto!important;padding:24px 26px 42px!important;box-sizing:border-box!important}
body.mapa-interface-modern .mapa-group-admin .mapa-manager-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;margin-bottom:18px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-manager-heading h1{margin:0 0 9px!important;color:#171714!important;font-size:clamp(2rem,4vw,2.75rem)!important;line-height:1.05!important}
body.mapa-interface-modern .mapa-group-admin .mapa-admin-lead{max-width:940px!important;margin:0!important;color:#696963!important;font-size:14px!important;line-height:1.65!important}
body.mapa-interface-modern .mapa-group-admin .mapa-manager-heading__side{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
body.mapa-interface-modern .mapa-group-admin .mapa-manager-heading__side .button{min-height:44px!important;padding:0 16px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-groups-list-card{border:1px solid #d9d9d4!important;background:#fff!important;box-shadow:none!important;border-radius:0!important;overflow:hidden!important}
body.mapa-interface-modern .mapa-group-admin .mapa-groups-list-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:18px 20px!important;border-bottom:1px solid #ecebe6!important;background:#fff!important}
body.mapa-interface-modern .mapa-group-admin .mapa-groups-list-head h2{margin:0 0 5px!important;color:#171714!important;font-size:20px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-groups-list-head p{margin:0!important;color:#71716b!important;line-height:1.55!important}
body.mapa-interface-modern .mapa-group-admin .mapa-groups-source-note{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 11px!important;border:1px solid #e8cfd1!important;background:#fff7f7!important;color:#9d1520!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;margin:0!important;border-bottom:1px solid #e2e1dc!important;background:#fff!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span{display:grid!important;gap:5px!important;min-height:92px!important;padding:16px 18px!important;border:0!important;border-right:1px solid #ecebe6!important;border-radius:0!important;background:#fff!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span:last-child{border-right:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span.is-warning{background:#fff8f1!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis strong{color:#171714!important;font-size:26px!important;line-height:1!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis small{color:#71716b!important;font-size:12px!important;line-height:1.4!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar{display:grid!important;grid-template-columns:minmax(320px,1fr) minmax(220px,300px) auto!important;gap:12px!important;align-items:end!important;margin:0!important;padding:16px 18px!important;border-bottom:1px solid #e6e5e0!important;background:#fafaf8!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar label{display:grid!important;gap:6px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar label>span{color:#686862!important;font-size:11px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar :is(input[type=search],select){width:100%!important;max-width:none!important;min-height:42px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1e1e1c!important}
body.mapa-interface-modern .mapa-group-admin .mapa-scale-result-count{align-self:center!important;padding:0!important;color:#66665f!important;font-weight:800!important;white-space:nowrap!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-list--groups{display:grid!important;gap:0!important;padding:0!important;background:#fff!important;border:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-record{border:0!important;border-bottom:1px solid #ecebe6!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-record.is-open{border-bottom-color:#d8d7d1!important;box-shadow:inset 4px 0 0 #e30613!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-summary{display:grid!important;grid-template-columns:auto minmax(190px,1fr) minmax(390px,2fr) auto!important;align-items:center!important;gap:14px!important;min-height:72px!important;padding:11px 14px!important;background:#fff!important;color:#30302d!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-summary:hover{background:#fafaf7!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__identity strong{color:#171714!important;font-size:14px!important;font-weight:850!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__identity span{color:#797972!important;font-size:11px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__meta{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;color:#66665f!important;font-size:11px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__meta>span:not(.mapa-status):not(.mapa-group-occupancy-badge){display:inline-flex!important;align-items:center!important;min-height:27px!important;padding:0 9px!important;border:1px solid #e6e5e0!important;background:#f8f8f5!important;color:#5d5d57!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-players-link,body.mapa-interface-modern .mapa-group-admin .mapa-record-toggle-button{min-height:36px!important;padding:0 11px!important;border:1px solid #d4d3ce!important;background:#fff!important;color:#292926!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-toggle-button{font-weight:800!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-record.is-open .mapa-record-toggle-button{border-color:#e4bfc2!important;background:#fff4f5!important;color:#a50e19!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge{display:inline-flex!important;align-items:center!important;min-height:27px!important;padding:0 9px!important;border:1px solid transparent!important;font-size:10px!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge--no-limit{background:#f3f4f5!important;color:#626c77!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge--available{background:#edf8f0!important;color:#24733d!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge--high{background:#fff6e8!important;color:#9a6200!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge--full{background:#fff1f2!important;color:#a4101b!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-occupancy-badge--over{background:#e30613!important;color:#fff!important}
body.mapa-interface-modern .mapa-group-admin .mapa-record-details{padding:18px!important;border-top:1px solid #ecebe6!important;background:#fbfbf8!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-shell{display:grid!important;grid-template-columns:minmax(170px,.48fr) repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card{display:grid!important;gap:14px!important;min-width:0!important;padding:16px!important;border:1px solid #e2e1dc!important;background:#fff!important;color:#30302d!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card--photo{align-content:start!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card__head{display:grid!important;gap:4px!important;padding-bottom:12px!important;border-bottom:1px solid #ecebe6!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card__head h3{margin:0!important;color:#171714!important;font-size:16px!important;line-height:1.25!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card__head p{margin:0!important;color:#73736c!important;font-size:12px!important;line-height:1.5!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields{display:grid!important;gap:12px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields label{display:grid!important;gap:6px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields label>span{color:#686862!important;font-size:10px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields :is(input[type=text],input[type=number],select,textarea){width:100%!important;max-width:none!important;box-sizing:border-box!important;min-height:40px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields textarea{min-height:92px!important;padding:9px 10px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-fields select[multiple]{min-height:118px!important;padding:6px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-capacity-preview{display:grid!important;gap:9px!important;padding:13px!important;border:1px solid #e4e3de!important;background:#fafaf8!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-capacity-preview__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-capacity-preview__top span{color:#6e6e67!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-capacity-preview__top strong{color:#171714!important;font-size:18px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-capacity-preview small{color:#6e6e67!important;line-height:1.45!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-active-toggle{display:flex!important;grid-template-columns:none!important;align-items:flex-start!important;gap:10px!important;padding:13px!important;border:1px solid #e5e4df!important;background:#fff!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-active-toggle input[type=checkbox]{flex:0 0 auto!important;margin-top:2px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-active-toggle>span{display:grid!important;gap:3px!important;text-transform:none!important;letter-spacing:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-active-toggle strong{color:#171714!important;font-size:13px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-active-toggle small{color:#777770!important;font-size:11px!important;line-height:1.45!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;padding-top:4px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-savebar{position:sticky!important;bottom:0!important;z-index:8!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:15px 18px!important;border-top:1px solid #d9d9d4!important;background:rgba(250,250,248,.97)!important;backdrop-filter:blur(10px)!important;border-radius:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-savebar .button{min-height:42px!important;padding:0 17px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-sort-placeholder{min-height:68px!important;border:2px dashed #e30613!important;background:#fff6f7!important}

body.mapa-interface-modern .mapa-management-dashboard .mapa-management-groups-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-groups-head .button{min-height:36px!important;white-space:nowrap!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:18px!important;background:#fff!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card{display:grid!important;gap:9px!important;padding:14px!important;border:1px solid #e2e1dc!important;background:#fff!important;color:#292926!important;text-decoration:none!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card:hover{border-color:#c9c8c2!important;background:#fafaf8!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card--high{border-color:#e5c27c!important;background:#fffaf2!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card--full,body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card--over{border-color:#e8b5b9!important;background:#fff6f7!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card__top strong{color:#171714!important;font-size:14px!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card__top em{font-style:normal!important;color:#55554f!important;font-size:12px!important;font-weight:900!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card__numbers{color:#6d6d66!important;font-size:12px!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-card small{color:#9f111c!important;font-size:11px!important;font-weight:800!important}
body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-empty{grid-column:1/-1!important;padding:28px!important;border:1px dashed #d5d4cf!important;color:#71716b!important;text-align:center!important}

body.mapa-interface-modern .mapa-group-admin .mapa-group-add{border:1px solid #d9d9d4!important;background:#fff!important;box-shadow:none!important;border-radius:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form{display:grid!important;grid-template-columns:150px repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:20px!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form>p{margin:0!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form label{display:grid!important;gap:6px!important;color:#33332f!important;font-weight:700!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form :is(input[type=text],input[type=number],select,textarea){width:100%!important;max-width:none!important;box-sizing:border-box!important;min-height:40px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form small{color:#74746d!important;line-height:1.45!important}
body.mapa-interface-modern .mapa-group-admin .mapa-group-wide{grid-column:2/-1!important}

@media(max-width:1250px){body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span{border-bottom:1px solid #ecebe6!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-shell{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-card--photo{grid-column:auto!important}body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form{grid-template-columns:140px repeat(2,minmax(0,1fr))!important}}
@media(max-width:980px){body.mapa-interface-modern .mapa-group-admin.mapa-manager-admin{padding:20px 18px 34px!important}body.mapa-interface-modern .mapa-group-admin .mapa-manager-heading,body.mapa-interface-modern .mapa-group-admin .mapa-groups-list-head{flex-direction:column!important;align-items:stretch!important}body.mapa-interface-modern .mapa-group-admin .mapa-groups-source-note{white-space:normal!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar{grid-template-columns:1fr 1fr!important}body.mapa-interface-modern .mapa-group-admin .mapa-scale-result-count{grid-column:1/-1!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-summary{grid-template-columns:auto minmax(0,1fr) auto!important}body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__meta{grid-column:2/4!important}body.mapa-interface-modern .mapa-group-admin .mapa-record-summary__actions{grid-column:2/4!important;justify-content:flex-start!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form{grid-template-columns:1fr 1fr!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-wide{grid-column:1/-1!important}}
@media(max-width:700px){body.mapa-interface-modern .mapa-group-admin.mapa-manager-admin{padding:16px 12px 28px!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis,body.mapa-interface-modern .mapa-group-admin .mapa-group-editor-shell,body.mapa-interface-modern .mapa-group-admin .mapa-group-scale-toolbar,body.mapa-interface-modern .mapa-management-dashboard .mapa-management-group-cards,body.mapa-interface-modern .mapa-group-admin .mapa-group-add-form{grid-template-columns:1fr!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span{border-right:0!important;border-bottom:1px solid #ecebe6!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-kpis>span:last-child{border-bottom:0!important}body.mapa-interface-modern .mapa-group-admin .mapa-scale-result-count,body.mapa-interface-modern .mapa-group-admin .mapa-group-wide{grid-column:auto!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-summary{padding:10px!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-savebar{align-items:stretch!important;flex-direction:column!important}body.mapa-interface-modern .mapa-group-admin .mapa-group-savebar .button{width:100%!important;justify-content:center!important}body.mapa-interface-modern .mapa-management-dashboard .mapa-management-groups-head{grid-template-columns:auto minmax(0,1fr)!important}body.mapa-interface-modern .mapa-management-dashboard .mapa-management-groups-head .button{grid-column:1/-1!important;width:100%!important;justify-content:center!important}}

/* v5.6.1 — Add Staff Member: MAPA Modern create workflow; legacy dark add-form styles removed */
.mapa-staff-create-page{max-width:1500px!important;margin:0 auto!important;padding:24px 26px 42px!important;box-sizing:border-box!important;color:#2f2f2b!important}
.mapa-staff-create-page .mapa-manager-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;margin-bottom:18px!important}
.mapa-staff-create-page .mapa-manager-heading h1{margin:0 0 8px!important;color:#171714!important;font-size:clamp(2rem,4vw,2.75rem)!important;line-height:1.05!important}
.mapa-staff-create-page .mapa-admin-lead{max-width:900px!important;margin:0!important;color:#696963!important;font-size:14px!important;line-height:1.65!important}
.mapa-staff-create-page .mapa-manager-heading__side{display:flex!important;align-items:flex-start!important;justify-content:flex-end!important}
.mapa-staff-create-state{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:2px 10px!important;min-width:280px!important;padding:14px 16px!important;border:1px solid #e1e0db!important;border-radius:0!important;background:#fafaf8!important;color:#2f2f2b!important}
.mapa-staff-create-state>.dashicons{grid-row:1/3!important;align-self:center!important;width:24px!important;height:24px!important;font-size:24px!important;color:#b10e1a!important}
.mapa-staff-create-state strong{color:#171714!important;font-size:13px!important}
.mapa-staff-create-state small{color:#71716b!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-create-shell{border:1px solid #d9d9d4!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
.mapa-staff-create-form{display:grid!important;gap:0!important;margin:0!important;background:#fff!important;color:#2f2f2b!important}
.mapa-staff-create-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:18px!important;background:#fafaf8!important}
.mapa-staff-create-card{display:grid!important;align-content:start!important;gap:16px!important;min-width:0!important;padding:18px!important;border:1px solid #dfded9!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;box-shadow:none!important}
.mapa-staff-create-card--profile,.mapa-staff-create-card--groups{grid-column:1/-1!important}
.mapa-staff-create-card__head{display:grid!important;gap:7px!important;padding-bottom:14px!important;border-bottom:1px solid #ecebe6!important;background:#fff!important}
.mapa-staff-create-card__head>div{display:flex!important;align-items:center!important;gap:10px!important}
.mapa-staff-create-card__head h2{margin:0!important;color:#171714!important;font-size:18px!important;line-height:1.25!important}
.mapa-staff-create-card__head p{margin:0!important;color:#707069!important;font-size:12px!important;line-height:1.55!important}
.mapa-staff-create-card__step{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:30px!important;height:26px!important;padding:0 7px!important;border:1px solid #efc9cc!important;border-radius:0!important;background:#fff5f6!important;color:#a20f1b!important;font-size:10px!important;font-weight:900!important;letter-spacing:.06em!important}
.mapa-staff-create-profile-layout{display:grid!important;grid-template-columns:142px minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
.mapa-staff-create-photo{display:grid!important;gap:8px!important;color:#2f2f2b!important}
.mapa-staff-create-label,.mapa-staff-create-fields label>span,.mapa-staff-group-picker__toolbar label>span{color:#66665f!important;font-size:11px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.mapa-staff-create-photo>small{color:#777770!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-create-page .mapa-staff-photo{width:126px!important}
.mapa-staff-create-page .mapa-staff-photo__preview{display:grid!important;place-items:center!important;width:124px!important;height:124px!important;margin:0 0 8px!important;border:1px solid #d7d7d2!important;border-radius:0!important;background:#fafaf8!important;color:#85857e!important;overflow:hidden!important;box-shadow:none!important}
.mapa-staff-create-page .mapa-staff-photo__preview:empty:before{content:"Brak zdjęcia"!important;color:#85857e!important;font-size:11px!important;text-align:center!important}
.mapa-staff-create-page .mapa-staff-photo__preview img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.mapa-staff-create-page .mapa-staff-photo .button{min-height:36px!important;margin:0 4px 4px 0!important;border-color:#d1d1cc!important;border-radius:0!important;background:#fff!important;color:#292926!important}
.mapa-staff-create-page .mapa-staff-photo .button:hover{border-color:#bdbdb7!important;background:#fafaf8!important}
.mapa-staff-create-page .mapa-staff-photo .button-link{color:#a20f1b!important}
.mapa-staff-create-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;min-width:0!important}
.mapa-staff-create-fields--2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mapa-staff-create-fields label{display:grid!important;align-content:start!important;gap:7px!important;min-width:0!important;margin:0!important;color:#2f2f2b!important;font-weight:700!important}
.mapa-staff-create-fields label.is-wide{grid-column:1/-1!important}
.mapa-staff-create-fields label>span em{margin-left:6px!important;color:#a20f1b!important;font-size:9px!important;font-style:normal!important;font-weight:900!important;letter-spacing:.04em!important}
.mapa-staff-create-page :is(input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea){width:100%!important;max-width:none!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:8px 11px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important;box-sizing:border-box!important;box-shadow:none!important;caret-color:#1d1d1b!important}
.mapa-staff-create-page textarea{resize:vertical!important;line-height:1.55!important}
.mapa-staff-create-page :is(input,textarea,select)::placeholder{color:#8b8b84!important;opacity:1!important}
.mapa-staff-create-page :is(input,textarea,select):focus{border-color:#b40d19!important;outline:2px solid rgba(226,7,22,.10)!important;outline-offset:0!important;box-shadow:none!important}
.mapa-staff-create-page :is(input,textarea,select):disabled{background:#f3f3f0!important;color:#777770!important;border-color:#d9d9d4!important;opacity:1!important;cursor:not-allowed!important}
.mapa-staff-create-account-state{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:2px 10px!important;grid-column:1/-1!important;padding:12px 14px!important;border:1px solid #e5e4df!important;border-radius:0!important;background:#fafaf8!important;color:#343430!important}
.mapa-staff-create-account-state>.dashicons{grid-row:1/3!important;align-self:center!important;width:20px!important;height:20px!important;font-size:20px!important;color:#7c7c75!important}
.mapa-staff-create-account-state>span:last-child{display:grid!important;gap:2px!important}
.mapa-staff-create-account-state strong{color:#242421!important;font-size:13px!important}
.mapa-staff-create-account-state small{color:#71716b!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-create-account-state.is-connected{border-color:#cfe4d4!important;background:#f2faf4!important}
.mapa-staff-create-account-state.is-connected>.dashicons{color:#2c7b44!important}
.mapa-staff-create-toggle{display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0!important;margin:0!important;padding:13px!important;border:1px solid #e6e5e0!important;border-radius:0!important;background:#fafaf8!important;color:#2f2f2b!important;cursor:pointer!important}
.mapa-staff-create-toggle:hover{border-color:#d3d2cd!important;background:#fff!important}
.mapa-staff-create-toggle.is-disabled{background:#f3f3f0!important;color:#777770!important;cursor:not-allowed!important}
.mapa-staff-create-toggle input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0!important}
.mapa-staff-create-toggle>span{display:grid!important;gap:3px!important;min-width:0!important}
.mapa-staff-create-toggle strong{color:#1f1f1d!important;font-size:13px!important;line-height:1.35!important}
.mapa-staff-create-toggle small{color:#72726b!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-create-toggle.is-disabled strong,.mapa-staff-create-toggle.is-disabled small{color:#85857e!important}
.mapa-staff-create-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.mapa-staff-group-picker{display:grid!important;gap:12px!important;min-width:0!important;color:#2f2f2b!important}
.mapa-staff-group-picker__toolbar{display:grid!important;grid-template-columns:minmax(280px,1fr) auto!important;align-items:end!important;gap:12px!important;padding:14px!important;border:1px solid #e6e5e0!important;border-radius:0!important;background:#fafaf8!important}
.mapa-staff-group-picker__toolbar label{display:grid!important;gap:6px!important;margin:0!important}
.mapa-staff-group-picker__actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.mapa-staff-group-picker__actions .button{min-height:42px!important;border-color:#d0d0cb!important;border-radius:0!important;background:#fff!important;color:#292926!important}
.mapa-staff-group-picker__summary{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;padding:0 2px!important;color:#686861!important;font-size:12px!important}
.mapa-staff-group-picker__summary strong{color:#171714!important;font-size:20px!important;line-height:1!important}
.mapa-staff-group-picker__summary span{font-weight:800!important;color:#454540!important}
.mapa-staff-group-picker__summary small{margin-left:auto!important;color:#777770!important}
.mapa-staff-group-picker__list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-height:310px!important;padding:2px!important;overflow:auto!important;background:#fff!important;color:#2f2f2b!important}
.mapa-staff-group-option{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-width:0!important;margin:0!important;padding:12px!important;border:1px solid #e7e6e1!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;cursor:pointer!important}
.mapa-staff-group-option:hover{border-color:#d1d0cb!important;background:#fafaf8!important}
.mapa-staff-group-option.is-selected{border-color:#e6bcc0!important;background:#fff6f7!important}
.mapa-staff-group-option input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important}
.mapa-staff-group-option>span:nth-child(2){display:grid!important;gap:2px!important;min-width:0!important}
.mapa-staff-group-option strong{overflow:hidden!important;color:#242421!important;font-size:13px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mapa-staff-group-option small{overflow:hidden!important;color:#777770!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mapa-staff-group-option__state{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:0 8px!important;border:1px solid #e2e1dc!important;border-radius:0!important;background:#fafaf8!important;color:#66665f!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important}
.mapa-staff-group-option.is-selected .mapa-staff-group-option__state{border-color:#efc9cc!important;background:#fff!important;color:#a20f1b!important}
.mapa-staff-group-option[hidden]{display:none!important}
.mapa-staff-group-picker__empty,.mapa-staff-group-picker__no-results{padding:24px!important;border:1px dashed #d3d2cd!important;background:#fafaf8!important;color:#777770!important;text-align:center!important}
.mapa-staff-create-page .mapa-people-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.mapa-staff-create-page .mapa-people-picker{display:grid!important;gap:7px!important;min-width:0!important;color:#2f2f2b!important}
.mapa-staff-create-page .mapa-people-selected{display:flex!important;gap:6px!important;flex-wrap:wrap!important;padding:0!important;background:transparent!important}
.mapa-staff-create-page .mapa-people-single-value,.mapa-staff-create-page .mapa-people-chip{display:flex!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:0 10px!important;border:1px solid #e7c3c6!important;border-radius:0!important;background:#fff5f6!important;color:#8f111b!important;font-weight:800!important}
.mapa-staff-create-page .mapa-people-chip button{border:0!important;background:transparent!important;color:#8f111b!important;cursor:pointer!important}
.mapa-staff-create-page .mapa-people-search-wrap{position:relative!important;display:flex!important;align-items:center!important;gap:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.mapa-staff-create-page .mapa-people-search{min-height:42px!important;padding-right:42px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important}
.mapa-staff-create-page .mapa-people-clear{position:absolute!important;right:1px!important;top:1px!important;bottom:1px!important;width:38px!important;border:0!important;border-left:1px solid #e3e2dd!important;border-radius:0!important;background:#fafaf8!important;color:#66665f!important;cursor:pointer!important}
.mapa-staff-create-page .mapa-people-results{position:absolute!important;z-index:60!important;left:0!important;right:0!important;margin-top:4px!important;max-height:300px!important;overflow:auto!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;box-shadow:0 12px 26px rgba(24,24,22,.10)!important}
.mapa-staff-create-page .mapa-people-picker{position:relative!important}
.mapa-staff-create-page .mapa-people-result{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #ecebe6!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;text-align:left!important;cursor:pointer!important}
.mapa-staff-create-page .mapa-people-result:hover,.mapa-staff-create-page .mapa-people-result:focus{background:#fff7f7!important;color:#1d1d1b!important;outline:none!important}
.mapa-staff-create-page .mapa-people-result strong{color:#242421!important}
.mapa-staff-create-page .mapa-people-result small,.mapa-staff-create-page .mapa-people-status,.mapa-staff-create-page .mapa-people-empty{color:#71716b!important}
.mapa-staff-create-page .mapa-people-result__action{color:#a20f1b!important;font-size:11px!important;font-weight:900!important}
.mapa-staff-create-savebar{position:sticky!important;bottom:10px!important;z-index:30!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:0!important;padding:15px 18px!important;border-top:1px solid #d9d9d4!important;border-radius:0!important;background:rgba(255,255,255,.98)!important;color:#2f2f2b!important;box-shadow:0 -8px 24px rgba(22,22,20,.06)!important;backdrop-filter:blur(8px)!important}
.mapa-staff-create-savebar>span{display:grid!important;gap:2px!important;min-width:0!important}
.mapa-staff-create-savebar>span strong{color:#171714!important;font-size:13px!important}
.mapa-staff-create-savebar>span small{color:#71716b!important;font-size:11px!important;line-height:1.45!important}
.mapa-staff-create-savebar>div{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important}
.mapa-staff-create-savebar .button{min-height:44px!important;padding:0 16px!important;border-radius:0!important}
.mapa-staff-create-savebar .button-primary{background:#e20716!important;border-color:#e20716!important;color:#fff!important}
.mapa-staff-create-savebar .button-primary:hover{background:#bd0d18!important;border-color:#bd0d18!important;color:#fff!important}
@media(max-width:1180px){.mapa-staff-create-grid{grid-template-columns:1fr!important}.mapa-staff-create-card--profile,.mapa-staff-create-card--groups{grid-column:auto!important}.mapa-staff-group-picker__list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){.mapa-staff-create-page{padding:20px 16px 36px!important}.mapa-staff-create-page .mapa-manager-heading{flex-direction:column!important;align-items:stretch!important}.mapa-staff-create-page .mapa-manager-heading__side{justify-content:flex-start!important}.mapa-staff-create-state{min-width:0!important;width:100%!important;box-sizing:border-box!important}.mapa-staff-create-profile-layout{grid-template-columns:1fr!important}.mapa-staff-create-page .mapa-staff-photo{width:100%!important}.mapa-staff-create-fields,.mapa-staff-create-fields--2,.mapa-staff-create-switches{grid-template-columns:1fr!important}.mapa-staff-create-fields label.is-wide{grid-column:auto!important}.mapa-staff-group-picker__toolbar{grid-template-columns:1fr!important}.mapa-staff-group-picker__actions{justify-content:flex-start!important}}
@media(max-width:650px){.mapa-staff-create-page{padding:16px 12px 30px!important}.mapa-staff-create-grid{padding:12px!important;gap:12px!important}.mapa-staff-create-card{padding:14px!important}.mapa-staff-group-picker__list{grid-template-columns:1fr!important;max-height:360px!important}.mapa-staff-group-picker__summary small{margin-left:0!important;width:100%!important}.mapa-staff-create-savebar{position:static!important;flex-direction:column!important;align-items:stretch!important}.mapa-staff-create-savebar>div{width:100%!important}.mapa-staff-create-savebar .button{flex:1 1 auto!important;justify-content:center!important}}

/* v5.6.1 — Staff module people/group pickers use the same light square MAPA Modern language */
.mapa-staff-admin .mapa-people-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.mapa-staff-admin .mapa-people-picker{position:relative!important;display:grid!important;gap:7px!important;min-width:0!important;color:#2f2f2b!important}
.mapa-staff-admin .mapa-people-selected{display:flex!important;gap:6px!important;flex-wrap:wrap!important;padding:0!important;background:transparent!important}
.mapa-staff-admin .mapa-people-single-value,.mapa-staff-admin .mapa-people-chip{display:flex!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:0 10px!important;border:1px solid #e7c3c6!important;border-radius:0!important;background:#fff5f6!important;color:#8f111b!important;font-weight:800!important;box-shadow:none!important}
.mapa-staff-admin .mapa-people-chip button{border:0!important;border-radius:0!important;background:transparent!important;color:#8f111b!important;cursor:pointer!important}
.mapa-staff-admin .mapa-people-search-wrap{position:relative!important;display:flex!important;align-items:center!important;gap:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.mapa-staff-admin .mapa-people-search{width:100%!important;max-width:none!important;min-height:42px!important;padding:8px 42px 8px 11px!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#1d1d1b!important;box-shadow:none!important}
.mapa-staff-admin .mapa-people-search::placeholder{color:#8b8b84!important;opacity:1!important}
.mapa-staff-admin .mapa-people-clear{position:absolute!important;right:1px!important;top:1px!important;bottom:1px!important;width:38px!important;border:0!important;border-left:1px solid #e3e2dd!important;border-radius:0!important;background:#fafaf8!important;color:#66665f!important;cursor:pointer!important}
.mapa-staff-admin .mapa-people-results{position:absolute!important;z-index:60!important;left:0!important;right:0!important;margin-top:4px!important;max-height:300px!important;overflow:auto!important;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;box-shadow:0 12px 26px rgba(24,24,22,.10)!important}
.mapa-staff-admin .mapa-people-result{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #ecebe6!important;border-radius:0!important;background:#fff!important;color:#2f2f2b!important;text-align:left!important;cursor:pointer!important}
.mapa-staff-admin .mapa-people-result:last-child{border-bottom:0!important}
.mapa-staff-admin .mapa-people-result:hover,.mapa-staff-admin .mapa-people-result:focus{background:#fff7f7!important;color:#1d1d1b!important;outline:none!important}
.mapa-staff-admin .mapa-people-result strong{color:#242421!important}
.mapa-staff-admin .mapa-people-result small,.mapa-staff-admin .mapa-people-status,.mapa-staff-admin .mapa-people-empty{color:#71716b!important}
.mapa-staff-admin .mapa-people-result__action{color:#a20f1b!important;font-size:11px!important;font-weight:900!important}
.mapa-staff-admin .mapa-people-empty{padding:12px!important;background:#fff!important}

/* v5.7.0 — registration/profile data + Statistics + built-in document template */
.mapa-profile-data-section{margin:18px 0;padding:0;border:1px solid #deded8;border-radius:0;background:#fff;color:#30302d;box-shadow:none}
.mapa-profile-data-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid #e7e6e1;background:#fafaf8}
.mapa-profile-data-section__head h3{margin:2px 0 5px;color:#171714;font-size:18px;line-height:1.25}
.mapa-profile-data-section__head p{margin:0;color:#6c6c65;line-height:1.55}
.mapa-profile-data-section>.mapa-identity-form-grid{padding:18px}
.mapa-profile-data-section :where(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:0!important;background:#fff!important;color:#242421!important;border-color:#cfcfca!important}
.mapa-profile-data-section :where(label>span,strong){color:#292926}
.mapa-profile-data-section small{color:#6f6f68}
.mapa-player-profile-additional{margin-top:18px}
.mapa-profile-definition-list--wide{grid-template-columns:repeat(2,minmax(0,1fr))}
.mapa-profile-definition-list--wide>div:first-child,.mapa-profile-definition-list--wide>div:nth-child(2){grid-column:1/-1}

.mapa-statistics-page{display:grid;gap:20px;max-width:1500px;margin:0 auto;padding:24px 26px 42px;box-sizing:border-box}
.mapa-statistics-page .mapa-manager-heading{margin:0}
.mapa-statistics-filters{padding:16px 18px!important}
.mapa-statistics-filters form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.6fr) auto;gap:12px;align-items:end}
.mapa-statistics-filters label{display:grid;gap:6px}
.mapa-statistics-filters label>span{color:#66665f;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.mapa-statistics-filters :where(select,input){width:100%;min-height:42px;border:1px solid #cfcfca!important;border-radius:0!important;background:#fff!important;color:#242421!important}
.mapa-statistics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #dcdcd7;background:#fff}
.mapa-statistics-kpis article{display:grid;gap:6px;min-height:106px;padding:18px;border-right:1px solid #e7e6e1;background:#fff;color:#30302d}
.mapa-statistics-kpis article:last-child{border-right:0}
.mapa-statistics-kpis span{color:#74746d;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.mapa-statistics-kpis strong{color:#171714;font-size:27px;line-height:1.05}
.mapa-statistics-kpis small{color:#6f6f68}
.mapa-statistics-source,.mapa-statistics-recent{border:1px solid #deded8!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.mapa-statistics-bars{display:grid;gap:0;padding:0 18px 18px}
.mapa-statistics-bars article{display:grid;gap:9px;padding:14px 0;border-bottom:1px solid #ecebe6}
.mapa-statistics-bars article:last-child{border-bottom:0}
.mapa-statistics-bar-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.mapa-statistics-bar-head strong{color:#292926}
.mapa-statistics-bar-head span{color:#64645e;font-weight:700}
.mapa-statistics-progress{display:block;width:100%;height:9px;border:0;border-radius:0;background:#ecece7;appearance:none;-webkit-appearance:none}
.mapa-statistics-progress::-webkit-progress-bar{background:#ecece7;border-radius:0}
.mapa-statistics-progress::-webkit-progress-value{background:#e30613;border-radius:0}
.mapa-statistics-progress::-moz-progress-bar{background:#e30613;border-radius:0}
.mapa-statistics-recent-list{display:grid;padding:0 18px 18px}
.mapa-statistics-recent-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #ecebe6}
.mapa-statistics-recent-list article:last-child{border-bottom:0}
.mapa-statistics-recent-list article>div{display:grid;gap:3px}
.mapa-statistics-recent-list strong{color:#242421}
.mapa-statistics-recent-list small{color:#777770}
.mapa-statistics-recent-list article>span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #e1d1d3;background:#fff7f7;color:#9f111b;font-size:12px;font-weight:800}

.mapa-document-template-choice{padding:14px;border:1px solid #e2e1dc;background:#fafaf8}
.mapa-document-builtin-file-note{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #d8d8d2;border-radius:0;background:#fafaf8;color:#292926;box-shadow:none}
.mapa-document-builtin-file-note>.dashicons{color:#d20f1d}
.mapa-document-builtin-file-note>div{display:grid;gap:4px}
.mapa-document-builtin-file-note strong{color:#171714}
.mapa-document-builtin-file-note small{color:#6b6b65!important}
.mapa-document-template-choice :where(select,input){border-radius:0!important;background:#fff!important;color:#242421!important}

@media(max-width:1050px){.mapa-statistics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-statistics-kpis article:nth-child(2){border-right:0}.mapa-statistics-kpis article:nth-child(-n+2){border-bottom:1px solid #e7e6e1}.mapa-statistics-filters form{grid-template-columns:1fr 1fr}.mapa-statistics-filters button{grid-column:1/-1}}
@media(max-width:700px){.mapa-statistics-page{padding:18px 14px 32px}.mapa-statistics-kpis,.mapa-statistics-filters form,.mapa-profile-definition-list--wide{grid-template-columns:1fr}.mapa-statistics-kpis article{border-right:0;border-bottom:1px solid #e7e6e1}.mapa-statistics-kpis article:last-child{border-bottom:0}.mapa-statistics-filters button{grid-column:auto}.mapa-profile-definition-list--wide>div:first-child,.mapa-profile-definition-list--wide>div:nth-child(2){grid-column:auto}.mapa-statistics-recent-list article{align-items:flex-start;flex-direction:column}}

/* v5.7.3 — Apparel Orders: explicit expandable-row cue + legacy dark cleanup */
.mapa-apparel-order>summary{
  grid-template-columns:34px minmax(170px,1.15fr) minmax(150px,1fr) minmax(160px,1fr) minmax(100px,.6fr) auto;
  background:#fff!important;
  color:#1d1d1f!important;
  border-radius:0!important;
}
.mapa-apparel-order>summary:hover,
.mapa-apparel-order>summary:focus-visible{
  background:#fafaf8!important;
  color:#1d1d1f!important;
  outline:none;
}
.mapa-apparel-order>summary:focus-visible{
  box-shadow:inset 3px 0 0 #e30613;
}
.mapa-apparel-order__toggle-cue{
  display:grid!important;
  grid-template-rows:8px 8px;
  place-items:center;
  align-self:center;
  justify-self:start;
  width:30px;
  min-width:30px!important;
  height:34px;
  padding:5px 0;
  border:1px solid #deded8;
  border-radius:0!important;
  background:#fff!important;
  color:#e30613!important;
  box-sizing:border-box;
  transition:border-color .16s ease,background-color .16s ease;
}
.mapa-apparel-order__toggle-cue>span{
  display:block!important;
  width:8px;
  height:8px;
  min-width:0!important;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transform-origin:center;
}
.mapa-apparel-order>summary:hover .mapa-apparel-order__toggle-cue,
.mapa-apparel-order>summary:focus-visible .mapa-apparel-order__toggle-cue{
  border-color:#e30613;
  background:#fff7f7!important;
}
.mapa-apparel-order[open]>summary .mapa-apparel-order__toggle-cue{
  transform:rotate(180deg);
}
.mapa-apparel-order,
.mapa-apparel-order__body,
.mapa-apparel-order__badges .mapa-apparel-badge{
  border-radius:0!important;
}
.mapa-apparel-order__body{background:#fff!important;color:#1d1d1f!important}
.mapa-apparel-order__badges .mapa-apparel-badge{box-shadow:none!important}
@media(max-width:1100px){
  .mapa-apparel-order>summary{grid-template-columns:34px 1fr 1fr}
  .mapa-apparel-order__toggle-cue{grid-row:1 / span 3}
  .mapa-apparel-order__statuses{grid-column:2 / -1}
}
@media(max-width:760px){
  .mapa-apparel-order>summary{grid-template-columns:34px minmax(0,1fr)}
  .mapa-apparel-order__toggle-cue{grid-row:1 / span 5}
  .mapa-apparel-order>summary>.mapa-apparel-order__number,
  .mapa-apparel-order>summary>span:not(.mapa-apparel-order__toggle-cue){grid-column:2}
}

/* v5.8.0 — PESEL validation feedback (MAPA Modern light) */
[data-mapa-pesel-feedback]{display:block;margin-top:6px;color:#66665f!important;font-size:12px;line-height:1.45}
.mapa-pesel-valid>[data-mapa-pesel-feedback]{color:#226e39!important}
.mapa-pesel-invalid>[data-mapa-pesel-feedback]{color:#9e101b!important;font-weight:700}
.mapa-pesel-invalid>[data-mapa-pesel-input]{border-color:#d43a46!important;background:#fff!important;color:#242421!important;box-shadow:0 0 0 2px rgba(226,7,22,.08)!important;border-radius:0!important}
.mapa-pesel-valid>[data-mapa-pesel-input]{border-color:#9fc9aa!important;background:#fff!important;color:#242421!important;border-radius:0!important}


/* v5.8.0 — Recruitment intake: profile-ready data, light MAPA Modern only */
body.mapa-interface-modern .mapa-recruitment-form{
  background:#fff!important;color:#171714!important;border-radius:0!important;box-shadow:none!important;
}
body.mapa-interface-modern .mapa-recruitment-form-intro{
  display:grid;gap:5px;margin:0 0 24px;padding:15px 16px;border:1px solid #deded8;border-left:3px solid #e20716;background:#fafaf8;color:#33332f;
}
body.mapa-interface-modern .mapa-recruitment-form-intro strong{font-size:14px;color:#171714}
body.mapa-interface-modern .mapa-recruitment-form-intro span{font-size:13px;line-height:1.55;color:#66665f}
body.mapa-interface-modern .mapa-recruitment-form-section{
  display:block!important;margin:12px 0 0!important;padding:20px 0 10px!important;border-top:1px solid #dfdfda!important;background:#fff!important;color:#171714!important;
}
body.mapa-interface-modern .mapa-recruitment-form-section:first-of-type{margin-top:0!important;border-top:0!important;padding-top:0!important}
body.mapa-interface-modern .mapa-recruitment-form-section__eyebrow{display:block;margin-bottom:5px;color:#b10e1a;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
body.mapa-interface-modern .mapa-recruitment-form-section h3{margin:0 0 5px!important;color:#171714!important;font-size:20px!important;line-height:1.15!important;letter-spacing:-.02em!important}
body.mapa-interface-modern .mapa-recruitment-form-section p{margin:0!important;max-width:820px;color:#6a6a64!important;font-size:13px!important;line-height:1.55!important}
body.mapa-interface-modern .mapa-recruitment-form .mapa-field small{display:block;margin-top:5px;color:#6a6a64!important;font-size:12px;line-height:1.45}
body.mapa-interface-modern .mapa-recruitment-form [data-mapa-pesel-feedback]{color:#66665f!important}
body.mapa-interface-modern .mapa-recruitment-form .mapa-pesel-valid>[data-mapa-pesel-feedback]{color:#226e39!important}
body.mapa-interface-modern .mapa-recruitment-form .mapa-pesel-invalid>[data-mapa-pesel-feedback]{color:#9e101b!important}
body.mapa-interface-modern .mapa-recruitment-form :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){background:#fff!important;color:#171714!important;border-color:#c9c9c3!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-recruitment-form :where(input,select,textarea)::placeholder{color:#8a8a84!important;opacity:1}
body.mapa-interface-modern .mapa-recruitment-form select option{background:#fff!important;color:#171714!important}
body.mapa-interface-modern .mapa-recruitment-form .mapa-form-message{border-radius:0!important;box-shadow:none!important}
@media(max-width:640px){
  body.mapa-interface-modern .mapa-recruitment-form-section{padding-top:18px!important}
  body.mapa-interface-modern .mapa-recruitment-form-intro{padding:13px 14px}
}


/* v5.10.0 — Recruitment guardian address and consent workflow (MAPA Modern light) */
body.mapa-interface-modern .mapa-recruitment-consents{display:grid;gap:10px;margin-top:0}
body.mapa-interface-modern .mapa-recruitment-consent-option{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:13px 14px!important;border:1px solid #dfdfda!important;border-radius:0!important;background:#fafaf8!important;color:#242421!important;font-size:13px!important;line-height:1.5!important;text-transform:none!important;font-weight:500!important}
body.mapa-interface-modern .mapa-recruitment-consent-option>input[type=checkbox]{flex:0 0 auto!important;margin-top:2px!important}
body.mapa-interface-modern .mapa-recruitment-consent-option>span{color:#242421!important;font-size:13px!important;line-height:1.5!important;text-transform:none!important;font-weight:500!important}
body.mapa-interface-modern .mapa-recruitment-consent-option strong{color:#b10e1a!important}
body.mapa-interface-modern .mapa-selfservice-consent-option{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:13px 14px!important;border:1px solid #dfdfda!important;border-radius:0!important;background:#fafaf8!important;color:#242421!important;text-transform:none!important}
body.mapa-interface-modern .mapa-selfservice-consent-option>input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:2px 0 0!important}
body.mapa-interface-modern .mapa-selfservice-consent-option>span{color:#242421!important;font-size:12px!important;line-height:1.5!important;text-transform:none!important;font-weight:500!important}


/* ==========================================================================
   MAPA v5.11.0 — Modern-only global UI hygiene
   Consolidated in the main bundle: no extra one-off CSS asset is loaded.
   This final layer removes remaining legacy dark/rounded leakage across
   public pages, Strefa MAPA and frontend management renderers.
   ========================================================================== */
body.mapa-interface-modern{color-scheme:light;background:#f6f6f4!important;color:#151515!important}
body.mapa-interface-modern :where(main,.site-main,.mapa-content,.mapa-modern-portal-app){color:#151515}
body.mapa-interface-modern :where(.mapa-content,.mapa-modern-portal-app) :where(p,ul,ol,li,dl,dt,dd,blockquote){color:#353535}
body.mapa-interface-modern :where(.mapa-content,.mapa-modern-portal-app) :where(small,.description,.mapa-muted,.mapa-help,.mapa-helper,.mapa-form-help){color:#66665f!important}
body.mapa-interface-modern :where(.mapa-content,.mapa-modern-portal-app) :where(h1,h2,h3,h4,h5,h6,strong,b){color:#151515}
body.mapa-interface-modern .mapa-content th{background:#f5f5f2!important;color:#151515!important}

/* Native controls must never inherit the legacy black/dropdown skin. */
body.mapa-interface-modern :where(main,.mapa-modern-portal-app) :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=search],input[type=password],textarea,select){background:#fff!important;color:#151515!important;border-color:#cfcfca!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(main,.mapa-modern-portal-app) :where(select,option,optgroup){background:#fff!important;color:#151515!important;color-scheme:light!important}
body.mapa-interface-modern :where(main,.mapa-modern-portal-app) :where(input,textarea,select)::placeholder{color:#777770!important;opacity:1}
body.mapa-interface-modern :where(main,.mapa-modern-portal-app) :where(input,textarea,select):focus{border-color:#e30613!important;outline:2px solid rgba(227,6,19,.12)!important;outline-offset:0}

/* Reused management renderers: one light, square surface language everywhere. */
body.mapa-interface-modern .mapa-modern-portal-app :where(
  .mapa-admin-card,.mapa-panel,.mapa-card,.mapa-toolbar,.mapa-filter-bar,.mapa-filter-row,
  .mapa-inline-filters,.mapa-record-list,.mapa-record-accordion,.mapa-record-summary,.mapa-record-details,
  .mapa-record-actions-panel,.mapa-record-detail-grid>div,.mapa-bulk-select-all,.mapa-saved-view-capture,
  .mapa-operations-tabs,.mapa-operations-summary article,.mapa-action-center-item,.mapa-people-results,
  .mapa-people-result,.mapa-people-filter-results--portal,.mapa-legal-gate-grid>article,.mapa-legal-scroll,
  .mapa-legal-accept-form label,.mapa-calendar-filters,.mapa-calendar-weekdays,.mapa-calendar-day,
  .mapa-calendar-event,.mapa-event-rsvp-kpis>div,.mapa-season-options label,.mapa-member-auth-main,
  .mapa-member-auth-card,.mapa-member-auth-info,.mapa-member-portal-hero,.mapa-member-tabs
){background:#fff!important;color:#151515!important;border-color:#deded8!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-modern-portal-app :where(
  .mapa-record-summary__identity strong,.mapa-record-detail-grid>div>strong,.mapa-record-actions-panel strong,
  .mapa-operations-tabs a,.mapa-action-center-item,.mapa-saved-view-capture label>span,
  .mapa-people-result strong,.mapa-calendar-event strong,.mapa-member-tabs a
){color:#151515!important}
body.mapa-interface-modern .mapa-modern-portal-app :where(.mapa-record-summary__meta,.mapa-record-detail-grid small,.mapa-action-center-item small,.mapa-people-result small){color:#66665f!important}

/* Flatten legacy rounded-card geometry without touching media/lightbox overlays. */
body.mapa-interface-modern :where(main,.mapa-modern-portal-app) :where(
  .mapa-card,.mapa-news-row,.mapa-gallery-shell,.mapa-schedule-wrap,.mapa-form-message,.mapa-empty,
  .mapa-admin-card,.mapa-panel,.mapa-toolbar,.mapa-record-accordion,.mapa-record-summary,.mapa-record-details,
  .mapa-calendar-filters,.mapa-calendar-day,.mapa-event-rsvp-kpis>div
){border-radius:0!important;box-shadow:none!important}

/* MAPA v5.11.2 — canonical checkbox rendering for every Modern frontend / Strefa / management route.
   The white tick is an SVG background, not a pseudo-element, so WP/Dashicons cannot replace it. */
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox){
  -webkit-appearance:none!important;appearance:none!important;display:inline-block!important;position:relative!important;box-sizing:border-box!important;
  flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important;
  margin:2px 8px 0 0!important;padding:0!important;border:1px solid #a9aaa5!important;border-radius:2px!important;
  background-color:#fff!important;background-image:none!important;background-repeat:no-repeat!important;background-position:center!important;background-size:13px 13px!important;
  box-shadow:none!important;vertical-align:top!important;cursor:pointer!important;forced-color-adjust:none;
}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox)::before,
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox)::after{content:none!important;display:none!important}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):hover:not(:disabled){border-color:#e30613!important}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):checked{
  background-color:#e30613!important;border-color:#e30613!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4 6.3 11.5 13 4.5' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):indeterminate{
  background-color:#e30613!important;border-color:#e30613!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):focus-visible{outline:2px solid rgba(227,6,19,.28)!important;outline-offset:2px!important}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):disabled{background-color:#efefeb!important;border-color:#c9c9c4!important;background-image:none!important;cursor:not-allowed!important;opacity:.8!important}
body.mapa-interface-modern input[type=checkbox]:not(.mapa-native-checkbox):checked:disabled{background-color:#a8a8a1!important;border-color:#a8a8a1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4 6.3 11.5 13 4.5' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}

/* Retired pill switches must also render as the same standard checkbox. */
body.mapa-interface-modern .mapa-switch{display:inline-flex!important;align-items:flex-start!important;width:auto!important;height:auto!important;position:static!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-switch>input[type=checkbox]{position:relative!important;inset:auto!important;opacity:1!important;pointer-events:auto!important}
body.mapa-interface-modern .mapa-switch>span{display:none!important}



/* v5.11.0 — final route/component pass: eliminate specific dark legacy surfaces
   still referenced by Portal/Strefa renderers. Media wells and modal backdrops are
   intentionally excluded because darkness there serves the content, not the UI skin. */
body.mapa-interface-modern :where(
  .mapa-calendar-view-toggle button,.mapa-calendar-weekdays,.mapa-calendar-event,.mapa-rsvp-button,
  .mapa-parent-child-summary,.mapa-member-notification-preferences,.mapa-member-payment-card,
  .mapa-member-consent-player,.mapa-sensitive-player-card,.mapa-member-consent-content,.mapa-calendar-item,
  .mapa-legal-table th,.mapa-management-tabs,.mapa-calendar-break-form,.mapa-calendar-agenda-search,
  .mapa-pwa-status,.mapa-pwa-install-help__card,.mapa-pwa-install-help__close,
  .mapa-notification-filters button,.mapa-notification-item,.mapa-member-v4-switcher button,
  .mapa-toast,.mapa-mail-debug-trace,.mapa-mail-debug-trace>summary,.mapa-privacy-version-history,
  .mapa-frontend-manager-shell code
){background:#fff!important;color:#151515!important;border-color:#deded8!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(
  .mapa-member-mobile-nav,.mapa-management-mobile-nav,.mapa-member-mobile-nav__panel,.mapa-management-mobile-nav__panel,
  .mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link,
  .mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more
){background:#fff!important;color:#151515!important;border-color:#deded8!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern :where(.mapa-member-mobile-nav__quick-link,.mapa-management-mobile-nav__quick-link,.mapa-member-mobile-nav__more,.mapa-management-mobile-nav__more):is(:hover,:focus-visible,.is-active){background:#fff3f4!important;color:#b50915!important;border-color:#e30613!important}
body.mapa-interface-modern :where(.mapa-calendar-view-toggle button,.mapa-notification-filters button,.mapa-member-v4-switcher button):is(:hover,:focus-visible,.is-active){background:#fff3f4!important;color:#b50915!important;border-color:#e30613!important}
body.mapa-interface-modern :where(.mapa-frontend-manager-shell,.mapa-member-workspace,.mapa-management-workspace) .widefat th{background:#f2f2ef!important;color:#50504a!important}
body.mapa-interface-modern :where(.mapa-frontend-manager-shell,.mapa-member-workspace,.mapa-management-workspace) :where(option,optgroup){background:#fff!important;color:#151515!important}
body.mapa-interface-modern .mapa-legal-table th{background:#f2f2ef!important;color:#50504a!important}
body.mapa-interface-modern .mapa-pwa-status :where(strong,b),body.mapa-interface-modern .mapa-notification-item :where(strong,b){color:#151515!important}
body.mapa-interface-modern .mapa-pwa-status :where(p,span,small),body.mapa-interface-modern .mapa-notification-item :where(p,span,small){color:#66665f!important}


/* MAPA v5.11.0 — exhaustive square-edge pass across MAPA UI components */
body.mapa-interface-modern .mapa-admin-choice-row,body.mapa-interface-modern .mapa-apparel-modal-card,body.mapa-interface-modern .mapa-apparel-modal__close,body.mapa-interface-modern .mapa-apparel-modal__dialog,body.mapa-interface-modern .mapa-apparel-order-summary,body.mapa-interface-modern .mapa-apparel-order-summary__payment,body.mapa-interface-modern .mapa-archive-row,body.mapa-interface-modern .mapa-attendance-empty,body.mapa-interface-modern .mapa-attendance-player-conflict,body.mapa-interface-modern .mapa-attendance-quick-buttons,body.mapa-interface-modern .mapa-attendance-session-card,body.mapa-interface-modern .mapa-back-link,body.mapa-interface-modern .mapa-back-link--standardized,body.mapa-interface-modern .mapa-backup-card,body.mapa-interface-modern .mapa-calendar-agenda,body.mapa-interface-modern .mapa-calendar-agenda-date,body.mapa-interface-modern .mapa-calendar-agenda-types,body.mapa-interface-modern .mapa-calendar-break-list,body.mapa-interface-modern .mapa-calendar-grid,body.mapa-interface-modern .mapa-camp-capacity,body.mapa-interface-modern .mapa-camp-facts,body.mapa-interface-modern .mapa-camp-package-item,body.mapa-interface-modern .mapa-camp-requirement-row,body.mapa-interface-modern .mapa-camps-admin,body.mapa-interface-modern .mapa-comm-preview__channels,body.mapa-interface-modern .mapa-comm-preview__result,body.mapa-interface-modern .mapa-compose-grid,body.mapa-interface-modern .mapa-consent-list{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-consent-list-stats,body.mapa-interface-modern .mapa-consent-profile-list,body.mapa-interface-modern .mapa-consent-report-table,body.mapa-interface-modern .mapa-conversion-match,body.mapa-interface-modern .mapa-cookie-banner,body.mapa-interface-modern .mapa-development-average,body.mapa-interface-modern .mapa-document-report-row,body.mapa-interface-modern .mapa-dynamic-results,body.mapa-interface-modern .mapa-empty-admin,body.mapa-interface-modern .mapa-empty-result-cell,body.mapa-interface-modern .mapa-empty-result-row,body.mapa-interface-modern .mapa-event-rsvp-v2__closed,body.mapa-interface-modern .mapa-event-rsvp-v2__note,body.mapa-interface-modern .mapa-event-rsvp-v2__row,body.mapa-interface-modern .mapa-event-score,body.mapa-interface-modern .mapa-event-versus,body.mapa-interface-modern .mapa-facebook-test,body.mapa-interface-modern .mapa-faq-category,body.mapa-interface-modern .mapa-finance-charge-months,body.mapa-interface-modern .mapa-finance-net-balance,body.mapa-interface-modern .mapa-finance-payment-add,body.mapa-interface-modern .mapa-finance-player-reliefs,body.mapa-interface-modern .mapa-header-login,body.mapa-interface-modern .mapa-history-changes,body.mapa-interface-modern .mapa-home-builder-drag,body.mapa-interface-modern .mapa-home-builder-placeholder,body.mapa-interface-modern .mapa-home-builder-row,body.mapa-interface-modern .mapa-identity-form-grid{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-import-preview__summary,body.mapa-interface-modern .mapa-import-report__summary,body.mapa-interface-modern .mapa-import-row-state,body.mapa-interface-modern .mapa-info,body.mapa-interface-modern .mapa-login-copy-grid,body.mapa-interface-modern .mapa-mail-debug-suggestions,body.mapa-interface-modern .mapa-mail-debug-time,body.mapa-interface-modern .mapa-mail-form-grid,body.mapa-interface-modern .mapa-member-camp-signups,body.mapa-interface-modern .mapa-member-coach-actions,body.mapa-interface-modern .mapa-member-consent-list,body.mapa-interface-modern .mapa-member-empty--compact,body.mapa-interface-modern .mapa-member-event-card__date,body.mapa-interface-modern .mapa-member-family-card__head,body.mapa-interface-modern .mapa-member-family-training,body.mapa-interface-modern .mapa-member-login-list,body.mapa-interface-modern .mapa-member-next-training,body.mapa-interface-modern .mapa-member-payment-list,body.mapa-interface-modern .mapa-member-payment-totals,body.mapa-interface-modern .mapa-member-scheduled-messages,body.mapa-interface-modern .mapa-member-session-list,body.mapa-interface-modern .mapa-member-today-training-grid,body.mapa-interface-modern .mapa-member-v4-column,body.mapa-interface-modern .mapa-member-v4-summary,body.mapa-interface-modern .mapa-member-v4__topbar,body.mapa-interface-modern .mapa-membership-adjust,body.mapa-interface-modern .mapa-membership-profile-grid,body.mapa-interface-modern .mapa-modal-message{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-news-filterbar,body.mapa-interface-modern .mapa-news-group-picker,body.mapa-interface-modern .mapa-news-groups,body.mapa-interface-modern .mapa-notification-item__meta,body.mapa-interface-modern .mapa-pagination,body.mapa-interface-modern .mapa-parent-app-column,body.mapa-interface-modern .mapa-parent-app-type,body.mapa-interface-modern .mapa-parent-attendance-strip,body.mapa-interface-modern .mapa-parent-child-alert,body.mapa-interface-modern .mapa-parent-child-metrics,body.mapa-interface-modern .mapa-partner-record,body.mapa-interface-modern .mapa-partner-record-editor__options,body.mapa-interface-modern .mapa-partner-record__actions,body.mapa-interface-modern .mapa-partner-record__meta,body.mapa-interface-modern .mapa-partner-record__summary,body.mapa-interface-modern .mapa-partner-record__www,body.mapa-interface-modern .mapa-permission-card,body.mapa-interface-modern .mapa-permission-card__title,body.mapa-interface-modern .mapa-permission-current-user,body.mapa-interface-modern .mapa-permission-effective,body.mapa-interface-modern .mapa-permission-user-result,body.mapa-interface-modern .mapa-permission-user-results,body.mapa-interface-modern .mapa-pitch-list-item,body.mapa-interface-modern .mapa-pitch-map,body.mapa-interface-modern .mapa-pitch-media-map,body.mapa-interface-modern .mapa-pitch-profile-copy-card,body.mapa-interface-modern .mapa-pitch-profile-map,body.mapa-interface-modern .mapa-pitch-profile-map-panel{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-pitch-profile-panel,body.mapa-interface-modern .mapa-player-cell,body.mapa-interface-modern .mapa-player-import-drop,body.mapa-interface-modern .mapa-player-notes,body.mapa-interface-modern .mapa-player-picker,body.mapa-interface-modern .mapa-player-picker__item,body.mapa-interface-modern .mapa-player-placeholder,body.mapa-interface-modern .mapa-player-profile-alert-list,body.mapa-interface-modern .mapa-player-profile-alerts,body.mapa-interface-modern .mapa-player-profile-info,body.mapa-interface-modern .mapa-privacy-admin,body.mapa-interface-modern .mapa-privacy-request-list,body.mapa-interface-modern .mapa-privacy-stats,body.mapa-interface-modern .mapa-profile-empty,body.mapa-interface-modern .mapa-quality-card,body.mapa-interface-modern .mapa-quality-state,body.mapa-interface-modern .mapa-quality-summary,body.mapa-interface-modern .mapa-quick-modal,body.mapa-interface-modern .mapa-recipient-columns,body.mapa-interface-modern .mapa-record-sort-placeholder,body.mapa-interface-modern .mapa-record-summary__meta,body.mapa-interface-modern .mapa-record-toggle-button,body.mapa-interface-modern .mapa-responsive-table,body.mapa-interface-modern .mapa-role-permissions-table-wrap,body.mapa-interface-modern .mapa-rsvp-required,body.mapa-interface-modern .mapa-rsvp-state,body.mapa-interface-modern .mapa-scale-pagination,body.mapa-interface-modern .mapa-search-field{border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-season-confirm,body.mapa-interface-modern .mapa-season-impact,body.mapa-interface-modern .mapa-security-summary,body.mapa-interface-modern .mapa-selfservice-grid,body.mapa-interface-modern .mapa-selfservice-pending-note,body.mapa-interface-modern .mapa-session-state,body.mapa-interface-modern .mapa-settings-embedded,body.mapa-interface-modern .mapa-settings-sidebar,body.mapa-interface-modern .mapa-settings-tabs,body.mapa-interface-modern .mapa-sports-attention-list,body.mapa-interface-modern .mapa-staffing-availability-grid,body.mapa-interface-modern .mapa-staffing-savebar,body.mapa-interface-modern .mapa-staffing-suggestion,body.mapa-interface-modern .mapa-staffing-summary,body.mapa-interface-modern .mapa-standard-check--card,body.mapa-interface-modern .mapa-template-card,body.mapa-interface-modern .mapa-template-fields,body.mapa-interface-modern .mapa-toast__close,body.mapa-interface-modern .mapa-totp-setup,body.mapa-interface-modern .mapa-training-linked-entity,body.mapa-interface-modern .mapa-training-rsvp-admin-state,body.mapa-interface-modern .mapa-training-rsvp-card,body.mapa-interface-modern .mapa-training-rsvp-deadline,body.mapa-interface-modern .mapa-webpush-preferences{border-radius:0!important;box-shadow:none!important}


/* MAPA v5.11.1 — Aktualności gallery parity / regression fix
   Keep News galleries independent from WordPress Core block CSS and use the
   same thumbnail/lightbox contract as the public MAPA Gallery. */
body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-grid,
body.mapa-interface-modern .mapa-news-single-gallery .mapa-news-single-gallery__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
}
body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-thumb{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  aspect-ratio:4/3!important;
  overflow:hidden!important;
  background:#f1f1ee!important;
  border:1px solid var(--mapa-modern-line,var(--mapa-line))!important;
  border-radius:0!important;
  cursor:zoom-in!important;
}
body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Gutenberg and Classic Editor galleries embedded inside an Aktualność body.
   We own the grid here because Core block styles can be loaded separately or
   optimised away, and the News view must not collapse to one column. */
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery){
  --mapa-news-content-gallery-columns:3;
  display:grid!important;
  grid-template-columns:repeat(var(--mapa-news-content-gallery-columns),minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:24px 0!important;
  padding:0!important;
}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-2,.gallery-columns-2){--mapa-news-content-gallery-columns:2}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-3,.gallery-columns-3){--mapa-news-content-gallery-columns:3}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-4,.gallery-columns-4){--mapa-news-content-gallery-columns:4}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-5,.gallery-columns-5){--mapa-news-content-gallery-columns:5}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-6,.gallery-columns-6){--mapa-news-content-gallery-columns:6}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) :is(figure,.gallery-item,.wp-block-image){
  display:block!important;
  float:none!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) :is(a,.mapa-news-inline-gallery-link){
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  aspect-ratio:4/3!important;
  overflow:hidden!important;
  background:#f1f1ee!important;
  border:1px solid var(--mapa-modern-line,var(--mapa-line))!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) a[data-mapa-lightbox]{cursor:zoom-in!important}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) a[data-mapa-lightbox]::after{
  content:"+";
  position:absolute;
  inset:0;
  z-index:2;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.34);
  color:#fff;
  font-size:2rem;
  font-weight:300;
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) a[data-mapa-lightbox]:is(:hover,:focus-visible)::after{opacity:1}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  border-radius:0!important;
}
body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery) figcaption{
  margin:7px 0 0!important;
  color:var(--mapa-modern-muted,#66665f)!important;
  font-size:.82rem!important;
  line-height:1.4!important;
}
@media(max-width:1050px){
  body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-grid,
  body.mapa-interface-modern .mapa-news-single-gallery .mapa-news-single-gallery__grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery.columns-2,.gallery-columns-2){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body.mapa-interface-modern .mapa-news-single-gallery .mapa-gallery-grid,
  body.mapa-interface-modern .mapa-news-single-gallery .mapa-news-single-gallery__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.mapa-interface-modern .mapa-news-single-body :is(.wp-block-gallery,.gallery){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}

/* v5.13.0 — Operational UX: unified action registry, system drill-down, archive impact preview. */
.mapa-operations-personal{margin-bottom:18px}
.mapa-operations-summary--personal{grid-template-columns:repeat(3,minmax(0,1fr));padding:18px;margin:0;border-top:1px solid var(--mapa-r27-line,#e7e7e2)}
.mapa-action-registry-list{display:grid;gap:0;padding:0 18px 18px}
.mapa-action-registry-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #ecebe6;background:#fff;color:#171714}
.mapa-action-registry-row:last-child{border-bottom:0}
.mapa-action-registry-row__icon{display:grid!important;place-items:center;width:40px!important;height:40px!important;background:#f6f6f2;color:#7a7a73;font-size:20px!important}
.mapa-action-registry-row.is-warning .mapa-action-registry-row__icon{background:#fff8e8;color:#9a6400}
.mapa-action-registry-row.is-urgent .mapa-action-registry-row__icon{background:#fff0f1;color:#c50916}
.mapa-action-registry-row__copy{display:grid;gap:4px;min-width:0}
.mapa-action-registry-row__copy>strong{color:#171714;font-size:.94rem}
.mapa-action-registry-row__copy>small{color:#6e6e67;line-height:1.45}
.mapa-action-registry-row__meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mapa-action-registry-row__meta span,.mapa-action-registry-row__meta time{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#777770}
.mapa-action-registry-row.is-urgent .mapa-action-registry-row__meta time{color:#b50915}
.mapa-archive-impact-card{margin-bottom:18px;border-color:#efb6ba!important}
.mapa-archive-impact-body{padding:18px;background:#fff}
.mapa-archive-impact-body>p{margin:0 0 14px;color:#54544f;line-height:1.55}
.mapa-archive-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mapa-archive-impact-grid article{display:grid;gap:5px;padding:13px 14px;border:1px solid #dfdfda;background:#fff}
.mapa-archive-impact-grid span{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#6e6e67}
.mapa-archive-impact-grid strong{font-size:24px;line-height:1;color:#171714}
.mapa-archive-impact-grid small{color:#6e6e67;line-height:1.4}
.mapa-archive-impact-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #ecebe6}
.mapa-archive-impact-actions form{margin:0}
@media(max-width:900px){.mapa-operations-summary--personal,.mapa-archive-impact-grid{grid-template-columns:1fr}.mapa-action-registry-row{grid-template-columns:40px minmax(0,1fr)}.mapa-action-registry-row>.button{grid-column:1/-1;width:100%}}

/* v5.14.0 — Productivity UX: Command Palette + shared Bulk Action Framework. */
body.mapa-interface-modern .mapa-global-search__results{
  border:1px solid #d8d8d2!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(24,24,20,.14)!important;
  padding:8px!important;
}
body.mapa-interface-modern .mapa-global-search__results section+section{border-top:1px solid #e7e7e2!important}
body.mapa-interface-modern .mapa-global-search__result{min-height:52px;padding:9px 10px!important;border:1px solid transparent!important;border-radius:0!important;background:#fff!important;color:#171714!important;outline:none!important}
body.mapa-interface-modern .mapa-global-search__result:is(:hover,:focus,.is-active){border-color:#efd1d3!important;background:#fff5f6!important;color:#171714!important}
body.mapa-interface-modern .mapa-global-search__result--command:is(:hover,:focus,.is-active){border-left-color:var(--mapa-red,#e20716)!important}
body.mapa-interface-modern .mapa-global-search__result-main{display:flex!important;align-items:center;gap:10px;min-width:0}
body.mapa-interface-modern .mapa-global-search__result-main>span:last-child{display:grid;gap:3px;min-width:0}
body.mapa-interface-modern .mapa-global-search__result-main b{overflow:hidden;text-overflow:ellipsis;color:#171714!important;font-size:.86rem;white-space:nowrap}
body.mapa-interface-modern .mapa-global-search__result-main small{overflow:hidden;text-overflow:ellipsis;color:#696963!important;font-size:.72rem!important;white-space:nowrap}
body.mapa-interface-modern .mapa-global-search__result-icon{display:grid!important;place-items:center!important;flex:0 0 32px;width:32px!important;height:32px!important;background:#f4f4f0!important;color:#c40b17!important;font-size:17px!important}
body.mapa-interface-modern .mapa-global-search__result-arrow{flex:0 0 auto;color:#8b8b84;font-size:15px}
body.mapa-interface-modern .mapa-global-search__group-label{padding:8px 10px 6px!important;color:#a70c16!important;font-size:10px!important;font-weight:900!important;letter-spacing:.075em!important}
/* v5.14.2 — Mobile Command Palette anchor + Strefa dashboard alignment.
   The palette stays above sticky navigation, but the results remain anchored directly
   below the Ctrl/Cmd+K search field instead of behaving like a detached top overlay. */
body.mapa-interface-modern .mapa-global-search__backdrop{display:none}
@media(max-width:720px){
  body.mapa-interface-modern .mapa-global-search.is-open{z-index:3000!important;isolation:isolate}
  body.mapa-interface-modern .mapa-global-search.is-open .mapa-global-search__field{position:relative!important;z-index:3!important}
  body.mapa-interface-modern .mapa-global-search.is-open .mapa-global-search__backdrop{position:fixed!important;inset:0!important;z-index:1!important;display:block!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;border:0!important;background:rgba(23,23,20,.18)!important;cursor:default!important}
  body.mapa-interface-modern .mapa-global-search.is-open .mapa-global-search__results{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;width:auto!important;max-height:min(68vh,620px)!important;z-index:4!important}
  body.mapa-interface-modern.mapa-command-palette-open :where(.mapa-member-mobile-nav,.mapa-management-mobile-nav){z-index:40!important}

  /* Mobile dashboard headings follow the same left-hand content rhythm as the rest of Strefa MAPA. */
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading{
    width:100%!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading>div,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading :where(.mapa-member-card-kicker,h3),
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading>a,
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading-actions{
    align-self:flex-start!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
  }
  body.mapa-interface-modern.mapa-modern-member-view .mapa-member-home .mapa-member-subheading-actions{justify-content:flex-start!important}
}

body.mapa-interface-modern :where(.mapa-player-bulk-form,.mapa-account-bulk-form){display:grid;gap:0;margin:0 0 14px;padding:0;border:1px solid #deded8;background:#fff;color:#2b2b27}
body.mapa-interface-modern :where(.mapa-player-bulkbar,.mapa-account-bulkbar){display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 12px;border:0;border-bottom:1px solid #e5e5df;background:#fafaf7}
body.mapa-interface-modern :where(.mapa-player-bulkbar,.mapa-account-bulkbar)>select{min-width:205px;max-width:340px}
body.mapa-interface-modern .mapa-bulk-selected-count{margin-left:auto;color:#66665f;font-size:11px;font-weight:800;white-space:nowrap}
body.mapa-interface-modern .mapa-bulk-select-all{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;padding:8px 12px;border:0;border-bottom:1px solid #ecece7;background:#fff;color:#4e4e49}
body.mapa-interface-modern .mapa-bulk-select-all>label{display:flex;align-items:center;gap:8px;margin:0;color:#3a3a36;font-size:12px;font-weight:700}
body.mapa-interface-modern .mapa-bulk-select-filtered,body.mapa-interface-modern .mapa-bulk-filtered-banner .button-link{padding:0;border:0;background:transparent;color:#b20c17;font-size:11px;font-weight:850;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
body.mapa-interface-modern .mapa-bulk-filtered-banner{display:flex;align-items:center;gap:9px;padding:10px 12px;border:0;border-bottom:1px solid #f0c7ca;background:#fff5f6;color:#7f0b13;font-size:11px}
body.mapa-interface-modern .mapa-bulk-filtered-banner[hidden]{display:none!important}
body.mapa-interface-modern .mapa-bulk-filtered-banner>.dashicons{width:18px;height:18px;font-size:18px;color:#c20b17}
body.mapa-interface-modern .mapa-bulk-filtered-banner strong{font-size:11px}
body.mapa-interface-modern .mapa-bulk-filtered-banner .button-link{margin-left:auto}
body.mapa-interface-modern .mapa-bulk-preview{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:center;padding:10px 12px;border:0;border-bottom:1px solid #e5e5df;background:#fcfcfa}
body.mapa-interface-modern .mapa-bulk-preview[hidden]{display:none!important}
body.mapa-interface-modern .mapa-bulk-preview>.dashicons{display:grid;place-items:center;width:28px;height:28px;background:#f1f1ed;color:#65655f;font-size:16px}
body.mapa-interface-modern .mapa-bulk-preview>div{display:grid;gap:2px;min-width:0}
body.mapa-interface-modern .mapa-bulk-preview strong{color:#272724;font-size:11px}
body.mapa-interface-modern .mapa-bulk-preview small{color:#6b6b65;font-size:11px;line-height:1.4}
body.mapa-interface-modern .mapa-account-bulk-shell{display:block;min-width:0}
body.mapa-interface-modern .mapa-record-select{display:grid!important;place-items:center!important;align-self:center;cursor:pointer}
@media(max-width:720px){
  body.mapa-interface-modern :where(.mapa-player-bulkbar,.mapa-account-bulkbar){align-items:stretch}
  body.mapa-interface-modern :where(.mapa-player-bulkbar,.mapa-account-bulkbar)>select,body.mapa-interface-modern :where(.mapa-player-bulkbar,.mapa-account-bulkbar)>button{width:100%;max-width:none}
  body.mapa-interface-modern .mapa-bulk-selected-count{margin-left:0;padding:3px 0}
  body.mapa-interface-modern .mapa-bulk-select-all{align-items:flex-start;flex-direction:column}
  body.mapa-interface-modern .mapa-bulk-filtered-banner{align-items:flex-start;flex-wrap:wrap}
  body.mapa-interface-modern .mapa-bulk-filtered-banner .button-link{margin-left:27px}
  body.mapa-interface-modern .mapa-global-search__field kbd{display:none}
}

/* v5.15.0 — Activity Timeline 2.0. */
body.mapa-interface-modern .mapa-player-timeline-card{overflow:visible}
body.mapa-interface-modern .mapa-player-timeline-toolbar{display:grid;gap:12px;padding:14px 18px;border-bottom:1px solid #e5e5df;background:#fafaf7}
body.mapa-interface-modern .mapa-player-timeline-categories{display:flex;gap:6px;flex-wrap:wrap}
body.mapa-interface-modern .mapa-player-timeline-categories a{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid #d9d9d4;background:#fff;color:#3a3a36;text-decoration:none;font-size:12px;font-weight:750}
body.mapa-interface-modern .mapa-player-timeline-categories a:hover,body.mapa-interface-modern .mapa-player-timeline-categories a:focus{border-color:#e20716;color:#9d0710;outline:none}
body.mapa-interface-modern .mapa-player-timeline-categories a.is-active{border-color:#e20716;background:#fff1f2;color:#9d0710}
body.mapa-interface-modern .mapa-player-timeline-categories .dashicons{width:16px;height:16px;font-size:16px}
body.mapa-interface-modern .mapa-player-timeline-categories em{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:#f0f0ec;color:#5e5e58;font-size:10px;font-style:normal;font-weight:850}
body.mapa-interface-modern .mapa-player-timeline-categories a.is-active em{background:#fff;color:#9d0710}
body.mapa-interface-modern .mapa-player-timeline-date-filter{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
body.mapa-interface-modern .mapa-player-timeline-date-filter label{display:grid;gap:4px;min-width:160px;margin:0}
body.mapa-interface-modern .mapa-player-timeline-date-filter label>span{color:#66665f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
body.mapa-interface-modern .mapa-player-timeline-date-filter input[type=date]{min-height:36px;background:#fff;color:#252522}
body.mapa-interface-modern .mapa-player-timeline-result{display:flex;align-items:baseline;gap:6px;color:#676761}
body.mapa-interface-modern .mapa-player-timeline-result strong{color:#1f1f1c;font-size:20px}
body.mapa-interface-modern .mapa-player-timeline-result span{font-size:11px}
body.mapa-interface-modern .mapa-player-timeline{position:relative;padding-top:0}
body.mapa-interface-modern .mapa-timeline-day{position:relative;padding:14px 0 6px 50px}
body.mapa-interface-modern .mapa-timeline-day:before{content:"";position:absolute;left:26px;top:0;bottom:0;width:1px;background:#e3e3de}
body.mapa-interface-modern .mapa-timeline-day span{display:inline-block;color:#6a6a64;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
body.mapa-interface-modern .mapa-timeline-entry{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:11px 0;border:0}
body.mapa-interface-modern .mapa-timeline-entry:before{content:"";position:absolute;left:26px;top:0;bottom:0;width:1px;background:#e3e3de}
body.mapa-interface-modern .mapa-timeline-marker{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;margin-left:11px;border:1px solid #d9d9d4;background:#fff;color:#777770}
body.mapa-interface-modern .mapa-timeline-marker .dashicons{width:16px;height:16px;font-size:16px}
body.mapa-interface-modern .mapa-timeline-entry.is-sport .mapa-timeline-marker,body.mapa-interface-modern .mapa-timeline-entry.is-organization .mapa-timeline-marker{border-color:#f0b8bc;background:#fff5f6;color:#b20c17}
body.mapa-interface-modern .mapa-timeline-entry.is-finance .mapa-timeline-marker{border-color:#e2d0a5;background:#fffaf0;color:#765300}
body.mapa-interface-modern .mapa-timeline-entry.is-documents .mapa-timeline-marker,body.mapa-interface-modern .mapa-timeline-entry.is-consents .mapa-timeline-marker{border-color:#bfd4e4;background:#f4f9fc;color:#235a7c}
body.mapa-interface-modern .mapa-timeline-entry.is-account .mapa-timeline-marker{border-color:#c7d8c9;background:#f4faf5;color:#28633a}
body.mapa-interface-modern .mapa-timeline-entry__body{display:grid;gap:7px;min-width:0;padding:0 8px 12px 0;border-bottom:1px solid #ecece7}
body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta>div{display:grid;gap:3px;min-width:0}
body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta>div>strong{color:#20201d;font-size:13px;line-height:1.35}
body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta>span{padding-top:2px;color:#777770;font-size:10px;white-space:nowrap}
body.mapa-interface-modern .mapa-timeline-category{color:#b20c17;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
body.mapa-interface-modern .mapa-timeline-summary{margin:0;color:#55554f;font-size:11px;line-height:1.5}
body.mapa-interface-modern .mapa-timeline-actions{display:flex;gap:6px;flex-wrap:wrap}
body.mapa-interface-modern .mapa-timeline-actions .button{min-height:30px;line-height:28px}
body.mapa-interface-modern .mapa-player-timeline-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid #e5e5df;background:#fafaf7}
body.mapa-interface-modern .mapa-player-timeline-pagination>span{color:#66665f;font-size:11px;font-weight:700}
body.mapa-interface-modern .mapa-player-timeline-pagination>div{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:760px){body.mapa-interface-modern .mapa-player-timeline-toolbar{padding:12px}body.mapa-interface-modern .mapa-player-timeline-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}body.mapa-interface-modern .mapa-player-timeline-categories a{justify-content:flex-start;min-width:0}body.mapa-interface-modern .mapa-player-timeline-categories em{margin-left:auto}body.mapa-interface-modern .mapa-player-timeline-date-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}body.mapa-interface-modern .mapa-player-timeline-date-filter label{min-width:0}body.mapa-interface-modern .mapa-player-timeline-date-filter .button{width:100%;text-align:center}body.mapa-interface-modern .mapa-timeline-day{padding-left:42px}body.mapa-interface-modern .mapa-timeline-day:before,body.mapa-interface-modern .mapa-timeline-entry:before{left:20px}body.mapa-interface-modern .mapa-timeline-entry{grid-template-columns:30px minmax(0,1fr);gap:9px}body.mapa-interface-modern .mapa-timeline-marker{width:26px;height:26px;margin-left:7px}body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta{display:grid;gap:4px}body.mapa-interface-modern .mapa-timeline-entry .mapa-history-entry__meta>span{white-space:normal}body.mapa-interface-modern .mapa-player-timeline-pagination{align-items:stretch;flex-direction:column}body.mapa-interface-modern .mapa-player-timeline-pagination>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){body.mapa-interface-modern .mapa-player-timeline-categories,body.mapa-interface-modern .mapa-player-timeline-date-filter{grid-template-columns:1fr}body.mapa-interface-modern .mapa-player-timeline-pagination>div{grid-template-columns:1fr}}

/* v5.16.0 — Smart Operations */
.mapa-smart-preview{margin-top:14px}
.mapa-smart-preview[hidden]{display:none!important}
.mapa-smart-loading{padding:16px;border:1px solid #dcdcde;background:#fff;color:#50575e}
.mapa-smart-preview-card{border:1px solid #dcdcde;border-left:3px solid #00a32a;background:#fff;padding:18px;box-shadow:none;border-radius:0;color:#1d2327}
.mapa-smart-preview-card.is-warning{border-left-color:#dba617}
.mapa-smart-preview-card.is-error{border-left-color:#d63638}
.mapa-smart-preview-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #e2e4e7}
.mapa-smart-preview-head h3{margin:3px 0 5px;font-size:20px;color:#1d2327}
.mapa-smart-preview-head p{margin:0;color:#50575e}
.mapa-smart-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dcdcde;border:1px solid #dcdcde;margin:14px 0}
.mapa-smart-metrics>span{display:grid;gap:3px;padding:12px;background:#fff}
.mapa-smart-metrics strong{font-size:22px;color:#1d2327}
.mapa-smart-metrics small{color:#646970}
.mapa-smart-section{padding:12px 0;border-top:1px solid #e2e4e7;color:#1d2327}
.mapa-smart-section:first-of-type{border-top:0}
.mapa-smart-section>strong{display:block;margin-bottom:6px}
.mapa-smart-section ul{margin:0;padding-left:20px;color:inherit}
.mapa-smart-section li{color:inherit}
.mapa-smart-section li+li{margin-top:4px}
.mapa-smart-section--warning{color:#5f4700}
.mapa-smart-section--error{color:#8a1118}
.mapa-smart-section--info{color:#3c434a}
.mapa-smart-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid #e2e4e7}
.mapa-smart-stale{margin:10px 0 0;padding:9px 11px;border-left:3px solid #dba617;background:#fff8e5;color:#5f4700}
.mapa-season-actions{flex-wrap:wrap}
@media(max-width:782px){.mapa-smart-preview-head{flex-direction:column}.mapa-smart-metrics{grid-template-columns:1fr 1fr}.mapa-smart-actions>.button{width:100%;justify-content:center}}

/* v5.17.0 Reporting & Automation — MAPA Modern */
.mapa-report-automation{margin-top:20px}.mapa-report-automation__body{display:grid;gap:22px;padding:18px}.mapa-report-schedule-form{display:grid;gap:18px}.mapa-report-schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mapa-report-schedule-grid label,.mapa-report-recipient-users{display:grid;gap:6px}.mapa-report-schedule-grid label>span,.mapa-report-recipient-users>span,.mapa-report-schedule-options legend{font-size:12px;font-weight:800;color:#45453f}.mapa-report-schedule-options{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,.9fr) minmax(260px,1.3fr);gap:16px;align-items:start}.mapa-report-schedule-options fieldset{display:grid;gap:8px;margin:0;padding:14px;border:1px solid #d7d7d1;background:#fafaf7}.mapa-report-schedule-options fieldset label{display:flex;align-items:center;gap:8px}.mapa-report-recipient-users select{min-height:132px}.mapa-report-recipient-users small{color:#6f6f68}.mapa-report-schedule-summary{padding:12px 14px;border-left:3px solid #e20716;background:#faf9f7;color:#4b4b45}.mapa-report-schedule-list,.mapa-report-run-history{display:grid;gap:10px;border-top:1px solid #deded8;padding-top:18px}.mapa-report-schedule-list>h3,.mapa-report-run-history>h3{margin:0 0 4px}.mapa-report-schedule-list article{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #e5e5df}.mapa-report-schedule-list article>div:first-child{display:grid;gap:3px}.mapa-report-schedule-list article span,.mapa-report-schedule-list article small{color:#6d6d66}.mapa-report-run-status{display:inline-flex;padding:3px 7px;border:1px solid #cfcfc9;font-size:11px;font-weight:800}.mapa-report-run-status.is-sent{border-color:#93c6a4;background:#edf8f0;color:#25643a}.mapa-report-run-status.is-failed{border-color:#e4a0a5;background:#fff0f1;color:#9e222c}.mapa-report-toolbar__exports .dashicons{vertical-align:middle;margin-right:3px}
@media(max-width:900px){.mapa-report-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-report-schedule-options{grid-template-columns:1fr 1fr}.mapa-report-recipient-users{grid-column:1/-1}}
@media(max-width:620px){.mapa-report-schedule-grid,.mapa-report-schedule-options{grid-template-columns:1fr}.mapa-report-recipient-users{grid-column:1}.mapa-report-schedule-list article{align-items:flex-start;flex-direction:column}.mapa-report-schedule-list .mapa-row-actions{width:100%;justify-content:flex-start}}

/* v5.18.0 — Dashboard 2.0 / KPI & Insights */
body.mapa-interface-modern .mapa-management-dashboard-v2{--mapa-kpi-line:#deded8;--mapa-kpi-soft:#fafaf7;--mapa-kpi-text:#252522;--mapa-kpi-muted:#686862;--mapa-kpi-red:#e20716}
body.mapa-interface-modern .mapa-dashboard-v2-heading{align-items:start!important}
body.mapa-interface-modern .mapa-dashboard-v2-heading__side{display:grid;gap:5px;min-width:220px;padding-top:3px;text-align:right}
body.mapa-interface-modern .mapa-dashboard-v2-heading__side strong{color:#252522;font-size:13px}
body.mapa-interface-modern .mapa-dashboard-v2-heading__side small{color:#74746d;font-size:11px}
body.mapa-interface-modern .mapa-dashboard-role{justify-self:end;display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-left:2px solid var(--mapa-kpi-red);background:#fff4f5;color:#8f0811;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}
body.mapa-interface-modern .mapa-dashboard-periods{display:flex;align-items:center;gap:0;margin:0 0 18px;border-top:1px solid var(--mapa-kpi-line);border-bottom:1px solid var(--mapa-kpi-line);background:#fff}
body.mapa-interface-modern .mapa-dashboard-periods>a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:9px 13px;border-right:1px solid #ecece7;color:#55554f;text-decoration:none;font-size:11px;font-weight:800}
body.mapa-interface-modern .mapa-dashboard-periods>a:hover,body.mapa-interface-modern .mapa-dashboard-periods>a:focus{background:#f6f6f2;color:#20201d;outline:none}
body.mapa-interface-modern .mapa-dashboard-periods>a.is-active{box-shadow:inset 0 -2px 0 var(--mapa-kpi-red);color:#9d0710}
body.mapa-interface-modern .mapa-dashboard-periods__reports{margin-left:auto;border-left:1px solid #ecece7;border-right:0!important}
body.mapa-interface-modern .mapa-dashboard-periods .dashicons{width:16px;height:16px;font-size:16px}
body.mapa-interface-modern .mapa-dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0 0 22px;border:1px solid var(--mapa-kpi-line);background:var(--mapa-kpi-line)}
body.mapa-interface-modern .mapa-kpi-card{display:grid;align-content:start;gap:10px;min-height:142px;padding:16px 17px;background:#fff;color:var(--mapa-kpi-text);text-decoration:none;box-shadow:none!important}
body.mapa-interface-modern a.mapa-kpi-card:hover,body.mapa-interface-modern a.mapa-kpi-card:focus{background:#f7f7f3;color:var(--mapa-kpi-text);outline:none}
body.mapa-interface-modern .mapa-kpi-card.is-warning{box-shadow:inset 3px 0 0 #d39a16!important;background:#fffaf0}
body.mapa-interface-modern .mapa-kpi-card.is-danger{box-shadow:inset 3px 0 0 var(--mapa-kpi-red)!important;background:#fff4f5}
body.mapa-interface-modern .mapa-kpi-card__top{display:flex;align-items:center;gap:7px;color:#6d6d66;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.065em}
body.mapa-interface-modern .mapa-kpi-card__top .dashicons{width:17px;height:17px;font-size:17px;color:#8a8a83}
body.mapa-interface-modern .mapa-kpi-card>strong{font-size:31px;line-height:1;letter-spacing:-.035em;color:#151512}
body.mapa-interface-modern .mapa-kpi-card__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto}
body.mapa-interface-modern .mapa-kpi-card__bottom small{color:var(--mapa-kpi-muted);font-size:10px;line-height:1.35}
body.mapa-interface-modern .mapa-kpi-card__bottom em{display:inline-flex;align-items:center;min-height:22px;padding:3px 6px;background:#f1f1ed;color:#66665f;font-size:10px;font-style:normal;font-weight:850;white-space:nowrap}
body.mapa-interface-modern .mapa-kpi-card__bottom em.is-good{background:#edf8f0;color:#25643a}
body.mapa-interface-modern .mapa-kpi-card__bottom em.is-bad{background:#fff0f1;color:#9e222c}
body.mapa-interface-modern .mapa-dashboard-v2-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:14px;margin:0 0 14px}
body.mapa-interface-modern .mapa-dashboard-v2-grid>.mapa-admin-card{margin:0!important}
body.mapa-interface-modern .mapa-dashboard-insights .mapa-admin-card__head,body.mapa-interface-modern .mapa-dashboard-trends .mapa-admin-card__head{grid-template-columns:auto minmax(0,1fr) auto!important}
body.mapa-interface-modern .mapa-dashboard-insight-list{display:grid;background:#fff}
body.mapa-interface-modern .mapa-dashboard-insight-list>a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:64px;padding:11px 15px;border-bottom:1px solid #ecece7;color:#282825;text-decoration:none}
body.mapa-interface-modern .mapa-dashboard-insight-list>a:last-child{border-bottom:0}
body.mapa-interface-modern .mapa-dashboard-insight-list>a:hover{background:#f8f8f5}
body.mapa-interface-modern .mapa-dashboard-insight-list>a>.dashicons{display:grid;place-items:center;width:28px;height:28px;background:#f2f2ee;color:#6f6f68;font-size:16px}
body.mapa-interface-modern .mapa-dashboard-insight-list>a.is-warning>.dashicons{background:#fff6df;color:#7a5800}
body.mapa-interface-modern .mapa-dashboard-insight-list>a.is-danger>.dashicons{background:#fff0f1;color:#a20b15}
body.mapa-interface-modern .mapa-dashboard-insight-list>a>span:nth-child(2){display:grid;gap:3px;min-width:0}
body.mapa-interface-modern .mapa-dashboard-insight-list>a strong{font-size:12px;color:#262623}
body.mapa-interface-modern .mapa-dashboard-insight-list>a small{color:#6c6c65;font-size:10px;line-height:1.4}
body.mapa-interface-modern .mapa-dashboard-insight-list>a em{font-size:14px;font-style:normal;font-weight:900;color:#252522;white-space:nowrap}
body.mapa-interface-modern .mapa-dashboard-all-good{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;padding:18px}
body.mapa-interface-modern .mapa-dashboard-all-good>.dashicons{width:30px;height:30px;font-size:30px;color:#21853a}
body.mapa-interface-modern .mapa-dashboard-all-good strong{font-size:13px}
body.mapa-interface-modern .mapa-dashboard-all-good p{margin:4px 0 0;color:#6c6c65;font-size:11px;line-height:1.45}
body.mapa-interface-modern .mapa-dashboard-action-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--mapa-kpi-line);border-top:1px solid var(--mapa-kpi-line)}
body.mapa-interface-modern .mapa-dashboard-action-numbers>a{display:grid;gap:4px;min-height:90px;padding:15px;background:#fff;color:#2b2b27;text-decoration:none}
body.mapa-interface-modern .mapa-dashboard-action-numbers>a:hover{background:#f7f7f3}
body.mapa-interface-modern .mapa-dashboard-action-numbers strong{font-size:27px;line-height:1}
body.mapa-interface-modern .mapa-dashboard-action-numbers span{color:#6c6c65;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
body.mapa-interface-modern .mapa-dashboard-trends{margin-top:14px!important}
body.mapa-interface-modern .mapa-dashboard-trend-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--mapa-kpi-line);border-top:1px solid var(--mapa-kpi-line)}
body.mapa-interface-modern .mapa-dashboard-trend-grid>article{display:grid;align-content:start;gap:9px;min-height:148px;padding:14px;background:#fff}
body.mapa-interface-modern .mapa-dashboard-trend-grid>article>strong{padding-bottom:7px;border-bottom:1px solid #ecece7;font-size:11px;color:#262623}
body.mapa-interface-modern .mapa-dashboard-trend-grid>article>span{display:flex;align-items:baseline;justify-content:space-between;gap:7px}
body.mapa-interface-modern .mapa-dashboard-trend-grid em{color:#74746e;font-size:9px;font-style:normal}
body.mapa-interface-modern .mapa-dashboard-trend-grid b{color:#2b2b27;font-size:11px}
body.mapa-interface-modern .mapa-management-dashboard-v2 .mapa-management-groups-overview{margin-top:14px!important}
@media(max-width:1180px){body.mapa-interface-modern .mapa-dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.mapa-interface-modern .mapa-dashboard-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.mapa-interface-modern .mapa-dashboard-v2-grid{grid-template-columns:1fr}body.mapa-interface-modern .mapa-dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.mapa-interface-modern .mapa-dashboard-trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.mapa-interface-modern .mapa-dashboard-v2-heading__side{text-align:left;min-width:0}body.mapa-interface-modern .mapa-dashboard-role{justify-self:start}body.mapa-interface-modern .mapa-dashboard-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body.mapa-interface-modern .mapa-dashboard-periods>a{justify-content:center;border-right:1px solid #ecece7}body.mapa-interface-modern .mapa-dashboard-periods__reports{grid-column:1/-1;margin-left:0;border-top:1px solid #ecece7;border-left:0;justify-content:center}body.mapa-interface-modern .mapa-dashboard-kpi-grid{grid-template-columns:1fr}body.mapa-interface-modern .mapa-kpi-card{min-height:112px}body.mapa-interface-modern .mapa-dashboard-insights .mapa-admin-card__head,body.mapa-interface-modern .mapa-dashboard-trends .mapa-admin-card__head{grid-template-columns:auto minmax(0,1fr)!important}body.mapa-interface-modern .mapa-dashboard-insights .mapa-admin-card__head>.button,body.mapa-interface-modern .mapa-dashboard-trends .mapa-admin-card__head>.button{grid-column:1/-1;width:100%;justify-content:center}body.mapa-interface-modern .mapa-dashboard-trend-grid{grid-template-columns:1fr 1fr}body.mapa-interface-modern .mapa-dashboard-insight-list>a{grid-template-columns:28px minmax(0,1fr)}body.mapa-interface-modern .mapa-dashboard-insight-list>a em{grid-column:2}}
@media(max-width:420px){body.mapa-interface-modern .mapa-dashboard-periods{grid-template-columns:1fr}body.mapa-interface-modern .mapa-dashboard-periods__reports{grid-column:1}body.mapa-interface-modern .mapa-dashboard-trend-grid{grid-template-columns:1fr}}


/* MAPA v5.18.1 — canonical date/time controls and Workflow visual contract. */
#ui-datepicker-div.ui-datepicker{
	box-sizing:border-box!important;
	width:min(330px,calc(100vw - 24px))!important;
	max-width:calc(100vw - 24px)!important;
}
#ui-datepicker-div.ui-datepicker .ui-datepicker-header{box-sizing:border-box!important;width:100%!important}
#ui-datepicker-div.ui-datepicker table{
	box-sizing:border-box!important;
	width:100%!important;
	min-width:0!important;
	max-width:100%!important;
	table-layout:fixed!important;
	border-collapse:separate!important;
}
#ui-datepicker-div.ui-datepicker :where(thead,tbody,tr){width:100%!important;min-width:0!important}
#ui-datepicker-div.ui-datepicker :where(th,td){box-sizing:border-box!important;width:14.2857%!important;min-width:0!important;max-width:14.2857%!important}
#ui-datepicker-div.ui-datepicker td :where(a,span){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important}
.mapa-time-24h{display:inline-grid;grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);align-items:center;gap:6px;max-width:190px}
.mapa-time-24h select{width:100%!important;min-width:0!important;max-width:none!important}
.mapa-time-separator{font-weight:900;color:#4e4e49;text-align:center}
.mapa-datetime-localized{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,190px);gap:8px;align-items:center}
@media(max-width:640px){.mapa-datetime-localized{grid-template-columns:1fr}.mapa-time-24h{max-width:100%}}

body.mapa-interface-modern :where(.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell){
	color:#1b1b19!important;
	background:transparent!important;
}
body.mapa-interface-modern :where(.mapa-workflow-summary,.mapa-workflow-tabs,.mapa-workflow-toolbar,.mapa-workflow-row,.mapa-workflow-form,.mapa-workflow-card,.mapa-workflow-detail-main>section,.mapa-workflow-detail-side>section){
	border-radius:0!important;
	box-shadow:none!important;
}
body.mapa-interface-modern .mapa-workflow-row{border:1px solid #dcdcd7!important;background:#fff!important}
body.mapa-interface-modern .mapa-workflow-row:hover{background:#fafaf8!important;transform:none!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-workflow-form{border:1px solid #dcdcd7!important;background:#fff!important}
body.mapa-interface-modern .mapa-workflow-form__actions{background:#fafaf8!important;border-top:1px solid #e7e6e1!important}
body.mapa-interface-modern .mapa-workflow-summary{background:#fff!important;border:1px solid #dcdcd7!important}
body.mapa-interface-modern .mapa-workflow-summary article{background:#fff!important;color:#171717!important;border-radius:0!important;box-shadow:none!important}
body.mapa-interface-modern .mapa-workflow-tabs{background:#fff!important;border-bottom:1px solid #dcdcd7!important}
body.mapa-interface-modern .mapa-workflow-toolbar{background:#fff!important;border:1px solid #dcdcd7!important;border-radius:0!important}
body.mapa-interface-modern :where(.mapa-workflow-row__main h3,.mapa-workflow-detail-head h1,.mapa-workflow-card strong,.mapa-workflow-form strong){color:#171717!important}
body.mapa-interface-modern :where(.mapa-workflow-row__meta,.mapa-workflow-row__relations,.mapa-workflow-field small,.mapa-workflow-detail-head p){color:#686862!important}

body.mapa-interface-modern .mapa-notification-read-state.is-read{
	color:#4b4b46!important;
	background:#f1f1ed!important;
	border:1px solid #d9d9d3!important;
	opacity:1!important;
}
body.mapa-interface-modern .mapa-notification-item.is-read :where(.mapa-notification-item__copy p,.mapa-notification-item__meta span,.mapa-notification-item__meta time){
	color:#5f5f59!important;
	opacity:1!important;
}
body.mapa-interface-modern .mapa-header-notification-row.is-read :where(small,em){color:#66665f!important;opacity:1!important}
body.mapa-interface-modern .mapa-header-notification-row.is-read strong{color:#22221f!important;opacity:1!important}

.mapa-review-access-note{display:block;margin-top:6px;color:#686862;font-size:11px;line-height:1.4}
.mapa-inline-form{display:inline-flex!important;margin:2px 3px 2px 0!important}



/* MAPA v5.18.1 — editorial featured news presentation (homepage + Aktualności). */
body.mapa-interface-modern .mapa-featured-news{
	grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr)!important;
	margin:0 0 28px!important;
	border:1px solid #deded8!important;
	border-top:3px solid var(--mapa-modern-red,#e20716)!important;
	border-radius:0!important;
	background:#fff!important;
	box-shadow:none!important;
}
body.mapa-interface-modern .mapa-featured-news__body{
	justify-content:center!important;
	padding:34px 38px 36px!important;
	background:#fff!important;
}
body.mapa-interface-modern .mapa-featured-news__body h3{
	margin:14px 0 14px!important;
	font-size:clamp(1.65rem,2.6vw,2.65rem)!important;
	line-height:1.04!important;
	letter-spacing:-.035em!important;
}
body.mapa-interface-modern .mapa-featured-news__body h3 a{color:#171714!important;text-decoration:none!important}
body.mapa-interface-modern .mapa-featured-news__body h3 a:hover,
body.mapa-interface-modern .mapa-featured-news__body h3 a:focus-visible{color:var(--mapa-modern-red,#e20716)!important}
body.mapa-interface-modern .mapa-featured-news__body p{margin:0 0 22px!important;max-width:54ch!important;color:#55554f!important;line-height:1.65!important}

body.mapa-interface-modern .mapa-news-meta-line{
	display:flex!important;
	flex-wrap:wrap!important;
	align-items:center!important;
	gap:0!important;
	margin:0 0 10px!important;
	min-height:24px!important;
	font-size:11px!important;
	font-weight:750!important;
	line-height:1.35!important;
	letter-spacing:.055em!important;
	text-transform:uppercase!important;
}
body.mapa-interface-modern .mapa-news-meta-line>*{display:inline-flex!important;align-items:center!important;min-width:0!important}
body.mapa-interface-modern .mapa-news-meta-line>*+*::before{
	content:""!important;
	display:inline-block!important;
	width:3px!important;
	height:3px!important;
	margin:0 9px!important;
	border-radius:50%!important;
	background:#aaa9a2!important;
}
body.mapa-interface-modern .mapa-featured-news__badge{
	padding:0!important;
	border:0!important;
	border-radius:0!important;
	background:transparent!important;
	color:var(--mapa-modern-red,#e20716)!important;
	font-size:10px!important;
	font-weight:950!important;
	letter-spacing:.095em!important;
	white-space:nowrap!important;
}
body.mapa-interface-modern .mapa-featured-news__badge::before{
	content:"";
	width:14px;
	height:2px;
	margin-right:7px;
	background:currentColor;
}
body.mapa-interface-modern .mapa-news-meta-category{
	color:#242421!important;
	font-weight:850!important;
	text-decoration:none!important;
}
body.mapa-interface-modern .mapa-news-meta-category:hover,
body.mapa-interface-modern .mapa-news-meta-category:focus-visible{color:var(--mapa-modern-red,#e20716)!important;text-decoration:underline!important;text-underline-offset:4px!important}
body.mapa-interface-modern .mapa-news-meta-date{color:#74746d!important;font-weight:650!important;letter-spacing:.035em!important}

body.mapa-interface-modern .mapa-news-row__content>.mapa-news-meta-line{margin-bottom:8px!important}
body.mapa-interface-modern .mapa-news-row__title{margin-top:0!important}

body.mapa-interface-modern .mapa-news-archive-featured{margin:4px 0 34px!important}
body.mapa-interface-modern .mapa-news-archive-featured .mapa-featured-news{margin-bottom:0!important}

@media(max-width:900px){
	body.mapa-interface-modern .mapa-featured-news{grid-template-columns:1fr!important}
	body.mapa-interface-modern .mapa-featured-news__body{padding:26px 26px 30px!important}
}
@media(max-width:600px){
	body.mapa-interface-modern .mapa-featured-news__body{padding:20px 18px 24px!important}
	body.mapa-interface-modern .mapa-featured-news__body h3{font-size:clamp(1.45rem,8vw,2rem)!important}
	body.mapa-interface-modern .mapa-news-meta-line{row-gap:7px!important}
}


/* MAPA v5.18.2 — full responsive UI/UX audit: public Portal, Strefa MAPA and frontend management. */
body.mapa-interface-modern{
  --mapa-ui-ink:#171714;
  --mapa-ui-copy:#4b4b46;
  --mapa-ui-muted:#62625c;
  --mapa-ui-faint:#71716a;
  --mapa-ui-line:#deded8;
  --mapa-ui-line-strong:#c6c6bf;
  --mapa-ui-soft:#f7f7f4;
  overflow-x:clip;
}

/* Every application/grid child must be allowed to shrink inside its column. */
body.mapa-interface-modern :where(
  .mapa-container,.mapa-modern-header__inner,.mapa-modern-brand,.mapa-modern-header__actions,
  .mapa-member-portal-shell,.mapa-member-portal-hero,.mapa-member-profile-summary,.mapa-member-hero-actions,
  .mapa-member-workspace,.mapa-member-workspace__content,.mapa-management-workspace,.mapa-management-content,
  .mapa-management-mobile-nav,.mapa-management-mobile-nav__quick,.mapa-management-mobile-nav__panel,
  .mapa-member-mobile-nav,.mapa-member-mobile-nav__quick,.mapa-member-mobile-nav__panel,
  .mapa-global-search,.mapa-global-search-shell,.mapa-global-search__field,.mapa-global-search__results,
  .mapa-frontend-manager-shell,.mapa-frontend-manager-shell>*,.mapa-manager-heading,.mapa-manager-heading>*,
  .mapa-admin-hero,.mapa-admin-hero>*,.mapa-settings-hero,.mapa-settings-hero>*,
  .mapa-section-head,.mapa-section-head>*,.mapa-section-heading,.mapa-section-heading>*,
  .mapa-admin-card,.mapa-member-panel,.mapa-record-summary,.mapa-record-details
){min-width:0;max-width:100%;box-sizing:border-box}

body.mapa-interface-modern :where(
  .mapa-manager-heading h1,.mapa-admin-hero h1,.mapa-settings-hero h1,
  .mapa-management-hero h1,.mapa-member-profile-summary h1,.mapa-section-title,
  .mapa-panel-copy strong,.mapa-record-summary__identity strong
){overflow-wrap:anywhere}

/* Canonical readable secondary text. Avoid pale grey text on white surfaces. */
body.mapa-interface-modern :where(
  .mapa-admin-lead,.mapa-description,.description,.mapa-member-muted,.mapa-field-description,
  .mapa-panel-copy small,.mapa-admin-card__head p,.mapa-record-summary__meta,.mapa-table-subline,
  .mapa-workflow-row__meta,.mapa-workflow-row__relations,.mapa-workflow-field small,
  .mapa-dashboard-insight-list small,.mapa-dashboard-all-good p
){color:var(--mapa-ui-muted)!important;opacity:1!important}
body.mapa-interface-modern :where(.mapa-lead,.mapa-section-description,.mapa-news-row__excerpt,.mapa-partner-card__description){color:#5d5d57!important}

/* Shared heading/action rows: one baseline and predictable wrapping on desktop. */
body.mapa-interface-modern :where(.mapa-manager-heading,.mapa-admin-hero,.mapa-settings-hero){
  width:100%;
  gap:18px!important;
}
body.mapa-interface-modern :where(.mapa-manager-heading__side,.mapa-settings-actions,.mapa-row-actions,.mapa-management-section-actions,.mapa-workflow-detail-head__actions){
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  min-width:0;
}
body.mapa-interface-modern :where(.mapa-manager-heading__side,.mapa-settings-actions,.mapa-row-actions) :where(.button,.mapa-button){margin:0!important}

/* Tables may scroll inside a data surface, but may never enlarge the page itself. */
body.mapa-interface-modern :where(
  .mapa-table-scroll,.mapa-training-table-wrap,.mapa-staff-table-wrap,.mapa-report-table-wrap,
  .mapa-recruitment-table-wrap,.mapa-bulk-import-columns-table,.mapa-bulk-import-preview-table,
  .mapa-bulk-import-report-table,[class*="__table-wrap"],[class*="-table-wrap"]
){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
body.mapa-interface-modern .mapa-frontend-manager-shell :where(table,.widefat){max-width:100%!important}

/* Frontend management has one outer gutter. Modules must not add a second page gutter. */
body.mapa-interface-modern .mapa-frontend-manager-shell :where(.mapa-workflow-shell,.mapa-workflow-form-shell,.mapa-workflow-detail-shell){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Workflow: compact, aligned and safe at every width. */
body.mapa-interface-modern .mapa-workflow-heading{align-items:flex-end!important}
body.mapa-interface-modern .mapa-workflow-summary{width:100%;max-width:100%;overflow:hidden}
body.mapa-interface-modern .mapa-workflow-toolbar>*{min-width:0}
body.mapa-interface-modern .mapa-workflow-row__actions{flex-wrap:wrap;justify-content:flex-end}
body.mapa-interface-modern .mapa-workflow-detail-head>*{min-width:0}

/* Public page rhythm and alignment. */
body.mapa-interface-modern .mapa-section-head{align-items:flex-end;column-gap:32px}
body.mapa-interface-modern .mapa-section-head__copy{min-width:0}
body.mapa-interface-modern .mapa-section-head>.mapa-text-link{flex:0 0 auto;align-self:flex-end;margin-bottom:4px}
body.mapa-interface-modern :where(.mapa-contact-list li,.mapa-modern-footer__brand,.mapa-news-row,.mapa-featured-news)>*{min-width:0}

/* Member/Strefa rows should share the same left edge and action alignment. */
body.mapa-interface-modern .mapa-member-section :where(.mapa-section-heading,.mapa-member-heading-row){width:100%;max-width:100%}
body.mapa-interface-modern .mapa-member-section :where(.mapa-member-card-kicker,.mapa-eyebrow){color:#b10e1a!important}
body.mapa-interface-modern .mapa-member-section :where(p,small,.mapa-member-muted){opacity:1}

/* Mobile and compact tablet pass. */
@media(max-width:1040px){
  body.mapa-interface-modern .mapa-management-workspace,
  body.mapa-interface-modern .mapa-member-workspace{width:100%!important;max-width:100%!important;min-width:0!important}
  body.mapa-interface-modern .mapa-management-content,
  body.mapa-interface-modern .mapa-member-workspace__content{width:100%!important;max-width:100%!important;min-width:0!important}
  body.mapa-interface-modern .mapa-management-mobile-nav,
  body.mapa-interface-modern .mapa-member-mobile-nav{width:100%!important;max-width:100vw!important;min-width:0!important}
}

@media(max-width:760px){
  body.mapa-interface-modern{--mapa-container-pad:16px;--mapa-section-space:58px}
  body.mapa-interface-modern .mapa-container{width:100%!important;max-width:var(--mapa-max)!important;padding-inline:16px!important}

  body.mapa-interface-modern .mapa-modern-header__inner{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding-inline:14px!important}
  body.mapa-interface-modern .mapa-modern-brand__copy{display:none!important}
  body.mapa-interface-modern .mapa-modern-header__actions{gap:8px!important;min-width:max-content}
  body.mapa-interface-modern .mapa-modern-account>summary{padding-left:6px!important}
  body.mapa-interface-modern .mapa-notification-trigger,
  body.mapa-interface-modern .mapa-notification-header-button,
  body.mapa-interface-modern .mapa-modern-menu-toggle{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important}

  body.mapa-interface-modern .mapa-section-head,
  body.mapa-interface-modern .mapa-section-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:12px!important;margin-bottom:26px!important}
  body.mapa-interface-modern .mapa-section-head>.mapa-text-link{justify-self:start;align-self:start;margin:0}
  body.mapa-interface-modern .mapa-section-title{font-size:clamp(2rem,10vw,3rem)!important;line-height:1.02!important}
  body.mapa-interface-modern .mapa-lead{font-size:1rem!important;line-height:1.6!important}

  body.mapa-interface-modern .mapa-member-portal-main{padding-top:28px!important;padding-bottom:64px!important}
  body.mapa-interface-modern .mapa-member-portal-hero,
  body.mapa-interface-modern .mapa-management-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:14px!important;padding:16px!important}
  body.mapa-interface-modern .mapa-member-profile-summary{align-items:center!important;gap:12px!important;width:100%!important}
  body.mapa-interface-modern .mapa-member-profile-summary>div{min-width:0}
  body.mapa-interface-modern .mapa-member-profile-summary h1{font-size:clamp(1.65rem,8vw,2.15rem)!important;line-height:1.05!important}
  body.mapa-interface-modern .mapa-member-hero-actions{width:100%!important;justify-content:flex-start!important}
  body.mapa-interface-modern .mapa-member-hero-actions .mapa-button{width:100%!important;justify-content:center!important}

  body.mapa-interface-modern .mapa-global-search,
  body.mapa-interface-modern .mapa-global-search-shell{width:100%!important;max-width:100%!important;padding:10px 14px!important}
  body.mapa-interface-modern .mapa-global-search__field{width:100%!important;max-width:100%!important;min-width:0!important}
  body.mapa-interface-modern .mapa-global-search__results{left:14px!important;right:14px!important;width:auto!important;max-width:none!important}

  body.mapa-interface-modern .mapa-management-mobile-nav__quick,
  body.mapa-interface-modern .mapa-member-mobile-nav__quick{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important}
  body.mapa-interface-modern :where(.mapa-management-mobile-nav__quick-link,.mapa-management-mobile-nav__more,.mapa-member-mobile-nav__quick-link,.mapa-member-mobile-nav__more){
    min-width:0!important;
    min-height:58px!important;
    padding:7px 3px!important;
    text-align:center!important;
    line-height:1.15!important;
  }
  body.mapa-interface-modern :where(.mapa-management-mobile-nav__quick-link,.mapa-management-mobile-nav__more,.mapa-member-mobile-nav__quick-link,.mapa-member-mobile-nav__more) .mapa-management-nav-link__main,
  body.mapa-interface-modern :where(.mapa-member-mobile-nav__quick-link,.mapa-member-mobile-nav__more) .mapa-member-nav-link__main{justify-content:center!important;min-width:0!important}
  body.mapa-interface-modern :where(.mapa-management-nav-link__text,.mapa-member-nav-link__text){min-width:0;overflow-wrap:anywhere}

  body.mapa-interface-modern .mapa-management-content,
  body.mapa-interface-modern .mapa-member-workspace__content{padding:20px 14px 52px!important;overflow:visible!important}
  body.mapa-interface-modern .mapa-frontend-manager-shell{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
  body.mapa-interface-modern .mapa-frontend-manager-shell>*{width:100%;max-width:100%;min-width:0}

  body.mapa-interface-modern :where(.mapa-manager-heading,.mapa-admin-hero,.mapa-settings-hero,.mapa-dashboard-v2-heading,.mapa-workflow-detail-head){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:12px!important;
  }
  body.mapa-interface-modern :where(.mapa-manager-heading__side,.mapa-settings-actions,.mapa-row-actions,.mapa-management-section-actions,.mapa-workflow-detail-head__actions){
    width:100%!important;
    justify-content:flex-start!important;
  }
  body.mapa-interface-modern :where(.mapa-manager-heading__side,.mapa-settings-actions,.mapa-management-section-actions)>.button,
  body.mapa-interface-modern .mapa-workflow-heading>.button{flex:1 1 180px;justify-content:center}

  body.mapa-interface-modern .mapa-workflow-summary{grid-template-columns:1fr!important}
  body.mapa-interface-modern .mapa-workflow-summary article{min-width:0!important;border-right:0!important;border-bottom:1px solid #e5e5df!important}
  body.mapa-interface-modern .mapa-workflow-summary article:last-child{border-bottom:0!important}
  body.mapa-interface-modern .mapa-workflow-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  body.mapa-interface-modern .mapa-workflow-tabs a{min-width:0!important;justify-content:space-between!important;padding-inline:12px!important}
  body.mapa-interface-modern .mapa-workflow-toolbar{grid-template-columns:minmax(0,1fr)!important;width:100%!important;padding:14px!important}
  body.mapa-interface-modern .mapa-workflow-toolbar label:first-child{grid-column:auto!important}
  body.mapa-interface-modern .mapa-workflow-toolbar :where(.button,a.button){width:100%!important;justify-content:center!important}
  body.mapa-interface-modern .mapa-workflow-row{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  body.mapa-interface-modern .mapa-workflow-row__main{padding:15px!important}
  body.mapa-interface-modern .mapa-workflow-row__actions{width:100%!important;padding:0 15px 15px!important;justify-content:flex-start!important}
  body.mapa-interface-modern .mapa-workflow-row__relations{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
  body.mapa-interface-modern .mapa-workflow-form__grid,
  body.mapa-interface-modern .mapa-workflow-relations__grid,
  body.mapa-interface-modern .mapa-workflow-recurrence-grid,
  body.mapa-interface-modern .mapa-workflow-detail-layout,
  body.mapa-interface-modern .mapa-workflow-detail-side,
  body.mapa-interface-modern .mapa-workflow-comment-form{grid-template-columns:minmax(0,1fr)!important}
  body.mapa-interface-modern .mapa-workflow-form__grid{padding:16px!important;gap:14px!important}
  body.mapa-interface-modern .mapa-workflow-relations{padding-inline:16px!important}
  body.mapa-interface-modern .mapa-workflow-form__actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:14px 16px!important}
  body.mapa-interface-modern .mapa-workflow-form__actions :where(.button,.mapa-button){width:100%!important;justify-content:center!important}

  /* Generic data tables compress by default. Deliberately wide tables scroll only in their wrapper. */
  body.mapa-interface-modern .mapa-frontend-manager-shell :where(table,.widefat){min-width:0!important;width:100%!important;max-width:100%!important;table-layout:auto!important}
  body.mapa-interface-modern .mapa-frontend-manager-shell :where(
    .mapa-table-scroll,.mapa-training-table-wrap,.mapa-staff-table-wrap,.mapa-report-table-wrap,
    .mapa-recruitment-table-wrap,.mapa-bulk-import-columns-table,.mapa-bulk-import-preview-table,
    .mapa-bulk-import-report-table,[class*="__table-wrap"],[class*="-table-wrap"]
  )>table{min-width:680px!important;width:100%!important;max-width:none!important}

  body.mapa-interface-modern :where(.mapa-filter-row,.mapa-inline-filters,.mapa-report-filters,.mapa-event-filters,.mapa-audit-filters,.mapa-finance-filter-row,.mapa-staffing-range-filters,.mapa-scale-toolbar){
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  body.mapa-interface-modern :where(.mapa-filter-row,.mapa-inline-filters,.mapa-report-filters,.mapa-event-filters,.mapa-audit-filters,.mapa-finance-filter-row,.mapa-staffing-range-filters,.mapa-scale-toolbar) :where(label,.button,.mapa-button){min-width:0;max-width:100%}

  body.mapa-interface-modern :where(.mapa-form-grid,.mapa-member-form-grid,.mapa-admin-form-grid,.mapa-settings-grid){grid-template-columns:minmax(0,1fr)!important}
  body.mapa-interface-modern :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%}

  body.mapa-interface-modern .mapa-modern-footer__main{padding:30px 16px!important;gap:24px!important}
  body.mapa-interface-modern .mapa-modern-footer__bottom{padding:14px 16px!important}
}

@media(max-width:480px){
  body.mapa-interface-modern .mapa-management-content,
  body.mapa-interface-modern .mapa-member-workspace__content{padding-inline:12px!important}
  body.mapa-interface-modern .mapa-global-search,
  body.mapa-interface-modern .mapa-global-search-shell{padding-inline:12px!important}
  body.mapa-interface-modern .mapa-global-search__results{left:12px!important;right:12px!important}
  body.mapa-interface-modern .mapa-workflow-tabs{grid-template-columns:minmax(0,1fr)!important}
  body.mapa-interface-modern .mapa-row-actions .button{flex:1 1 140px;justify-content:center}
  body.mapa-interface-modern .mapa-member-portal-hero,
  body.mapa-interface-modern .mapa-management-hero{padding:14px!important}
}

/* MAPA 5.19.1 — ZZPN integration discovery */
.mapa-zzpn-page{max-width:1440px;margin:0 auto;padding:0 0 48px;color:#151515}
.mapa-zzpn-status{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #d7d7d2;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:#fff;color:#4d4d48}
.mapa-zzpn-status--readonly{border-color:#efb6bb;background:#fff6f6;color:#a60012}
.mapa-zzpn-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.mapa-zzpn-summary{min-width:0;border:1px solid #dddcd7;background:#fff;padding:20px}
.mapa-zzpn-summary span,.mapa-zzpn-summary small{display:block;color:#595954}
.mapa-zzpn-summary span{font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px;color:#bb0016}
.mapa-zzpn-summary strong{display:block;font-size:22px;line-height:1.18;margin-bottom:5px;color:#121212;overflow-wrap:anywhere}
.mapa-zzpn-summary small{font-size:13px}
.mapa-zzpn-panel{border:1px solid #dddcd7;background:#fff;padding:24px;margin:0 0 16px}
.mapa-zzpn-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.mapa-zzpn-panel__head>div{min-width:0;flex:1 1 auto}
.mapa-zzpn-panel h2{margin:3px 0 8px;font-size:25px;line-height:1.16;color:#111}
.mapa-zzpn-panel h3{font-size:15px;margin:0 0 12px;color:#111}
.mapa-zzpn-panel p{color:#55554f;line-height:1.55;max-width:900px}
.mapa-zzpn-security-note{display:flex;align-items:flex-start;gap:13px;border-left:3px solid #d9001b;background:#fff7f7;padding:16px 18px}
.mapa-zzpn-security-note .dashicons{color:#c90019;margin-top:2px}
.mapa-zzpn-security-note strong{color:#161616}
.mapa-zzpn-security-note p{margin:4px 0 0;font-size:13px}
.mapa-zzpn-progress{margin-top:14px;padding:13px 15px;border:1px solid #ddd;background:#fafafa;font-weight:700;color:#333}
.mapa-zzpn-progress.is-working{border-color:#e0c978;background:#fffdf2}
.mapa-zzpn-progress.is-success{border-color:#a9d5b6;background:#f4fbf6;color:#145d2d}
.mapa-zzpn-progress.is-error{border-color:#e8a2aa;background:#fff5f6;color:#9e0014}
.mapa-zzpn-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 24px}
.mapa-zzpn-capability{display:flex;align-items:flex-start;gap:9px;border:1px solid #e1e0dc;padding:13px;background:#fff;min-width:0}
.mapa-zzpn-capability .dashicons{margin-top:2px}
.mapa-zzpn-capability strong,.mapa-zzpn-capability small{display:block}
.mapa-zzpn-capability strong{font-size:13px;color:#151515;line-height:1.3}
.mapa-zzpn-capability small{font-size:11px;color:#62625d;margin-top:3px;line-height:1.35}
.mapa-zzpn-capability.is-found{border-left:3px solid #1d9b4c}
.mapa-zzpn-capability.is-found .dashicons{color:#1d9b4c}
.mapa-zzpn-capability.is-pending{border-left:3px solid #c8c6bf}
.mapa-zzpn-capability.is-pending .dashicons{color:#77756e}
.mapa-zzpn-columns{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px}
.mapa-zzpn-code-list{display:flex;flex-direction:column;gap:6px;max-height:430px;overflow:auto;border-top:1px solid #e3e2dd;padding-top:10px}
.mapa-zzpn-code-list code{display:block;white-space:normal;overflow-wrap:anywhere;background:#f6f6f3;border:1px solid #e4e3de;padding:8px 10px;color:#272722;font-size:12px;line-height:1.45}
.mapa-zzpn-code-list code span{display:inline-block;min-width:42px;margin-right:8px;color:#b50017;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mapa-zzpn-next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mapa-zzpn-next-grid>div{border-top:2px solid #e6001a;background:#fafaf8;padding:16px;min-width:0}
.mapa-zzpn-next-grid strong{display:block;color:#151515;margin-bottom:5px}
.mapa-zzpn-next-grid p{margin:0;font-size:13px}
@media(max-width:900px){.mapa-zzpn-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-zzpn-columns{grid-template-columns:1fr}.mapa-zzpn-summary-grid{grid-template-columns:1fr}}
@media(max-width:640px){.mapa-zzpn-page{padding-bottom:32px}.mapa-zzpn-panel{padding:18px 16px}.mapa-zzpn-panel__head{display:block}.mapa-zzpn-panel__head .button{width:100%;margin-top:12px;text-align:center}.mapa-zzpn-capabilities,.mapa-zzpn-next-grid{grid-template-columns:1fr}.mapa-zzpn-panel h2{font-size:22px}}

/* MAPA 5.19.1 — ZZPN API discovery probe: no frontend-specific rules required. */

/* MAPA 5.19.2 — ZZPN live team discovery and mapping */
.mapa-zzpn-status--mapping{border-color:#e5a2aa;background:#fff7f7;color:#a60012}
/* MAPA 5.21.1 — stronger contrast for ZZPN success banners */
.mapa-zzpn-admin-notice{margin:0 0 16px!important}
.mapa-zzpn-admin-notice.notice-success{background:#f3faf5!important;border-left-color:#14733f!important;color:#20231f!important}
.mapa-zzpn-admin-notice.notice-success :where(p,strong,span){color:#20231f!important;opacity:1!important}
.mapa-zzpn-admin-notice.notice-success p{font-weight:600!important}
.mapa-zzpn-live-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 16px;padding:12px 14px;border-left:3px solid #d9001b;background:#fafaf8;color:#4d4d48;font-size:13px}
.mapa-zzpn-live-meta strong{color:#151515}.mapa-zzpn-mapping-list{border-top:1px solid #d8d7d2}
.mapa-zzpn-mapping-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr) minmax(220px,1fr) minmax(145px,.55fr);gap:16px;align-items:center;padding:14px 12px;border-bottom:1px solid #e5e4df;min-width:0}
.mapa-zzpn-mapping-row--head{padding-top:10px;padding-bottom:10px;background:#f6f6f3;color:#55554f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mapa-zzpn-mapping-row>div{min-width:0}.mapa-zzpn-mapping-row strong,.mapa-zzpn-mapping-row small{display:block}.mapa-zzpn-mapping-row strong{color:#171714;line-height:1.35}.mapa-zzpn-mapping-row small{margin-top:4px;color:#66665f;font-size:11px;line-height:1.4}
.mapa-zzpn-mapping-row select{width:100%;max-width:100%;min-height:40px;background:#fff;color:#171714;border:1px solid #cfcfc9}
.mapa-zzpn-map-state{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:800}.mapa-zzpn-map-state .dashicons{font-size:17px;width:17px;height:17px}.mapa-zzpn-map-state.is-linked{color:#176c35}.mapa-zzpn-map-state.is-unlinked{color:#7a4d00}
.mapa-zzpn-savebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:16px 0 0;border-top:1px solid #deddd8}.mapa-zzpn-savebar p{margin:0!important;font-size:12px}.mapa-zzpn-empty{padding:24px;border:1px dashed #cfcec8;background:#fafaf8}.mapa-zzpn-empty strong{display:block;color:#171714;margin-bottom:5px}.mapa-zzpn-empty p{margin:0!important}
.mapa-zzpn-subhead{margin-top:20px!important}
@media(max-width:980px){.mapa-zzpn-mapping-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mapa-zzpn-mapping-row--head{display:none}.mapa-zzpn-mapping-row>div:nth-child(3),.mapa-zzpn-mapping-row>div:nth-child(4){align-self:end}}
@media(max-width:640px){.mapa-zzpn-mapping-row{grid-template-columns:1fr;gap:10px;padding:16px 0}.mapa-zzpn-savebar{display:block}.mapa-zzpn-savebar .button{width:100%;margin-top:12px}.mapa-zzpn-live-meta{display:grid;grid-template-columns:1fr}.mapa-zzpn-mapping-row>div:nth-child(3),.mapa-zzpn-mapping-row>div:nth-child(4){align-self:auto}}

/* MAPA 5.19.6 — ZZPN match import + source ownership */
.mapa-zzpn-import-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}
.mapa-zzpn-import-kpis>div{min-width:0;border:1px solid #deddd8;border-top:2px solid #e6001a;background:#fff;padding:13px 14px}
.mapa-zzpn-import-kpis span,.mapa-zzpn-import-kpis strong{display:block}.mapa-zzpn-import-kpis span{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#60605a}.mapa-zzpn-import-kpis strong{margin-top:4px;font-size:22px;line-height:1;color:#151515}
.mapa-zzpn-import-table code{font-size:10px;overflow-wrap:anywhere}.mapa-zzpn-import-action{display:inline-flex;align-items:center;min-height:24px;padding:2px 7px;border-left:3px solid #aaa;background:#f6f6f3;color:#363631;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.mapa-zzpn-import-action.is-create{border-left-color:#198647;color:#176c35;background:#f4fbf6}.mapa-zzpn-import-action.is-update{border-left-color:#d59a00;color:#755400;background:#fffaf0}.mapa-zzpn-import-action.is-unchanged{border-left-color:#8b8b84}.mapa-zzpn-import-action.is-skipped,.mapa-zzpn-import-action.is-error{border-left-color:#cf2339;color:#a60012;background:#fff7f8}
.mapa-event-source-notice{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:13px 15px;border-left:3px solid #e6001a;background:#fff7f8;color:#31312d}.mapa-event-source-notice>.dashicons{flex:0 0 auto;margin-top:1px;color:#d9001b}.mapa-event-source-notice strong{display:block;color:#171714}.mapa-event-source-notice p{margin:3px 0 5px!important;color:#50504a;font-size:12px;line-height:1.5}.mapa-event-source-notice a{font-size:12px;font-weight:750}.mapa-event-source-label{color:#a60012!important;font-weight:750}
@media(max-width:980px){.mapa-zzpn-import-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.mapa-zzpn-import-kpis{grid-template-columns:1fr 1fr}.mapa-zzpn-import-table th:nth-child(5),.mapa-zzpn-import-table td:nth-child(5){display:none}.mapa-event-source-notice{padding:12px}}

/* MAPA 5.19.7 — ZZPN TBD schedule states */
.mapa-zzpn-import-action.is-waiting_date{border-left-color:#c98200;color:#6f4a00;background:#fff9eb}
.mapa-zzpn-import-kpis{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:1180px){.mapa-zzpn-import-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.mapa-zzpn-import-kpis{grid-template-columns:1fr 1fr}}

/* MAPA 5.20.0 — public ZZPN competitions: schedule, results and standings */
.mapa-competitions-hero{min-height:auto;padding:112px 0 58px;background:#f6f6f4;border-bottom:1px solid #deded9}
.mapa-competitions-hero .mapa-section-title{margin-bottom:14px}
.mapa-competitions-hero .mapa-lead{max-width:820px;margin-bottom:0}
.mapa-competitions-section{padding-top:42px;background:#fff}
.mapa-competitions-intro{margin:0 0 30px}
.mapa-competition-league-tabs{display:flex;gap:0;margin:0 0 34px;border:1px solid #d9d9d4;background:#f7f7f5;overflow-x:auto;overscroll-behavior-inline:contain}
.mapa-competition-league-tab{display:flex;flex:1 0 230px;flex-direction:column;gap:3px;min-width:0;padding:16px 18px;border-right:1px solid #d9d9d4;text-decoration:none;color:#29292d;background:#f7f7f5}
.mapa-competition-league-tab:last-child{border-right:0}
.mapa-competition-league-tab strong{font-size:14px;line-height:1.3;color:#171719}
.mapa-competition-league-tab span{font-size:12px;line-height:1.4;color:#66676e}
.mapa-competition-league-tab:hover{background:#fff1f2;color:#29292d}
.mapa-competition-league-tab.is-active{box-shadow:inset 0 -3px 0 #e20716;background:#fff}
.mapa-competition-league-tab.is-active strong{color:#9d0710}
.mapa-competition-public-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #deded9}
.mapa-competition-public-head h2{margin:3px 0 5px;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.06;color:#151518}
.mapa-competition-public-head p{margin:0;color:#5f6067}
.mapa-competition-public-source{flex:0 0 auto;min-width:190px;padding-left:18px;border-left:2px solid #e20716}
.mapa-competition-public-source span,.mapa-competition-public-source small,.mapa-competition-public-source strong{display:block}
.mapa-competition-public-source span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#74757c}
.mapa-competition-public-source strong{margin:2px 0;font-size:20px;color:#151518}
.mapa-competition-public-source small{font-size:12px;color:#5f6067}
.mapa-competition-public-note{margin:0 0 24px;padding:13px 16px;border-left:3px solid #c98200;background:#fff9eb;color:#5b440d;font-size:13px;line-height:1.55}
.mapa-competition-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}
.mapa-competition-public-panel{min-width:0;border:1px solid #deded9;background:#fff}
.mapa-competition-public-panel__head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e5e5e0;background:#fafaf8}
.mapa-competition-public-panel__head h2{margin:2px 0 0;font-size:24px;line-height:1.1;color:#151518}
.mapa-competition-public-count{display:grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border:1px solid #d5d5cf;background:#fff;color:#5f6067;font-size:13px}
.mapa-competition-match-list{display:flex;flex-direction:column}
.mapa-competition-match{padding:18px 22px;border-bottom:1px solid #ecece8}
.mapa-competition-match:last-child{border-bottom:0}
.mapa-competition-match.is-cancelled{background:#fff7f7}
.mapa-competition-match__meta{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;font-size:11px;line-height:1.4}
.mapa-competition-match__meta strong{color:#9d0710;font-size:12px}
.mapa-competition-match__meta span{max-width:52%;text-align:right;color:#74757c}
.mapa-competition-match__teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;color:#29292d;font-weight:700;line-height:1.3}
.mapa-competition-match__teams span:last-child{text-align:right}
.mapa-competition-match__teams .is-mapa{color:#9d0710;font-weight:850}
.mapa-competition-match__teams em{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#92928c}
.mapa-competition-match__foot{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:12px;padding-top:11px;border-top:1px solid #f0f0ec;font-size:11px;line-height:1.4;color:#74757c}
.mapa-competition-match__foot span{min-width:0;overflow-wrap:anywhere}
.mapa-competition-match__foot a{flex:0 0 auto;font-weight:750;color:#9d0710;text-decoration:none}
.mapa-competition-match--result .mapa-competition-match__result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}
.mapa-competition-match--result .mapa-competition-match__teams{grid-template-columns:minmax(0,1fr);gap:7px}
.mapa-competition-match--result .mapa-competition-match__teams span:last-child{text-align:left}
.mapa-competition-match__score{font-size:28px;line-height:1;color:#151518;white-space:nowrap}
.mapa-competition-list-empty,.mapa-competition-public-empty{padding:24px;color:#5f6067;background:#fafaf8}
.mapa-competition-list-empty{font-size:13px}
.mapa-competition-public-empty{border:1px dashed #cecec8}
.mapa-competition-public-empty strong{display:block;margin-bottom:5px;color:#151518}
.mapa-competition-public-empty p{margin:0}
.mapa-competition-public-empty--warning{border-style:solid;border-left:3px solid #c98200;background:#fff9eb}
.mapa-competition-table-panel{margin-top:0}
.mapa-competition-table-wrap{width:100%;overflow-x:auto}
.mapa-competition-table{width:100%;min-width:660px;border-collapse:collapse;background:#fff;color:#29292d}
.mapa-competition-table th,.mapa-competition-table td{padding:13px 14px;border-bottom:1px solid #e8e8e3;text-align:center;font-size:13px}
.mapa-competition-table thead th{background:#f3f3f0;color:#5f6067;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.mapa-competition-table th:nth-child(2),.mapa-competition-table td:nth-child(2){text-align:left}
.mapa-competition-table tbody th{font-weight:700;color:#29292d}
.mapa-competition-table tbody th span{display:inline-flex;margin-left:8px;padding:2px 6px;border-left:2px solid #e20716;background:#fff1f2;color:#9d0710;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}
.mapa-competition-table tbody tr.is-mapa{background:#fff7f7}
.mapa-competition-table tbody tr.is-mapa th{color:#9d0710}
.mapa-competition-table tbody tr:last-child th,.mapa-competition-table tbody tr:last-child td{border-bottom:0}
.mapa-competition-public-footer{margin-top:22px;padding:16px 18px;border-left:3px solid #d4d4cf;background:#f7f7f5}
.mapa-competition-public-footer p{margin:0;max-width:940px;color:#66676e;font-size:12px;line-height:1.55}
@media(max-width:900px){.mapa-competition-public-grid{grid-template-columns:minmax(0,1fr)}.mapa-competition-public-head{align-items:flex-start}.mapa-competition-public-source{min-width:170px}}
@media(max-width:640px){.mapa-competitions-hero{padding:76px 0 38px}.mapa-competitions-section{padding-top:28px}.mapa-competition-league-tabs{margin-bottom:26px}.mapa-competition-league-tab{flex-basis:205px;padding:14px}.mapa-competition-public-head{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.mapa-competition-public-source{padding:12px 0 0;border-left:0;border-top:2px solid #e20716}.mapa-competition-public-panel__head{padding:17px 16px}.mapa-competition-match{padding:16px}.mapa-competition-match__meta{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}.mapa-competition-match__meta span{max-width:none;text-align:left}.mapa-competition-match__teams{grid-template-columns:minmax(0,1fr);gap:5px}.mapa-competition-match__teams em{display:none}.mapa-competition-match__teams span:last-child{text-align:left}.mapa-competition-match__foot{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.mapa-competition-match--result .mapa-competition-match__result-row{grid-template-columns:minmax(0,1fr) auto}.mapa-competition-table th,.mapa-competition-table td{padding:11px 10px}}

/* MAPA 5.21.0 — ZZPN public scorers, match protocols and persistent stale-data notice */
.mapa-competition-connection-banner{display:flex;align-items:flex-start;gap:10px;margin:0 0 24px;padding:11px 14px;border:1px solid #eadfbf;border-left:3px solid #c98200;background:#fffdf7;color:#66501f;font-size:12px;line-height:1.5}
.mapa-competition-connection-banner .dashicons{flex:0 0 auto;width:17px;height:17px;margin-top:1px;font-size:17px;color:#a66d00}.mapa-competition-connection-banner p{margin:0}.mapa-competition-connection-banner strong{color:#4c3b13}
.mapa-competition-connection-banner--detail{margin:0;border-left-width:0;border-right-width:0;border-top-width:0;background:#fffaf0}
.mapa-competition-match__links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px}.mapa-competition-match__links a{white-space:nowrap}.mapa-competition-match.is-selected{box-shadow:inset 3px 0 0 #e20716;background:#fffafa}
.mapa-club-mark{flex:0 0 48px;width:48px;height:48px;border:1px solid #e5e5df;background:#fff;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 1px 1px rgba(16,24,40,.04)}
.mapa-club-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:3px}
.mapa-club-mark__fallback{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;padding:6px;font-size:15px;font-weight:800;letter-spacing:.04em;color:#4f5056;background:linear-gradient(180deg,#ffffff 0%,#f6f6f2 100%)}
.mapa-competition-match__result-card{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;width:100%;max-width:760px;margin-inline:auto}
.mapa-competition-match__team{display:flex;align-items:center;gap:10px;min-width:0}
.mapa-competition-match__team--home{justify-content:flex-end;text-align:right}.mapa-competition-match__team--away{justify-content:flex-start;text-align:left;flex-direction:row}
.mapa-competition-match__team.is-mapa .mapa-club-mark{border-color:#f0b4b8;box-shadow:0 0 0 2px rgba(226,7,22,.08)}
.mapa-competition-match__team-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.mapa-competition-match__team-text strong{display:block;font-size:22px;line-height:1.25;color:#1a1b20;font-weight:850;overflow-wrap:anywhere}
.mapa-competition-match__team.is-mapa .mapa-competition-match__team-text strong{color:#9d0710}
.mapa-competition-match__score-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:112px;padding:8px 14px;border:1px solid #ecece8;border-radius:18px;background:#fcfcfb;text-align:center}
.mapa-competition-match__score-wrap small{font-size:10px;line-height:1;color:#7b7c84;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
@media(max-width:900px){.mapa-competition-match__team-text strong{font-size:18px}.mapa-competition-match__score-wrap{min-width:96px}}

.mapa-match-protocol{margin:0 0 22px;scroll-margin-top:120px}
.mapa-match-protocol__head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:22px;border-bottom:1px solid #e5e5e0;background:#fafaf8}.mapa-match-protocol__head h2{margin:3px 0 6px;font-size:clamp(1.45rem,2.4vw,2.05rem);line-height:1.12;color:#151518}.mapa-match-protocol__head p{margin:0;color:#66676e;font-size:12px}.mapa-match-protocol__score{flex:0 0 auto;font-size:34px;line-height:1;color:#151518}
.mapa-match-lineups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-bottom:1px solid #e5e5e0}.mapa-match-lineup{padding:22px}.mapa-match-lineup+ .mapa-match-lineup{border-left:1px solid #e5e5e0}.mapa-match-lineup h3{margin:0 0 18px;font-size:18px;color:#151518}.mapa-match-lineup h4{margin:16px 0 8px;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#6b6c72}.mapa-match-lineup h3+h4{margin-top:0}
.mapa-match-player-list{list-style:none;margin:0;padding:0;border-top:1px solid #ecece8}.mapa-match-player-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:7px 0;border-bottom:1px solid #ecece8}.mapa-match-player-number{display:grid;place-items:center;width:27px;height:27px;border:1px solid #d8d8d2;background:#f8f8f6;color:#5f6067;font-size:11px;font-weight:800}.mapa-match-player-list strong{display:block;color:#29292d;font-size:13px}.mapa-match-player-list small{display:block;margin-top:1px;color:#77787e;font-size:10px}.mapa-match-player-list--bench strong{font-weight:650}.mapa-match-player-flags{display:flex;gap:4px}.mapa-match-player-flags abbr{display:grid;place-items:center;min-width:23px;height:22px;padding:0 4px;border:1px solid #d8d8d2;background:#fff;color:#55565c;font-size:9px;font-weight:850;text-decoration:none}
.mapa-match-events{border-bottom:1px solid #e5e5e0}.mapa-match-events .mapa-competition-public-panel__head h3{margin:2px 0 0;font-size:22px}.mapa-match-events__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.mapa-match-events__grid>div{padding:20px 22px}.mapa-match-events__grid>div+div{border-left:1px solid #ecece8}.mapa-match-events h4{margin:0 0 10px;font-size:13px;color:#29292d}.mapa-match-events ul{list-style:none;margin:0;padding:0}.mapa-match-events li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid #f0f0ec;font-size:12px}.mapa-match-events li:last-child{border-bottom:0}.mapa-match-events li>strong{color:#9d0710}.mapa-match-events li span{color:#33343a}.mapa-match-events li small{display:block;margin-top:2px;color:#77787e;font-size:10px}
.mapa-match-stats{padding:22px;border-bottom:1px solid #e5e5e0}.mapa-match-stats h3,.mapa-match-officials h3{margin:0 0 14px;font-size:18px;color:#151518}.mapa-match-stats-table{max-width:780px}.mapa-match-stats-table>div{display:grid;grid-template-columns:90px minmax(0,1fr) 90px;align-items:center;gap:12px;min-height:38px;border-bottom:1px solid #ecece8;text-align:center;font-size:12px}.mapa-match-stats-table span{color:#66676e}.mapa-match-stats-table strong{color:#29292d}
.mapa-match-officials{padding:22px;border-bottom:1px solid #e5e5e0}.mapa-match-officials dl{display:flex;flex-wrap:wrap;gap:0;margin:0;border:1px solid #e3e3de}.mapa-match-officials dl>div{min-width:210px;flex:1 1 240px;padding:12px 14px;background:#fafaf8}.mapa-match-officials dl>div+div{border-left:1px solid #e3e3de}.mapa-match-officials dt{font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#77787e}.mapa-match-officials dd{margin:3px 0 0;color:#29292d;font-size:13px;font-weight:700}
.mapa-match-protocol__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 22px;background:#fafaf8}.mapa-match-protocol__footer a{color:#9d0710;font-size:12px;font-weight:750;text-decoration:none}
.mapa-competition-scorers-panel{margin-top:22px}.mapa-competition-scorers-table{min-width:760px}.mapa-competition-scorers-table a{color:inherit;text-decoration:none}.mapa-competition-scorers-table a:hover{color:#9d0710;text-decoration:underline}.mapa-inline-source-badge{display:inline-flex;margin-left:6px;padding:1px 5px;border-left:2px solid #e20716;background:#fff1f2;color:#9d0710;font-size:8px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}
@media(max-width:900px){.mapa-match-lineups{grid-template-columns:minmax(0,1fr)}.mapa-match-lineup+ .mapa-match-lineup{border-left:0;border-top:1px solid #e5e5e0}.mapa-match-events__grid{grid-template-columns:minmax(0,1fr)}.mapa-match-events__grid>div+div{border-left:0;border-top:1px solid #ecece8}}
@media(max-width:640px){.mapa-competition-connection-banner{margin-bottom:18px;padding:10px 11px}.mapa-competition-match__links{justify-content:flex-start}.mapa-match-protocol__head{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:17px 16px}.mapa-match-protocol__score{font-size:30px}.mapa-match-lineup,.mapa-match-events__grid>div,.mapa-match-stats,.mapa-match-officials{padding:17px 16px}.mapa-match-stats-table>div{grid-template-columns:62px minmax(0,1fr) 62px;gap:8px}.mapa-match-protocol__footer{display:grid;grid-template-columns:minmax(0,1fr);padding:13px 16px}.mapa-match-officials dl{display:block}.mapa-match-officials dl>div+div{border-left:0;border-top:1px solid #e3e3de}}

@media(max-width:640px){.mapa-competition-match__result-card{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;max-width:100%}.mapa-competition-match__team{gap:5px}.mapa-competition-match__team--home{justify-content:flex-end;text-align:right}.mapa-competition-match__team--away{justify-content:flex-start;text-align:left;flex-direction:row}.mapa-competition-match__score-wrap{width:auto;min-width:62px;padding:8px 7px}.mapa-competition-match__score-wrap small{display:none}.mapa-competition-match__score{font-size:24px}.mapa-competition-match__team-text strong{font-size:13px;line-height:1.2}.mapa-club-mark{width:32px;height:32px;flex-basis:32px;border-radius:9px}.mapa-club-mark img{padding:2px}.mapa-club-mark__fallback{font-size:11px;padding:3px}}

/* MAPA 5.22.0 — ZZPN club crests and public player statistics */
.mapa-player-link{color:inherit;text-decoration:none;text-underline-offset:2px}
.mapa-player-link:hover,.mapa-player-link:focus-visible{color:#9d0710;text-decoration:underline}
.mapa-match-player-list .mapa-player-link{font-weight:inherit}
.mapa-match-events .mapa-player-link{font-weight:750}
.mapa-player-profile{margin:0 0 28px;border:1px solid #dfdfda;background:#fff}
.mapa-player-profile__back{padding:13px 18px;border-bottom:1px solid #ecece8;background:#fafaf8}
.mapa-player-profile__back a{color:#9d0710;font-size:12px;font-weight:750;text-decoration:none}
.mapa-player-profile__hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;border-bottom:1px solid #e5e5e0}
.mapa-player-profile__avatar{display:grid;place-items:center;width:86px;height:86px;border:1px solid #dfdfda;background:#f6f6f2;overflow:hidden}
.mapa-player-profile__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.mapa-player-profile__avatar>span{display:grid;place-items:center;width:100%;height:100%;font-size:24px;font-weight:850;letter-spacing:.04em;color:#4c4d53}
.mapa-player-profile__identity{min-width:0}
.mapa-player-profile__identity h2{margin:4px 0 9px;color:#151518;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.06}
.mapa-player-profile__club{display:flex;align-items:center;gap:9px;color:#4f5056;font-size:13px}
.mapa-player-profile__club .mapa-club-mark{width:34px;height:34px;flex-basis:34px;border-radius:9px}
.mapa-player-profile__club .mapa-club-mark img{padding:2px}
.mapa-player-profile__zzpn-link{display:inline-flex;align-items:center;gap:5px;justify-self:end;padding:9px 12px;border:1px solid #d8d8d2;background:#fff;color:#9d0710;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.mapa-player-profile__zzpn-link:hover,.mapa-player-profile__zzpn-link:focus-visible{border-color:#ba0b16;background:#fff7f7}
.mapa-player-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:0}
.mapa-player-stat{position:relative;min-height:142px;padding:26px 20px 22px;border-right:1px solid #ecece8;border-bottom:1px solid #ecece8;text-align:center;background:#fff}
.mapa-player-stat:nth-child(4n){border-right:0}
.mapa-player-stat:nth-last-child(-n+4){border-bottom:0}
.mapa-player-stat__icon{display:block;min-height:22px;margin-bottom:10px;color:#7a7b81;font-size:15px;font-weight:800}
.mapa-player-stat>strong{display:block;color:#111216;font-size:34px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums}
.mapa-player-stat>small{display:block;margin-top:10px;color:#77787e;font-size:11px;line-height:1.3}
.mapa-player-stat--goals .mapa-player-stat__icon{color:#9d0710}
.mapa-player-stat--yellow .mapa-player-stat__icon{color:#d9a400}
.mapa-player-stat--red .mapa-player-stat__icon{color:#bd101a}
@media(max-width:800px){.mapa-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mapa-player-stat:nth-child(4n){border-right:1px solid #ecece8}.mapa-player-stat:nth-child(2n){border-right:0}.mapa-player-stat:nth-last-child(-n+4){border-bottom:1px solid #ecece8}.mapa-player-stat:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:640px){.mapa-player-profile__hero{grid-template-columns:64px minmax(0,1fr);gap:13px;padding:17px 16px}.mapa-player-profile__avatar{width:64px;height:64px}.mapa-player-profile__identity h2{font-size:1.55rem}.mapa-player-profile__zzpn-link{grid-column:1/-1;justify-self:stretch;justify-content:center}.mapa-player-stat{min-height:118px;padding:20px 12px 18px}.mapa-player-stat>strong{font-size:29px}}


/* MAPA 5.22.2 — mobile competitions: wrap group tiles + scorer cards without horizontal scrolling */
@media(max-width:640px){
  .mapa-competition-league-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:26px;border:0;background:transparent;overflow:visible}
  .mapa-competition-league-tab{flex:none;min-width:0;padding:12px 13px;border:1px solid #d9d9d4;background:#f7f7f5;overflow-wrap:anywhere}
  .mapa-competition-league-tab:last-child{border-right:1px solid #d9d9d4}
  .mapa-competition-league-tab strong{font-size:13px}
  .mapa-competition-league-tab span{font-size:11px}
  .mapa-competition-scorers-panel .mapa-competition-table-wrap{overflow:visible}
  .mapa-competition-scorers-table{display:block;width:100%;min-width:0}
  .mapa-competition-scorers-table thead{display:none}
  .mapa-competition-scorers-table tbody{display:grid;width:100%;gap:0}
  .mapa-competition-scorers-table tbody tr{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;grid-template-rows:auto auto auto;gap:7px 10px;width:100%;padding:13px 14px;border-bottom:1px solid #e8e8e3;background:#fff}
  .mapa-competition-scorers-table tbody tr.is-mapa{background:#fff7f7}
  .mapa-competition-scorers-table tbody tr:last-child{border-bottom:0}
  .mapa-competition-scorers-table tbody th,.mapa-competition-scorers-table tbody td{display:block;padding:0;border:0;text-align:left;font-size:12px;min-width:0}
  .mapa-competition-scorers-table tbody td:nth-child(1){grid-column:1;grid-row:1 / span 2;align-self:start;display:grid;place-items:center;width:30px;height:30px;border:1px solid #deded9;background:#fafaf8;color:#5f6067;font-size:11px;font-weight:850}
  .mapa-competition-scorers-table tbody th:nth-child(2){grid-column:2 / 4;grid-row:1;align-self:center;font-size:14px;line-height:1.25}
  .mapa-competition-scorers-table tbody td:nth-child(3){grid-column:2 / 4;grid-row:2;color:#66676e;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
  .mapa-competition-scorers-table tbody td:nth-child(4){grid-column:4;grid-row:1 / span 2;align-self:center;justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:1px;color:#151518}
  .mapa-competition-scorers-table tbody td:nth-child(4)::before{content:'Gole';font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#7a7b81}
  .mapa-competition-scorers-table tbody td:nth-child(4) strong{font-size:22px;line-height:1}
  .mapa-competition-scorers-table tbody td:nth-child(5),.mapa-competition-scorers-table tbody td:nth-child(6),.mapa-competition-scorers-table tbody td:nth-child(7){grid-row:3;padding-top:8px;border-top:1px solid #ecece8;color:#29292d}
  .mapa-competition-scorers-table tbody td:nth-child(5){grid-column:2}
  .mapa-competition-scorers-table tbody td:nth-child(6){grid-column:3}
  .mapa-competition-scorers-table tbody td:nth-child(7){grid-column:4;text-align:right}
  .mapa-competition-scorers-table tbody td:nth-child(5)::before,.mapa-competition-scorers-table tbody td:nth-child(6)::before,.mapa-competition-scorers-table tbody td:nth-child(7)::before{display:block;margin-bottom:2px;font-size:8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#7a7b81}
  .mapa-competition-scorers-table tbody td:nth-child(5)::before{content:'Mecze'}
  .mapa-competition-scorers-table tbody td:nth-child(6)::before{content:'Minuty'}
  .mapa-competition-scorers-table tbody td:nth-child(7)::before{content:'Kartki'}
}
@media(max-width:420px){
  .mapa-competition-league-tabs{grid-template-columns:minmax(0,1fr)}
}


/* MAPA 5.22.4 — player profile: complete ZZPN statistics and history */
.mapa-player-profile__league{display:flex;align-items:baseline;gap:7px;margin:8px 0 0;color:#62636a;font-size:12px}
.mapa-player-profile__league span{font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#85868c}
.mapa-player-profile__league strong{color:#2b2c31;font-weight:750}
.mapa-player-stats--zzpn{grid-template-columns:repeat(6,minmax(0,1fr))}
.mapa-player-stats--zzpn .mapa-player-stat{min-height:118px;padding:20px 14px 17px}
.mapa-player-stats--zzpn .mapa-player-stat:nth-child(n){border-right:1px solid #ecece8;border-bottom:0}
.mapa-player-stats--zzpn .mapa-player-stat:last-child{border-right:0}
.mapa-player-stats--zzpn .mapa-player-stat>strong{font-size:28px}
.mapa-player-stat__cards{display:flex!important;align-items:center;justify-content:center;gap:10px}
.mapa-player-stat__cards span{display:inline-flex;align-items:center;gap:4px}
.mapa-player-stat__cards i{display:inline-block;width:15px;height:20px;border-radius:2px}
.mapa-player-stat__cards i.is-yellow{background:#e5ad08}
.mapa-player-stat__cards i.is-red{background:#c81726}
.mapa-player-match-history{border-top:1px solid #e5e5e0;background:#fff}
.mapa-player-match-history__head{padding:18px 20px 13px}
.mapa-player-match-history__head h3{margin:5px 0 0;font-size:21px;line-height:1.2;color:#17181c}
.mapa-player-match-history__wrap{overflow-x:auto}
.mapa-player-match-history table{width:100%;border-collapse:collapse;min-width:920px}
.mapa-player-match-history th,.mapa-player-match-history td{padding:11px 13px;border-top:1px solid #ecece8;text-align:left;font-size:12px;vertical-align:top}
.mapa-player-match-history thead th{background:#fafaf8;color:#56575e;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.mapa-player-match-history tbody th{color:#202126;font-weight:750}
.mapa-player-match-events{white-space:normal}.mapa-player-match-events span{display:inline-flex;align-items:center;margin:0 5px 3px 0;padding:2px 5px;border:1px solid #e5e5e0;background:#fff;font-size:11px;line-height:1.2;white-space:nowrap}

@media(max-width:1100px){.mapa-player-stats--zzpn{grid-template-columns:repeat(3,minmax(0,1fr))}.mapa-player-stats--zzpn .mapa-player-stat:nth-child(3n){border-right:0}.mapa-player-stats--zzpn .mapa-player-stat:nth-child(-n+3){border-bottom:1px solid #ecece8}.mapa-player-stats--zzpn .mapa-player-stat:nth-child(4),.mapa-player-stats--zzpn .mapa-player-stat:nth-child(5){border-right:1px solid #ecece8}}
@media(max-width:640px){
  .mapa-player-profile__league{display:grid;gap:2px}
  .mapa-player-stats--zzpn{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mapa-player-stats--zzpn .mapa-player-stat:nth-child(n){min-height:105px;padding:16px 9px 14px;border-right:1px solid #ecece8;border-bottom:1px solid #ecece8}
  .mapa-player-stats--zzpn .mapa-player-stat:nth-child(2n){border-right:0}
  .mapa-player-stats--zzpn .mapa-player-stat:nth-last-child(-n+2){border-bottom:0}
  .mapa-player-stats--zzpn .mapa-player-stat>strong{font-size:25px}
  .mapa-player-match-history__wrap{overflow:visible}
  .mapa-player-match-history table{display:block;width:100%;min-width:0}
  .mapa-player-match-history thead{display:none}
  .mapa-player-match-history tbody{display:grid}
  .mapa-player-match-history tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:13px 14px;border-top:1px solid #ecece8}
  .mapa-player-match-history th,.mapa-player-match-history td{display:block;padding:0;border:0;font-size:11px;min-width:0}
  .mapa-player-match-history tbody th:nth-child(2){grid-column:1;grid-row:1;font-size:13px;line-height:1.25}
  .mapa-player-match-history tbody td:nth-child(3){grid-column:2;grid-row:1;justify-self:end;font-size:15px;font-weight:850;color:#17181c}
  .mapa-player-match-history tbody td:nth-child(1){grid-column:1 / -1;grid-row:2;color:#9d0710;font-weight:750}
  .mapa-player-match-history tbody td:nth-child(4),.mapa-player-match-history tbody td:nth-child(5),.mapa-player-match-history tbody td:nth-child(6){grid-column:auto;grid-row:auto;padding-top:5px;color:#66676e}
  .mapa-player-match-history tbody td:nth-child(7),.mapa-player-match-history tbody td:nth-child(8){grid-column:1 / -1;padding-top:6px;color:#66676e}
  .mapa-player-match-history tbody td:nth-child(4)::before{content:"Rola: ";font-weight:750;color:#8a8b90}.mapa-player-match-history tbody td:nth-child(5)::before{content:"Nr: ";font-weight:750;color:#8a8b90}.mapa-player-match-history tbody td:nth-child(6)::before{content:"Min: ";font-weight:750;color:#8a8b90}.mapa-player-match-history tbody td:nth-child(7)::before{content:"Gole/Kartki/Zmiany: ";display:block;margin-bottom:4px;font-weight:750;color:#8a8b90}.mapa-player-match-history tbody td:nth-child(8)::before{content:"Rozgrywki: ";font-weight:750;color:#8a8b90}
}
