/* Help manuals' styling: gate, topbar, contents rail, cards, screenshot mock-ups and
   search highlighting. Shared by every help page so the manuals do not each carry a
   drifting copy. Tokens come from CSS/tokens.css; nothing here hardcodes a colour. */





  html{scroll-behavior:smooth;}

  body{
    background:var(--bg); color:var(--text); min-height:100vh;
    font-family:var(--app-font, "Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif);
    /* 16px, not 15. "Improve readability" and "use the screen" are the same request here:
       the manual was 15px at 111 characters a line, and the fix for a long measure is a
       shorter line at a larger size, never a wider column at the same size. */
    font-size:16px; line-height:1.7;
  }
  a{color:var(--accent-text);}
  /* Same two-tier button system as the apps — design-system.md §3. */
  .btn{
    background:var(--panel-2); color:var(--text); border:1px solid var(--border);
    border-radius:var(--radius-sm); padding:7px 12px; font-size:13px; font-weight:600;
    display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
    text-decoration:none; cursor:pointer; font-family:inherit;
  }
  .btn:hover{border-color:var(--accent); color:var(--accent-text);}
  .topbar{
    display:flex; align-items:center; gap:10px; padding:12px 18px;
    background:var(--panel); border-bottom:1px solid var(--border);
    position:sticky; top:0; z-index:var(--z-sticky); flex-wrap:wrap;
  }
  .brand{display:flex; align-items:center; gap:8px; font-weight:700; font-size:16px;}
  .spacer{flex:1;}
  /* ---------- The shell: manuals | this manual | this page ----------
     Three tracks wide, two at medium, one on a phone (area list becomes a strip). Grid, not
     flex: the medium step needs the left rail to span two rows. DOM order (nav, manual,
     sections) is the reading and tab order. */
  .layout{
    --help-nav:244px;        /* the eight manuals */
    --help-rail:268px;       /* this page's sections */
    --help-gap:40px;
    /* On the text, never on the page — design-system.md §Reading surface. 66ch, not 78ch,
       because `ch` is the width of a zero and a zero is wider than the average letter — the
       unit is the contract, and only measurement connects it to a readable character count. */
    --help-measure:66ch;
    --help-column:1000px;    /* what a table, a mock-up or a card grid may use */
    display:grid;
    grid-template-columns:var(--help-nav) minmax(0,1fr) var(--help-rail);
    grid-template-areas:"nav main aside";
    align-items:start;
    gap:var(--help-gap);
    max-width:1640px; margin:0 auto; padding:26px 28px 80px;
  }
  /* Sticky contents. Collapses away on narrow screens rather than squeezing the text. */
  /* Sticky and scrollable: sticky alone was enough while the list was short, but once it
     grew past the viewport its last entries were unreachable, since the column stays put by
     design. `calc` leaves room for the sticky top bar; `overscroll-behavior:contain` stops a
     scroll that reaches the end of the list from carrying on into the page behind it. */
  .toc{
    grid-area:nav;
    position:sticky; top:74px; align-self:start; min-width:0;
    font-size:14px; line-height:1.5;
    max-height:calc(100vh - 96px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding-right:6px;
  }
  /* This page's sections. Same rail behaviour as the area list — it is the same kind of
     thing — but it is the one that grows without limit, so its own scroll is what keeps
     the last entry reachable on a long manual. */
  .help-onthis{
    grid-area:aside;
    position:sticky; top:74px; align-self:start; min-width:0;
    font-size:13px; line-height:1.5;
    max-height:calc(100vh - 96px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding-left:14px;
    border-left:1px solid var(--border-soft);
  }
  .help-onthis::-webkit-scrollbar{width:8px;}
  .help-onthis::-webkit-scrollbar-thumb{background:var(--border); border-radius:6px;}
  .help-onthis::-webkit-scrollbar-thumb:hover{background:var(--border-strong);}
  .help-onthis::-webkit-scrollbar-track{background:transparent;}
  .help-onthis{scrollbar-width:thin; scrollbar-color:var(--border) transparent;}
  .help-onthis h4{font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--text-faint);
                  margin:0 0 7px; font-weight:700;}
  /* The section list the page script fills (#helpTocSections): one link per row, the links carry the look. */
  .help-onthis-list{display:flex; flex-direction:column;}
  .help-onthis a{display:block; padding:4px 9px; border-radius:6px; color:var(--text-dim); text-decoration:none;}
  .help-onthis a:hover{background:var(--panel-2); color:var(--text);}
  .help-onthis a.sub{padding-left:18px; font-size:12px;}
  .help-onthis a.active{background:var(--accent-soft); color:var(--accent-text); font-weight:600;}
  /* Quiet scrollbar — the contents list is chrome, and a full-strength bar down the side
     of it competes with the text it is meant to serve. */
  .toc::-webkit-scrollbar{width:8px;}
  .toc::-webkit-scrollbar-thumb{background:var(--border); border-radius:6px;}
  .toc::-webkit-scrollbar-thumb:hover{background:var(--border-strong);}
  .toc::-webkit-scrollbar-track{background:transparent;}
  .toc{scrollbar-width:thin; scrollbar-color:var(--border) transparent;}
  .toc h4{font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--text-faint);
          margin:18px 0 7px; font-weight:700;}
  .toc a{display:block; padding:4px 9px; border-radius:6px; color:var(--text-dim); text-decoration:none;}
  .toc a:hover{background:var(--panel-2); color:var(--text);}
  /* The column is not the measure: the column is as wide as the shell can give it, so a
     table, a mock-up or a card grid is not squeezed into a paragraph's width, while the prose
     inside it is capped at `--help-measure` to keep the line readable. */
  .content{grid-area:main; min-width:0; max-width:var(--help-column);}
  /* Everything read as a line of text. Table, .shot, .help-cards and .help-results are not
     listed and use the whole column. Headings are not capped: h2 carries the section rule,
     and a divider that stops short of the table under it reads as a rendering fault. */
  .content > p,
  .content > ul,
  .content > ol,
  .content > dl,
  .content > .lede,
  .content > .card,
  .content > .callout,
  .content > .help-qa,
  .content > .help-related,
  .content > .help-noresults{max-width:var(--help-measure);}
  h1{font-size:29px; margin:0 0 6px; letter-spacing:-.01em;}
  .lede{font-size:17px; color:var(--text-dim); margin:0 0 30px;}
  h2{
    font-size:23px; margin:46px 0 4px; padding-top:22px; border-top:1px solid var(--border);
    scroll-margin-top:78px;
  }
  h2:first-of-type{border-top:none; padding-top:0; margin-top:34px;}
  h2 .sub{display:block; font-size:13px; font-weight:400; color:var(--text-faint); margin-top:3px;}
  h3{font-size:17px; margin:26px 0 6px; scroll-margin-top:78px;}
  p{margin:9px 0;}
  ul,ol{margin:9px 0; padding-left:22px;}
  li{margin:5px 0;}
  code{
    background:var(--panel-2); border:1px solid var(--border-soft); border-radius:4px;
    padding:1px 5px; font-size:13px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  }
  .card{
    background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius);
    padding:15px 17px; margin:16px 0;
  }
  .card h4{margin:0 0 7px; font-size:14px;}
  .note{border-left:3px solid var(--accent); background:var(--accent-soft);}
  .warn{border-left:3px solid var(--yellow); background:var(--yellow-soft); color:var(--warn-text);}
  .warn code{background:rgba(0,0,0,.14); border-color:transparent; color:inherit;}
  /* Full column width by design — a table is the element the 760px measure hurt most,
     and it is the one the recovered width goes to first. */
  table{border-collapse:collapse; width:100%; margin:14px 0; font-size:15px; display:block; overflow-x:auto;}
  th,td{border:1px solid var(--border-soft); padding:7px 10px; text-align:left; vertical-align:top;}
  th{background:var(--panel-2); font-weight:600; white-space:nowrap;}
  kbd{
    background:var(--panel-2); border:1px solid var(--border); border-bottom-width:2px;
    border-radius:5px; padding:1px 6px; font-size:12px; font-family:inherit;
  }
  .steps{counter-reset:s; list-style:none; padding-left:0;}
  .steps > li{counter-increment:s; position:relative; padding-left:34px; margin:11px 0;}
  .steps > li::before{
    content:counter(s); position:absolute; left:0; top:1px;
    width:23px; height:23px; border-radius:50%; background:var(--accent-fill); color:#fff;
    font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center;
  }
  /* ---------- Search, and the state that goes with it ---------- */
  .help-search{position:relative; display:flex; align-items:center; flex:1 1 260px; max-width:420px;}
  .help-search input[type=search]{
    width:100%; background:var(--panel-2); color:var(--text);
    border:1px solid var(--border-strong); border-radius:999px;
    padding:7px 34px 7px 32px; font-size:13px; font-family:inherit;
  }
  .help-search input[type=search]:focus{border-color:var(--accent);}
  .help-search .ico{
    position:absolute; left:11px; width:14px; height:14px; pointer-events:none;
    color:var(--text-faint);
  }
  .help-search-clear{
    position:absolute; right:7px; background:none; border:none; cursor:pointer;
    color:var(--text-faint); font-size:16px; line-height:1; padding:3px 5px; border-radius:5px;
  }
  .help-search-clear:hover{color:var(--text); background:var(--panel);}
  .help-count{font-size:12px; color:var(--text-faint); white-space:nowrap;}
  /* Hidden, not removed: every deep link stays valid and clearing the box is instant. */
  .help-hidden{display:none !important;}
  mark.help-hit{background:var(--yellow-soft); color:var(--warn-text); border-radius:3px; padding:0 2px;}
  /* While filtering, a topic is a card in a list rather than a run of one long document —
     the rules and top margins that separate sections in prose read as gaps once most of
     what sat between them is gone. */
  .help-filtered h2{border-top:none; padding-top:0; margin-top:26px;}
  .help-filtered h3{margin-top:22px;}
  .help-noresults{
    background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius);
    padding:22px; margin:24px 0; text-align:center;
  }
  .help-noresults h4{margin:0 0 6px; font-size:15px;}
  .help-noresults p{color:var(--text-dim); font-size:14px; margin:6px 0 0;}
  .help-noresults .help-noresults-q{color:var(--text); font-weight:600;}
  .help-suggest{display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:14px;}
  .help-suggest button{
    background:var(--panel-2); border:1px solid var(--border); border-radius:999px;
    color:var(--text-dim); font-size:12px; font-family:inherit; padding:4px 11px; cursor:pointer;
  }
  .help-suggest button:hover{border-color:var(--accent); color:var(--accent-text);}
  .help-totop{
    position:fixed; right:22px; bottom:22px; z-index:var(--z-sticky);
    opacity:0; pointer-events:none; transition:opacity var(--dur-micro) linear;
  }
  .help-totop.show{opacity:1; pointer-events:auto;}
  /* Cross-links between topics — the "related" row under a section. */
  .help-related{
    display:flex; flex-wrap:wrap; gap:6px; align-items:center;
    margin:14px 0 4px; font-size:13px;
  }
  .help-related .lbl{color:var(--text-faint); font-size:11px; text-transform:uppercase;
                     letter-spacing:.5px; font-weight:700;}
  .help-related a{
    background:var(--panel-2); border:1px solid var(--border-soft); border-radius:999px;
    padding:3px 10px; text-decoration:none; color:var(--text-dim);
  }
  .help-related a:hover{border-color:var(--accent); color:var(--accent-text);}
  /* ---------- THE STEP DOWN: three tracks, then two, then one ----------
     One ladder, extending the 900px and 600px steps that were already here. Each step
     moves a rail rather than dropping it, except where keeping it would cost more height
     than the reader gets back. */

  /* Medium: two columns. The section rail returns to the left column under the area list
     instead of a top band, which pushed the page title down the screen behind a wall of links.
     `grid-template-rows:auto 1fr` makes row 2 as tall as the manual so the sticky section
     list has room to travel; the area list scrolls away. */
  @media (max-width:1239px){
    .layout{
      --help-gap:34px;
      grid-template-columns:var(--help-nav) minmax(0,1fr);
      grid-template-rows:auto 1fr;
      grid-template-areas:"nav main" "aside main";
    }
    .toc{position:static; max-height:none; overflow:visible; padding-right:0;}
    .help-onthis{
      padding-left:0; padding-top:13px; border-left:none;
      border-top:1px solid var(--border-soft);
    }
  }

  /* Phone and small tablet: one column. The area list becomes a one-line scrolling strip
     (it scrolls in its own box, so the page never scrolls sideways). The section rail is
     dropped here; search and the to-top button cover navigation on a phone. */
  @media (max-width:900px){
    .layout{
      --help-gap:14px;
      /* the same line length as the wide steps, so crossing 900px changes how many columns
         are beside the text, never how long a line is */
      --help-column:66ch;
      --help-measure:100%;
      /* Cap the track and centre the grid; do not centre the item with auto margins, which
         suppresses `justify-self:stretch` and lets a wide table push the whole page sideways.
         With the track capped the item stays stretched and the table scrolls in its own box. */
      grid-template-columns:minmax(0,var(--help-column));
      grid-template-areas:"nav" "main";
      justify-content:center;
      padding:16px 16px 60px;
    }
    .toc{
      position:static; max-height:none; overflow:visible; padding:0 0 7px;
      display:flex; align-items:center; gap:6px;
      overflow-x:auto; overscroll-behavior-x:contain;
      border-bottom:1px solid var(--border-soft);
    }
    .toc h4{display:none;}
    .toc a{
      flex:0 0 auto; white-space:nowrap; padding:5px 11px;
      border:1px solid var(--border-soft); border-radius:999px;
    }
    .toc a.current{background:var(--accent-soft); border-color:var(--accent);}
    .help-onthis{display:none;}
    h1{font-size:25px;}
    .help-search{max-width:none; order:3; flex-basis:100%;}
  }

  /* ---------- Mocked screenshots (the manuals' illustrations) ----------
     Built from the app's tokens, not images, so they follow the theme and never go stale.
     Illustrative, not pixel-exact. The quick-reference guides carry no pictures at all. */
  .shot{
    border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;
    background:var(--bg); margin:18px 0 6px; font-size:12px; line-height:1.45;
    box-shadow:0 6px 18px rgba(0,0,0,.22);
  }
  .shot-cap{font-size:12px; color:var(--text-faint); margin:0 0 20px; padding-left:2px;}
  .shot-bar{
    display:flex; align-items:center; gap:7px; padding:8px 10px;
    background:var(--panel); border-bottom:1px solid var(--border); flex-wrap:wrap;
  }
  .shot-bar .nm{font-weight:700; font-size:13px; margin-right:4px;}
  .shot-lbl{font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--text-faint); font-weight:700;}
  /* The app's `.dmeta` (admin.css / alt-admin.css) is the quiet caption inside a panel; the help
     pages mock that panel, so the caption carries the same tone — font-size stays inline per use. */
  .shot .dmeta{color:var(--text-faint);}
  .shot-btn{
    background:var(--panel-2); border:1px solid var(--border); border-radius:5px;
    padding:3px 8px; font-size:11px; font-weight:600; color:var(--text); white-space:nowrap;
  }
  .shot-btn.on{background:var(--accent-soft); border-color:var(--accent); color:var(--accent-text);}
  .shot-btn.pri{background:var(--accent-fill); border-color:var(--accent); color:#fff;}
  .shot-ico{
    width:20px; height:20px; border-radius:5px; background:var(--panel-2);
    border:1px solid var(--border); display:inline-block;
  }
  .shot-sp{flex:1;}
  /* One-pixel rule inside a mockup bar, for toolbars that have one (the team board's
     `.a-vrule` between Sort and Mine). Sized against `.shot-btn`'s box so it cannot grow
     taller than the buttons beside it when the bar wraps. */
  .shot-sep{
    width:1px; height:16px; background:var(--border); display:inline-block;
    margin:0 2px; flex:0 0 auto;
  }
  .shot-body{padding:10px; display:flex; gap:10px; align-items:flex-start; flex-wrap:wrap;}
  .shot-col{flex:1; min-width:120px;}
  .shot-col h6{
    margin:0 0 6px; font-size:11px; text-transform:uppercase; letter-spacing:.5px;
    color:var(--text-faint); font-weight:700; display:flex; gap:6px; align-items:center;
  }
  .shot-col h6 .n{background:var(--panel-2); border-radius:999px; padding:0 6px; font-size:11px;}
  .shot-card{
    background:var(--panel); border:1px solid var(--border-soft); border-radius:7px;
    padding:7px 8px; margin-bottom:6px;
  }
  .shot-card .t{font-weight:600; font-size:12px; margin-bottom:4px;}
  .shot-pill{
    display:inline-block; border-radius:999px; padding:1px 7px; font-size:11px; font-weight:600;
    background:var(--accent-soft); color:var(--accent-text); margin-right:4px;
  }
  .shot-pill.g{background:var(--green-soft); color:var(--green-text);}
  .shot-pill.y{background:var(--yellow-soft); color:var(--warn-text);}
  .shot-pill.r{background:var(--red-soft); color:var(--red-text);}
  .shot-field{
    background:var(--panel-2); border:1px solid var(--border); border-radius:5px;
    padding:4px 7px; font-size:11px; color:var(--text-faint); margin-bottom:6px;
  }
  .shot-field b{color:var(--text); font-weight:600;}
  .shot-row{display:flex; gap:7px; align-items:center; flex-wrap:wrap; margin-bottom:6px;}
  .shot-note{
    background:var(--accent-soft); border-left:3px solid var(--accent);
    padding:6px 9px; font-size:11px; border-radius:0 5px 5px 0;
  }
  /* WRAPS, like .shot-bar. Without this a tab strip drawn at 390px runs past its own box —
     three manuals worked around it inline before the rule existed. A drawing that overflows
     is worse than a plain sentence: it teaches the reader the product is broken. */
  .shot-tabs{display:flex; flex-wrap:wrap; gap:2px; padding:0 10px; background:var(--bg); border-bottom:1px solid var(--border);}
  .shot-tab{padding:5px 10px; font-size:11px; color:var(--text-dim); border:1px solid transparent; border-bottom:none;}
  .shot-tab.on{background:var(--panel); border-color:var(--border); border-radius:5px 5px 0 0; color:var(--text);}
  /* The count chip the real tab strips draw (`.a-count-chip.mute/.late/.attn`), drawn small. */
  .shot-tab .shot-n{display:inline-block; margin-left:4px; padding:0 6px; border:1px solid var(--border-soft); border-radius:999px; background:var(--panel-2); color:var(--text-dim); font-size:11px; font-weight:600; line-height:14px; vertical-align:middle; font-variant-numeric:tabular-nums;}
  .shot-tab .shot-n.late{border-color:transparent; background:var(--red-soft); color:var(--red-text);}
  .shot-tab .shot-n.attn{border-color:transparent; background:var(--yellow-soft); color:var(--warn-text);}
  .shot-tab .shot-n + .shot-n{margin-left:3px;}
  @media (max-width:600px){ .shot-body{flex-direction:column;} }

  /* Sign-in gate. The manual is hidden until a session is confirmed. */
  .help-gate{
    /* The access curtain — above everything by definition. See tokens.css. */
    position:fixed; inset:0; z-index:var(--z-boot); display:flex; align-items:center;
    justify-content:center; background:var(--bg); padding:20px; text-align:center;
  }
  .help-gate-card{
    background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
    padding:26px; max-width:420px;
  }
  .help-gate-card h2{font-size:17px; margin:0 0 8px; border:none; padding:0;}
  .help-gate-card p{font-size:14px; color:var(--text-dim); line-height:1.55; margin:0 0 14px;}
  body.help-locked .layout, body.help-locked .topbar{display:none;}

  /* ==========================================================================
     Focus, placeholder, disabled: the three global state rules (design-system.md §18), defined
     only here. Keep this block last so they win cascade ties without `!important`.
     ========================================================================== */

  /* Focus ring, replacing bare `outline:none` (WCAG 2.4.7 / 2.4.11). `:focus-visible` so a
     mouse click leaves no ring; text inputs show it either way. Never add `outline:none`
     without a replacement; specificity is low on purpose, so this rule is the guard. */
  :focus-visible{
    outline:2px solid var(--focus-ring);
    outline-offset:2px;
  }

  /* `opacity:1` is load-bearing: Firefox applies its own opacity to `::placeholder` on top
     of the colour, silently dimming the token below the ratio it was chosen for. */
  ::placeholder{color:var(--text-faint); opacity:1;}

  /* Opacity alone used to be the signal, at several different values across the app, faint
     enough that a disabled button could read as an enabled secondary one. One opacity now,
     plus two signals that survive it: a flat neutral wash and a softened edge. */
  button:disabled, input:disabled, select:disabled, textarea:disabled, .is-disabled{
    opacity:.55;
    background:var(--gray-soft);
    border-color:var(--border-soft);
    cursor:not-allowed;
  }

/* ---------- The landing page and cross-manual search results ---------- */

/* Area cards: the first thing on the landing page, because "where do I go" is the question
   somebody arriving at Help actually has. */
.help-cards{
  display:grid; gap:10px; margin:14px 0 4px;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
}
.help-card{
  display:block; padding:12px 14px; text-decoration:none;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--panel-2); transition:border-color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-move);
}
.help-card:hover,.help-card:focus-visible{ border-color:var(--accent); transform:translateY(-1px); }
.help-card b{ display:block; color:var(--text); font-size:14px; margin-bottom:3px; }
.help-card span{ display:block; color:var(--text-dim); font-size:13px; line-height:1.55; }

