/* Zenith by Zenlabra — portal and public status pages.
 *
 * One brand colour, used with restraint: Zenlabra purple for the masthead,
 * primary actions and focus. Status colours (green, amber, red) are kept
 * separate from the brand so "down" never reads as "on brand".
 * Syne for headings and the wordmark, Inter for everything else — both
 * self-hosted, so the pages make no third-party requests at all.
 */

@font-face{font-family:'Inter';font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Syne';font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/syne-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Syne';font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/syne-latin-700-normal.woff2) format('woff2')}

:root{
  /* ----- brand ----- */
  --brand:#6C47DC;
  --brand-deep:#2A1A63;
  --brand-tint:#EFEAFD;
  --brand-shade:#4B2FA6;

  /* Older rules in this file refer to these names; they now all resolve to
     the Zenlabra palette. */
  --navy:var(--brand-deep);
  --crimson:var(--brand);
  --orange:var(--brand);
  --amber:#A48BEA;
  --yellow:#A48BEA;
  --rust:var(--brand-shade);

  /* ----- surfaces ----- */
  --bg:#F7F7FB;
  --surface:#FFFFFF;
  --surface-2:#F0EEF8;
  --ink:#2A2640;
  --heading:#1C1733;
  --muted:#6E6A80;
  --line:#E4E1EE;
  --line-soft:#EEECF5;

  /* ----- status ----- */
  --ok:#1E8E5A;
  --ok-bg:#E5F4EC;
  --warn:#9A6207;
  --warn-bg:#FCF1DC;
  --crit:#C23434;
  --crit-bg:#FBE8E8;

  --radius:12px;
  --radius-sm:8px;
  --radius-pill:999px;
  --shadow:0 1px 2px rgba(28,23,51,.04),
           0 4px 10px -4px rgba(28,23,51,.07),
           0 18px 40px -28px rgba(42,26,99,.28);
  --shadow-lift:0 1px 2px rgba(28,23,51,.05),
                0 8px 18px -6px rgba(28,23,51,.10),
                0 28px 60px -34px rgba(42,26,99,.38);

  --font-body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --font-brand:'Syne','Inter',-apple-system,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

@media (prefers-color-scheme: dark){
  :root{
    --brand:#9A7CF0;
    --brand-tint:#261B4A;
    --brand-shade:#C3B1F7;
    --amber:#C3B1F7;
    --bg:#110D21;
    --surface:#1A1530;
    --surface-2:#231C40;
    --ink:#E8E5F3;
    --heading:#FFFFFF;
    --muted:#A39DBB;
    --line:#302852;
    --line-soft:#261F44;
    --ok:#5BC79A;
    --ok-bg:#10261F;
    --warn:#E0A73F;
    --warn-bg:#27210F;
    --crit:#FF7A78;
    --crit-bg:#2B1514;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 4px 10px -4px rgba(0,0,0,.5),0 18px 40px -28px rgba(0,0,0,.9);
    --shadow-lift:0 1px 2px rgba(0,0,0,.5),0 8px 18px -6px rgba(0,0,0,.55),0 28px 60px -34px rgba(0,0,0,.95);
  }
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  font-size:15px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:var(--surface);padding:8px 12px;
  z-index:30;border-radius:var(--radius)}

/* ---------------------------------------------------------- masthead ----- */
.topbar{
  background:linear-gradient(135deg,#3A2291 0%,var(--brand-deep) 60%,#1B1042 100%);
  color:#fff;
  border-bottom:3px solid #6C47DC;
  position:sticky;top:0;z-index:20;
}
.topbar-inner{
  max-width:1120px;margin:0 auto;padding:11px 20px;min-height:60px;
  display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;
}
.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}
.brand:hover{color:inherit}
.brand-badge{width:36px;height:36px;flex:none;display:block;border-radius:9px}
.brand-words{display:flex;flex-direction:column;line-height:1}
.brand-name{font-family:var(--font-brand);font-weight:700;font-size:20px;letter-spacing:-.01em;color:#fff}
.brand-sub{font-size:11px;font-weight:500;letter-spacing:.02em;color:rgba(255,255,255,.72);margin-top:4px}

.topnav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
/* Public pages: the way into the portal. An icon that stays on phones, with a word beside it on wider screens. */
.topsignin{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px 0 10px;border-radius:999px;
  color:#fff;text-decoration:none;font-size:14px;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28)}
.topsignin:hover,.topsignin:focus-visible{color:#fff;background:rgba(255,255,255,.22)}
.topbar-inner:has(.topsignin){flex-wrap:nowrap}
@media (max-width:640px){
  .topsignin{width:42px;height:42px;padding:0;justify-content:center}
  .topsignin-label{display:none}
}
.who{font-size:13px;display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.88)}
.role{
  font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
  padding:3px 7px;border-radius:3px;background:rgba(255,255,255,.14);color:#fff;
}
.role-owner{background:#6C47DC}

/* ---------------------------------------------------------- layout ------- */
.wrap{max-width:1180px;margin:0 auto;padding:44px 28px 90px}
.wrap-narrow{max-width:760px}
.centred{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
  white-space:nowrap}

h1{
  font-family:var(--font-brand);font-weight:700;
  font-size:2.05rem;line-height:1.15;letter-spacing:-.02em;
  color:var(--heading);margin:0 0 12px;text-wrap:balance;
}
h2{
  font-family:var(--font-body);font-weight:600;
  font-size:.78rem;color:var(--muted);
  margin:0 0 18px;padding:0;border:0;
  letter-spacing:.15em;text-transform:uppercase;
}
h4,.eyebrow{
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--rust);margin:0 0 10px;
}
@media (prefers-color-scheme: dark){ h4,.eyebrow{color:var(--amber)} }

.lede{color:var(--muted);margin:0 0 38px;max-width:64ch;font-size:16px;line-height:1.65}
.section{margin-bottom:56px}
p{margin:0 0 14px}
.small{font-size:12.8px}
.muted{color:var(--muted)}
.bad-count{color:var(--crit);font-weight:600}
.report-row{display:flex;justify-content:space-between;align-items:baseline;
  gap:16px;flex-wrap:wrap;text-decoration:none;color:inherit;transition:border-color .15s ease}
.report-row:hover{border-color:var(--orange)}
.report-row .status-name{font-weight:600}

/* ----- maintenance notices on the public board ----- */
.mw{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--line);
  border-radius:var(--radius);padding:22px 24px;margin-bottom:14px;box-shadow:var(--shadow)}
.mw-warn{border-left-color:var(--orange);background:var(--warn-bg)}
.mw-crit{border-left-color:var(--crimson);background:var(--crit-bg)}
.mw-ok{border-left-color:var(--ok)}
.mw-head{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:10px}
.mw-when{font-size:12.8px;color:var(--muted)}
.mw-title{font-weight:600;margin:0 0 6px;color:var(--heading)}
.mw-detail{margin:0;font-size:14.5px}
.fineprint{font-size:12.8px;color:var(--muted);max-width:72ch}
.nowrap{white-space:nowrap}

a{color:var(--navy);text-underline-offset:2px}
a:hover{color:var(--rust)}
@media (prefers-color-scheme: dark){
  a{color:#9DB2E8}
  a:hover{color:var(--amber)}
}

code{
  font-family:var(--font-mono);font-size:.86em;
  background:var(--surface-2);border:1px solid var(--line-soft);
  border-radius:3px;padding:.08em .36em;
}

.empty{
  color:var(--muted);background:var(--surface-2);
  border:1px dashed var(--line);border-radius:var(--radius);
  padding:32px;margin:0;max-width:72ch;text-align:center;
}

/* ---------------------------------------------------------- navigation --- */
.navlinks{
  display:flex;gap:4px;flex-wrap:wrap;margin:0 0 36px;
  border-bottom:1px solid var(--line);
}
.navlinks a{
  padding:13px 18px;text-decoration:none;color:var(--muted);
  font-size:14.5px;font-weight:500;
  border-bottom:2px solid transparent;margin-bottom:-1px;
  transition:color .12s ease, border-color .12s ease;
}
.navlinks a:hover{color:var(--heading)}
.navlinks a.on{color:var(--heading);border-bottom-color:var(--crimson);font-weight:600}

.subnav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 36px}
.subnav a{
  padding:9px 18px;text-decoration:none;color:var(--muted);
  font-size:13.5px;font-weight:500;
  border:1px solid var(--line);border-radius:var(--radius-pill);
  background:var(--surface);transition:all .12s ease;
  box-shadow:0 1px 2px rgba(19,35,73,.04);
}
.subnav a:hover{color:var(--heading);border-color:var(--muted)}
.subnav a.on{background:var(--navy);color:#fff;border-color:var(--navy);
  box-shadow:0 3px 10px -3px rgba(19,35,73,.5)}

/* ---------------------------------------------------------- panels ------- */
.panel{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:34px;box-shadow:var(--shadow-lift);
}
.panel-centre{max-width:520px;margin:44px auto;text-align:center}
.panel-centre .brand-badge-lg{width:76px;height:76px;margin:0 auto 18px;display:block}
.panel h1{margin-bottom:12px}
.panel .lede{margin-left:auto;margin-right:auto}

/* ---------------------------------------------------------- buttons ------ */
.btn{
  display:inline-block;padding:12px 24px;border-radius:var(--radius-pill);
  font-family:var(--font-body);font-size:14px;font-weight:500;
  text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:#6C47DC;color:#fff;border-color:#6C47DC;
  font-weight:600;box-shadow:0 2px 8px -2px rgba(255,122,30,.5)}
.btn-primary:hover{background:#5A37C8;border-color:#5A37C8;color:#fff;
  box-shadow:0 5px 16px -4px rgba(255,122,30,.6)}
.btn-quiet{background:var(--surface);border-color:var(--line);color:var(--ink)}
.btn-quiet:hover{border-color:var(--muted);color:var(--heading)}
.btn-tiny{padding:5px 12px;font-size:12.5px;border:1px solid var(--line);
  background:var(--surface);color:var(--ink);border-radius:var(--radius-pill)}
.btn-tiny:hover{border-color:var(--muted)}
.btn-danger{color:var(--crit);border-color:var(--crit-bg)}
.btn-danger:hover{background:var(--crit-bg);border-color:var(--crit)}
.btnrow{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.inline{display:inline}
td.nowrap form{margin:0}

/* ---------------------------------------------------------- messages ----- */
.flash{
  border:1px solid var(--line);border-left:4px solid var(--ok);
  background:var(--ok-bg);color:var(--ink);border-radius:var(--radius-sm);
  padding:14px 18px;margin:0 0 22px;font-size:14px;max-width:82ch;
  box-shadow:var(--shadow);
}
.flash-warn{background:var(--warn-bg);border-left-color:var(--warn)}
.alert{
  border:1px solid var(--line);border-left:4px solid var(--warn);
  background:var(--warn-bg);color:var(--ink);border-radius:var(--radius-sm);
  padding:14px 18px;margin:0 0 22px;font-size:14px;max-width:82ch;
  box-shadow:var(--shadow);
}
.alert-warn{background:var(--warn-bg);border-left-color:var(--warn)}
.alert-crit{background:var(--crit-bg);border-left-color:var(--crit)}
/* A signpost, not a warning. The default .alert is amber, which on a page
   where nothing is wrong reads as a problem you have not found yet. */
.alert-quiet{background:var(--brand-tint);border-left-color:var(--brand)}

/* ---------------------------------------------------------- stats -------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:18px;margin-bottom:22px}
.stat{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 24px 24px;display:flex;flex-direction:column;gap:10px;
  box-shadow:var(--shadow);position:relative;overflow:hidden;
}
/* A thin fire accent along the top edge — one brand colour, used once. */
.stat::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,var(--orange),var(--amber))}
.stat-label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);font-weight:600}
.stat-value{font-size:2.5rem;font-weight:700;color:var(--heading);
  font-variant-numeric:tabular-nums;line-height:1;letter-spacing:-.03em}
