/* Pathology Museum and Veterinary Forensic Laboratory, CVASU.
   Palette taken from the H&E stain: hematoxylin (nuclei) and eosin (cytoplasm), on slide glass. */
:root {
  --hema: #2D2A6E; --hema-2: #4A44A8; --hema-3: #E6E5F4;
  --eosin: #C2456B; --eosin-2: #F7D9E2; --eosin-3: #FCEEF2;
  --bouin: #E9B824; --bouin-2: #FFF4CC;
  --glass: #F2F5FA; --paper: #FFFFFF; --ink: #1B1A33; --ink-2: #4B4A66; --line: #D9DCEA;
  --ok: #1F7A55; --ok-bg: #DDF3E8; --warn: #8A5A00; --warn-bg: #FFF1CF;
  --r: 8px; --wrap: 1180px;
  --f-head: "Bricolage Grotesque", "Noto Sans Bengali", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Noto Sans Bengali", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--f-body); color: var(--ink); background: var(--glass); }
:lang(bn) body, html[lang="bn"] body { line-height: 1.75; }
img, svg { max-width: 100%; display: block; }
a { color: var(--hema-2); text-underline-offset: 3px; }
a:hover { color: var(--eosin); }
:focus-visible { outline: 3px solid var(--bouin); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; color: var(--hema); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 650; margin-top: 1.6em; }
h3 { font-size: 1.1rem; font-weight: 650; }
h4 { font-size: 1rem; margin: 1em 0 .3em; }
p { margin: 0 0 1em; max-width: 70ch; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.small { font-size: .88rem; color: var(--ink-2); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }

/* notice + header */
.notice { background: var(--bouin-2); border-bottom: 1px solid #EBD58A; font-size: .9rem; padding: 6px 0; color: #5B4600; }
.util { background: var(--hema); color: #E7E6F7; font-size: .85rem; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.util a { color: #fff; }
.util-r { display: flex; gap: 14px; align-items: center; }
.lang { font: inherit; font-size: .85rem; background: transparent; color: #fff; border: 1px solid #8F8CD0; border-radius: 99px; padding: 2px 12px; cursor: pointer; }
.lang:hover { background: #fff; color: var(--hema); }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hema); }
.logo { width: 42px; height: 42px; flex: none; }
.brand b { display: block; font: 700 1.02rem/1.15 var(--f-head); }
.brand small { display: block; font-size: .75rem; color: var(--ink-2); max-width: 26ch; line-height: 1.25; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 2px; }
nav.main a { padding: 8px 11px; text-decoration: none; color: var(--ink); border-radius: 6px; font-weight: 600; font-size: .95rem; }
nav.main a:hover { background: var(--hema-3); color: var(--hema); }
nav.main a[aria-current="page"] { color: var(--eosin); box-shadow: inset 0 -3px 0 var(--eosin); border-radius: 0; }
nav.main a.cta { background: var(--eosin); color: #fff; margin-left: 8px; box-shadow: none; border-radius: 6px; }
nav.main a.cta:hover { background: var(--hema); color: #fff; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--hema); margin: 5px 0; }
@media (max-width: 1020px) {
  .burger { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(45,42,110,.12); margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; } nav.main a.cta { margin: 8px 0 0; text-align: center; }
  .brand small { display: none; }
}

main { display: block; min-height: 60vh; }
.page { padding: 28px 0 64px; }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }

/* hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-bottom: 22px; }
#hero-field { max-width: 460px; margin-left: auto; width: 100%; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } #hero-field { margin: 0 auto; max-width: 320px; order: -1; } }
.hs { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; max-width: 640px; }
.hs input, .hs select { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 0; color: var(--ink); }
.hs button { font: inherit; font-weight: 700; background: var(--hema); color: #fff; border: 0; border-radius: 6px; padding: 0 20px; cursor: pointer; }
.hs button:hover { background: var(--eosin); }
.hs-alt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: .92rem; }
.hs-alt select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
@media (max-width: 560px) { .hs { grid-template-columns: 1fr; } .hs button { padding: 12px; } }

.btn { display: inline-block; background: var(--hema); color: #fff; padding: 11px 20px; border-radius: 6px; text-decoration: none; font-weight: 700; border: 2px solid var(--hema); font-family: var(--f-body); cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--eosin); border-color: var(--eosin); color: #fff; }
.btn.ghost { background: transparent; color: var(--hema); }
.btn.ghost:hover { background: var(--hema); color: #fff; }
.btn.eosin { background: var(--eosin); border-color: var(--eosin); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }

/* sections */
.band { padding: 52px 0; }
.band.white { background: var(--paper); border-block: 1px solid var(--line); }
.band.dark { background: var(--hema); color: #E7E6F7; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark a { color: #FFD9E4; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 700; }

#stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: var(--paper); }
#stats div { padding: 18px 16px; border-right: 1px solid var(--line); }
#stats div:last-child { border: 0; }
#stats b { display: block; font: 700 2.2rem/1 var(--f-head); color: var(--eosin); }
#stats span { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 640px) { #stats { grid-template-columns: 1fr 1fr; } #stats div:nth-child(2) { border-right: 0; } #stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* animal tiles */
.hosts-grid, #hosts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.hostile { display: block; padding: 16px; text-decoration: none; color: var(--ink); border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); border-left: 6px solid var(--hema-2); }
.hostile b { display: block; font: 700 1.1rem var(--f-head); color: var(--hema); }
.hostile span { font-size: .85rem; color: var(--ink-2); }
.hostile:hover { border-color: var(--eosin); box-shadow: 0 6px 16px rgba(45,42,110,.1); }
.hostile.t0 { border-left-color: var(--hema); } .hostile.t1 { border-left-color: var(--eosin); } .hostile.t2 { border-left-color: var(--bouin); } .hostile.t3 { border-left-color: var(--hema-2); } .hostile.t4 { border-left-color: #D989A3; }

/* list pattern (labs, hosts) */
.lablist, #labs-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.lablist li + li, #labs-list li + li { border-top: 1px solid var(--line); }
.lablist a, #labs-list a { display: grid; grid-template-columns: minmax(150px, 1fr) 2.4fr auto; gap: 16px; padding: 14px 18px; text-decoration: none; color: var(--ink); align-items: baseline; }
.lablist a:hover, #labs-list a:hover { background: var(--eosin-3); }
.lab-name { font: 650 1.05rem var(--f-head); color: var(--hema); }
.lab-desc { color: var(--ink-2); font-size: .95rem; }
.lab-n { font-size: .85rem; color: var(--eosin); font-weight: 700; white-space: nowrap; }
@media (max-width: 720px) { .lablist a, #labs-list a { grid-template-columns: 1fr; gap: 2px; } }
.area h2 { margin-top: 1.4em; }

/* disease lists */
.dis-list, #dis-list, #dlist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.dis { display: block; padding: 11px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.dis:hover { border-color: var(--eosin); background: var(--eosin-3); }
.dis-name { display: block; font-weight: 700; color: var(--hema); }
.dis-meta, .dis-hosts { display: block; font-size: .82rem; color: var(--ink-2); }
#dlist { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dis.big { padding: 14px 16px; border-left: 5px solid var(--hema-2); }

/* specimens */
.spec-grid, #spec-strip, #mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.spec { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.spec:hover { border-color: var(--eosin); box-shadow: 0 6px 16px rgba(45,42,110,.12); }
.thumb { aspect-ratio: 4 / 3; background: var(--eosin-2); overflow: hidden; }
.thumb svg, .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.big { aspect-ratio: 1; border-radius: var(--r); margin-bottom: 14px; border: 1px solid var(--line); }
.spec-body { padding: 12px 14px 14px; }
.spec-body h3 { margin: 0 0 4px; font-size: 1rem; }
.spec-body p { margin: 0; font-size: .85rem; color: var(--ink-2); }

/* news */
.news, #news-list, #n-news, #n-case, #n-training, #pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
#news-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.news li, #news-list li, #n-news li, #n-case li, #n-training li, #pubs li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
#news-list time, #n-news time, #n-case time, #n-training time, #pubs time { font-size: .82rem; color: var(--ink-2); }
#news-list b, #n-news b, #n-case b, #n-training b { margin-left: 10px; font-size: .78rem; color: var(--eosin); }
#news-list h3, #n-news h3, #n-case h3, #n-training h3, #pubs h3 { margin: 6px 0 6px; }
#news-list p, #n-news p, #n-case p, #n-training p { margin: 0; font-size: .95rem; }

#partners { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#partners li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); padding: 6px 12px; border-radius: 99px; font-size: .9rem; }
.band:not(.dark) #partners li { background: var(--paper); border-color: var(--line); }

/* filter bar + catalog rows */
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; margin-bottom: 14px; }
.filters label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 3px; }
.filters input, .filters select { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.filters .wide { grid-column: span 2; }
@media (max-width: 560px) { .filters .wide { grid-column: auto; } }
.count { font-weight: 700; color: var(--hema); margin: 6px 0 10px; }
.link-btn { background: none; border: 0; color: var(--hema-2); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.rowhead, .row { display: grid; grid-template-columns: minmax(0, 3fr) 1.4fr 1fr 1fr 1.1fr; gap: 12px; padding: 10px 16px; align-items: center; }
.rowhead { font-size: .82rem; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid var(--hema); }
.rows { list-style: none; margin: 0 0 1em; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: var(--eosin-3); }
.row-main { text-decoration: none; color: inherit; display: block; }
.row-title { display: block; font-weight: 700; color: var(--hema); }
.row-main:hover .row-title { color: var(--eosin); text-decoration: underline; }
.row-meta, .row-cell { font-size: .88rem; color: var(--ink-2); }
.row-meta { display: block; }
@media (max-width: 760px) {
  .rowhead { display: none; }
  .row { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .row-main { grid-column: 1 / -1; }
  .row-cell::before { content: attr(data-l) ": "; font-weight: 700; }
}
.st { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--hema-3); color: var(--hema); white-space: nowrap; }
.st-available { background: var(--ok-bg); color: var(--ok); }
.st-confirm { background: var(--warn-bg); color: var(--warn); }
.st-planned { background: var(--hema-3); color: var(--hema); }
.st-referral { background: var(--eosin-2); color: #8A2A4A; }
.draft { font-size: .7rem; background: var(--bouin-2); color: #5B4600; padding: 1px 6px; border-radius: 4px; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 24px; color: var(--ink-2); }

/* detail pages */
.dhead { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.dhead h1 { margin: 0; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; margin-top: 20px; }
@media (max-width: 920px) { .dgrid { grid-template-columns: 1fr; } }
.dside { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 84px; }
@media (max-width: 920px) { .dside { position: static; } }
.dmain h2:first-child { margin-top: 0; }
.facts { margin: 0 0 14px; }
.facts div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts dt { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; }
.chip { display: inline-block; background: var(--hema-3); color: var(--hema); padding: 2px 10px; border-radius: 99px; margin: 2px 4px 2px 0; font-size: .88rem; text-decoration: none; font-weight: 600; }
.chip:hover { background: var(--eosin); color: #fff; }
.plain { padding-left: 1.1em; margin: 0 0 1em; }
.note { background: var(--bouin-2); border-left: 5px solid var(--bouin); padding: 12px 16px; border-radius: 0 6px 6px 0; margin: 1em 0; }
.note b { display: block; margin-bottom: 4px; color: #5B4600; }
.note p, .note ul { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tag { background: var(--hema-3); color: var(--hema); padding: 3px 12px; border-radius: 99px; font-size: .88rem; font-weight: 700; }
.tag.warn { background: var(--eosin-2); color: #8A2A4A; }
.prose h2 { margin-top: 1.4em; }
.dside h3 { margin-top: 1.2em; }

/* accordions */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; }
details[open] { border-color: var(--hema-2); }
summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--hema); font-family: var(--f-head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--eosin); }
details[open] > summary::after { content: "\2212"; }
.det-body { padding: 0 16px 14px; }
.det-body ul { margin: 0 0 .8em; padding-left: 1.2em; }
.det-body .rows { margin-top: 4px; }
.for { color: var(--ink-2); font-size: .92rem; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--hema); margin: 18px 0 20px; flex-wrap: wrap; }
.tab { font: 700 .98rem var(--f-head); padding: 10px 18px; background: transparent; border: 0; border-radius: 6px 6px 0 0; cursor: pointer; color: var(--hema); }
.tab[aria-selected="true"] { background: var(--hema); color: #fff; }
.tab:hover:not([aria-selected="true"]) { background: var(--hema-3); }
#slidelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.slide { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0; cursor: pointer; font: inherit; overflow: hidden; color: var(--ink); }
.slide span { display: block; padding: 8px 12px 12px; font-size: .9rem; font-weight: 600; }
.slide:hover { border-color: var(--eosin); }
#viewer { margin: 0 0 20px; background: #0F0E26; border-radius: var(--r); padding: 12px; color: #fff; }
#viewer h3 { color: #fff; margin: 0 0 8px; }
#osd { height: min(70vh, 560px); background: #000; border-radius: 6px; }
.fallback { padding: 24px; color: #fff; }
.qcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.qcard h3 { margin-bottom: 10px; }
.opt { display: block; width: 100%; text-align: left; font: inherit; background: var(--glass); border: 1px solid var(--line); padding: 10px 14px; border-radius: 6px; margin-bottom: 6px; cursor: pointer; color: var(--ink); }
.opt:hover:not([disabled]) { border-color: var(--hema-2); background: var(--hema-3); }
.opt.right { background: var(--ok-bg); border-color: var(--ok); }
.opt.wrong { background: var(--eosin-2); border-color: var(--eosin); }
.explain { margin: 10px 0 0; font-size: .95rem; }
#gloss { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
#gloss div { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
#gloss dt { font-weight: 700; color: var(--hema); } #gloss dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 3px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
#req { background: var(--hema-3); border-radius: var(--r); padding: 14px 16px; margin-top: 8px; }
#req dl { margin: 6px 0; } #req dt { font-size: .8rem; font-weight: 700; color: var(--ink-2); } #req dd { margin: 0 0 6px; }
#fout { width: 100%; min-height: 190px; font: .92rem/1.5 ui-monospace, monospace; padding: 10px; border: 1px solid var(--line); border-radius: 6px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px 12px 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--hema); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--f-head); }
.steps b { display: block; color: var(--hema); } .steps span { color: var(--ink-2); font-size: .95rem; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .twocol { grid-template-columns: 1fr; } }
#objs, #themes, #team, #timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
#objs li, #themes li, #team li, #timeline li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
#objs b, #themes b { color: var(--hema); font-family: var(--f-head); } #objs p, #themes p { margin: 4px 0 0; }
#team { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } #team li span { display: block; font-size: .9rem; color: var(--ink-2); }
#timeline time { font-weight: 700; color: var(--eosin); display: block; } #timeline p { margin: 2px 0 0; }
#equip, #cfacts { margin: 0; } #equip div, #cfacts div { padding: 10px 0; border-bottom: 1px solid var(--line); } #equip dt, #cfacts dt { font-weight: 700; color: var(--hema); } #equip dd, #cfacts dd { margin: 2px 0 0; color: var(--ink-2); }
#cfacts dd { color: var(--ink); } .tba { color: var(--ink-2); font-style: italic; }

/* coming soon */
.soon { max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.soon ul { padding-left: 1.2em; }

footer.site { background: var(--hema); color: #D5D3EF; padding: 40px 0 20px; margin-top: 40px; }
footer.site a { color: #fff; }
footer.site b { color: #fff; font-family: var(--f-head); display: block; margin-bottom: 6px; }
footer.site ul { list-style: none; padding: 0; margin: 0; } footer.site li { margin: 4px 0; }
.fcols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; font-size: .92rem; }
@media (max-width: 820px) { .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } }
.fbot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #4A47A0; margin-top: 24px; padding-top: 14px; font-size: .85rem; }
@media print { .util, header.site, footer.site, .notice, .filters { display: none; } body { background: #fff; } }

#units { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 14px 0 28px; }
.unit { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--hema); border-radius: var(--r); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.unit:hover { border-color: var(--eosin); box-shadow: 0 6px 16px rgba(45,42,110,.12); }
.unit-no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--hema); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; }
.unit-body { display: flex; flex-direction: column; gap: 3px; font-size: .88rem; color: var(--ink-2); }
.unit-body b { font-family: var(--f-head); font-size: 1rem; color: var(--ink); }
.unit-body em { font-style: normal; font-size: .8rem; color: var(--eosin); }