.help-steps{ margin:10px 0 0; padding-left:22px; }
.help-steps li{ margin:7px 0; line-height:1.6; }
.help-steps b{ color:var(--text); }

/* A boxed aside — the thing on the page that must not be read past. Border-left rather than
   a full accent box: these sit inside running text, and a filled panel would compete with the
   section headings. */
.callout{
  margin:14px 0; padding:12px 14px;
  background:var(--panel-2); border:1px solid var(--border-soft);
  border-left:3px solid var(--accent); border-radius:var(--radius-sm);
}
.callout h4{
  margin:0 0 6px; font-size:14px; font-weight:600; color:var(--text);
}
.callout p{ margin:0 0 8px; color:var(--text-dim); line-height:1.6; }
.callout p:last-child{ margin-bottom:0; }
.callout ul,.callout ol{ margin:6px 0 0; padding-left:20px; color:var(--text-dim); line-height:1.6; }

/* Question/answer pairs, for the short answers people want without reading a section. */
.help-qa{ margin:10px 0 0; }
.help-qa dt{ font-weight:600; color:var(--text); margin-top:12px; }
.help-qa dd{ margin:4px 0 0; padding-left:0; color:var(--text-dim); line-height:1.6; }

.help-results{ margin:18px 0 6px; padding-top:14px; border-top:1px solid var(--border-soft); }
.help-results h4{
  margin:0 0 8px; font-size:11px; color:var(--text-dim);
  text-transform:uppercase; letter-spacing:.06em;
}
.help-result{
  display:block; padding:9px 11px; margin-bottom:7px; text-decoration:none;
  border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--panel-2);
}
.help-result:hover,.help-result:focus-visible{ border-color:var(--accent); }
.help-result b{ color:var(--text); font-size:13px; }
/* Which manual the answer is in — the difference between "go read that" and "go hunt". */
.help-result-area{
  display:inline-block; margin-left:8px; padding:1px 6px; border-radius:4px;
  font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  background:var(--accent-soft); color:var(--accent-text); border:1px solid var(--accent);
}
.help-result-text{ display:block; margin-top:4px; color:var(--text-faint); font-size:12px; line-height:1.55; }

