:root {
    --navy-950: #04112c;
    --navy-900: #071a3d;
    --navy-800: #0b2858;
    --navy-700: #123a76;
    --blue-600: #1c63b7;
    --blue-100: #e7f0fb;
    --red-600: #d72b36;
    --red-100: #fdebed;
    --gold-500: #d7aa39;
    --gold-400: #edc85f;
    --gold-100: #fff6dc;
    --green-600: #20885b;
    --green-100: #e8f6ef;
    --ink: #12213b;
    --muted: #64748b;
    --line: #dfe6ee;
    --surface: #ffffff;
    --surface-soft: #f5f7fa;
    --surface-blue: #f1f6fb;
    --danger: #b4232f;
    --shadow-sm: 0 4px 18px rgba(7, 26, 61, .07);
    --shadow-md: 0 18px 48px rgba(7, 26, 61, .12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --container: 1200px;
    --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; background: var(--surface); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
::selection { color: white; background: var(--blue-600); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 820px); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; color: white; background: var(--navy-900); border-radius: var(--radius-sm); }
.skip-link:focus { transform: none; }
.section { padding: 96px 0; }
.section-tint { background: var(--surface-blue); }
.section-navy { color: white; background: var(--navy-900); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue-600); font-size: .76rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.eyebrow-gold { color: var(--gold-400); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2 { margin: 0; color: var(--navy-900); font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p, .split-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.split-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; max-width: none; }
.split-heading > div { max-width: 720px; }
.split-heading.align-end { align-items: flex-end; }
.heading-light h2 { color: white; }
.heading-light > p { color: #b8c7de; }
.text-link { color: var(--navy-800); font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--blue-600); }
.text-link.light { color: white; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; line-height: 1; transition: transform .18s, background-color .18s, border-color .18s, color .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--navy-800); }
.button-primary:hover { background: var(--blue-600); }
.button-gold { color: var(--navy-950); background: var(--gold-400); }
.button-gold:hover { background: #ffda72; }
.button-ghost { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.button-ghost:hover { background: rgba(255,255,255,.14); }
.button-outline { color: var(--navy-800); border-color: #b9c6d7; background: white; }
.button-outline:hover { border-color: var(--navy-700); }
.button-small { min-height: 38px; padding: 8px 14px; font-size: .875rem; }
.button-block { width: 100%; }
.status { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.status-success { color: #12623f; background: var(--green-100); }
.status-warning { color: #805607; background: var(--gold-100); }
.status-danger { color: #9c1e29; background: var(--red-100); }
.status-neutral { color: #526074; background: #edf1f5; }
.status-demo { color: #1c5792; background: var(--blue-100); }
.healthy { color: var(--green-600) !important; }
.flash, .workspace-flash { padding: 12px 0; font-weight: 700; }
.flash-success { color: #155b3d; background: var(--green-100); }

/* Public navigation */
.utility-bar { min-height: 34px; color: #b8c7de; background: var(--navy-950); font-size: .76rem; }
.utility-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; }
.utility-links { display: flex; gap: 22px; }
.utility-links a:hover { color: white; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(7, 26, 61, .08); background: rgba(255,255,255,.96); box-shadow: 0 3px 18px rgba(7,26,61,.04); backdrop-filter: blur(14px); }
.header-inner { display: grid; min-height: 80px; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { color: var(--navy-900); font-size: 1.05rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--gold-500); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.primary-nav a { position: relative; padding: 27px 10px 25px; color: #41506a; font-size: .86rem; font-weight: 700; }
.primary-nav a::after { position: absolute; right: 10px; bottom: 17px; left: 10px; height: 2px; content: ""; transform: scaleX(0); background: var(--red-600); transition: transform .18s; }
.primary-nav a:hover, .primary-nav a.active { color: var(--navy-900); }
.primary-nav a.active::after { transform: scaleX(1); }
.primary-nav .account-nav-link { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--navy-900); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; }
.nav-toggle { display: none; width: 44px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { width: 24px; height: 2px; background: var(--navy-900); }

/* Hero */
.hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 62% 45%, #123970 0, var(--navy-900) 36%, var(--navy-950) 78%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to right, transparent 5%, #000 60%, transparent); }
.hero-grid { position: relative; display: grid; min-height: 660px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-copy h1 { margin: 0 0 24px; font-size: clamp(3rem, 5.5vw, 5.2rem); font-weight: 750; line-height: .98; letter-spacing: -.06em; }
.hero-copy h1 em { color: var(--gold-400); font-style: normal; }
.hero-copy > p { max-width: 610px; margin: 0 0 32px; color: #d2def0; font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #b9c8dd; font-size: .82rem; font-weight: 650; }
.hero-trust b { color: var(--gold-400); }
.hero-visual { position: relative; align-self: stretch; min-height: 520px; }
.hero-visual > img { position: absolute; top: 50%; right: -16%; width: 112%; height: 88%; transform: translateY(-50%); border-radius: 32px; object-fit: cover; box-shadow: 0 28px 90px rgba(0,0,0,.4); }
.hero-visual::after { position: absolute; right: -20%; bottom: 0; width: 55%; height: 50%; content: ""; filter: blur(70px); background: rgba(215,43,54,.25); }
.hero-float-card { position: absolute; bottom: 8%; left: -4%; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(5,19,46,.84); box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.hero-float-card div { display: flex; flex-direction: column; }
.hero-float-card small { color: #b9c8dd; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #40d28c; box-shadow: 0 0 0 6px rgba(64,210,140,.15); }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { display: flex; min-height: 105px; flex-direction: column; justify-content: center; padding: 16px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats div:first-child { padding-left: 0; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { color: var(--gold-400); font-size: 1.55rem; line-height: 1.2; }
.hero-stats span { color: #bdc9db; font-size: .78rem; }

/* Public homepage */
.gateway-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
.gateway { position: relative; display: flex; min-height: 450px; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 28px; color: white; border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow-sm); }
.gateway::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(to top, rgba(3,15,39,.97) 7%, rgba(3,15,39,.55) 53%, rgba(3,15,39,.04)); }
.gateway > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gateway:hover > img { transform: scale(1.035); }
.gateway-number { position: absolute; top: 22px; left: 22px; z-index: 2; color: var(--gold-400); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.gateway-copy { position: relative; z-index: 2; }
.gateway-copy > span { color: var(--gold-400); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gateway-copy h3 { margin: 8px 0 12px; font-size: clamp(1.45rem, 2.3vw, 2.35rem); line-height: 1.1; letter-spacing: -.04em; }
.gateway-copy p { color: #c5d2e5; font-size: .92rem; }
.gateway-copy strong { display: inline-block; margin-top: 14px; color: white; font-size: .86rem; }
.gateway-featured { min-height: 520px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { min-width: 0; padding: 24px; border: 1px solid #dbe5f0; border-radius: var(--radius-md); background: white; box-shadow: 0 5px 20px rgba(7,26,61,.04); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; }
.metric-value { display: block; margin: 22px 0 12px; color: var(--navy-900); font-size: 2.65rem; line-height: 1; letter-spacing: -.05em; }
.metric-value small { font-size: .9rem; }
.metric-card h3, .metric-card h2 { margin: 0 0 15px; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.metric-card > p { margin: 13px 0 0; color: var(--muted); font-size: .75rem; }
.metric-trend { display: flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; }
.metric-trend.up { color: var(--green-600); }
.metric-trend.down { color: var(--danger); }
.data-note { display: flex; align-items: flex-start; gap: 15px; margin-top: 24px; padding: 18px 22px; border: 1px solid #c9d8e8; border-radius: var(--radius-sm); background: rgba(255,255,255,.62); }
.data-note-icon { display: flex; width: 26px; height: 26px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--navy-800); border-radius: 50%; background: var(--blue-100); font-weight: 800; }
.data-note p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.programme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.programme-card { display: flex; min-height: 360px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.programme-meta, .programme-scope, .progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.programme-meta > span:first-child { color: var(--muted); font-size: .7rem; font-weight: 800; }
.programme-card h3 { margin: 22px 0 8px; color: var(--navy-900); font-size: 1.25rem; line-height: 1.25; }
.programme-card > p { margin: 0 0 20px; color: var(--muted); font-size: .86rem; }
.programme-scope { margin-top: auto; color: var(--blue-600); font-size: .7rem; font-weight: 700; }
.progress-label { margin-top: 18px; color: var(--muted); font-size: .72rem; }
.progress-label strong { color: var(--navy-900); }
.progress-track { height: 6px; overflow: hidden; margin-top: 7px; border-radius: 99px; background: #e6ebf1; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: var(--blue-600); }
.progress-track > span.red { background: var(--red-600); }
.progress-track > span.green { background: var(--green-600); }
.progress-track > span.gold { background: var(--gold-500); }
.progress-track > span.blue { background: var(--blue-600); }
.programme-impact { display: flex; align-items: baseline; gap: 7px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.programme-impact strong { color: var(--navy-900); font-size: 1.2rem; }
.programme-impact span { color: var(--muted); font-size: .72rem; }
.news-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; gap: 18px; }
.news-card { overflow: hidden; color: var(--ink); border-radius: var(--radius-md); background: white; }
.news-card > a { display: block; height: 210px; overflow: hidden; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover img { transform: scale(1.035); }
.news-card-body { padding: 22px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .69rem; font-weight: 700; text-transform: uppercase; }
.news-meta span { color: var(--red-600); }
.news-card h3 { margin: 12px 0 9px; color: var(--navy-900); font-size: 1.16rem; line-height: 1.25; letter-spacing: -.02em; }
.news-card p { color: var(--muted); font-size: .84rem; }
.news-card-featured > a { height: 290px; }
.news-card-featured h3 { font-size: 1.55rem; }
.source-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--green-600); font-size: .7rem; font-weight: 800; }
.network-cta { display: grid; min-height: 440px; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 58px; color: white; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.network-cta h2 { max-width: 600px; margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; }
.network-cta p { max-width: 580px; color: #c3d0e2; }
.network-orbit { position: relative; min-height: 320px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(237,200,95,.35); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 260px; height: 260px; }
.orbit-two { width: 170px; height: 170px; }
.orbit-center { position: absolute; top: 50%; left: 50%; display: flex; width: 116px; height: 116px; align-items: center; justify-content: center; transform: translate(-50%,-50%); border-radius: 50%; background: white; box-shadow: 0 0 60px rgba(237,200,95,.24); }
.orbit-center img { width: 92px; height: 92px; object-fit: contain; }
.orbit-node { position: absolute; display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--navy-800); font-size: .75rem; font-weight: 800; box-shadow: var(--shadow-md); }
.node-one { top: 5%; left: 50%; }
.node-two { top: 55%; left: 12%; }
.node-three { right: 11%; bottom: 8%; }
.cta-band { padding: 70px 0; color: white; background: linear-gradient(90deg, var(--navy-950), var(--navy-800)); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { max-width: 760px; margin: 0; font-size: clamp(1.9rem,3.4vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.cta-actions { display: flex; gap: 12px; }

/* Chair message and official directory */
.chair-message-section { background: linear-gradient(180deg, #fff, var(--surface-blue)); }
.chair-message { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); overflow: hidden; border: 1px solid #d9e3ee; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.chair-mark { position: relative; display: flex; min-height: 520px; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(150deg, var(--navy-950), var(--navy-700)); }
.chair-mark::before, .chair-mark::after { position: absolute; content: ""; border: 1px solid rgba(237,200,95,.24); border-radius: 50%; }
.chair-mark::before { width: 360px; height: 360px; }
.chair-mark::after { width: 250px; height: 250px; }
.chair-mark img { position: absolute; top: 30px; left: 30px; width: 82px; height: 82px; padding: 8px; border-radius: 50%; background: white; object-fit: contain; }
.chair-mark > span { position: relative; z-index: 1; display: flex; width: 180px; height: 180px; align-items: center; justify-content: center; color: var(--navy-950); border: 8px solid rgba(255,255,255,.25); border-radius: 50%; background: var(--gold-400); box-shadow: 0 24px 70px rgba(0,0,0,.3); font-size: 5rem; font-weight: 900; }
.chair-copy { padding: clamp(36px,6vw,78px); }
.chair-copy h2 { max-width: 720px; margin: 0 0 26px; color: var(--navy-900); font-size: clamp(2rem,3.7vw,3.5rem); line-height: 1.06; letter-spacing: -.045em; }
.chair-words { max-width: 760px; color: #3d4c62; font-size: 1.05rem; line-height: 1.85; }
.chair-words p { margin: 0 0 16px; }
.chair-signature { display: flex; align-items: flex-start; flex-direction: column; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.chair-signature strong { color: var(--navy-900); font-size: 1.04rem; }
.chair-signature > span { color: var(--muted); font-size: .82rem; }
.chair-signature .text-link { margin-top: 12px; font-size: .84rem; }

.official-filter { display: grid; grid-template-columns: minmax(260px,1.5fr) minmax(170px,.65fr) minmax(220px,1fr) auto; align-items: end; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.official-filter label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.official-filter input, .official-filter select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); border: 1px solid #cbd6e2; border-radius: 8px; background: white; }
.official-result-meta { display: flex; align-items: baseline; gap: 9px; margin: 22px 0 52px; color: var(--muted); font-size: .84rem; }
.official-result-meta strong { color: var(--navy-900); font-size: 1.35rem; }
.official-scope + .official-scope { margin-top: 90px; padding-top: 80px; border-top: 1px solid var(--line); }
.official-group + .official-group { margin-top: 48px; }
.official-group-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-900); }
.official-group-head h3 { margin: 0; color: var(--navy-900); font-size: 1.2rem; }
.official-group-head span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.official-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.official-card { display: grid; min-width: 0; grid-template-columns: 54px minmax(0,1fr); gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 4px 16px rgba(7,26,61,.04); transition: transform .18s, border-color .18s, box-shadow .18s; }
.official-card:hover { transform: translateY(-2px); border-color: #b7c8da; box-shadow: var(--shadow-sm); }
.official-avatar { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; color: var(--navy-950); border-radius: 50%; background: var(--gold-400); font-size: 1.1rem; font-weight: 900; }
.official-position { display: block; overflow: hidden; color: var(--red-600); font-size: .67rem; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.official-card h4 { margin: 5px 0 6px; color: var(--navy-900); font-size: .94rem; line-height: 1.32; }
.official-card h4 a:hover { color: var(--blue-600); }
.official-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.official-card small { display: block; margin-top: 9px; color: #758196; font-size: .61rem; line-height: 1.35; }
.empty-state { padding: 56px; border: 1px dashed #b9c7d6; border-radius: var(--radius-md); background: var(--surface-soft); text-align: center; }
.empty-state strong { color: var(--navy-900); font-size: 1.2rem; }
.empty-state p { margin: 7px 0 0; color: var(--muted); }

.official-profile-hero { padding: 86px 0; color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.official-profile-head { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 42px; min-width: 0; }
.official-profile-head > * { min-width: 0; }
.official-profile-avatar { display: flex; width: 180px; height: 180px; align-items: center; justify-content: center; color: var(--navy-950); border: 8px solid rgba(255,255,255,.18); border-radius: 50%; background: var(--gold-400); box-shadow: var(--shadow-md); font-size: 5rem; font-weight: 900; }
.official-profile-head h1 { max-width: 920px; margin: 0 0 12px; overflow-wrap: anywhere; font-size: clamp(2.2rem,4.2vw,4.2rem); line-height: 1.02; letter-spacing: -.05em; }
.official-profile-head p { margin: 0; color: #c8d5e6; font-size: 1.1rem; }
.official-profile-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); align-items: start; gap: 40px; }
.official-profile-main h2 { margin: 18px 0 8px; color: var(--navy-900); font-size: 2.2rem; }
.profile-source-note { max-width: 760px; margin: 0 0 34px; color: var(--muted); }
.appointment-timeline { display: grid; gap: 14px; }
.appointment-timeline > section { position: relative; padding: 24px 24px 24px 30px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.appointment-timeline > section::before { position: absolute; top: 25px; bottom: 25px; left: 0; width: 4px; content: ""; border-radius: 0 4px 4px 0; background: var(--gold-500); }
.appointment-timeline > section > span { color: var(--red-600); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.appointment-timeline h3 { margin: 5px 0; color: var(--navy-900); font-size: 1.2rem; }
.appointment-timeline p { margin: 0; color: var(--muted); font-size: .84rem; }
.appointment-timeline dl { display: grid; grid-template-columns: .7fr 1.3fr; gap: 14px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.appointment-timeline dl div { min-width: 0; }
.appointment-timeline dt { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.appointment-timeline dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: .78rem; font-weight: 700; }
.official-profile-aside { position: sticky; top: 110px; display: flex; align-items: center; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); text-align: center; }
.official-profile-aside img { object-fit: contain; }
.official-profile-aside strong { margin-top: 18px; color: var(--navy-900); }
.official-profile-aside p { color: var(--muted); font-size: .84rem; }
.official-profile-aside .button { margin-top: 12px; }

/* Public interior pages */
.page-hero { position: relative; overflow: hidden; padding: 110px 0 100px; color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.page-hero::after { position: absolute; top: -90px; right: -110px; width: 480px; height: 480px; content: ""; border: 80px solid rgba(255,255,255,.035); border-radius: 50%; }
.page-hero.compact { padding: 78px 0 70px; }
.page-hero h1 { max-width: 1000px; margin: 0 0 20px; font-size: clamp(2.5rem,5vw,4.8rem); line-height: 1.02; letter-spacing: -.055em; }
.page-hero.compact h1 { font-size: clamp(2.4rem,4.4vw,4rem); }
.page-hero p { max-width: 760px; margin: 0; color: #cbd6e7; font-size: 1.1rem; }
.page-hero-about { padding: 126px 0; }
.about-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.section-index { display: inline-flex; min-width: 46px; justify-content: center; padding: 6px 10px; color: white; border-radius: 99px; background: var(--red-600); font-size: .75rem; font-weight: 800; }
.about-intro h2, .methodology-grid h2 { margin: 20px 0 0; color: var(--navy-900); font-size: 2.2rem; line-height: 1.12; }
.prose { color: #37465d; font-size: 1.02rem; line-height: 1.8; }
.prose h2 { margin: 44px 0 15px; color: var(--navy-900); font-size: 1.8rem; line-height: 1.2; letter-spacing: -.03em; }
.lead-prose { font-size: 1.18rem; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle-grid article { padding: 32px; border: 1px solid #dce6f1; border-radius: var(--radius-md); background: white; }
.principle-grid article > span { color: var(--red-600); font-size: .78rem; font-weight: 800; }
.principle-grid h3 { margin: 28px 0 10px; color: var(--navy-900); font-size: 1.35rem; }
.principle-grid p { color: var(--muted); }
.table-wrap, .impact-table-wrap, .admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.data-table, .admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td, .admin-table th, .admin-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table th, .admin-table th { color: #58677c; background: #f6f8fa; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table td, .admin-table td { font-size: .85rem; }
.data-table tbody tr:last-child td, .admin-table tbody tr:last-child td { border-bottom: 0; }
.data-table small, .admin-table small { display: block; margin-top: 3px; color: var(--muted); }
.data-disclaimer { color: var(--muted); font-size: .78rem; }
.filter-bar { display: flex; align-items: stretch; gap: 10px; margin-bottom: 38px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.filter-bar select, .filter-bar input, .workspace-filter select, .workspace-filter input { min-height: 44px; padding: 9px 13px; color: var(--ink); border: 1px solid #ccd6e2; border-radius: 7px; background: white; }
.search-field { display: flex; min-width: 260px; flex: 1; align-items: center; gap: 10px; padding-left: 13px; color: var(--muted); border: 1px solid #ccd6e2; border-radius: 7px; }
.search-field input { width: 100%; padding-left: 0; border: 0; outline: 0; }
.listing-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.listing-heading h2 { margin: 0; color: var(--navy-900); }
.listing-heading span { color: var(--muted); font-size: .82rem; }
.publication-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.publication-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.publication-image { position: relative; display: block; height: 220px; overflow: hidden; background: var(--navy-900); }
.publication-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.publication-card:hover .publication-image img { transform: scale(1.035); }
.publication-image > span { position: absolute; bottom: 12px; left: 12px; padding: 5px 10px; color: white; border-radius: 99px; background: var(--red-600); font-size: .69rem; font-weight: 800; }
.publication-body { padding: 22px; }
.publication-body h2 { margin: 13px 0 8px; color: var(--navy-900); font-size: 1.22rem; line-height: 1.28; }
.publication-body p { color: var(--muted); font-size: .85rem; }
.empty-state { grid-column: 1/-1; padding: 60px 24px; text-align: center; border: 1px dashed #bdc9d7; border-radius: var(--radius-md); background: #fafbfd; }
.empty-state strong { color: var(--navy-900); font-size: 1.15rem; }
.empty-state p { margin: 5px 0 0; color: var(--muted); }
.empty-state.compact { padding: 32px 18px; }
.empty-state.dark { color: white; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.empty-state.dark strong { color: white; }
.article-header { padding: 74px 0 52px; background: var(--surface-blue); }
.article-heading { max-width: 950px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .78rem; }
.breadcrumb a { font-weight: 700; }
.content-type { display: inline-flex; margin-bottom: 16px; padding: 5px 10px; color: white; border-radius: 99px; background: var(--red-600); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.article-heading h1 { margin: 0 0 20px; color: var(--navy-900); font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1.03; letter-spacing: -.055em; }
.article-deck { max-width: 800px; color: #52627a; font-size: 1.17rem; }
.article-meta { display: grid; max-width: 820px; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 35px; padding-top: 25px; border-top: 1px solid #cfdae6; }
.article-meta div { display: flex; flex-direction: column; }
.article-meta span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.article-meta strong { color: var(--navy-900); font-size: .85rem; }
.verified-inline { color: var(--green-600) !important; }
.article-cover { max-width: 1180px; height: 540px; overflow: hidden; margin-top: 48px; border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; max-width: 1080px; grid-template-columns: 280px 1fr; gap: 70px; padding-top: 68px; padding-bottom: 90px; }
.source-panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-blue); }
.source-panel h2 { margin: 12px 0 18px; color: var(--navy-900); font-size: 1.1rem; }
.source-level { display: inline-flex; padding: 4px 8px; color: #146343; border-radius: 99px; background: var(--green-100); font-size: .68rem; font-weight: 800; }
.source-panel dl { margin: 0; }
.source-panel dl div { padding: 12px 0; border-top: 1px solid #d9e4ee; }
.source-panel dt { color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.source-panel dd { margin: 3px 0 0; color: var(--ink); font-size: .78rem; font-weight: 700; }
.article-rail > .button { margin-top: 12px; }
.editorial-label { margin-bottom: 28px; padding: 17px 20px; border-left: 4px solid var(--gold-500); background: var(--gold-100); }
.editorial-label span { font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.editorial-label p { margin: 3px 0 0; font-size: .82rem; }
.correction-box { margin-top: 48px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.correction-box h2 { margin-top: 0; font-size: 1.15rem; }
.correction-box p { font-size: .84rem; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.related-card { display: flex; min-height: 220px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.related-card > span { color: var(--red-600); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.related-card h3 { color: var(--navy-900); font-size: 1.15rem; }
.related-card strong { margin-top: auto; color: var(--blue-600); font-size: .82rem; }

/* Academy */
.academy-hero { overflow: hidden; color: white; background: linear-gradient(135deg, #061a3f, #123a76); }
.academy-hero-grid { display: grid; min-height: 530px; grid-template-columns: 1fr .9fr; align-items: center; gap: 50px; }
.academy-hero h1 { max-width: 740px; margin: 0 0 20px; font-size: clamp(2.7rem,5vw,4.8rem); line-height: 1.02; letter-spacing: -.055em; }
.academy-hero p { max-width: 640px; color: #c9d5e7; font-size: 1.07rem; }
.academy-hero img { width: 112%; max-width: none; height: 420px; object-fit: cover; border-radius: 24px 0 0 24px; box-shadow: var(--shadow-md); }
.academy-proof { border-bottom: 1px solid var(--line); background: white; }
.academy-proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.academy-proof-grid div { display: flex; min-height: 100px; flex-direction: column; justify-content: center; padding: 20px 28px; border-right: 1px solid var(--line); }
.academy-proof-grid div:first-child { padding-left: 0; }
.academy-proof-grid div:last-child { border-right: 0; }
.academy-proof strong { color: var(--navy-900); font-size: 1.45rem; }
.academy-proof span { color: var(--muted); font-size: .75rem; }
.course-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.course-card { display: grid; min-height: 280px; grid-template-columns: 42% 58%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.course-image { position: relative; overflow: hidden; background: var(--navy-900); }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.course-card:hover img { transform: scale(1.035); }
.course-image span { position: absolute; top: 14px; left: 14px; padding: 5px 9px; color: var(--navy-950); border-radius: 99px; background: var(--gold-400); font-size: .68rem; font-weight: 800; }
.course-body { display: flex; flex-direction: column; padding: 23px; }
.course-meta, .course-stats { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .7rem; }
.course-body h2 { margin: 13px 0 9px; color: var(--navy-900); font-size: 1.2rem; line-height: 1.25; }
.course-body > p { color: var(--muted); font-size: .82rem; }
.course-stats { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.course-stats span:first-child { color: #9c6a07; }
.course-hero { padding: 65px 0; color: white; background: linear-gradient(135deg,var(--navy-950),var(--navy-700)); }
.course-hero-grid { display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 70px; }
.breadcrumb-light { color: #b8c6dc; }
.course-badges { display: flex; gap: 8px; }
.course-badges span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; font-size: .7rem; font-weight: 800; }
.course-hero h1 { margin: 20px 0; font-size: clamp(2.4rem,4.5vw,4.2rem); line-height: 1.03; letter-spacing: -.05em; }
.course-hero-grid > div:first-child > p { max-width: 740px; color: #cbd7e8; font-size: 1.05rem; }
.course-hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 25px; color: #d6dfed; font-size: .82rem; font-weight: 700; }
.enroll-card { padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-md); background: rgba(255,255,255,.09); box-shadow: var(--shadow-md); }
.enroll-card img { width: 100%; height: 180px; margin-bottom: 18px; border-radius: 9px; object-fit: cover; }
.enrollment-progress { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: .8rem; }
.progress-track.light { background: rgba(255,255,255,.2); }
.enroll-card form, .enroll-card > .button { margin-top: 15px; }
.enroll-card > small { display: block; margin-top: 12px; color: #c8d3e4; text-align: center; }
.course-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 70px; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 29px; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: flex; width: 19px; height: 19px; align-items: center; justify-content: center; content: "✓"; color: white; border-radius: 50%; background: var(--green-600); font-size: .65rem; font-weight: 800; }
.lesson-list { border: 1px solid var(--line); border-radius: var(--radius-md); }
.lesson-list article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.lesson-list article:last-child { border-bottom: 0; }
.lesson-list article > span:first-child { color: var(--blue-600); font-size: .72rem; font-weight: 800; }
.lesson-list div { display: flex; flex-direction: column; }
.lesson-list small { color: var(--muted); }
.course-facts { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.course-facts h2 { margin: 0 0 16px; color: var(--navy-900); font-size: 1.15rem; }
.course-facts dl { margin: 0; }
.course-facts dl div { padding: 13px 0; border-top: 1px solid var(--line); }
.course-facts dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.course-facts dd { margin: 3px 0 0; font-size: .82rem; font-weight: 650; }

/* Observatory */
.observatory-hero { padding: 64px 0 34px; color: white; background: var(--navy-950); }
.observatory-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.observatory-heading h1 { margin: 0 0 14px; font-size: clamp(2.5rem,5vw,4.6rem); line-height: 1; letter-spacing: -.05em; }
.observatory-heading p { color: #c3d0e2; }
.freshness { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); }
.freshness div { display: flex; flex-direction: column; }
.freshness small { color: #aebbd0; }
.dashboard-filter { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 10px; margin-top: 35px; padding: 14px; border-radius: var(--radius-md); background: rgba(255,255,255,.08); }
.dashboard-filter label { color: #bac7da; font-size: .7rem; font-weight: 700; }
.dashboard-filter select { width: 100%; min-height: 44px; margin-top: 5px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: white; }
.dashboard-section { padding-top: 40px; }
.dashboard-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 13px 16px; color: #72500c; border: 1px solid #ecd99e; border-radius: var(--radius-sm); background: var(--gold-100); font-size: .78rem; }
.dashboard-notice a { margin-left: auto; font-weight: 800; }
.observatory-metrics { grid-template-columns: repeat(3,1fr); }
.observatory-metrics .metric-card { min-height: 310px; }
.mini-bar { height: 7px; overflow: hidden; border-radius: 99px; background: #e8edf2; }
.mini-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue-600),var(--gold-500)); }
.metric-card details { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .78rem; }
.metric-card summary { color: var(--blue-600); font-weight: 800; }
.metric-card details p { color: var(--muted); }
.impact-table td:first-child { min-width: 320px; }
.impact-table td:last-child { min-width: 170px; }
.table-progress { display: inline-block; width: 115px; height: 6px; overflow: hidden; margin-right: 8px; border-radius: 99px; background: #e7ecf2; }
.table-progress span { display: block; height: 100%; background: var(--green-600); }
.methodology-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }

/* Directory, library, forms */
.org-root { max-width: 900px; margin-inline: auto; }
.org-node { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.org-node-root { max-width: 650px; margin-inline: auto; border-color: #b5c8dd; background: var(--surface-blue); }
.org-node img { width: 66px; height: 66px; object-fit: contain; }
.org-node > div { display: flex; flex: 1; flex-direction: column; }
.org-node small { color: var(--blue-600); font-weight: 800; }
.org-node strong { color: var(--navy-900); }
.org-node span { color: var(--muted); font-size: .78rem; }
.org-monogram { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; color: white !important; border-radius: 50%; background: var(--navy-800); font-weight: 800; }
.org-connector { width: 2px; height: 40px; margin-inline: auto; background: #bdcbd9; }
.org-branch { margin-bottom: 25px; }
.org-children { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 16px 25px 0; }
.org-children div { display: flex; min-height: 110px; flex-direction: column; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.org-children strong { color: var(--navy-900); font-size: .84rem; }
.org-children span, .org-children small { color: var(--muted); font-size: .7rem; }
.org-children small { margin-top: auto; color: var(--blue-600); font-weight: 800; }
.document-list { display: grid; gap: 12px; }
.document-list article { display: grid; grid-template-columns: 58px 1fr auto auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.document-icon { display: flex; width: 54px; height: 64px; align-items: center; justify-content: center; color: white; border-radius: 5px 5px 10px 5px; background: var(--red-600); font-size: .72rem; font-weight: 800; }
.document-copy h2 { margin: 6px 0 2px; color: var(--navy-900); font-size: 1rem; }
.document-copy p, .document-copy small { margin: 0; color: var(--muted); font-size: .74rem; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--blue-600); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.expert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.expert-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.expert-avatar { display: flex; width: 66px; height: 66px; align-items: center; justify-content: center; margin-bottom: 18px; color: white; border-radius: 50%; background: linear-gradient(135deg,var(--navy-800),var(--blue-600)); font-size: 1.15rem; font-weight: 800; }
.expert-header { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .68rem; }
.expert-card h2 { margin: 16px 0 2px; color: var(--navy-900); font-size: 1.06rem; line-height: 1.27; }
.expert-card > strong { color: var(--blue-600); font-size: .78rem; }
.expert-card p { color: var(--muted); font-size: .78rem; }
.expert-card .button { margin-top: auto; }
.form-section { background: var(--surface-soft); }
.form-layout { display: grid; grid-template-columns: 1fr 330px; align-items: start; gap: 28px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.form-panel { padding: 32px; }
.form-step { display: flex; align-items: center; gap: 12px; margin: 28px 0 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.form-step:first-of-type { margin-top: 0; }
.form-step > span { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: white; border-radius: 50%; background: var(--navy-800); font-size: .7rem; font-weight: 800; }
.form-step > div { display: flex; flex-direction: column; }
.form-step small { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.form-panel > label, .field-grid label, .lookup-form label, .login-panel label { display: flex; flex-direction: column; margin-bottom: 17px; color: var(--ink); font-size: .82rem; font-weight: 700; }
.form-panel label > span, .login-panel label > span { color: var(--red-600); }
.form-panel input, .form-panel select, .form-panel textarea, .lookup-form input, .login-panel input { width: 100%; min-height: 46px; margin-top: 5px; padding: 10px 12px; color: var(--ink); border: 1px solid #c7d2df; border-radius: 7px; background: white; }
.form-panel textarea { resize: vertical; }
.field-help { color: var(--muted); text-align: right; }
.check-control { display: grid !important; grid-template-columns: 22px 1fr; flex-direction: unset !important; align-items: start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fafbfc; }
.check-control input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; }
.check-control span { display: flex; flex-direction: column; color: var(--ink) !important; }
.check-control small { color: var(--muted); font-weight: 400; }
.check-control strong span { display: inline; color: var(--red-600) !important; }
.form-aside { display: grid; gap: 16px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.aside-card > span { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: white; border-radius: 50%; background: var(--red-600); font-weight: 800; }
.aside-card h2 { margin: 15px 0 8px; color: var(--navy-900); font-size: 1.05rem; }
.aside-card p, .aside-card li { color: var(--muted); font-size: .8rem; }
.aside-card ol { padding-left: 18px; }
.error-summary { margin-bottom: 18px; padding: 14px 16px; color: #8f1e27; border: 1px solid #efb9be; border-radius: var(--radius-sm); background: var(--red-100); }
.error-summary ul { margin: 6px 0 0; padding-left: 18px; }
.ticket-success { display: flex; gap: 15px; margin-bottom: 25px; padding: 18px; color: #155e40; border: 1px solid #a8dec5; border-radius: var(--radius-sm); background: var(--green-100); }
.ticket-success > span { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: white; border-radius: 50%; background: var(--green-600); }
.ticket-success div { display: flex; flex-direction: column; }
.ticket-success p { margin: 2px 0; }
.ticket-success code { color: var(--navy-900); font-size: 1.15rem; font-weight: 800; }
.ticket-success a { margin-top: 4px; font-weight: 800; }
.lookup-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; margin-bottom: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.lookup-form label { margin: 0; }
.lookup-result { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.lookup-head { display: flex; align-items: center; justify-content: space-between; }
.lookup-head div { display: flex; flex-direction: column; }
.lookup-head span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.lookup-result h2 { margin: 25px 0 5px; color: var(--navy-900); }
.lookup-result > p { color: var(--muted); }
.tracking-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding: 0; margin-top: 30px; list-style: none; }
.tracking-steps li { position: relative; display: flex; align-items: center; flex-direction: column; gap: 7px; color: #96a1af; text-align: center; }
.tracking-steps li::after { position: absolute; top: 16px; left: 55%; width: 90%; height: 2px; content: ""; background: #dbe1e8; }
.tracking-steps li:last-child::after { display: none; }
.tracking-steps li > span { position: relative; z-index: 1; display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 2px solid #cdd6df; border-radius: 50%; background: white; font-size: .72rem; font-weight: 800; }
.tracking-steps li.complete { color: var(--navy-900); }
.tracking-steps li.complete > span { color: white; border-color: var(--green-600); background: var(--green-600); }
.tracking-steps li.complete::after { background: var(--green-600); }
.certificate-page { min-height: 760px; padding: 80px 0 100px; color: white; background: radial-gradient(circle at 50% 20%, #153f78, var(--navy-950) 65%); }
.certificate-heading { display: flex; align-items: center; flex-direction: column; text-align: center; }
.certificate-heading img { margin-bottom: 15px; border-radius: 50%; background: white; }
.certificate-heading h1 { margin: 0; font-size: clamp(2.5rem,5vw,4.2rem); line-height: 1; letter-spacing: -.05em; }
.certificate-heading p { color: #c2cee0; }
.certificate-lookup { margin-top: 30px; color: var(--ink); border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.09); backdrop-filter: blur(12px); }
.certificate-lookup label { color: white; }
.certificate-result { position: relative; margin-top: 24px; padding: 40px; overflow: hidden; color: var(--ink); text-align: center; border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-md); }
.certificate-result::before, .certificate-result::after { position: absolute; width: 120px; height: 120px; content: ""; border: 16px solid rgba(215,170,57,.16); border-radius: 50%; }
.certificate-result::before { top: -60px; left: -60px; }
.certificate-result::after { right: -60px; bottom: -60px; }
.certificate-seal { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin: 0 auto 15px; color: white; border-radius: 50%; background: var(--green-600); font-size: 1.5rem; }
.certificate-result h2 { margin: 18px 0 0; color: var(--navy-900); font-size: 1.8rem; }
.certificate-result > p { margin: 3px 0; color: var(--muted); }
.certificate-result > strong { color: var(--blue-600); font-size: 1.1rem; }
.certificate-result dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.certificate-result dl div { display: flex; flex-direction: column; }
.certificate-result dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.certificate-result dd { margin: 3px 0 0; font-size: .82rem; font-weight: 800; }
.demo-hint { color: #b9c7dc; text-align: center; }
.demo-hint code { color: var(--gold-400); }
.global-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.global-search label { display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #bcc9d7; border-radius: 9px; }
.global-search input { width: 100%; min-height: 54px; border: 0; outline: 0; font-size: 1.05rem; }
.search-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.search-summary h2 { margin: 0; color: var(--navy-900); }
.search-summary span { color: var(--muted); }
.search-results { display: grid; }
.search-results > a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: 22px 10px; border-bottom: 1px solid var(--line); }
.search-results > a > span { color: var(--red-600); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.search-results h3 { margin: 0 0 3px; color: var(--navy-900); }
.search-results p { margin: 0; color: var(--muted); font-size: .84rem; }
.search-results b { color: var(--blue-600); }
.login-page { display: grid; min-height: calc(100vh - 114px); grid-template-columns: 1fr 520px; }
.login-visual { display: flex; align-items: flex-end; padding: 70px; color: white; background: linear-gradient(to top, rgba(4,17,44,.98),rgba(4,17,44,.25)), url("../images/hero-ecosystem.png") center/cover; }
.login-visual h1 { max-width: 720px; margin: 0 0 20px; font-size: clamp(2.6rem,4.5vw,4.5rem); line-height: 1; letter-spacing: -.05em; }
.login-visual p { max-width: 650px; color: #c7d3e4; }
.login-panel { display: flex; align-items: center; padding: 56px; background: white; }
.login-panel form { width: 100%; }
.login-panel img { margin-bottom: 18px; }
.login-panel h2 { margin: 0 0 5px; color: var(--navy-900); font-size: 2rem; }
.login-panel > form > p { margin: 0 0 24px; color: var(--muted); }
.password-field { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 5px; border: 1px solid #c7d2df; border-radius: 7px; overflow: hidden; }
.password-field input { margin: 0; border: 0; }
.password-field button { height: 100%; padding: 0 14px; color: var(--blue-600); border: 0; background: white; font-size: .75rem; font-weight: 800; }
.inline-check { display: flex !important; align-items: center; flex-direction: row !important; gap: 9px; }
.inline-check input { width: 17px !important; min-height: 0 !important; margin: 0 !important; }
.inline-check span { color: var(--ink) !important; }
.demo-account { display: flex; flex-direction: column; margin-top: 16px; padding: 13px; color: #71510f; border-radius: 8px; background: var(--gold-100); font-size: .76rem; }
.back-link { display: block; margin-top: 22px; color: var(--blue-600); font-size: .8rem; font-weight: 800; text-align: center; }

/* Footer */
.site-footer { padding-top: 70px; color: #c3cfe0; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .8fr); gap: 45px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-brand img { padding: 5px; border-radius: 50%; background: white; }
.footer-brand strong { color: white; font-size: 1.2rem; }
.footer-brand p { max-width: 360px; margin: 5px 0 0; font-size: .82rem; }
.site-footer section:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { margin: 0 0 7px; color: white; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a, .site-footer p { margin: 0; font-size: .78rem; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }

/* Workspace shell */
.workspace-body { background: #f2f5f8; }
.workspace-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; display: flex; width: 252px; flex-direction: column; color: #c4d0e1; background: var(--navy-950); }
.workspace-brand { display: flex; min-height: 80px; align-items: center; gap: 11px; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.workspace-brand img { width: 50px; height: 50px; padding: 3px; border-radius: 50%; background: white; object-fit: contain; }
.workspace-brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.workspace-brand strong { color: white; font-size: .96rem; letter-spacing: .03em; }
.workspace-brand small { margin-top: 5px; color: var(--gold-400); font-size: .63rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.workspace-nav { display: flex; flex: 1; flex-direction: column; gap: 4px; overflow-y: auto; padding: 14px 12px; }
.nav-section { margin: 16px 10px 4px; color: #71819a; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-section:first-child { margin-top: 3px; }
.workspace-nav a { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 7px; font-size: .79rem; font-weight: 650; }
.workspace-nav a > span { display: flex; width: 25px; height: 25px; align-items: center; justify-content: center; color: #9cafc7; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; font-size: .7rem; font-weight: 800; }
.workspace-nav a:hover { color: white; background: rgba(255,255,255,.06); }
.workspace-nav a.active { color: white; background: var(--blue-600); }
.workspace-nav a.active > span { color: var(--navy-950); border-color: var(--gold-400); background: var(--gold-400); }
.sidebar-footer { padding: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.sidebar-user > span { display: flex; width: 36px; height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--navy-950); border-radius: 50%; background: var(--gold-400); font-size: .8rem; font-weight: 800; }
.sidebar-user > div { display: flex; min-width: 0; flex-direction: column; }
.sidebar-user strong { overflow: hidden; color: white; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { color: #8fa1ba; font-size: .62rem; }
.sidebar-footer form { margin-top: 10px; }
.sidebar-footer button { width: 100%; padding: 7px; color: #9fadc1; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: transparent; font-size: .7rem; }
.workspace-shell { min-height: 100vh; margin-left: 252px; }
.workspace-topbar { position: sticky; top: 0; z-index: 80; display: flex; min-height: 68px; align-items: center; gap: 18px; padding: 10px 26px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.sidebar-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.workspace-search { display: flex; max-width: 520px; flex: 1; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); border: 1px solid #d2dae4; border-radius: 8px; background: #f8fafc; }
.workspace-search input { width: 100%; height: 40px; border: 0; outline: 0; background: transparent; font-size: .8rem; }
.workspace-search kbd { padding: 2px 7px; border: 1px solid #d2dae4; border-radius: 4px; background: white; font-size: .65rem; }
.scope-selector { display: flex; flex-direction: column; padding: 0 16px; border-left: 1px solid var(--line); }
.scope-selector span { color: var(--muted); font-size: .61rem; text-transform: uppercase; }
.scope-selector strong { color: var(--navy-900); font-size: .73rem; }
.topbar-link { color: var(--blue-600); font-size: .76rem; font-weight: 800; }
.notification-button { position: relative; display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: white; }
.notification-button b { position: absolute; top: -3px; right: -3px; display: flex; width: 18px; height: 18px; align-items: center; justify-content: center; color: white; border: 2px solid white; border-radius: 50%; background: var(--red-600); font-size: .55rem; }
.workspace-flash { padding: 10px 26px; color: #155b3d; background: var(--green-100); }
.workspace-main { max-width: 1600px; margin-inline: auto; padding: 30px; }
.workspace-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.workspace-kicker { display: block; margin-bottom: 4px; color: var(--blue-600); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.workspace-page-head h1 { margin: 0; color: var(--navy-900); font-size: clamp(1.85rem,3vw,2.7rem); line-height: 1.05; letter-spacing: -.04em; }
.workspace-page-head p { margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.page-head-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.workspace-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.workspace-metrics article { display: flex; align-items: center; gap: 14px; min-height: 118px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 3px 13px rgba(7,26,61,.035); }
.metric-icon { display: flex; width: 45px; height: 45px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 10px; font-weight: 800; }
.metric-icon.blue { color: var(--blue-600); background: var(--blue-100); }
.metric-icon.red { color: var(--red-600); background: var(--red-100); }
.metric-icon.green { color: var(--green-600); background: var(--green-100); }
.metric-icon.gold { color: #8b620d; background: var(--gold-100); }
.workspace-metrics article > div { display: flex; min-width: 0; flex-direction: column; }
.workspace-metrics small { color: var(--muted); font-size: .65rem; text-transform: uppercase; }
.workspace-metrics strong { color: var(--navy-900); font-size: 1.5rem; line-height: 1.2; }
.workspace-metrics p { margin: 5px 0 0; color: var(--muted); font-size: .67rem; }
.workspace-metrics p b { color: var(--green-600); }
.workspace-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.workspace-two-column.newsroom-grid { grid-template-columns: 1.45fr .55fr; }
.workspace-two-column.lower { margin-top: 18px; }
.workspace-three-column { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 18px; }
.span-two { grid-column: span 2; }
.workspace-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 3px 13px rgba(7,26,61,.035); }
.workspace-panel.lower { margin-top: 18px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.panel-heading > div { display: flex; flex-direction: column; }
.panel-heading span { color: var(--muted); font-size: .61rem; font-weight: 700; text-transform: uppercase; }
.panel-heading h2 { margin: 2px 0 0; color: var(--navy-900); font-size: 1.05rem; }
.panel-heading > a { color: var(--blue-600); font-size: .69rem; font-weight: 800; }
.task-list.compact { display: grid; }
.task-list.compact > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); }
.module-chip { display: inline-flex; min-width: 38px; min-height: 25px; align-items: center; justify-content: center; padding: 3px 7px; color: var(--blue-600); border-radius: 5px; background: var(--blue-100); font-size: .65rem; font-weight: 800; }
.task-list.compact > a > div { display: flex; min-width: 0; flex-direction: column; }
.task-list.compact strong { overflow: hidden; color: var(--ink); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.task-list.compact small { color: var(--muted); font-size: .63rem; }
.workspace-indicators { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.workspace-indicators > div { display: flex; flex-direction: column; }
.workspace-indicators > div > span { color: var(--muted); font-size: .68rem; }
.workspace-indicators > div > strong { color: var(--navy-900); font-size: 1.45rem; }
.workspace-indicators > div > strong small { font-size: .65rem; }
.module-health-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.module-health-grid a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.module-health-grid a:hover { border-color: #aebfd2; background: var(--surface-soft); }
.module-health-grid a > div { display: flex; min-width: 0; flex-direction: column; }
.module-health-grid strong { color: var(--navy-900); font-size: .7rem; }
.module-health-grid small { overflow: hidden; color: var(--muted); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.module-health-grid b { color: var(--green-600); font-size: .68rem; }
.module-dot, .health-dot { display: block; width: 8px; height: 8px; border-radius: 50%; }
.module-dot.blue, .health-dot.blue { background: var(--blue-600); }
.module-dot.red, .health-dot.red { background: var(--red-600); }
.module-dot.green, .health-dot.green { background: var(--green-600); }
.module-dot.gold, .health-dot.gold { background: var(--gold-500); }
.programme-list-compact, .audit-feed { display: grid; }
.programme-list-compact > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); }
.programme-initial { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: white; border-radius: 7px; background: var(--navy-800); font-size: .7rem; font-weight: 800; }
.programme-list-compact > div > div { display: flex; min-width: 0; flex-direction: column; }
.programme-list-compact strong { font-size: .73rem; }
.programme-list-compact small { color: var(--muted); font-size: .61rem; }
.programme-list-compact .progress-track { height: 4px; margin-top: 5px; }
.programme-list-compact b { color: var(--blue-600); font-size: .68rem; }
.audit-feed > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.audit-marker { width: 9px; height: 9px; margin-top: 5px; border: 2px solid white; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 2px var(--blue-100); }
.audit-feed > div > div { display: flex; flex-direction: column; }
.audit-feed strong { color: var(--ink); font-size: .7rem; font-weight: 650; }
.audit-feed small { color: var(--muted); font-size: .6rem; }

/* Workspace modules */
.workspace-filter { display: flex; gap: 9px; margin-bottom: 20px; }
.workspace-filter label { display: flex; min-width: 280px; flex: 1; align-items: center; gap: 9px; padding-left: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: white; }
.workspace-filter label input { width: 100%; border: 0; }
.module-register-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.module-register-card { display: flex; min-height: 295px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 3px 13px rgba(7,26,61,.035); transition: transform .18s, box-shadow .18s; }
.module-register-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.module-register-top { display: flex; align-items: center; justify-content: space-between; }
.module-code { display: inline-flex; min-width: 48px; height: 31px; align-items: center; justify-content: center; border-radius: 7px; font-size: .72rem; font-weight: 900; }
.module-code.blue { color: var(--blue-600); background: var(--blue-100); }
.module-code.red { color: var(--red-600); background: var(--red-100); }
.module-code.green { color: var(--green-600); background: var(--green-100); }
.module-code.gold { color: #87600f; background: var(--gold-100); }
.module-code.large { width: 70px; height: 70px; flex: 0 0 auto; font-size: 1.05rem; }
.module-register-card > small { margin-top: 17px; color: var(--muted); font-size: .62rem; text-transform: uppercase; }
.module-register-card h2 { margin: 4px 0 8px; color: var(--navy-900); font-size: 1.12rem; line-height: 1.2; }
.module-register-card p { color: var(--muted); font-size: .75rem; }
.module-progress-label { display: flex; justify-content: space-between; margin-top: auto; color: var(--muted); font-size: .63rem; }
.module-progress-label strong { color: var(--navy-900); }
.module-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; }
.module-card-footer b { color: var(--blue-600); }
.module-detail-head { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.module-detail-head > div:nth-child(2) { flex: 1; }
.module-detail-head h1 { margin: 0; color: var(--navy-900); font-size: 2rem; letter-spacing: -.04em; }
.module-detail-head p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.module-readiness { width: 170px; flex-shrink: 0; }
.module-readiness > span { color: var(--muted); font-size: .65rem; }
.module-readiness > strong { float: right; color: var(--navy-900); }
.capability-list { display: grid; }
.capability-list > div { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.capability-list > div > span:first-child { color: var(--blue-600); font-size: .68rem; font-weight: 800; }
.capability-list > div > div { display: flex; flex-direction: column; }
.capability-list strong { font-size: .78rem; }
.capability-list small { color: var(--muted); font-size: .62rem; }
.screen-list { display: grid; }
.screen-list > div { display: grid; grid-template-columns: auto 1fr; gap: 9px; padding: 12px 0; border-top: 1px solid var(--line); }
.screen-list > div > span { grid-row: span 2; color: var(--blue-600); }
.screen-list strong { font-size: .75rem; }
.screen-list small { color: var(--muted); font-size: .6rem; }
.simple-task { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
.simple-task > div { display: flex; flex-direction: column; }
.simple-task strong { font-size: .76rem; }
.simple-task small { color: var(--muted); font-size: .63rem; }

/* Workspace specialist pages */
.newsroom-pipeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-bottom: 18px; }
.newsroom-pipeline > div { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.pipeline-index { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: white; border-radius: 8px; font-size: .7rem; font-weight: 800; }
.pipeline-index.blue { background: var(--blue-600); }
.pipeline-index.gold { color: var(--navy-950); background: var(--gold-400); }
.pipeline-index.red { background: var(--red-600); }
.pipeline-index.green { background: var(--green-600); }
.pipeline-index.navy { background: var(--navy-900); }
.newsroom-pipeline div > div { display: flex; flex-direction: column; }
.newsroom-pipeline strong { font-size: .72rem; }
.newsroom-pipeline small { color: var(--muted); font-size: .6rem; }
.newsroom-pipeline b { position: absolute; right: -10px; z-index: 2; color: #9ba8b8; }
.source-level-inline { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; margin-right: 6px; color: #146343; border-radius: 50%; background: var(--green-100); font-size: .65rem; font-weight: 800; }
.check-stack { display: flex; flex-direction: column; color: var(--muted); font-size: .63rem; }
.check-stack .done { color: var(--green-600); font-weight: 700; }
.source-list { display: grid; }
.source-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid var(--line); }
.source-list > div > div { display: flex; min-width: 0; flex-direction: column; }
.source-list strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.source-list small { color: var(--muted); font-size: .58rem; }
.file-type { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: white; border-radius: 6px; background: var(--red-600); font-size: .55rem; font-weight: 800; }
.governance-note { margin-top: 18px; padding: 14px; color: #6f500e; border-radius: 8px; background: var(--gold-100); }
.governance-note p { margin: 3px 0 0; font-size: .68rem; }
.quality-dots { display: flex; gap: 4px; }
.quality-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); }
.live-state { display: inline-flex; align-items: center; gap: 7px; color: var(--green-600); font-size: .72rem; font-weight: 800; }
.live-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.control-banner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; margin-bottom: 18px; padding: 26px 32px; color: white; border-radius: var(--radius-md); background: linear-gradient(135deg,var(--navy-950),var(--navy-700)); }
.control-banner > div:first-child { display: flex; flex-direction: column; }
.control-banner > div:first-child > span { color: #b8c6da; font-size: .68rem; text-transform: uppercase; }
.control-banner > div:first-child > strong { color: var(--gold-400); font-size: 3.3rem; line-height: 1.1; }
.control-banner > div:first-child > strong small { color: #aebcd0; font-size: .9rem; }
.control-banner p { margin: 3px 0 0; color: #b9c6d8; font-size: .7rem; }
.readiness-ring { display: flex; width: 110px; height: 110px; align-items: center; justify-content: center; border-radius: 50%; background: conic-gradient(var(--gold-400) calc(var(--value)*1%), rgba(255,255,255,.12) 0); }
.readiness-ring::before { position: absolute; width: 84px; height: 84px; content: ""; border-radius: 50%; background: var(--navy-800); }
.readiness-ring span { position: relative; z-index: 1; font-size: .9rem; font-weight: 800; }
.control-banner-items { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.control-banner-items span { display: flex; flex-direction: column; color: #adbbcf; font-size: .62rem; }
.control-banner-items b { color: white; font-size: 1.4rem; }
.control-indicator-list, .portfolio-health { display: grid; }
.control-indicator-list > div, .portfolio-health > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.control-indicator-list > div > div, .portfolio-health > div > div { display: flex; flex-direction: column; }
.control-indicator-list strong, .portfolio-health strong { font-size: .74rem; }
.control-indicator-list small, .portfolio-health small { color: var(--muted); font-size: .6rem; }
.control-indicator-list > div > b { color: var(--navy-900); font-size: 1.05rem; }
.portfolio-health > div { grid-template-columns: auto 1fr auto; }
.portfolio-health > div > b { color: var(--green-600); font-size: .72rem; }
.unit-status-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.unit-status-grid > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; }
.unit-status-grid > div > div { display: flex; min-width: 0; flex-direction: column; }
.unit-status-grid strong { overflow: hidden; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.unit-status-grid small { color: var(--muted); font-size: .58rem; }
.unit-level { display: inline-flex; width: 38px; min-height: 25px; align-items: center; justify-content: center; color: var(--blue-600); border-radius: 5px; background: var(--blue-100); font-size: .61rem; font-weight: 800; }
.admin-org-tree { display: grid; gap: 7px; }
.admin-org-tree > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; }
.admin-org-tree .level-dpw { margin-left: 22px; }
.admin-org-tree .level-dpd { margin-left: 44px; }
.admin-org-tree > div > div { display: flex; flex-direction: column; }
.admin-org-tree strong { font-size: .72rem; }
.admin-org-tree small { color: var(--muted); font-size: .6rem; }
.admin-org-tree b { color: var(--muted); font-size: .62rem; }
.compliance-list { display: grid; }
.compliance-list > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: .72rem; }
.compliance-list span { color: var(--muted); }
.task-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; align-items: start; }
.task-column { min-height: 420px; padding: 10px; border-radius: 10px; background: #f4f6f8; }
.task-column-head { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 12px; }
.task-column-head h2 { margin: 0; color: var(--navy-900); font-size: .82rem; }
.task-column-head span { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: var(--muted); border-radius: 50%; background: white; font-size: .65rem; font-weight: 800; }
.task-card { margin-bottom: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 2px 8px rgba(7,26,61,.03); }
.task-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.task-card h3 { margin: 13px 0 6px; color: var(--ink); font-size: .76rem; line-height: 1.35; }
.task-card p, .task-card small { display: block; margin: 0; color: var(--muted); font-size: .61rem; }
.task-card form { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.task-card select { width: 100%; padding: 6px; border: 1px solid #cdd6df; border-radius: 6px; background: white; font-size: .65rem; }
.empty-column { padding: 30px 10px; color: #9ba6b4; text-align: center; font-size: .68rem; }

/* Responsive */
@media (max-width: 1180px) {
    .primary-nav a { padding-inline: 7px; font-size: .8rem; }
    .header-actions .button { display: none; }
    .primary-nav .account-nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin-left: 4px; padding: 7px 12px; color: white; border-radius: 7px; background: var(--navy-800); font-weight: 800; white-space: nowrap; }
    .primary-nav .account-nav-link:hover { color: white; background: var(--navy-900); }
    .primary-nav .account-nav-link::after { display: none; }
    .gateway-grid { grid-template-columns: repeat(2,1fr); }
    .gateway-featured { grid-column: span 2; }
    .metric-grid, .programme-grid { grid-template-columns: repeat(2,1fr); }
    .expert-grid { grid-template-columns: repeat(2,1fr); }
    .official-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .official-filter { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .official-filter .button { width: fit-content; }
    .workspace-metrics { grid-template-columns: repeat(2,1fr); }
    .module-health-grid { grid-template-columns: repeat(3,1fr); }
    .module-register-grid { grid-template-columns: repeat(2,1fr); }
    .unit-status-grid { grid-template-columns: repeat(2,1fr); }
    .task-board { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
    .header-inner { grid-template-columns: auto auto 1fr; }
    .nav-toggle { display: flex; }
    .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; padding: 12px 20px 22px; border-top: 1px solid var(--line); background: white; box-shadow: var(--shadow-md); }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
    .primary-nav a::after { display: none; }
    .primary-nav .account-nav-link { min-height: 42px; margin: 12px 0 0; border-bottom: 0; }
    .header-actions { justify-self: end; }
    .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
    .hero-visual { min-height: 420px; }
    .hero-visual > img { right: 0; width: 100%; }
    .gateway-grid, .news-grid { grid-template-columns: 1fr; }
    .gateway-featured { grid-column: auto; }
    .gateway, .gateway-featured { min-height: 430px; }
    .news-card, .news-card-featured { display: grid; grid-template-columns: 40% 60%; }
    .news-card > a, .news-card-featured > a { height: 100%; }
    .network-cta { grid-template-columns: 1fr; }
    .chair-message { grid-template-columns: 1fr; }
    .chair-mark { min-height: 360px; }
    .official-profile-layout { grid-template-columns: 1fr; }
    .official-profile-aside { position: static; }
    .network-orbit { min-height: 300px; }
    .footer-grid { grid-template-columns: 1.4fr repeat(2,1fr); }
    .footer-grid section:last-child { grid-column: 2/4; }
    .publication-grid { grid-template-columns: repeat(2,1fr); }
    .course-grid { grid-template-columns: 1fr; }
    .course-hero-grid, .course-content-grid { grid-template-columns: 1fr; }
    .enroll-card { max-width: 520px; }
    .observatory-metrics { grid-template-columns: repeat(2,1fr); }
    .article-layout { grid-template-columns: 1fr; gap: 30px; }
    .article-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .article-rail > .button { margin-top: 0; }
    .article-cover { height: 420px; }
    .form-layout { grid-template-columns: 1fr; }
    .form-aside { grid-template-columns: repeat(2,1fr); }
    .login-page { grid-template-columns: 1fr 460px; }
    .login-visual { padding: 40px; }
    .workspace-sidebar { transform: translateX(-100%); transition: transform .2s; }
    .workspace-sidebar.open { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.3); }
    .workspace-shell { margin-left: 0; }
    .sidebar-toggle { display: block; }
    .workspace-three-column { grid-template-columns: 1fr 1fr; }
    .workspace-three-column > aside { grid-column: span 2; }
    .workspace-two-column.newsroom-grid { grid-template-columns: 1fr; }
    .newsroom-pipeline { grid-template-columns: repeat(3,1fr); }
    .control-banner { grid-template-columns: 1fr auto; }
    .control-banner-items { grid-column: span 2; }
}

@media (max-width: 720px) {
    .container, .container.narrow { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 66px 0; }
    .utility-inner > span { display: none; }
    .utility-inner { justify-content: center; }
    .utility-links { gap: 14px; }
    .utility-links a:last-child { display: none; }
    .header-inner { min-height: 70px; gap: 10px; }
    .brand img { width: 47px; height: 47px; }
    .brand-copy { display: none; }
    .hero-copy h1 { font-size: clamp(2.6rem,12vw,4rem); }
    .hero-visual { min-height: 300px; }
    .hero-float-card { bottom: 3%; left: 2%; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
    .hero-stats div { min-height: 85px; padding: 12px 15px !important; border-bottom: 1px solid rgba(255,255,255,.14); }
    .chair-mark { min-height: 290px; }
    .chair-mark > span { width: 140px; height: 140px; font-size: 3.8rem; }
    .chair-copy { padding: 32px 22px; }
    .official-filter, .official-grid { grid-template-columns: 1fr; }
    .official-filter .button { width: 100%; }
    .official-result-meta { align-items: flex-start; flex-direction: column; }
    .official-group-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .official-profile-head { grid-template-columns: 1fr; gap: 24px; }
    .official-profile-avatar { width: 120px; height: 120px; border-width: 6px; font-size: 3.5rem; }
    .appointment-timeline dl { grid-template-columns: 1fr; }
    .split-heading, .cta-band-inner, .observatory-heading { align-items: flex-start !important; flex-direction: column; }
    .gateway, .gateway-featured { min-height: 400px; }
    .metric-grid, .programme-grid, .principle-grid, .publication-grid, .observatory-metrics, .expert-grid { grid-template-columns: 1fr; }
    .news-card, .news-card-featured { display: block; }
    .news-card > a, .news-card-featured > a { height: 220px; }
    .network-cta { padding: 34px 24px; }
    .cta-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid section:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
    .about-intro, .methodology-grid { grid-template-columns: 1fr; gap: 25px; }
    .article-meta { grid-template-columns: repeat(2,1fr); }
    .article-cover { height: 280px; margin-top: 25px; border-radius: var(--radius-md); }
    .article-rail { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .academy-hero-grid { grid-template-columns: 1fr; padding-top: 65px; }
    .academy-hero img { width: 100%; height: 270px; border-radius: 16px 16px 0 0; }
    .academy-proof-grid { grid-template-columns: repeat(2,1fr); }
    .academy-proof-grid div { border-bottom: 1px solid var(--line); }
    .course-card { grid-template-columns: 1fr; }
    .course-image { height: 230px; }
    .dashboard-filter { grid-template-columns: 1fr; }
    .dashboard-notice { align-items: flex-start; flex-direction: column; }
    .dashboard-notice a { margin-left: 0; }
    .org-children { grid-template-columns: repeat(2,1fr); padding-inline: 0; }
    .document-list article { grid-template-columns: 52px 1fr; }
    .document-list article > .status, .document-list article > .button { grid-column: 2; justify-self: start; }
    .field-grid, .form-aside { grid-template-columns: 1fr; }
    .lookup-form, .global-search { grid-template-columns: 1fr; }
    .tracking-steps { grid-template-columns: 1fr; gap: 10px; }
    .tracking-steps li { align-items: center; flex-direction: row; text-align: left; }
    .tracking-steps li::after { top: 28px; left: 16px; width: 2px; height: 35px; }
    .certificate-result dl { grid-template-columns: 1fr; }
    .search-results > a { grid-template-columns: 1fr auto; }
    .search-results > a > span { grid-column: span 2; }
    .login-page { display: block; }
    .login-visual { min-height: 400px; align-items: flex-end; }
    .login-panel { padding: 42px 24px; }
    .workspace-topbar { gap: 8px; padding: 8px 12px; }
    .scope-selector, .topbar-link { display: none; }
    .workspace-main { padding: 18px 13px; }
    .workspace-page-head { align-items: flex-start; flex-direction: column; }
    .page-head-actions { width: 100%; flex-wrap: wrap; }
    .workspace-metrics, .workspace-two-column, .workspace-three-column { grid-template-columns: 1fr; }
    .workspace-three-column .span-two, .workspace-three-column > aside { grid-column: auto; }
    .module-health-grid, .module-register-grid, .unit-status-grid { grid-template-columns: 1fr; }
    .module-detail-head { align-items: flex-start; flex-direction: column; }
    .module-readiness { width: 100%; }
    .newsroom-pipeline { grid-template-columns: 1fr; }
    .newsroom-pipeline b { display: none; }
    .control-banner { grid-template-columns: 1fr; }
    .readiness-ring { margin-inline: auto; }
    .control-banner-items { grid-column: auto; }
    .task-board { grid-template-columns: 1fr; }
    .workspace-filter { flex-direction: column; }
    .workspace-filter label { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
    .utility-bar, .site-header, .site-footer, .article-rail, .section-tint { display: none !important; }
    .article-header { padding: 20px 0; background: white; }
    .article-cover { height: 280px; box-shadow: none; }
    .article-layout { display: block; padding-top: 30px; }
}

/* Operational records, workflow, notifications, and profile */
.module-records-panel { margin-top: 18px; }
.record-filter { display: grid; grid-template-columns: minmax(220px,1fr) 190px auto; gap: 10px; margin-bottom: 16px; }
.record-filter input, .record-filter select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.record-table { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.record-row { display: grid; grid-template-columns: 1.05fr 2fr 1.1fr .9fr .8fr; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: .75rem; }
.record-row:first-child { border-top: 0; }
.record-row:not(.record-head):hover { background: #f7fafe; }
.record-row > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.record-row strong { overflow: hidden; color: var(--navy-900); text-overflow: ellipsis; white-space: nowrap; }
.record-row small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.record-head { min-height: 38px; color: #6b7789; background: #f5f7fa; font-size: .61rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.workflow-status { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.status-draft { color: #526074; background: #edf1f5; }
.status-submitted, .status-in_review { color: #1c5792; background: var(--blue-100); }
.status-approved, .status-completed { color: #12623f; background: var(--green-100); }
.status-changes_requested, .status-blocked { color: #9c1e29; background: var(--red-100); }
.status-in_progress { color: #805607; background: var(--gold-100); }
.simple-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; font-size: .7rem; }
.simple-pagination a { color: var(--blue-600); font-weight: 800; }
.simple-pagination span { color: #9aa5b4; }
.record-form { max-width: 1060px; }
.record-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.record-form .form-grid label, .admin-table form label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: .68rem; font-weight: 800; }
.record-form input, .record-form select, .admin-table form input, .admin-table form select { min-height: 38px; padding: 8px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: white; font: inherit; }
.record-form .check-label, .admin-table form .check-label { flex-direction: row; align-items: center; gap: 7px; color: var(--ink); }
.record-form .check-label input, .admin-table form .check-label input { min-height: 0; padding: 0; }
.form-error { margin: -7px 0 12px; color: #9c1e29; font-size: .7rem; font-weight: 700; }
.admin-table form { display: grid; gap: 7px; min-width: 190px; }
.admin-table form[style] { display: inline-block; min-width: 0; margin: 2px; }
.admin-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: .62rem; line-height: 1.4; }
.record-form-actions { display: flex; gap: 10px; margin-top: 22px; }
.record-summary-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.45fr); gap: 18px; }
.record-title-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.record-main > h2 { margin: 0 0 8px; color: var(--navy-900); font-size: 1.35rem; }
.record-main > p { color: var(--muted); line-height: 1.7; }
.record-definition { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; overflow: hidden; margin: 22px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--line); }
.record-definition div { padding: 13px; background: white; }
.record-definition dt { color: var(--muted); font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.record-definition dd { margin: 4px 0 0; color: var(--navy-900); font-size: .8rem; font-weight: 700; }
.record-content-block { margin-top: 15px; padding: 15px; border-left: 3px solid var(--blue-500); background: #f6f9fd; }
.record-content-block > span { color: var(--blue-600); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.record-content-block p { margin: 6px 0 0; white-space: pre-line; }
.transition-panel form { display: grid; gap: 7px; margin-bottom: 10px; }
.transition-panel label, .comment-form label { display: flex; flex-direction: column; color: var(--muted); font-size: .68rem; font-weight: 700; }
.transition-panel textarea, .comment-form textarea, .comment-form select { width: 100%; margin-top: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.button-danger { color: #9c1e29; border-color: #efbcc1; background: #fff4f5; }
.comment-feed, .revision-list { display: grid; gap: 12px; }
.comment-feed article, .revision-list article { display: flex; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.comment-feed article > span, .revision-list article > span { display: flex; width: 32px; height: 32px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--navy-900); border-radius: 50%; background: var(--gold-100); font-size: .67rem; font-weight: 900; }
.comment-feed article > div, .revision-list article > div { display: flex; min-width: 0; flex-direction: column; }
.comment-feed strong, .revision-list strong { color: var(--navy-900); font-size: .76rem; }
.comment-feed small, .revision-list small { color: var(--muted); font-size: .64rem; }
.comment-feed p, .revision-list p { margin: 7px 0 0; color: #47556a; font-size: .76rem; line-height: 1.55; white-space: pre-line; }
.comment-form { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.comment-form > div { display: flex; justify-content: flex-end; gap: 8px; }
.notification-list { display: grid; gap: 1px; padding: 0; overflow: hidden; }
.notification-list form { border-bottom: 1px solid var(--line); }
.notification-list form:last-child { border-bottom: 0; }
.notification-list button { display: flex; width: 100%; align-items: center; gap: 13px; padding: 16px 20px; color: inherit; background: white; text-align: left; cursor: pointer; }
.notification-list button.unread { background: #f3f8ff; }
.notification-list button > div { display: flex; flex: 1; flex-direction: column; }
.notification-list strong { color: var(--navy-900); font-size: .8rem; }
.notification-list small { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.notification-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #aab5c3; }
.notification-list .unread .notification-dot { background: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); }
.profile-identity { display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: 9px; background: #f4f7fb; }
.profile-identity > span { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy-900); border-radius: 50%; background: var(--gold-400); font-weight: 900; }
.profile-identity > div { display: flex; flex-direction: column; }
.profile-identity strong { color: var(--navy-900); }
.profile-identity small { color: var(--muted); }

@media (max-width: 900px) {
    .record-form .form-grid { grid-template-columns: 1fr; }
    .record-filter { grid-template-columns: 1fr 160px; }
    .record-filter .button { grid-column: 1 / -1; }
    .record-summary-grid { grid-template-columns: 1fr; }
    .record-row { grid-template-columns: 1fr 1.8fr .8fr; }
    .record-row > span:nth-child(3), .record-row > span:nth-child(5) { display: none; }
}

@media (max-width: 560px) {
    .record-filter { grid-template-columns: 1fr; }
    .record-filter .button { grid-column: auto; }
    .record-row { grid-template-columns: 1fr 1.35fr; }
    .record-row > span:nth-child(4) { display: none; }
    .record-definition { grid-template-columns: 1fr; }
    .record-form-actions, .comment-form > div { flex-direction: column; }
}
