.notice {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.notice:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.notice__sec {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}
.notice__desc { font-size: .89rem; color: var(--muted-light); line-height: 1.45; }


.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step__num {
  counter-increment: step;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold-deep);
  padding-top: 5px;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin-bottom: .3em; font-size: 1.16rem; }
.step p { color: #3B4C70; font-size: .96rem; margin: 0; }
.sec--navy .step { border-color: var(--navy-hair); }
.sec--navy .step p { color: var(--muted-dark); }
.sec--navy .step__num { color: var(--gold); }


.quote {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 44px;
  position: relative;
  box-shadow: var(--shadow-lift);
}
.sec--navy .quote {
  background: var(--navy-panel);
  border: 1px solid var(--navy-hair);
  box-shadow: none;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 22px;
  font-size: 5.4rem;
  color: var(--gold);
  line-height: 1;
  opacity: .82;
}
.quote p {
  font-style: italic;
  font-size: clamp(1.12rem, 1.02rem + .5vw, 1.42rem);
  line-height: 1.5;
  margin: 0;
  position: relative;
  padding-left: 34px;
}
.quote cite {
  display: block;
  margin-top: 18px;
  padding-left: 34px;
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}


.panel {
  background: var(--cream);
  border: 1px solid #F0DFB0;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel--warn { background: var(--soft-red); border-color: #F5C2C2; }
.panel--good { background: var(--green-soft); border-color: #BFE6D6; }
.panel h3 { margin-bottom: .4em; font-size: 1.08rem; }
.panel p { font-size: .95rem; margin: 0; color: #3B4C70; }


.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: .98rem;
  color: #3B4C70;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: .58em;
  width: 13px; height: 2px;
  background: var(--gold);
}
.sec--navy .ticks li { color: var(--muted-dark); }


.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band h2 em { font-style: italic; color: var(--gold); }


.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list dt, .contact-list__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.contact-list__val { font-size: 1.04rem; font-weight: 700; }
.contact-list__val a { color: inherit; }


.site-footer {
  background: var(--navy);
  color: var(--muted-dark);
  padding-block: 56px 0;
  font-size: .93rem;
}
.site-footer h2 {
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand__name { color: #fff; font-weight: 700; font-size: 1.14rem; margin-bottom: 8px; }
.footer-brand p { font-size: .92rem; line-height: 1.6; max-width: 34ch; }

.footer-bar {
  margin-top: 44px;
  border-top: 1px solid var(--navy-hair);
  padding-block: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}
.footer-handle {
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
}
.disclaimer {
  font-size: .78rem;
  line-height: 1.6;
  color: #8A99B5;
  max-width: 92ch;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-hair);
}



.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.chip {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--row-alt);
  color: #45577E;
  border: 1px solid var(--hairline);
}


.slides { display: grid; gap: 18px; margin-top: 44px; }
.slide {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 28px 26px 74px;
  box-shadow: var(--shadow);
  position: relative;
}
.slide__num {
  position: absolute;
  left: 26px; top: 27px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-deep);
}
.slide h3 { font-size: 1.14rem; margin-bottom: .45em; }
.slide p { font-size: .97rem; color: #3B4C70; margin-bottom: .7em; }
.slide p:last-child { margin-bottom: 0; }


.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: .4em; }
.faq-item p { color: #3B4C70; margin: 0; font-size: .97rem; }

/* --------------------------------------------------------- insight date - */

.insight__date {
  display: block;
  margin-top: 5px;
  font-size: .66rem;
  letter-spacing: .1em;
  color: var(--muted-light);
  font-weight: 400;
}


.form { margin-top: 40px; }

.field { margin-bottom: 22px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field label,
.fieldset__legend {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.field .req { color: var(--red); margin-left: 3px; }
.field .hint {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-light);
  margin-top: 4px;
  margin-bottom: 8px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F2A5C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .18);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }

.field__error {
  display: none;
  font-size: .85rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 700;
}
.field__error.is-shown { display: block; }

/* file input */
.filefield {
  border: 1.5px dashed var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  background: var(--card);
  transition: border-color .15s ease, background .15s ease;
}
.filefield:hover, .filefield.is-drag { border-color: var(--gold); background: #FFFDF8; }
.filefield input[type="file"] { display: block; margin: 0 auto; font-size: .9rem; max-width: 100%; }
.filefield__note { font-size: .84rem; color: var(--muted-light); margin-top: 10px; }
.filefield__name { font-weight: 700; color: var(--green-ink); margin-top: 10px; font-size: .9rem; }

/* radio + checkbox groups */
.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.choices { display: grid; gap: 10px; }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  font-size: .95rem;
  line-height: 1.45;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: var(--gold); }
.choice input { margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.choice:has(input:checked) { border-color: var(--navy); background: #F7F9FD; }

/* consent */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.55;
  color: #3B4C70;
  margin-bottom: 24px;
}
.consent input { margin-top: 4px; accent-color: var(--navy); flex: none; }

/* honeypot — hidden from people, tempting to bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* submit states */
.form__status {
  display: none;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
  font-size: .97rem;
  line-height: 1.6;
}
.form__status.is-shown { display: block; }
.form__status--ok { background: var(--green-soft); border: 1px solid #BFE6D6; color: var(--green-ink); }
.form__status--err { background: var(--soft-red); border: 1px solid #F5C2C2; color: #B91C1C; }
.form__status strong { display: block; margin-bottom: 4px; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}


.vacancy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.vacancy:last-of-type { border-bottom: 1px solid var(--hairline); }
.vacancy h3 { margin-bottom: .25em; font-size: 1.12rem; }
.vacancy p { margin: 0; font-size: .93rem; color: var(--muted-light); }
.vacancy__tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 860px) {
  .field--row, .choices--2 { grid-template-columns: 1fr; }
  .slide { padding: 24px 22px 24px 22px; }
  .slide__num { position: static; display: block; margin-bottom: 8px; }
  .vacancy { grid-template-columns: 1fr; gap: 8px; }
  .prose table { display: block; overflow-x: auto; }
}


.booking {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.booking__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 48px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,166,35,.08) 0%, rgba(245,166,35,0) 60%),
    var(--card);
}
.booking__inner { max-width: 44ch; }
.booking__eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}
.booking__cover h3 { margin-bottom: .5em; }
.booking__note {
  font-size: .93rem;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 26px;
}
.booking__alt { font-size: .88rem; color: var(--muted-light); margin: 22px 0 0; }
.booking__alt a { color: var(--navy); font-weight: 700; }

.booking iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: 0;
}

.booking__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  color: var(--muted-light);
  font-size: .95rem;
}