/* The area list — the eight manuals. The `.sub` and `.active` rules that used to sit here
   moved to .help-onthis with the section links themselves; nothing in .toc carries either
   any more, so leaving them would be two selectors that can never match. */
.toc a.current{ color:var(--accent-text); font-weight:600; }

/* ---------- REDUCED MOTION ----------
   Same shape as the app's block in CSS/base.css: the travel goes, the state change stays.
   `!important` because a media query adds no specificity and each manual's own `<style>`
   loads after this file. */
@media (prefers-reduced-motion: reduce){
  .help-card, .help-totop, .toc a, .help-onthis a, .help-suggest button{
    transition-duration:1ms !important;
  }
}

/* ================================================================================
   THE FIVE QUICK-REFERENCE GUIDES: quick-tasks, quick-notes, quick-calendar, quick-team,
   quick-okrs. One copy here, not five `<style>` blocks; guides load tokens.css, base.css and
   this file only, and open in the preview frame (altPreviewOpen(), JS/alt/alt-layers.js). */
body.qr-body{ padding:0; }

/* The prose is capped and the pictures are not — the same split `.content` makes between
   `.content > p` and `.content > .shot`: a screenshot of a wide toolbar shown in a narrow
   column is a picture nobody can read, and widening the guide to fit it would put the prose
   on an unreadable line. */
