/* awards.deepbiotech.eu – stylesheet derived from the Claude Design screens
   (documentation/design/README.md). Tokens first; every colour below is one
   of these custom properties. */

@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/saira-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/saira-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/saira-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --navy: #1a1448;
    --green: #35d02f;
    --green-dark: #1d7d1a;
    --green-tint: #e4f8e2;
    --cyan: #28b5d6;
    --text: #1a1448;
    --body: #4b4b63;
    --muted: #6a6a86;
    --muted-2: #9a9ab0;
    --muted-3: #5b5b73;
    --bg: #ffffff;
    --bg-soft: #f4f5fc;
    --bg-grey: #ececf2;
    --line: #e6e8f3;
    --line-2: #dfe3f3;
    --line-3: #d9dbe9;
    --line-4: #c9ccdf;
    --amber: #f0a500;
    --amber-tint: #fff3dc;
    --amber-text: #8a5a00;
    --red: #d93a3a;
    --shadow-sm: 0 10px 30px rgba(26, 20, 72, .06);
    --shadow-md: 0 20px 50px rgba(26, 20, 72, .12);
    --gradient: linear-gradient(90deg, var(--green), var(--cyan));
    --gradient-diag: linear-gradient(135deg, var(--green), var(--cyan));
    --radius: 6px;
    --radius-sm: 4px;
    --container: 1280px;
    --gutter: 56px;
    --font: 'Saira', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --glow: rgba(53, 208, 47, .35);
    /* The blue accent a ceremony can carry instead of the green one. */
    --blue: #4aa8f2;
    --blue-dark: #1563b3;
    --blue-tint: #e2f0fd;
}

/* ---- Ceremony accent ----------------------------------------------------
   A ceremony's card, pages and category labels carry its accent colour
   (ceremonies.accent, Hansa_Ceremony::accent()). Inside .accent-blue the
   green tokens are the blue ones, so every component follows without a rule
   of its own; status chips, flash messages and badges keep the real green,
   which means "open" and "done" everywhere. */
.accent-blue { --green: var(--blue); --green-dark: var(--blue-dark); --green-tint: var(--blue-tint); --glow: rgba(74, 168, 242, .4); }
.accent-blue .chip, .accent-blue .flash, .accent-blue .badge { --green: #35d02f; --green-dark: #1d7d1a; --green-tint: #e4f8e2; }

/* ---- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty; }
h1 { font-size: 48px; }
h2 { font-size: 38px; }
h3 { font-size: 21px; }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.site-main { flex: 1; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.upper { text-transform: uppercase; }
.h3 { font-size: 20px; }
.h4 { font-size: 19px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.empty { color: var(--muted); padding: 32px 0; }

.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.kicker-green { color: var(--green-dark); }
/* The brand keeps its spelling (DeepBioTech) inside an upper-case kicker. */
.kicker-keep-case { text-transform: none; letter-spacing: .08em; }
.kicker-muted { color: var(--muted); letter-spacing: .16em; }
.kicker-flag { display: inline-flex; align-items: center; gap: 10px; }
.lead-text { font-size: 16px; line-height: 1.65; color: var(--body); }
.note { font-size: 14px; color: var(--muted); font-style: italic; }
.prose { font-size: 16px; line-height: 1.65; color: var(--body); }
.prose p:last-child { margin-bottom: 0; }
.prose-lg { font-size: 16px; line-height: 1.7; margin-top: 28px; }
.prose-center { max-width: 640px; margin: 0 auto; font-size: 17px; }
.flash { padding: 12px 16px; margin: 20px 0 0; border: 1px solid var(--green); border-radius: var(--radius); background: var(--green-tint); }

/* ---- Buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; background: #2a2366; }
.btn-sm { padding: 10px 18px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-xl { padding: 18px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Chips ------------------------------------------------------------ */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; }
.chip-open { background: var(--green-tint); color: var(--green-dark); }
.chip-open i { background: var(--green); }
.chip-closed { background: var(--bg-grey); color: var(--muted-3); }
.chip-closed i { background: var(--muted-2); }
.chip-announced { background: var(--amber-tint); color: var(--amber-text); }
.chip-announced i { background: var(--amber); }
.chip-draft { background: var(--amber-tint); color: var(--amber-text); }