.stat-sm{font-size:1.35rem}

/* ---------------------------------------------------------- tables ------- */
.tablewrap{overflow-x:auto;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:14.2px}
th,td{text-align:left;padding:17px 22px;border-bottom:1px solid var(--line-soft);
  vertical-align:top}
tbody tr{transition:background .12s ease}
tbody tr:hover{background:var(--surface-2)}
thead th{
  background:transparent;font-size:10.5px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--muted);font-weight:600;white-space:nowrap;
  padding-top:20px;padding-bottom:14px;border-bottom:1px solid var(--line);
}
tbody tr:last-child td{border-bottom:0}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
tr.row-crit td{background:var(--crit-bg)}

/* ---------------------------------------------------------- pills -------- */
.pill{display:inline-block;font-size:11px;font-weight:600;padding:4px 11px;
  border-radius:var(--radius-pill);white-space:nowrap;
  background:var(--surface-2);color:var(--muted);letter-spacing:.01em}
.pill-ok{background:var(--ok-bg);color:var(--ok)}
.pill-warn{background:var(--warn-bg);color:var(--warn)}
.pill-crit{background:var(--crit-bg);color:var(--crit)}

/* ---------------------------------------------------------- sparkline ---- */
.spark{display:inline-flex;align-items:flex-end;gap:2px;height:22px}
.spark i{display:block;width:5px;border-radius:1px}
.spark-ok{height:10px;background:var(--ok)}
.spark-part{height:16px;background:var(--warn)}
.spark-bad{height:22px;background:var(--crit)}
.spark-empty{font-size:12px;color:var(--muted)}