@media (max-width: 600px) {
  .booking iframe { height: 680px; }
}


.calc-out {
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 28px;
  border: 1px solid;
}
.calc-out--ok   { background: var(--green-soft); border-color: #BFE6D6; }
.calc-out--warn { background: var(--row-hero);   border-color: #F0DFB0; }
.calc-out--err  { background: var(--soft-red);   border-color: #F5C2C2; }

.calc-out__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.calc-out--ok   .calc-out__label { color: var(--green-ink); }
.calc-out--warn .calc-out__label { color: var(--gold-deep); }
.calc-out--err  .calc-out__label { color: #B91C1C; }

.calc-out__date {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--navy);
}
.calc-out__sub { margin: 0; font-size: .95rem; color: #3B4C70; }

.calc-facts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  font-size: .95rem;
}
.calc-facts dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
}
.calc-facts dd {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  color: #2A3E66;
}
.calc-note { display: block; font-size: .85rem; color: var(--muted-light); margin-top: 3px; }

.calc-work {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.calc-work h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.calc-work ul { margin: 0; padding-left: 20px; }
.calc-work li { font-size: .94rem; line-height: 1.6; margin-bottom: 8px; color: #3B4C70; }
.calc-work li:last-child { margin-bottom: 0; }
.calc-work p { font-size: .94rem; color: #3B4C70; margin: 0; }

.calc-disclaimer {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 3px solid var(--red);
  background: var(--soft-red);
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.6;
  color: #7F1D1D;
}


.gloss-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 34px 0 0;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.gloss-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  color: var(--navy);
  background: var(--row-alt);
}
.gloss-nav a:hover { background: var(--gold); }

.gloss-group { margin-top: 48px; }
.gloss-group__letter {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 4px;
  line-height: 1;
}
.gloss-item {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.gloss-item:last-child { border-bottom: 1px solid var(--hairline); }
.gloss-item h3 { font-size: 1.12rem; margin-bottom: .3em; }
.gloss-item p { font-size: .96rem; color: #3B4C70; margin: 0 0 .6em; }
.gloss-item p:last-child { margin-bottom: 0; }
.gloss-ref {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-deep);
  text-transform: uppercase;
}


.prov-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.prov-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.prov-status--live { background: var(--green-soft); color: var(--green-ink); }
.prov-status--live::before { background: var(--green); }
.prov-status--historic { background: var(--row-hero); color: var(--gold-deep); }
.prov-status--historic::before { background: var(--gold); }

.prov-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  background: var(--card);
}
.prov-map__cell { padding: 18px 22px; border-right: 1px solid var(--hairline); }
.prov-map__cell:last-child { border-right: 0; }
.prov-map__label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 6px;
}
.prov-map__val { font-size: 1.12rem; font-weight: 700; margin: 0; color: var(--navy); }
.prov-map__note { font-size: .84rem; color: var(--muted-light); margin: 4px 0 0; }

.prov-index { display: grid; gap: 10px; margin-top: 26px; }
.prov-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 15px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.prov-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.prov-row__sec { font-weight: 700; color: var(--navy); font-size: 1rem; }
.prov-row__name { color: #3B4C70; font-size: .95rem; }

@media (max-width: 860px) {
  .calc-facts { grid-template-columns: 1fr; }
  .calc-facts dt { padding-bottom: 2px; border-top: 1px solid var(--hairline); }
  .calc-facts dd { padding-top: 2px; border-top: 0; }
  .prov-map__cell { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .prov-row { grid-template-columns: 1fr; gap: 5px; }
}

/* concordance — highlight cells */
.prose td.wrong { color: var(--red); font-size: .88rem; }
.prose blockquote { background: var(--card); padding: 20px 24px; border-radius: var(--radius); }


.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.map-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
  z-index: 50;
}

.map-tabs { display: flex; gap: 4px; }
.map-tab {
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 15px;
  border: 1.5px solid var(--card-border);
  background: var(--paper);
  color: #2A3E66;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}
.map-tab span {
  font-size: .75rem;
  color: var(--muted-light);
  margin-left: 5px;
  font-weight: 400;
}
.map-tab:hover { border-color: var(--gold); }
.map-tab.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.map-tab.is-on span { color: var(--gold); }

.map-search { position: relative; display: flex; align-items: center; }
.map-search input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 15px;
  border: 1.5px solid var(--card-border);
  border-radius: 7px;
  background: var(--paper);
  color: var(--navy);
}
.map-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,.18);
}
.map-search button {
  position: absolute; right: 8px;
  font: inherit; font-size: .82rem; font-weight: 700;
  border: 0; background: var(--row-alt); color: #45577E;
  padding: 5px 11px; border-radius: 5px; cursor: pointer;
}
.map-count {
  margin: 0; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; color: var(--muted-light); white-space: nowrap;
}

.map-panel { margin-top: 34px; }
.map-panel__head {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
/* Without JS every panel shows — crawlers and no-script users see all of it. */
#maptool.is-enhanced .map-panel[hidden] { display: none; }

.map-table {
  width: 100%; border-collapse: collapse; font-size: .95rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-table th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 13px 16px; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.map-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.map-table tbody tr:last-child td { border-bottom: 0; }
.map-table tbody tr:nth-child(even) { background: #FCFBF9; }
.map-table tbody tr:hover { background: var(--row-hero); }
.map-table tbody tr.is-target { background: var(--cream); box-shadow: inset 3px 0 0 var(--gold); }

.map-old strong, .map-new strong { display: block; font-size: 1.02rem; color: var(--navy); }
.map-old span, .map-new span {
  display: block; font-size: .85rem; color: var(--muted-light); margin-top: 2px;
}
.map-nil { display: block; font-weight: 700; color: var(--red); font-size: 1rem; }
.map-note { font-size: .88rem; color: #3B4C70; line-height: 1.5; }

.map-badge {
  display: inline-block; font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; margin-right: 8px;
  vertical-align: 1px;
}
.map-badge--none   { background: var(--soft-red);  color: #B91C1C; }
.map-badge--merge  { background: var(--row-hero);  color: var(--gold-deep); }
.map-badge--split  { background: var(--row-hero);  color: var(--gold-deep); }
.map-badge--change { background: var(--green-soft); color: var(--green-ink); }
.map-badge--new    { background: var(--row-alt);   color: #45577E; }

.map-empty { margin-top: 22px; color: var(--muted-light); font-size: .95rem; }

@media (max-width: 900px) {
  .map-controls { grid-template-columns: 1fr; position: static; }
  .map-tabs { overflow-x: auto; }
  .map-count { text-align: right; }
  .map-table thead { display: none; }
  .map-table, .map-table tbody, .map-table tr, .map-table td { display: block; width: 100%; }
  .map-table tr {
    border-bottom: 1px solid var(--hairline);
    padding: 14px 4px;
  }
  .map-table td { border: 0; padding: 4px 12px; }
  .map-new::before {
    content: "becomes";
    display: block; font-size: .64rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gold-deep); font-weight: 700;
    margin-bottom: 2px;
  }
}

.portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 30%, rgba(245,166,35,.14) 0%, rgba(245,166,35,0) 60%),
    var(--navy);
  border: 1px solid var(--navy-panel);
  box-shadow: var(--shadow-lift);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.portrait__mono {
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  line-height: 1;
}
.portrait__name { font-weight: 700; font-size: 1.05rem; margin-top: 8px; }
.portrait__role {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-dark);
}
.portrait__img { border-radius: var(--radius); width: 100%; height: auto; display: block; box-shadow: var(--shadow-lift); }
