/* docs.css v3 (8 Nov 2026, Paper Projector rollout): Help, Get started, Alerts and the admin guide (body class doc).
   The search field, contents rail, topic panels (HelpPanel: faint accent wash from the top-left), numbered steps, dotted tips,
   quick fixes, questions, notes, quiet buttons and the empty state come from /paper-projector.css. This file keeps the page
   layout (a sticky contents rail beside one column of panels; on phones the rail becomes one row) and the Help-only parts
   PP doesn't ship: address rows, the cheat sheet, app tiles and the live status list. */

.doc [hidden]{display:none!important}
.doc .hero h1{font-size:clamp(3rem,10vw,6rem)}
.doc .hero .hello{margin-top:48px}
.doc .hero{padding-bottom:20px}

/* Help search */
.search{margin-top:28px}
.search .i{z-index:1}
.found{min-height:1.4em}
.doc .status{margin-top:18px}

/* Contents rail beside the column of panels (gap 40px under the status pills: public #27) */
.doc main{display:grid;grid-template-columns:190px minmax(0,1fr);gap:56px;align-items:start;padding-block:20px 56px}
.rail{position:sticky;top:24px;transition:opacity .2s}
.rail a{transition:color .2s,border-color .2s}
.searching .rail{opacity:.35;pointer-events:none}
.col{display:grid;gap:18px;max-width:780px;min-width:0}
/* Phones and tablets: the contents become one row that scrolls sideways and stays at the top while reading */
@media (max-width:900px){
  .doc main{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:16px}
  .pp .rail{top:0;z-index:var(--z-sticky);flex-direction:row;flex-wrap:nowrap;gap:8px;max-width:none;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;
    margin-inline:calc(-1 * max(20px,env(safe-area-inset-left,0px)));padding:10px max(20px,env(safe-area-inset-left,0px));
    background:color-mix(in srgb,var(--bg) 90%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
  .rail::-webkit-scrollbar{display:none}
  .pp .rail p{display:none}
  .pp .rail a,.pp .rail a.on{flex:none;border:1px solid var(--line);border-radius:var(--radius-pill);padding:6px 14px;background:var(--card);font-size:.9rem;color:var(--fg)}
  .pp .rail a.on{border-color:var(--beam);background:var(--beam-soft)}
  .searching .rail{display:none}
}

/* Panels (PP HelpPanel). The default accent sits in :where() so the colour classes (.jelly, .req, ...) win. */
.col>section{margin:0;scroll-margin-top:20px}
.panel.hl{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
@media (max-width:620px){.pp .panel{padding:20px 18px;border-radius:var(--radius-card)}}
.head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.head .tile{width:46px;height:46px;border-radius:13px}
.head .tile img{width:28px;height:28px}
.head .tile .i{width:24px;height:24px}
.head small{display:block;color:var(--muted);font-size:.9rem;margin-top:3px}
.panel h2{color:var(--fg);text-transform:none}
.panel a:not(.btn):hover{text-decoration-color:var(--accent)}
.muted{color:var(--muted);font-size:.93rem}
.sub{scroll-margin-top:20px}
.a>:last-child{margin-bottom:0}

/* Addresses with copy buttons */
.where{display:grid;gap:10px;margin:14px 0}
.where>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-row);
  background:color-mix(in srgb,var(--bg2) 55%,transparent)}
.where dt{font:600 .98rem/1.3 var(--display);flex:1 0 8rem}
.where dd{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.where .port{color:var(--muted);font-size:.88rem;white-space:nowrap}
.where a,.sheet a{text-decoration:none}
.where a code,.sheet a code{transition:box-shadow .2s}
.where a:hover code,.sheet a:hover code{box-shadow:inset 0 0 0 1px var(--accent)}

/* Cheat sheet: what, where, and which login */
.sheet{margin:4px 0 0}
.sheet>div{display:grid;grid-template-columns:minmax(7.5rem,10rem) minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:11px 0;border-top:1px solid var(--line)}
.sheet>div:first-child{border-top:0;padding-top:4px}
.sheet dt{font:600 .98rem/1.3 var(--display)}
.sheet dd{margin:0;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sheet dd+dd{color:var(--muted);font-size:.86rem;justify-content:flex-end;text-align:right}
@media (max-width:620px){
  .sheet>div{grid-template-columns:minmax(6.5rem,1fr) auto;gap:6px 12px}
  .sheet dt{grid-column:1;grid-row:1}
  .sheet dd+dd{grid-column:2;grid-row:1}
  .sheet dt+dd{grid-column:1/-1;grid-row:2}
}

/* App tiles */
.apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:12px;margin:14px 0}
.apps>div{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:var(--radius-row);background:color-mix(in srgb,var(--bg2) 55%,transparent)}
.apps img{width:30px;height:30px;flex:none;margin-top:2px}
.apps b{display:block;font:700 1rem/1.3 var(--display)}
.apps span{display:block;color:var(--muted);font-size:.9rem;margin-top:2px}

/* Help: quick fixes */
.fix .tile .i{width:22px;height:22px}
.fix .tile img{width:26px;height:26px}
.fix .actions{align-items:center}
.fix .actions code{font-size:.9rem}
@media (max-width:620px){
  .pp .fix{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 14px;padding:16px}
  .pp .fix .tile{grid-row:span 3;margin:0}
  .pp .fix .actions{padding-top:10px}
}

/* Help: questions (PP Accordion rows) */
.faq{margin-top:6px}
.faq details{transition:border-color .2s,background .2s;scroll-margin-top:20px}
.faq summary::after{transition:transform .2s,border-color .2s}
.faq summary:hover::after{border-color:var(--fg)}
.a{padding:0 16px 16px}
.a>:first-child{margin-top:0}
.a p{margin:8px 0}
.a .how,.a .tips,.a .where{margin:10px 0}

/* Live status list */
.live{margin:4px 0 16px}
.svc{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:8px}
.svc li{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:var(--radius-control);font-size:.93rem;background:var(--bg2)}
.svc li span:last-child{margin-left:auto;color:var(--muted);font-size:.84rem;white-space:nowrap}
.live p{margin:0 0 10px;color:var(--muted);font-size:.86rem}

/* Room for the sticky contents row on phones when jumping to a section or question */
@media (max-width:900px){.col>section,.sub,.faq details{scroll-margin-top:72px}}

/* 9 Nov 2026: on phones the footer note takes its own row, then Help · Service status and the copyright share the next,
   the same layout as the home page and Extras (a short note let the links climb onto its row) */
@media (max-width:620px){.pp footer>span:first-child{flex-basis:100%}}
