/* Admin, the Hallmark page (Rami approved the mockup on 2 November 2026: review/hallmark/admin-rethink.html; built 3 November 2026).
   One page grouped by area: the title with Find a setting and ⋯, the request card, an index on the left (Circle, Departments, Hub)
   and every section below one another. Cadence tokens only, so light and dark both work; under 900px the index is a line of pills
   and the rows stack (a phone shows "Open this on a computer" over Admin, desk.js; this keeps a narrow window tidy).
   Everything is under #p-qs.hl-adm, so the Deadlines and Locations pages that share the old tabs (.adm-tabs) are not touched. */
html body #p-qs.hl-adm:not(#_){max-width:1240px}
html body #p-qs.hl-adm>.adm-tabs:not(#_):not(#_):not(#_){display:none!important} /* kept only for HubAdm.tabs (Deadlines, Locations & time off) */
html body #p-qs .adm-head:not(#_):not(#_){margin:2px 0 4px}
html body #p-qs .adm-head .hl-title:not(#_):not(#_){font-size:30px}
html body #p-qs .adm-only:not(#_){margin:0 0 16px;font-size:13px;color:var(--ink-muted)}
html body #p-qs .adm-find:not(#_){position:relative;display:inline-flex;align-items:center;min-width:0}
html body #p-qs .adm-find svg:not(#_){position:absolute;inset-inline-start:12px;width:15px;height:15px;fill:none;stroke:var(--ink-muted);stroke-width:1.8;stroke-linecap:round;pointer-events:none}
html body #p-qs .adm-find input:not(#_):not(#_){width:240px;max-width:100%;height:38px;box-sizing:border-box;padding-inline-start:34px;border-radius:999px}
html body #p-qs .adm-more>summary:not(#_):not(#_){width:38px;height:38px;min-height:38px;padding:0;display:inline-grid;place-items:center;font-size:18px;list-style:none}
html body #p-qs .adm-more>summary::-webkit-details-marker{display:none}
html body #p-qs .adm-more:not(#_){position:relative}
html body #p-qs .adm-more>.hl-pop.right:not(#_):not(#_):not(#_){inset-inline-start:auto;inset-inline-end:0}

/* the request to open a page: a pale yellow card with a line on its start side */
html body #p-qs .acc-ask:not(#_):not(#_){display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin:0 0 20px;padding:12px 16px;border:0;border-radius:12px;background:var(--status-working-bg);color:var(--c-ink);box-shadow:inset 4px 0 0 #d9a514}
html body #p-qs .acc-ask>span:not(#_){flex:1 1 auto;font-size:14.5px}
html body #p-qs .acc-ask small:not(#_){flex:1 0 100%;color:var(--ink-muted)}
html body #p-qs .acc-ask small:empty:not(#_){display:none}

/* the index and the sections */
html body #p-qs .adm-w:not(#_){display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start}
html body #p-qs .adm-idx:not(#_){position:sticky;top:76px;display:flex;flex-direction:column;gap:2px;max-height:calc(100dvh - 96px);overflow-y:auto;padding-bottom:20px;scrollbar-width:thin}
html body #p-qs .adm-g:not(#_){padding:14px 10px 4px;font-size:12px;font-weight:700;color:var(--ink-muted)}
html body #p-qs .adm-g:first-child:not(#_){padding-top:0}
html body #p-qs .adm-idx a:not(#_):not(#_){display:flex;align-items:center;min-height:34px;padding:0 10px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--ink-2,var(--c-ink));text-decoration:none}
html body #p-qs .adm-idx a:hover:not(#_):not(#_){background:var(--surface-hover);color:var(--c-ink)}
html body #p-qs .adm-idx a[aria-current="true"]:not(#_):not(#_){background:var(--surface-sunken);color:var(--c-ink)}
html body #p-qs .adm-idx [hidden]:not(#_):not(#_),html body #p-qs .adm-qh:not(#_):not(#_):not(#_){display:none!important}
html body #p-qs .adm-body:not(#_){display:flex;flex-direction:column;gap:36px;min-width:0}
html body #p-qs .adm-sec:not(#_){display:flex;flex-direction:column;min-width:0;scroll-margin-top:84px}
html body #p-qs .adm-sec[hidden]:not(#_):not(#_){display:none}
html body #p-qs .adm-sh:not(#_){display:flex;align-items:center;gap:12px;min-height:38px;padding:0 0 10px;border-bottom:2px solid var(--c-ink)}
html body #p-qs .adm-sh h2:not(#_):not(#_){margin:0;font-size:21px;line-height:1.2;font-weight:600;letter-spacing:-.015em;color:var(--c-ink)}
html body #p-qs .adm-grow:not(#_){flex:1 1 auto}
html body #p-qs .adm-note:not(#_){padding:12px 2px 4px;font-size:13px;color:var(--ink-muted)}