.qr{ max-width:1100px; margin:0 auto; padding:22px 22px 46px; }
.qr > *{ max-width:600px; }

/* Product identity above the breadcrumb (sys_branding.md requires the STRIDE mark in Help
   and Quick Start headers; these guides are chromeless). The mark is decorative (`alt=""` +
   `aria-hidden`) because "STRIDE" is live text beside it. */
.qr-brand{
  display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700;
  color:var(--text-faint); margin:0 0 10px;
}
.qr-brand img{ flex:0 0 auto; }

.qr-crumb{ font-size:12px; color:var(--text-faint); margin:0 0 16px; }
.qr-crumb a{ color:var(--text-faint); text-decoration:none; }
.qr-crumb a:hover{ color:var(--accent-text); text-decoration:underline; }
.qr-top{ display:flex; align-items:flex-start; gap:12px; }
.qr-ico{
  width:34px; height:34px; border-radius:9px; flex:0 0 auto; margin-top:1px;
  background:var(--accent-soft); color:var(--accent-text);
  display:flex; align-items:center; justify-content:center;
}
/* The eyebrow above the title, in the same mono-cap voice `.eyebrow` uses on the landing
   page — its own rule rather than a shared selector, since the landing page's version sets a
   fixed mono font this guide's body text does not load. */