/* ---------------------------------------------------------- key/value ---- */
.kv{
  display:grid;grid-template-columns:auto 1fr;gap:10px 22px;margin:0 0 16px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:19px 21px;font-size:14px;
  box-shadow:var(--shadow);
}
.kv dt{color:var(--muted);font-weight:500;white-space:nowrap}
.kv dd{margin:0;word-break:break-word}

.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}

/* ---------------------------------------------------------- forms -------- */
.card-form{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:34px;margin:0 0 8px;box-shadow:var(--shadow);
}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:26px 30px;margin-bottom:28px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field-wide{grid-column:1 / -1}
.field label,.setting label{font-size:13px;font-weight:600;color:var(--heading)}
.field input,.field select,.field textarea,.setting input{
  font:inherit;font-family:var(--font-body);font-size:14px;padding:11px 13px;
  border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--ink);width:100%;min-width:0;
  transition:border-color .12s ease, box-shadow .12s ease;
}
.field input::placeholder,.setting input::placeholder{color:var(--muted);opacity:.7}
.field textarea{min-height:66px;resize:vertical;line-height:1.5}
.field input:focus,.field select:focus,.field textarea:focus,.setting input:focus{
  outline:none;border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(255,122,30,.18);
}
.setting input[readonly]{background:var(--surface-2);color:var(--muted);cursor:not-allowed}
.field .hint,.setting .hint{font-size:12.4px;color:var(--muted);line-height:1.5}
input.narrow,.field input.narrow{width:6.5em}
.check-label{display:flex;align-items:flex-start;gap:9px;font-size:14px;
  font-weight:400;color:var(--ink);cursor:pointer;line-height:1.5}
.check-label input{width:auto;flex:none;margin-top:3px}
.inline-form{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:17px 19px;margin:16px 0 10px;font-size:14px;
  box-shadow:var(--shadow);
}
.inline-form input{font:inherit;font-size:14px;padding:9px 12px;
  border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--ink)}
.inline-form input:focus{outline:none;border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(255,122,30,.18)}
.fieldset{border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 30px;margin:0 0 26px;background:var(--surface-2)}
.fieldset legend{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--rust);padding:0 10px;margin-left:-4px}
@media (prefers-color-scheme: dark){ .fieldset legend{color:var(--amber)} }