/* a row: what it is (and a quiet line under), its control on the right; a thin line under */
html body #p-qs .adm-row:not(#_){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:10px 24px;align-items:center;padding:14px 2px;border-bottom:1px solid var(--border)}
html body #p-qs .adm-row[hidden]:not(#_):not(#_){display:none}
html body #p-qs .adm-lab:not(#_){display:flex;flex-direction:column;gap:3px;min-width:0}
html body #p-qs .adm-lab b:not(#_){font-size:14.5px;font-weight:600;color:var(--c-ink)}
html body #p-qs .adm-lab small:not(#_){font-size:12.5px;color:var(--ink-muted)}
html body #p-qs .adm-ctl:not(#_){display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
html body #p-qs .adm-ctl .btn-s:not(#_):not(#_){min-height:34px;display:inline-flex;align-items:center;gap:6px;font-weight:600;text-decoration:none}

/* the cards inside a section: no box, a row's look (the card's own title is the row's name) */
html body #p-qs .adm-sec>.card:not(#_):not(#_):not(#_){margin:0!important;padding:16px 2px 18px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none;min-width:0}
html body #p-qs .adm-sec>.card[hidden]:not(#_):not(#_):not(#_){display:none}
html body #p-qs .adm-sec>.card>h3:not(#_):not(#_){margin:0 0 8px;font-size:14.5px;font-weight:600;letter-spacing:0;color:var(--c-ink)}
html body #p-qs .adm-sec>.card>.sub:not(#_):not(#_){margin:-4px 0 12px!important;font-size:12.5px;color:var(--ink-muted);max-width:90ch}
html body #p-qs #adm-s-people>.card>h3:not(#_):not(#_),html body #p-qs #adm-s-tools>.card>h3:not(#_):not(#_){display:none} /* the section's name says it */
html body #p-qs #adm-s-people>.card:not(#_):not(#_):not(#_),html body #p-qs #adm-s-ai>.card:not(#_):not(#_):not(#_),html body #p-qs #adm-s-feedback>.card:not(#_):not(#_):not(#_){border-bottom:0}
html body #p-qs #admPplAct .btn-s:not(#_):not(#_){min-height:34px;font-weight:600}

/* Who sees what: a plain table, a thin line between rows; it scrolls inside itself when narrow */
html body #p-qs .adm-tw:not(#_){overflow-x:auto;max-width:100%;position:relative}
html body #p-qs .adm-t:not(#_):not(#_){width:100%;border-collapse:collapse;font-size:14px;background:transparent}
html body #p-qs .adm-t th:not(#_),html body #p-qs .adm-t td:not(#_){padding:11px 10px 11px 2px;text-align:start;vertical-align:middle;border-bottom:1px solid var(--border);color:var(--c-ink)}
html body #p-qs .adm-t thead th:not(#_):not(#_){font-size:12.5px;font-weight:600;color:var(--ink-muted);padding-top:12px}
html body #p-qs .adm-t tbody th:not(#_){font-weight:400;min-width:200px}
html body #p-qs .adm-t tbody th small:not(#_){display:block;margin-top:2px;font-size:12px;line-height:1.4;color:var(--ink-muted);max-width:52ch}
html body #p-qs .adm-t td:last-child:not(#_){text-align:end;white-space:nowrap}
html body #p-qs .adm-own:not(#_){display:inline-block;margin-inline-start:6px;padding:1px 8px;border-radius:999px;background:var(--surface-sunken);font-style:normal;font-size:11.5px;font-weight:600;color:var(--ink-muted)}
html body #p-qs .adm-mute:not(#_){color:var(--ink-subtle)}
html body #p-qs .vh:not(#_){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #p-qs .adm-none:not(#_){display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:30px 2px;color:var(--ink-2,var(--c-ink))}
html body #p-qs .adm-none[hidden]:not(#_):not(#_){display:none}