.flag { width: 30px; height: 21px; object-fit: cover; border-radius: 2px; flex: none; }
.flag-lg { width: 40px; height: 28px; }

/* ---- Header ----------------------------------------------------------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand img { height: 44px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.site-nav a.is-current { color: var(--green-dark); }
.site-nav-actions { display: flex; gap: 12px; margin-left: 10px; }
/* Desktop: no toggle at all. On narrow viewports (media query below) the
   checkbox becomes visually hidden but focusable, with the burger as its visual. */
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger i { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ---- Hero (landing) --------------------------------------------------- */
.hero { position: relative; min-height: 520px; background: var(--navy) center/cover no-repeat; color: #fff; display: flex; align-items: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 20, 72, .85) 0%, rgba(26, 20, 72, .45) 60%, rgba(26, 20, 72, .1)); }
.hero-inner { position: relative; padding-top: 90px; padding-bottom: 90px; max-width: calc(720px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--container)) / 2)); }
.hero h1 { font-size: 56px; line-height: 1.05; margin: 12px 0 16px; color: #fff; }
.hero .kicker-green { color: var(--green); letter-spacing: .2em; font-size: 13px; }
.hero-lead { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 28px; }

/* ---- Sections and grids ---------------------------------------------- */
.section { padding: 72px 0 0; }
.section:last-child, .section.section-last { padding-bottom: 88px; }
.section-tight { padding-top: 28px; }
.site-main > .section:last-of-type { padding-bottom: 88px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 24px; }
.section-head h2 { margin-top: 6px; }
.section-head-center { display: block; text-align: center; margin-bottom: 36px; }
.section-head-center h1, .section-head-center h2 { margin: 8px 0 12px; }
.section-head-center p { margin: 0 auto; max-width: 640px; font-size: 16px; color: var(--body); }
.section-head-center mark { background: var(--green); color: var(--navy); padding: 0 6px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-align-center { align-items: center; }
.grid-top { align-items: start; gap: 48px; }
.grid-main-aside { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.grid-main-aside-wide { grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.grid-aside-main { grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.section-about { padding: 88px 0; }
.about-image { height: 440px; border-radius: var(--radius); background: var(--line-2) center/cover; box-shadow: 0 20px 50px rgba(26, 20, 72, .15); }

/* ---- Cards ------------------------------------------------------------ */
.card { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.card:hover { color: inherit; }
.card-bar { height: 5px; width: 120px; margin: auto auto 0; background: var(--green); flex: none; }
.cer-card { box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.cer-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cer-card-image { height: 170px; background: var(--line-2); overflow: hidden; }
.cer-card-image img, .finalist-photo img, .jury-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cer-card-image-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.cer-card-closed .cer-card-image { filter: grayscale(1); }
.cer-card-closed .card-bar { background: var(--muted-2); }
/* The bar of a card carries the ceremony's accent; its chip says "announced". */
.cer-card-body { padding: 20px 22px 0; }
.cer-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cer-card-meta .place { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--body); }
.cer-card h3 { margin: 12px 0 4px; font-size: 24px; line-height: 1.15; }
.cer-card p { margin: 0 0 18px; font-size: 14px; color: var(--body); }
/* "Hosted by" with the host's logo (or name); the same height either way, so cards side by side stay aligned. */
.cer-card-host { display: flex; align-items: center; gap: 14px; min-height: 44px; margin: -4px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cer-card-host-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); flex: none; }
.cer-card-host img { height: 44px; width: auto; max-width: 70%; display: block; }
.cer-card-host-name { font-size: 15px; font-weight: 600; color: var(--navy); }

.cat-card { padding: 28px 24px 0; text-align: center; align-items: center; transition: transform .15s ease; }
.cat-card:hover { transform: translateY(-2px); }
.cat-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--green); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cat-icon-lg { width: 72px; height: 72px; }
.cat-card h3 { margin: 16px 0 6px; font-size: 21px; line-height: 1.2; }
.cat-card p { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--body); }
.cat-card .card-bar { width: 110px; }
.cat-card .cat-card-title { margin: 16px 0 6px; font-size: 21px; line-height: 1.2; }
.cat-card-kicker { margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; }

/* Landing: the ceremonies side by side, each with its categories underneath. */
.section-intro { margin: 10px 0 0; max-width: 640px; font-size: 16px; color: var(--body); }
.cer-grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
.cer-grid-1 { grid-template-columns: minmax(0, 640px); }
.cer-grid-2 .cer-card-image, .cer-grid-1 .cer-card-image { height: 220px; }
.cer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cer-col .cer-card { flex: 1; }
/* Cards side by side: the "Hosted by" row sits at the bottom of each card, so the hosts line up even when a title or date line wraps. */
.cer-col .cer-card-body { flex: 1; display: flex; flex-direction: column; }
.cer-col .cer-card-host { margin-top: auto; }
.cer-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cer-cats a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; line-height: 1.3; }
.cer-cats a:hover { background: var(--bg-soft); color: var(--text); }

/* The categories of all ceremonies (/categories). */
.page-head { margin-top: 20px; }
.cat-group { margin-top: 56px; scroll-margin-top: 24px; }
.page-head + .cat-group { margin-top: 12px; }
.cat-group-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 3px solid var(--green); }
.cat-group-head h2 { font-size: 30px; margin: 8px 0 4px; }
.cat-group-head p { margin: 0; font-size: 14px; color: var(--body); }
.cat-all { margin: 28px 0 0; }
.cat-all a, .apply-upcoming a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }

