:root {
  color-scheme: light;
  --ink:#142944; --muted:#465e77; --paper:#f5f8fc; --white:#fff;
  --line:#d6e0ec; --blue:#0754be; --dark:#103465; --soft:#eaf3ff;
  --focus:#874900; --max:1160px;
}
*{box-sizing:border-box}
html{scroll-padding-top:1.2rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-underline-offset:.18em}
button,input,select{font:inherit}
button,select{cursor:pointer}
[hidden]{display:none!important}
.wrap{width:min(calc(100% - 3rem),var(--max));margin-inline:auto}
.skip{position:absolute;z-index:5;left:1rem;top:-8rem;background:white;padding:.65rem}
.skip:focus{top:1rem}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.head{background:white;border-bottom:1px solid var(--line)}
.head .wrap,.foot .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;min-height:70px}
.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;font-weight:780;white-space:nowrap;letter-spacing:-.03em}
.mark{background:var(--dark);display:flex;align-items:flex-end;justify-content:center;gap:3px;width:36px;height:36px;padding:8px;border-radius:10px}
.mark i{display:block;width:4px;height:8px;background:#a2e4ff;border-radius:2px}
.mark i:nth-child(2){height:13px;background:#6fcaff}
.mark i:nth-child(3){height:19px;background:#fff}
.head nav{display:flex;flex-wrap:wrap;align-items:center;gap:.48rem;color:var(--muted)}
.head nav a{text-decoration:none;font-size:.95rem;font-weight:680;padding:.42rem .68rem;border-radius:8px}
.head nav a[aria-current],.head nav a:hover{color:#084da9;background:var(--soft)}
.hero{background:radial-gradient(ellipse at 87% 2%,#d1e6ff 0,transparent 55%),linear-gradient(112deg,#eef5ff,#f8fbff 62%,#e0efff);border-bottom:1px solid var(--line);padding:clamp(2rem,4.7vw,4.2rem) 0}
.hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(1.5rem,5vw,4rem);align-items:center}
.kicker{display:flex;align-items:center;gap:.5rem;color:#255580;font-size:.875rem;letter-spacing:.085em;text-transform:uppercase;font-weight:800;margin:0 0 .58rem}
.signal{width:7px;height:7px;border-radius:50%;background:#1164cc;box-shadow:0 0 0 4px #d5e7fc;margin-inline:.18rem}
.hero h1,.intro h1{font-size:clamp(2.6rem,6.1vw,5.25rem);line-height:1.015;letter-spacing:-.063em;font-weight:745;margin:0;color:#142f52}
.hero h1 span{color:#0754be}
.summary{font-size:clamp(1rem,1.8vw,1.14rem);max-width:38rem;color:var(--muted);margin:1rem 0 1.3rem}
.primary,.secondary,.apply,.save,.reset{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;font-weight:720;text-decoration:none;line-height:1.2;padding:.62rem .85rem}
.primary,.apply{background:var(--blue);color:white;border:1px solid var(--blue)}
.primary:hover,.apply:hover{background:#063f8b;border-color:#063f8b}
.secondary,.save,.reset{background:white;border:1px solid #b9c9dd;color:#134b85}
.secondary:hover,.save:hover,.reset:hover{border-color:var(--blue);background:#f1f7ff}
.brief{background:#fff;border:1px solid #c2d7ee;border-radius:16px;box-shadow:0 12px 34px #133e7420;padding:1.22rem}
.brief-top{display:flex;align-items:center;justify-content:space-between;gap:.55rem;font-weight:780}
.brief-stamp{background:#e8f4ed;color:#146339;padding:.22rem .51rem;border-radius:6px;font-size:.875rem;white-space:nowrap}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:1rem 0 .75rem;gap:.65rem}
.metrics div{display:flex;flex-direction:column-reverse;justify-content:space-between;border-top:3px solid #bad8fa;background:#f3f8ff;border-radius:6px;padding:.58rem}
.metrics dt{color:#3d5a78;font-size:.875rem;line-height:1.25}
.metrics dd{margin:0;color:#103d76;font-size:clamp(1.35rem,3vw,2rem);font-weight:760;letter-spacing:-.05em;line-height:1.2}
.brief p{margin:0;color:var(--muted);font-size:.875rem}
.main{padding:1.8rem 0 3.1rem}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:0 0 .8rem}
.section-head h2,.guide h2,.article h2{font-size:clamp(1.55rem,3.8vw,2.1rem);letter-spacing:-.041em;line-height:1.15;margin:0;font-weight:725}
.counter{border-radius:8px;background:#e8eff9;color:#214e80;margin:0;padding:.28rem .6rem;font-weight:720;white-space:nowrap}
.filters{display:grid;grid-template-columns:1.65fr repeat(3,minmax(0,1fr)) auto;gap:.7rem;align-items:end;background:white;padding:1rem;border:1px solid var(--line);border-radius:12px;margin-bottom:.75rem}
.filters label:not(.saved-only){display:grid;gap:.32rem;min-width:0}
.filters label span{font-size:.875rem;font-weight:720}
.field{width:100%;height:44px;padding:0 .66rem;border:1px solid #aebfd3;background:white;border-radius:7px;color:var(--ink);min-width:0}
select.field{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23134b85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .58rem center;background-size:16px;background-repeat:no-repeat}
.filter-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:.42rem}
.saved-only{display:flex;align-items:center;gap:.35rem;min-height:44px;white-space:nowrap;padding-inline:.15rem}
.saved-only input{width:17px;height:17px;accent-color:var(--blue)}
.reset,.save,.apply{font-size:.875rem;white-space:nowrap}
.list{padding:0;margin:0;list-style:none;display:grid;gap:.6rem}
.job{display:grid;grid-template-columns:46px minmax(0,1fr) max-content;gap:.83rem;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:.88rem 1rem}
.initials{height:44px;width:44px;display:grid;place-items:center;border-radius:9px;background:#e8f1ff;color:#15487f;font-weight:800;font-size:.875rem}
.job h3{margin:0;font-size:1.12rem;line-height:1.31;overflow-wrap:anywhere}
.meta{margin:.23rem 0;color:var(--muted);font-size:.94rem}
.meta span{padding-inline:.12rem}
.tags{display:flex;gap:.34rem;flex-wrap:wrap;margin-top:.34rem}
.tag{border-radius:5px;background:#edf3fb;color:#284f79;padding:.11rem .45rem;font-size:.875rem;font-weight:650}
.date{margin:.34rem 0 0;color:#526c87;font-size:.82rem}
.actions{display:flex;gap:.42rem;align-items:center}
.save[aria-pressed=true]{background:#e1eeff;border-color:#78a7e2}
.empty{padding:1rem;border:1px dashed #91a8c0;background:white;border-radius:10px}
.guide{background:#e2eeff;border:1px solid #c6dbf3;border-radius:14px;margin-top:1.9rem;padding:clamp(1rem,3vw,1.7rem);display:grid;grid-template-columns:1fr max-content;align-items:center;gap:1rem}
.guide p{margin:.4rem 0 0}
.guide .kicker{margin:0 0 .5rem}
.resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.64rem;margin-top:.75rem}
.resources a{border:1px solid var(--line);border-radius:9px;background:white;padding:.8rem;text-decoration:none;display:grid;gap:.27rem}
.resources a strong{color:#14539b;text-decoration:underline}
.resources a span,.muted{color:var(--muted)}
.resources a span{font-size:.9rem}
.foot{border-top:1px solid var(--line);background:#fff;padding:.8rem 0}
.foot p{margin:.22rem 0;color:var(--muted);font-size:.9rem}
.foot .brand{color:#183e6c}
.intro{background:linear-gradient(120deg,#eaf2ff,#dcecff);border-bottom:1px solid var(--line);padding:clamp(1.85rem,5vw,3rem) 0}
.intro h1{font-size:clamp(2.25rem,5.2vw,4rem);max-width:870px}
.intro p:not(.kicker){max-width:660px;color:var(--muted);margin-bottom:0}
.article{max-width:800px;padding:1.55rem 0 2.8rem}
.article a{color:#0754a9}
.article p{margin:.62rem 0}
.article li{margin:.43rem 0}
.article section+section{margin-top:1.2rem}
.article h2:not(:first-child){margin-top:1.1rem}
.editor-card{border:1px solid var(--line);border-radius:12px;background:white;padding:clamp(.9rem,3vw,1.42rem)}
.editor-card h2{font-size:clamp(1.3rem,3.2vw,1.8rem)}
@media(max-width:1050px){.filters{grid-template-columns:1.5fr repeat(3,minmax(0,1fr))}.filter-secondary{grid-column:1/-1;justify-content:space-between}}
@media(max-width:760px){.hero-grid{grid-template-columns:1fr;gap:1.35rem}.brief{max-width:38rem}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters .search{grid-column:span 2}}
@media(max-width:550px){
 .wrap{width:calc(100% - 1.4rem)}.head .wrap{min-height:55px;gap:.2rem;align-items:flex-start;flex-direction:column;padding-top:.45rem}.head nav{gap:.15rem}.head nav a{padding:.35rem .5rem;font-size:.875rem}
 .hero{padding:1.65rem 0}.hero h1 br{display:none}.summary{margin-top:.7rem}.main{padding-top:1.12rem}
 .brief{padding:.85rem}.metrics{gap:.42rem}.metrics div{padding:.43rem}.filters{gap:.53rem;padding:.65rem}
 .job{grid-template-columns:36px minmax(0,1fr);gap:.6rem;padding:.72rem}.initials{width:36px;height:36px}.actions{grid-column:2;justify-content:start;flex-wrap:wrap}
 .guide,.resources{grid-template-columns:1fr}.guide{justify-items:start}.foot .wrap{align-items:flex-start;flex-direction:column;gap:.4rem}
}
