@font-face { font-family: Source; src: url('/fonts/option-01/source-sans-3-latin.woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: Cormorant; src: url('/fonts/option-01/cormorant-garamond-latin.woff2'); font-weight: 300 700; font-display: swap; }
:root {
  color-scheme:light; font-family:Source,system-ui,sans-serif; font-synthesis:none;
  --ink:#263c31; --muted:#606a60; --forest:#1c382c; --deep:#142d23; --gold:#806a38;
  --paper:#f5f4ef; --surface:#fffefa; --line:#d9ddd2; --wash:#eaf0e5; --danger:#932f2d;
  --sidebar:244px; --topbar:76px; --shadow:0 6px 20px -15px #253c3140;
  color:var(--ink); background:var(--paper);
}
* { box-sizing:border-box; }
body { margin:0; min-width:0; }
[hidden] { display:none!important; }
a { color:inherit; text-underline-offset:4px; }
button,input,select,textarea { font:inherit; max-width:100%; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #637b4e; outline-offset:4px; }
button { min-height:44px; border:1px solid #b6c0ae; border-radius:5px; padding:10px 17px; color:var(--forest); background:var(--surface); font-size:14px; font-weight:600; line-height:1.4; cursor:pointer; transition:background-color .16s,border-color .16s; }
button:hover { background:#eaf0e5; border-color:#839779; }
button:disabled { opacity:.5; cursor:default; }
.primary { color:#fffefa; background:var(--forest); border-color:var(--forest); box-shadow:0 2px 4px #142d2310; }
.primary:hover { background:#304e3c; border-color:#304e3c; }
.quiet-button { border-color:transparent; background:transparent; }
.danger-button { color:var(--danger); }
.icon-button { display:grid; place-items:center; min-width:44px; padding:10px; background:transparent; border-color:transparent; }
.icon-button svg,.admin-nav svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
p { line-height:1.65; }
h1,h2,h3 { font-family:Cormorant,Georgia,serif; font-weight:500; color:var(--deep); }
h1 { font-size:clamp(34px,3vw,46px); line-height:1.1; margin:0; letter-spacing:-.025em; }
h2 { font-size:32px; line-height:1.15; margin:0 0 16px; }
h3 { font-size:27px; line-height:1.2; margin:0 0 12px; }
.help,small { color:var(--muted); font-size:13px; font-weight:400; line-height:1.6; }
.eyebrow { margin:0 0 10px; color:var(--muted); font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }
.skip { position:fixed; top:8px; left:8px; z-index:100; padding:12px 18px; color:var(--forest); background:var(--surface); transform:translateY(-170%); }
.skip:focus { transform:none; }
.brand { display:inline-flex; align-items:center; gap:11px; color:var(--deep); font:500 27px/1.1 Cormorant,serif; text-decoration:none; white-space:nowrap; }
.brand small { display:block; margin-top:7px; color:var(--gold); font:600 8px/1.2 Source,sans-serif; letter-spacing:.3em; text-align:center; }
.brand img { flex-shrink:0; }
.topbar { min-height:var(--topbar); display:flex; align-items:center; gap:18px; padding:14px 36px; border-bottom:1px solid var(--line); background:#fffefaeb; }
.topbar-actions { display:flex; align-items:center; gap:18px; margin-left:auto; min-width:0; }
.topbar-context { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; }
.topbar-context strong { color:var(--forest); font-weight:600; }
.site-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:13px; text-decoration:none; white-space:nowrap; }
.site-link:hover { text-decoration:underline; }
.account-pill { max-width:220px; overflow-wrap:anywhere; font-size:12px; color:var(--muted); border-right:1px solid var(--line); padding-right:18px; }
.app-main { max-width:1500px; padding:36px clamp(24px,3vw,48px) 48px; margin-inline:auto; min-height:calc(100svh - 150px); }
.heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:22px; }
.section-description { margin:10px 0 0; font-size:14px; color:var(--muted); max-width:680px; }
.message { position:relative; display:flex; align-items:center; gap:10px; min-height:44px; margin:0 0 26px; padding:10px 15px; border:1px solid #d1dcc9; border-left:3px solid #71845c; background:#edf2e8; color:#344b2f; font-size:13px; line-height:1.6; border-radius:4px; overflow-wrap:anywhere; }
.message:empty { display:none; }
.message.error { color:#7a2827; background:#fbefec; border-color:#dfbbb3; border-left-color:#a84b43; }
body[data-authenticated=true] .topbar { position:sticky; z-index:20; top:0; margin-left:var(--sidebar); }
body[data-authenticated=true] .topbar-brand { display:none; }
body[data-authenticated=true] .app-main,body[data-authenticated=true] .app-footer { margin-left:var(--sidebar); }
.sidebar { position:fixed; z-index:40; inset:0 auto 0 0; width:var(--sidebar); display:flex; flex-direction:column; background:var(--deep); color:#e8ece3; padding:0 16px; }
.sidebar-heading { min-height:100px; display:flex; align-items:center; gap:8px; padding:22px 6px; border-bottom:1px solid #ffffff18; }
.sidebar .brand { font-size:25px; color:#faf7ed; gap:8px; }
.sidebar .brand img { width:35px; height:35px; }
.sidebar .brand small { color:#ddc991; }
#nav-close { display:none; color:#faf7ed; margin-left:auto; font-size:26px; }
.admin-nav { overflow-y:auto; padding:24px 0; flex:1; min-height:0; scrollbar-color:#6e7b61 transparent; }
.nav-group { margin:25px 16px 10px; color:#b4c0ac; font-size:10px; font-weight:600; letter-spacing:.15em; text-transform:uppercase; }
.admin-nav button { display:flex; align-items:center; gap:14px; width:100%; min-height:46px; margin-bottom:4px; padding:12px 15px; border:1px solid transparent; border-radius:5px; color:#e0e6d9; background:transparent; text-align:left; font-size:14px; font-weight:400; }
.admin-nav button:hover { background:#ffffff0b; color:#fffef8; }
.admin-nav [aria-current=page] { background:#ffffff10; border-color:#ffffff16; color:#fffef8; box-shadow:inset 2px 0 #d3bd86; }
.admin-nav [aria-current=page] svg { color:#e2cc95; }
.sidebar :focus-visible { outline-color:#e2cc95; outline-offset:1px; }
.sidebar-note { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px; border-top:1px solid #ffffff18; padding:20px 10px; font-size:12px; color:#d1dbca; }
.sidebar-note > span:last-child { grid-column:2; color:#aebaab; font-size:11px; overflow-wrap:anywhere; min-width:0; }
.status-dot { width:6px; height:6px; border-radius:50%; background:#c5cc9d; }
[data-admin-panel] { min-width:0; }
[data-admin-panel] > h2 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
[data-admin-panel] > p:first-of-type { margin-top:0; color:var(--muted); font-size:14px; }
.surface { padding:24px; border:1px solid var(--line); border-radius:7px; background:var(--surface); box-shadow:var(--shadow); }
.summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.summary-grid .surface { position:relative; min-width:0; display:flex; flex-direction:column; gap:10px; padding:22px; }
.summary-grid strong { font:500 45px/1 Cormorant,serif; letter-spacing:-.04em; }
.summary-grid .stat-label { order:-1; color:var(--muted); font-size:13px; }
.summary-grid .stat-context { color:var(--muted); font-size:12px; line-height:1.5; }
.summary-grid .surface:first-child { border-top:2px solid #869274; }
.overview-bottom { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:24px; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.card-heading h3 { margin-bottom:0; }
.mini-badge,.badge { display:inline-flex; align-items:center; width:fit-content; padding:4px 9px; border:1px solid #d5dccf; border-radius:20px; color:#475d3f; background:#eef2e9; font-size:11px; font-weight:500; line-height:1.5; white-space:nowrap; }
.badge--draft { color:#77612f; border-color:#e4d6b5; background:#f8f2e4; }
.badge--archived,.badge--inactive { color:#666c64; border-color:#d9ddd5; background:#f0f1ed; }
.badge--neutral { color:#60695d; border-color:#dfe2d8; background:#f6f6f1; }
.pending-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--line); }
.pending-row > div { flex:1; min-width:0; }
.pending-row strong { display:block; font-size:14px; }
.pending-row p { color:var(--muted); font-size:12px; margin:3px 0 0; }
.pending-row button { min-height:40px; padding:8px 12px; font-size:12px; flex-shrink:0; }
.publish-guide ol { list-style:none; padding:0; margin:20px 0 0; }
.publish-guide li { display:flex; gap:16px; margin:18px 0; }
.publish-guide li > span { color:var(--gold); font:500 26px/1 Cormorant,serif; }
.publish-guide li strong { font-size:13px; }
.publish-guide li p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:22px; }
.actions > span { color:var(--muted); font-size:12px; }
.toolbar { display:flex; align-items:end; flex-wrap:wrap; gap:16px; padding:20px; border:1px solid var(--line); border-radius:7px; background:var(--surface); }
.toolbar label { min-width:160px; flex:1; margin:0; }
.toolbar label:first-child { flex:2; }
.toolbar > button { flex-shrink:0; min-height:46px; background:var(--forest); color:var(--surface); border-color:var(--forest); }
.result-count { margin:18px 0 14px; color:var(--muted); font-size:12px; }
.record-list { border:1px solid var(--line); border-radius:7px; background:var(--surface); box-shadow:var(--shadow); }
.record { position:relative; min-width:0; padding:20px 24px; overflow-wrap:anywhere; }
.record + .record { border-top:1px solid var(--line); }
.record-list > p { padding:24px; margin:0; color:var(--muted); font-size:14px; }
.company-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:22px; }
.company-row__identity { display:flex; gap:15px; align-items:center; min-width:0; }
.company-avatar { display:grid; place-items:center; width:44px; height:48px; flex-shrink:0; color:var(--forest); background:#eef0e7; border:1px solid #d9ddcd; border-radius:22px 22px 3px 3px; font:500 21px/1 Cormorant,serif; }
.company-row h3 { margin:0 0 5px; font:600 15px/1.4 Source,sans-serif; }
.record-category { margin:0; color:var(--muted); font-size:12px; }
.company-row__badges { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.company-row .actions { margin:0; flex-wrap:nowrap; }
.record-menu { position:relative; }
.record-menu summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid var(--line); border-radius:5px; font-size:22px; line-height:1; cursor:pointer; list-style:none; color:var(--forest); }
.record-menu summary::-webkit-details-marker { display:none; }
.record-menu[open] summary { background:var(--wash); border-color:#9daa92; }
.record-menu__items { position:absolute; z-index:15; right:0; top:calc(100% + 7px); min-width:215px; display:grid; padding:6px; border:1px solid #cbd2c2; border-radius:6px; background:var(--surface); box-shadow:0 10px 32px #152d2326; }
.record-menu__items button { min-height:44px; text-align:left; border-color:transparent; font-size:13px; }
.preview-link { display:inline-flex; align-items:center; min-height:44px; font-size:12px; margin-top:12px; }
.company-list .record:has(.record-menu[open]) { z-index:16; }
label { display:grid; gap:7px; margin-bottom:18px; font-size:13px; font-weight:600; line-height:1.5; }
input,select,textarea { width:100%; min-width:0; min-height:46px; padding:11px 13px; border:1px solid #85917c; border-radius:5px; color:#26382d; background:#fffefa; font-size:16px; font-weight:400; line-height:1.4; transition:border-color .16s; }
input:hover,select:hover,textarea:hover { border-color:#6e8260; }
input:focus,select:focus,textarea:focus { border-color:#566f45; }
input[readonly] { background:#f0f1eb; color:#576152; }
input::placeholder,textarea::placeholder { color:#6c7566; opacity:1; }
textarea { resize:vertical; }
input[type=file] { padding:9px; font-size:12px; border-style:dashed; }
input::file-selector-button { margin-right:10px; padding:7px 9px; border:0; border-radius:3px; background:#e9eedf; color:#304a2a; font:inherit; cursor:pointer; }
fieldset { min-width:0; padding:0; margin:0; border:0; }
legend { font-size:15px; font-weight:600; line-height:1.5; margin-bottom:16px; padding:0; }
legend > span { color:var(--gold); font:500 24px/1 Cormorant,serif; margin-right:9px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; }
.form-grid > * { min-width:0; }
.wide { grid-column:1/-1; }
.form-feedback { margin:12px 0; color:var(--danger); font-size:13px; line-height:1.6; }
.form-feedback:empty { display:none; }
.narrow-form { max-width:720px; }
.editor-intro { margin-bottom:24px; background:#edf1e6; border-color:#d4ddc9; }
.editor-intro h2 { font-size:29px; margin-bottom:10px; }
.editor-intro p { margin:0 0 8px; font-size:14px; }
.editor-intro p:last-child { margin-bottom:0; }
.editor-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:start; gap:24px; }
.editor-grid > fieldset,.selection { padding:24px; border:1px solid var(--line); background:var(--surface); border-radius:7px; }
.editor-grid legend { padding:0 5px; }
.company-choice { display:flex; align-items:center; gap:12px; padding:17px 0; margin:0; cursor:pointer; }
.company-choice + .company-choice { border-top:1px solid var(--line); }
.company-choice input { accent-color:var(--forest); width:19px; height:19px; min-height:19px; flex-shrink:0; }
.company-choice .company-avatar { width:34px; height:38px; font-size:17px; }
.company-choice strong { display:block; font-size:14px; line-height:1.4; }
.company-choice small { display:block; font-size:12px; margin-top:4px; }
.company-choice:has(input:checked) strong { color:#3d5b30; }
.selection h3 { font-size:27px; }
.selection ol { list-style:none; padding:0; margin:20px 0 0; counter-reset:featured; }
.selection li { counter-increment:featured; padding:14px 0; border-top:1px solid var(--line); }
.selected-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.selected-row > span { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.selected-row > span::before { content:counter(featured,decimal-leading-zero); display:inline-block; margin-right:10px; color:var(--gold); font:500 23px Cormorant,serif; }
.move-buttons { display:flex; flex-shrink:0; gap:6px; }
.move-buttons button { width:40px; min-height:40px; padding:7px; }
#selection-count,#selection-empty { font-size:13px; color:var(--muted); }
.selection > button { margin-top:18px; font-size:12px; }
.save-indicator { font-size:12px; color:var(--muted); line-height:1.5; }
.save-indicator[data-dirty=true] { color:#80642b; }
.institution-group { border:1px solid var(--line); background:var(--surface); border-radius:7px; margin-bottom:14px; box-shadow:var(--shadow); }
.institution-group > summary { padding:20px 24px; display:flex; align-items:center; gap:16px; cursor:pointer; list-style:none; }
.institution-group > summary::-webkit-details-marker { display:none; }
.institution-group > summary::after { content:'+'; font-size:22px; margin-left:auto; color:var(--gold); }
.institution-group[open] > summary::after { content:'−'; }
.institution-group > summary strong { display:block; font-size:15px; font-weight:600; }
.institution-group > summary small { display:block; margin-top:3px; font-size:12px; }
.institution-group > fieldset { margin:0 24px 24px; padding-top:20px; border-top:1px solid var(--line); }
.institution-group fieldset legend { padding-top:20px; }
.institution-group fieldset > fieldset { padding-top:16px; margin-top:20px; border-top:1px solid var(--line); }
.institution-actions { position:sticky; top:calc(var(--topbar) + 12px); z-index:5; margin:0 0 22px; padding:16px 20px; background:#fffefaf5; border:1px solid var(--line); border-radius:7px; box-shadow:0 4px 20px #1c382c0c; }
.users-layout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:24px; align-items:start; }
.users-layout form { margin:0; }
.users-layout h3 { font-size:28px; }
.user-row__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.user-row__heading strong { font-size:14px; }
.user-role { color:var(--muted); font-size:13px; }
.user-row .actions button { font-size:12px; }
.history-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:16px; align-items:start; }
.history-dot { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--wash); color:#657a50; font-size:15px; }
.history-row strong { display:block; font-size:14px; }
.history-row p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.history-row time { color:var(--muted); font-size:12px; line-height:1.6; white-space:nowrap; }
.auth { width:100%; max-width:480px; margin:30px auto; padding:30px; border:1px solid var(--line); border-top:2px solid #b29b66; border-radius:8px; background:var(--surface); box-shadow:0 16px 40px -30px #1c382c55; }
.auth > p { font-size:14px; color:var(--muted); }
.auth h2 { font-size:33px; }
.auth form .primary { width:100%; }
body[data-authenticated=false] .heading { text-align:center; justify-content:center; margin-top:20px; }
body[data-authenticated=false] .message { max-width:600px; margin-inline:auto; }
body[data-authenticated=false] .app-main { max-width:900px; }
.app-footer { padding:20px 36px; color:var(--muted); border-top:1px solid var(--line); font-size:11px; line-height:1.6; }
dialog { position:fixed; inset:0; width:min(1000px,calc(100% - 48px)); max-width:none; max-height:calc(100svh - 48px); padding:0; border:1px solid #c8cfbd; border-radius:10px; color:var(--ink); background:var(--surface); box-shadow:0 25px 90px #142d2345; overflow:hidden; }
dialog::backdrop { background:#10281cb8; backdrop-filter:blur(3px); }
#company-form { display:flex; flex-direction:column; max-height:calc(100svh - 50px); }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px 30px; border-bottom:1px solid var(--line); flex-shrink:0; background:#f8f8f1; }
.dialog-heading h2 { margin:0; font-size:32px; overflow-wrap:anywhere; }
.dialog-heading .eyebrow { margin-bottom:6px; }
.dialog-heading .icon-button { font-size:28px; flex-shrink:0; }
.dialog-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:20px 30px 28px; }
.dialog-body > fieldset { margin-top:26px; padding-top:24px; border-top:1px solid var(--line); }
.dialog-body > fieldset:first-of-type { margin-top:18px; }
.dialog-body > fieldset > p.help { margin:-7px 0 20px; }
.editor-help { font-size:13px; color:var(--muted); margin:0 0 12px; }
#company-feedback { margin:10px 0; padding:10px 13px; border-left:2px solid #90a477; background:var(--wash); font-size:13px; line-height:1.6; }
#company-feedback.error { color:var(--danger); background:#fbefec; border-left-color:#a84b43; }
#company-feedback:empty { display:none; }
.dialog-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 30px; border-top:1px solid var(--line); background:#f8f8f1; flex-shrink:0; }
.dialog-footer .actions { margin:0; }
.upload-field { border:1px solid var(--line); padding:20px; border-radius:6px; background:#fafaf5; }
.image-preview-frame { display:grid; place-items:center; height:150px; margin:12px 0 18px; border:1px dashed #c3cbb5; border-radius:5px; background:#f0f2e9; }
.upload-preview { display:block; width:100%; height:100%; max-height:148px; object-fit:contain; }
.image-placeholder { font:500 32px Cormorant,serif; color:#778268; }
.image-preview-frame:has(img:not([hidden])) .image-placeholder { display:none; }
body:has(dialog[open]) { overflow:hidden; }
@media(min-width:961px) { #nav-toggle { display:none!important; } }
@media(max-width:1200px) { :root{--sidebar:218px;} .sidebar{padding-inline:12px;} .sidebar .brand{font-size:23px;}.sidebar .brand img{width:30px;height:30px;} .summary-grid{gap:12px;}.summary-grid .surface{padding:18px;}.company-row{gap:14px;}.record{padding:18px;} .users-layout{grid-template-columns:1fr;} }
@media(max-width:960px) {
 :root{--topbar:68px;} body[data-authenticated=true] .topbar,body[data-authenticated=true] .app-main,body[data-authenticated=true] .app-footer{margin-left:0;}
 .topbar{padding:10px 22px;gap:12px;}.topbar-actions{gap:12px;}.account-pill{display:none!important;}.topbar-context{font-size:12px;gap:8px;}.topbar-context > span{display:none;}
 .app-main{padding:28px 24px 36px;}.sidebar{width:min(300px,calc(100% - 40px));z-index:60;box-shadow:10px 0 40px #12271d30;}.sidebar[data-open=false]{display:none;}#nav-close{display:grid;}.sidebar-heading{min-height:90px;}.sidebar .brand{font-size:25px;}.sidebar .brand img{width:35px;height:35px;}
 #nav-scrim:not([hidden]){display:block;position:fixed;z-index:50;inset:0;background:#10281ca8;border:0;border-radius:0;padding:0;cursor:default;}body.nav-open{overflow:hidden;}
 .overview-bottom{gap:18px;}.editor-grid{gap:18px;}.topbar-brand{font-size:25px;}.topbar-brand img{width:30px;height:30px;}
}
@media(max-width:760px) {
 .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.overview-bottom,.editor-grid{grid-template-columns:1fr;}.company-row{grid-template-columns:minmax(0,1fr) auto;gap:14px;}.company-row__badges{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:wrap;padding-left:59px;}.company-row .actions{grid-column:2;grid-row:1/3;}.company-row__identity{gap:12px;}.company-avatar{width:42px;}.company-row h3{font-size:14px;}.record{padding:18px 20px;}.record-menu__items{min-width:200px;}
 .form-grid{grid-template-columns:1fr;}.wide{grid-column:auto;}.surface{padding:22px;}.toolbar{padding:18px;gap:14px;}.toolbar label{min-width:130px;}.toolbar > button{width:100%;}.toolbar label:first-child{flex-basis:100%;}.users-layout{grid-template-columns:1fr;}.history-row{grid-template-columns:28px minmax(0,1fr);gap:12px;}.history-row time{grid-column:2;grid-row:2;margin-top:-10px;}.history-dot{width:28px;height:28px;}
 dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px);border-radius:8px;}#company-form{max-height:calc(100svh - 26px);}.dialog-heading{padding:18px 20px;}.dialog-heading h2{font-size:28px;}.dialog-body{padding:18px 20px;}.dialog-footer{padding:14px 20px;flex-wrap:wrap;gap:10px;}.dialog-footer .actions{width:100%;justify-content:flex-end;}.dialog-footer .actions button{flex:1;}.upload-field{padding:18px;}.institution-group > summary{padding:18px 20px;}.institution-group > fieldset{margin-inline:20px;}.institution-actions{padding:14px;top:calc(var(--topbar) + 8px);}.institution-actions button{flex:1;}.card-heading{gap:8px;}.card-heading .mini-badge{display:none;}
}
@media(max-width:430px) {
 .topbar{padding-inline:16px;gap:6px;}.topbar-actions{gap:4px;}.site-link{font-size:12px;padding-inline:7px;}.topbar .quiet-button{font-size:12px;padding-inline:9px;}.topbar-context{max-width:110px;}.app-main{padding:24px 18px 32px;}.heading{gap:12px;align-items:flex-start;}.heading .save-indicator{max-width:95px;}.section-description{font-size:13px;}.summary-grid .surface{padding:17px;}.summary-grid strong{font-size:40px;}.summary-grid .stat-label{font-size:12px;}.summary-grid .stat-context{font-size:11px;}.pending-row{gap:10px;}.pending-row strong{font-size:13px;}.pending-row button{font-size:11px;padding-inline:9px;}.pending-row .company-avatar{display:none;}.record{padding:16px;}.company-row{gap:10px;}.company-row .actions > button{padding-inline:11px;min-height:42px;font-size:12px;}.company-avatar{width:36px;height:42px;font-size:19px;}.company-row__identity{gap:10px;}.company-row__badges{padding-left:46px;}.company-row h3{font-size:13px;}.record-category{font-size:11px;}.company-row .actions{gap:6px;}.record-menu summary{width:36px;height:42px;}.badge{font-size:10px;padding:3px 7px;}.toolbar{padding:16px;}.message{font-size:12px;padding:10px 12px;}.auth{padding:24px 20px;}.topbar-brand{font-size:23px;gap:7px;}.topbar-brand small{font-size:7px;}.topbar-brand img{width:28px;height:28px;}.app-footer{padding-inline:18px;}.dialog-heading{padding:16px;gap:8px;}.dialog-heading h2{font-size:25px;}.dialog-heading .eyebrow{font-size:10px;}.dialog-body{padding:16px;}.dialog-footer{padding:12px 16px;}.dialog-footer button{font-size:12px;padding-inline:12px;} .selected-row{gap:8px;}.move-buttons{gap:4px;}.move-buttons button{width:36px;min-height:40px;}.selected-row > span::before{margin-right:6px;font-size:20px;}.editor-grid > fieldset,.selection{padding:20px;}
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important;scroll-behavior:auto!important; } }

#panel-companies > .result-count { margin:16px 0; font-size:12px; }
#institution-fields textarea { scroll-margin-top:180px; }
.news-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.news-row h3 { margin:0 0 8px; font-size:18px; }
.news-row p { color:var(--muted); font-size:13px; }
.news-row .badge { margin:4px 8px 0 0; }
.news-row .actions { flex-shrink:0; flex-wrap:wrap; }
#news-count { margin:20px 0; font-size:13px; }
.messaging-opt-in { display:flex; align-items:flex-start; gap:12px; margin-bottom:20px; }
.messaging-opt-in input { width:20px; height:20px; min-height:20px; margin-top:2px; padding:0; flex-shrink:0; accent-color:var(--forest); }
.community-review-card h3 { font-size:26px; margin:18px 0; }
.community-review-card > p { color:var(--muted); line-height:1.8; }
.community-review-description { white-space:pre-wrap; }
.community-review-media { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:12px; margin-block:12px; }
.community-review-media img,.community-review-media video { width:100%; aspect-ratio:4/3; object-fit:contain; background:var(--paper); border-radius:4px; }
.community-review-card summary { cursor:pointer; min-height:44px; padding-block:10px; }
.community-review-card > label { margin-top:20px; }
#community-review-count { margin:20px 0; color:var(--muted); font-size:13px; }
@media(max-width:760px) { .news-row { align-items:flex-start; flex-direction:column; gap:12px; }.news-row .actions { margin:0; } }