.qr-eyebrow{
  font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--accent-text); margin:0 0 4px;
}
.qr-top h1{ margin:0; font-size:21px; }
.qr-lede{ font-size:15px; color:var(--text-dim); margin:6px 0 0; }
.qr h2{ font-size:16px; margin:30px 0 8px; padding-top:0; border-top:none; }
.qr h2:first-of-type{ margin-top:28px; }
.qr dl{ margin:8px 0 4px; }
.qr dt{ font-weight:700; margin-top:12px; }
.qr dd{ margin:2px 0 0; color:var(--text-dim); }
/* Closing summary cards shared by every quick guide that ends on one; reuse, do not fork.
   Built on `.card`. auto-fit/minmax rather than a breakpoint: three-up on desktop, folding
   to two-up then one-up with no media query. */
.qr-cards{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:12px; margin:18px 0 8px;
}
.qr-cards .card{ margin:0; }        /* .card already sets the box and its h4 — nothing to redo */
.qr-check{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; }
.qr-check li{
  position:relative; padding-left:20px;
  color:var(--text-dim); font-size:13px; line-height:1.5;
}
/* Green, not the accent colour: the same glyph and logic as login.css's requirement ticks
   and alt-storage-retention.css's saved-clean state — one visual language for "this is done
   or true" across the product. */
