/* MIZAN design system — KSIJ Central Procurement
   Paper, slate ink, Jamaat green for action, brass reserved for seals & signatures. */
@font-face{font-family:"Plex Sans";src:url(../fonts/plex-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(../fonts/plex-sans-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(../fonts/plex-sans-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(../fonts/plex-sans-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Plex Sans";src:url(../fonts/plex-sans-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Plex Serif";src:url(../fonts/plex-serif-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Plex Serif";src:url(../fonts/plex-serif-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Plex Mono";src:url(../fonts/plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Plex Mono";src:url(../fonts/plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}

:root{
  --paper:#f6f7f5; --surface:#fff; --sunk:#eef1ee; --stripe:#f8faf8;
  --ink:#16212b; --ink-2:#3a4650; --muted:#64707a; --faint:#8a949c;
  --rule:#d4d9d5; --rule-2:#e4e8e5;
  --green:#0e5a48; --green-2:#0a4638; --green-tint:#e3efea;
  --brass:#9c7a2e; --brass-tint:#f5eedd;
  --danger:#a3302a; --danger-tint:#f8e7e5; --warn:#8a5a0a; --warn-tint:#f7eedb; --info:#1f5a86; --info-tint:#e4eef6;
  --sans:"Plex Sans",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --serif:"Plex Serif",Georgia,serif; --mono:"Plex Mono",ui-monospace,Menlo,monospace;
  --r-ctl:3px; --r-panel:6px;
  --focus:0 0 0 3px rgba(14,90,72,.28);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 14px/1.5 var(--sans);font-feature-settings:"tnum" 0}
img,svg{display:block;max-width:100%}
a{color:var(--green);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--green-2)}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.25;letter-spacing:-.005em}
p{margin:0 0 .8em}
:focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--r-ctl)}
.num,.amount,td.num{font-variant-numeric:tabular-nums}
.mono{font-family:var(--mono);font-size:.92em;letter-spacing:0}
.muted{color:var(--muted)} .faint{color:var(--faint)} .small{font-size:12.5px} .nowrap{white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.stack>*+*{margin-top:16px} .stack-sm>*+*{margin-top:8px} .stack-lg>*+*{margin-top:28px}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap} .row.between{justify-content:space-between} .grow{flex:1}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.items-start{align-items:start}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.split{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
@media (max-width:980px){.grid-2,.grid-3,.split{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- controls ---------- */
.btn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:1px solid var(--rule);border-radius:var(--r-ctl);
  background:var(--surface);color:var(--ink);font:500 13.5px/1 var(--sans);text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--sunk);color:var(--ink)}
.btn-primary{background:var(--green);border-color:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-2);color:#fff}
.btn-danger{color:var(--danger);border-color:#e3c3c0}
.btn-danger:hover{background:var(--danger-tint);color:var(--danger)}
.btn-seal{background:var(--brass);border-color:var(--brass);color:#fff}
.btn-seal:hover{background:#86681f;color:#fff}
.btn-sm{height:28px;padding:0 10px;font-size:12.5px}
.btn-lg{height:42px;padding:0 20px;font-size:15px}
.btn-link{background:none;border:0;padding:0;height:auto;color:var(--green);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.btn svg{width:15px;height:15px}
label,.label{display:block;font-weight:500;font-size:13px;margin-bottom:5px;color:var(--ink-2)}
.hint{font-size:12.5px;color:var(--muted);margin-top:4px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=search],input[type=url],input[type=tel],select,textarea{
  width:100%;height:36px;padding:0 10px;border:1px solid var(--rule);border-radius:var(--r-ctl);background:var(--surface);
  color:var(--ink);font:400 14px var(--sans)}
textarea{height:auto;min-height:96px;padding:8px 10px;line-height:1.5;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:var(--focus)}
input[type=file]{font:inherit;font-size:13px}
input[type=checkbox],input[type=radio]{accent-color:var(--green);width:16px;height:16px;margin:0}
.check{display:flex;gap:9px;align-items:flex-start;font-weight:400;color:var(--ink)} .check input{margin-top:2px;flex:none}
.field{margin-bottom:16px} .field.error input,.field.error select,.field.error textarea{border-color:var(--danger)}
.field-error{color:var(--danger);font-size:12.5px;margin-top:4px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px} .fields .span-2{grid-column:1/-1}
@media (max-width:720px){.fields{grid-template-columns:1fr}}
fieldset{border:0;padding:0;margin:0} legend{font-weight:600;font-size:15px;margin-bottom:12px;padding:0}

/* ---------- feedback ---------- */
.notice{padding:11px 14px;border-radius:var(--r-ctl);border:1px solid;font-size:13.5px}
.notice-ok{background:var(--green-tint);border-color:#bcd8cd;color:#0b4a3b}
.notice-error{background:var(--danger-tint);border-color:#e6c2be;color:#7d211c}
.notice-warn{background:var(--warn-tint);border-color:#e6d2a9;color:#6b4508}
.notice-info{background:var(--info-tint);border-color:#c3d7e8;color:#174469}
.notice ul{margin:6px 0 0;padding-left:18px}
.tag{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px;border-radius:2px;font-size:12px;font-weight:500;white-space:nowrap;border:1px solid transparent}
.tag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}
.tag-ok{background:var(--green-tint);color:#0b4a3b} .tag-warn{background:var(--warn-tint);color:var(--warn)}
.tag-danger{background:var(--danger-tint);color:var(--danger)} .tag-info{background:var(--info-tint);color:var(--info)}
.tag-neutral{background:var(--sunk);color:var(--ink-2)}
.type-chip{display:inline-block;padding:1px 6px;border:1px solid var(--rule);border-radius:2px;font-size:11.5px;font-weight:600;color:var(--ink-2);letter-spacing:.02em}

/* The seal: the one ornament. Used for sealed bids, keys and signatures only. */
.seal{display:inline-flex;align-items:center;gap:8px;color:var(--brass);font-weight:500}
.seal-mark{width:22px;height:22px;flex:none}
.seal-panel{border:1px solid #e4d6b4;background:var(--brass-tint);border-radius:var(--r-panel);padding:16px 18px}
.seal-panel h3{color:#5d4614}
.signature{border-left:3px solid var(--brass);padding:6px 0 6px 12px}

/* ---------- panels & tables ---------- */
.panel{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-panel)}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--rule-2)}
.panel-head h2,.panel-head h3{font-size:14.5px}
.panel-body{padding:16px}
.panel-foot{padding:10px 16px;border-top:1px solid var(--rule-2);background:var(--stripe);border-radius:0 0 var(--r-panel) var(--r-panel)}
.dl{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px 16px;margin:0}
.dl dt{color:var(--muted);font-size:13px} .dl dd{margin:0}
@media (max-width:600px){.dl{grid-template-columns:1fr}.dl dt{margin-top:6px}}
.table-wrap{overflow:auto;max-width:100%}
table.grid{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
.grid th{position:sticky;top:0;z-index:1;background:#f1f4f2;text-align:left;font-weight:600;font-size:12.5px;color:var(--ink-2);
  padding:8px 12px;border-bottom:1px solid var(--rule);white-space:nowrap}
.grid th a{color:inherit;text-decoration:none} .grid th a:hover{color:var(--green)}
.grid th .sort{color:var(--green)}
.grid td{padding:8px 12px;border-bottom:1px solid var(--rule-2);vertical-align:top}
.grid tbody tr:nth-child(even) td{background:var(--stripe)}
.grid tbody tr:hover td{background:#edf3f0}
.grid td.num,.grid th.num{text-align:right}
.grid .ref{font-family:var(--mono);font-size:12.5px;white-space:nowrap}
.grid tr.recommended td{background:#eef6f1!important}
.grid tfoot td{font-weight:600;background:#f1f4f2;border-top:1px solid var(--rule)}
.empty{padding:36px 16px;text-align:center;color:var(--muted)}
.empty strong{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}

/* ---------- console shell (per the agreed wireframe) ---------- */
.shell{display:grid;grid-template-columns:232px minmax(0,1fr);grid-template-rows:52px minmax(0,1fr);min-height:100vh}
.topbar{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:0 16px;background:var(--ink);color:#dfe5e9;position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:600;letter-spacing:.01em;min-width:200px}
.brand svg{width:26px;height:26px}
.brand small{display:block;font-weight:400;font-size:11px;color:#9fb0ba;letter-spacing:0}
.org-switch select{height:30px;background:#22303b;border-color:#33434f;color:#e9eef1;font-size:13px;width:auto;min-width:190px}
.org-switch .fixed{display:inline-flex;align-items:center;height:30px;padding:0 10px;border:1px solid #33434f;border-radius:var(--r-ctl);font-size:13px;color:#e9eef1}
.top-search{flex:1;max-width:460px;position:relative}
.top-search input{height:30px;background:#22303b;border-color:#33434f;color:#fff;padding-right:44px}
.top-search input::placeholder{color:#8c9ca7}
.top-search kbd{position:absolute;right:8px;top:6px;font:500 11px var(--sans);color:#8c9ca7;border:1px solid #3b4a56;border-radius:3px;padding:1px 5px}
.top-links{display:flex;align-items:center;gap:4px;margin-left:auto}
.top-links a,.top-links button.tl{color:#cdd6dc;text-decoration:none;font-size:13px;padding:6px 9px;border-radius:var(--r-ctl);background:none;border:0;cursor:pointer;font-family:inherit}
.top-links a:hover,.top-links button.tl:hover{background:#22303b;color:#fff}
.bell{position:relative}
.bell svg{width:18px;height:18px}
.bell .count{position:absolute;top:1px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#c7952c;color:#16212b;font:700 10px/16px var(--sans);text-align:center}
.bell .count[hidden]{display:none}
.avatar{width:30px;height:30px;border-radius:50%;background:#2c5f52;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:12px}
.popover{position:absolute;right:0;top:calc(100% + 8px);width:380px;max-width:92vw;background:var(--surface);color:var(--ink);border:1px solid var(--rule);
  border-radius:var(--r-panel);box-shadow:0 12px 32px rgba(22,33,43,.18);z-index:40}
.popover[hidden]{display:none}
.popover .pop-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid var(--rule-2);font-weight:600}
.notif-list{max-height:420px;overflow:auto;margin:0;padding:0;list-style:none}
.notif-list li{border-bottom:1px solid var(--rule-2)}
.notif-list form{margin:0}
.notif-list button{display:block;width:100%;text-align:left;background:none;border:0;padding:10px 14px;cursor:pointer;font:inherit;color:inherit}
.notif-list button:hover{background:var(--stripe)}
.notif-list .unread{border-left:3px solid var(--green)}
.notif-list .t{font-weight:600;font-size:13px} .notif-list .b{font-size:12.5px;color:var(--ink-2);margin-top:2px} .notif-list .w{font-size:11.5px;color:var(--faint);margin-top:3px}
.menu{position:relative}
.menu .popover{width:250px}
.menu-list{list-style:none;margin:0;padding:6px 0}
.menu-list a,.menu-list button{display:block;width:100%;text-align:left;padding:8px 14px;color:var(--ink);text-decoration:none;background:none;border:0;font:inherit;cursor:pointer}
.menu-list a:hover,.menu-list button:hover{background:var(--stripe)}

.sidebar{background:var(--surface);border-right:1px solid var(--rule);display:flex;flex-direction:column;position:sticky;top:52px;height:calc(100vh - 52px);overflow:auto}
.nav{padding:12px 8px;flex:1}
.nav-group{margin-bottom:14px}
.nav-group>span{display:block;padding:4px 10px;font-size:12px;color:var(--faint)}
.nav a{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:var(--r-ctl);color:var(--ink-2);text-decoration:none;font-size:13.5px}
.nav a svg{width:16px;height:16px;color:var(--faint)}
.nav a:hover{background:var(--sunk);color:var(--ink)}
.nav a.active{background:var(--green-tint);color:var(--green-2);font-weight:600} .nav a.active svg{color:var(--green)}
.nav a .pill{margin-left:auto;font-size:11px;font-weight:600;background:var(--warn-tint);color:var(--warn);border-radius:9px;padding:0 6px;line-height:18px}
.sidebar-foot{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--rule-2);font-size:11.5px;color:var(--muted)}
.sidebar-foot .ok::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#2f8a5f;margin-right:5px}

.main{padding:18px 24px 48px;min-width:0}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:12.5px;color:var(--muted);margin-bottom:10px}
.crumbs a{color:var(--muted);text-decoration:none} .crumbs a:hover{color:var(--green)}
.crumbs .sep{color:var(--faint)}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.page-head h1{font-size:21px}
.page-head .sub{color:var(--muted);margin-top:3px;font-size:13px}
.toolbar{display:flex;gap:8px;flex-wrap:wrap}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px 12px;border:1px solid var(--rule);border-bottom:0;
  background:var(--surface);border-radius:var(--r-panel) var(--r-panel) 0 0}
.filters input,.filters select{height:30px;width:auto;font-size:13px}
.filters input[type=search]{min-width:240px}
.filters+.panel{border-top-left-radius:0;border-top-right-radius:0}
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--rule);font-size:13px;color:var(--muted);flex-wrap:wrap}
.pager .pages{display:flex;gap:6px;align-items:center}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--rule);border-radius:var(--r-panel);background:var(--surface);margin-bottom:20px}
.kpis>div{padding:14px 16px;border-left:1px solid var(--rule-2)} .kpis>div:first-child{border-left:0}
.kpis .v{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums} .kpis .l{font-size:12.5px;color:var(--muted)}
@media (max-width:800px){.kpis{grid-template-columns:repeat(2,1fr)}.kpis>div:nth-child(3){border-left:0}}
.action-list{list-style:none;margin:0;padding:0}
.action-list li{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--rule-2)}
.action-list li:last-child{border-bottom:0}
.action-list .n{font-weight:600;font-variant-numeric:tabular-nums;background:var(--warn-tint);color:var(--warn);border-radius:10px;padding:0 9px}
.feed{list-style:none;margin:0;padding:0}
.feed li{padding:9px 16px;border-bottom:1px solid var(--rule-2);font-size:13px}
.feed li:last-child{border-bottom:0}
.timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--rule)}
.timeline li{position:relative;padding:0 0 14px 14px}
.timeline li::before{content:"";position:absolute;left:-21px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--rule)}
.timeline li.done::before{background:var(--green);border-color:var(--green)}
.timeline li.current::before{border-color:var(--green)}
.timeline li.sealed::before{background:var(--brass);border-color:var(--brass)}
.timeline .when{font-size:12px;color:var(--muted)}
@media (max-width:900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.brand{min-width:0}.top-search{display:none}.main{padding:16px}}

.repeat-row{display:grid;gap:10px;padding:12px;border:1px solid var(--rule-2);border-radius:var(--r-ctl);background:var(--stripe);margin-bottom:10px}
.repeat-row.items{grid-template-columns:minmax(0,2fr) minmax(0,3fr) 110px 100px 34px}
.repeat-row.criteria{grid-template-columns:minmax(0,2fr) minmax(0,3fr) 100px 34px}
.repeat-row.affil{grid-template-columns:repeat(5,minmax(0,1fr)) 34px}
@media (max-width:860px){.repeat-row.items,.repeat-row.criteria,.repeat-row.affil{grid-template-columns:1fr}}
.weight-total{font-variant-numeric:tabular-nums;font-weight:600}
.weight-total.bad{color:var(--danger)} .weight-total.good{color:var(--green)}
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--rule);margin-bottom:16px;overflow:auto}
.tabs a{padding:9px 14px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.tabs a.active{color:var(--ink);border-bottom-color:var(--green);font-weight:600}
details.disclose>summary{cursor:pointer;color:var(--green);font-weight:500;list-style:none}
details.disclose>summary::-webkit-details-marker{display:none}
.score-input{width:80px!important;text-align:right}
.bar{height:6px;background:var(--sunk);border-radius:3px;overflow:hidden;min-width:80px}
.bar>i{display:block;height:100%;background:var(--green)}
.bar.below>i{background:#b9a27a}
.flag{display:flex;gap:8px;font-size:12.5px;padding:3px 0}
.flag::before{content:"";flex:none;width:7px;height:7px;margin-top:6px;border-radius:50%;background:var(--warn)}
.flag.danger::before{background:var(--danger)}
.dialog-form{border:1px solid var(--rule);border-radius:var(--r-panel);padding:14px;background:var(--stripe)}

/* ---------- auth ---------- */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.auth-side{background:var(--ink);color:#d9e1e6;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
.auth-side .brand{min-width:0}
.auth-side blockquote{margin:0;font-family:var(--serif);font-size:22px;line-height:1.45;color:#f1f4f6;max-width:30ch}
.auth-side cite{display:block;margin-top:14px;font:400 13px var(--sans);color:#9fb0ba;font-style:normal}
.auth-main{display:flex;align-items:center;justify-content:center;padding:32px 20px}
.auth-card{width:100%;max-width:380px}
.auth-card h1{font-size:22px;margin-bottom:4px}
@media (max-width:860px){.auth{grid-template-columns:1fr}.auth-side{display:none}}

/* ---------- public portal ---------- */
.site-head{background:var(--surface);border-bottom:1px solid var(--rule)}
.site-head .inner,.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.site-head .inner{display:flex;align-items:center;gap:24px;height:66px}
.site-head .brand{color:var(--ink);min-width:0}
.site-head .brand small{color:var(--muted)}
.site-nav{display:flex;gap:4px;margin-left:auto;align-items:center;flex-wrap:wrap}
.site-nav a{padding:8px 11px;color:var(--ink-2);text-decoration:none;border-radius:var(--r-ctl);font-size:14px}
.site-nav a:hover{background:var(--sunk);color:var(--ink)}
.site-nav a.btn-primary,.site-nav a.btn-primary:hover{color:#fff;background:var(--green-2)}
.site-nav a.active{color:var(--green);font-weight:600}
@media (max-width:760px){.site-nav{display:none}.site-head .inner{height:58px}}
.hero{padding:44px 0 38px;border-bottom:1px solid var(--rule);background:linear-gradient(180deg,var(--surface) 0%,var(--paper) 100%)}
.hero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:44px;align-items:start}
.hero-banner{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:center}
.hero-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--green);margin-bottom:14px}
.hero-mark{width:28px;height:28px;color:var(--green);flex:none}
.hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(28px,3.4vw,40px);line-height:1.16;letter-spacing:-.01em;max-width:22ch}
.hero .lede{font-size:16px;line-height:1.6;color:var(--ink-2);max-width:54ch;margin-top:14px}
.hero .facts{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-size:13.5px}
.hero .facts b{color:var(--ink);font-variant-numeric:tabular-nums}
.hero-card{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-panel);overflow:hidden;box-shadow:0 4px 16px rgba(22,33,43,.04)}
.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-stats>div{padding:18px 20px;border-bottom:1px solid var(--rule-2)}
.hero-stats>div:nth-child(even){border-left:1px solid var(--rule-2)}
.hero-stats .v{display:block;font-size:26px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.15}
.hero-stats .l{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
.hero-seal{padding:16px 20px;background:var(--brass-tint);border-top:1px solid #e4d6b4;display:flex;flex-direction:column;gap:8px}
@media (max-width:900px){.hero-grid,.hero-banner{grid-template-columns:1fr;gap:26px}}
.scale-mark{width:56px;height:56px;color:var(--green);margin-bottom:18px}
.board{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-panel)}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--rule)}
.board-head h2{font-size:16px}
.board .filters{border:0;border-bottom:1px solid var(--rule-2);border-radius:0;background:var(--stripe);padding:12px 20px}
.board-filters input,.board-filters select{height:34px}
.opps{list-style:none;margin:0;padding:0}
.opp{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;padding:14px 18px;border-bottom:1px solid var(--rule-2)}
.opp:last-child{border-bottom:0}
.opp h3{font-size:15px;font-weight:600;line-height:1.35}
.opp h3 a{color:var(--ink);text-decoration:none} .opp h3 a:hover{color:var(--green);text-decoration:underline}
.opp .meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);align-items:center}
.opp .closes{text-align:right;font-size:12.5px;color:var(--muted);white-space:nowrap}
.opp .closes b{display:block;color:var(--ink);font-size:13.5px;font-weight:600}
.opp .closes .soon{color:var(--danger)}
.section-block{padding-top:36px;padding-bottom:36px}
.section-block h2.title{font-family:var(--serif);font-size:24px;font-weight:600;margin-bottom:6px}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--rule);border-radius:var(--r-panel);background:var(--surface);counter-reset:s}
.steps>div{padding:18px;border-left:1px solid var(--rule-2)} .steps>div:first-child{border-left:0}
.steps h3{font-size:14.5px;margin-bottom:6px;display:flex;gap:8px;align-items:baseline}
.steps h3::before{counter-increment:s;content:counter(s);font:600 12px var(--sans);color:var(--green);border:1px solid #b9d3c8;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.steps p{font-size:13.5px;color:var(--ink-2);margin:0}
@media (max-width:860px){.steps{grid-template-columns:1fr}.steps>div{border-left:0;border-top:1px solid var(--rule-2)}.steps>div:first-child{border-top:0}}
.site-foot{border-top:1px solid var(--rule);background:var(--surface);padding:28px 0;margin-top:40px;font-size:13px;color:var(--muted)}
.site-foot .inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.tender-head{padding:28px 0 22px;border-bottom:1px solid var(--rule);background:var(--surface)}
.tender-head h1{font-family:var(--serif);font-size:clamp(24px,2.8vw,32px);font-weight:600;max-width:30ch;margin:8px 0 10px}
.deadline-box{border:1px solid var(--rule);border-radius:var(--r-panel);background:var(--surface)}
.deadline-box .top{padding:16px 18px;border-bottom:1px solid var(--rule-2)}
.countdown{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.countdown small{font-size:13px;font-weight:400;color:var(--muted);margin:0 6px 0 2px}
.prose{max-width:72ch;line-height:1.65;font-size:14.5px}
.prose p{white-space:pre-line}
.oath{font-family:var(--serif);font-size:15px;line-height:1.7;color:#3b2f12;border:1px solid #e4d6b4;background:var(--brass-tint);padding:18px 20px;border-radius:var(--r-panel)}
.oath p{margin:0 0 10px}
.form-section{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-panel);padding:20px 22px;margin-bottom:18px}
.form-section h2{font-size:16px;margin-bottom:4px}
.form-section>.muted{margin-bottom:16px}
.paginate{display:flex;gap:6px;justify-content:center;padding:16px}
/* utilities (no inline styles anywhere: CSP) */
.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}
.mt-4{margin-top:4px}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.m-0{margin:0}
.inline{display:inline}.w-auto{width:auto!important}.text-right{text-align:right}.fs-15{font-size:15px}.fs-13{font-size:13px}.h-sm{font-size:14px}
.page-pad{padding-top:24px;padding-bottom:40px}.side-note{color:#8fa1ac;margin:0}.maxw-640{max-width:640px}.maxw-820{max-width:820px}
.code-lg{font-family:var(--mono);font-size:15px}
.w-0>i,.bar>i.w-0{width:0}.bar>i.w-5{width:5%}.bar>i.w-10{width:10%}.bar>i.w-15{width:15%}.bar>i.w-20{width:20%}.bar>i.w-25{width:25%}.bar>i.w-30{width:30%}.bar>i.w-35{width:35%}.bar>i.w-40{width:40%}.bar>i.w-45{width:45%}.bar>i.w-50{width:50%}.bar>i.w-55{width:55%}.bar>i.w-60{width:60%}.bar>i.w-65{width:65%}.bar>i.w-70{width:70%}.bar>i.w-75{width:75%}.bar>i.w-80{width:80%}.bar>i.w-85{width:85%}.bar>i.w-90{width:90%}.bar>i.w-95{width:95%}.bar>i.w-100{width:100%}

div.seal{display:flex}
.grid td select{min-width:104px}.grid td input[type=text]{min-width:150px}.grid td input[type=number]{min-width:120px}
.grid tfoot td.num,#bid-total{white-space:nowrap}
.dl dd.mono{font-size:12px;word-break:break-all}
.hero .facts{gap:8px 22px}
@media (max-width:760px){
  .site-head .inner{height:auto;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;gap:8px}
  .site-nav{display:flex;margin-left:0;width:100%;flex-wrap:nowrap;overflow-x:auto}
  .site-nav a{white-space:nowrap;font-size:13.5px;padding:6px 9px}
}
@media (max-width:900px){
  .sidebar{display:block;position:static;height:auto;border-right:0;border-bottom:1px solid var(--rule)}
  .sidebar .nav{display:flex;gap:4px;overflow-x:auto;padding:8px}
  .sidebar .nav-group{display:flex;gap:4px;margin:0}.sidebar .nav-group>span,.sidebar-foot{display:none}
  .sidebar .nav a{white-space:nowrap}
  .org-switch select{min-width:0;max-width:140px}
}
