/* Website chrome: projects first, one quiet update indicator. */
:root{--web-surface:#fff;--web-soft:#f5f6f8;--web-muted:#707988;--web-accent:#355e8e}
[data-theme=dark]{--web-surface:#202225;--web-soft:#1b1d20;--web-muted:#a0a7af;--web-accent:#bacde3}
body{background:var(--web-soft)}
.sidebar{background:var(--web-surface);border-color:var(--line);padding-top:32px}
.brand{font-size:22px;gap:13px;min-height:44px;color:var(--ink)}
.brand-mark{height:31px;width:30px;gap:3px}.brand-mark i{width:7px;height:24px;background:#365c89}.brand-mark i:nth-child(2){height:31px;background:#6684a9}.brand-mark i:last-child{height:20px;background:#a0b3ca}
.workspace-label{font-size:11px;color:var(--web-muted);margin-top:44px;margin-bottom:15px}
.nav{min-height:46px;border-radius:8px;font-size:13px;color:var(--web-muted);margin-bottom:5px}
.nav.active{background:#edf1f6;color:#355e8e}.nav-tail{opacity:.5}
.sidebar-foot{border-color:var(--line);color:var(--web-muted)}
.topbar{background:var(--web-surface);border-color:var(--line);height:64px}
.top-right{gap:12px}.theme-toggle{border-color:var(--line);background:transparent;font-size:12px;border-radius:7px}
main{max-width:1600px;margin:0 auto;padding:36px 40px 24px}
.heading{align-items:center;margin-bottom:28px;gap:16px}.heading h1{font-size:29px;font-weight:650;line-height:1.3;text-wrap:balance}
.heading-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.update-stamp{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:11px;color:var(--web-muted);font-variant-numeric:tabular-nums;line-height:1.5}
.update-stamp time{margin-left:6px;color:var(--ink)}.update-next{font-size:10px}.update-next span{display:inline-block;min-width:43px;text-align:right}
#scan{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:var(--web-surface);color:var(--web-muted)}
#scan:hover{color:var(--web-accent)}#scan:disabled{opacity:.5;cursor:wait}
.workbench-status{padding:12px 16px;margin:0 0 18px;border:1px solid var(--line);border-radius:8px;background:var(--web-surface);font-size:12px;display:flex;gap:16px;color:var(--ink)}
.workbench-status::before{display:none}.workbench-status.hidden{display:none!important}
.workspace-toolbar{border:0;margin-bottom:18px}.filter-panel{width:100%;justify-content:flex-start}.search-box{max-width:380px;width:100%;height:44px;border-color:var(--line);background:var(--web-surface);border-radius:9px}.search-box input{font-size:13px;color:var(--ink)}
.filter-details>summary{height:44px;border-radius:9px;border-color:var(--line);color:var(--web-muted)}
.list-controls{padding-top:18px;border-top:1px solid var(--line);margin-bottom:16px;gap:16px}.region-chip{font-size:12px;color:var(--web-muted);padding:6px 9px}.region-chip.active{border-color:var(--line);box-shadow:none;color:var(--web-accent)}
.business-shortcuts{gap:8px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:0}.business-chip{font-size:12px;padding:7px 11px;border-radius:7px;color:var(--web-muted)}.business-chip.active{background:#e9eef5;color:#355e8e;border-color:transparent}.business-label{font-size:11px;color:var(--web-muted)}
.list-caption{margin:20px 0 16px}.list-caption #result-count{color:var(--web-muted);font-size:12px}.list-caption strong{font-size:15px;color:var(--ink);font-weight:600}
.assistance-card{position:relative;padding:13px 16px;margin:0 0 16px;border-color:var(--line);border-radius:9px;background:var(--web-surface)}
.assistance-head h2{font-size:12px;font-weight:500;color:var(--web-muted);margin:0}.assistance-head h2 span{margin-left:8px;color:var(--ink);font-variant-numeric:tabular-nums}
#assistance-refresh{display:none}.assistance-card>details{margin:0}.assistance-card>details>summary{position:absolute;right:16px;top:13px;font-size:12px;color:var(--web-accent)}
#assistance-list:not(:empty){margin-top:14px}.manual-link-row h3{font-size:13px}
.tender-card{border-color:var(--line);border-radius:12px;box-shadow:0 1px 2px #16263a03;margin-bottom:16px}.tender-card:hover{border-color:#acbbcb;transform:none}
.tender-main{padding:25px 28px}.tender-card .project-title{font-size:18px;color:var(--ink);font-weight:600;line-height:1.6}.tender-heading{margin-top:13px;margin-bottom:10px;text-wrap:pretty}.tender-summary{color:var(--web-muted);font-size:13px;line-height:1.85}
.tender-deadline{background:#f8f9fb;border-color:var(--line)}.deadline-reading>strong{font-size:24px;font-weight:550;font-variant-numeric:tabular-nums}.tender-amount strong{font-size:16px}
.project-footer{background:transparent;border-color:var(--line)}.row-source a{color:var(--web-muted)}.tender-open{color:var(--web-accent)}
[data-theme=dark] :is(.sidebar,.topbar,.assistance-card,.tender-card){background:var(--web-surface)}
[data-theme=dark] .nav.active,[data-theme=dark] .business-chip.active{background:#303842;color:#cfdef0}
[data-theme=dark] .tender-deadline{background:var(--web-soft)}
[data-theme=dark] .tender-card:hover{border-color:#526174}
[data-theme=dark] .search-box{background:var(--web-surface)}
[data-theme=dark] .primary{color:#1b1d20}
.source-diagnostics{display:none}
@media(max-width:1200px){main{padding:28px}.brand{font-size:19px;gap:9px}.brand-mark{width:26px}}
@media(max-width:760px){
 .sidebar{padding:18px 18px 0}.brand{font-size:20px;min-height:32px}.brand-mark{display:flex;height:28px;width:26px}.brand-mark i{width:6px;height:21px}.brand-mark i:nth-child(2){height:28px}.brand-mark i:last-child{height:18px}
 .sidebar nav{padding-top:16px;grid-template-columns:repeat(3,1fr)}.nav{font-size:11px;min-height:38px;margin:0}.topbar{height:44px}.theme-toggle{font-size:10px;padding:5px 9px}
 main{padding:24px 16px}.heading{margin-bottom:24px;align-items:center}.heading h1{font-size:24px}.heading-actions{gap:8px}.update-stamp{font-size:10px;gap:3px}.update-stamp time{margin-left:4px}.update-next{font-size:9px}#scan{width:30px;height:30px}#scan .icon{width:14px;height:14px}
 .workspace-toolbar{margin-bottom:16px}.search-box{height:42px;max-width:none}.search-box input{font-size:16px}.filter-details>summary{height:42px}.list-controls{padding-top:15px;gap:12px}.region-chip{font-size:11px;padding:5px 8px}.business-shortcuts{gap:5px;padding-bottom:15px}.business-chip{font-size:11px;padding:6px 8px}.business-label{display:none}.list-caption{margin:16px 0 12px}
 .tender-main{padding:19px 18px}.tender-card .project-title{font-size:16px}.tender-summary{font-size:12px}.tender-heading{margin-top:12px}.tender-card{border-radius:10px}.tender-amount strong{font-size:14px}.deadline-reading>strong{font-size:20px}.assistance-card{padding:12px 14px}.assistance-card>details>summary{top:12px;right:14px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Emphasize both qualification clauses without implying a bid eligibility decision. */
.tender-qualification .qualification-priority{gap:7px;padding:5px 10px;border-radius:6px;border-color:#c8d8eb;background:#edf3fa;color:#355e8e;font-size:11px;font-weight:600;line-height:1.6}
.qualification-priority .icon{width:15px;height:15px;padding:2px;border-radius:50%;background:#355e8e;color:#fff;stroke-width:2.2;flex-shrink:0}
[data-theme=dark] .tender-qualification .qualification-priority{background:#283748;border-color:#425a74;color:#c3d8ef}
[data-theme=dark] .qualification-priority .icon{background:#a8c2e1;color:#1b293a}