.qr-check li::before{
  content:'\2713'; position:absolute; left:0; top:0;
  color:var(--green-text); font-weight:700;
}
.qr-check b{ color:var(--text); }
.qr-more{
  margin-top:30px; padding-top:16px; border-top:1px solid var(--border);
  font-size:13px; color:var(--text-dim);
}
@media (max-width:420px){ .qr{ padding:16px 14px 34px; } }

/* ================= THE CONCEPT-MODEL COMPONENT (`.qr-cm-*`) =================
   Shared by quick-okrs, quick-team and quick-tasks; class names are frozen (see
   sys_engineering-principles.md rule 4), extend with a modifier (`.qr-cm-row.is-sub`).
   An `<ol>` so a screen reader hears "1 of N"; cardinality is text, never colour alone. */
.qr-cm{ margin:8px 0 0; }
.qr-cm-lede{ font-size:14px; color:var(--text-dim); margin:10px 0 0; }
.qr-cm-chain{ list-style:none; margin:14px 0 18px; padding:0; }

/* One row, two halves: `.qr-cm-card` on the left, `.qr-cm-note` on the right — the mockups'
   own layout at desktop width. `position:relative` lets the connector below anchor off this
   element rather than the card inside it, so a narrower `.is-sub` row still draws its
   connector from the row's own left edge. */
