/* Fleet's own families, served from web/fonts/ rather than Google so the
   published page makes no third-party request. Latin subsets only — the page is
   English-only, and the other ~36 subsets Google ships would be dead weight.
   Both families are SIL OFL; see LICENSE-NOTE.md. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;
  src:url(fonts/inter-400.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;
  src:url(fonts/inter-500.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;
  src:url(fonts/inter-600.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;
  src:url(fonts/inter-700.woff2) format("woff2")}
@font-face{font-family:"Source Code Pro";font-style:normal;font-weight:400;font-display:swap;
  src:url(fonts/source-code-pro-400.woff2) format("woff2")}
@font-face{font-family:"Source Code Pro";font-style:normal;font-weight:600;font-display:swap;
  src:url(fonts/source-code-pro-600.woff2) format("woff2")}

/* FMA freshness index — shared shell.
   Fleet design system: fleet-black neutrals, green as the single accent,
   Inter + Source Code Pro, 4px control radii, flat 3px card shadow.
   Same shell as fleet-content-index, deliberately: these read as siblings. */
:root{
  --black:#192147;--b75:#515774;--b50:#8B8FA2;--b33:#B3B6C1;--b25:#C5C7D1;
  --b10:#E2E4EA;--b5:#F4F4F6;--green:#009A7D;--green-over:#00886C;
  --success:#3DB67B;--warning:#EBBC43;--error:#D66C7B;--hot:#B94E60;--info:#6A67FE;
  --purple:#AE6DDF;--slateblue:#506E92;
  /* Freshness is never encoded by colour alone — every row states its age in
     words too. These only reinforce what the text already says. */
  --fresh:#00775F;--fresh-bg:rgba(0,154,125,.10);
  --warm:#8A6A15;--warm-bg:rgba(235,188,67,.18);
  --cold:#B94E60;--cold-bg:rgba(214,108,123,.14);
  --mono:'Source Code Pro',ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:Inter,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--black);background:#fff;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--green-over)}