.settings-list{display:grid;gap:20px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);padding:23px 25px;
  box-shadow:var(--shadow)}
.setting{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,220px);
  gap:6px 22px;align-items:start}
.setting .hint{grid-column:1 / -1}
.sticky-save{position:sticky;bottom:0;background:var(--bg);
  padding:14px 0;border-top:1px solid var(--line);margin-top:8px}
.note-block{background:var(--surface-2);border:1px solid var(--line);
  border-left:4px solid var(--navy);border-radius:var(--radius);padding:19px 21px}
@media (prefers-color-scheme: dark){ .note-block{border-left-color:var(--amber)} }
.note-block p{max-width:68ch;font-size:13.8px;margin:0 0 10px}
.note-block p:last-child{margin-bottom:0}

/* ---------------------------------------------------------- footer ------- */
.foot{
  border-top:1px solid var(--line);padding:22px 20px 30px;
  color:var(--muted);font-size:12.4px;
}
.foot-inner{max-width:1120px;margin:0 auto;display:flex;
  flex-wrap:wrap;gap:8px 24px;align-items:baseline;justify-content:space-between}
.slogan{font-family:var(--font-brand);font-weight:600;color:var(--brand-shade);font-size:14px}
@media (prefers-color-scheme: dark){ .slogan{color:var(--amber)} }
.legal{font-size:11.8px;color:var(--muted)}

:focus-visible{outline:2px solid var(--orange);outline-offset:2px;
  border-radius:var(--radius-sm)}
.trace{font-family:var(--font-mono);font-size:11.5px;line-height:1.55;
  background:var(--surface-2);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:14px;overflow-x:auto;margin:12px 0 0;
  color:var(--muted);max-height:340px}
details summary{cursor:pointer;padding:6px 0}

@media (max-width:560px){
  .wrap{padding:22px 16px 44px}
  .panel{padding:22px}
  .kv{grid-template-columns:1fr;gap:2px 0}
  .kv dt{margin-top:9px}
  .setting,.field-grid{grid-template-columns:1fr}
  .brand-name{font-size:19px}
  .foot-inner{flex-direction:column;gap:6px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ============================================================ public page ==
   The status page a client sees without signing in. Bigger, calmer, and
   readable at a glance from a phone — someone opening this is usually
   worried, and wants one answer immediately.                                */

body.public .topbar{position:static}

.hero-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:40px 34px;text-align:center;
  box-shadow:var(--shadow-lift);max-width:520px;margin:20px auto 0;
}
.hero-card .brand-badge-lg{width:72px;height:72px;margin:0 auto 20px;display:block}
.hero-card h1{margin-bottom:12px}
.hero-card .lede{margin:0 auto 24px;max-width:42ch}

.lookup-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}
.lookup-form input{
  font:inherit;font-family:var(--font-body);font-size:15px;padding:12px 16px;
  border:1px solid var(--line);border-radius:var(--radius-pill);
  background:var(--surface);color:var(--ink);min-width:15em;flex:1 1 15em;
  text-align:center;
}
.lookup-form input:focus{outline:none;border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(255,122,30,.18)}

/* The headline answer. One colour, one sentence, no hunting. */
.status-hero{
  display:flex;align-items:center;gap:18px;
  background:var(--surface);border:1px solid var(--line);
  border-left:5px solid var(--muted);
  border-radius:var(--radius);padding:24px 26px;margin-bottom:26px;
  box-shadow:var(--shadow-lift);
}
.status-hero h1{margin:0 0 4px;font-size:1.35rem}
.status-meta{margin:0;font-size:13px;color:var(--muted)}
.status-dot{width:14px;height:14px;border-radius:50%;flex:none;background:var(--muted)}
.status-up{border-left-color:var(--ok)}
.status-up .status-dot{background:var(--ok);box-shadow:0 0 0 5px var(--ok-bg)}
.status-down{border-left-color:var(--crit)}
.status-down .status-dot{background:var(--crit);box-shadow:0 0 0 5px var(--crit-bg)}
.status-unknown{border-left-color:var(--warn)}
.status-unknown .status-dot{background:var(--warn);box-shadow:0 0 0 5px var(--warn-bg)}

.status-list{display:grid;gap:12px}
.status-row{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow);
}
.status-row-head{display:flex;justify-content:space-between;align-items:center;
  gap:12px;flex-wrap:wrap;margin-bottom:12px}
.status-name{font-weight:600;color:var(--heading);font-size:15px}
.status-row-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin-top:10px;font-size:12.5px;color:var(--muted)}

/* One bar per day for the last 30. */
.days{display:flex;gap:3px;align-items:stretch;height:32px}
.days i{flex:1 1 0;min-width:3px;border-radius:2px;display:block}
.day-ok{background:var(--ok)}
.day-part{background:var(--warn)}
.day-bad{background:var(--crit)}
.day-none{background:var(--line)}
.days-empty{font-size:12.5px;color:var(--muted);display:block;padding:8px 0}
.days-key{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:14px}
.days-key span{width:11px;height:11px;border-radius:2px;display:inline-block;
  margin-right:-8px;vertical-align:-1px}