.qr-cm-row{
  position:relative; margin:0 0 18px;
  display:grid; grid-template-columns:168px 1fr; gap:4px 16px; align-items:start;
}
.qr-cm-row:last-child{ margin-bottom:0; }
/* The connector: a short vertical drop from one row into the next, positioned off the icon's
   own left edge so the chain reads top to bottom with no extra element in the DOM. */
.qr-cm-row:not(:last-child)::after{
  content:""; position:absolute; left:29px; bottom:-18px; width:2px; height:18px;
  background:var(--border-strong);
}
.qr-cm-card{
  grid-column:1; padding:14px 15px;
  border:1px solid var(--border); border-radius:var(--radius); background:var(--panel-2);
  display:flex; flex-direction:column; align-items:flex-start; gap:6px;
}
.qr-cm-ico{
  width:28px; height:28px; border-radius:8px; flex:0 0 auto;
  background:var(--accent-soft); color:var(--accent-text);
  display:flex; align-items:center; justify-content:center;
}
.qr-cm-name{ font-weight:700; font-size:14px; color:var(--text); }
.qr-cm-eg{ font-size:12px; color:var(--text-faint); }
.qr-cm-badge{
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
  color:var(--accent-text); background:var(--accent-soft); border-radius:999px;
  padding:2px 8px; white-space:nowrap;
}
/* Neutral, not a second cardinality colour: the ordinary case a chain is the exception to is
   not a relationship fact of the same kind as "1 : many", so it gets its own modifier rather
   than the bare class's accent colour. */