button{font-family:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:1px solid var(--black);outline-offset:2px}
.mono{font-family:var(--mono)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- shell ---------- */
#app{height:100%;display:flex;flex-direction:column;overflow:hidden}
.top{height:44px;flex:0 0 auto;background:var(--black);color:#fff;display:flex;align-items:center;gap:14px;padding:0 16px}
.top img{height:19px;width:auto;display:block}
.sep{width:1px;height:16px;background:#3e4771}
.tabs{display:flex;gap:2px}
.tabs a{font-size:13px;font-weight:500;color:#b3b6c1;padding:4px 10px;border-radius:4px;white-space:nowrap}
.tabs a.on{background:rgba(255,255,255,.12);color:#fff;font-weight:600}
.tabs a:hover{color:#fff}
.out{font-size:12px;color:#8b8fa2;padding:4px 8px;border:1px solid #3e4771;border-radius:4px;white-space:nowrap}
.out:hover{color:#fff;border-color:#8b8fa2}
.stamp{margin-left:auto;font-family:var(--mono);font-size:11px;color:#8b8fa2;white-space:nowrap}

/* ---------- controls ---------- */
.qbar{flex:0 0 auto;border-bottom:1px solid var(--b10);padding:9px 16px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.sbox{display:flex;align-items:center;gap:8px;height:32px;min-width:280px;flex:1;max-width:520px;border:1px solid var(--b25);border-radius:4px;padding:0 10px;background:#fff}
.sbox:focus-within{border-color:var(--black)}
.sbox input{flex:1;border:0;outline:none;font:inherit;font-size:13px;background:transparent;min-width:0}
.sbox input::placeholder{color:var(--b50)}
.kbd{font-family:var(--mono);font-size:11px;color:var(--b50);border:1px solid var(--b10);border-radius:3px;padding:0 5px;background:var(--b5)}
.res{font-size:13px;color:var(--b75);white-space:nowrap}
.res b{font-family:var(--mono);color:var(--black)}
.spacer{flex:1}
.btn{height:28px;padding:0 10px;border:1px solid var(--b25);background:#fff;border-radius:4px;font-size:12px;font-weight:500;color:var(--b75);white-space:nowrap;transition:.15s;display:inline-flex;align-items:center;gap:5px}
.btn:hover{background:var(--b5);color:var(--black)}
.btn.p{border:0;background:var(--green);color:#fff;font-weight:600}
.btn.p:hover{background:var(--green-over);color:#fff}
.btn.done{border-color:var(--green);color:var(--green)}
.btn[aria-pressed=true]{background:var(--black);border-color:var(--black);color:#fff;font-weight:600}
.fbtn{display:none}
.btn.sm{height:22px;padding:0 7px;font-family:var(--mono);font-size:10.5px;font-weight:400}
.xb{border:0;background:none;color:var(--b33);padding:0 2px;display:flex}
.xb:hover{color:var(--hot)}

/* active filter chips */
.chips{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0 16px 9px}
.ac{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 6px 0 9px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap;border:1px solid var(--green);background:rgba(0,154,125,.08);color:#00775F}
.ac i{opacity:.55;display:flex}
.ac:hover i{opacity:1}
.andlbl{font-family:var(--mono);font-size:10px;color:var(--b50);letter-spacing:.05em}

/* ---------- cards ---------- */
.card{background:#fff;border:1px solid var(--b10);border-radius:8px;box-shadow:0 3px 0 rgba(226,228,234,.4);overflow:hidden;display:flex;flex-direction:column}
.card>h3{margin:0;padding:11px 15px;border-bottom:1px solid var(--b10);font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--b50);font-weight:600;display:flex;justify-content:space-between;gap:12px;white-space:nowrap;align-items:center}
.card>h3 em{font-style:normal;color:var(--black)}
.pad{padding:15px}

/* ---------- rail ---------- */
.body{flex:1;display:flex;min-height:0}
.rail{width:262px;min-width:262px;border-right:1px solid var(--b10);overflow:auto;background:#fff}
.rsec{border-bottom:1px solid var(--b10);padding:11px 13px}
.rsec>h2{margin:0 0 8px;font-family:var(--mono);font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--b50);font-weight:600}
/* The selection panel is tinted so the two stat blocks are never mistaken for
   each other — the feed numbers are fixed, these move with the filters. */
.rsec.pick{background:rgba(0,154,125,.05)}
.rsec.pick>h2{color:#00775F}
.stats{display:flex;column-gap:16px;row-gap:11px;flex-wrap:wrap}
.stat{min-width:66px}
.stat b{display:block;font-size:17px;font-weight:700;line-height:1.25}
.stat span{display:block;font-family:var(--mono);font-size:9.5px;line-height:1.3;color:var(--b50);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.note{font-family:var(--mono);font-size:10px;color:var(--b50);margin:8px 0 0;line-height:1.4}
.note code{background:var(--b5);padding:0 3px;border-radius:2px;color:var(--b75)}
.opt{display:flex;align-items:center;gap:7px;width:100%;border:0;background:none;padding:3px 4px;border-radius:3px;text-align:left}
.opt:hover{background:var(--b5)}
.opt[disabled]{opacity:.4;cursor:default}
.opt[disabled]:hover{background:none}
.opt .bx{width:13px;height:13px;border:1px solid var(--b25);border-radius:2px;flex:0 0 auto;display:grid;place-items:center;font-size:9px;color:#fff;line-height:1}
.opt[aria-pressed=true] .bx{background:var(--green);border-color:var(--green)}
.opt .lb{flex:1;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.opt[aria-pressed=true] .lb{font-weight:600}
.opt .n{font-family:var(--mono);font-size:11px;color:var(--b50)}

/* ---------- activity chart ---------- */
/* Bars are buttons: the panel that shows cadence is the control that filters by
   it. A day with zero updates still gets a 1px floor so the axis reads as
   continuous rather than broken. */
.chart{display:flex;align-items:flex-end;gap:1px;height:52px;margin:0 0 5px}
.bar{flex:1;min-width:0;border:0;padding:0;background:var(--b10);border-radius:1px 1px 0 0}
.bar:hover{background:var(--b33)}
.bar.today{background:var(--slateblue)}
.bar.on,.bar.today.on{background:var(--green)}
.axis{display:flex;justify-content:space-between;font-family:var(--mono);font-size:10px;color:var(--b50)}

/* ---------- rows ---------- */
.results{flex:1;overflow:auto;min-width:0}
.row{padding:10px 16px;border-bottom:1px solid var(--b5)}
.row:hover{background:rgba(25,33,71,.028)}
.rowtop{display:flex;align-items:baseline;gap:9px}
.ttl{margin:0;font-size:13.5px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}
.slug{font-family:var(--mono);font-size:11px;color:var(--b50);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}
.desc{margin:2px 0 0;font-size:12.5px;color:var(--b75);line-height:1.45;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.age{margin-left:auto;font-family:var(--mono);font-size:10.5px;border-radius:3px;padding:1px 7px;white-space:nowrap}
.age.fresh{background:var(--fresh-bg);color:var(--fresh)}
.age.warm{background:var(--warm-bg);color:var(--warm)}
.age.cold{background:var(--cold-bg);color:var(--cold)}
.plats{display:flex;flex-direction:column;gap:3px;margin-top:7px}
.plat{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;font-family:var(--mono);font-size:11px}
.pname{color:var(--b75);border:1px solid var(--b10);border-radius:3px;padding:0 5px;min-width:62px;text-align:center;background:var(--b5)}
.pver{color:var(--black);background:var(--b5);border-radius:3px;padding:0 5px;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.pdate{color:var(--black);white-space:nowrap}
.ident{color:var(--b50);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.swept{color:var(--b50);border:1px dashed var(--b25);border-radius:3px;padding:0 5px;font-size:10px;white-space:nowrap;cursor:help}
.plinks{margin-left:auto;display:flex;gap:7px;align-items:center;white-space:nowrap}
mark{background:#FFF0B8;color:inherit;padding:0 1px;border-radius:2px}
.tail{padding:16px;text-align:center;font-family:var(--mono);font-size:11.5px;color:var(--b50)}
.empty{padding:70px 24px;text-align:center;color:var(--b75)}
.empty h2{margin:0 0 6px;font-size:16px}
.empty p{margin:0 auto 14px;font-size:13px;color:var(--b50);max-width:440px;text-wrap:pretty}

/* ---------- runs ---------- */
.runs{flex:1;overflow:auto;min-width:0;padding:14px 16px 40px;display:flex;flex-direction:column;gap:9px}
/* flex-shrink:0 is load-bearing. .runs is a column flexbox, and `overflow:hidden`
   here zeroes this item's automatic minimum size — so once the rows overflow the
   viewport the default flex-shrink:1 squashes all of them to a few pixels instead
   of letting the container scroll. */
.run{background:#fff;border:1px solid var(--b10);border-radius:8px;box-shadow:0 3px 0 rgba(226,228,234,.4);overflow:hidden;flex-shrink:0}
.run.sweepy{background:var(--b5);box-shadow:none}
.runhead{display:flex;align-items:center;gap:11px;padding:10px 13px;width:100%;border:0;background:none;text-align:left}
.runhead:hover{background:rgba(25,33,71,.03)}
.runhead .when{font-family:var(--mono);font-size:11px;color:var(--b50);min-width:74px}
.runhead .what{flex:1;font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.runhead .what span{font-weight:400;color:var(--b50)}
.runhead .sizebar{width:120px;height:6px;border-radius:3px;background:var(--b10);overflow:hidden;flex:0 0 auto}
.runhead .sizebar i{display:block;height:100%;background:var(--green)}
.runhead .sizebar.sw i{background:var(--b33)}
.runhead .cnt{font-family:var(--mono);font-size:11px;color:var(--black);min-width:96px;text-align:right;white-space:nowrap}
.runbody{border-top:1px solid var(--b10);padding:11px 13px;display:flex;flex-wrap:wrap;gap:5px}
.pill{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 7px;border:1px solid var(--b10);background:var(--b5);border-radius:3px;font-size:12px;color:var(--black)}
.pill:hover{border-color:var(--b25)}
.pill em{font-style:normal;font-family:var(--mono);font-size:10px;color:var(--b50)}
.tagline{padding:9px 13px 0;font-size:12.5px;color:var(--b75);text-wrap:pretty}

/* ---------- santa dialog ---------- */
dialog.sd{border:1px solid var(--b10);border-radius:8px;padding:0;width:calc(100% - 32px);max-width:660px;background:#fff;color:var(--black);box-shadow:0 8px 24px rgba(25,33,71,.16)}
dialog.sd::backdrop{background:rgba(25,33,71,.4)}
.sd .sh{display:flex;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid var(--b10)}
.sd .sh b{flex:1;font-size:14.5px}
.sd .sc{display:flex;gap:14px;flex-wrap:wrap;padding:11px 15px;border-bottom:1px solid var(--b10)}
.seg{display:flex;border:1px solid var(--b25);border-radius:4px;overflow:hidden}
.seg button{background:#fff;border:0;border-right:1px solid var(--b10);padding:4px 9px;font-family:var(--mono);font-size:10.5px;color:var(--b75)}
.seg button:last-child{border-right:0}
.seg button[aria-pressed=true]{background:var(--black);color:#fff}
.seg button.allow[aria-pressed=true]{background:var(--green)}
.seg button.deny[aria-pressed=true]{background:var(--hot)}
.sd pre{margin:0;padding:13px 15px;background:var(--black);color:#E8EAF0;font-family:var(--mono);font-size:11.5px;line-height:1.55;overflow-x:auto;white-space:pre}
/* Placeholders are the whole point of a stub — they must not read as values. */
.sd pre .ph{background:var(--warning);color:var(--black);border-radius:2px;padding:0 2px}
.sd .sn{padding:11px 15px;font-size:12.5px;color:var(--b75);border-bottom:1px solid var(--b10);text-wrap:pretty}
.sd .sn p{margin:0 0 7px}
.sd .sn p:last-child{margin:0}
.sd .sn code{font-family:var(--mono);font-size:11px;background:var(--b5);padding:1px 4px;border-radius:3px;color:var(--black);word-break:break-all}
.sd .sf{display:flex;align-items:center;gap:12px;padding:11px 15px}
.sd .sf a{margin-left:auto;font-family:var(--mono);font-size:11px}

/* ---------- data urls ---------- */
.durl{padding:2px 0 6px}
.durl .t{display:flex;align-items:center;gap:6px}
.durl code{display:block;font-family:var(--mono);font-size:9.5px;color:var(--b50);word-break:break-all;line-height:1.35;margin-top:2px}

@media(max-width:900px){
  .rail{position:fixed;inset:44px auto 0 0;z-index:20;transform:translateX(-100%);transition:.18s}
  /* The scrim belongs to the open state only. A 100vw spread reaches back across
     the viewport from the off-screen rail, so leaving it on the base rule dimmed
     every mobile page load behind an overlay nothing could dismiss. */
  .rail.open{transform:none;box-shadow:0 0 0 100vw rgba(25,33,71,.35)}
  .fbtn{display:inline-flex}
  .plat{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .plat::-webkit-scrollbar{display:none}
  /* .runhead's fixed columns sum to ~349px before any text, which overflows a
     375px phone. The size bar is the redundant one — the manifest count beside
     it says the same thing in words. */
  .runhead .sizebar{display:none}
  .runhead .when{min-width:66px}
  .runhead .cnt{min-width:0}
  .runs{padding:10px 12px 40px}
}
