:root {
  --ink: #14201c;
  --muted: #5c6a65;
  --surface: #ffffff;
  --page: #edf3f1;
  --line: #cad7d3;
  --green: #087f55;
  --green-dark: #07563e;
  --cyan: #1684bd;
  --red: #c62e43;
  --gold: #bd8b15;
  --focus: #0a6faa;
  --shadow: 0 12px 30px rgba(16, 32, 25, .10);
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--page); font-size: 14px; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(10,111,170,.24); outline-offset: 2px; }
a { color: var(--focus); }
img, video { max-width: 100%; }
[hidden] { display: none !important; }
.honeypot { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.section-code { color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid transparent; border-radius: 5px; font-weight: 850; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: var(--green); }
.button.secondary { color: var(--green-dark); border-color: var(--line); background: #fff; }
.button.danger-quiet { color: #8f2437; border-color: #e2b8c0; background: #fff; }
.button.light { color: var(--ink); background: #fff; }
.button.ghost-light { color: #fff; border-color: rgba(255,255,255,.66); background: rgba(12,28,22,.35); }
.button:disabled { cursor: wait; opacity: .62; }
.text-button { border: 0; color: var(--focus); background: transparent; font-weight: 850; cursor: pointer; }
.full { grid-column: 1 / -1; width: 100%; }

.app-topbar { position: sticky; top: 0; z-index: 50; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.brand-button { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.brand-button img { width: 42px; height: 42px; object-fit: contain; }
.brand-button span { display: grid; }
.brand-button strong { font-size: 19px; }
.brand-button small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.app-top-actions { display: flex; align-items: center; gap: 10px; }
.connection-state { color: var(--green); font-size: 11px; font-weight: 850; }
.connection-state.offline { color: var(--red); }
.language-control { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.language-control button { width: 41px; height: 38px; border: 0; color: var(--muted); background: #fff; font-weight: 900; cursor: pointer; }
.language-control button.active { color: #fff; background: var(--green-dark); }

.app-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; }
.app-sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; padding: 18px 14px; color: #fff; background: #102019; }
.identity-block { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.identity-mark { display: grid; width: 44px; height: 44px; place-items: center; color: var(--green-dark); background: #fff; font-size: 18px; font-weight: 950; }
.identity-block div { display: grid; min-width: 0; }
.identity-block strong, .identity-block small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity-block small { color: rgba(255,255,255,.68); font-size: 11px; }
.app-nav { display: grid; gap: 4px; padding: 18px 0; }
.app-nav button { display: grid; min-height: 48px; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-left: 3px solid transparent; color: rgba(255,255,255,.72); background: transparent; text-align: left; cursor: pointer; }
.app-nav button.active { border-left-color: #38cf89; color: #fff; background: rgba(255,255,255,.08); }
.app-nav button span { font-size: 10px; font-weight: 900; }
.app-nav button b { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.app-nav button em { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; font-size: 11px; font-style: normal; font-weight: 900; }
.app-nav .session-entry { margin-top: 4px; border-left-color: #38cf89; color: #fff; }
.emergency-block { display: grid; gap: 5px; padding: 13px; border-left: 4px solid #f04658; background: rgba(255,255,255,.08); }
.emergency-block strong { font-size: 19px; }
.emergency-block span { color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.45; }
.sidebar-links { display: grid; gap: 9px; margin-top: 18px; }
.sidebar-links a { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 750; }

.app-workspace { min-width: 0; padding: 20px; }
.app-view { width: min(1380px,100%); margin: 0 auto; }
.app-message { position: sticky; top: 84px; z-index: 45; width: min(1380px,100%); margin: 0 auto 12px; padding: 12px 14px; border-left: 4px solid var(--cyan); background: #eaf6fb; box-shadow: var(--shadow); }
.app-message.error { border-color: var(--red); color: #8b1b2d; background: #fff0f2; }
.app-message.success { border-color: var(--green); color: var(--green-dark); background: #eaf8f1; }

.intro-stage { position: relative; display: grid; min-height: 520px; height: min(66vh,650px); align-items: end; overflow: hidden; color: #fff; background: #263d34 url("10asec-capture-report-v27.webp") center / cover no-repeat; }
.intro-stage::before { position: absolute; inset: 0; background: rgba(8,20,16,.43); content: ""; }
.intro-overlay { position: relative; z-index: 2; width: min(760px,100%); align-self: center; padding: 38px 42px 105px; }
.intro-overlay .section-code { color: #8be0b7; }
.intro-overlay h1 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: 70px; line-height: .95; }
.intro-overlay p { max-width: 660px; min-height: 58px; margin: 18px 0; font-size: 21px; font-weight: 650; line-height: 1.4; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.intro-progress { display: flex; width: 190px; gap: 5px; margin: 8px 0 20px; }
.intro-progress span { height: 4px; flex: 1; background: rgba(255,255,255,.32); }
.intro-progress span.active { background: #fff; }
.intro-safety { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; padding: 15px 24px; color: #fff; background: #b82439; }
.intro-safety span { font-size: 12px; line-height: 1.45; }
.home-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: #fff; }
.home-strip article { display: grid; gap: 4px; min-height: 105px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--line); }
.home-strip article:last-child { border-right: 0; }
.home-strip strong { font-size: 24px; }
.home-strip article:nth-child(2) strong { color: var(--cyan); }
.home-strip article:nth-child(3) strong { color: var(--green); }
.home-strip span { color: var(--muted); }
.feed-band, .emergency-directory { padding: 36px 0; }
.feed-band > header, .emergency-directory > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 11px; border-bottom: 2px solid var(--ink); }
.feed-band h2, .emergency-directory h2 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.emergency-directory > header p { max-width: 720px; margin: 7px 0 0; color: var(--muted); line-height: 1.45; }

.feed-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.feed-grid.compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feed-card { display: grid; min-height: 330px; grid-template-rows: 190px 1fr auto; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; }
.feed-card .media-frame { position: relative; display: grid; min-height: 190px; place-items: center; overflow: hidden; color: #fff; background: #24352f; }
.feed-card .media-frame img, .feed-card .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.feed-card .media-frame span { padding: 18px; text-align: center; }
.feed-card .feed-body { padding: 15px; }
.feed-card h3 { margin: 5px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.15; }
.feed-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.feed-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 15px; border-top: 1px solid var(--line); font-size: 11px; }
.empty-feed { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; padding: 30px; border-top: 3px solid var(--gold); color: var(--muted); background: #fff; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-grid article { display: grid; min-width: 0; grid-template-rows: 1fr auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.contact-grid .call-link { display: grid; min-height: 116px; align-content: center; gap: 5px; padding: 15px; color: var(--ink); text-decoration: none; }
.contact-grid .call-link:hover { background: #fff7f8; }
.contact-grid strong { color: var(--red); font-size: 25px; }
.contact-grid span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.contact-grid .call-link b { width: max-content; margin-top: 4px; padding: 4px 7px; color: #fff; background: var(--red); font-size: 10px; }
.contact-grid .source-link { padding: 9px 15px; border-top: 1px solid var(--line); color: var(--focus); font-size: 10px; font-weight: 800; }
.support-directory { margin-top: 24px; }
.support-directory h3 { margin: 0 0 10px; font-size: 17px; }
.compact-contacts { grid-template-columns: repeat(2,minmax(0,1fr)); }

.view-header { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 18px 20px; border-bottom: 2px solid var(--ink); background: #fff; }
.view-header h1 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 36px; }
.view-header p { max-width: 720px; margin: 6px 0 0; color: var(--muted); }
.profile-snapshot { display: grid; min-width: 110px; padding-left: 18px; border-left: 3px solid var(--gold); text-align: right; }
.profile-snapshot strong { font-size: 22px; }
.profile-snapshot span { color: var(--muted); font-size: 10px; }

.auth-gate { width: min(920px,100%); margin: 3vh auto; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.auth-heading { padding: 28px; border-bottom: 1px solid var(--line); }
.auth-heading h1 { margin: 7px 0 10px; font-size: 31px; line-height: 1.12; }
.auth-heading p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.55; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-switch button { min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: #f5f8f7; font-weight: 850; cursor: pointer; }
.auth-switch button.active { border-color: var(--green); color: var(--green-dark); background: #fff; }
.auth-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 24px 28px 28px; }
label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
.form-field { display: grid; min-width: 0; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid #b9c9c4; border-radius: 4px; color: var(--ink); background: #fff; }
textarea { min-height: 85px; resize: vertical; }
.visually-hidden { 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; }
.phone-field { position: relative; }
.phone-entry { position: relative; display: grid; min-width: 0; grid-template-columns: auto minmax(0,1fr); }
.phone-entry > input[data-phone-local] { min-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.country-trigger { display: grid; min-width: 112px; min-height: 43px; grid-template-columns: 24px 1fr 14px; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid #b9c9c4; border-right: 0; border-radius: 4px 0 0 4px; color: var(--ink); background: #f5f8f7; cursor: pointer; }
.country-trigger [data-phone-flag] { font-size: 19px; line-height: 1; }
.country-trigger [data-phone-code] { text-align: left; }
.country-chevron { color: var(--muted); font-size: 15px; }
.phone-country-hint { color: var(--muted); font-size: 10px; font-weight: 650; }
.country-popover { position: absolute; top: calc(100% + 7px); left: 0; z-index: 75; width: min(430px,calc(100vw - 38px)); border: 1px solid #9eb4ac; border-radius: 5px; background: #fff; box-shadow: 0 18px 42px rgba(16,32,25,.20); }
.country-search { padding: 10px; border-bottom: 1px solid var(--line); }
.country-search input { min-height: 40px; padding-left: 12px; }
.country-options { max-height: 290px; overflow-y: auto; overscroll-behavior: contain; padding: 5px; }
.country-option { display: grid; width: 100%; min-height: 45px; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 7px 9px; border: 0; border-bottom: 1px solid #e5ece9; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.country-option:hover, .country-option:focus-visible, .country-option[aria-selected="true"] { background: #edf8f2; }
.country-option-flag { font-size: 19px; }
.country-option-name { display: flex; min-width: 0; align-items: baseline; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-option-name small { color: var(--muted); font-size: 9px; }
.country-option > strong { color: var(--green-dark); font-size: 12px; }
.password-control { position: relative; display: block; }
.password-control input { padding-right: 48px; }
.password-toggle { position: absolute; top: 4px; right: 4px; width: 36px; height: 35px; border: 0; border-radius: 4px; background: #edf3f1; cursor: pointer; }
.password-toggle::before { display: block; width: 16px; height: 10px; margin: auto; border: 2px solid #52655e; border-radius: 50%; content: ""; }
.password-toggle::after { position: absolute; top: 15px; left: 16px; width: 4px; height: 4px; border-radius: 50%; background: #52655e; content: ""; }
.consent-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check-row { display: flex; min-width: 0; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 650; line-height: 1.45; }
.check-row input { width: 19px; min-width: 19px; height: 19px; min-height: 19px; margin-top: 1px; accent-color: var(--green); }
.policy-link { flex: 0 0 auto; padding: 6px 0; border: 0; color: var(--focus); background: transparent; font-size: 11px; font-weight: 850; text-decoration: underline; cursor: pointer; }
.google-auth { padding: 0 28px 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.google-button { display: flex; justify-content: center; }
.google-auth small { display: block; max-width: 600px; margin: 10px auto 0; color: var(--muted); text-align: center; }

#capture-form { display: grid; gap: 12px; }
.draft-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 15px 18px; border: 1px solid #d8c58e; border-left: 5px solid var(--gold); background: #fff9e8; }
.draft-panel[hidden] { display: none; }
.draft-panel > div:first-child { display: grid; min-width: 0; gap: 3px; }
.draft-panel span, .draft-panel small { color: var(--muted); }
.draft-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.capture-gate { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin-bottom: 12px; padding: 16px; border-left: 4px solid var(--gold); background: #fff7df; }
.capture-gate span { color: var(--muted); }
.capture-readiness { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 16px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: #fff; }
.capture-readiness > strong { font-size: 12px; }
.capture-readiness > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px 18px; }
.capture-readiness span { position: relative; padding-left: 14px; color: var(--muted); font-size: 11px; font-weight: 800; }
.capture-readiness span::before { position: absolute; top: .42em; left: 0; width: 7px; height: 7px; border: 2px solid #8da09a; border-radius: 50%; content: ""; }
.capture-readiness span.ready { color: var(--green-dark); }
.capture-readiness span.ready::before { border-color: var(--green); background: var(--green); }
.capture-readiness span.attention { color: #9f3144; }
.capture-readiness span.attention::before { border-color: var(--red); background: var(--red); }
.capture-step { border: 1px solid var(--line); background: #fff; }
.capture-step > header { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.capture-step > header > span { color: var(--green); font-size: 12px; font-weight: 950; }
.capture-step h2 { margin: 0; font-size: 19px; }
.capture-step header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.segmented { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 16px 18px; }
.segmented label, .segmented button { min-height: 48px; place-items: center; padding: 10px; border: 1px solid var(--line); border-right-width: 0; color: var(--muted); background: #f6f9f8; font-weight: 850; text-align: center; cursor: pointer; }
.segmented > :last-child { border-right-width: 1px; }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented label:has(input:checked), .segmented button.active { color: #fff; border-color: var(--green-dark); background: var(--green-dark); }
.purpose-selector { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 18px; }
.field-status { width: max-content; color: var(--muted); font-size: 10px; font-weight: 750; }
.field-status.required { color: #8f2437; }
.picker-field > label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.picker-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.picker-control input { cursor: pointer; }
.time-now-button { min-width: 72px; }
#live-time-note { color: var(--green-dark); font-size: 10px; }
.wide { grid-column: 1 / -1; }
.media-inputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 18px; }
.media-inputs label { position: relative; min-height: 125px; align-content: center; padding: 14px; border: 1px dashed #9eb4ac; background: #f5f9f7; cursor: pointer; overflow: hidden; }
.media-inputs strong, .media-inputs span { display: block; }
.media-inputs span { color: var(--muted); font-size: 11px; }
.media-inputs .media-pick { width: max-content; margin-top: 10px; padding: 7px 9px; color: #fff; border-radius: 4px; background: var(--green); font-weight: 850; }
.media-inputs input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.media-first > small { display: block; padding: 0 18px 16px; color: var(--muted); }
.media-studio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 18px 18px; }
.media-item { display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 150px; border: 1px solid var(--line); overflow: hidden; }
.media-item .media-player { display: grid; min-height: 150px; place-items: center; overflow: hidden; background: #182821; }
.media-item img, .media-item video { width: 100%; height: 150px; object-fit: cover; }
.media-item audio { width: calc(100% - 16px); }
.media-item .media-controls { position: relative; display: grid; align-content: start; gap: 7px; padding: 12px 48px 12px 12px; }
.media-item h3 { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.media-item small { color: var(--muted); }
.media-remove { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: #8f2437; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.media-remove:hover, .media-remove:focus-visible { color: #fff; border-color: var(--red); background: var(--red); }
.trim-control { display: grid; grid-template-columns: 1fr 72px; align-items: center; gap: 7px; }
.trim-control input[type=range] { min-height: 30px; padding: 0; border: 0; accent-color: var(--cyan); }
.trim-control input[type=number] { min-height: 34px; padding: 5px; }
.location-action { display: flex; align-items: center; gap: 10px; }
.location-first { padding: 13px; border: 1px solid #c9ded5; background: #f1faf6; }
.location-action span { color: var(--muted); font-size: 11px; }
.privacy-flags { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0 18px 18px; }
.privacy-flags > span { width: 100%; font-weight: 850; }
.privacy-flags label { display: flex; align-items: center; gap: 7px; }
.privacy-flags input { width: 18px; height: 18px; min-height: 18px; accent-color: var(--red); }
.emergency-check { border-left: 5px solid var(--red); background: #fff0f2; }
.emergency-check label { display: flex; gap: 11px; padding: 15px 18px; }
.emergency-check input { width: 19px; height: 19px; min-height: 19px; accent-color: var(--red); }
.emergency-check span { display: grid; gap: 4px; }
.emergency-check small { color: #7d2734; }
.consent-section { padding-bottom: 10px; }
.consent-section > .check-row { margin: 12px 18px; }
.submit-bar { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: #fff; box-shadow: var(--shadow); }
.submit-bar div { display: grid; }
.submit-bar span { color: var(--muted); font-size: 11px; }
.submit-bar .submit-copy { min-width: 0; flex: 1; gap: 3px; }
.submit-bar .submit-copy > small { color: var(--muted); font-size: 10px; }
.submit-bar .submit-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.upload-progress { width: min(560px,100%); gap: 6px; margin-top: 9px; }
.upload-progress progress { width: 100%; height: 9px; border: 0; accent-color: var(--green); }
.upload-progress progress::-webkit-progress-bar { background: #dfe8e5; }
.upload-progress progress::-webkit-progress-value { background: var(--green); }
.upload-progress progress::-moz-progress-bar { background: var(--green); }

.queue-layout { display: grid; grid-template-columns: minmax(300px,1fr) minmax(360px,1.1fr); gap: 12px; align-items: start; }
.queue-list { display: grid; gap: 8px; }
.queue-item { display: grid; gap: 6px; width: 100%; min-height: 94px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); background: #fff; text-align: left; cursor: pointer; }
.queue-item strong { font-size: 16px; }
.queue-item small { color: var(--muted); }
.queue-item .queue-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.queue-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.queue-timeline span { padding-top: 6px; border-top: 3px solid #d2ddda; color: var(--muted); font-size: 10px; font-weight: 800; }
.queue-timeline span.done { border-top-color: var(--green); color: var(--green-dark); }
.thread-panel { position: sticky; top: 92px; border: 1px solid var(--line); background: #fff; }
.thread-panel > header, .account-band > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.thread-panel h2, .account-band h2 { margin: 4px 0 0; font-size: 20px; }
.icon-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }
.message-thread { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding: 16px; }
.chat-message { display: grid; gap: 4px; max-width: 88%; padding: 10px 12px; border-left: 3px solid var(--cyan); background: #eef7fb; }
.chat-message.contributor { justify-self: end; border-color: var(--green); background: #edf8f2; }
.chat-message.quarantined { border-color: var(--red); background: #fff0f2; }
.chat-message small { color: var(--muted); }
#message-form { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }

.account-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.account-summary div { display: grid; gap: 7px; min-height: 100px; align-content: center; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.account-summary span { color: var(--muted); font-size: 11px; }
.account-summary strong { font-size: 22px; }
.account-role-summary { grid-template-columns: minmax(0,360px); }
.wallet-band { margin-bottom: 12px; border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; }
.wallet-band > header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wallet-band h2 { margin: 4px 0 0; font-size: 24px; }
.wallet-visibility { position: relative; display: grid; width: 42px; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--green-dark); background: #f2f7f5; cursor: pointer; }
.wallet-visibility:hover, .wallet-visibility:focus-visible { border-color: var(--green); background: #e8f5ee; }
.wallet-eye { position: relative; display: block; width: 22px; height: 14px; }
.wallet-eye::before { position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 50%; content: ""; }
.wallet-eye::after { position: absolute; top: 5px; left: 9px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.wallet-concealed .wallet-eye::after { top: 6px; left: -2px; width: 26px; height: 2px; border-radius: 0; transform: rotate(-38deg); }
.wallet-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.wallet-values article { display: grid; min-height: 112px; align-content: center; gap: 8px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wallet-values article:last-child { border-right: 0; }
.wallet-values span { color: var(--muted); font-size: 11px; font-weight: 800; }
.wallet-values strong { min-height: 33px; font-size: 27px; font-variant-numeric: tabular-nums; user-select: none; }
.wallet-concealed .wallet-values strong { color: #65756f; font-size: 23px; }
.wallet-policy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 15px 18px; background: #f5f8f7; }
.wallet-policy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.wallet-policy a { color: var(--focus); font-size: 11px; font-weight: 900; }
.wallet-print-notice { display: none; }
.account-band, .reward-table { margin-bottom: 12px; border: 1px solid var(--line); background: #fff; }
.account-band > .field-grid, .account-band > .section-code, .account-band > h2, .account-band > p, .account-band > .tag-list, .account-band > #moderation-actions { margin-left: 18px; margin-right: 18px; }
.account-band > .field-grid { padding-left: 0; padding-right: 0; }
.profile-save { display: flex; align-items: center; gap: 10px; }
.status-chip { padding: 6px 9px; border: 1px solid var(--line); color: var(--muted); background: #f5f8f7; font-size: 11px; font-weight: 850; }
.phone-verification { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 0 18px 18px; }
.phone-verification form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.phone-verification small { width: 100%; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tag-list span { padding: 7px 9px; border-left: 3px solid var(--green); background: #edf8f2; font-size: 11px; font-weight: 800; }
.moderation-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.moderation-row form { grid-column: 1 / -1; display: grid; gap: 8px; }
.reward-table { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.reward-table h2, .reward-table small { grid-column: 1 / -1; padding: 15px 18px; margin: 0; }
.reward-table div { display: grid; grid-template-columns: 42px 1fr; align-items: center; min-height: 75px; padding: 12px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.reward-table div span { color: var(--gold); font-size: 22px; font-weight: 900; }
.reward-table div b { font-size: 12px; }
.reward-table small { color: var(--muted); border-top: 1px solid var(--line); }

/* v37 compact account, role and wallet surface */
.account-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,390px); gap: 10px; margin-bottom: 10px; }
.role-compact { display: grid; min-height: 104px; grid-template-columns: minmax(130px,.55fr) minmax(0,1.45fr); align-items: center; gap: 12px 20px; padding: 15px 18px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: #fff; }
.role-compact > div { display: grid; gap: 4px; min-width: 0; }
.role-compact > div > span, .wallet-compact span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.role-compact > div > strong { font-size: 18px; }
.role-compact > small { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.4; }
.tag-list.compact { gap: 5px; margin: 0; }
.tag-list.compact span { padding: 5px 7px; border-left-width: 2px; font-size: 10px; }
.wallet-compact { display: grid; min-height: 104px; grid-template-columns: 48px minmax(0,1fr) 34px; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #173d31; border-top: 4px solid var(--gold); color: #fff; background: #102c23; }
.wallet-compact img { width: 48px; height: 48px; }
.wallet-compact > div { display: grid; gap: 2px; min-width: 0; }
.wallet-compact span { color: #9fcabb; }
.wallet-compact strong { min-height: 25px; color: #fff; font-size: 23px; font-variant-numeric: tabular-nums; line-height: 1; user-select: none; }
.wallet-compact small { color: #cfddd8; font-size: 10px; }
.wallet-compact .wallet-visibility { width: 34px; min-width: 34px; height: 34px; border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.08); }
.wallet-compact .wallet-eye { width: 18px; height: 12px; }
.wallet-compact .wallet-eye::after { top: 4px; left: 7px; }
.wallet-compact.wallet-concealed .wallet-eye::after { top: 5px; left: -2px; width: 22px; }
.compact-disclosure { margin-bottom: 10px; border: 1px solid var(--line); background: #fff; }
.compact-disclosure > summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; list-style: none; cursor: pointer; }
.compact-disclosure > summary::-webkit-details-marker { display: none; }
.compact-disclosure > summary::after { width: 22px; color: var(--green); content: '+'; font-size: 20px; font-weight: 800; text-align: center; }
.compact-disclosure[open] > summary::after { content: '−'; }
.compact-disclosure > summary > span:first-child { display: grid; gap: 3px; }
.compact-disclosure > summary > span:first-child > strong { font-size: 14px; }
.compact-disclosure > summary .section-code { margin: 0; }
.compact-disclosure > .disclosure-body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.wallet-details .wallet-values { grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); }
.wallet-details .wallet-values article { min-height: 82px; padding: 14px 16px; }
.wallet-details .wallet-values strong { min-height: 26px; font-size: 22px; }
.wallet-details .wallet-policy { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
.profile-editor .field-grid { padding: 16px 0 0; }
.profile-editor .profile-save { align-self: end; }
.personalisation-toggle { grid-column: 1 / -1; align-items: flex-start; margin-top: 2px; padding: 12px; border-left: 4px solid var(--gold); background: #fff9e9; }
.personalisation-toggle span { display: grid; gap: 3px; }
.personalisation-toggle small { color: var(--muted); font-size: 10px; }
.personalisation-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
.personalisation-fields[hidden] { display: none; }
.personalisation-fields legend { padding-right: 8px; color: var(--green); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.country-trigger { min-width: 116px; grid-template-columns: 28px 1fr 14px; }
.country-trigger [data-phone-iso], .country-trigger [data-phone-code] { font-size: 12px; line-height: 1; text-align: left; }
.reward-table.compact-disclosure { display: block; }
.reward-table.compact-disclosure > summary { display: flex; }
.reward-table .reward-detail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; border-top: 1px solid var(--line); }
.reward-table .reward-detail > div { display: grid; min-height: 70px; grid-template-columns: 34px 1fr; padding: 11px; border-top: 0; }
.reward-table .reward-detail > small { grid-column: 1 / -1; padding: 12px 16px; }

.capture-review {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  background: #fff;
}

.capture-review > header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.capture-review h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.review-state {
  padding: 7px 9px;
  border: 1px solid #d5aa4f;
  color: #74550c;
  background: #fff7dc;
  font-size: 11px;
}

.review-state.ready {
  border-color: #6fbd96;
  color: #0f6440;
  background: #e9f7ef;
}

.capture-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capture-review-grid article {
  display: grid;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  gap: 7px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.capture-review-grid article:last-child { border-right: 0; }
.capture-review-grid span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.capture-review-grid strong { overflow-wrap: anywhere; font-size: 14px; }
.capture-review > p { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }

.policy-modal-open { overflow: hidden; }
.policy-modal-open::before { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,16,.70); content: ""; }
.policy-dialog { position: fixed; top: 50%; left: 50%; z-index: 101; width: min(680px,calc(100% - 28px)); max-height: min(760px,calc(100vh - 28px)); overflow-y: auto; padding: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transform: translate(-50%,-50%); }
.policy-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.policy-dialog h2 { margin: 5px 0 14px; }
.policy-dialog li { margin: 9px 0; line-height: 1.5; }
.dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 20px; cursor: pointer; }
.mobile-nav { display: none; }

.app-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.app-brand img { width: 42px; height: 42px; object-fit: contain; }
.app-brand span { display: grid; }
.app-brand strong { font-size: 19px; }
.app-brand small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.public-page { background: #f4f7f6; }
.public-shell { width: min(1120px,calc(100% - 32px)); margin: 0 auto; }
.public-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 24px; padding: 52px 0 30px; border-bottom: 3px solid var(--ink); }
.public-hero h1 { max-width: 820px; margin: 7px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 46px; line-height: 1.06; }
.public-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.public-hero-aside { display: grid; min-width: 210px; gap: 8px; padding-left: 18px; border-left: 4px solid var(--green); }
.public-hero-aside strong { font-size: 17px; }
.public-hero-aside span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.public-callout { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin: 22px 0; padding: 17px 20px; color: #fff; background: #b82439; }
.public-callout strong { font-size: 25px; }
.public-callout span { line-height: 1.45; }
.public-callout a { color: #fff; font-weight: 900; }
.public-toc { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.public-toc a { padding: 7px 9px; border-left: 3px solid var(--cyan); color: var(--ink); background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.public-content { padding-bottom: 42px; }
.public-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.public-section h2 { margin: 6px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.public-section h3 { margin: 20px 0 7px; font-size: 17px; }
.public-section p, .public-section li { color: #3f514b; line-height: 1.65; }
.public-section ul { padding-left: 20px; }
.public-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.public-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.public-card { min-height: 150px; padding: 17px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 5px; background: #fff; }
.public-card:nth-child(3n+2) { border-top-color: var(--cyan); }
.public-card:nth-child(3n+3) { border-top-color: var(--gold); }
.public-card h3 { margin: 0 0 8px; font-size: 17px; }
.public-card p { margin: 0; font-size: 13px; }
.role-table { width: 100%; margin-top: 16px; border-collapse: collapse; background: #fff; }
.role-table th, .role-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.role-table th { background: #e8f0ed; font-size: 11px; text-transform: uppercase; }
.role-table td { color: #3f514b; line-height: 1.5; }
.faq-list { display: grid; gap: 8px; margin-top: 16px; }
.faq-list details { border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.faq-list summary { padding: 15px 17px; font-weight: 850; cursor: pointer; }
.faq-list details div { padding: 0 17px 16px; color: #3f514b; line-height: 1.6; }
.department-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.department-list article { display: grid; gap: 5px; padding: 16px; border-left: 4px solid var(--green); background: #fff; }
.department-list small { color: var(--muted); }
.department-code { color: var(--green); font-size: 11px; }
.department-list .button { width: max-content; min-height: 36px; margin-top: 7px; padding: 7px 10px; font-size: 11px; }
.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0 40px; }
.public-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.public-footer a { font-weight: 750; }
.info-language-control { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.info-language-control button { width: 42px; height: 38px; border: 0; color: var(--muted); background: #fff; font-weight: 900; cursor: pointer; }
.info-language-control button.active { color: #fff; background: var(--green-dark); }
.cookie-consent-panel { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; width: min(620px,calc(100% - 36px)); grid-template-columns: minmax(0,1fr) auto; gap: 18px; padding: 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #fff; background: #102019; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.cookie-consent-panel strong { display: block; margin-bottom: 5px; }
.cookie-consent-panel p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.45; }
.cookie-toggle { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #fff; }
.cookie-toggle input { width: 18px; min-width: 18px; height: 18px; min-height: 18px; padding: 0; accent-color: #38cf89; }
.cookie-actions { display: flex; flex-wrap: wrap; align-content: center; gap: 8px; }
.cookie-actions button { min-height: 38px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; color: #fff; background: transparent; font-weight: 800; cursor: pointer; }
.cookie-actions button[data-cookie-save] { color: var(--ink); border-color: #fff; background: #fff; }

.article-assignment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 12px;
  padding: 18px 20px;
  border: 1px solid #b9d5cb;
  border-left: 5px solid var(--green);
  border-radius: 5px;
  background: #f7fcfa;
}
.article-assignment[hidden] { display: none; }
.article-assignment h2 { margin: 3px 0 6px; font-size: 22px; }
.article-assignment p { margin: 0; color: var(--muted); line-height: 1.45; }
.article-assignment .button { white-space: nowrap; }

@media (max-width: 1120px) {
  .app-layout { grid-template-columns: 220px minmax(0,1fr); }
  .feed-grid, .feed-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .media-studio { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .app-topbar { min-height: 62px; padding: 7px 11px; }
  .brand-button img { width: 36px; height: 36px; }
  .brand-button strong { font-size: 17px; }
  .connection-state { display: none; }
  .app-layout { display: block; }
  .app-sidebar { display: none; }
  .app-workspace { padding: 0; }
  .app-message { top: 70px; margin: 8px; width: calc(100% - 16px); }
  .intro-stage { min-height: 510px; height: min(68svh,620px); }
  .intro-overlay { padding: 28px 20px 126px; }
  .intro-overlay h1 { font-size: 52px; }
  .intro-overlay p { min-height: 70px; font-size: 18px; }
  .intro-safety { grid-template-columns: 1fr; gap: 4px; padding: 13px 16px; }
  .home-strip { grid-template-columns: 1fr; }
  .home-strip article { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feed-band, .emergency-directory { padding: 28px 14px; }
  .feed-grid, .feed-grid.compact { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .view-header { min-height: 84px; margin: 0 0 10px; padding: 14px; }
  .view-header h1 { font-size: 27px; }
  .view-header p { font-size: 11px; }
  .auth-gate { margin: 0; border-right: 0; border-left: 0; }
  .auth-heading, .auth-form { padding: 18px; }
  .auth-form { grid-template-columns: 1fr; }
  .auth-form > * { grid-column: 1; }
  .country-popover { width: 100%; }
  .google-auth { padding: 0 18px 20px; }
  .capture-gate { grid-template-columns: 1fr; margin: 10px; }
  .article-assignment { grid-template-columns: 1fr; margin: 10px; }
  .article-assignment .button { width: 100%; }
  .draft-panel { align-items: stretch; flex-direction: column; margin: 0 10px 10px; }
  .draft-actions { flex-wrap: wrap; }
  .capture-readiness { grid-template-columns: 1fr; margin: 0 10px 10px; }
  #capture-form { padding: 0 10px 10px; }
  .segmented, .field-grid, .media-inputs { grid-template-columns: 1fr; }
  .capture-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capture-review-grid article:nth-child(2) { border-right: 0; }
  .capture-review-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .segmented label, .segmented button { border-right-width: 1px; border-bottom-width: 0; }
  .segmented > :last-child { border-bottom-width: 1px; }
  .wide { grid-column: 1; }
  .media-item { grid-template-columns: 1fr; }
  .media-item .media-player, .media-item img, .media-item video { min-height: 190px; height: 190px; }
  .submit-bar span { display: none; }
  .submit-bar .upload-progress span { display: block; }
  .submit-bar { align-items: stretch; flex-direction: column; }
  .submit-bar .submit-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .queue-layout { grid-template-columns: 1fr; padding: 0 10px 10px; }
  .thread-panel { position: fixed; inset: 62px 0 calc(62px + env(safe-area-inset-bottom)); z-index: 35; overflow-y: auto; }
  .account-summary { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 10px 10px; }
  .account-overview { grid-template-columns: 1fr; margin: 0 10px 10px; }
  .account-band, .reward-table, .wallet-band, .wallet-details { margin: 0 10px 10px; }
  .wallet-details .wallet-policy { grid-template-columns: 1fr; }
  .reward-table .reward-detail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wallet-policy { grid-template-columns: 1fr; }
  .reward-table { grid-template-columns: 1fr; }
  .reward-table div { border-right: 0; }
  .mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; min-height: calc(62px + env(safe-area-inset-bottom)); grid-template-columns: repeat(3,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: #fff; }
  body.session-authenticated .mobile-nav { grid-template-columns: repeat(4,1fr); }
  .mobile-nav button { min-width: 0; border: 0; border-top: 3px solid transparent; color: var(--muted); background: #fff; font-size: 10px; font-weight: 900; overflow-wrap: anywhere; }
  .mobile-nav button.active { border-top-color: var(--green); color: var(--green-dark); }
  .public-shell { width: min(100% - 24px,1120px); }
  .public-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .public-hero h1 { font-size: 34px; }
  .public-hero-aside { min-width: 0; }
  .public-callout { grid-template-columns: 1fr; gap: 7px; }
  .public-grid, .public-grid.two, .department-list { grid-template-columns: 1fr; }
  .role-table { display: block; overflow-x: auto; }
  .public-footer { align-items: flex-start; flex-direction: column; }
  .cookie-consent-panel { right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); width: calc(100% - 20px); grid-template-columns: 1fr; }
  .cookie-actions button { flex: 1; }
}
@media (max-width: 430px) {
  .app-top-actions { gap: 6px; }
  .language-control button { width: 35px; }
  #install-app { max-width: 84px; padding: 7px; font-size: 11px; }
  .intro-actions .button { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .consent-row { align-items: flex-start; }
  .profile-snapshot { min-width: 78px; }
  .account-summary { grid-template-columns: 1fr; }
  .role-compact { grid-template-columns: 1fr; }
  .role-compact > small { grid-column: 1; }
  .wallet-compact { grid-template-columns: 42px minmax(0,1fr) 34px; }
  .wallet-compact img { width: 42px; height: 42px; }
  .wallet-values { grid-template-columns: 1fr; }
  .wallet-values article { min-height: 86px; border-right: 0; }
  .personalisation-fields { grid-template-columns: 1fr; }
  .reward-table .reward-detail { grid-template-columns: 1fr; }
  .capture-review > header { align-items: flex-start; flex-direction: column; }
  .capture-review-grid { grid-template-columns: 1fr; }
  .capture-review-grid article { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capture-review-grid article:last-child { border-bottom: 0; }
}

.policy-renewal-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 22px;
  margin: 0 18px 12px;
  padding: 18px;
  border: 1px solid #d7a520;
  border-left: 5px solid #d7a520;
  background: #fff9df;
}

.policy-renewal-panel[hidden] { display: none !important; }
.policy-renewal-panel h2 { margin: 4px 0 7px; font-size: 20px; }
.policy-renewal-panel p { margin: 0; color: var(--muted); }
.policy-renewal-panel form { display: grid; gap: 10px; }
.policy-renewal-panel a { color: var(--green-dark); font-weight: 900; }
.policy-renewal-panel .button { justify-self: start; }

@media (max-width: 760px) {
  .policy-renewal-panel { grid-template-columns: 1fr; margin: 0 10px 10px; }
  .policy-renewal-panel .button { width: 100%; }
}

@media print {
  .wallet-values, .wallet-visibility, .profile-snapshot { display: none !important; }
  .wallet-print-notice { display: block; margin: 0; padding: 16px 18px; border-top: 1px solid var(--line); font-weight: 800; }
}

.problem-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #b82439;
  border-radius: 4px;
  color: #8c1728;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.problem-button b { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: #b82439; }
.problem-button:hover, .problem-button:focus-visible { color: #fff; background: #b82439; transform: translateY(-1px); }
.problem-button:hover b, .problem-button:focus-visible b { color: #b82439; background: #fff; }

.why-10asec {
  padding: 34px 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.why-10asec header { display: grid; max-width: 850px; gap: 7px; margin-bottom: 24px; }
.why-10asec h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.14; }
.why-10asec > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 2px solid var(--ink); }
.why-10asec article { display: grid; min-height: 132px; align-content: start; gap: 9px; padding: 18px 20px 18px 0; border-right: 1px solid var(--line); }
.why-10asec article + article { padding-left: 20px; }
.why-10asec article:last-child { border-right: 0; }
.why-10asec article strong { font-size: 16px; }
.why-10asec article span { color: var(--muted); font-size: 13px; line-height: 1.55; }

.violence-safety {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px 38px;
  color: #fff;
  background: #9e1f31;
}
.violence-safety .section-code { color: #ffd8de; }
.violence-safety h2 { max-width: 950px; margin: 6px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.18; }
.violence-safety p { max-width: 1050px; margin: 0; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.6; }
.violence-safety .button.emergency { display: grid; min-width: 122px; min-height: 74px; place-items: center; gap: 2px; border-color: #fff; color: #9e1f31; background: #fff; text-decoration: none; }
.violence-safety .button.emergency strong { font-size: 27px; }
.violence-safety .button.emergency span { font-size: 10px; text-transform: uppercase; }

.safety-confirm { padding: 14px; border: 1px solid #e4a9b2; border-left: 5px solid #b82439; background: #fff5f6; }
.safety-confirm > span { display: grid; gap: 5px; }
.safety-confirm small { color: #7e3540; font-size: 11px; line-height: 1.45; }

.developer-entry {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 0 18px 12px;
  padding: 15px 18px;
  border: 1px solid #9cc9e8;
  border-left: 5px solid var(--cyan);
  background: #f4faff;
}
.developer-entry[hidden] { display: none !important; }
.developer-entry > div { display: grid; gap: 4px; }
.developer-entry small { color: var(--muted); line-height: 1.45; }

.diagnostics-view { padding-bottom: 34px; }
.diagnostic-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 18px 12px; border: 1px solid var(--line); background: #fff; }
.diagnostic-summary div { display: grid; min-height: 94px; align-content: center; gap: 5px; padding: 16px; border-right: 1px solid var(--line); }
.diagnostic-summary div:last-child { border-right: 0; }
.diagnostic-summary strong { font-size: 27px; }
.diagnostic-summary span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.diagnostic-results { margin: 0 18px 12px; border: 1px solid var(--line); background: #fff; }
.diagnostic-results > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.diagnostic-results h2, .local-device-tests h2 { margin: 0; font-size: 19px; }
.diagnostic-results header small { max-width: 620px; color: var(--muted); line-height: 1.45; }
#diagnostic-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.diagnostic-result { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 10px; min-height: 74px; padding: 12px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diagnostic-marker { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; font-weight: 950; }
.diagnostic-result.pass .diagnostic-marker { color: #0c6a43; border-color: #7bc7a3; background: #e8f7ef; }
.diagnostic-result.warn .diagnostic-marker { color: #73530b; border-color: #ddb953; background: #fff7db; }
.diagnostic-result.fail .diagnostic-marker { color: #9e1f31; border-color: #e4a9b2; background: #fff0f2; }
.diagnostic-result div { display: grid; gap: 4px; min-width: 0; }
.diagnostic-result small { color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.local-device-tests { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 18px 12px; }
.local-device-tests article { display: grid; align-content: start; gap: 14px; min-height: 250px; padding: 18px; border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; }
.local-device-tests article:nth-child(2) { border-top-color: var(--cyan); }
.local-device-tests p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
#diagnostic-preview { width: 100%; max-height: 260px; aspect-ratio: 16/9; object-fit: cover; background: #0d1714; }
.local-test-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#media-test-status, #location-test-status { min-height: 18px; color: var(--muted); line-height: 1.4; }
#media-test-status.success, #location-test-status.success { color: #0c6a43; }
#media-test-status.error, #location-test-status.error { color: #9e1f31; }
.diagnostic-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 18px; padding: 10px 12px; border-left: 4px solid var(--gold); background: #fff8df; }
.diagnostic-footer p { margin: 0; font-size: 12px; line-height: 1.4; }
.diagnostic-footer .button { min-height: 36px; padding: 7px 11px; font-size: 12px; white-space: nowrap; }

.app-issue-dialog > p { color: var(--muted); line-height: 1.55; }
.problem-form-disclosure { margin-top: 18px; border: 1px solid var(--line); background: #f7faf9; }
.problem-form-disclosure > summary { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; list-style: none; cursor: pointer; }
.problem-form-disclosure > summary::-webkit-details-marker { display: none; }
.problem-form-disclosure > summary span { display: grid; gap: 3px; }
.problem-form-disclosure > summary strong { color: var(--green-dark); }
.problem-form-disclosure > summary small { color: var(--muted); line-height: 1.35; }
.problem-form-disclosure > summary > b { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 20px; line-height: 1; transition: transform .16s ease; }
.problem-form-disclosure[open] > summary > b { transform: rotate(45deg); }
.problem-form-disclosure[open] > summary { border-bottom: 1px solid var(--line); background: #fff; }
.app-issue-dialog .auth-form { padding: 16px 14px; background: #fff; }
.app-issue-dialog .problem-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.app-issue-dialog .problem-submit a { color: var(--green-dark); font-size: 11px; font-weight: 850; }

@media (max-width: 980px) {
  .why-10asec > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-10asec article:nth-child(2) { border-right: 0; }
  .why-10asec article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .problem-button { width: 38px; min-width: 38px; padding: 0; justify-content: center; }
  .problem-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .why-10asec, .violence-safety { padding: 26px 16px; }
  .why-10asec h2 { font-size: 27px; }
  .violence-safety { grid-template-columns: 1fr; }
  .violence-safety .button.emergency { width: 100%; min-height: 58px; grid-template-columns: auto auto; justify-content: center; gap: 10px; }
  .developer-entry { grid-template-columns: 1fr; margin: 0 10px 10px; }
  .developer-entry .button { width: 100%; }
  .diagnostic-summary { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 10px 10px; }
  .diagnostic-summary div:nth-child(2) { border-right: 0; }
  .diagnostic-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .diagnostic-results { margin: 0 10px 10px; }
  .diagnostic-results > header { align-items: start; flex-direction: column; }
  #diagnostic-results, .local-device-tests { grid-template-columns: 1fr; }
  .local-device-tests { margin: 0 10px 10px; }
  .diagnostic-result { border-right: 0; }
  .diagnostic-footer { margin: 0 10px; }
  .diagnostic-footer p { flex: 1; }
  .app-issue-dialog .problem-submit { align-items: stretch; flex-direction: column; }
  .app-issue-dialog .problem-submit .button { width: 100%; }
}

@media (max-width: 520px) {
  .diagnostic-footer p { display: none; }
  .diagnostic-footer .button { width: 100%; }
  .problem-form-disclosure > summary { min-height: 58px; padding: 10px 12px; }
  .problem-form-disclosure > summary small { font-size: 11px; }
  .app-issue-dialog .auth-form { padding: 14px 12px; }
}

@media (max-width: 520px) {
  .why-10asec > div { grid-template-columns: 1fr; }
  .why-10asec article, .why-10asec article + article { min-height: 0; padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .why-10asec article:last-child { border-bottom: 0; }
  .diagnostic-summary { grid-template-columns: 1fr 1fr; }
}

.app-nav .live-nav-entry { border-left-color: #dc263f; color: #fff; background: rgba(220,38,63,.12); }
.app-nav .live-nav-entry span { color: #ff8798; }
.mobile-nav .mobile-live-entry { color: #a7192e; }
body.session-authenticated.session-live-assignment .mobile-nav { grid-template-columns: repeat(5,1fr); }

.public-live-band {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 4px solid #dc263f;
  color: #fff;
  background: #101916;
}
.public-live-band[hidden] { display: none !important; }
.public-live-band.inset { margin: 0 38px 18px; }
.public-live-band > header { display: flex; align-items: center; gap: 9px; padding: 12px 18px 7px; }
.public-live-band .section-code { color: #ff9cab; }
.public-live-pulse, .live-dot { display: block; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #ef2945; box-shadow: 0 0 0 5px rgba(239,41,69,.18); }
.public-live-list { display: grid; }
.public-live-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 13px 18px; border-top: 1px solid rgba(255,255,255,.14); }
.public-live-list article > div:first-child { display: grid; gap: 5px; min-width: 0; }
.public-live-list strong { font-family: Georgia,"Times New Roman",serif; font-size: 19px; line-height: 1.2; }
.public-live-list small { color: rgba(255,255,255,.68); }
.public-live-actions { display: flex; gap: 7px; }
.public-live-actions .button { min-height: 38px; white-space: nowrap; }
.button.live-watch { border-color: #ef2945; color: #fff; background: #c71933; }
.button.live-watch:hover, .button.live-watch:focus-visible { background: #ed2946; transform: translateY(-1px); }

.live-broadcast-view { padding-bottom: 38px; }
.live-view-header { border-bottom: 4px solid #c71933; }
.live-head-state { display: flex; align-items: center; gap: 10px; min-width: 190px; justify-content: flex-end; }
.live-head-state strong { font-size: 12px; text-transform: uppercase; }
.live-broadcast-view.is-live .live-dot { animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(239,41,69,.16); } 50% { box-shadow: 0 0 0 10px rgba(239,41,69,.03); } }

.live-assignment-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.72fr); gap: 24px; align-items: center; margin: 0 18px 12px; padding: 17px 18px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: #fff; }
.live-assignment-summary h2 { margin: 5px 0 5px; font-family: Georgia,"Times New Roman",serif; font-size: 25px; line-height: 1.15; }
.live-assignment-summary p { margin: 0; color: var(--muted); line-height: 1.5; white-space: pre-line; }
.live-assignment-summary dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; border-left: 1px solid var(--line); }
.live-assignment-summary dl div { min-height: 74px; padding: 10px 13px; border-right: 1px solid var(--line); }
.live-assignment-summary dt { margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.live-assignment-summary dd { margin: 0; font-size: 12px; font-weight: 850; line-height: 1.35; }

.live-stage-shell { display: grid; grid-template-columns: minmax(0,1fr) 350px; align-items: stretch; gap: 0; margin: 0 18px; border: 1px solid #26332f; background: #101916; }
.live-stage { position: relative; min-width: 0; aspect-ratio: 16/9; overflow: hidden; background: #050807; }
.live-stage video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050807; }
.live-stage-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 30px; color: rgba(255,255,255,.62); text-align: center; background: #080d0b; }
.live-stage-empty[hidden] { display: none !important; }
.live-stage-empty strong { color: #fff; font-size: clamp(28px,5vw,60px); letter-spacing: 0; }
.live-stage-status { position: absolute; top: 14px; right: 14px; left: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.live-stage-status span, .live-stage-status time { padding: 7px 9px; color: #fff; background: rgba(6,11,9,.82); font-size: 11px; font-weight: 950; letter-spacing: 0; }
.live-broadcast-view.is-live .live-stage-status span { background: #d11f3a; }
.live-stage-status time { font-variant-numeric: tabular-nums; }

.live-console { display: grid; align-content: start; gap: 14px; padding: 18px; border-left: 1px solid rgba(255,255,255,.16); color: #fff; background: #15231f; }
.live-safety-cue { display: grid; gap: 6px; padding-left: 12px; border-left: 4px solid #e2b43d; }
.live-safety-cue strong { font-size: 14px; }
.live-safety-cue span { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
.live-ack { align-items: flex-start; padding: 11px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.live-ack span { color: rgba(255,255,255,.82); font-size: 11px; line-height: 1.45; }
.live-primary-actions, .live-device-actions { display: grid; gap: 8px; }
.live-primary-actions { grid-template-columns: 1fr; }
.live-device-actions { grid-template-columns: 1fr 1fr; }
.live-device-actions .button:last-child { grid-column: 1/-1; }
.button.live-start, .button.live-end { min-height: 50px; border: 1px solid #f1465f; color: #fff; background: #c71933; font-size: 14px; font-weight: 950; }
.button.live-start:hover, .button.live-start:focus-visible, .button.live-end:hover, .button.live-end:focus-visible { background: #ef2945; transform: translateY(-1px); }
.button.live-start:disabled { border-color: #5f6d68; color: #9da8a4; background: #36433f; transform: none; }
.live-console .button.secondary { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.live-console .button.secondary:hover, .live-console .button.secondary:focus-visible { border-color: #fff; background: rgba(255,255,255,.09); }
.live-console .button.secondary:disabled { color: #74817d; border-color: #3a4944; background: transparent; }
.live-connection { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
.live-connection span { color: rgba(255,255,255,.58); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.live-connection strong { font-size: 13px; }
.live-connection small { min-height: 16px; color: #aebdb8; line-height: 1.35; }
.live-boundary-bar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; margin: 12px 18px 0; padding: 14px 16px; border-left: 5px solid var(--cyan); background: #eef8fd; }
.live-boundary-bar strong { white-space: nowrap; }
.live-boundary-bar span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.live-boundary-bar a { color: var(--green-dark); font-size: 12px; font-weight: 900; }

@media (max-width: 1050px) {
  .live-assignment-summary { grid-template-columns: 1fr; }
  .live-assignment-summary dl { border-top: 1px solid var(--line); border-left: 0; }
  .live-stage-shell { grid-template-columns: 1fr; }
  .live-console { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .live-device-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .live-device-actions .button:last-child { grid-column: auto; }
}

@media (max-width: 800px) {
  .public-live-band.inset { margin: 0 10px 12px; }
  .public-live-list article { grid-template-columns: 1fr; }
  .public-live-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .live-head-state { min-width: 0; justify-content: flex-start; }
  .live-assignment-summary, .live-stage-shell, .live-boundary-bar { margin-right: 10px; margin-left: 10px; }
  .live-assignment-summary dl { grid-template-columns: 1fr; }
  .live-assignment-summary dl div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .live-assignment-summary dl div:last-child { border-bottom: 0; }
  .live-boundary-bar { grid-template-columns: 1fr; gap: 7px; }
  .live-boundary-bar strong { white-space: normal; }
}

@media (max-width: 520px) {
  .live-assignment-summary { padding: 14px; }
  .live-assignment-summary h2 { font-size: 21px; }
  .live-stage { aspect-ratio: 9/13; }
  .live-console { padding: 14px; }
  .live-device-actions { grid-template-columns: 1fr; }
  .live-device-actions .button:last-child { grid-column: 1; }
  .public-live-actions { grid-template-columns: 1fr; }
}
.scavenger-challenge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px 20px;
  color: #fff;
  border-left: 6px solid #f0c64d;
  background: #102c24;
}

.scavenger-challenge[hidden] { display: none; }
.scavenger-challenge h2 { margin: 4px 0 5px; font-size: 22px; letter-spacing: 0; }
.scavenger-challenge p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.45; }
.scavenger-challenge > strong { min-width: 118px; padding: 13px 14px; color: #102c24; background: #f0c64d; font-size: 24px; letter-spacing: 3px; text-align: center; }

@media (max-width: 640px) {
  .scavenger-challenge { grid-template-columns: 1fr; padding: 16px; }
  .scavenger-challenge > strong { justify-self: start; }
}
.challenge-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  gap: 26px;
  align-items: center;
  padding: 28px 30px;
  border-top: 3px solid #07875d;
  border-bottom: 1px solid var(--line);
  background: #f5f9f7;
}
.challenge-discovery h2 { margin: 5px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.12; }
.challenge-discovery p { max-width: 820px; margin: 0; color: var(--muted); line-height: 1.55; }
.challenge-discovery aside { display: grid; gap: 12px; padding-left: 24px; border-left: 1px solid var(--line); }
.challenge-discovery aside span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.challenge-discovery aside .button { justify-self: start; }

@media (max-width: 760px) {
  .challenge-discovery { grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; }
  .challenge-discovery aside { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

/* v43: event and opening details share the MWB Events review contract. */
.event-detail-panel {
  border-top: 4px solid #0b855f;
  background: #f7fbf9;
}
.event-detail-panel[hidden] { display: none !important; }
.event-detail-panel > header > span {
  min-width: 52px;
  color: #fff;
  background: #0b855f;
  text-align: center;
}
.event-field-grid {
  align-items: start;
}
.event-field-grid .event-all-day {
  min-height: 47px;
  align-self: end;
  border: 1px solid var(--line);
  background: #fff;
}
.event-field-grid .event-authority {
  padding: 13px 14px;
  border-left: 4px solid #1687c0;
  background: #edf7fc;
}
.event-field-grid input:required,
.event-field-grid select:required {
  border-left: 3px solid #0b855f;
}

@media (max-width: 640px) {
  .event-detail-panel > header > span { min-width: 44px; }
  .event-field-grid .event-all-day { align-self: stretch; }
}
