:root{
    --graphite:#18181A; --graphite-2:#232326; --ink:#1A1A1C;
    --voltage:#D6F436; --voltage-deep:#84A800; --asleep:#A8A8A6;
    --paper:#FAF8F3; --muted:#9c9c97; --line:#313134; --warn:#F2A6A6;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  body{font-family:"Manrope",-apple-system,sans-serif;background:var(--graphite);color:#EDEDEA;line-height:1.6;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
  /* Doorstep chrome (comp A): the landing's quiet nav; no hero here, so the
     mark rides the bar. Page = bar / centered middle / footer at the bottom. */
  .top{width:100%;max-width:760px;margin:0 auto;padding:18px 22px 0;display:flex;align-items:center;justify-content:space-between}
  .top .tm svg{width:26px;height:26px;display:block}
  .top .tl{display:flex;gap:22px}
  .top .tl a{font-size:13px;font-weight:700;color:#9c9c97;text-decoration:none}
  .top .tl a:hover{color:#EDEDEA}
  .top .tl a.in{color:var(--voltage);display:flex;align-items:center}
  /* signed in, the nav door becomes the account mark (Parz 2026-08-31) */
  .top .tl a.in svg{width:22px;height:22px;display:block}
  .mid{flex:1;width:100%;display:flex;align-items:center;justify-content:center;padding:28px 18px}
  /* the page column. The door keeps its box; empty + could-not-load use the
     approval screen's centred message card; the populated state has no outer
     border at all (PARZ-STYLE 09-04: one border level). */
  .card{width:520px;max-width:100%}
  .card.door{background:var(--graphite-2);border:1px solid var(--line);border-radius:18px;padding:28px 26px 22px}
  .card.msg{background:var(--graphite-2);border:1px solid var(--line);border-radius:20px;padding:36px 32px 32px;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
  .head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
  .head svg{width:34px;height:34px}
  .head .t{font-size:19px;font-weight:800;color:#fff;letter-spacing:-.01em}
  .card.msg .head{flex-direction:column;gap:14px;margin-bottom:10px}
  .card.msg .head svg{width:56px;height:56px}
  .card.msg .head .t{font-size:21px}
  /* the mark carries the state: voltage figure live, asleep when it could not load */
  .mark.asleep circle{fill:var(--asleep)}
  .mark.asleep path{fill:var(--asleep)}
  .who{display:flex;align-items:center;flex-wrap:wrap;font-size:12.5px;color:var(--muted);font-weight:600;margin:0 0 18px 46px;min-height:20px}
  .who a{color:var(--voltage);text-decoration:none;font-weight:700;margin-left:10px;cursor:pointer}
  .who a:only-child{margin-left:0}
  .card.msg .who{justify-content:center;margin:0 0 14px}
  .card.msg .who:empty{display:none}
  p{font-size:13.5px;color:var(--muted);font-weight:500;margin-bottom:12px}
  .card.msg p{font-size:14.5px;color:#C9C9C4;max-width:30ch;margin:0 auto 14px}
  .quiet{font-size:12.5px;color:#7e7e7a;font-weight:600}
  .quiet a{color:#9c9c97}
  .card.msg p.quiet{margin-bottom:0;color:#7e7e7a}
  button.ghost{border:1px solid var(--line);background:none;color:#EDEDEA;font-family:inherit;font-weight:800;font-size:13px;border-radius:10px;padding:9px 18px;cursor:pointer;margin:2px 0 16px}
  /* provider = a plain header; the connection row is the one bordered box */
  .prov{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 8px}
  .kic{flex:none;width:28px;height:28px;border-radius:8px;background:#2b2b2f;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
  .kic svg{width:15px;height:15px;display:block}
  .kt{font-size:14px;font-weight:800;color:#fff}
  .km{margin-left:auto;font-size:12px;font-weight:700;color:#7e7e7a;white-space:nowrap}
  .km a{color:#7e7e7a;text-decoration:none;cursor:pointer}
  .km a:hover{color:var(--warn)}
  .km button{border:0;background:none;padding:0;font:inherit;color:#7e7e7a;cursor:pointer}
  .km button:hover{color:var(--warn)}
  .conn{background:var(--graphite-2);border:1px solid var(--line);border-radius:14px;padding:15px 16px;margin-bottom:8px}
  .r1{display:flex;align-items:center;gap:10px;cursor:pointer}
  .av{flex:none;width:30px;height:30px;border-radius:9px;background:#2b2b2f;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:#EDEDEA;overflow:hidden}
  .av img{width:30px;height:30px;display:block}
  .app{font-size:15.5px;font-weight:800;color:#fff;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .chev{flex:none;width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:#7e7e7a}
  .chev svg{width:12px;height:12px;transition:transform .15s ease}
  .open .chev svg{transform:rotate(180deg)}
  button.rev{border:1px solid var(--line);background:none;color:#c9c9c4;font-family:inherit;font-weight:800;font-size:12px;border-radius:9px;padding:7px 13px;cursor:pointer;white-space:nowrap}
  button.rev:hover{border-color:var(--warn);color:var(--warn)}
  .capline{font-size:12.5px;color:var(--muted);font-weight:600;margin-top:8px}
  .capline b{color:var(--voltage)}
  .bar{height:5px;border-radius:99px;background:#2b2b2f;margin-top:8px;overflow:hidden}
  .bar i{display:block;height:100%;background:var(--voltage);border-radius:99px}
  .chip{font-size:10.5px;font-weight:800;letter-spacing:.06em;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:3px 9px;white-space:nowrap}
  .conn.off{opacity:.55}
  /* the expand: one row, the provider mark grayed on the standard dark tile */
  .det{display:none;border-top:1px solid var(--line);margin-top:12px;padding-top:4px}
  .open .det{display:block}
  .drow{display:flex;align-items:center;gap:11px;font-size:12.5px;font-weight:600;color:#c9c9c4;margin-top:9px}
  .dic{flex:none;width:24px;height:24px;border-radius:7px;background:#2b2b2f;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
  .dic svg{width:13px;height:13px;display:block}
  .loc{color:#c9c9c4;text-decoration:none;font-size:12.5px;font-weight:600}
  .loc b{color:#fff}
  .loc .warr{color:#7e7e7a;font-weight:800;margin-left:7px}
  .pill{display:inline-flex;align-items:center;gap:8px;background:var(--paper);color:var(--ink);border-radius:99px;padding:8px 14px;font-size:13px;font-weight:800;text-decoration:none;margin:10px 0 6px}
  .pill svg{width:15px;height:15px;display:block;flex:none}
  .pill .arr{font-weight:800;opacity:.55}
  .det .quiet{display:block;margin-top:9px}
  .det .quiet + .quiet{margin-top:3px}
  /* Reconnect (B26 paused, ACCOUNT-PAUSED 09-10): the row's details end with
     the control: heading, one line, the masked field, the human check, the one
     action. Once the key is saved, the note alone. */
  .reconnect{margin-top:16px;padding-top:14px;border-top:1px solid #3b3b3e}
  .reconnect .rh{font-size:14px;font-weight:800;color:#fff}
  .reconnect p{margin:4px 0 0;font-size:13px}
  .reconnect p b{color:#fff;font-weight:800}
  .reconnect.done{margin-top:12px;padding-top:12px}
  .reconnect.done .note{margin-top:0}
  .paste{width:100%;background:var(--graphite);border:1px solid var(--line);border-radius:11px;color:#EDEDEA;font-family:"SF Mono",Consolas,Menlo,monospace;font-size:12.5px;padding:12px 13px;outline:none;margin-top:12px}
  .ts{margin-top:12px;min-height:0}
  .ts:empty{display:none}
  button.main:disabled{opacity:.45;cursor:default}
  .note.ok{color:var(--voltage)}
  /* in-flight: a small ring before the words; reduced motion gets a still dot */
  .spin{display:inline-block;width:12px;height:12px;border:2px solid #5a5a30;border-top-color:var(--voltage);border-radius:50%;margin-right:7px;vertical-align:-2px;animation:spin .8s linear infinite}
  @keyframes spin{to{transform:rotate(360deg)}}
  @media (prefers-reduced-motion:reduce){.spin{animation:none;border:0;width:6px;height:6px;background:var(--voltage);vertical-align:1px}}
  .danger{margin:26px 0 0}
  .danger a{font-size:12px;font-weight:700;color:#7e7e7a;text-decoration:none;cursor:pointer}
  .danger a:hover{color:var(--warn);text-decoration:underline}
  button.main{width:100%;border:0;background:var(--voltage);color:var(--ink);font-family:"Manrope",sans-serif;font-weight:800;font-size:14.5px;border-radius:11px;padding:13px 0;cursor:pointer;margin-top:6px}
  .note{font-size:12px;color:var(--muted);font-weight:600;margin-top:10px;min-height:18px}
  .note.err{color:var(--warn)}
  a{color:var(--voltage);font-weight:700;text-decoration:none}
  .foot{font-size:11px;color:#6e6e6a;text-align:center;padding:14px 18px 22px}
  .foot a{color:#8a8a86;font-weight:600}
  /* Comp A signed-out door. .head/.who are the signed-in identity, so the
     doorstep (marked by #signin) hides them — presentation only, no JS. */
  .card:has(#signin) .head,.card:has(#signin) .who{display:none}
  .door{text-align:center;padding:4px 0 2px}
  .door .dm{width:44px;height:44px;display:block;margin:0 auto 12px}
  .door .dt{font-size:20px;font-weight:800;color:#fff;letter-spacing:-.01em}
  .door .ds{font-size:13.5px;color:var(--muted);font-weight:500;margin:6px 0 14px}
  .door .rows{width:max-content;max-width:100%;margin:0 auto 14px;text-align:left}
  .door .irow{display:flex;align-items:center;gap:11px;margin-top:10px;font-size:13.5px;color:#c9c9c4;font-weight:600}
  .door .ic{flex:none;width:27px;height:27px;border-radius:8px;background:#2b2b2f;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
  .door .ic svg{width:15px;height:15px;display:block}
  .door .note{text-align:center}
  @media (max-width:540px){
    .top{padding:14px 14px 0}
    .top .tl{gap:13px}
    .top .tl a{font-size:12px}
    .mid{padding:16px 10px}
    .card.door{padding:22px 16px 18px}
    .card.msg{padding:28px 18px 24px}
    /* provider header: name on one line, count + Disconnect on the next, right-aligned */
    .prov .km{flex-basis:100%;text-align:right}
    .who{margin-left:0}
    .conn{padding:12px 12px}
  }

  /* Keep the account and its footer together below the shared navigation. */
  body.product-account .mid{flex:0;margin-top:clamp(40px,10vh,120px);padding:32px 24px 0}
  body.product-account .foot{margin:20px 0 0;padding:0 18px 32px}
  body.product-account .card.door,body.product-account .card.msg{box-shadow:0 8px 24px #00000014;border-color:#3b3b3e}
  body.product-account .card.msg{padding:36px 32px;min-height:320px}
  body.product-account .card.msg .head{gap:20px;margin-bottom:8px}
  body.product-account .card.msg .who{margin:8px 0 24px;max-width:100%;overflow-wrap:anywhere}
  body.product-account .who #signout{color:#B8B8B2;min-height:32px}
  body.product-account .who #signout:hover{color:var(--paper);text-decoration:underline;text-underline-offset:4px}
  body.product-account .card.msg .danger{margin-top:22px;padding-top:20px;border-color:#3b3b3e}
  body.product-account .danger a{color:#A8A8A6}
  body.product-account .danger a:hover{color:var(--warn)}
  body.product-account .card:not(.door):not(.msg) .head{margin-bottom:8px}
  body.product-account .who{max-width:100%;overflow-wrap:anywhere;gap:0 10px}
  body.product-account .who #signout{margin-left:0}
  body.product-account .conn{border-color:#3b3b3e;border-radius:20px}
  body.product-account .conn.off{opacity:1;background:transparent}
  body.product-account .conn.off .app{color:#B8B8B2}
  body.product-account .conn.off .av{opacity:.65}
  body.product-account .chip{color:#B8B8B2;border-color:#4B4B4E}
  body.product-account .det{margin-top:20px;padding-top:8px;border-color:#3b3b3e}
  body.product-account .drow{min-width:0}
  body.product-account .loc{min-width:0;overflow-wrap:anywhere}
  body.product-account .kic,body.product-account .dic{border:0;background:transparent}
  body.product-account button.chev{width:44px;height:44px;padding:12px}
  body.product-account .rev{min-height:44px}
  body.product-account .km button{min-height:32px}
  body.product-account .km button:hover{color:var(--warn)}
  @media(max-width:540px){
    body.product-account .mid{margin-top:40px;padding:24px 18px 0}
    body.product-account .card.msg{padding:30px 23px}
    body.product-account .foot{margin-top:18px}
    body.product-account .card:not(.door):not(.msg) .head .t{font-size:28px}
    body.product-account .r1{gap:8px}
    body.product-account .conn{padding:16px}
  }
