:root{
  --navy:#1B3A5C; --steel:#4682B4; --red:#E1251B;
  --ink:#16202b; --muted:#5a6b7c; --line:#d8e0e8; --bg:#f4f7fa; --card:#fff;
  --ok:#1a7f4b; --warn:#a86a00; --warnbg:#fff7e6; --blockbg:#fdecea; --okbg:#eaf6ef;
  --radius:10px;
}
*{box-sizing:border-box}
body{margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
     color:var(--ink);background:var(--bg)}
a{color:var(--steel)}
header.top{background:#000;color:#fff;padding:.45rem 1.4rem;display:flex;align-items:center;
  gap:1.8rem;flex-wrap:wrap;border-bottom:1px solid #262626;min-height:120px}
header.top .brand{display:flex;align-items:center;gap:1.5rem;text-decoration:none;color:#fff}
/* The reversed logo — white type with the red ring — is the variant made for a
   dark bar, so it sits directly on the black rather than needing a tile. */
/* The bar is deliberately tall: the logo's "Solutions LLC" line is small type, and
   below about 90px it stops being readable and becomes a smudge. */
header.top .logo{height:96px;width:auto;display:block}
header.top .rule{width:2px;height:62px;border-radius:2px;background:var(--red);flex:none}
header.top .sub{font-size:1.7rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;
  color:#fff;white-space:nowrap}
header.top .spacer{flex:1}
/* Preview deployments carry their own database. This badge is the only thing on
   screen that distinguishes them from production, so it is deliberately loud. */
header.top .env{background:var(--red);color:#fff;font-size:.68rem;font-weight:700;
  letter-spacing:.09em;padding:.28rem .55rem;border-radius:4px;white-space:nowrap}
/* Temporary owner-level access. Amber rather than red: it is deliberate, not a
   fault, but it should be impossible to forget it is on. */
header.top .env.setup{background:#B26B00}
header.top .who{display:flex;align-items:center;gap:.5rem}
header.top .avatar{width:27px;height:27px;border-radius:50%;background:var(--red);
  display:grid;place-items:center;font-size:.72rem;font-weight:700;letter-spacing:.02em;flex:none}
header.top .whotext{display:flex;flex-direction:column;line-height:1.1;font-size:.82rem;color:#e6e6e6}
header.top .whotext em{font-style:normal;font-size:.68rem;color:#9a9a9a;text-transform:uppercase;
  letter-spacing:.08em}
header.top .signout{color:#b9b9b9;text-decoration:none;font-size:.82rem;padding:.35rem .5rem;border-radius:5px}
header.top .signout:hover{color:#fff;background:rgba(255,255,255,.1);text-decoration:none}
@media (max-width:760px){
  header.top{gap:1rem;padding:.4rem .9rem;min-height:78px}
  header.top .whotext{display:none}
  header.top .brand{gap:1rem}
  header.top .logo{height:60px}
  header.top .rule{height:38px}
  header.top .sub{font-size:1.15rem;letter-spacing:.18em}
}
@media (max-width:520px){
  header.top{min-height:64px}
  header.top .logo{height:48px}
  header.top .rule{height:28px}
  header.top .sub{font-size:.9rem;letter-spacing:.14em}
}
@media print{ header.top{display:none} }
main{max-width:1100px;margin:0 auto;padding:1.25rem 1rem 4rem}
h1{font-size:1.45rem;margin:.2rem 0 1rem}
h2{font-size:1.1rem;margin:1.6rem 0 .6rem;color:var(--navy)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;margin-bottom:1rem}
.card h3{margin:0 0 .6rem;font-size:1rem;color:var(--navy)}
.muted{color:var(--muted);font-size:.88rem}
.row{display:flex;gap:.75rem;flex-wrap:wrap}
.row>*{flex:1;min-width:150px}
label{display:block;font-size:.8rem;font-weight:600;color:var(--muted);
  text-transform:uppercase;letter-spacing:.04em;margin-bottom:.25rem}
input,select,textarea{width:100%;padding:.55rem .65rem;border:1px solid var(--line);
  border-radius:6px;font:inherit;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--steel);outline-offset:-1px;border-color:var(--steel)}
textarea{min-height:70px;resize:vertical}
button,.btn{display:inline-block;padding:.6rem 1rem;border:0;border-radius:6px;background:var(--navy);
  color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;text-align:center}
button:hover,.btn:hover{background:#25507d}
button.ghost,.btn.ghost{background:#fff;color:var(--navy);border:1px solid var(--line)}
button.ghost:hover{background:#eef3f8}
/* A suggestion that has been taken. Green rather than merely darker, because the
   packer is scanning for what is left to do — "not yet pressed" has to be the thing
   that stands out, and a pressed-looking grey does not separate from an unpressed one
   at a glance. Reverts if the field is later overtyped, so it never claims more than
   is true. */
button.ghost.applied,.btn.ghost.applied{background:#e7f4ec;border-color:#2E7D46;color:#1e5c33;font-weight:600}
button.ghost.applied:hover{background:#d9ecdf}
button.danger{background:var(--red)}
button:disabled{background:#a9b6c2;cursor:not-allowed}
table{width:100%;border-collapse:collapse;font-size:.93rem}
th,td{text-align:left;padding:.55rem .5rem;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
tr.done td{background:var(--okbg)}
.pill{display:inline-block;padding:.15rem .5rem;border-radius:99px;font-size:.72rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.04em}
.pill.draft{background:#e8eef4;color:var(--muted)}
.pill.packed{background:var(--okbg);color:var(--ok)}
.pill.shipped{background:#e6f0fa;color:var(--navy)}
.finding{border-left:4px solid var(--line);padding:.6rem .8rem;margin-bottom:.5rem;border-radius:0 6px 6px 0;
  background:#fff;font-size:.92rem}
.finding.block{border-color:var(--red);background:var(--blockbg)}
.finding.warn{border-color:var(--warn);background:var(--warnbg)}
.finding.info{border-color:var(--steel);background:#f2f7fb}
.finding .check{font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.05em;
  color:var(--muted);display:block;margin-bottom:.15rem}
.finding .src{display:block;margin-top:.3rem;font-size:.76rem;color:var(--muted);font-style:italic}
.banner{padding:.8rem 1rem;border-radius:var(--radius);font-weight:600;margin-bottom:1rem}
.banner.ok{background:var(--okbg);color:var(--ok);border:1px solid #b8dfc9}
.banner.no{background:var(--blockbg);color:#a3271c;border:1px solid #f2c2bd}
.warnbox{background:var(--warnbg);border:1px solid #f0d9a8;border-left:4px solid var(--warn);
  padding:.6rem .8rem;border-radius:0 6px 6px 0;margin:.5rem 0;font-size:.9rem}
/* The settled counterpart of .warnbox — a requirement that HAS been met. Green so a
   packer scanning the page sees at a glance which gates are still open; an
   unstyled div (which this was, before .okbox existed) reads as no box at all. */
.okbox{background:#e7f4ec;border-left:4px solid #2E7D46;padding:.6rem .75rem;border-radius:6px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;font-size:.92rem}
.kv dt{color:var(--muted);font-weight:600}
.kv dd{margin:0}
.stack{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.8rem}
.err{color:var(--red);font-size:.9rem;margin-top:.5rem}
.center{max-width:400px;margin:8vh auto;padding:0 1rem}
@media (max-width:640px){
  main{padding:1rem .75rem 3rem}
  .row>*{min-width:100%}
  th,td{padding:.5rem .35rem}
}

/* Sign-in page brand lockup */
.signin-brand{display:flex;align-items:center;justify-content:center;gap:.9rem;margin-bottom:1.5rem}
.signin-brand img{height:46px;width:auto;display:block}
.signin-brand .rule{width:2px;height:34px;border-radius:2px;background:var(--red);flex:none}
.signin-brand .sub{font-size:1.05rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--navy)}
@media (max-width:420px){ .signin-brand img{height:38px} .signin-brand .sub{font-size:.9rem} }