.timeline{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden}
.timeline-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;
  background:var(--surface);padding:13px 18px;align-items:center;font-size:13.5px}
.timeline-date{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.timeline-name{font-weight:500;color:var(--heading)}
.timeline-dur{color:var(--muted);white-space:nowrap}

@media (max-width:560px){
  .hero-card{padding:30px 22px}
  .status-hero{padding:20px;gap:14px}
  .status-hero h1{font-size:1.2rem}
  .timeline-row{grid-template-columns:1fr auto;gap:4px 12px}
  .timeline-date{grid-column:1 / -1;font-size:12px}
}

/* ---------- brand picker ---------- */
.brand-picker{display:flex;gap:10px;flex-wrap:wrap}
.brand-option{
  display:flex;align-items:center;gap:9px;cursor:pointer;
  border:1px solid var(--line);border-radius:var(--radius-pill);
  padding:9px 18px 9px 14px;background:var(--surface);font-size:14px;
  transition:all .12s ease;
}
.brand-option:hover{border-color:var(--muted)}
.brand-option input{width:auto;flex:none;margin:0}
.brand-option:has(input:checked){
  border-color:var(--navy);background:var(--surface-2);font-weight:500;
}


/* ================================================================ v2 ====== */

/* ----- public home ------------------------------------------------------- */
.home-hero{background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:34px 32px;box-shadow:var(--shadow);margin:8px 0 22px;position:relative;overflow:hidden}
.home-hero::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--hero-tone,var(--muted))}
.home-hero.tone-up{--hero-tone:var(--ok)}
.home-hero.tone-down{--hero-tone:var(--crit)}
.home-hero.tone-unknown{--hero-tone:var(--warn)}
.home-hero .eyebrow{margin-bottom:8px}
.home-hero h1{font-size:1.9rem;margin:0 0 6px;display:flex;align-items:center;gap:12px}
.home-hero .pulse{width:14px;height:14px;border-radius:50%;background:var(--hero-tone,var(--muted));flex:none;
  box-shadow:0 0 0 6px color-mix(in srgb,var(--hero-tone,var(--muted)) 18%,transparent)}
.home-hero .meta{color:var(--muted);font-size:14px;margin:0}
.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 4px}
.home-grid .stat{padding:14px 16px}
@media (max-width:640px){.home-grid{grid-template-columns:1fr}.home-hero{padding:26px 20px}.home-hero h1{font-size:1.5rem}}
.lookup-card{background:var(--brand-tint);border:1px solid color-mix(in srgb,var(--brand) 22%,transparent);
  border-radius:16px;padding:24px 26px;margin:0 0 22px}
.lookup-card h2{text-transform:none;letter-spacing:-.01em;font-family:var(--font-brand);font-size:1.25rem;color:var(--heading);margin:0 0 6px}
.lookup-card p{margin:0 0 14px;color:var(--ink)}
.lookup-row{display:flex;gap:10px;flex-wrap:wrap}
.lookup-row input{flex:1 1 220px;min-width:0;font:inherit;font-size:17px;letter-spacing:.06em;text-transform:uppercase;
  padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.lookup-row input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 22%,transparent)}
.lookup-error{color:var(--crit);font-weight:600;margin:10px 0 0}
.powered{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin:26px 0 0}
.powered img{width:18px;height:18px;border-radius:5px}