.feature { display: flex; gap: 18px; margin-bottom: 22px; }
.feature-icon { width: 56px; height: 56px; flex: none; background: var(--green); color: var(--navy); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.feature .h4 { font-size: 22px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }

.panel { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.panel-logo { display: block; height: 56px; width: auto; max-width: 100%; margin: 10px 0 8px; }
.panel-title { font-size: 20px; font-weight: 600; }
.panel-sub { font-size: 14px; color: var(--body); }
.panel-gap { margin-top: 22px; }
.panel-text { font-size: 14px; color: var(--body); line-height: 1.6; margin-top: 8px; }
.panel .kicker { margin-bottom: 8px; }
.panel-sm { padding: 20px; margin-top: 32px; }
.panel-sm p { font-size: 13px; color: var(--body); line-height: 1.5; margin: 0 0 12px; }
.panel-sm a { font-weight: 600; color: var(--green-dark); font-size: 14px; text-decoration: underline; }
.panel-title-sm { font-weight: 600; margin-bottom: 4px; }

/* ---- Ceremony hero and bar ------------------------------------------- */
.cer-hero { background: var(--navy); color: #fff; padding: 64px 0 0; position: relative; overflow: hidden; }
.cer-hero-glow { position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); }
.cer-hero .container { position: relative; }
.cer-hero-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cer-hero-place { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.cer-hero h1 { font-size: 60px; line-height: 1.02; margin: 18px 0 20px; color: #fff; }
.cer-hero-dates { display: flex; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; }
.cer-hero-dates .kicker-green { color: var(--green); letter-spacing: .14em; }
.cer-hero-dates .date { font-size: 22px; font-weight: 600; }
.subnav { display: flex; gap: 36px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; overflow-x: auto; white-space: nowrap; }
.subnav a { color: rgba(255, 255, 255, .7); padding: 18px 0; border-bottom: 3px solid transparent; }
.subnav a:hover { color: #fff; }
.subnav a.is-current { color: #fff; border-bottom-color: var(--green); }
.cer-bar { background: var(--navy); color: #fff; }
.cer-bar-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0 10px; }
.cer-bar-title { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 18px; font-weight: 600; }
.cer-bar-title:hover { color: var(--green); }
.cer-bar .subnav a { padding: 14px 0; }
.breadcrumb { display: flex; gap: 8px; padding: 28px 0 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ---- Duo block (selection teaser + apply) ---------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 8px; }
.duo > div { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.duo h2 { font-size: 34px; margin: 10px 0 14px; }
.duo p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.duo-gradient { background: var(--gradient-diag); color: #fff; }
.duo-gradient p { color: rgba(255, 255, 255, .92); }
.duo-light { background: var(--bg-soft); }
.duo-light p { color: var(--body); }

/* ---- Category detail -------------------------------------------------- */
.cat-head { display: flex; gap: 20px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.cat-head h1 { font-size: 40px; line-height: 1.05; margin-bottom: 4px; }
article .h3 { margin: 36px 0 12px; }
article .h3 + .note { margin-top: -6px; margin-bottom: 14px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 10px; height: 16px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body); }
.numbered li { display: flex; gap: 12px; }
.numbered li > b { color: var(--text); min-width: 28px; }
.numbered strong { color: var(--text); font-weight: 600; }
.download { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--bg-soft); border-radius: var(--radius); max-width: 560px; }
.download-icon { width: 48px; height: 56px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--red); }
.download-text { flex: 1; }
.download-title { font-size: 15px; font-weight: 600; }
.download-note { font-size: 13px; color: var(--muted); }
.criteria-aside { position: sticky; top: 24px; }
.criteria-aside-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.weights { display: flex; flex-direction: column; gap: 6px; }
.weight-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 12px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.weight-row span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); }
.weight-row b { background: var(--green); color: var(--navy); padding: 8px 12px; font-size: 13px; min-width: 58px; text-align: center; }
.weight-total { background: transparent; border-top: 2px solid var(--navy); border-radius: 0; margin-top: 4px; }
.weight-total span { font-weight: 700; color: var(--text); }
.weight-total b { background: var(--navy); color: #fff; }
.criteria-aside .btn-block { margin-top: 24px; }
.criteria-aside .note { margin: 12px 0 0; font-size: 13px; font-style: normal; }

/* ---- Selection process ------------------------------------------------ */
.timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 3px; background: var(--line); }
.timeline-step { position: relative; }
.timeline-dot { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; border: 6px solid #fff; background: #fff; color: var(--navy); box-shadow: 0 0 0 2px var(--line-3); }
.is-done .timeline-dot { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.is-current .timeline-dot { background: var(--navy); color: #fff; box-shadow: 0 0 0 2px var(--navy); }
.timeline-step .kicker { margin-top: 14px; letter-spacing: .14em; }
.timeline-step .h3 { margin: 4px 0 6px; }
.timeline-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body); }
/* The steps with one column of dates per ceremony. */
.steps { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.steps thead th { text-align: left; vertical-align: bottom; padding: 14px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); border-bottom: 3px solid var(--line-3); }
.steps thead .steps-cer { width: 24%; border-bottom-color: var(--green); font-size: 14px; letter-spacing: .02em; text-transform: none; }
.steps-cer a { color: var(--text); }
.steps tbody th { text-align: left; font-weight: 400; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.steps-step { display: flex; gap: 16px; align-items: flex-start; }
.steps-dot { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.steps-text .h3 { display: block; font-weight: 600; margin-bottom: 4px; }
.steps-note { display: block; font-size: 14px; line-height: 1.55; color: var(--body); }
.steps td { padding: 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.steps-when { display: block; font-size: 16px; font-weight: 600; }
.steps-state { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--bg-grey); color: var(--muted-3); }
.steps td.is-current { background: var(--green-tint); }
.steps td.is-current .steps-state { background: var(--green); color: var(--navy); }
.steps td.is-done .steps-when { color: var(--muted); }
.steps td.is-next .steps-when { font-weight: 500; }
.callout { margin: 28px 0 0; padding: 18px 22px; border-left: 5px solid var(--green); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 16px; line-height: 1.6; color: var(--body); }
.callout strong { color: var(--text); }
.jury-grid { margin-top: 24px; }
.scale { display: flex; flex-direction: column; gap: 8px; }
.scale-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 12px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.scale-row b { font-size: 24px; }
.scale-label { font-weight: 600; }
.scale-text { font-size: 13px; color: var(--body); }
.scale-row.is-top { background: var(--green); }
.scale-row.is-top .scale-text { color: var(--navy); }
.example { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; }
.example .kicker-green { color: var(--green); }
.example h3 { font-size: 26px; margin: 8px 0 20px; }
.example-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.example-table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.example-table td { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.example-table .num { text-align: right; }
.example-table .strong { font-weight: 600; }
.example-table .total td, .example-table .total th { padding: 14px 0; font-size: 14px; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 700; border-bottom: 0; }
.faq-scope { margin-left: 6px; vertical-align: middle; }
.example-table .total .num { font-size: 24px; color: var(--green); }
.example-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, .65); line-height: 1.5; }
.jury-card { padding: 14px 14px 0; text-align: center; align-items: center; }
.jury-photo { width: 100%; height: 220px; border-radius: var(--radius-sm); background: var(--line-2); overflow: hidden; }
.jury-photo-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.jury-card .h4 { margin: 16px 0 2px; }
.jury-role { font-size: 14px; color: var(--green-dark); font-weight: 500; margin-bottom: 18px; }
.jury-card .card-bar { width: 110px; }

/* ---- Finalists -------------------------------------------------------- */
.finalists-band { background: var(--bg-soft); padding: 48px 0 64px; }
.finalists-rows { display: flex; flex-direction: column; gap: 40px; }
.finalists-row { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.finalists-tile { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 24px; min-height: 300px; position: sticky; top: 24px; }
.finalists-tile h2 { font-size: 26px; margin: 22px 0 6px; color: #fff; }
.finalists-tile .kicker-green { color: var(--green); letter-spacing: .16em; }
.finalists-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.finalist-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.finalist-photo { margin: 14px 14px 0; height: 150px; background: var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.finalist-body { padding: 16px 16px 0; text-align: center; flex: 1; }
.finalist-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); margin: 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 11px; font-weight: 700; }
.finalist-logo img { width: 100%; height: 100%; object-fit: contain; }
.finalist-body .h4 { margin: 12px 0 4px; font-size: 18px; line-height: 1.2; }
.finalist-body p { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); line-height: 1.5; }
.finalist-body a { font-size: 13px; color: var(--green-dark); font-weight: 600; }
.finalist-body .finalist-summary { margin: 10px 0 8px; font-size: 13px; line-height: 1.55; letter-spacing: 0; text-transform: none; text-align: left; overflow-wrap: anywhere; }
.shortlist-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.shortlist-panel > div { flex: 1 1 520px; }
.shortlist-panel .h4 { margin: 0 0 6px; }
.shortlist-panel p { margin: 0 0 6px; }
.finalist-banner { margin-top: 16px; text-align: center; padding: 12px; font-weight: 600; font-size: 14px; letter-spacing: .04em; color: #fff; background: var(--bg-grey); }
.finalist-banner-finalist { background: var(--bg-grey); color: var(--navy); }
.finalist-banner-winner { background: var(--gradient); }
.finalist-banner-second { background: var(--navy); }
.finalist-banner-third { background: var(--body); }

/* ---- FAQ -------------------------------------------------------------- */
.faq-aside { position: sticky; top: 24px; }
.faq-aside .kicker { margin-bottom: 14px; }
.faq-sections { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.faq-sections a { padding: 10px 18px; font-size: 15px; color: var(--body); margin-left: -2px; border-left: 3px solid transparent; }
.faq-sections a:hover { color: var(--green-dark); border-left-color: var(--green); font-weight: 600; }
.faq-heading { font-size: 26px; display: flex; align-items: center; gap: 12px; margin: 0 0 8px; scroll-margin-top: 24px; }
.faq-heading span { width: 10px; height: 28px; background: var(--green); display: inline-block; }
.faq-heading + .faq-list { margin-bottom: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; background: var(--green); }
.faq-answer { padding: 0 48px 18px 0; font-size: 15px; }
h1 + .faq-heading, .grid-aside-main h1 { margin-bottom: 40px; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); color: #fff; padding: 56px 0 36px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .7); max-width: 460px; }
.footer-logo { height: 48px; width: auto; display: block; }
/* The EU logo above the disclaimer: the text is too long to sit beside it. */
.footer-funding { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
.footer-funding .footer-note { margin: 0; font-size: 12px; max-width: 520px; }
.footer-eu { height: 56px; width: auto; flex: none; display: block; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.footer-col a { color: #fff; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---- Admin ------------------------------------------------------------ */
body.admin { background: var(--bg-soft); }
.admin-header { background: var(--navy); color: #fff; }
.admin-header-inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.admin-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.admin-brand img { height: 30px; width: auto; display: block; }
.admin-brand:hover { color: var(--green); }
.admin-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em; flex: 1; }
.admin-nav a { color: rgba(255, 255, 255, .75); padding: 20px 0; border-bottom: 3px solid transparent; }
.admin-nav a:hover { color: #fff; }
.admin-nav a.is-current { color: #fff; border-bottom-color: var(--green); }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .8); margin: 0; }
.admin-main { padding: 32px 0 64px; flex: 1; }
.admin-footer { padding: 16px 0; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.admin-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 8px 0 24px; flex-wrap: wrap; }
.admin-page-head h1 { font-size: 32px; margin-top: 4px; }
.admin-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin .breadcrumb { padding-top: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.admin-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.admin-card h2 { font-size: 22px; margin: 10px 0 4px; }
.admin-card h2 a { color: var(--text); }
.admin-card-head { display: flex; align-items: center; gap: 10px; }
.admin-card-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 600; margin-top: 14px; }
.admin-card-links a { color: var(--green-dark); }
.admin-card-danger { border: 1px solid #f3d3d3; }
.admin-two-col { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.admin-two-col-wide { grid-template-columns: 1fr 380px; }
.admin-aside .admin-card { padding: 18px 20px; }
.admin-aside .h4 { margin-bottom: 8px; }
.admin-note { background: #fff; border-radius: var(--radius); padding: 12px 16px; font-size: 14px; color: var(--body); margin-bottom: 20px; }
.admin-section-title { margin: 32px 0 12px; display: flex; align-items: center; gap: 12px; }
.admin-section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 10px; flex-wrap: wrap; }
.admin-section-head .actions { display: flex; gap: 8px; align-items: center; }
.auth-wrap { display: flex; justify-content: center; padding: 56px var(--gutter); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 30px; margin: 6px 0 14px; }
.auth-card .admin-form { padding: 0; box-shadow: none; }
.auth-links { font-size: 14px; color: var(--body); margin: 18px 0 0; }
.auth-links a { color: var(--green-dark); font-weight: 600; }
.auth-divider { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.admin-form-flat { padding: 0; box-shadow: none; background: transparent; }
.hp-wrap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.admin-filter { display: flex; gap: 10px; margin-bottom: 18px; align-items: center; }
.admin-filter .input { width: auto; min-width: 180px; }
.my-grid .admin-card { margin-bottom: 0; }
.page-my-index .section, .page-my-profile .section, .page-my-submission .section, .page-apply-index .section, .page-apply-form .section { padding-top: 40px; }
.my-grid-after { margin-top: 32px; }
/* Applications (M3): submission detail and the live character counter */
.submission-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; margin: 0 0 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.submission-meta dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.submission-meta dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.submission-answers-title { margin: 22px 0 0; }
.submission-answer { padding: 18px 0; border-bottom: 1px solid var(--line); }
.submission-answer:last-child { border-bottom: 0; padding-bottom: 0; }
.submission-answer .h4 { margin: 0 0 8px; }
.submission-answer .prose { overflow-wrap: anywhere; }
.submission-meta-wide { grid-column: 1 / -1; }
.submission-image { display: inline-block; }
.submission-image img { display: block; max-width: 100%; max-height: 320px; width: auto; border-radius: var(--radius-sm); background: var(--bg-soft); }
.submission-files, .submission-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.submission-files a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-dark); overflow-wrap: anywhere; }
.submission-checks { margin-bottom: 12px; }
.submission-checks li { position: relative; padding-left: 28px; }
.submission-checks .is-ticked::before { content: ""; position: absolute; left: 4px; top: 2px; width: 7px; height: 13px; border: solid var(--green-dark); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.submission-checks .is-open { color: var(--muted); }
.submission-checks .is-open::before { content: "–"; position: absolute; left: 5px; top: 0; }
/* The application form: sections, the fields of a third-party nomination. */
.form-section { font-size: 22px; margin: 34px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-form .form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section + .form-section-intro { margin: -8px 0 14px; font-size: 13px; color: var(--muted); }
.field[hidden] { display: none; }
.admin-form .field-check { align-items: flex-start; }
.admin-form .field-check input { flex: none; margin-top: 1px; }
.field-check label a, .field-help a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.aside-list { margin: 0; padding-left: 18px; }
.aside-list li { margin-bottom: 6px; }
.apply-group { margin-bottom: 12px; }
.apply-upcoming { margin-top: 28px; }
.char-count { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: right; }
.char-count.is-near { color: var(--amber-text); }
.char-count.is-full { color: var(--red); font-weight: 600; }
@media (max-width: 700px) { .submission-meta { grid-template-columns: 1fr; } }
.small { font-size: 13px; line-height: 1.5; color: var(--body); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.stats dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font-weight: 600; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--bg-grey); color: var(--muted-3); }
.badge-published { background: var(--green-tint); color: var(--green-dark); }
.badge-warn { background: var(--amber-tint); color: var(--amber-text); }
.badge-muted { background: var(--bg-grey); color: var(--muted-3); }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 600; background: var(--bg-soft); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .nowrap { white-space: nowrap; }
.table .actions { text-align: right; }
.table .actions a { margin-right: 10px; font-weight: 600; color: var(--green-dark); }
.table .right { text-align: right; }
.table-compact td, .table-compact th { padding: 8px 12px; }
.table-edit td { padding: 6px 8px; }
.table-edit .col-n { width: 36px; color: var(--muted); }
.table-edit .col-num { width: 96px; text-align: center; }
.table-edit .input-num { text-align: center; }
.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); display: inline-block; background: var(--line-2); vertical-align: middle; }
.thumb-round { border-radius: 50%; object-fit: contain; background: var(--bg-soft); border: 1px solid var(--line); }
.thumb-empty { background: var(--line-2); }
.inline-form { display: inline; margin: 0; }
code { font-size: 13px; background: var(--bg-grey); padding: 1px 5px; border-radius: 3px; }

.admin-form { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.admin-aside .admin-form { background: transparent; padding: 0; box-shadow: none; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field-check { display: flex; align-items: center; gap: 10px; }
.field-check label { margin: 0; font-weight: 500; }
.field-check input { width: 18px; height: 18px; }
.input { width: 100%; padding: 10px 12px; border: 1px solid var(--line-3); border-radius: var(--radius-sm); font: inherit; font-size: 15px; color: var(--text); background: #fff; }
.input:focus { outline: 2px solid var(--green-dark); outline-offset: 1px; border-color: var(--green-dark); }
textarea.input { line-height: 1.5; min-height: 90px; resize: vertical; }
select.input { appearance: auto; }
.field-help { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field-error { font-size: 13px; color: var(--red); margin-top: 5px; font-weight: 600; }
.field-error-block { background: #fdeeee; border: 1px solid #f3d3d3; border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 18px; }
.field-error-block ul { margin: 0; padding-left: 18px; }
.has-error .input { border-color: var(--red); }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-intro { margin-bottom: 18px; }
.current-file { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--bg-soft); border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 13px; }
.current-file img { border-radius: var(--radius-sm); max-height: 140px; width: auto; }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { color: #fff; background: #b82e2e; }
.btn-xs { padding: 6px 12px; font-size: 12px; }
.cat-icon-sm { width: 32px; height: 32px; border-radius: var(--radius-sm); }
@media (max-width: 900px) {
    .admin-grid, .admin-two-col, .admin-two-col-wide { grid-template-columns: 1fr; }
    .admin-header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px 20px; }
    .admin-nav a { padding: 8px 0; }
    .table { display: block; overflow-x: auto; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .finalists-cards { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); }
    .timeline::before { display: none; }
}
@media (max-width: 900px) {
    :root { --gutter: 24px; }
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    .hero h1 { font-size: 40px; }
    .cer-hero h1 { font-size: 40px; }
    .grid-3, .grid-2, .grid-main-aside, .grid-main-aside-wide, .grid-aside-main { grid-template-columns: 1fr; gap: 24px; }
    .duo { grid-template-columns: 1fr; }
    .finalists-row { grid-template-columns: 1fr; }
    .finalists-tile { position: static; min-height: 0; }
    .criteria-aside, .faq-aside { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cer-grid-2 { grid-template-columns: 1fr; }
    .cat-group-head h2 { font-size: 24px; }
    .about-image { height: 260px; }
    .site-header-inner { height: 64px; }
    .brand img { height: 34px; }
    .nav-burger { display: flex; }
    .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
    .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--green-dark); outline-offset: 2px; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
    .site-nav a { padding: 12px var(--gutter); }
    .site-nav-actions { margin: 8px var(--gutter) 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 600px) {
    :root { --gutter: 20px; }
    .hero { min-height: 420px; }
    .hero-inner { padding-top: 60px; padding-bottom: 60px; }
    .hero h1 { font-size: 32px; }
    .cer-hero h1 { font-size: 34px; }
    .cer-hero-dates { gap: 20px; }
    .cer-hero-dates .date { font-size: 17px; }
    .timeline { grid-template-columns: 1fr; }
    .finalists-cards { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .cat-head { flex-direction: column; align-items: flex-start; }
    .cat-head h1 { font-size: 28px; }
    .duo > div { padding: 28px 20px; }
    .example { padding: 24px 20px; }
    .section { padding-top: 48px; }
    .site-footer { margin-top: 56px; }
}

/* Review (M4): reviewer screen, the 5-point scale control, progress, results. */
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: start; }
.score-field { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.score-field legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; padding: 0; }
.score-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.score-option { position: relative; display: block; cursor: pointer; }
.score-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.score-box { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line-3); border-radius: var(--radius-sm); background: #fff; color: var(--body); font-size: 11px; line-height: 1.2; text-align: center; }
.score-box b { font-size: 18px; color: var(--text); }
.score-option:hover .score-box { border-color: var(--navy); }
.score-option input:checked + .score-box { background: var(--navy); border-color: var(--navy); color: #fff; }
.score-option input:checked + .score-box b { color: var(--green); }
.score-option input:focus-visible + .score-box { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.score-option input:disabled + .score-box { cursor: default; opacity: .75; }
.score-field.has-error .score-box { border-color: var(--red); }
.review-decline { margin-top: 24px; }
.progress { display: block; width: 100%; height: 8px; margin: 12px 0 6px; border: 0; border-radius: 999px; background: var(--bg-grey); overflow: hidden; -webkit-appearance: none; appearance: none; }
.progress::-webkit-progress-bar { background: var(--bg-grey); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--gradient); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--gradient); border-radius: 999px; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table th.num { white-space: normal; }
.table, .table-scroll { position: relative; }
.table-scroll { overflow-x: auto; margin-bottom: 20px; }
.scale-help { margin: 0 0 16px; font-size: 13px; }
.scale-help summary { cursor: pointer; font-weight: 600; color: var(--text); }
.scale-help dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.scale-help dt { font-weight: 600; color: var(--text); }
.scale-help dd { margin: 0; }
@media (forced-colors: active) {
    .score-option input:checked + .score-box { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
    .score-option input:checked + .score-box b { color: HighlightText; }
}
.table .is-incomplete td { background: var(--amber-tint); }
.matrix th, .matrix td { text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
@media (max-width: 900px) {
    .review-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .score-scale { grid-template-columns: 1fr; }
    .score-box { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 8px 12px; font-size: 13px; text-align: left; }
}
/* A select is as wide as its longest option unless its grid column may shrink. */
.admin-two-col > *, .review-layout > * { min-width: 0; }
.admin-form input[type=file] { max-width: 100%; }
/* Consent banner for Google Analytics (layout.phtml, js/consent.js). */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 -10px 30px rgba(26, 20, 72, .25); }
.consent[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.consent-text { font-size: 14px; line-height: 1.55; max-width: 760px; }
.consent-text strong { display: block; font-size: 16px; margin-bottom: 2px; outline: 0; }
.consent-text p { margin: 0; color: rgba(255, 255, 255, .85); }
.consent-text a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 700px) {
    .consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .consent-actions .btn { flex: 1; }
}
/* Legal pages. */
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green-dark); text-decoration: underline; }