/* a narrow window: the index becomes a line of pills on top, the rows stack */
@media (max-width:900px){
  html body #p-qs .adm-w:not(#_){grid-template-columns:minmax(0,1fr);gap:16px}
  html body #p-qs .adm-idx:not(#_){position:sticky;top:0;z-index:5;flex-direction:row;max-height:none;overflow-x:auto;margin:0;padding:8px 0;background:var(--page);border-bottom:1px solid var(--border);scrollbar-width:none}
  html body #p-qs .adm-idx::-webkit-scrollbar{display:none}
  html body #p-qs .adm-g:not(#_):not(#_){display:none}
  html body #p-qs .adm-idx a:not(#_):not(#_){flex:none;white-space:nowrap;border-radius:999px;background:var(--surface-sunken)}
  html body #p-qs .adm-row:not(#_){grid-template-columns:minmax(0,1fr)}
  html body #p-qs .adm-ctl:not(#_){justify-content:flex-start}
  html body #p-qs .adm-head .hl-head-r:not(#_):not(#_){width:100%;flex-wrap:nowrap}
  html body #p-qs .adm-find:not(#_){flex:1 1 auto}
  html body #p-qs .adm-find input:not(#_):not(#_){width:100%}
  html body #p-qs .adm-sh h2:not(#_):not(#_){font-size:19px}
}

/* long notes inside the cards wrap (Tools in the Hub's last line ran off the side) */
html body #p-qs .adm-sec .row>small:not(#_):not(#_){white-space:normal;min-width:0;overflow-wrap:anywhere}
html body #p-qs .adm-sec .ts-row>span:not(#_){min-width:0;overflow-wrap:anywhere}
/* Admin › Lead inbox (public/leadinbox.js; 3 November 2026) */
html body #liBody .li-act:not(#_){display:inline-flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
html body #liBody .li-addr:not(#_),html body #liBody .li-key:not(#_){overflow-wrap:anywhere;word-break:break-all}
html body #liBody .li-on:not(#_){color:var(--ok-ink,var(--ink))}
html body #liBody .li-off:not(#_){color:var(--ink-muted)}