.qr-cm-badge.is-neutral{
  color:var(--text-dim); background:var(--panel); border:1px solid var(--border-strong);
}
.qr-cm-note{
  grid-column:2; padding-top:2px; font-size:13px; color:var(--text-dim); line-height:1.6;
}
.qr-cm-note-h{ margin:0 0 3px; font-weight:700; color:var(--text); }
.qr-cm-note p{ margin:0 0 6px; }
.qr-cm-note p:last-child{ margin-bottom:0; }
.qr-cm-chips{ list-style:none; margin:9px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.qr-cm-chip{
  font-size:12px; color:var(--text); background:var(--panel);
  border:1px solid var(--border); border-radius:999px; padding:3px 10px;
}

/* A nested/branching row, a modifier on `.qr-cm-row` rather than a second component: a
   narrower card column so the indent reads as "part of the row above", and its own connector
   sits closer in so a chain of sub-rows still joins visibly to the row that introduced them. */
.qr-cm-row.is-sub{
  margin-left:32px; grid-template-columns:136px 1fr;
}
.qr-cm-row.is-sub:not(:last-child)::after{ left:-15px; }
.qr-cm-row.is-sub .qr-cm-card{ padding:11px 13px; }

/* Two callouts side by side at desktop. `.qr-cm-call` is separate from the manuals'
   `.callout`, which is an inline aside in running prose; these are freestanding cards a
   reader compares. `.is-info`/`.is-tip` differ in colour only; the heading says which. */
.qr-cm-calls{
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0 0;
}
.qr-cm-call{
  padding:13px 15px; border-radius:var(--radius); background:var(--panel-2);
  border:1px solid var(--border); border-top:3px solid var(--border-strong);
}
.qr-cm-call.is-info{ border-top-color:var(--accent); }
.qr-cm-call.is-tip{ border-top-color:var(--green); }
.qr-cm-call-h{ margin:0 0 6px; font-size:14px; font-weight:700; color:var(--text); }
.qr-cm-call p{ margin:0 0 6px; font-size:13px; color:var(--text-dim); line-height:1.6; }
.qr-cm-call p:last-child{ margin-bottom:0; }
.qr-cm-list{ list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column; gap:5px; }
.qr-cm-list li{
  font-size:13px; color:var(--text-dim); line-height:1.5; padding-left:20px; position:relative;
}
/* A checkmark, drawn, not typed, so it can never drift from a glyph a screen reader would
   otherwise try and fail to pronounce meaningfully. `aria-hidden` is implicit: a `::before`
   with no `role` is never exposed to the accessibility tree. */
.qr-cm-list li::before{
  content:""; position:absolute; left:1px; top:6px; width:9px; height:5px;
  border-left:2px solid var(--green-text); border-bottom:2px solid var(--green-text);
  transform:rotate(-45deg);
}

/* The closing "big picture" card. Not every guide needs one, so this is defined for the
   guides that do use it rather than assumed universal. */
.qr-cm-big{
  margin:18px 0 0; padding:14px 16px; border-radius:var(--radius);
  background:var(--accent-soft); border:1px solid var(--accent);
}
.qr-cm-big-h{ margin:0 0 6px; font-size:14px; font-weight:700; color:var(--text); }
.qr-cm-big p{ margin:0; font-size:13px; color:var(--text-dim); line-height:1.6; }

/* One column on a phone: below the point a 168px card column and readable prose no longer
   both fit, the note drops under the card instead of squeezing unreadable. The connector line
   is hidden with it, since stacked cards already touch; the two callouts stack to one column. */
@media (max-width:620px){
  .qr-cm-row{ grid-template-columns:1fr; }
  .qr-cm-row.is-sub{ grid-template-columns:1fr; margin-left:20px; }
  .qr-cm-note{ grid-column:1; }
  .qr-cm-row:not(:last-child)::after{ display:none; }
  .qr-cm-calls{ grid-template-columns:1fr; }
}


/* ═══ THE QUICK-START SUMMARY PANEL, AND THE DIVIDER UNDER IT ═══════════════════════════
   Only the shell lives here (box, width, divider); each page styles its own interior (see
   the comment above `.qr-cards`). Uncapped: `.qr > *` caps children at the
   prose measure, which would squeeze a diagram. */
.qr > .qs-card{ max-width:none; }
.qs-card{
  border:1px solid var(--border); border-radius:14px; background:var(--surface);
  padding:26px 26px 24px; margin:22px 0 6px;
}
/* The header inside the panel is deliberately absent — every supplied design repeated the
   page's own title block redundantly inside the panel, so the panel opens on its description,
   and `.qs-lede` is that description rather than a second title. */
.qs-lede{ margin:0 0 18px; color:var(--text-dim); line-height:1.6; max-width:78ch; }

/* The handover: a quiet rule and a mono-cap label in the same voice as `.qr-eyebrow`, marking
   where the at-a-glance panel ends and the written guide begins. */
.qs-divider{
  margin:30px 0 0; padding-top:18px; border-top:1px solid var(--border);
  font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-faint);
}