/* ----- report flags ------------------------------------------------------ */
.flags{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px}
.flags li{border-radius:10px;padding:10px 14px;font-size:14px;border:1px solid var(--line);background:var(--surface)}
.flags .flag-block{background:var(--crit-bg);border-color:transparent;color:var(--crit);font-weight:600}
.flags .flag-warn{background:var(--warn-bg);border-color:transparent;color:var(--warn)}
.flags .flag-info{color:var(--muted)}
.flag-tag{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-right:8px}
.pdf-frame{width:100%;height:78vh;border:1px solid var(--line);border-radius:12px;background:#fff}

/* ----- work log ------------------------------------------------------------ */
.cat{display:inline-block;font-size:11.5px;font-weight:600;padding:2px 9px;border-radius:999px;background:var(--brand-tint);color:var(--brand-shade);white-space:nowrap}
.cat-fix,.cat-security{background:#FBEDE4;color:#9A4A14}
.cat-backup{background:var(--ok-bg);color:var(--ok)}
.cat-content{background:#E7F0FB;color:#2A5B95}
.worklog-detail{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.tabs-inline{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:0 0 18px}
.filters .field{margin:0}
textarea.mono,.mono{font-family:var(--font-mono);font-size:13px}
.ref{font-family:var(--font-mono);font-size:13px;font-weight:600;letter-spacing:.04em;background:var(--surface-2);
  padding:2px 7px;border-radius:6px;color:var(--heading);white-space:nowrap}

.text-crit{color:var(--crit)}
.text-ok{color:var(--ok)}
.w-12em{width:12em}

/* ----- response-time trend, on the status board --------------------------- */
/* Distinct from .spark, which is the 24-hour up/down bar chart: that one is an
   inline-flex row of <i> elements, and an <svg> inside it would be laid out as
   a flex item and collapse. Two different pictures, two different classes. */
.sparkline{display:block;max-width:110px}
.sparkline-empty{opacity:.45}
.trendcell{white-space:nowrap}
.trendcell .small{display:block;margin-top:2px}

/* ----- site thumbnails ---------------------------------------------------- */
.shot{display:block;width:120px;height:75px;object-fit:cover;object-position:top center;
      border:1px solid var(--line);border-radius:4px;background:var(--surface-2)}
.shot-none{display:flex;align-items:center;justify-content:center;width:120px;height:75px;
           border:1px dashed var(--line);border-radius:4px;font-size:11px;color:var(--muted);text-align:center}

/* A field whose whole job is to be copied out of. */
.input-wide{width:100%}

/* ----- maintenance notice timeline --------------------------------------- */
/* Four short lines in a table cell rather than one date. "Told them: 14:20"
   answered the wrong question once there are four moments to tell them at. */
.notice-step{display:flex;gap:8px;align-items:baseline;margin-bottom:3px;white-space:nowrap}
.notice-step:last-child{margin-bottom:0}
.notice-step .pill{min-width:104px;text-align:center}

/* The build stamp in the footer. Quiet — it is for the one day a year you
   need to know whether what is running is what you last deployed. */
.foot .build{opacity:.55;font-variant-numeric:tabular-nums}

/* ------------------------------------------------------ improvements ----- */
/* The work queue. A card per piece of work rather than a table row, because
   each one carries a paragraph of what to actually do and a table that wraps
   a paragraph in a cell is a table nobody reads to the end of. */
.workcard{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px 26px;margin:0 0 16px;
  box-shadow:var(--shadow);
}
.workcard h3{margin:0 0 10px;font-size:16px;display:flex;gap:10px;
  align-items:center;flex-wrap:wrap}
.workcard p{margin:0 0 12px;font-size:14.2px;line-height:1.6}
.workcard p:last-child{margin-bottom:0}
.workcard .fix{color:var(--muted)}
.worksites{margin:0;padding:0;list-style:none;
  border-top:1px solid var(--line-soft);padding-top:12px}
.worksites li{font-size:13.6px;padding:5px 0;color:var(--muted)}
.worksites li strong{color:var(--ink);font-weight:600}
.grade{display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:var(--radius);font-weight:700;
  font-size:14px;background:var(--surface-2);color:var(--muted)}
.grade-a,.grade-b{background:var(--ok-bg);color:var(--ok)}
.grade-c,.grade-d{background:var(--warn-bg);color:var(--warn)}
.grade-e,.grade-f{background:var(--crit-bg);color:var(--crit)}

/* ------------------------------------------------------------ codeblock -- */
/* A command you are meant to copy, at the moment things have gone wrong.
   Monospace, and scrollable rather than wrapped — a wrapped shell command is
   one you paste incorrectly. */
.codeblock{
  background:var(--surface-2);border:1px solid var(--line);
  border-radius:var(--radius);padding:16px 18px;margin:0 0 16px;
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.8px;
  line-height:1.7;overflow-x:auto;white-space:pre;color:var(--ink);
}

/* ---------------------------------------------------- sign-in (email link) */
.signin{min-height:calc(100vh - 220px);min-height:calc(100dvh - 220px);display:grid;place-content:center;gap:18px;padding:28px 0}
.signin-card{width:min(440px,calc(100vw - 32px));margin:0 auto;text-align:center;background:var(--surface);border:1px solid var(--line);
  border-radius:22px;padding:34px 30px 28px;box-shadow:0 18px 50px rgba(42,26,99,.14),0 2px 6px rgba(42,26,99,.06);
  background-image:radial-gradient(600px 220px at 50% -40%,var(--brand-tint),transparent 70%);animation:signin-in .3s ease-out}
@keyframes signin-in{from{transform:translateY(8px)}to{transform:none}}
.signin-mark{display:block;margin:0 auto 16px;width:64px;height:64px}
.signin h1{font-size:1.55rem;margin:0 0 8px}
.signin .lede{margin:0 auto 20px;max-width:34ch}
.signin-form{display:grid;gap:10px;text-align:left;margin:0 0 14px}
.signin-form label{font-size:13px;font-weight:600;color:var(--muted)}
.signin-form input[type=email]{width:100%;height:52px;padding:0 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);
  color:var(--ink);font:400 17px/1 inherit;font-family:inherit;transition:border-color .15s,box-shadow .15s}
.signin-form input[type=email]:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-tint)}
.btn-block{display:flex;width:100%;justify-content:center;align-items:center;min-height:52px;border-radius:14px;font-size:16px;font-weight:600}
.signin .fineprint{margin:0 auto;font-size:13px}
.signin-note{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--surface-2);font-size:14px}
.signin-note.bad{background:var(--bad-bg,#FBECEE);color:var(--bad,#B42330)}
.signin-envelope{width:64px;height:64px;margin:-6px auto 14px;display:grid;place-items:center;border-radius:50%;font-size:30px;
  background:var(--brand-tint);color:var(--brand)}
.signin-sent .lede{max-width:36ch}
.signin-foot{text-align:center;font-size:13.5px;color:var(--muted);margin:0}
.signin-staff{font-weight:600;white-space:nowrap}
@media (max-width:560px){.signin{place-content:start center;padding-top:12px}.signin-card{padding:28px 20px 22px;border-radius:18px}}
.addlogin{margin:12px 0 18px}
.addlogin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.addlogin-grid label{display:grid;gap:5px;font-size:13px;font-weight:600;color:var(--muted)}
.addlogin-send{display:flex;gap:8px;align-items:center;margin:12px 0;font-size:14px}

/* ======================================================== layout uplift (2026-10-16) */
.navlinks{display:flex;gap:4px;width:max-content;max-width:100%;overflow-x:auto;padding:4px;margin:20px 0 22px;border:1px solid var(--line);
  border-radius:14px;background:var(--surface);scrollbar-width:none;border-bottom:1px solid var(--line)}
.navlinks a{padding:8px 16px;border-radius:10px;border:0;white-space:nowrap;font-weight:500;text-decoration:none}
.navlinks a.on{background:var(--brand);color:#fff;border:0}
.navlinks a:not(.on):hover{background:var(--surface-2)}

.hero-status{display:flex;gap:18px;align-items:center;margin:0 0 22px;padding:22px 24px;border-radius:20px;
  background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 30px rgba(42,26,99,.08)}
.hero-status h1{margin:0 0 4px;font-size:1.7rem;line-height:1.2}
.hero-eyebrow{margin:0 0 2px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hero-sub{margin:0;font-size:13.5px;color:var(--muted);max-width:70ch}
.hero-icon{flex:0 0 auto;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;font-size:26px;font-weight:700;color:#fff}
.hero-ok{border-left:5px solid var(--ok)} .hero-ok .hero-icon{background:var(--ok);box-shadow:0 0 0 8px var(--ok-bg)}
.hero-warn{border-left:5px solid #C27C0E} .hero-warn .hero-icon{background:#C27C0E;box-shadow:0 0 0 8px rgba(194,124,14,.15)}
.hero-crit{border-left:5px solid #C0392B} .hero-crit .hero-icon{background:#C0392B;box-shadow:0 0 0 8px rgba(192,57,43,.15);animation:heropulse 1.6s ease-in-out infinite}
@keyframes heropulse{50%{box-shadow:0 0 0 14px rgba(192,57,43,.05)}}

@media (max-width:640px){
  .topnav .who{display:none}
  .hero-status{padding:18px;gap:14px;align-items:flex-start;border-radius:16px}
  .hero-status h1{font-size:1.3rem}
  .hero-icon{width:44px;height:44px;font-size:20px}
  .navlinks{width:100%}
  .navlinks a{flex:1;text-align:center}

  /* summary tiles: two across, compact */
  .stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .stats .stat{padding:12px 14px!important;margin:0!important}
  .stats .stat-value{font-size:1.6rem!important}

  /* tables become cards (app.js copies the column headings into data-label) */
  .tablewrap.cards{overflow:visible;border:0;background:none;box-shadow:none}
  .tablewrap.cards table{display:block;min-width:0}
  .tablewrap.cards thead{display:none}
  .tablewrap.cards tbody{display:grid;gap:10px}
  .tablewrap.cards tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px 16px;border-radius:16px;
    background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 14px rgba(42,26,99,.06)}
  .tablewrap.cards tr.row-crit{border-left:4px solid #C0392B}
  .tablewrap.cards td{display:block;padding:0;border:0;text-align:left!important;min-width:0;overflow-wrap:anywhere}
  .tablewrap.cards td::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:10.5px;font-weight:600;letter-spacing:.06em;
    text-transform:uppercase;color:var(--muted)}
  .tablewrap.cards td:first-child{grid-column:1/-1;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}
  .tablewrap.cards td:first-child::before,.tablewrap.cards td[data-label=""]::before{display:none}
  .tablewrap.cards td:has(.spark){grid-column:1/-1}
  .tablewrap.cards td:empty{display:none}
}
.logins{display:grid;gap:10px}
.login{display:grid;grid-template-columns:minmax(0,1fr) 300px 310px;gap:14px 20px;align-items:center;padding:16px 18px;
  background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 14px rgba(42,26,99,.05)}
.login.unlinked{border-left:4px solid #C27C0E}
.login.off{opacity:.65}
.login-who{display:flex;gap:12px;align-items:flex-start;min-width:0}
.login-who > div{display:grid;gap:2px;min-width:0}
.login-who strong{font-size:15px}
.login-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;flex:0 0 auto;background:var(--brand-tint);color:var(--brand);font-weight:700}
.login-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}
.login-client{display:grid;gap:4px;margin:0}
.login-client select{width:100%;min-height:40px;border-radius:10px}
.login-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-self:center}
.login-actions form{margin:0}
@media (max-width:860px){.login{grid-template-columns:1fr}.login-actions{justify-content:flex-start}}
.addlogin-grid input,.addlogin-grid select{width:100%;min-height:42px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line);
  background:var(--surface);color:var(--ink);font:inherit;font-weight:400}
.addlogin-grid input:focus,.addlogin-grid select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}

/* ======================================================== app shell (staff & owner) */
.topbar-app .topbar-inner{max-width:none;padding-left:18px;padding-right:18px}
.menubtn{display:none;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;font-size:18px}
.menubtn:hover{background:rgba(255,255,255,.12)}
.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;font-size:14px;
  box-shadow:0 0 0 2px rgba(255,255,255,.25)}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100vh - 63px)}