/* Admin › Roles (public/roles.js; Rami, 3 November 2026): the list of roles, and a role's page with a card per category of switches */
html body #p-qs .ro-t .ro-name:not(#_):not(#_){all:unset;cursor:pointer;font-weight:600;font-size:14.5px;color:var(--c-ink)}
html body #p-qs .ro-t .ro-name:hover:not(#_):not(#_){text-decoration:underline}
html body #p-qs .ro-t .ro-name:focus-visible:not(#_){outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}
html body #p-qs .ro-n:not(#_){font-weight:600}
html body #p-qs .ro-who:not(#_){display:block;margin-top:2px;font-size:12px;color:var(--ink-muted)}
html body #p-qs .ro-go:not(#_){text-align:end}
html body #p-qs .ro-make:not(#_){display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:14px 0 6px;padding:14px 16px;border-radius:12px;background:var(--surface-sunken)}
html body #p-qs .ro-make>b:not(#_){flex:1 0 100%;font-size:14.5px}
html body #p-qs .ro-make .fld:not(#_),html body #p-qs .ro-namef .fld:not(#_){display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 180px;font-size:12.5px;color:var(--ink-muted)}
html body #p-qs .ro-make-b:not(#_){display:flex;gap:8px}
html body #p-qs .ro-top:not(#_){padding:12px 0 4px}
html body #p-qs .ro-back:not(#_):not(#_){min-height:32px}
html body #p-qs .ro-head:not(#_){display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;padding:6px 0 4px}
html body #p-qs .ro-namef:not(#_){display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;flex:1 1 420px;min-width:0}
html body #p-qs .ro-namef .ro-wide:not(#_){flex:2 1 260px}
html body #p-qs .ro-title:not(#_){margin:0;font-size:22px;letter-spacing:-.015em}
html body #p-qs .ro-desc:not(#_){margin:4px 0 0;color:var(--ink-muted);font-size:13.5px}
html body #p-qs .ro-acts:not(#_){display:flex;gap:8px;flex-wrap:wrap}
html body #p-qs .ro-del:not(#_):not(#_){color:var(--bad-ink,var(--bad))}
html body #p-qs .ro-h:not(#_){margin:22px 0 6px;font-size:15px;font-weight:600;color:var(--c-ink)}
html body #p-qs .ro-auto:not(#_){margin:6px 0 0;font-size:13px;color:var(--ink-muted)}
html body #p-qs .ro-ppl:not(#_){display:flex;flex-wrap:wrap;gap:6px}
html body #p-qs .ro-chip:not(#_){display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--surface-sunken);font-size:12.5px;font-weight:600;color:var(--c-ink)}
html body #p-qs .ro-cats:not(#_){display:flex;flex-direction:column;gap:10px;margin-top:12px}
html body #p-qs .ro-cat:not(#_){border-radius:14px;background:var(--surface);border:1px solid var(--border);overflow:hidden}
html body #p-qs .ro-ch:not(#_){display:flex;align-items:center;gap:12px;padding:6px 14px 6px 4px}
html body #p-qs .ro-fold:not(#_):not(#_){all:unset;box-sizing:border-box;flex:1 1 auto;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;grid-template-areas:"n c v" "s c v";align-items:center;gap:2px 12px;padding:10px 10px;border-radius:10px;cursor:pointer}
html body #p-qs .ro-fold:hover:not(#_):not(#_){background:var(--surface-hover)}
html body #p-qs .ro-fold:focus-visible:not(#_){outline:2px solid var(--primary);outline-offset:-2px}
html body #p-qs .ro-fold b:not(#_){grid-area:n;font-size:15px;font-weight:600;color:var(--c-ink)}
html body #p-qs .ro-fold small:not(#_){grid-area:s;font-size:12.5px;color:var(--ink-muted)}
html body #p-qs .ro-cnt:not(#_){grid-area:c;font-size:12.5px;font-weight:600;color:var(--ink-muted);white-space:nowrap}
html body #p-qs .ro-chev:not(#_){grid-area:v;width:8px;height:8px;border-inline-end:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(45deg);margin-top:-4px;transition:transform .15s}
html body #p-qs .ro-cat.open .ro-chev:not(#_){transform:rotate(225deg);margin-top:4px}
html body #p-qs .ro-perms:not(#_){border-top:1px solid var(--border);padding:2px 14px 6px 14px;background:var(--surface-sunken)}
html body #p-qs .ro-perms[hidden]:not(#_):not(#_){display:none}
html body #p-qs .ro-p:not(#_){display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--border)}
html body #p-qs .ro-p:last-child:not(#_){border-bottom:0}
html body #p-qs .ro-pl:not(#_){display:flex;flex-direction:column;gap:2px;min-width:0}
html body #p-qs .ro-pl b:not(#_){font-size:14px;font-weight:600;color:var(--c-ink)}
html body #p-qs .ro-pl small:not(#_){font-size:12.5px;color:var(--ink-muted);max-width:70ch}
html body #p-qs .ro-pl .ro-lk:not(#_){color:var(--c-ink);font-weight:600}
/* the switch: on (primary), off, or Some (half: a category partly on) */
html body #p-qs .ro-sw:not(#_):not(#_){all:unset;box-sizing:border-box;flex:0 0 auto;position:relative;width:44px;height:26px;border-radius:999px;background:var(--surface-sunken);border:1.5px solid var(--border-strong);cursor:pointer;transition:background .15s,border-color .15s}
html body #p-qs .ro-sw>i:not(#_){position:absolute;top:2px;inset-inline-start:2px;width:19px;height:19px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:inset-inline-start .15s}
html body #p-qs .ro-sw.on:not(#_):not(#_){background:var(--primary);border-color:var(--primary)}
html body #p-qs .ro-sw.on>i:not(#_){inset-inline-start:20px}
html body #p-qs .ro-sw.some:not(#_):not(#_){background:var(--primary-soft);border-color:var(--primary)}
html body #p-qs .ro-sw.some>i:not(#_){inset-inline-start:11px;background:var(--primary)}
html body #p-qs .ro-sw:focus-visible:not(#_){outline:2px solid var(--primary);outline-offset:2px}
html body #p-qs .ro-sw[disabled]:not(#_):not(#_){cursor:not-allowed;opacity:.55}
html body #p-qs .ro-msg:not(#_){margin:12px 0 0;font-size:13px;font-weight:600;color:var(--c-ink)}
html body #p-qs .ro-msg[hidden]:not(#_):not(#_){display:none}
@media (max-width:640px){
  html body #p-qs .ro-t thead:not(#_){display:none}
  html body #p-qs .ro-t tr:not(#_){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--border)}
  html body #p-qs .ro-t th:not(#_),html body #p-qs .ro-t td:not(#_){border:0!important;padding:0!important}
  html body #p-qs .ro-t tbody th:not(#_){grid-column:1/-1;min-width:0!important}
  html body #p-qs .ro-t .ro-go:not(#_){grid-row:2/4;grid-column:2;align-self:center}
  html body #p-qs .ro-fold:not(#_):not(#_){grid-template-areas:"n v" "s v" "c v";grid-template-columns:minmax(0,1fr) 18px}
  html body #p-qs .ro-cnt:not(#_){justify-self:start}
}
