@font-face {
    font-family: Gilroy;
    src: url("/fonts/Gilroy-Regular.woff2") format("woff2"), local("Gilroy-Regular"), local("Gilroy Regular");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Gilroy;
    src: url("/fonts/Gilroy-Medium.woff2") format("woff2"), local("Gilroy-Medium"), local("Gilroy Medium");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Gilroy;
    src: url("/fonts/Gilroy-SemiBold.woff2") format("woff2"), local("Gilroy-SemiBold"), local("Gilroy Semibold"), local("Gilroy SemiBold");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Gilroy;
    src: url("/fonts/Gilroy-Bold.ttf") format("truetype"), local("Gilroy-Bold"), local("Gilroy Bold");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Gilroy;
    src: url("/fonts/Gilroy-ExtraBold.woff2") format("woff2"), local("Gilroy-ExtraBold"), local("Gilroy ExtraBold");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    /* ── Zamtel brand — primary system colour (~60%) ────────────────────── */
    --green: #008542;          /* Zamtel primary green — CTAs, links, stats */
    --green-dark: #013417;     /* Zamtel dark green — header, sidebar, footer */
    --lime: #A9DD00;           /* Zamtel lime — accents on dark surfaces */
    --magenta: #E73189;        /* Zamtel magenta — highlight accent */

    /* ── ZRA brand — secondary accent (~14%) ────────────────────────────── */
    --zra-green: #135222;      /* ZRA corporate green — chart/secondary accent */
    --zra-gold: #E27D24;       /* ZRA gold — header CTA, gradients, highlights */
    --zra-gold-dark: #B8651C;  /* Deep gold — hover, gold text on light */
    --zra-gold-hover: #d9721f; /* Gold hover that keeps dark text readable */
    --zra-dark: #222222;       /* ZRA dark neutral — text on gold */
    --zra-light: #F4F7F6;      /* ZRA light neutral — page surfaces */

    /* ── Neutrals & support (~26%) ──────────────────────────────────────── */
    --ink: #222222;
    --muted: #4a5e50;
    --paper: #F4F7F6;
    --white: #FFFFFF;
    --orange: #E27D24;
    --copper-dark: #925522;
    --red: #C62828;
    --line: #d6e8db;
    --dark: #013417;
    --gilroy: Gilroy, "Avenir Next", Montserrat, Arial, sans-serif;
    --mono: var(--gilroy);
    --sans: var(--gilroy);
    --display: var(--gilroy);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; background: #1F2937; border-bottom: 1px solid #111827; }
.brand { display: inline-flex; align-items: center; }
.brand-lockup { gap: 13px; }
.brand-logo { width: auto; display: block; }
.brand-logo-zamtel { width: auto; height: 90px; border-radius: 0; }
.brand-logo-zra { width: 140px; height: 82px; object-fit: contain; border-radius: 3px; background: white; }
.brand-divider { width: 1px; height: 38px; background: rgba(255,255,255,.36); }
.brand-compact { gap: 9px; }
.brand-compact .brand-logo-zamtel { height: 80px; width: auto; }
.brand-compact .brand-logo-zra { width: 106px; height: 62px; }
.brand-compact .brand-divider { height: 29px; }
.header-nav { display: flex; align-items: center; gap: 32px; color: #FFFFFF; font-size: 13px; font-weight: 600; }
.header-nav a:not(.button):hover { color: var(--lime); }
.header-nav .header-login-link { color: #fff; background: var(--green); border-radius: 6px; padding: 0 18px; min-height: 38px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.header-nav .button { background: var(--zra-gold); color: var(--zra-dark); box-shadow: 0 4px 18px rgba(0,0,0,.16); }
.header-nav .button:hover { background: var(--zra-gold-hover); }
.button { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 6px; background: var(--green); color: white; font-size: 15px; font-weight: 700; letter-spacing: -.2px; transition: background .2s, transform .15s, box-shadow .2s; cursor: pointer; box-shadow: 0 4px 20px rgba(0,133,66,.3); }
.button:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,133,66,.4); }
.button span { font-size: 16px; font-weight: 400; }
.button-small { min-height: 38px; padding: 0 18px; font-size: 14px; background: var(--green); color: white; }

.hero { min-height: 680px; padding: 70px 10.2% 70px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; background: var(--paper); }
.hero::before, .hero::after { display: none; }
.hero-copy { position: relative; z-index: 2; max-width: 520px; }
.hero-image { position: relative; border-radius: 20px; overflow: hidden; height: 480px; z-index: 2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image::after { content: ''; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.challenge-banner { padding: 36px 5% 28px; text-align: center; background: var(--paper); }
.challenge-banner-title { margin: 0 0 10px; font-size: clamp(52px, 6.5vw, 88px); font-weight: 900; letter-spacing: -3px; line-height: 1; text-shadow: 0 0 18px rgba(0,133,66,.18), 0 0 40px rgba(49,91,194,.12); word-break: break-word; white-space: normal; overflow: visible; animation: fadeUp .8s .05s ease both; }
.title-green { background: linear-gradient(90deg, #009a1a 0%, #00c422 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-blend { background: linear-gradient(90deg, #00c422 0%, #1a6edb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-blend-full { background: linear-gradient(90deg, #009a1a 0%, #00c422 40%, #1a6edb 70%, #315bc2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-blue  { background: linear-gradient(90deg, #1a6edb 0%, #315bc2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.challenge-banner-sub { margin: 0 0 6px; font-size: clamp(18px, 2.4vw, 28px); font-weight: 600; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; animation: fadeUp .8s .35s ease both; }
.challenge-banner-tagline { margin: 0; font-size: clamp(14px, 1.6vw, 20px); font-weight: 500; color: var(--muted); letter-spacing: 1.5px; overflow: hidden; animation: bannerTagline 1.2s .65s ease forwards; opacity: 0; }
.mobile-break { display: none; }
.eyebrow, .section-index, .form-step { font: 600 10px/1.5 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
.form-step { font-size: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); background: none; border: none; border-left: 3px solid var(--green); border-radius: 0; padding: 2px 0 2px 12px; font-size: 13px; }
.section-index { color: #6b7280; }
.live-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,133,66,.15); animation: pulse 2s infinite; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 20px 0 18px; font: 700 clamp(48px,5.8vw,80px)/.97 var(--display); letter-spacing: -3px; color: var(--ink); }
.hero-h2 { margin: 20px 0 18px; font: 700 clamp(52px,6.5vw,88px)/.97 var(--display); letter-spacing: -3px; color: var(--ink); }
.hero h1 span, .login-main h1 span { background: linear-gradient(90deg, var(--green) 0%, var(--zra-gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-intro { max-width: 460px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.text-link { color: var(--muted); font-size: 16px; font-weight: 600; transition: color .2s; }
.text-link:hover { color: var(--ink); }
.text-link span, .underlined-link span { margin-left: 6px; }

.section-pad { padding-left: 10.2%; padding-right: 10.2%; }
.intro-section { padding-top: 90px; padding-bottom: 90px; background: white; }
.intro-content { margin-top: 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 9%; }
.intro-content h2, .focus-heading h2 { margin: 0; font: 700 clamp(36px,4vw,52px)/1.08 var(--display); letter-spacing: -2px; }
.intro-content h2 span, .focus-heading h2 span { color: var(--green); }
.intro-copy { padding-top: 3px; color: #4b5563; font-size: 15px; line-height: 1.85; }
.intro-copy p { margin-bottom: 16px; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-cta-line { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.underlined-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 20px; border-radius: 100px; background: var(--green); color: white; font-size: 14px; font-weight: 700; transition: background .2s, transform .15s; }
.underlined-link:hover { background: var(--green-dark); transform: translateY(-2px); }
.focus-heading-sub { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.75; max-width: 420px; }
.photo-strip { margin: 52px 0 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; height: 220px; }
.photo-frame { min-width: 0; overflow: hidden; border-radius: 12px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.principles { margin-top: 48px; padding-top: 28px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); gap: 20px; }
.principles article { padding: 20px; border-radius: 8px; border-left: 3px solid #bb9d61; }
.principles article:nth-child(1) { background: #f9f6f0; border-left-color: #bb9d61; }
.principles article:nth-child(2) { background: #f0f4fa; border-left-color: #184585; }
.principles article:nth-child(3) { background: #f9f6f0; border-left-color: #bb9d61; }
.principles article:nth-child(4) { background: #f0f4fa; border-left-color: #184585; }
.principle-no { color: #bb9d61; font: 700 12px var(--mono); }
.principles article:nth-child(2) .principle-no,
.principles article:nth-child(4) .principle-no { color: #184585; }
.principles h3 { margin: 12px 0 6px; font: 700 17px var(--display); letter-spacing: -.4px; }
.principles p { max-width: 230px; margin: 0; color: #6b7280; font-size: 14px; line-height: 1.7; }

.site-footer { min-height: 92px; padding: 18px 7.2%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #1F2937; border-top: 1px solid #111827; flex-wrap: wrap; }
.footer-deadline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 14px; margin-bottom: 4px; }
.footer-deadline-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.45); text-transform: uppercase; flex-shrink: 0; }
.footer-deadline-clock { font: 700 clamp(18px,1.8vw,26px)/1 var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; color: #fff; flex-shrink: 0; }
.footer-deadline-date { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); flex-shrink: 0; }
.footer-deadline-note { font-size: 11px; color: rgba(255,255,255,.4); margin-left: auto; }
.stats-bar { padding: 40px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }

.ferris-wheel { width: 100%; overflow: hidden; }
.ferris-track { display: flex; gap: 160px; width: max-content; animation: statsScroll 22s linear infinite; }
.ferris-card { flex-shrink: 0; width: 220px; padding: 28px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0; box-shadow: 0 2px 12px rgba(0,0,0,.06); text-align: center; align-items: center; }
@keyframes statsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-1140px); } }
.stat-number { font: 700 clamp(36px,4vw,52px)/1 var(--display); letter-spacing: -2px; color: var(--green); }
.stat-number--fixed { font-size: clamp(36px,4vw,52px); letter-spacing: 0; }
.stat-number--inf { font-size: clamp(48px,5.5vw,68px); margin-bottom: -8px; }
.stat-label { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .5px; }

.focus-section { padding-top: 90px; padding-bottom: 100px; background: var(--paper); }
.focus-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.focus-heading h2 { margin-top: 20px; }
.focus-heading > p { max-width: 520px; margin: 0 0 5px; color: #6b7280; font-size: 13px; line-height: 1.7; }
.focus-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.focus-card { min-height: 560px; padding: 24px 22px; position: relative; overflow: hidden; border-radius: 16px; background-size: cover; background-position: center; cursor: default; transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s; }
.focus-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 28px 60px rgba(0,0,0,.22); }
.focus-card-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.focus-card:hover .focus-card-image { transform: scale(1.08); }
.focus-card::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 16px; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, transparent 100%); transition: background .35s; }
.focus-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.05) 100%); }
.focus-number, .focus-icon, .focus-card h3, .focus-card p { position: relative; z-index: 2; }
.focus-number { color: #bb9d61; font: 700 18px var(--mono); text-shadow: 0 1px 2px rgba(0,0,0,0.3); text-align: center; }
.focus-icon { position: absolute; top: 18px; right: 20px; font-size: 26px; color: #ffffff; opacity: 0.9; transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .35s; }
.focus-card:hover .focus-icon { transform: scale(1.25) rotate(15deg); opacity: 1; }
.focus-card h3 { margin: 50px 0 10px; font: 800 clamp(22px,2.2vw,30px)/1.15 var(--display); letter-spacing: -.5px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); text-align: center; transition: transform .35s cubic-bezier(.25,.46,.45,.94), letter-spacing .35s; }
.focus-card:hover h3 { transform: translateY(-4px); letter-spacing: 0px; }
.focus-card p { max-width: none; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.65; text-shadow: 0 1px 4px rgba(0,0,0,.65); text-align: center; transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .35s; opacity: .85; }
.focus-card:hover p { transform: translateY(-4px); opacity: 1; }

.cta-band { padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--paper); border-top: 1px solid var(--line); }
.cta-band .section-index { color: var(--muted); }
.cta-band .button { background: var(--green); box-shadow: 0 4px 20px rgba(0,133,66,.4); }
.cta-band .button:hover { background: var(--green-dark); }
.cta-band h2 { margin-top: 20px; font: 700 clamp(32px,3.5vw,48px)/1.1 var(--display); letter-spacing: -2px; color: var(--ink); }
.cta-band h2 span { color: var(--green); }
.cta-band-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cta-band-right p { margin: 0; max-width: 280px; text-align: right; color: var(--muted); font-size: 14px; line-height: 1.8; }
.apply-promise { display: flex; align-items: flex-start; gap: 12px; }
.promise-icon { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: 13px; }
.apply-promise p { margin: 0; color: #667269; font-size: 14px; line-height: 1.75; }
.apply-promise strong { color: var(--ink); font-size: 15px; }
.modal { width: min(720px,95vw); max-height: 90vh; padding: 0; border: none; border-radius: 8px; box-shadow: 0 24px 80px rgba(22,35,27,.18); overflow: hidden; }
.modal::backdrop { background: rgba(22,35,27,.45); backdrop-filter: blur(3px); }
.modal-inner { overflow-y: auto; max-height: 90vh; padding: 32px 36px 30px; }
.modal-header { margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-header h3 { margin: 7px 0 0; font: 700 23px var(--display); letter-spacing: -.7px; }
.modal-close { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 14px; cursor: pointer; transition: background .15s; }
.modal-close:hover { background: var(--paper); }
.application-form { margin-top: 20px; }
.applicant-form-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--green); background: #eff7ef; color: #526557; font-size: 13px; line-height: 1.6; }
.form-step { color: var(--green-dark); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.form-section { padding-top: 18px; border-top: 1px solid var(--line); }
.form-section h4 { margin: 0; color: var(--green-dark); font: 700 16px/1.3 var(--display); }
.form-section > .form-grid { margin-top: 16px; }
.form-section-heading, .team-member-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.form-section-heading p { margin: 5px 0 0; color: #78857b; font-size: 12px; line-height: 1.5; }
.team-member-row { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfa; }
.team-member-heading { margin-bottom: 14px; color: #354239; font-size: 13px; }
.remove-member { padding: 5px 8px; border: 1px solid #e8d2cf; border-radius: 4px; background: white; color: #9a4338; font-size: 12px; font-weight: 600; cursor: pointer; }
.remove-member:hover { background: #fff2f0; }
#add-team-member:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #354239; font-size: 13px; font-weight: 600; }
.field > span b, .consent-field b { color: var(--green); }
.field > span .optional { margin-left: 5px; color: #9aa39b; font-size: 12px; font-weight: 400; }
.field-wide { grid-column: 1/-1; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #e0e6df; border-radius: 3px; outline: 0; background: white; color: var(--ink); font-size: 14px; font-weight: 400; transition: border .18s, box-shadow .18s; }
.field input, .field select { min-height: 39px; }
.field textarea { min-height: 67px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a1aaa2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,133,66,.12); }
.field-error { min-height: 0; color: var(--red); font-size: 12px; font-weight: 400; }
.field-error:empty { display: none; }
.field-hint { margin-top: -3px; color: #929c94; font-size: 12px; font-weight: 400; }
.consent-field { margin-top: 20px; display: flex; align-items: flex-start; gap: 9px; color: #69756c; font-size: 13px; line-height: 1.6; }
.consent-field input { width: 14px; height: 14px; margin: 0; accent-color: var(--green); }
.consent-error { display: block; margin: 4px 0 0 23px; }
.submit-button { width: 100%; margin-top: 20px; }
.privacy-note { margin: 12px 0 0; color: #929c94; text-align: center; font-size: 12px; }
.form-error { margin-bottom: 16px; padding: 10px 12px; border-left: 3px solid var(--red); background: #fff2f2; color: var(--red); font-size: 13px; }
.form-error p { margin: 0; }
.file-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 90px; padding: 18px; border: 1.5px dashed #c8d4c9; border-radius: 4px; background: #f8faf7; text-align: center; cursor: pointer; transition: border-color .18s, background .18s; }
.file-drop:hover, .file-drop.drag-over { border-color: var(--green); background: #eaf5ef; }
.file-drop.has-file { border-color: var(--green); border-style: solid; background: #eaf5ef; }
.file-drop-icon { font-size: 22px; color: var(--green); }
.file-drop-text { color: #68736b; font-size: 13px; }
.file-drop-text u { color: var(--green); }
.file-drop-name { color: var(--green-dark); font-size: 13px; font-weight: 600; word-break: break-all; }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.site-footer { min-height: 92px; padding: 18px 7.2%; display: flex; align-items: center; justify-content: space-between; background: #1F2937; border-top: 1px solid #111827; }
.site-footer > p, .copyright { margin: 0; color: #FFFFFF; font-size: 13px; }

.confirmation-page { min-height: 100vh; display: flex; flex-direction: column; }
.confirmation-main { width: min(570px,88%); margin: auto; padding: 64px 0 82px; position: relative; }
.confirmation-art { width: 79px; height: 79px; margin-bottom: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: 41px; }
.confirmation-main h1 { margin: 18px 0; font: 700 clamp(49px,7vw,73px)/.98 var(--display); letter-spacing: -5px; }
.confirmation-main h1 span { color: var(--green); }
.confirmation-copy { max-width: 460px; color: #667269; font-size: 14px; line-height: 1.8; }
.confirmation-copy strong { color: var(--ink); }
.receipt { margin-top: 32px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.receipt div { display: flex; flex-direction: column; gap: 9px; }
.receipt div > span { color: #8b958d; font: 9px var(--mono); letter-spacing: .5px; }
.receipt div > strong { font: 600 13px var(--sans); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.receipt-note { margin: 17px 0 25px; color: #758077; font-size: 13px; line-height: 1.7; }
.confirmation-page .site-footer { border-top: 1px solid rgba(255,255,255,.12); }

.footer-links { display: flex; align-items: center; gap: 24px; }
.reviewer-link { color: #FFFFFF; font-size: 13px; font-weight: 600; }
.reviewer-link span { margin-left: 4px; color: var(--lime); }

.admin-page { min-height: 100vh; background: var(--paper); }
.admin-header { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #111827; background: #1F2937; position: sticky; top: 0; z-index: 200; }
.admin-header-actions { display: flex; align-items: center; gap: 24px; }
.admin-header-actions form { margin: 0; }
.admin-header .brand-divider { background: rgba(255,255,255,.36); }
.admin-layout { height: calc(100vh - 78px); display: grid; grid-template-columns: 226px minmax(0,1fr); overflow: hidden; }
.admin-sidebar { height: 100%; padding: 30px 15px 20px; display: flex; flex-direction: column; border-right: none; background: #1F2937; overflow-y: auto; }
.sidebar-label { margin: 0 0 13px 12px; color: rgba(169,221,0,.6); font: 600 11px var(--mono); letter-spacing: 1.3px; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; padding-right: 4px; }
.sidebar-top .sidebar-label { margin: 0 0 0 12px; }
.sidebar-collapse-btn { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: transparent; color: rgba(255,255,255,.55); font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.sidebar-collapse-btn:hover { background: rgba(255,255,255,.1); color: var(--lime); }
.sidebar-collapsed .sidebar-collapse-btn { transform: rotate(180deg); }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav > a, .sidebar-group > summary { min-height: 43px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border-radius: 5px; color: rgba(255,255,255,.65); font-size: 14px; font-weight: 600; transition: color .15s, background .15s; }
.sidebar-group > summary { list-style: none; cursor: pointer; }
.sidebar-group > summary::-webkit-details-marker { display: none; }
.sidebar-nav > a:hover, .sidebar-group > summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-nav > a.active, .sidebar-group > summary.active { background: rgba(169,221,0,.15); color: var(--lime); }
.sidebar-icon { width: 19px; color: rgba(255,255,255,.4); text-align: center; font-size: 17px; }
.sidebar-nav > a.active .sidebar-icon, .sidebar-group > summary.active .sidebar-icon { color: var(--lime); }
.sidebar-chevron { margin-left: auto; color: rgba(255,255,255,.35); font-size: 14px; transition: transform .15s; }
.sidebar-group[open] .sidebar-chevron { transform: rotate(180deg); }
.sidebar-subnav { margin: 4px 0 5px 21px; padding-left: 11px; display: grid; gap: 2px; border-left: 1px solid rgba(255,255,255,.12); }
.sidebar-subnav a { min-height: 31px; padding: 0 9px; display: flex; align-items: center; border-radius: 4px; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 500; }
.sidebar-subnav a:hover, .sidebar-subnav a.active { background: rgba(169,221,0,.12); color: var(--lime); }
.sidebar-soon { margin-left: auto; color: rgba(255,255,255,.3); font: 10px var(--mono); letter-spacing: .5px; }
.sidebar-footer { margin-top: auto; padding: 18px 10px 0; display: flex; flex-direction: column; gap: 7px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 14px; }
.sidebar-status { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font: 11px var(--mono); letter-spacing: .5px; }
.sidebar-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.admin-layout { position: relative; transition: grid-template-columns .2s; }
.admin-sidebar { position: relative; transition: width .2s, padding .2s; overflow-y: auto; }
.admin-layout.sidebar-collapsed { grid-template-columns: 48px minmax(0,1fr); }
.admin-layout.sidebar-collapsed .admin-sidebar { padding: 30px 0 20px; align-items: center; overflow: hidden; }
.admin-layout.sidebar-collapsed .admin-sidebar > *:not(.sidebar-top) { display: none; }
.admin-layout.sidebar-collapsed .sidebar-top { flex-direction: column; justify-content: center; margin-bottom: 0; padding-right: 0; }
.admin-layout.sidebar-collapsed .sidebar-top .sidebar-label { display: none; }
.admin-user { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: 14px; }
.user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,133,66,.1); }
.logout-button, .admin-public-link { padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.admin-header .logout-button { padding: 8px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; color: #FFFFFF; }
.admin-header .logout-button:hover { background: rgba(255,255,255,.1); }
.admin-header .admin-public-link { color: #FFFFFF; }
.admin-header .admin-public-link:hover { color: var(--lime); }
.admin-public-link span { margin-left: 4px; }
.admin-main { width: 100%; padding: 48px 40px 58px; height: 100%; overflow-y: auto; box-sizing: border-box; }
.users-total { padding: 11px 15px; border: 1px solid #dce8de; border-radius: 6px; background: white; color: #728076; font-size: 13px; white-space: nowrap; }
.users-total strong { margin-right: 4px; color: var(--green-dark); font-size: 18px; }
.users-layout { margin-top: 32px; display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.55fr); align-items: start; gap: 16px; }
.user-panel { min-width: 0; overflow: hidden; border: 1px solid #dce8de; border-radius: 8px; background: white; box-shadow: 0 8px 28px rgba(21,54,32,.035); }
.user-panel-heading { padding: 22px 22px 18px; border-bottom: 1px solid #edf1ed; }
.user-panel-heading .admin-kicker { margin-bottom: 7px; }
.user-panel-heading h2 { margin: 0; color: #25362a; font: 700 22px/1.2 var(--display); letter-spacing: -.7px; }
.user-panel-heading > p:last-child { margin: 8px 0 0; color: #78857b; font-size: 13px; line-height: 1.6; }
.create-user-form { padding: 20px 22px 22px; display: grid; gap: 17px; }
.create-user-form .admin-field input, .create-user-form .admin-field select { min-height: 41px; }
.create-user-form .admin-button { min-height: 43px; }
.user-security-note { margin: -5px 0 0; color: #839087; font-size: 12px; line-height: 1.6; }
.user-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.user-list-heading > div { min-width: 0; }
.user-count { padding: 6px 9px; border-radius: 100px; background: #edf5ee; color: var(--green-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.user-table-wrap { overflow-x: auto; }
.user-table { width: 100%; border-collapse: collapse; text-align: left; }
.user-table thead { background: #f6f9f6; }
.user-table th { padding: 12px 13px; color: #829087; font: 600 8px var(--mono); letter-spacing: .65px; white-space: nowrap; }
.user-table td { padding: 14px 13px; border-top: 1px solid #edf1ed; color: #617066; font-size: 13px; vertical-align: middle; }
.user-table tbody tr:hover { background: #fbfcfa; }
.account-name { color: #27392d; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.account-name + small { display: block; margin-top: 2px; color: #829087; font-size: 12px; }
.account-role { color: #65746a; font-size: 13px; }
.account-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.account-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ''; }
.account-status.active { color: #168047; }
.account-status.inactive { color: #9b5a50; }
.account-action { padding: 6px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.account-action.disable { border-color: #f0d8d5; color: #a24439; }
.account-action.disable:hover { background: #fff2f0; }
.account-action.enable { border-color: #cae7d2; color: #147340; }
.account-action.enable:hover { background: #edf8f0; }
.account-edit-btn { padding: 6px 12px; border: 1px solid #d0ddd0; border-radius: 4px; background: transparent; color: #3a5240; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.account-edit-btn:hover { background: #edf5ee; border-color: #a8cdb0; }
.row-options { position: relative; display: inline-block; }
.row-options-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #dce6dd; border-radius: 5px; background: white; color: #4a5e50; font-size: 18px; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s; }
.row-options-btn:hover { background: #edf5ee; border-color: #a8cdb0; }
.row-options-menu { display: none; position: absolute; right: 0; top: calc(100% + 5px); z-index: 50; min-width: 160px; padding: 5px; border: 1px solid #dce6dd; border-radius: 6px; background: white; box-shadow: 0 8px 28px rgba(21,54,32,.12); }
.row-options.open .row-options-menu { display: grid; }
.row-option-item { padding: 9px 12px; border: 0; border-radius: 4px; background: transparent; color: #2e4035; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; transition: background .12s; }
.row-option-item:hover { background: #edf5ee; }
.row-option-status { color: #a24439; }
.row-option-status:hover { background: #fff2f0; }
.edit-account-dialog { width: min(420px, 92vw); padding: 0; border: none; border-radius: 10px; box-shadow: 0 24px 80px rgba(22,35,27,.2); overflow: hidden; }
.edit-account-dialog::backdrop { background: rgba(22,35,27,.45); backdrop-filter: blur(3px); }
.edit-dialog-inner { padding: 26px 26px 24px; display: grid; gap: 0; }
.edit-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.edit-dialog-header .admin-kicker { margin-bottom: 5px; }
.edit-dialog-header h2 { margin: 0; color: #25362a; font: 700 20px/1.2 var(--display); letter-spacing: -.6px; }
.edit-dialog-username { margin: 5px 0 0; color: #68776d; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.edit-dialog-form { display: grid; gap: 13px; }
.edit-dialog-btn { min-height: 40px; border-radius: 5px; font-size: 13px; }
.edit-dialog-divider { height: 1px; margin: 20px 0; background: #e7eee7; }
.edit-dialog-status-label { margin: 0 0 4px; color: #4a5e50; font-size: 13px; }
.edit-dialog-disable { background: #a24439; box-shadow: none; }
.edit-dialog-disable:hover { background: #8a3530; transform: none; }
.edit-dialog-enable { background: var(--green); }
.edit-dialog-enable:hover { background: var(--green-dark); }
.current-account { color: #89958c; font-size: 12px; font-weight: 600; }
.settings-status-body .applicant-portal-summary { margin-top: 0; }
.application-form[data-editing-locked="true"] input:not([type="hidden"]),
.application-form[data-editing-locked="true"] select,
.application-form[data-editing-locked="true"] textarea { background: #f2f5f2; color: var(--muted); cursor: not-allowed; }
.application-form[data-editing-locked="true"] .file-drop { cursor: not-allowed; opacity: .7; }
.user-feedback { margin-top: 18px; padding: 12px 15px; border: 1px solid; border-radius: 5px; font-size: 13px; line-height: 1.5; }
.user-feedback.success { border-color: #c6e5ce; background: #e9f7ec; color: #27713e; }
.user-feedback.info { border-color: #d4e4ef; background: #eff7fb; color: #376680; }
.user-feedback.error { border-color: #f0d0cb; background: #fff2f0; color: #a43e36; }
.users-empty { min-height: 230px; padding: 35px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.users-empty > span { color: var(--green); font-size: 30px; }
.users-empty h3 { margin: 10px 0 5px; color: #304237; font: 700 17px var(--display); }
.users-empty p { margin: 0; color: #839087; font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.admin-page-intro { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.admin-kicker { margin: 0 0 12px; color: #728076; font: 600 12px/1.4 var(--mono); letter-spacing: 1.3px; }
.admin-page-intro h1, .detail-heading h1 { margin: 0; font: 700 clamp(38px,5vw,57px)/1.05 var(--display); letter-spacing: -2.8px; }
.admin-page-intro h1 span { color: var(--green); }
.admin-lede { max-width: 475px; margin: 13px 0 0; color: #68776d; font-size: 15px; line-height: 1.65; }
.admin-page-intro > .admin-public-link { flex: 0 0 auto; padding-bottom: 7px; border-bottom: 1px solid #b6cab9; }
.admin-stats { margin-top: 37px; display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.admin-stat { min-height: 130px; padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #dce8de; border-top: 3px solid var(--green); border-radius: 7px; background: white; }
.admin-stat-label { color: #7b8a7e; font: 600 11px var(--mono); letter-spacing: 1px; }
.admin-stat strong { margin-top: 10px; color: #15261a; font: 700 34px/1 var(--display); letter-spacing: -1.5px; }
.admin-stat-note { margin-top: 8px; color: #87938a; font-size: 13px; }
.dashboard-analytics { margin-top: 16px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(220px,.8fr); gap: 12px; }
.analytics-card, .dashboard-actions { min-width: 0; padding: 20px; border: 1px solid #dce8de; border-radius: 7px; background: #fff; }
.analytics-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.analytics-heading .admin-kicker, .dashboard-actions .admin-kicker { margin-bottom: 6px; }
.analytics-heading h2, .dashboard-actions h2 { margin: 0; color: #25362a; font: 700 19px var(--display); letter-spacing: -.4px; }
.analytics-heading > a { color: var(--green-dark); font-size: 14px; font-weight: 700; white-space: nowrap; }
.analytics-heading > a span { margin-left: 3px; }
.velocity-chart { height: 137px; margin-top: 13px; padding: 8px 0 0; display: grid; grid-template-columns: repeat(14,minmax(0,1fr)); align-items: end; gap: 6px; border-bottom: 1px solid #e8eee8; background: repeating-linear-gradient(to bottom,transparent 0,transparent 33px,#f0f4f0 34px); }
.velocity-day { height: 100%; min-width: 0; display: grid; grid-template-rows: 14px 1fr 17px; justify-items: center; align-items: end; }
.velocity-count { color: #6d7d71; font: 10px var(--mono); }
.velocity-bar { width: min(16px,75%); min-height: 4px; align-self: end; border-radius: 3px 3px 0 0; background: #75be72; }
.velocity-day:nth-child(3n) .velocity-bar { background: var(--green); }
.velocity-label { align-self: end; color: #87948a; font: 10px var(--mono); }
.chart-empty { margin: -85px 0 60px; color: #8a968d; text-align: center; font-size: 14px; pointer-events: none; }
.category-list { margin-top: 17px; display: grid; gap: 13px; }
.category-label { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #66756b; font-size: 14px; }
.category-label strong { color: #304237; font-size: 14px; }
.category-track { height: 5px; overflow: hidden; border-radius: 8px; background: #edf2ed; }
.category-track span { height: 100%; min-width: 0; display: block; border-radius: inherit; background: var(--green); }
.category-row:nth-child(2) .category-track span { background: var(--zra-gold); }
.category-row:nth-child(3) .category-track span { background: var(--zra-green); }
.category-row:nth-child(4) .category-track span { background: var(--magenta); }
.dashboard-actions { grid-column: 1/-1; padding: 18px 20px; background: #edf5ed; }
.dashboard-actions h2 { margin-bottom: 12px; }
.action-link { min-height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #dce8de; color: #435548; font-size: 13px; font-weight: 600; }
.action-link b { color: var(--green); font-size: 15px; font-weight: 400; }
.manual-notice { margin: 14px 0 0; padding: 10px 11px; border-left: 2px solid var(--zra-gold); background: #fdf4ea; color: #796b4a; font-size: 14px; line-height: 1.6; }
.dashboard-list-count { color: #87938a; font-size: 14px; }
.admin-list-section { margin-top: 37px; overflow: hidden; border: 1px solid #dce8de; border-radius: 7px; background: white; }
.admin-list-heading { min-height: 86px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-list-heading > div:first-child { position: relative; padding-right: 30px; }
.admin-list-heading .admin-kicker { margin-bottom: 7px; }
.admin-list-heading h2 { margin: 0; font: 700 22px var(--display); letter-spacing: -.8px; }
.application-count { position: absolute; top: 2px; right: 0; color: #8d998f; font: 500 13px var(--sans); }
.status-filter { display: flex; align-items: center; gap: 10px; color: #748078; font-size: 13px; }
.status-filter select, .admin-field select { min-height: 38px; padding: 0 32px 0 12px; border: 1px solid #dce6dd; border-radius: 4px; background: #fff; color: #35443a; font-size: 13px; }
.filter-button { padding: 8px 12px; border: 0; border-radius: 4px; background: var(--green); color: #fff; font-size: 13px; }
.application-filters, .audit-filters, .app-filter-bar { padding: 14px 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid #edf1ed; background: #fbfcfa; }
.application-filters, .audit-filters { border-top: 1px solid #edf1ed; }
.app-filter-bar .filter-search { min-width: 200px; flex: 1 1 200px; height: 36px; padding: 0 10px; border: 1px solid #c8d8cb; border-radius: 5px; background: white; color: #35443a; font-size: 13px; }
.app-filter-bar .filter-select { height: 36px; padding: 0 10px; border: 1px solid #c8d8cb; border-radius: 5px; background: white; color: #35443a; font-size: 13px; min-width: 130px; }
.filter-count { margin-left: auto; color: #829087; font-size: 12px; font-weight: 600; white-space: nowrap; }
.application-filters > label, .audit-filters > label { min-width: 105px; display: flex; flex-direction: column; gap: 5px; color: #758279; font-size: 13px; font-weight: 600; }
.application-filters .filter-search { min-width: 190px; flex: 1 1 190px; }
.application-filters input, .application-filters select, .audit-filters input { min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #dce6dd; border-radius: 4px; background: white; color: #35443a; font: 12px var(--sans); }
.application-filters .filter-button, .audit-filters .filter-button { min-height: 34px; }
.application-table-wrap { overflow-x: auto; }
.application-table { width: 100%; border-collapse: collapse; text-align: left; }
.application-table thead { background: #f5f8f4; }
.application-table th { padding: 12px 16px; color: #829087; font: 600 11px var(--mono); letter-spacing: .7px; white-space: nowrap; }
.application-table th:first-child, .application-table td:first-child { padding-left: 22px; }
.application-table td { padding: 15px 16px; border-top: 1px solid #edf1ed; color: #5f6d63; font-size: 13px; vertical-align: middle; }
.application-table tbody tr:hover { background: #fbfcfa; }
.application-title, .applicant-name { display: block; color: #25362a; font-size: 14px; font-weight: 700; }
.application-title:hover { color: var(--green); }
.application-reference, .applicant-email { display: block; margin-top: 4px; color: #89958c; font: 11px var(--mono); }
.applicant-email { font: 12px var(--sans); }
.status-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 0 9px; border-radius: 30px; background: #eef3ee; color: #58665b; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-badge.submitted { background: #fdeee1; color: #9a5712; }
.status-badge.under-review { background: #e8f1ff; color: #345e9c; }
.status-badge.accepted { background: #e2f5e9; color: #197440; }
.status-badge.rejected { background: #fbe9e9; color: #9a3b3b; }
.status-badge.successful { background: #def4ed; color: #126a59; }
.table-score { color: #3e5943; font-size: 13px; white-space: nowrap; }
.unscored { color: #9aa49c; font-size: 13px; white-space: nowrap; }
.table-action { height: 27px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 5px; background: #edf5ee; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.table-action:hover { background: #d6eddb; }
.empty-applications { min-height: 265px; padding: 45px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-applications > span { color: var(--green); font-size: 31px; }
.empty-applications h3 { margin: 12px 0 6px; font: 700 18px var(--display); }
.empty-applications p { margin: 0; color: #839087; font-size: 13px; }
.empty-applications a { margin-top: 14px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.admin-confidential { margin: 17px 0 0; color: #829087; font-size: 13px; }
.admin-confidential span { margin-right: 5px; color: var(--zra-gold-dark); font-size: 13px; }

.admin-detail-main { max-width: none; }
.back-to-list { display: inline-block; margin-bottom: 27px; color: #627167; font-size: 13px; font-weight: 600; }
.back-to-list span { margin-right: 6px; color: var(--green); }
.detail-heading { margin-bottom: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.detail-heading-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.detail-score-chip { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.detail-score-chip span { color: #8a968d; font: 600 10px var(--mono); letter-spacing: .8px; text-transform: uppercase; }
.detail-score-chip strong { color: var(--green-dark); font: 700 20px var(--display); letter-spacing: -.5px; }
.detail-download-actions { display: flex; gap: 8px; }
.button-sm { min-height: 32px; padding: 0 14px; font-size: 13px; background: #edf5ee; color: var(--green-dark); border-radius: 5px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: background .15s; }
.button-sm:hover { background: #d6eddb; }
.detail-heading .admin-kicker { margin-bottom: 11px; }
.detail-heading h1 { font-size: clamp(34px,4vw,47px); overflow-wrap: anywhere; }
.detail-subtitle { margin: 10px 0 0; color: #758279; font-size: 14px; }
.detail-subtitle strong { color: #334438; }
.detail-status { flex: 0 0 auto; }
.detail-full { display: grid; gap: 18px; }
.idea-sections { margin-top: 4px; display: grid; grid-template-columns: 1fr; gap: 0; }
.idea-sections > div { padding: 18px 0; border-top: 1px solid #e7eee7; }
.idea-sections > div:first-child { border-top: none; padding-top: 0; }
.detail-rate-bar { margin-top: 28px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #dce8de; border-radius: 10px; background: white; box-shadow: 0 2px 12px rgba(21,54,32,.04); }
.detail-rate-bar-left { display: flex; flex-direction: column; gap: 3px; }
.rate-bar-label { color: #8a968d; font: 600 10px var(--mono); letter-spacing: .8px; text-transform: uppercase; }
.detail-rate-bar-left strong { color: #1e3325; font-size: 14px; }
.detail-rate-btn { min-width: 200px; gap: 8px; }
.detail-rate-btn span { font-size: 15px; }
.review-dialog { width: min(780px, 95vw); max-height: 90vh; padding: 0; border: none; border-radius: 12px; box-shadow: 0 24px 80px rgba(22,35,27,.22); overflow: hidden; }
.review-dialog::backdrop { background: rgba(22,35,27,.5); backdrop-filter: blur(4px); }
.review-dialog-inner { overflow-y: auto; max-height: 90vh; padding: 30px 32px 28px; }
.review-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.review-dialog-header .admin-kicker { margin-bottom: 6px; }
.review-dialog-header h2 { margin: 0; color: #203125; font: 700 22px/1.2 var(--display); letter-spacing: -.6px; }
.review-dialog-close { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #dce6dd; border-radius: 50%; background: white; color: #4a5e50; font-size: 14px; cursor: pointer; transition: background .15s; }
.review-dialog-close:hover { background: #edf5ee; }
.review-dialog-actions { margin-top: 6px; display: flex; flex-direction: column; gap: 12px; }
.review-dialog-submit { border-radius: 6px; }
.detail-card, .review-panel { padding: 28px 30px; border: 1px solid #dce8de; border-radius: 10px; background: white; box-shadow: 0 2px 12px rgba(21,54,32,.04); }
.detail-card .admin-kicker, .review-panel .admin-kicker { margin-bottom: 8px; }
.detail-card h2, .review-panel h2 { margin: 0; color: #203125; font: 700 21px/1.3 var(--display); letter-spacing: -.6px; }
.idea-summary { margin: 16px 0 0; color: #304237; font-size: 15px; font-weight: 600; line-height: 1.75; }
.detail-divider { height: 1px; margin: 24px 0; background: #e7eee7; }
.detail-card h3 { margin: 18px 0 9px; font: 700 16px var(--display); letter-spacing: -.3px; }
.idea-details { margin: 0; color: #4a5e52; font-size: 15.5px; line-height: 1.85; white-space: pre-line; }
.detail-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.team-size { min-width: 58px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px; border-radius: 5px; background: #eef6ef; }
.team-size strong { color: var(--green-dark); font: 700 17px var(--display); }
.team-size span { color: #718077; font: 11px var(--mono); text-align: center; }
.contact-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.contact-grid div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.contact-grid div > span, .previous-review > span { color: #8a968d; font: 600 10px var(--mono); letter-spacing: .8px; text-transform: uppercase; }
.contact-grid strong, .contact-grid a { color: #1e3325; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.contact-grid a:hover { color: var(--green); }
.video-card { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.video-download { align-self: flex-start; padding: 10px 16px; border-radius: 5px; background: #edf5ee; color: var(--green-dark); font-size: 13px; font-weight: 700; transition: background .15s; }
.video-download:hover { background: #d6eddb; }
.video-download span { margin-left: 6px; }
.video-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.playback-speed { display: flex; align-items: center; gap: 7px; flex-shrink: 0; color: #68776d; font-size: 13px; font-weight: 600; }
.playback-speed select { min-height: 32px; padding: 0 8px; border: 1px solid #dce6dd; border-radius: 4px; background: #fff; color: #35443a; font-size: 13px; }
.pitch-video { width: 100%; border-radius: 6px; background: #000; max-height: 420px; }
.review-panel { position: sticky; top: 90px; min-width: 0; max-width: 100%; }
.review-panel h2 { font-size: 20px; }
.review-panel .admin-kicker { margin-bottom: 6px; }
.review-hint { margin: 10px 0 22px; color: #7a877e; font-size: 13px; line-height: 1.7; }
.review-panel form { display: grid; gap: 17px; }
.score-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.scoresheet-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.scoresheet-table thead th { padding: 8px 10px; background: var(--green-dark); color: rgba(255,255,255,.9); font: 600 11px var(--mono); letter-spacing: .5px; text-align: left; }
.scoresheet-table thead th:last-child { text-align: center; width: 80px; }
.scoresheet-table thead th:nth-child(2) { text-align: center; width: 60px; }
.scoresheet-category td { padding: 7px 10px; background: #eef5ee; color: #1e3325; font-size: 13px; font-weight: 700; }
.scoresheet-max { color: var(--green); font-weight: 400; font-size: 13px; margin-left: 4px; }
.scoresheet-criterion { padding: 8px 10px 8px 20px; color: #3d5244; }
.scoresheet-weight { text-align: center; color: #6b7d70; font: 600 12px var(--mono); }
.scoresheet-table td { border-bottom: 1px solid #e8ede8; vertical-align: middle; }
.scoresheet-table td:last-child { padding: 4px 8px; text-align: center; }
.score-input { width: 68px; padding: 5px 7px; border: 1px solid #d0ddd0; border-radius: 4px; background: #fff; color: var(--ink); font-size: 13px; text-align: center; outline: 0; }
.score-input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(0,133,66,.15); }
.scoresheet-total td { padding: 10px 10px; background: #f0f7f0; font-weight: 700; color: #1e3325; font-size: 14px; border-top: 2px solid var(--green); }
.scoresheet-total-val { text-align: center; color: var(--green-dark); font: 700 16px var(--display); }
.review-panel .manual-notice { margin-top: 15px; }
.admin-field { display: flex; flex-direction: column; gap: 7px; color: #37473c; font-size: 13px; font-weight: 600; }
.admin-field em { margin-left: 5px; color: #879389; font-size: 13px; font-style: normal; font-weight: 400; }
.admin-field input, .admin-field textarea { width: 100%; padding: 11px 12px; border: 1px solid #dce6dd; border-radius: 4px; background: #fff; color: #26372b; font-size: 13px; font-weight: 400; outline: 0; }
.admin-field textarea { min-height: 125px; resize: vertical; line-height: 1.6; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,133,66,.09); }
.admin-field textarea::placeholder { color: #a0aaa1; }
.admin-field-hint { margin-top: -3px; color: #909b92; font-size: 13px; font-weight: 400; }
.admin-field-error { color: #b43c3c; font-size: 13px; font-weight: 400; }
.admin-button { width: 100%; border-radius: 5px; }
.review-updated { margin: -10px 0 22px; padding: 13px 16px; border: 1px solid #c6e5ce; border-radius: 6px; background: #e9f7ec; color: #27713e; font-size: 14px; font-weight: 600; }
.previous-review { margin-top: 20px; padding-top: 15px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #e8eee8; }
.previous-review strong { color: #526157; font-size: 13px; }
.audit-card { margin-top: 34px; overflow: hidden; border: 1px solid #dce8de; border-radius: 7px; background: white; }
.audit-filters { border-top: 0; }
.audit-filters .filter-search { min-width: 240px; flex: 1 1 300px; }
.audit-table-wrap { overflow-x: auto; }
.audit-table { width: 100%; border-collapse: collapse; text-align: left; }
.audit-table thead { background: #f5f8f4; }
.audit-table th { padding: 13px 16px; color: #829087; font: 600 11px var(--mono); letter-spacing: .7px; white-space: nowrap; }
.audit-table th:first-child, .audit-table td:first-child { padding-left: 20px; }
.audit-table td { padding: 14px 16px; border-top: 1px solid #edf1ed; color: #5e6c62; font-size: 13px; vertical-align: middle; }
.audit-action { display: inline-block; padding: 5px 7px; border-radius: 3px; background: #eef3ee; color: #516057; font: 11px var(--mono); white-space: nowrap; }
.audit-action.status-updated, .audit-action.submission-created { background: #fdeee1; color: #9a5712; }
.audit-action.scores-saved { background: #e8f1ff; color: #345e9c; }
.audit-action.login-success { background: #e2f5e9; color: #197440; }
.audit-action.logout-success { background: #e2f5e9; color: #197440; }
.audit-action.notes-updated { background: #f5eafa; color: #72458a; }
.audit-description { max-width: 430px; margin-top: 6px; display: block; color: #77847a; font-size: 13px; line-height: 1.5; }
.audit-reference { color: var(--green-dark); font: 11px var(--mono); }
.audit-empty { min-height: 230px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.audit-empty > span { color: var(--green); font-size: 30px; }
.audit-empty h2 { margin: 11px 0 5px; color: #304237; font: 700 17px var(--display); }
.audit-empty p { margin: 0; color: #839087; font-size: 13px; }

.admin-login-page { display: flex; flex-direction: column; }
.login-main { width: min(430px,88%); margin: auto; padding: 60px 0 85px; }
.login-mark { width: 58px; height: 58px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #e3f3cd, #fdf3dc); color: var(--green-dark); font-size: 30px; }
.login-main .admin-kicker { color: var(--green-dark); }
.login-main h1 { margin: 15px 0; font: 700 clamp(48px,7vw,66px)/.98 var(--display); letter-spacing: -4px; }
.login-main h1 span { color: var(--green); }
.login-intro { max-width: 340px; margin-bottom: 26px; color: #718077; font-size: 14px; line-height: 1.7; }
.login-form { padding: 23px; display: grid; gap: 17px; border: 1px solid #dce8de; border-radius: 6px; background: #fff; }
.login-form .admin-field input { min-height: 42px; }
.login-alert { padding: 10px 12px; border-radius: 4px; background: #fff0ef; color: var(--red); font-size: 13px; line-height: 1.5; }
.login-success { background: #e9f7ec; color: #27713e; }
.login-footnote { margin: 17px 0 0; color: #8a958c; font-size: 14px; line-height: 1.6; }
.login-footnote a { color: var(--green-dark); font-weight: 700; }
.login-actions { margin: 14px 0 0; text-align: center; }
.admin-link { color: var(--green-dark); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.login-form .admin-field-error { color: var(--red); font-size: 12px; }
.login-form .admin-field-hint { color: #87938a; font-size: 12px; }
.input-reveal { position: relative; }
.input-reveal input { padding-right: 40px !important; width: 100%; box-sizing: border-box; }
.reveal-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 4px; cursor: pointer; color: #8a958c; line-height: 1; display: flex; align-items: center; }
.reveal-btn:hover { color: var(--green); }
.reveal-btn svg { display: block; }
.field .input-reveal input { padding-right: 40px !important; }

.applicant-page { min-height: 100vh; background: var(--paper); }
.applicant-page .header-nav form { margin: 0; }
.applicant-logout { cursor: pointer; }
.applicant-main { width: min(1120px,88%); margin: 0 auto; padding: 55px 0 90px; }
.applicant-welcome { display: grid; grid-template-columns: 1fr minmax(280px,.72fr); align-items: center; gap: 34px; }
.applicant-welcome h1 { margin: 12px 0 10px; color: #203125; font: 700 clamp(38px,5vw,56px)/1.05 var(--display); letter-spacing: -2.5px; }
.applicant-welcome h1 span { color: var(--green); }
.applicant-lede { color: #718077; font-size: 15px; line-height: 1.7; }
.applicant-window-card { min-height: 176px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; border-radius: 9px; background: var(--green-dark); color: #fff; box-shadow: 0 12px 28px rgba(1,52,23,.12); }
.window-card-label, .portal-summary-label { color: #a9d7af; font: 600 10px var(--mono); letter-spacing: 1px; }
.window-countdown { margin-top: 10px; color: #fff; font: 700 clamp(26px,3vw,36px)/1.1 var(--display); letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.window-deadline { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }
.window-status { margin-top: 7px; color: rgba(255,255,255,.68); font-size: 12px; }

.applicant-portal-summary { margin-top: 32px; padding: 16px 20px; display: flex; align-items: center; gap: 15px; border: 1px solid #dce8de; border-radius: 7px; background: #fff; }
.applicant-portal-summary > div { display: flex; align-items: center; gap: 12px; }
.portal-summary-label { color: #77877c; }
.applicant-portal-summary strong { min-width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: #edf5ee; color: var(--green-dark); font-size: 13px; }
.applicant-portal-summary p { margin: 0 0 0 auto; color: #7b897f; font-size: 13px; }
.applicant-table-wrap, .applicant-empty { margin-top: 18px; overflow: hidden; border: 1px solid #dce8de; border-radius: 7px; background: #fff; box-shadow: 0 5px 20px rgba(24,55,32,.035); }
.applicant-table { width: 100%; border-collapse: collapse; text-align: left; }
.applicant-table th { padding: 15px 20px; background: #f4f8f3; color: #829087; font: 600 10px var(--mono); letter-spacing: .8px; }
.applicant-table td { padding: 17px 18px; border-top: 1px solid #edf1ed; color: #5f6d63; font-size: 13px; }
.applicant-table tbody tr:hover { background: #fbfdfb; }
.applicant-table td strong, .applicant-table td small { display: block; }
.applicant-table td strong { color: #25362a; font-size: 14px; }
.applicant-table td small { margin-top: 4px; color: #89958c; font: 11px var(--mono); }
.applicant-actions { display: flex; gap: 14px; }
.applicant-actions a { padding: 7px 11px; border: 1px solid #dce8de; border-radius: 4px; color: var(--green-dark); font-weight: 700; }
.applicant-actions a:hover { background: #eff7ef; }
.applicant-empty { padding: 48px 30px; text-align: center; }
.empty-applicant-icon { width: 44px; height: 44px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; background: #edf5ee; color: var(--green); font-size: 24px; }
.applicant-empty h2 { color: #25362a; font: 700 22px var(--display); }
.applicant-empty p { color: #718077; }

/* ── Applicant portal sidebar layout ────────────────────────────────────── */
.portal-shell { min-height: 100vh; display: flex; flex-direction: column; background: #f0f4f1; }
.portal-shell .site-header { flex-shrink: 0; }
.portal-body { flex: 1; display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: 0; }
.portal-body.no-sidebar { grid-template-columns: 1fr; }
.portal-body.no-sidebar .portal-content { max-width: 1100px; margin: 0 auto; width: 100%; }
.portal-sidebar { background: #1F2937; display: flex; flex-direction: column; padding: 28px 0 24px; position: sticky; top: 78px; height: calc(100vh - 78px); overflow-y: auto; }
.portal-sidebar-brand { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-sidebar-brand p { margin: 8px 0 0; color: rgba(169,221,0,.7); font: 600 10px var(--mono); letter-spacing: 1.2px; }
.portal-sidebar-user { padding: 18px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-user-avatar { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--lime)); color: var(--green-dark); font: 700 14px var(--display); }
.portal-user-info { min-width: 0; }
.portal-user-name { display: block; color: #fff; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-user-role { display: block; margin-top: 2px; color: rgba(255,255,255,.45); font: 11px var(--mono); letter-spacing: .5px; }
.portal-nav { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.portal-nav-label { padding: 0 8px; margin: 12px 0 6px; color: rgba(169,221,0,.5); font: 600 10px var(--mono); letter-spacing: 1.3px; }
.portal-nav-label:first-child { margin-top: 0; }
.portal-nav a { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border-radius: 6px; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.portal-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.portal-nav a.active { background: rgba(169,221,0,.14); color: var(--lime); }
.portal-nav-icon { width: 18px; text-align: center; font-size: 15px; flex-shrink: 0; }
.portal-nav a.active .portal-nav-icon { color: var(--lime); }
.portal-sidebar-footer { padding: 16px 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.portal-sidebar-footer form { margin: 0; }
.portal-sidebar-footer button { width: 100%; min-height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background: transparent; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.portal-sidebar-footer button:hover { background: rgba(255,255,255,.08); color: #fff; }
.portal-content { padding: 40px 44px 64px; overflow-y: auto; }
.portal-page-header { margin-bottom: 32px; }
.portal-page-header .portal-kicker { margin: 0 0 8px; color: #6b7280; font: 600 11px var(--mono); letter-spacing: 1.3px; }
.portal-page-header h1 { margin: 0 0 6px; color: #1a2e22; font: 700 clamp(28px,3vw,38px)/1.1 var(--display); letter-spacing: -1.5px; }
.portal-page-header p { margin: 0; color: #718077; font-size: 14px; line-height: 1.65; }
.portal-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.portal-stat-card { padding: 20px 22px; border: 1px solid #dce8de; border-top: 3px solid var(--green); border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(21,54,32,.04); }
.portal-stat-card:nth-child(2) { border-top-color: var(--zra-gold); }
.portal-stat-card:nth-child(3) { border-top-color: #345e9c; }
.portal-stat-label { color: #7b8a7e; font: 600 10px var(--mono); letter-spacing: 1px; }
.portal-stat-value { margin-top: 8px; color: #1a2e22; font: 700 32px/1 var(--display); letter-spacing: -1.5px; }
.portal-stat-note { margin-top: 6px; color: #8a968d; font-size: 12px; }
.portal-card { border: 1px solid #dce8de; border-radius: 10px; background: #fff; box-shadow: 0 2px 12px rgba(21,54,32,.04); overflow: hidden; }
.portal-card-header { padding: 20px 24px 18px; border-bottom: 1px solid #edf1ed; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-card-header h2 { margin: 0; color: #1a2e22; font: 700 17px var(--display); letter-spacing: -.4px; }
.portal-card-header .portal-kicker { margin: 0 0 4px; color: #7b8a7e; font: 600 10px var(--mono); letter-spacing: 1px; }
.portal-card-body { padding: 22px 24px; }
.portal-deadline-card { background: var(--green-dark); border-color: transparent; }
.portal-deadline-card .portal-kicker { color: #345e9c; }
.portal-deadline-card h2 { color: #000; }
.portal-deadline-card .window-countdown { margin-top: 10px; color: #000; font: 700 clamp(28px,3vw,40px)/1 var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.portal-deadline-card .window-deadline { margin-top: 8px; color: #000; font-size: 13px; font-weight: 600; }
.portal-deadline-card .window-status { margin-top: 6px; color: #000; font-size: 12px; }
.portal-two-col { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 18px; margin-bottom: 28px; }
.portal-app-status-card { padding: 22px 24px; border: 1px solid #dce8de; border-radius: 10px; background: #fff; box-shadow: 0 2px 12px rgba(21,54,32,.04); }
.portal-app-status-card .portal-kicker { margin: 0 0 6px; color: #7b8a7e; font: 600 10px var(--mono); letter-spacing: 1px; }
.portal-app-status-card h2 { margin: 0 0 4px; color: #1a2e22; font: 700 18px var(--display); letter-spacing: -.5px; }
.portal-app-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 18px; }
.portal-app-meta span { color: #718077; font-size: 13px; }
.portal-app-meta strong { color: #1a2e22; font-size: 13px; font-weight: 700; }
.portal-app-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-app-actions .button { min-height: 40px; font-size: 13px; border-radius: 6px; }
.portal-app-actions .button-secondary { background: #fff; color: var(--green-dark); border: 1px solid var(--green); box-shadow: none; }
.portal-app-actions .button-secondary:hover { background: #edf5ee; transform: none; }
.portal-quick-links { display: grid; gap: 2px; }
.portal-quick-link { min-height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 6px; color: #354239; font-size: 13px; font-weight: 600; transition: background .15s; }
.portal-quick-link:hover { background: #f0f7f1; color: var(--green-dark); }
.portal-quick-link-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: #edf5ee; color: var(--green); font-size: 14px; flex-shrink: 0; }
.portal-quick-link-arrow { color: #a0b0a5; font-size: 14px; }
.portal-section-title { margin: 0 0 16px; color: #1a2e22; font: 700 16px var(--display); letter-spacing: -.3px; }
.portal-app-table-wrap { overflow-x: auto; }
.portal-app-table { width: 100%; border-collapse: collapse; text-align: left; }
.portal-app-table th { padding: 12px 18px; background: #f5f8f4; color: #829087; font: 600 10px var(--mono); letter-spacing: .8px; border-bottom: 1px solid #edf1ed; }
.portal-app-table td { padding: 16px 18px; border-top: 1px solid #edf1ed; color: #5f6d63; font-size: 13px; vertical-align: middle; }
.portal-app-table tbody tr:hover { background: #fbfdfb; }
.portal-app-table td strong { display: block; color: #25362a; font-size: 14px; }
.portal-app-table td small { display: block; margin-top: 3px; color: #89958c; font: 11px var(--mono); }
.portal-app-table .applicant-actions a { padding: 7px 12px; border: 1px solid #dce8de; border-radius: 5px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.portal-app-table .applicant-actions a:hover { background: #edf5ee; }
.portal-empty-state { padding: 56px 30px; text-align: center; }
.portal-empty-icon { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #edf5ee; color: var(--green); font-size: 26px; }
.portal-empty-state h3 { margin: 0 0 8px; color: #25362a; font: 700 20px var(--display); }
.portal-empty-state p { margin: 0 0 20px; color: #718077; font-size: 14px; }
.portal-notice { padding: 12px 16px; border-left: 3px solid var(--zra-gold); border-radius: 0 6px 6px 0; background: #fdf4ea; color: #796b4a; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }

@media (max-width: 900px) {
    .portal-body { grid-template-columns: 200px minmax(0,1fr); }
    .portal-content { padding: 28px 24px 48px; }
}
.sidebar-toggle { display: none; }
.sidebar-overlay { display: none; }
@media (max-width: 650px) {
    .portal-body { grid-template-columns: 1fr; }
    .portal-sidebar {
        position: fixed; top: 0; left: 0; z-index: 200;
        width: 260px; height: 100vh;
        transform: translateX(-100%);
        transition: transform .25s ease;
        padding: 28px 0 24px;
        flex-direction: column;
    }
    .portal-sidebar.open { transform: translateX(0); }
    .sidebar-overlay {
        display: block; position: fixed; inset: 0; z-index: 199;
        background: rgba(0,0,0,.45); opacity: 0; pointer-events: none;
        transition: opacity .25s ease;
    }
    .sidebar-overlay.open { opacity: 1; pointer-events: auto; }
    .sidebar-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 38px; height: 38px; border: none; border-radius: 6px;
        background: rgba(255,255,255,.1); color: #fff; font-size: 20px;
        cursor: pointer; flex-shrink: 0;
    }
    .portal-content { padding: 22px 16px 48px; }
    .portal-stat-grid { grid-template-columns: 1fr 1fr; }
    .portal-two-col { grid-template-columns: 1fr; }
}
.confirmation-account-link { margin-left: 16px; }
.coming-soon-main > h1 { margin: 0; color: #203125; font: 700 clamp(37px,5vw,53px)/1.05 var(--display); letter-spacing: -2.5px; }
.coming-soon-card { max-width: 660px; margin-top: 34px; padding: 39px; border: 1px solid #dce8de; border-radius: 7px; background: #fff; }
.coming-soon-card > span { color: var(--green); font-size: 36px; }
.coming-soon-card .admin-kicker { margin-top: 18px; color: var(--green-dark); }
.coming-soon-card h2 { max-width: 480px; margin: 0; color: #24352a; font: 700 25px/1.3 var(--display); letter-spacing: -.8px; }
.coming-soon-card > p:not(.admin-kicker) { margin: 12px 0 21px; color: #77847a; font-size: 13px; line-height: 1.7; }
.coming-soon-card .button { min-height: 42px; border-radius: 5px; font-size: 13px; }

/* ── Leaderboard ─────────────────────────────────────────────────────────── */
.leaderboard-wrap { overflow-x: auto; margin-top: 28px; }
.users-table-card { margin-top: 24px; border: 1px solid #dce8de; border-radius: 8px; background: white; overflow: hidden; box-shadow: 0 8px 28px rgba(21,54,32,.035); }
.users-table-card .leaderboard-wrap { margin-top: 0; }
.users-table-card .app-filter-bar { border-radius: 0; border-top: none; }
.leaderboard-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.leaderboard-table thead th { padding: 10px 14px; background: var(--green-dark); color: rgba(255,255,255,.88); font: 600 11px var(--mono); letter-spacing: .5px; text-align: left; line-height: 1.4; }
.leaderboard-table thead th.lb-score-col, .leaderboard-table thead th.lb-total-col { text-align: center; }
.lb-max { color: rgba(255,255,255,.5); font-size: 13px; font-weight: 400; }
.leaderboard-table tbody tr { border-bottom: 1px solid #e8ede8; transition: background .15s; }
.leaderboard-table tbody tr:hover { background: #f5faf5; }
.lb-gold { background: #fffbea !important; }
.lb-silver { background: #f7f8fa !important; }
.lb-bronze { background: #fff6f0 !important; }
.leaderboard-table td { padding: 13px 14px; color: #3a4e3f; vertical-align: middle; }
.lb-rank { width: 52px; text-align: center; }
.lb-medal { font-size: 22px; line-height: 1; }
.lb-pos { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #eef3ee; color: #516057; font: 700 13px var(--mono); }
.lb-idea-title { display: block; color: #1e3325; font-size: 14px; font-weight: 700; }
.lb-idea-title:hover { color: var(--green); }
.lb-ref { display: block; margin-top: 3px; color: #8a968d; font: 11px var(--mono); }
.lb-name { display: block; font-size: 13px; font-weight: 600; color: #2e4035; }
.lb-org { display: block; margin-top: 2px; color: #7a8a7e; font-size: 13px; }
.lb-score-col { text-align: center; color: #3e5244; font: 600 13px var(--mono); }
.lb-total-col { text-align: center; min-width: 90px; }
.lb-total-col strong { display: block; color: var(--green-dark); font: 700 18px var(--display); letter-spacing: -.5px; }
.lb-bar-wrap { margin-top: 5px; height: 4px; border-radius: 2px; background: #ddeedd; overflow: hidden; }
.lb-bar { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .4s; }
.lb-gold .lb-total-col strong { color: var(--zra-gold-dark); }
.lb-silver .lb-total-col strong { color: #607080; }
.lb-bronze .lb-total-col strong { color: var(--copper-dark); }
.lb-partial { opacity: .85; }
.lb-complete-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 10px; background: #e6f4ea; color: #2e7d32; font: 600 11px var(--mono); vertical-align: middle; }
.scoring-table td { white-space: normal; }
.scoring-progress-cell { min-width: 120px; }
.scoring-progress-bar-wrap { height: 6px; border-radius: 3px; background: #ddeedd; overflow: hidden; }
.scoring-progress-bar { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .4s; }
.scoring-progress-bar.scoring-bar-complete { background: var(--green-dark); }
.scoring-count { font: 700 13px var(--mono); color: #516057; }
.scoring-count.scoring-count-complete { color: var(--green-dark); }
.scoring-judge-list { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; }
.scoring-judge-chip { padding: 2px 8px; border-radius: 10px; font: 600 11px var(--mono); }
.chip-scored { background: #e6f4ea; color: #2e7d32; }
.chip-pending { background: #f3f4f6; color: #9aa3a0; }
.scoring-pending { color: #b0b8b3; font-size: 13px; }
.scoring-complete td { background: #f5fdf6 !important; }
.scoring-partial td { background: #fafffe !important; }
.leaderboard-empty { margin-top: 60px; text-align: center; color: #839087; }
.leaderboard-empty span { font-size: 48px; }
.leaderboard-empty h2 { margin: 16px 0 8px; color: #304237; font: 700 22px var(--display); }
.leaderboard-empty p { font-size: 14px; }
.lb-refresh-note { margin-top: 18px; color: #8a968d; font-size: 14px; }

/* Image placeholders stay behind the image and fade out once it is ready. */
.image-frame { background: linear-gradient(110deg, #e1e8e3 8%, #f2f5f3 18%, #e1e8e3 33%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s linear infinite; }
.image-frame img { transition: opacity .3s ease; }
.image-frame.is-loading img { opacity: 0; }
.image-frame.is-loaded { background: transparent; animation: none; }
.image-frame.is-loaded img { opacity: 1; }

/* Reused on slow internal navigations; hidden instantly on fast ones. */
.page-skeleton { position: fixed; inset: 0; z-index: 1000; overflow: auto; background: var(--paper); }
.page-skeleton[hidden] { display: none; }
.page-skeleton-header { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; background: var(--green-dark); }
.page-skeleton-body { width: min(1100px, 86%); margin: 0 auto; padding: 80px 0; }
.skeleton-block { display: block; border-radius: 6px; background: linear-gradient(110deg, #e1e8e3 8%, #f2f5f3 18%, #e1e8e3 33%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s linear infinite; }
.page-skeleton-header .skeleton-block { background: linear-gradient(110deg, rgba(255,255,255,.08) 8%, rgba(255,255,255,.18) 18%, rgba(255,255,255,.08) 33%); background-size: 200% 100%; }
.skeleton-brand { width: 155px; height: 48px; border-radius: 24px; }
.skeleton-nav { width: 260px; height: 36px; }
.skeleton-kicker { width: 150px; height: 12px; }
.skeleton-title { width: min(620px, 85%); height: 64px; margin-top: 24px; }
.skeleton-title-short { width: min(440px, 65%); margin-top: 10px; }
.skeleton-copy { width: min(520px, 90%); height: 16px; margin-top: 28px; }
.skeleton-copy-short { width: min(400px, 70%); margin-top: 10px; }
.page-skeleton-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skeleton-card { height: 220px; border-radius: 16px; }

/* Global processing indicator for background operations (fetch/XHR). */
.processing-overlay { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(1,52,23,.45); backdrop-filter: blur(2px); }
.processing-overlay[hidden] { display: none; }
.processing-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 34px; border-radius: 12px; background: #ffffff; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.processing-spinner { width: 44px; height: 44px; border: 4px solid #e1e8e3; border-top-color: var(--green); border-radius: 50%; animation: processing-spin .8s linear infinite; }
.processing-text { color: var(--green-dark); font: 700 15px var(--display); }
@keyframes processing-spin { to { transform: rotate(360deg); } }

@keyframes skeleton-shimmer { to { background-position-x: -200%; } }
@keyframes rotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(184,219,74,.25); } 50% { box-shadow: 0 0 0 7px rgba(184,219,74,.08); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bannerTagline { from { opacity: 0; letter-spacing: 6px; } to { opacity: .75; letter-spacing: 1.5px; } }
.hero-copy { animation: fadeUp .7s ease both; }
.hero-image { animation: fadeUp .7s .15s ease both; }

@media (max-width: 900px) {
    .site-header { padding: 0 5%; }
    .challenge-banner { padding: 24px 6% 18px; }
    .challenge-banner-title { font-size: clamp(15px, 3.8vw, 34px); }
    .challenge-banner-sub { font-size: clamp(13px, 2vw, 20px); letter-spacing: 1.5px; }
    .challenge-banner-tagline { font-size: clamp(11px, 1.4vw, 16px); }
    .hero { padding-left: 7%; padding-right: 7%; grid-template-columns: 1fr; }
    .hero-image { height: 320px; }
    .hero-h2 { letter-spacing: -2px; }
    .section-pad { padding-left: 7%; padding-right: 7%; }
    .stats-bar { padding: 28px 0; }
    .photo-strip { height: 170px; }
    .principles { grid-template-columns: repeat(2,1fr); }
    .focus-grid { grid-template-columns: repeat(2,1fr); }
    .focus-card { min-height: 240px; }
    .application-form { padding: 29px 25px; }
    .users-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .challenge-banner { padding: 20px 5% 16px; }
    .challenge-banner-title { font-size: clamp(22px, 6.2vw, 34px); letter-spacing: -1px; line-height: 1.15; }
    .challenge-banner-sub { font-size: clamp(11px, 3.2vw, 16px); letter-spacing: 1px; }
    .challenge-banner-tagline { font-size: clamp(10px, 2.6vw, 13px); }
    .mobile-break { display: block; }
    .site-header { height: 64px; }
    .page-skeleton-header { height: 64px; padding: 0 7%; }
    .page-skeleton-body { padding-top: 55px; }
    .skeleton-brand { width: 130px; height: 38px; }
    .skeleton-nav { width: 105px; height: 32px; }
    .skeleton-title { height: 44px; }
    .page-skeleton-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .skeleton-card { height: 140px; }
    .brand-lockup { gap: 8px; }
    .brand-logo-zamtel { height: 80px; width: auto; }
    .brand-logo-zra { width: 106px; height: 62px; }

    .brand-compact .brand-logo-zamtel { height: 68px; width: auto; }
    .brand-compact .brand-logo-zra { width: 88px; height: 52px; }
    .header-nav { gap: 0; }
    .header-nav > a:not(.button) { display: none; }
    .header-nav > .header-login-link { display: inline; }
    .hero { min-height: auto; padding: 24px 5% 32px; }
    .hero-image { height: 200px; }
    .challenge-banner { padding: 28px 5% 20px; }
    .challenge-banner-title { font-size: clamp(28px, 8.5vw, 44px); letter-spacing: -1px; line-height: 1.08; }
    .hero-h2 { font-size: clamp(26px, 8vw, 42px); letter-spacing: -1px; }
    .hero-intro { font-size: 14px; line-height: 1.7; }
    .eyebrow { font-size: 12px; }
    .stats-bar { padding: 20px 0; }
    .ferris-card { width: 160px; padding: 18px 14px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .photo-strip { grid-template-columns: 1fr 1fr; height: auto; }
    .photo-strip img { height: auto; aspect-ratio: 4 / 3; }
    .section-pad { padding-left: 5%; padding-right: 5%; }
    .intro-section, .focus-section { padding-top: 50px; padding-bottom: 50px; }
    .intro-content { margin-top: 20px; grid-template-columns: 1fr; gap: 16px; }
    .intro-content h2, .focus-heading h2 { font-size: clamp(24px, 7vw, 36px); letter-spacing: -.5px; line-height: 1.2; }
    .intro-copy { font-size: 14px; line-height: 1.75; }
    .intro-cta-line { font-size: 15px; }
    .focus-heading-sub { font-size: 14px; max-width: none; }
    .section-index { font-size: 11px; }
    .principles { margin-top: 28px; grid-template-columns: 1fr; gap: 10px; }
    .principles article { padding: 16px; }
    .principles h3 { font-size: 15px; }
    .principles p { font-size: 13px; max-width: none; }
    .focus-heading > p { margin-top: 12px; font-size: 14px; }
    .focus-grid { margin-top: 20px; gap: 10px; grid-template-columns: 1fr; }
    .focus-card { min-height: 200px; padding: 16px 14px; }
    .focus-card h3 { margin-top: 36px; font-size: 17px; }
    .focus-card p { font-size: 13px; }
    .cta-band { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 50px; padding-bottom: 50px; }
    .cta-band h2 { font-size: clamp(22px, 7vw, 34px); letter-spacing: -.5px; }
    .cta-band-right { align-items: flex-start; }
    .cta-band-right p { text-align: left; font-size: 14px; }
    .modal-inner { padding: 24px 17px; }
    .form-grid { grid-template-columns: 1fr; gap: 15px; }
    .field-wide { grid-column: auto; }
    .modal-header h3 { font-size: 20px; }
    .site-footer { padding: 20px 7%; flex-wrap: wrap; gap: 15px; }
    .footer-deadline { order: -1; }
    .footer-deadline-note { margin-left: 0; }
    .site-footer > p { order: 3; width: 100%; }
    .copyright { margin-left: auto; }
    .confirmation-main { padding-top: 45px; }
    .receipt { grid-template-columns: 1fr; }
    .footer-links { width: 100%; justify-content: space-between; }
    .admin-header { height: 64px; padding: 0 5%; position: sticky; top: 0; z-index: 200; }
    .admin-header-actions { gap: 12px; }
    .admin-user { font-size: 12px; }
    .admin-layout { height: auto; min-height: 0; display: flex; flex-direction: column; overflow: visible; }
    .admin-sidebar { height: auto; overflow-y: visible; padding: 10px 5%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .sidebar-label, .sidebar-footer { display: none; }
    .sidebar-nav { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
    .sidebar-nav > a, .sidebar-group > summary { min-height: 38px; padding: 0 10px; flex: 0 0 auto; gap: 6px; font-size: 12px; }
    .sidebar-group { position: relative; flex: 0 0 auto; }
    .sidebar-subnav { position: absolute; z-index: 30; margin: 0; padding: 7px; min-width: 180px; border: 1px solid #dce8de; border-radius: 5px; background: white; box-shadow: 0 10px 28px rgba(25,50,30,.12); }
    .sidebar-icon { width: auto; font-size: 14px; }
    .sidebar-soon { font-size: 11px; }
    .sidebar-toggle { display: none; }
    .admin-main, .admin-detail-main { width: 100%; padding: 28px 20px 40px; height: auto; overflow-y: visible; max-width: none; }
    .users-layout { margin-top: 22px; gap: 12px; }
    .user-panel-heading { padding: 18px 16px 15px; }
    .create-user-form { padding: 17px 16px 19px; }
    .users-total { display: inline-block; margin-top: 14px; }
    .admin-page-intro { display: block; }
    .admin-page-intro > .admin-public-link { display: inline-block; margin-top: 16px; }
    .admin-page-intro h1 { font-size: 39px; letter-spacing: -2px; }
    .admin-lede { font-size: 14px; }
    .admin-stats { margin-top: 25px; grid-template-columns: 1fr 1fr; gap: 8px; }
    .admin-stat { min-height: 112px; padding: 14px; }
    .admin-stat strong { font-size: 29px; }
    .admin-stat-label { font-size: 11px; }
    .admin-list-section { margin-top: 25px; }
    .dashboard-analytics { grid-template-columns: 1fr; }
    .dashboard-actions { grid-column: auto; }
    .analytics-card { padding: 16px; }
    .velocity-chart { gap: 3px; }
    .velocity-label { font-size: 10px; }
    .admin-list-heading { padding: 16px; align-items: flex-start; flex-direction: column; }
    .admin-list-heading > div:first-child { padding-right: 30px; }
    .application-filters, .audit-filters { align-items: stretch; }
    .application-filters > label, .audit-filters > label, .application-filters .filter-search, .audit-filters .filter-search { min-width: calc(50% - 6px); flex: 1 1 calc(50% - 6px); }
    .application-table thead { display: none; }
    .application-table, .application-table tbody, .application-table tr, .application-table td { display: block; width: 100%; }
    .application-table tr { padding: 12px 16px; border-top: 1px solid #edf1ed; }
    .application-table td, .application-table td:first-child { padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; text-align: right; }
    .application-table td:first-child { display: block; text-align: left; }
    .application-table td::before { content: attr(data-label); color: #89958c; font: 8px var(--mono); text-transform: uppercase; }
    .application-table td:first-child::before { display: none; }
    .application-table td:last-child { display: none; }
    .applicant-main { width: 90%; padding: 38px 0 60px; }
    .applicant-welcome { grid-template-columns: 1fr; gap: 20px; }
    .applicant-window-card { min-height: 150px; padding: 19px; }
    .applicant-portal-summary { align-items: flex-start; flex-direction: column; gap: 8px; }
    .applicant-portal-summary p { margin: 0; }
    .applicant-table thead { display: none; }
    .applicant-table, .applicant-table tbody, .applicant-table tr, .applicant-table td { display: block; width: 100%; }
    .applicant-table tr { padding: 12px 16px; border-top: 1px solid #edf1ed; }
    .applicant-table td { padding: 7px 0; border: 0; }
    .applicant-table td:nth-child(2), .applicant-table td:nth-child(3) { display: inline-block; width: auto; margin-right: 12px; }
    .applicant-table td.applicant-actions { display: flex; }
    .user-table thead { display: none; }
    .user-table, .user-table tbody, .user-table tr, .user-table td { display: block; width: 100%; }
    .user-table tr { padding: 11px 15px; border-top: 1px solid #edf1ed; }
    .user-table td { min-height: 28px; padding: 5px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; text-align: right; }
    .user-table td::before { content: attr(data-label); color: #89958c; font: 8px var(--mono); text-transform: uppercase; }
    .user-table td:first-child { display: flex; }
    .user-table td:last-child { justify-content: flex-end; }
    .account-name { text-align: right; }
    .detail-heading { align-items: flex-start; flex-direction: column; }
    .detail-heading h1 { font-size: 34px; }
    .idea-sections { grid-template-columns: 1fr; }
    .detail-card, .review-panel { padding: 18px 16px; }
    .score-meta-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .video-card { align-items: flex-start; flex-direction: column; }
    .login-main { padding-top: 44px; }
    .coming-soon-main { padding-top: 34px; }
    .coming-soon-card { margin-top: 25px; padding: 25px 20px; }
    .coming-soon-card h2 { font-size: 21px; }
    .audit-table thead { display: none; }
    .audit-table, .audit-table tbody, .audit-table tr, .audit-table td { display: block; width: 100%; }
    .audit-table tr { padding: 12px 15px; border-top: 1px solid #edf1ed; }
    .audit-table td, .audit-table td:first-child { padding: 6px 0; display: flex; justify-content: space-between; gap: 12px; border: 0; text-align: right; }
    .audit-table td:first-child { display: block; text-align: left; }
    .audit-table td::before { content: attr(data-label); color: #89958c; font: 8px var(--mono); }
    .audit-table td:first-child::before { display: none; }
    .audit-description { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Role-based portal, registration and judging workflows */
[hidden] { display: none !important; }
.auth-main { min-height: calc(100vh - 90px); display: grid; place-items: center; padding: 48px 20px; background: #f4f7f6; }
.auth-card, .portal-card, .registration-section { width: 100%; background: #fff; border: 1px solid #dfe8e2; border-radius: 18px; padding: 30px; box-shadow: 0 12px 36px rgba(1,52,23,.06); }
.auth-card { max-width: 560px; }
.auth-card h1, .confirmation-card h1 { margin: 10px 0 16px; font-size: clamp(34px,6vw,54px); line-height: 1.03; }
.auth-card h1 span, .confirmation-card h1 span, .registration-heading h1 span { color: #16844b; }
.auth-card p { color: #52635a; line-height: 1.65; }
.auth-form { display: grid; gap: 18px; margin: 24px 0; }
.auth-form .button { justify-content: center; min-height: 48px; }
.auth-help { margin-top: 24px; font-size: 13px; }
.pw-checklist { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 6px; }
.pw-req { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #728076; transition: color .2s; }
.pw-req-icon { font-size: 14px; width: 16px; text-align: center; transition: color .2s; }
.pw-req-pass { color: var(--green-dark); font-weight: 600; }
.pw-req-pass .pw-req-icon { color: var(--green); }
.pw-match-msg { font-size: 13px; font-weight: 600; min-height: 18px; margin: -8px 0 0; }
.pw-match-ok { color: var(--green-dark); }
.pw-match-err { color: #c0392b; }
.portal-main { max-width: 1280px; }
.portal-card { margin: 24px 0; }
.portal-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.portal-card-heading h1, .portal-card-heading h2 { margin: 0; }
.submission-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0; color: #52635a; }
.group-status-card .button { margin: 12px 16px 12px 0; }
.registration-main { width: min(1080px,100%); margin: 0 auto; padding: 42px 24px 90px; }
.registration-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.registration-heading h1 { margin: 8px 0 12px; font-size: clamp(36px,6vw,58px); line-height: 1.05; }
.registration-heading p { color: #52635a; }
.deadline-note { flex: 0 0 auto; border-left: 3px solid #16844b; padding: 12px 18px; background: #fff; }
.deadline-note span, .submission-reference span { display: block; margin-bottom: 6px; color: #52635a; font-size: 11px; letter-spacing: .08em; }
.registration-section { margin: 22px 0; }
.registration-section-title { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.registration-section-title > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: #bb9d61; color: #ffffff; font-weight: 700; }
.registration-section-title h2 { margin: 0 0 6px; }
.registration-section-title p { margin: 0; color: #52635a; }
.registration-section fieldset, #registration-form > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.repeatable-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; }
.repeatable-heading h3, .repeatable-heading p { margin: 0; }
.repeatable-heading button, .text-button { min-height: 40px; color: #075f32; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.repeatable-row { margin: 16px 0; padding: 18px; border: 1px solid #dfe8e2; border-radius: 12px; background: #f8fbf9; }
.conflict-question { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.conflict-question legend { width: 100%; margin-bottom: 14px; font-weight: 650; }
.conflict-question label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.conflict-question input, .consent-field input { width: 20px; height: 20px; }
.registration-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.registration-actions .button { min-height: 48px; }
#autosave-status { margin-right: auto; color: #52635a; font-size: 13px; }
#autosave-status.save-failed { color: #a52a2a; }
.button-secondary { color: #075f32; background: #fff; border: 1px solid #16844b; }
.submission-reference { margin: 26px 0; padding: 22px; border-radius: 12px; background: #e8f5ed; }
.submission-reference strong { font-size: clamp(24px,5vw,38px); letter-spacing: .04em; overflow-wrap: anywhere; }
.confirmation-card { max-width: 700px; }
.confirmation-details { display: grid; gap: 12px; margin: 24px 0; }
.confirmation-details div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #dfe8e2; padding-bottom: 10px; }
.confirmation-details dt { color: #52635a; }
.confirmation-details dd { margin: 0; font-weight: 650; text-align: right; }
.university-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.5fr); gap: 22px; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.assignment-form { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 16px; align-items: end; }
.comments-field { display: block; margin: 22px 0; }
.conflict-flag, .conflict-detail { border-color: #b7791f; }
.user-table small { display: block; margin-top: 4px; color: #52635a; }
button, a, input, select, textarea { outline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b7791f; }
@media (max-width: 800px) {
    .registration-main { padding: 28px 14px 110px; }
    .registration-heading, .portal-card-heading { flex-direction: column; }
    .deadline-note { width: 100%; }
    .auth-card, .portal-card, .registration-section { padding: 20px 16px; border-radius: 14px; }
    .university-grid, .assignment-form { grid-template-columns: 1fr; }
    .registration-actions { position: sticky; bottom: 0; z-index: 10; margin: 20px -14px -28px; padding: 12px 14px; background: #f4f7f6; border-top: 1px solid #dfe8e2; }
    .registration-actions .button { flex: 1 1 150px; }
    #autosave-status { flex: 1 0 100%; }
    .repeatable-heading { align-items: flex-start; }
    .user-table td .button { min-height: 44px; }
}




/* ── FAQ – split-screen landing section ─────────────────────────────────── */
.faq-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    background: white;
    border-top: 1px solid var(--line);
}

/* col 1 – laptop mockup */
.faq-right {
    background: radial-gradient(ellipse 80% 70% at 50% 55%, rgba(0,133,66,.13) 0%, rgba(49,91,194,.09) 55%, var(--paper) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
    border-right: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.faq-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 180px at 25% 30%, rgba(0,133,66,.18) 0%, transparent 70%),
        radial-gradient(circle 140px at 78% 72%, rgba(49,91,194,.16) 0%, transparent 70%);
    pointer-events: none;
}
.faq-laptop {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.22));
    position: relative;
    z-index: 1;
    transition: transform .4s cubic-bezier(.25,.8,.25,1), filter .4s ease;
    cursor: pointer;
}
.faq-laptop:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 36px 64px rgba(0,0,0,.32));
}
.faq-laptop-screen {
    position: relative;
    width: 100%;
    border-radius: 10px 10px 0 0;
    border: 10px solid #1a1a1a;
    border-bottom: 6px solid #1a1a1a;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/10;
}
.faq-laptop-hinge {
    width: 100%;
    height: 6px;
    background: linear-gradient(180deg, #2a2a2a 0%, #3d3d3d 100%);
    border-radius: 0 0 2px 2px;
}
.faq-laptop-base {
    width: 110%;
    height: 22px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-laptop-trackpad { width: 60px; height: 10px; background: rgba(255,255,255,.08); border-radius: 3px; }

/* FAQ slideshow */
.faq-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}
.faq-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: faq-fade 32s infinite;
    will-change: opacity;
}
.faq-slide-1 { animation-delay: 0s; }
.faq-slide-2 { animation-delay: 8s; }
.faq-slide-3 { animation-delay: 16s; }
.faq-slide-4 { animation-delay: 24s; }
@keyframes faq-fade {
    0%    { opacity: 0; }
    3%    { opacity: 1; }
    25%   { opacity: 1; }
    28%   { opacity: 0; }
    100%  { opacity: 0; }
}

/* col 2 – accordion */
.faq-left {
    display: flex;
    align-items: center;
    padding: 80px 10.2% 80px 6%;
    background: white;
}
.faq-left-inner { width: 100%; max-width: 520px; }
.faq-heading {
    margin: 16px 0 40px;
    font: 700 clamp(32px,3.6vw,52px)/1.08 var(--display);
    letter-spacing: -2px;
}
.faq-list { margin: 0; padding: 0; }

/* details/summary accordion */
.faq-item {
    border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
    font: 600 16px/1.4 var(--sans);
    color: var(--ink);
    transition: color .2s;
    user-select: none;
}
.faq-toggle:hover { color: var(--green); }
.faq-num {
    flex-shrink: 0;
    min-width: 26px;
    font: 700 13px/1 var(--display);
    color: var(--green);
    letter-spacing: -.3px;
}
.faq-question { flex: 1; }
.faq-chevron {
    flex-shrink: 0;
    color: var(--green);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    margin: 0 0 18px 38px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

/* ── FAQ – admin settings ───────────────────────────────────────────────── */
.faq-admin-row { display: flex; flex-direction: column; gap: 10px; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1rem; }
.faq-preview dt { font-weight: 600; margin-top: 1rem; }
.faq-preview dd { margin: .25rem 0 0; color: var(--muted); }
.admin-button-outline {
    background: transparent !important;
    border: 1.5px solid var(--green) !important;
    color: var(--green) !important;
    box-shadow: none !important;
}
.admin-button-outline:hover {
    background: #edf5ee !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ── FAQ responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .faq-section { grid-template-columns: 1fr; }
    .faq-right { display: none; }
    .faq-left { padding: 60px 7%; }
    .faq-left-inner { max-width: 100%; }
}
@media (max-width: 650px) {
    .faq-left { padding: 50px 5%; }
    .faq-heading { font-size: clamp(26px, 7vw, 36px); letter-spacing: -.5px; margin-bottom: 28px; }
    .faq-toggle { font-size: 15px; padding: 16px 0; }
    .faq-answer { font-size: 14px; margin-left: 30px; }
}