.sidenav{position:sticky;top:63px;align-self:start;height:calc(100vh - 63px);overflow-y:auto;padding:18px 12px 24px;
  background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:2px;scrollbar-width:thin}
.sidenav a{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:500}
.sidenav a svg{width:19px;height:19px;flex:0 0 auto;opacity:.75}
.sidenav a:hover{background:var(--surface-2)}
.sidenav a.on{background:var(--brand-tint);color:var(--brand);font-weight:600}
.sidenav a.on svg{opacity:1}
.sidenav-group{margin:18px 12px 6px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sidenav-head{display:none}
.sidenav-foot{margin-top:auto;padding:14px 12px 0;border-top:1px solid var(--line-soft);display:flex;justify-content:space-between;gap:8px;align-items:center}
.wrap-app{max-width:1240px;width:100%;padding:32px 34px 90px;margin:0}
/* the admin tab row is the sidebar now */
.shell .subnav{display:none}
.scrim{display:none}
@media (prefers-color-scheme:dark){ .sidenav a.on{background:rgba(108,71,220,.22);color:#C9B8FF} }

@media (max-width:980px){
  .menubtn{display:grid}
  .shell{grid-template-columns:1fr}
  .sidenav{position:fixed;top:0;left:0;bottom:0;z-index:60;width:min(300px,86vw);height:100%;transform:translateX(-105%);
    transition:transform .22s cubic-bezier(.2,.8,.2,1);box-shadow:0 20px 50px rgba(0,0,0,.25);padding-top:10px}
  .sidenav.open{transform:none}
  .sidenav-head{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 10px 12px;margin-bottom:6px;border-bottom:1px solid var(--line-soft)}
  .sidenav-head .menubtn{display:grid;color:var(--ink)}
  .scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(10,6,25,.45);opacity:0;pointer-events:none;transition:opacity .2s}
  .scrim.on{opacity:1;pointer-events:auto}
  .wrap-app{padding:22px 16px 80px}
}
@media (max-width:640px){
  .topbar .who,.topbar .topnav .btn{display:none}
  .brand-sub{display:none}
}
.reportcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:10px}
.reportcard{display:grid;gap:8px;padding:18px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 6px 18px rgba(42,26,99,.07)}
.reportcard b{font-size:16px} .reportcard span{font-size:13.5px;color:var(--muted)} .reportcard div{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.billrow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 14px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line-soft)}
.billform{display:flex;gap:6px;align-items:center;margin:0}
.billform select,.billform input{min-height:34px;border-radius:9px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);padding:0 9px;font:inherit;font-size:13px}
.billform input{width:96px}
.billform select.bill-included{border-color:var(--ok);color:var(--ok)} .billform select.bill-chargeable{border-color:#C27C0E;color:#A15C07}
.billform select.bill-skip{color:var(--muted)}
.planstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:8px 0 12px}
.planstats div{padding:12px 14px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:13px;color:var(--muted)}
.planstats b{display:block;font-size:1.35rem;color:var(--heading)}
.plansite{margin:18px 0;padding:16px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 6px 18px rgba(42,26,99,.06)}
.plansite h3{margin:0 0 10px}
.planrow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2fr) auto;gap:10px 16px;align-items:start;padding:12px 0;border-top:1px solid var(--line-soft);margin:0}
.planrow.done{opacity:.7} .planrow.done b{text-decoration:line-through;text-decoration-color:var(--ok)}
.planrow.skip{opacity:.55}
.plan-what{display:grid;gap:3px;min-width:0}
.plan-what details summary{cursor:pointer;font-size:13px;color:var(--brand);font-weight:600}
.plan-what .fix{margin:6px 0;padding:8px 10px;border-left:3px solid var(--brand);background:var(--surface-2);border-radius:0 8px 8px 0;font-size:13.5px}
.plan-set{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}
.plan-set label{display:grid;gap:3px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.plan-set select,.plan-set input:not([type=checkbox]){min-height:36px;border-radius:9px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);padding:0 8px;font:inherit;font-size:13px;text-transform:none;letter-spacing:0;font-weight:400}
.plan-set .plan-vis{display:flex;gap:6px;align-items:center;text-transform:none;letter-spacing:0;font-size:13px;font-weight:500;color:var(--ink);align-self:end;min-height:36px}
.plan-set select.bill-included{border-color:var(--ok);color:var(--ok)} .plan-set select.bill-chargeable{border-color:#C27C0E;color:#A15C07}
.plan-act{display:flex;gap:6px;align-self:end}
@media (max-width:900px){.planrow{grid-template-columns:1fr}.plan-act{justify-content:flex-end}}
.prio{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:999px;color:#fff;vertical-align:2px;margin-right:4px}
.prio-critical{background:#C0392B} .prio-high{background:#C27C0E} .prio-medium{background:var(--brand)} .prio-low{background:#8A86A0}
ol.guide{margin:8px 0;padding-left:22px;font-size:13.5px} ol.guide li{margin:4px 0}
.plan-what .fix.undo{border-left-color:#C0392B}

/* ---------------------------------------------------------- passkeys ----- */
.pk-or{text-align:center;margin:1rem 0 .4rem}
.pk-codes{margin:.6rem 0 0;line-height:1.9}
.pk-key{font-size:1.1rem;letter-spacing:.05em}
.pk-narrow{max-width:20rem}
.pk-continue{margin-top:1.5rem}
