/* Rule 25, batch 0. The shell, opted-in panes and opted-in overlays are independent. */
/* (audit r3, Q4-opus 20, Personal Q5 52) the sign-in and Connect pages wear the same glows as the app */
html[data-shell="quiet"] :is(body, #loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate, #aixGate, #captureHome) {
  background-color:var(--q-bg);
  background-image:radial-gradient(60rem 42rem at 100% 0%, var(--q-g1), var(--q-clear) 70%),
    radial-gradient(56rem 40rem at 0% 100%, var(--q-g2), var(--q-clear) 70%);
  background-attachment:fixed;
}
html[data-shell="quiet"] body {
  padding-bottom:calc(var(--q-clearance, 0px) + .75rem);
  scroll-padding-bottom:calc(var(--q-clearance, 0px) + .75rem);
}
html[data-shell="quiet"] { scroll-padding-bottom:calc(var(--q-clearance, 0px) + .75rem); scroll-padding-top:calc(var(--q-top-height, 0px) + .5rem); color-scheme:dark; }
[data-look="quiet"] :is(.ktable tbody tr, .mq-row, .md-line, .kbcard, .pjcard) :is(a, button, input, select, [tabindex]) { scroll-margin-bottom:1.5rem; scroll-margin-top:2.5rem; }
html[data-shell="quiet"][data-theme="light"] { color-scheme:light; }
html[data-shell="quiet"] :is(input[type="checkbox"], input[type="radio"]) { accent-color:var(--q-text) !important; }   /* (final audit r2, rules 5 and 8: a page's own id or class set its ticks in the company red, so "Follow my current time zone" was a solid red box beside ink day boxes; every tick and radio is one ink now) */
/* (final audit, rule 21: an unticked box's own edge is about 2:1 on the dark page; the quiet edge colour draws it at 3:1 or more in both themes) */
html[data-shell="quiet"] input[type="checkbox"]:not(:checked, :indeterminate, :focus-visible, :disabled) { outline:1px solid var(--q-edge); outline-offset:-1px; border-radius:3px; }
/* (final audit r2, rule 21: on the dark page the edge still read as a flat grey box and the unticked radios had none; both get the muted ink edge, which is over 3:1 on navy) */
html[data-shell="quiet"]:not([data-theme="light"]) :is(input[type="checkbox"], input[type="radio"]):not(:checked, :indeterminate, :focus-visible, :disabled) { outline:2px solid var(--q-muted); outline-offset:-2px; }
html[data-shell="quiet"]:not([data-theme="light"]) input[type="radio"]:not(:checked, :focus-visible, :disabled) { border-radius:50%; }
html[data-shell="quiet"] input[type="radio"]:not(:checked, :focus-visible, :disabled) { outline:1px solid var(--q-edge); outline-offset:-1px; border-radius:50%; }
/* (audit r1) the focus ring and a focused field's edge are the quiet focus colour on every company, never the company colour */
html[data-shell="quiet"] :focus-visible { outline-color:var(--q-focus) !important; }
/* (audit r2: Acclivity 15, Sturdy Ox 4) a focus ring is drawn in ink, never the company colour (yellow on cream is 1.09:1), and only once: a search box's frame draws no second
   ring round its field's own */
html[data-shell="quiet"] .csr-box:focus-within { outline:0; }
html[data-shell="quiet"] .inv-box:focus-within { border-color:var(--q-edge); }
html[data-shell="quiet"] .blk.task:focus-visible { box-shadow:none; outline:2px solid var(--q-focus); }
/* (audit r2, Sturdy Ox 9) a field's edge is the edge token (A21: 3:1 on cream), not the hairline; the hairline token (--line, palettes.md) stays every hairline's colour.
   (Ibexx 23) a text box is never stark white: it takes the page's own surface */
html[data-shell="quiet"] :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"]), select, textarea, .csr-box) { border-color:var(--q-edge); }
html[data-shell="quiet"] textarea { color:var(--q-text); background:var(--q-surface); border:1px solid var(--q-edge); border-radius:.4375rem; }
html[data-shell="quiet"] .csr-box { border:1px solid var(--q-edge); box-shadow:none; border-radius:.5rem; }
/* (audit r2, Acclivity 17: a search folded to a lone magnifier had no word, and at 768 it ran into Today) folded, it is a button with its word */
html[data-shell="quiet"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown) { inline-size:auto; min-inline-size:var(--q-control); max-inline-size:none; padding:0 .625rem; gap:.375rem; }
html[data-shell="quiet"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown)::after { content:"Search"; color:var(--q-text); font:500 var(--q-size-small)/1.25 var(--font-sans); white-space:nowrap; }
html[data-shell="quiet"] :is(input:not([type="checkbox"], [type="radio"]), textarea, select):focus { border-color:var(--q-edge); box-shadow:none; outline:2px solid var(--q-focus); outline-offset:-1px; }
html[data-shell="quiet"] :is([role="menuitem"], .np-item, .amitem):focus { border-color:var(--q-clear); box-shadow:none; }
/* (William 2026-12-02, an iPhone: the bar opened far below the clock and jumped up at the first scroll, and the page showed between it and a record's pinned heading) the bar is
   pinned where it already sits: its place in the page and its pinned line are one value (--q-bar-top: below the clock and the camera on a phone, .5rem elsewhere), so it
   never moves when the page scrolls and what is pinned under it (--q-top-height) lines up from the first paint. The room above it is the page's own, never the bar's margin. */
html[data-shell="quiet"] { --q-bar-top:max(.5rem, var(--safe-t, 0px)); --topbar-h:var(--q-top-height, calc(var(--q-bar-top) + 3.5rem)) !important; }   /* (the old look's pinned rows and scroll stops read --topbar-h, the bar's height when it was pinned at the window's top: on this look it is the bar's measured foot, one value) */
html[data-shell="quiet"]:not([data-q-gate]) body:not(.capture-mode) { padding-block-start:var(--q-bar-top); }
html[data-shell="quiet"] #topbar {
  top:var(--q-bar-top); margin:0 max(.5rem, var(--safe-r)) 0 max(.5rem, var(--safe-l));
  padding:0; border:1px solid var(--q-line); border-radius:.875rem;
}
html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel, #quietSyncPanel),
[data-look="quiet"]:is(#drawer, #figureWorking, [role="menu"], [role="dialog"]) {
  color:var(--q-text); background:var(--q-surface); box-shadow:var(--q-shadow);
}
/* (page audit round 3, judge 20: a figure's working sat in the window's top left over the top bar, its link in the browser's blue) it opens centred in the window, below the bar's height, its link in the text colour, underlined */
[data-look="quiet"]#figureWorking[open] { position:fixed; inset:0; margin:auto; block-size:fit-content; max-block-size:calc(100dvh - 2 * var(--q-top-height, 4.75rem)); }
[data-look="quiet"]#figureWorking a[href] { color:var(--q-text); text-decoration:underline; text-underline-offset:.2em; }
[data-look="quiet"]#figureWorking p:has(> a[href]) { margin-block-end:.75rem; }   /* (final audit, part 14: the link keeps its own room above Close) */
/* (no glass on glass: a menu opened over the glass bar or rail is solid) */
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))) {
  html[data-shell="quiet"] :is(#topbar, #quietNav) {   /* (final audit: a figure's working is a dialog, so it stays solid like the records below) */
  /* (audit r4, Q2-opus 15: a record or dialog over the page was a grey see-through panel and its labels fell under 4.5:1; records and dialogs stay solid on the surface) */
    background:var(--q-glass);
    -webkit-backdrop-filter:blur(16px) saturate(1.25);
    backdrop-filter:blur(16px) saturate(1.25);
  }
}
/* (audit r2: Ibexx 5, Acclivity 4) every text in dark measures 500 or less (fixed.md); light text on a dark ground is drawn without its subpixel halo, so it reads no heavier than in light */
html[data-shell="quiet"][data-theme="dark"] body { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
/* (audit r2, Personal 10: glass on glass) the header's own menus, Away's included (it hangs from the page), are solid */
html[data-shell="quiet"] :is(#awayMenu, #appMenu, #helpPop) { color:var(--q-text); background:var(--q-surface); -webkit-backdrop-filter:none; backdrop-filter:none; border:1px solid var(--q-line); box-shadow:var(--q-shadow); }
@media (prefers-reduced-transparency:reduce) {
  html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel),
  [data-look="quiet"]:is(#drawer, #figureWorking, [role="menu"], [role="dialog"]) {
    background:var(--q-surface); -webkit-backdrop-filter:none; backdrop-filter:none;
  }
}
html[data-shell="quiet"] :is(#topbar header, #topbar #viewTabs, #viewRow) {
  background:var(--q-clear); color:var(--q-text); border-color:var(--q-line); box-shadow:none;
}
html[data-shell="quiet"] #topbar header { gap:.25rem; padding:2px .5rem; }
html[data-shell="quiet"] #topbar :is(#helpBtn .help-t, #rambleBtn .rmb-t) { display:inline; }
html[data-shell="quiet"] #topbar :is(.help-q, .rmb-i, #navToggle, #hdrPage) { display:none; }
html[data-shell="quiet"] #topbar #hdrCompany { min-height:var(--q-control); font:500 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); background:var(--q-clear); cursor:default; }
html[data-shell="quiet"] #topbar :is(button, a[href], #hdrCompany[role="button"]),
html[data-shell="quiet"] :is(#viewRow, #quietNav, #navPanel) :is(button, a[href]) {
  min-height:var(--q-control); min-width:var(--q-control); font:500 var(--q-size-small)/1.2 var(--font-sans);
  color:var(--q-text); background:var(--q-clear); cursor:pointer;
}
html[data-shell="quiet"] :is(#topbar, #viewRow, #quietNav, #navPanel) :is(button, a[href]):hover { background:var(--q-hover); }
html[data-shell="quiet"] :is(#topbar, #viewRow, #quietNav, #navPanel) [aria-current],
html[data-shell="quiet"] #topbar #wsSwitch .on {
  background:var(--q-tint); border-bottom:2px solid var(--q-mark); font-weight:500;
}
html[data-shell="quiet"] :is(#topbar, #viewRow, #quietNav, #navPanel) :is(button, a[href], [role="button"]):focus-visible,
[data-look="quiet"] :is(button, a[href], select, input, summary, .kt-grip):focus-visible {
  outline:2px solid var(--q-focus); outline-offset:-2px;
}
html[data-shell="quiet"] #topbar #viewTabs { display:none; }
html[data-shell="quiet"] #viewRow { display:flex; min-height:0; flex-wrap:wrap; }
/* (page audit, judge 13: at 768 Help spread across the window and covered the rail) from the rail up, Help opens under its own button, as the account menu does */
html[data-shell="quiet"]:not([data-q-width="phone"]) #topbar #helpPop { position:absolute; inset:100% 0 auto auto; margin-top:7px; inline-size:min(26rem, calc(100vw - 8rem)); }
html[data-shell="quiet"] #topbar :is(#helpPop, #appMenu, #quietSyncPanel) {
  background:var(--q-surface); color:var(--q-text); border-color:var(--q-line);
}
html[data-shell="quiet"] #quietNav:not([hidden]) { display:flex; gap:.1875rem; z-index:41; }
html[data-shell="quiet"][data-nav-place="rail"] #quietNav :is(a, button) { text-align:center; line-height:1.2; padding-block:.25rem; }
html[data-shell="quiet"] #topbar #appMenuBtn { min-inline-size:var(--q-control); min-block-size:var(--q-control); justify-content:center; margin-inline-start:.25rem; }
html[data-shell="quiet"] #topbar #hdrCompany:not([hidden]) { align-items:center; line-height:calc(var(--q-control) - 2px); }   /* (audit r1: the name sits in the middle of its box) */
html[data-shell="quiet"][data-nav-place="bottom"] #quietNav :is(a, button) { padding-inline:.25rem; white-space:nowrap; }
html[data-shell="quiet"] #quietNav :is(a, button) {
  display:flex; flex:1; align-items:center; justify-content:center; padding:0 .5rem;
  border:0; border-bottom:2px solid var(--q-clear); border-radius:.5rem; text-decoration:none;
}
html[data-shell="quiet"] #navPanel [hidden] { display:none; }
/* ===== audit r1 (2026-11-20) ===== */
/* a tile's filter as a choice in the Filter panel or on the chip row (part 12): it looks like the choices beside it, not like a tile */
[data-look="quiet"] :is(.k-fopt, .k-chip).k-tile,
[data-look="quiet"] :is(.k-fopt, .k-chip).k-tile + .k-tile { display:inline-flex; flex-direction:row; align-items:center; gap:.375rem; padding:0 .625rem; border:1px solid var(--q-clear); border-radius:.375rem; background:var(--q-clear); box-shadow:none; }
[data-look="quiet"] :is(.k-fopt, .k-chip).k-tile.on { background:var(--q-tint); border-color:var(--q-edge); }
[data-look="quiet"] :is(.k-fopt, .k-chip).k-tile .k-tl { font-size:inherit; color:var(--q-text); text-decoration:none; }
[data-look="quiet"] :is(.k-fopt, .k-chip).k-tile .k-tv { font:inherit; color:var(--q-muted); }
[data-look="quiet"] .k-fwork { cursor:default; }
/* Part 11: number columns share the same end edge, including values that open their workings. */
[data-look="quiet"] .ktable :is(th, td).num { text-align:end; }   /* (2026-11-22 part 11, page audit: a number heading sits right, over its right-aligned figures) */
[data-look="quiet"] .ktable th.num .kt-in { flex-direction:row-reverse; }
/* a choice in the Filter shows chosen by its tint and a check (part 5); an unchosen chip is words, not a box; a person chip is never dashed */
[data-look="quiet"] .k-fopt.on::before { content:"\2713\00a0"; }
[data-look="quiet"] .k-chip:not(.on, [aria-pressed="true"]) { border-color:var(--q-clear); }
[data-look="quiet"] .k-applied .k-ax { color:var(--q-text); background:var(--q-tint); border:1px solid transparent; border-radius:.375rem; }
[data-look="quiet"] .k-applied .k-ax::before { content:"\2713"; }
[data-look="quiet"] .pchip.off { border-style:solid; border-color:var(--q-clear); }
[data-look="quiet"] .k-fopt.zero { border-style:solid; color:var(--q-text); }   /* (page audit F14: a choice with nothing in it yet is still a choice; only its count is muted, never its words, so it never reads as switched off) */
/* the Board's folded Closed column reads across, as a word people know */
[data-look="quiet"] .kb-folded .kbname { writing-mode:horizontal-tb; transform:none; white-space:nowrap; }
[data-look="quiet"] .kbcol.kb-folded { min-inline-size:max-content; }
/* (audit r1 I19) with a column folded, the two open columns give way down to 22 characters so the folded one and its Show stay in the frame */
[data-look="quiet"] .kbcols.kb-donefold { grid-template-columns:repeat(2, minmax(22ch, 1fr)) max-content; }
/* "Go to project" and the other small link buttons take a whole control's height */
[data-look="quiet"] .k-linkbtn { min-block-size:var(--q-control); display:inline-flex; align-items:center; }
[data-look="quiet"] .td-projline .td-pjgo { min-block-size:var(--q-control); }
/* My account: the head's Close is the one way out (the foot's tinted second Close is not drawn) */
.modal[data-look="quiet"] #acctDone { display:none; }
/* Ramble's box: the app's own font, no stark fill, one edge */
.modal[data-look="quiet"] #rbText { font:400 var(--q-size-body)/1.45 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.5rem; box-shadow:none; }
/* the build number and the test-site marker are plain words, not filled pills */
html[data-shell="quiet"] #topbar :is(.buildtag, .testpill:not([hidden])) { color:var(--q-muted); background:var(--q-clear); border:0; box-shadow:none; font:400 var(--q-size-small)/1.2 var(--font-sans); }
/* a second heading in a page is body size, not a title-size grey caption */
#teamView[data-look="quiet"] .spacebox .sb-head h3 { font:500 var(--q-size-body)/1.3 var(--font-sans); color:var(--q-text); letter-spacing:0; text-transform:none; }
#questionsView[data-look="quiet"] :is(#mqStatus, #mqRows, #mqWaitGroup) { margin-inline:var(--q-gutter); }
/* the folded "Waiting on something else" group (1.0.309): one quiet line above it, its summary body size and muted */
#questionsView[data-look="quiet"] .mq-wait-group { margin-block-start:1rem; padding-block-start:.25rem; border-block-start:1px solid var(--q-line); }
#questionsView[data-look="quiet"] .mq-wait-sum { font:500 var(--q-size-body)/1.3 var(--font-sans); color:var(--q-muted); }
#questionsView[data-look="quiet"] #mqStatus:empty { display:none; }
#questionsView[data-look="quiet"] .mq-copy { max-inline-size:37.5em; }
/* the Questions page keeps 44 px buttons with a mouse too (6a7e07f2); html[data-shell] outranks the 32 px mouse floor further down */
html[data-shell="quiet"] #questionsView[data-look="quiet"] :is(button, summary):not(.blk *) { min-block-size:max(var(--q-control), 2.75rem); }
/* ...and so does its question window (1.0.309, #mqModal: its controls are 44 px on every pointer) */
html[data-shell="quiet"] #mqModal[data-look="quiet"] :is(button, summary, input:not([type="hidden"])) { min-block-size:max(var(--q-control), 2.75rem); }
/* the calendar: an hour label and the date range stay on one line */
#calView[data-look="quiet"] .timecol .hr { white-space:nowrap; font-size:var(--q-size-small); right:.25rem; }
#calView[data-look="quiet"] .timecol.tz2col .hr { right:0; } #calView[data-look="quiet"] .timecol.tz2col .hr2 { right:50%; }   /* (final audit: with a second zone its labels sit in the left half, never over the first zone's) */
/* (page audit, rules 8 and 22, also on live: the second time zone's choices were 12.5 px and 34 px tall, the chosen one marked by a company-colour edge) body size, a control's height, chosen by tint */
[data-look="quiet"] .tz2-opt { font-size:var(--q-size-body); min-block-size:var(--q-control); align-items:center; }
[data-look="quiet"] .tz2-opt.on { box-shadow:none; background:var(--q-tint); }
[data-look="quiet"] :is(.tz2-opt small, .tz2-o) { font-size:var(--q-size-small); }
[data-look="quiet"] .tz2-opt { box-sizing:border-box; max-inline-size:100%; } [data-look="quiet"] .tz2-opt > .tz2-n { flex:1 1 auto; min-inline-size:0; } [data-look="quiet"] .tz2-opt > .tz2-o { flex:none; }   /* (final audit, part 10: on a phone the zone's name wraps and its offset, "MST · UTC-7", stays whole at the row's end) */
@media (pointer:coarse) { [data-look="quiet"] .tz2-opt { min-block-size:var(--q-touch); } }
/* the run of the app's own text that layout is counted in (assets/quiet.js measureCh) */
html[data-shell="quiet"] .q-ch-probe { position:absolute; inset-block-start:0; inset-inline-start:0; display:block; inline-size:calc(10 * var(--q-char)); block-size:1px; overflow:hidden; visibility:hidden; pointer-events:none; white-space:pre; font:400 var(--q-size-body)/1 var(--font-sans); contain:strict; }
[data-look="quiet"] .k-state.empty .q-fix { margin-inline-start:.75rem; }
/* each item in one place: a heading that repeats the chosen section or tab stays for screen readers only; a row of one tab is not drawn */
html[data-shell="quiet"] [data-q-said] .k-h1 { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
html[data-shell="quiet"] #viewRow[data-q-one] { display:none; }
/* the More panel at every width: one item per line, the open section's pages indented; it opens beside its button (the rail, the top row's end) */
html[data-shell="quiet"] #navPanel.open { flex-direction:column; padding:.5rem; }
html[data-shell="quiet"] #navPanel .np-item { display:flex; align-items:center; inline-size:100%; padding:0 .75rem; border:0; border-radius:.5rem; text-align:start; text-decoration:none; box-sizing:border-box; }
html[data-shell="quiet"] #navPanel .np-sub { padding-inline-start:1.75rem; }
html[data-shell="quiet"] #navPanel .np-h { margin:.75rem .75rem .25rem; }
html[data-shell="quiet"] #navPanel .np-h:first-child { margin-block-start:.25rem; }
html[data-shell="quiet"] #navPanel .np-cos { display:flex; flex-wrap:wrap; }
html[data-shell="quiet"] #quietNav a[data-q-sec] { white-space:nowrap; }
html[data-shell="quiet"] #quietNav a[data-q-sec][hidden] { display:none; }
html[data-shell="quiet"][data-nav-place="rail"] #navPanel.open { top:var(--q-np-top, var(--q-top-height, 4.75rem)); bottom:auto; left:calc(6.625rem + var(--safe-l, 0px)); }
html[data-shell="quiet"][data-nav-place="top"] #navPanel.open { top:var(--q-top-height, 4.75rem); bottom:auto; left:auto; right:max(.5rem, var(--safe-r, 0px)); }
html[data-shell="quiet"][data-nav-place="top"] #quietNav { position:static; margin:0 .5rem; background:var(--q-clear); box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
/* (audit r2, Sturdy Ox 23, rule 2: one header row of about 46 px) with a mouse the company is its pill (it opens the switcher), the sections sit in the row and give way to its
   More; the build is in More, the account is its circle (named for screen readers) */
html[data-shell="quiet"][data-nav-place="top"] #topbar header { flex-wrap:nowrap; min-block-size:var(--q-control); }
html[data-shell="quiet"][data-nav-place="top"] #topbar header #quietNav { flex:0 1 auto; min-inline-size:0; overflow:hidden; margin:0 .25rem; padding:0; border:0; border-radius:0; gap:2px; }
html[data-shell="quiet"][data-nav-place="top"] #topbar header #quietNav :is(a, button) { flex:none; padding:0 .625rem; }
html[data-shell="quiet"][data-nav-place="top"] #topbar header > .spacer { flex:1 1 0; min-inline-size:0; }
html[data-shell="quiet"][data-nav-place="top"] #topbar :is(#wsSwitch, #brandName, #buildTag, #appMenuBtn .acct-name, #syncNote) { display:none; }   /* (the save note: the Sync button carries it, as on a phone) */
html[data-shell="quiet"][data-nav-place="top"] #topbar #hdrCompany { display:inline-flex; align-items:center; flex:none; max-inline-size:12rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:0 .5rem; border:1px solid var(--q-edge); border-radius:.5rem; }
html[data-shell="quiet"][data-nav-place="top"] #topbar #hdrCompany[role="button"] { cursor:pointer; }
html[data-shell="quiet"][data-nav-place="top"] #topbar header > :is(.logo, #hdrCompany, #quietSync, #runBtn, #awayBtn, #rambleBtn, .help-wrap, .appmenu-wrap) { flex-shrink:0; }
html[data-shell="quiet"][data-nav-place="rail"] body { margin-inline-start:6.625rem; }
html[data-shell="quiet"][data-nav-place="rail"] #quietNav {
  position:fixed; inset-inline-start:max(.875rem, var(--safe-l)); top:max(5.5rem, calc(var(--q-top-height, 4.75rem) + .5rem)); bottom:max(.75rem, var(--safe-b));
  block-size:fit-content; margin-block:auto; transform:none;
  width:5.25rem; flex-direction:column; border:1px solid var(--q-line); border-radius:1.875rem; padding:.75rem .5rem;
}
html[data-shell="quiet"][data-nav-place="bottom"] #quietNav {
  position:fixed; inset-inline:max(.5rem, var(--safe-l)) max(.5rem, var(--safe-r));
  bottom:calc(.25rem + var(--safe-b)); min-height:var(--q-bottom-height); align-items:stretch;
  border:1px solid var(--q-line); border-radius:1rem; padding:.25rem;
}
html[data-shell="quiet"] #navBackdrop.open { display:block !important; position:fixed; inset:0; z-index:42; background:var(--color-scrim); visibility:visible; opacity:1; }
html[data-shell="quiet"] #navPanel.open {
  display:block !important; position:fixed; top:auto; bottom:var(--q-nav-clear, .5rem); left:.5rem; right:auto;
  width:min(26rem, calc(100vw - 1rem)); max-height:calc(100dvh - var(--q-top-height, 4.75rem) - var(--q-nav-clear, .5rem));
  transform:none; visibility:visible; overflow:auto; z-index:45; border:1px solid var(--q-line); border-radius:.875rem;
}
/* (William 2026-12-02) the version just before Sync, small quiet words, at every width; it never takes a button's room nor wraps the bar */
html[data-shell="quiet"] #topbar #quietVer { flex:0 0 auto; align-self:center; color:var(--q-muted); font:400 var(--q-size-small)/1.2 var(--font-sans); white-space:nowrap; }
/* (on a phone the save note is Sync's panel's, so the empty spacer gives its gap to the company's name and the version takes its push) */
html[data-shell="quiet"][data-q-width="phone"] #topbar header > .spacer { display:none; }
html[data-shell="quiet"][data-q-width="phone"] #topbar #quietVer { margin-inline-start:auto; }
html[data-shell="quiet"] #topbar #buildTag { display:none; }   /* (each fact once: the bar says it) */
html[data-shell="quiet"] #quietSyncPanel { position:absolute; right:.5rem; top:100%; padding:.75rem; border-radius:.5rem; z-index:2; font-size:var(--q-size-body); }
html[data-shell="quiet"] #vaFab:not([hidden]) { bottom:calc(var(--q-nav-clear, .5rem) + .5rem); color:var(--q-text); background:var(--q-surface); border-color:var(--q-edge); }
html[data-shell="quiet"][data-q-talk] #calView { padding-bottom:0; }
/* the phone width class (quiet.js: under PHONE_CH characters of the app's text) */
html[data-shell="quiet"][data-q-width="phone"] #topbar :is(.logo, #awayBtn, #runBtn, #syncNote, #wsSwitch){ display:none; }
/* (review f-2bffe06e) the test site says so on a phone too: an installed web app has no tab title to say it, so the marker stays in the header, plain words, and the company name gives way */
html[data-shell="quiet"][data-q-width="phone"] #topbar .testpill:not([hidden]){ display:inline-flex; align-items:center; padding:0 .375rem; font:500 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:1px dashed var(--q-edge); border-radius:.375rem; }
html[data-shell="quiet"][data-q-width="phone"] #topbar header:has(.testpill:not([hidden])) #hdrCompany{ max-width:28%; }
html[data-shell="quiet"][data-q-width="phone"] #topbar #hdrCompany{
  display:inline-flex; align-items:center; max-width:40%; text-overflow:ellipsis; overflow:hidden;
  padding:0 .5rem; border:1px solid var(--q-edge); border-radius:.5rem;
}
html[data-shell="quiet"][data-q-width="phone"] #viewRow .vr-views{ display:flex; flex-wrap:wrap; gap:0; }
html[data-shell="quiet"][data-q-width="phone"] #topbar .appmenu-wrap:has(#appMenu:not([hidden])){ display:block; position:static; }

[data-look="quiet"] { color:var(--q-text); font:400 var(--q-size-body)/1.4 var(--font-sans); }
[data-look="quiet"] :is(h1, h2, h3, b, strong) { font-weight:500; text-transform:none; }
[data-look="quiet"] :is(h1, .k-titletext) { font-size:var(--q-size-title); }
[data-look="quiet"] :is(.hint, .k-muted, .k-foot) { color:var(--q-muted); font-size:var(--q-size-small); }
[data-look="quiet"] :is(.btn, .k-chip, .k-ibtn, .k-tab, .k-wsb, .vbtn, .ppadd, .ppmore, select, summary, label:has(:is(input, select))) { cursor:pointer; }
[data-look="quiet"] :is(.btn, .k-chip, .k-ibtn, .k-wsb, .vbtn, select) {
  min-width:var(--q-control); min-height:var(--q-control); font:500 var(--q-size-small)/1.25 var(--font-sans);
  color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
[data-look="quiet"] :is(.btn, .k-chip, .k-ibtn, .k-wsb, .vbtn):hover { background:var(--q-hover); }
[data-look="quiet"] :is(.btn, .k-chip, .k-ibtn, .k-wsb, .vbtn):not(:disabled):active { background:var(--q-tint); }   /* (final audit, rule 16: a press shows, as hover and focus do) */
/* (a chip that needs a look, "Calendars · Reconnect needed": a state, so a dot in the attention colour before its words) */
[data-look="quiet"] .k-chip.k-attn:not([class~="on"]) { display:inline-flex; align-items:center; color:var(--q-text); }
[data-look="quiet"] .k-chip.k-attn:not([class~="on"])::before { content:""; display:inline-block; inline-size:.4375rem; block-size:.4375rem; flex:none; margin-inline-end:.375rem; border-radius:50%; background:var(--q-attention); }
/* Part 5: tabs are words on a line, the chosen one with a 2 px line under it and a 17 % tint, the rest plain; never a box round them. */
[data-look="quiet"] :is(.k-tabs, .k-whosw) { flex-wrap:wrap; gap:.25rem; border:0; border-radius:0; overflow:visible; background:var(--q-clear); }
[data-look="quiet"] .k-tab {
  flex:none; min-width:var(--q-control); min-height:var(--q-control); padding:0 .75rem; text-align:start;
  font:400 var(--q-size-small)/1.25 var(--font-sans); color:var(--q-text);
  background:var(--q-clear); border:0; border-bottom:2px solid var(--q-clear); border-radius:.375rem .375rem 0 0;
}
[data-look="quiet"] .k-tab:hover { background:var(--q-hover); }
[data-look="quiet"] :is(.k-tab.on, .vbtn.on, [role="tab"][aria-selected="true"]),
[data-look="quiet"] :is(.k-tab.on, .vbtn.on):hover {
  font-weight:500; color:var(--q-text); background:var(--q-tint); border:0; border-bottom:2px solid var(--q-mark);
}
[data-look="quiet"] .k-tab .k-n { color:var(--q-muted); }
/* Part 5: an on/off chip shows chosen by a light tint and a check; its edge stays grey, never a fill. */
[data-look="quiet"] .k-whosw { flex-wrap:wrap; max-inline-size:100%; }
[data-look="quiet"] .k-wsb { flex:0 1 auto; min-width:0; padding:0 .75rem; font-weight:400; white-space:normal; }
[data-look="quiet"] :is(.k-chip.on, .k-chip[aria-pressed="true"], .k-wsb.on),
[data-look="quiet"] :is(.k-chip.on, .k-wsb.on):hover { font-weight:500; color:var(--q-text); background:var(--q-tint); border:1px solid var(--q-edge); }
[data-look="quiet"] :is(.k-chip.on, .k-chip[aria-pressed="true"], .k-wsb.on)::before { content:"✓\00a0"; }
[data-look="quiet"] :is(.btn.primary, .donebtn.primary) { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
[data-look="quiet"] :is(.btn.primary, .donebtn.primary):hover { filter:brightness(1.08); }
[data-look="quiet"] :is(.btn.danger, .k-ibtn.danger) { border:1px solid var(--q-fault); color:var(--q-fault); background:var(--q-clear); }
[data-look="quiet"] .q-status { display:inline-flex; align-items:center; gap:.375rem; font-size:var(--q-size-small); white-space:nowrap; }
[data-look="quiet"] .q-status::before { content:""; border-radius:50%; width:.4375rem; height:.4375rem; background:var(--q-neutral); }
[data-look="quiet"] .q-status[data-tone="good"]::before { background:var(--q-good); }
[data-look="quiet"] .q-status[data-tone="fault"]::before { background:var(--q-fault); }
[data-look="quiet"] .q-status[data-tone="attention"]::before { background:var(--q-attention); }
[data-look="quiet"] span.badge {
  display:inline-flex; align-items:center; gap:.375rem; font:400 var(--q-size-small)/1.2 var(--font-sans);
  color:var(--q-text); border:0; padding:0; background:var(--q-clear);
}
[data-look="quiet"] span.badge::before { content:""; inline-size:.4375rem; block-size:.4375rem; flex:none; border-radius:50%; background:var(--q-neutral); }
[data-look="quiet"] span.badge.good::before { background:var(--q-good); }
[data-look="quiet"] span.badge.fault::before { background:var(--q-fault); }
[data-look="quiet"] span.badge.attention::before { background:var(--q-attention); }
[data-look="quiet"] :is(button .ico, #drawerWide) { display:none; }
[data-look="quiet"] :is(.ktablecard, .ktable) { border:0; box-shadow:none; border-radius:0; background:var(--q-clear); }
[data-look="quiet"] .ktable :is(td, th, tr) { background:var(--q-clear); border-color:var(--q-line); font-size:var(--q-size-small); }
/* Parts 2, 11 and 14: plain rows with a thin line; no row stripes, no shaded cell, no fill on the head; a pressed or open row is the neutral tint.
   Part 11 Style B (William, 2026-11-22): a faint alternating column tint, neutral, never the company colour (kept below the open row's tint by :where). */
[data-look="quiet"] .ktable tbody tr td { background:var(--q-clear); }
/* QUIET-EXCEPTION: part 11 Style B column tint (columns, not row stripes; William 2026-11-22). */
[data-look="quiet"] .ktable tbody tr td:where(:nth-child(even)) { background:var(--q-coltint); }
[data-look="quiet"] .ktable :is(td, th) { box-shadow:none; }
[data-look="quiet"] .ktable tbody tr:is(.k-open, :active) td { background:var(--q-hover); }
[data-look="quiet"] .ktable th { font-weight:500; border-bottom-width:1px; }
[data-look="quiet"] .ktable[data-q-stuck] thead th { background:var(--q-bg); }
[data-look="quiet"] :is(.ktable tbody tr, .md-line):focus-visible { outline:2px solid var(--q-focus); outline-offset:-2px; }
[data-look="quiet"] .md-row.md-now td { font-weight:500; }
[data-look="quiet"] .ktable td { height:var(--q-control); padding-block:0; }
/* List controls already fill the row; draw its dividing line inside the cell instead of adding a pixel to their height. */
#listView[data-look="quiet"] .ktable[data-kt="tasks"] tbody > tr[data-rowtask]:not(:last-child) > td { border-block-end:0; box-shadow:inset 0 -1px var(--q-line); }
[data-look="quiet"] :is(.ktable th, .k-h1, .md-preview, .md-h3) { text-transform:none; }
[data-look="quiet"] label[for] { cursor:pointer; }
/* Part 17: every piece of words on a quiet page is one of four sizes (small, text, title, figure). */
[data-look="quiet"] :is(.k-tl, .k-vh, .lv-nw, .pchip, .k-fpanel h3, .k-fopt, .k-n, .e3a-tag, .ib-whnote, .rp-rowtag) { font-size:var(--q-size-small); }
[data-look="quiet"] .k-fpanel h3 { font-weight:500; letter-spacing:0; }
/* Fixed legacy sizes leave the scale where the tokens grow (1920 px): the 12 px ones follow the small token, the 13 px ones the text token. */
[data-look="quiet"] :is(.md-h3, .qi-h, .md-lm, .md-when, .tdlbl, .ppadd, .ppnone, .cm1head, .tdcl-h, .td-pjgo-w, .cpy-note) { font-size:var(--q-size-small); }
[data-look="quiet"] :is(.k-ax, .k-linkbtn, .k-fcnt, .ib-count, .k-fsub, .k-fnote, .tabproj, .tabproj label, .tabproj select) { font-size:var(--q-size-small); }
[data-look="quiet"] .ktable tr.b3-grp td { font-size:var(--q-size-small); font-weight:500; }
[data-look="quiet"] :is(.k-ax, .k-linkbtn, .k-fsub) { font-weight:500; }
[data-look="quiet"] .k-linkbtn { color:var(--q-text); text-decoration:underline; text-underline-offset:3px; }
[data-look="quiet"] :is(.vb-q, .figure-number) { font-size:var(--q-size-body); }
html[data-shell="quiet"] #topbar .acct-badge { font-size:var(--q-size-small); }
[data-look="quiet"] .k-tv { font-size:var(--q-size-figure); font-weight:500; line-height:1.15; }
[data-look="quiet"] :is(#tdTitle, .d-title) { font-size:var(--q-size-title); font-weight:500; }
[data-look="quiet"] .k-nil { color:var(--q-muted); }
[data-look="quiet"] .hint { max-inline-size:37.5em; }   /* (final audit, rule 22: 75 letters of Inter at the text's own size; 75ch measured the wide "0" and let about 93 letters through) */
html[data-shell="quiet"] #buildTag { font-size:var(--q-size-small); }
html[data-shell="quiet"] #topbar #brandName { font-size:var(--q-size-body); font-weight:500; }
#drawer[data-look="quiet"] #drawerTitle { font-size:var(--q-size-title); font-weight:500; }
[data-look="quiet"] :is(.ktable, .k-viewbar, .k-fpanel, .md-line) .pchip,
[data-look="quiet"] .ktable td.k-who :is(.pchip, .pchip.every) { font-size:var(--q-size-small); }
/* A row's title link is a target of its own (rule 22): 32 px with a mouse, 44 on touch. */
[data-look="quiet"] .md-title { display:inline-flex; align-items:center; min-block-size:var(--q-control); }
@media (pointer:coarse) {
  [data-look="quiet"] :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), select, textarea) { min-block-size:var(--q-touch); }
}
[data-look="quiet"] .k-sub { display:none; }
/* Deleted's 90-day retention and Restore are facts, not a page introduction. */
[data-look="quiet"] .k-sub.k-sub-kept { display:block; color:var(--q-muted); font-size:var(--q-size-small); }
[data-look="quiet"] .k-fresh { color:var(--q-muted); }
/* (page audit F45d/F45f/F45k: a line that is a fact, not a note, stays: which store the orders come from, a project's phase and count, and the day At risk counts up to) */
#ordersView[data-look="quiet"] .k-headtxt > .k-sub, #mydayView[data-look="quiet"] .k-headtxt > .k-sub, #projectView[data-look="quiet"] .k-headtxt > .k-sub, #atriskView[data-look="quiet"] .ar-sec > .k-sub { display:block; color:var(--q-muted); font-size:var(--q-size-small); }
[data-look="quiet"] :is(.md-line, .td-turn) { background:var(--q-clear); border:0; border-bottom:1px solid var(--q-line); }
[data-look="quiet"] .md-line { min-height:var(--q-control); }
[data-look="quiet"] .md-line .md-ln > .k-rowlink { display:inline-flex; align-items:center; min-block-size:var(--q-control); vertical-align:middle; }
[data-look="quiet"] :is(.k-rowlink, .k-linkbtn, .lt-link) { color:var(--q-text); }
[data-look="quiet"] .ktable td:not(.num) { font-variant-numeric:normal; }
[data-look="quiet"] .ktable .num { font-variant-numeric:tabular-nums; }
[data-look="quiet"] .ktable :is(tr:hover, tr:focus-within) > td { background:var(--q-hover); }
/* Part 11: the column-width grip is always drawn, as a short mark at the heading's edge, not a line dividing the head. */
[data-look="quiet"] .ktable .kt-grip { display:flex; align-items:center; }
[data-look="quiet"] .ktable .kt-grip::after { width:2px; height:40%; max-height:.875rem; border-radius:1px; background:var(--q-edge); }   /* A resize handle is a control, not a divider. */
[data-look="quiet"] .ktable .kt-grip:is(:hover, :focus-visible, .kt-on)::after { width:.1875rem; height:60%; max-height:none; background:var(--q-focus); }
[data-look="quiet"] .ktable input[type="checkbox"] { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); cursor:pointer; }
[data-look="quiet"] :is(.quickadd, .k-quick, .q-quick) { padding-inline:var(--q-gutter); }
[data-look="quiet"] :is(.qi-add, #mydayAdd) { padding-inline:var(--q-gutter); }
[data-look="quiet"] :is(.qi-add, .q-record-tools)[hidden] { display:none; }
[data-look="quiet"] .k-state { max-inline-size:37.5em; }
[data-look="quiet"] .q-record-tools { display:flex; align-items:center; gap:.25rem; flex-wrap:wrap; padding:.25rem .75rem; }
[data-look="quiet"][data-q-frame] { --q-record-width:42.5rem; }
#drawer[data-look="quiet"][data-q-frame].open {
  inset-block:calc(var(--safe-t) + .5rem) auto; block-size:auto;   /* (as tall as the record, up to the window: a short form is a short card) */
  max-block-size:calc(100dvh - var(--safe-t) - var(--safe-b) - 1rem);
  width:min(var(--q-record-width), calc(100% - 1rem)); max-width:none;
  border:1px solid var(--q-line); border-radius:.875rem; padding:0;
}
#drawer[data-look="quiet"][data-q-frame="center"].open { inset-inline:0; margin-inline:auto; }
#drawer[data-look="quiet"][data-q-frame="left"].open { left:.5rem; right:auto; }
#drawer[data-look="quiet"][data-q-frame="right"].open { right:.5rem; left:auto; }
#drawer[data-look="quiet"][data-q-frame="full"].open {
  position:relative; inset:auto; width:100%; height:auto; max-block-size:none; margin:0; border:0; border-radius:0;   /* (the whole record is in the page: its foot ends above the bottom bar and Talk) */
  background:var(--q-clear); backdrop-filter:none; box-shadow:none; overflow:visible;   /* (final audit, part 14: the page's glows show through a full-page record, never a solid band that stops where its fields end) */
  transform:none; transition:none; z-index:auto;
}
#drawer[data-look="quiet"][data-q-frame="full"] .drawerbody { overflow:visible; }
/* (audit r1 I24, A33; rule A6, one scroll bar) a floating record is as tall as its fields: it stays where it opened in the page and the page's own scroll moves it; its Save row stays at the window's foot */
#drawer[data-look="quiet"]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]).open { position:absolute; inset-block:calc(var(--q-rec-y, 0px) + var(--safe-t) + .5rem) auto; max-block-size:none; overflow:visible; }
#drawer[data-look="quiet"]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]) .drawerbody { flex:none; overflow:visible; }
#drawer[data-look="quiet"]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]) :is(.dfoot, .drawerfoot):not([hidden]) { position:sticky; inset-block-end:0; z-index:1; background:var(--q-surface); }
/* (page audit, judges: a centred "New repeating task" put Save below the window at 1440) the record still scrolls with the window, its action row stays at the window's foot, as a dialog's does */
/* the same for a dialog: the sheet grows with what it holds and the window scrolls it */
.modal[data-look="quiet"] { overflow-y:auto; align-items:safe center; }
.modal[data-look="quiet"] .sheet { max-block-size:none; overflow:visible; flex:none; margin-block:1rem; }
.modal[data-look="quiet"] .sheetbody { max-block-size:none; overflow:visible; }
.modal[data-look="quiet"] .sheetfoot { position:static; }
/* (page audit: a long "Restore a backup" list pushed Restore this backup below the window; live pinned it) the dialog still scrolls with the window, its action row stays at the window's foot */
.modal[data-look="quiet"] .sheet > .sheetfoot { position:sticky; inset-block-end:0; z-index:1; background:var(--q-surface); border-end-start-radius:inherit; border-end-end-radius:inherit; }   /* (final gate, part 2: the foot's own ground follows the dialog's round bottom corners; square, it stuck out past them) */
/* (page audit, a10: one Cancel, the head's) the Motion dialogs' second Cancel goes as the quick add's did */
.modal[data-look="quiet"] :is(#impCancel, #mpCancel) { display:none; }
/* (page audit re-judge: Reality check, Ask a number, Restore a backup, Run the weekly meeting, AI usage, the message window and "Someone else is working on it" each had a second Cancel or Close in the foot) one close, the heading's */
.modal[data-look="quiet"] :is(#rcCancel, #askCancel, #restoreCancel, #meetingClose, #mgmtClose2, #ntClose, #wjCancel) { display:none; }
#rcModal[data-look="quiet"] .sheetfoot:has(#rcApply[hidden]):has(#rcSummary:empty) { display:none; }   /* (final audit, rule 14: a check that could not run has nothing to apply and its Cancel is the head's, so its footer would be an empty band) */
.modal[data-look="quiet"] #mgmtModal .sheetfoot:not(:has(button:not([style*="none"]):not(#mgmtClose2))) { justify-content:flex-start; }
/* (page audit, parts 2 and 14: each backup sat in its own box, the chosen one in the company colour) choices are rows with a thin line; the chosen row is tinted */
.modal[data-look="quiet"] .nt-list { gap:0; }
.modal[data-look="quiet"] .nt-list label { border:0; border-block-end:1px solid var(--q-line); border-radius:0; }
.modal[data-look="quiet"] .nt-list label:has(input:checked) { background:var(--q-hover); }
/* (page audit, part 14: the AI box, the repeat preview, a person's rate card and the month-end steps were filled boxes; a chosen weekday wore the company colour) words on the page with thin lines; a chosen day is a tint with a check (part 5) */
[data-look="quiet"] :is(.aibox, .rp-preview, .tr-person, .pk-steps) { background:var(--q-clear); border:0; border-radius:0; padding-inline:0; }
[data-look="quiet"] .tr-person { border-block-end:1px solid var(--q-line); }
[data-look="quiet"] .pk-steps li { padding-inline:0; }
[data-look="quiet"] .pk-steps li:is(li, li) { background:var(--q-clear); }   /* (no stripe on every other step: rule 5) */
[data-look="quiet"] .days label { font-size:var(--q-size-small); border-color:var(--q-clear); min-block-size:var(--q-control); display:inline-flex; align-items:center; }
[data-look="quiet"] .days label.on { background:var(--q-main); color:var(--q-text); border-color:var(--q-clear); }
[data-look="quiet"] .days label.on::before { content:"\2713\00a0"; }
/* (page audit, rule 8, mostly also on live: menu sheets at 15 px, notes at 10-11 px, a step's name at 16 px) every word on the scale: body, small or title */
html[data-shell="quiet"] :is(.c3-mi, .e3a-mi, .pjmv-mi, .c3-mt, .e3a-mt, .pjmv-mt, .e4b-c, .e4b-sr, #wjX, #wjTitle, #mpX, #mpTitle) { font-size:var(--q-size-body); }
html[data-shell="quiet"] .ib-step-t { font-size:var(--q-size-body); font-weight:500; }
html[data-shell="quiet"] :is(.shopday-sub, .cc-prov, .k-sub2) { font-size:var(--q-size-small); }
/* (page audit: the AI plan's footer squeezed its summary, a second Discard and Add to Momentum into one row at 375; a10, one Discard, the head's) */
.modal[data-look="quiet"] #aiDiscard { display:none; }
.modal[data-look="quiet"] #aiModal .sheetfoot, #aiModal[data-look="quiet"] .sheetfoot { flex-wrap:wrap; }
#aiModal[data-look="quiet"] .pvtask.editable { flex-wrap:wrap; row-gap:.375rem; }
#aiModal[data-look="quiet"] .pvtask.editable .pvtname { flex:1 1 14rem; min-inline-size:min(14rem, 100%); }   /* (final audit, part 9: a task's name keeps room for its words; its menus wrap under it rather than squeeze it to a few letters) */
html[data-q-width="phone"] #aiModal[data-look="quiet"] #aiSummary { flex:1 1 100%; }
#drawer[data-look="quiet"][data-q-frame="full"] .dfoot { position:static; }
html[data-shell="quiet"][data-q-full-record] body { overflow:visible; }
/* Tall floating records use the page's scrollbar; fitting records keep it locked. */
html[data-shell="quiet"]:not([data-q-lock-scroll]) body.drawer-open:has(> #drawer.open[data-look="quiet"]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]):not([data-q-fits])) { overflow:visible; }
/* A record taking the whole page replaces the old view and its tabs, not the app header. */
html[data-shell="quiet"][data-q-full-record="page"] :is(main, #viewRow) { display:none; }
html[data-shell="quiet"][data-q-full-record] #drawerBackdrop { display:none; }
html[data-shell="quiet"][data-q-full-record] { scroll-padding-top:calc(var(--q-top-height, 0px) + var(--q-record-pin, 0px)); }
[data-look="quiet"] .q-record-resize { cursor:grab; touch-action:none; }
[data-look="quiet"] .q-record-resize:active { cursor:grabbing; }
[data-look="quiet"] .q-record-mode { display:inline-flex; align-items:center; gap:.375rem; }
/* 200 % text (rule 22): the record's rows and buttons wrap inside the window instead of pushing past it. */
#drawer[data-look="quiet"] .drawerbody .btn { white-space:normal; max-inline-size:100%; }
#drawer[data-look="quiet"] :is(#evForm, #eventModal, #taskModal, [data-drawer="task"]) { container-type:inline-size; }
html[data-shell="quiet"][data-nav-place="rail"] #drawer[data-look="quiet"][data-q-frame="full"].open { margin-inline-start:6.625rem; width:calc(100% - 6.625rem); }
/* Forms inside record panels follow the panel's own container width, never the viewport (rule 25 part 19, 2026-11-22). */
@container (max-width:30rem) {
  #drawer[data-look="quiet"] #evForm { grid-template-columns:minmax(0, 1fr); }
  #drawer[data-look="quiet"] #evForm > .row2 { grid-template-columns:repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
  #drawer[data-look="quiet"] #evForm :is(input, select, .inv-in) { min-inline-size:0; max-inline-size:100%; }
  #drawer[data-look="quiet"] #evForm .ev-lbl > input { inline-size:100%; }
  #drawer[data-look="quiet"] .tdrow:has(> #edAtt) { display:grid; grid-template-columns:minmax(0, 1fr); }
  #drawer[data-look="quiet"] #edAtt :is(.inv, .inv-in) { min-inline-size:0; max-inline-size:100%; }
  #drawer[data-look="quiet"] .edprep .aiprepbtn { flex:0 1 auto; white-space:normal; max-inline-size:100%; }
  [data-look="quiet"] .ed-time-row { flex-wrap:wrap; column-gap:.375rem; }
  [data-look="quiet"] .ed-time-row .tdlbl { flex-basis:100%; }
  [data-look="quiet"] .ed-time-row input[type="time"] { flex:1 1 0; min-inline-size:0; inline-size:auto; }
}
#drawer[data-look="quiet"] .drawerbody :is(.tdrow, .td-acts, .td-donebar, .td-work, .tdwhere) { flex-wrap:wrap; min-inline-size:0; }
#drawer[data-look="quiet"] .drawerbody .tdwhere { overflow-wrap:anywhere; }
[data-look="quiet"] .q-record-fields { display:grid; grid-template-columns:minmax(5rem, max-content) minmax(0, 1fr); gap:.5rem; margin:1rem 0; }
[data-look="quiet"] .q-record-fields dd { margin:0; overflow-wrap:anywhere; }
[data-look="quiet"] .q-row-record:not([hidden]) { border:0; background:var(--q-clear); padding:var(--q-gutter); }
/* A wide table slides inside its own frame, never the page (rule 1), also at 200 % text. */
html[data-q-width="wide"] [data-look="quiet"] .ktablecard{ max-inline-size:100%; overflow-x:auto; }
[data-look="quiet"] .ail-slide { overflow-y:clip; }   /* (final audit, rule 5: the AI audit log's own sideways frame slides but does not trap its heading up and down, as a table's card does; trapped, the heading stood 50 px down, over rows 1 and 2) */
/* (part 11, William 2026-11-22; page audit) a table narrower than the window stops at its fitted columns, like a spreadsheet, never stretching its last column across a wide screen */
html[data-q-width="wide"] [data-look="quiet"] .ktablecard:not(:has(.kt-fixed)){ min-width:0; }
/* (final audit r2, rule 25 part 11: fitting the Today table to its own columns needn't change the prose's measure) */
html[data-q-width="wide"] #mydayView[data-look="quiet"] > :is(#mydayBody, #mydayFoot) { box-sizing:border-box; inline-size:100%; margin-inline:auto; padding-inline:var(--q-gutter); }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:not([data-q-compare]){ width:100% !important; min-width:0 !important; table-layout:fixed; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktablecard:has(> [data-q-table]:not([data-q-compare])){ width:100% !important; min-width:0 !important; overflow:visible; }
/* The first column is not pinned (no slide), but the header row still stays put under the floating top bar. */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:not([data-q-compare]) tbody :is(td, th):not(.q-row-end){ position:static; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table] td:not([data-q-detail], .k-act){ overflow:hidden; text-overflow:ellipsis; }
/* (2026-11-27, the Holidays guide on a phone: the action cell cut "⚠ Remove — sure?" to its own width, so the second press was on a word half hidden) the asking button grows out of its
   cell, as on the wide tables, over the cell beside it on a solid backing */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table] td.k-act .ci-armed{ position:relative; z-index:2; background:color-mix(in srgb, var(--color-fault) 14%, var(--q-bg)) !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table] thead th{ position:sticky; inset-inline-start:auto; top:var(--q-top-height, 0px); z-index:3; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-q-boxed] thead th{ top:var(--q-table-head, 0px); }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table] :is(td, th){ min-width:0 !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable [data-q-detail]{ display:none; }
/* (a meeting's or show's When is a key column too: the name gives it room instead of taking the whole width) */
html:not([data-q-width="wide"]) [data-look="quiet"] :is(#eventsBody, #showsBody) .ktable[data-q-table] :is(th, td).k-title{ width:50%; }
/* a record beside its list: only while the list keeps 45 characters and the record 40 (quiet.js sets data-q-beside) */
html[data-q-beside] [data-look="quiet"]:is([data-q-row-record], [data-q-split-pane]){ display:grid; grid-template-columns:minmax(calc(45 * var(--q-ch, .4rem) + 3rem), 1fr) minmax(calc(40 * var(--q-ch, .4rem) + max(40px, 3rem)), 1.2fr); align-items:start; }
html[data-q-beside] [data-look="quiet"] > :not(.q-row-record, #drawer){ grid-column:1; }
html[data-q-beside] [data-look="quiet"] > :is(.q-row-record, #drawer[data-q-split].open){ grid-column:2; grid-row:1 / span 20; position:sticky; top:var(--q-top-height); }
/* otherwise the record is its own page, with Back */
html:not([data-q-beside]) [data-look="quiet"][data-q-row-record] > :not(.q-row-record){ display:none; }
@media (pointer:coarse) {
  [data-look="quiet"] .ktable :is(button, a, input, select, label:has(input)) { min-height:var(--q-touch); min-width:var(--q-touch); }
  [data-look="quiet"] .ktable a { display:inline-flex; align-items:center; }
  [data-look="quiet"] .ktable .kt-grip { width:max(24px, 1.5rem); }
  [data-look="quiet"] #taskModal :is(button, select, input:not([type="hidden"]), textarea) { min-height:var(--q-touch); }
}
/* Screen check 1 of the samples (rule 25 parts 2, 4, 5, 12, 13, 14 and 16; plan 4.2 and 13a). */
/* Part 14: the company colour only on chosen marks and the main action: never a title underline. */
[data-look="quiet"] .k-bar { display:none; }
/* Plan 4.2: Today's Preview is one short line in the gutter, a dot and plain words, with no rule under it. */
[data-look="quiet"] .md-preview {
  display:flex; align-items:center; gap:.5rem; margin:.375rem var(--q-gutter) 0; padding:0;
  color:var(--q-muted); font-size:var(--q-size-small); background:var(--q-clear); border:0;
}
[data-look="quiet"] .md-preview::before { content:""; flex:none; inline-size:.4375rem; block-size:.4375rem; border-radius:50%; background:var(--q-neutral); }
/* Part 12: a key figure shows plain under the title, number over label, a thin line between figures; the label is its link. */
[data-look="quiet"] .k-tiles { display:flex; flex-wrap:wrap; gap:.75rem 0; max-width:none; padding:.75rem var(--q-gutter) 0; }
[data-look="quiet"] .k-tile { padding:0 1.5rem 0 0; border:0; border-radius:0; background:var(--q-clear); box-shadow:none; }
[data-look="quiet"] .k-tile + .k-tile { padding-inline-start:1.5rem; border-inline-start:1px solid var(--q-line); }
[data-look="quiet"] .k-tile:hover { background:var(--q-clear); }
[data-look="quiet"] .k-tile .k-tl { color:var(--q-muted); text-decoration:underline; text-underline-offset:3px; }
[data-look="quiet"] .k-tile:is(:hover, :focus-visible, .on) .k-tl { color:var(--q-text); }
[data-look="quiet"] .k-tile.on .k-tl { font-weight:500; }
[data-look="quiet"] .k-tile .k-tv { padding-right:0; }
[data-look="quiet"] .k-tile .k-tv { color:var(--q-text); }   /* (audit r1: a figure is not drawn in green or blue; its meaning is its words) */
@media (pointer:coarse) { [data-look="quiet"] :is(.k-tile, .k-linkbtn, .k-ax) { min-block-size:var(--q-touch); } [data-look="quiet"] .k-linkbtn { display:inline-flex; align-items:center; } }
[data-look="quiet"] .k-arrow { display:none; }
/* Part 2: Today's card and lists are plain content in the gutter: no box, no stripe, no fill; the card's kicker is in the text colour (part 14). */
[data-look="quiet"] :is(.md-card, .md-sec) { padding-inline:0; border:0; border-radius:0; background:var(--q-clear); box-shadow:none; }
[data-look="quiet"] .md-card .md-h { font-size:var(--q-size-title); font-weight:500; }
[data-look="quiet"] .md-card .md-when { color:var(--q-text); }
[data-look="quiet"] .md-card:is([data-state="paused"], [data-state="still"], [data-state="t0off"]) .md-when { color:var(--q-muted); }
html[data-shell="quiet"] #topbar #workBar { background:var(--q-clear); border-top:1px solid var(--q-line); box-shadow:none; padding:.25rem .75rem; }
html[data-shell="quiet"] #topbar #workBar :is(.wb-k, .wb-p) { font-size:var(--q-size-small); font-weight:400; color:var(--q-muted); }
html[data-shell="quiet"] #topbar #workBar .wb-soon { font-size:var(--q-size-small); font-weight:500; color:var(--q-attention); }
html[data-shell="quiet"] #topbar #workBar :is(.wb-t, .wb-c) { font-size:var(--q-size-body); font-weight:500; color:var(--q-text); }
html[data-shell="quiet"] #topbar #workBar .wb-t { display:inline-flex; align-items:center; }
html[data-shell="quiet"] #topbar #workBar .btn { border:1px solid var(--q-edge); border-radius:.375rem; }
/* (audit r2: Ibexx 1-4, Acclivity 1-5, Sturdy Ox 1-3 and 8) the reminder card is Today's only (quiet.js placeReminders): no box, no side stripe, its title at 500; its Start is a
   plain button so the page keeps its one main action; Dismiss is a plain button with a field's edge, not a faint one */
#rHost[data-look="quiet"][data-q-away] { display:none; }
#rHost[data-look="quiet"] .r-card { margin:.5rem auto 0; max-inline-size:calc(46rem + 2 * var(--q-gutter)); padding:.5rem var(--q-gutter); border:0; border-radius:0; background:var(--q-clear); color:var(--q-text); }
#rHost[data-look="quiet"] .r-card .r-text b { font-weight:500; color:var(--q-strong); }
#rHost[data-look="quiet"] .r-card .r-sub { color:var(--q-muted); font-size:var(--q-size-small); }
#rHost[data-look="quiet"] .r-card :is(.btn, .btn.primary, .r-x) { color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem; box-shadow:none; filter:none; font:500 var(--q-size-small)/1.25 var(--font-sans); }
#rHost[data-look="quiet"] .r-card :is(.btn, .r-x):hover { background:var(--q-hover); }
/* (Today's tab, on another page, says how many reminders wait there) */
html[data-shell="quiet"] :is(#viewRow .vbtn, #quietNav .q-nav-label)[data-q-count]::after { content:"\00a0" attr(data-q-count); color:var(--q-muted); }
[data-look="quiet"] :is(.md-h3, .md-sec > .md-meta, .md-line, .md-grp) { padding-inline:0; }
[data-look="quiet"] .md-line:hover { background:var(--q-hover); }
[data-look="quiet"] .md-quick { margin:1rem var(--q-gutter) 0; }
/* Every notice and state line on a quiet page: a dot in its meaning colour and plain words, never a coloured box (part 13). */
[data-look="quiet"] .k-state { gap:.5rem; padding:.25rem 0; color:var(--q-text); font-size:var(--q-size-body); background:var(--q-clear); border:0; border-radius:0; }
[data-look="quiet"] .k-state[data-q-stale-duplicate][hidden] { display:none; }
[data-look="quiet"] .csr-x:is(:hover,:focus-visible) { color:var(--q-text); background:var(--q-hover); }
[data-look="quiet"] .k-state:not(.loading)::before {
  content:""; flex:none; align-self:flex-start; margin-block-start:.45em; inline-size:.4375rem; block-size:.4375rem; border-radius:50%; background:var(--q-neutral);
}
[data-look="quiet"] .k-state:is(.degraded, .nt-attention)::before { background:var(--q-attention); }
[data-look="quiet"] .k-state.nt-fault::before { background:var(--q-fault); }
[data-look="quiet"] .k-state.nt-good::before { background:var(--q-good); }
[data-look="quiet"] .k-notice .k-nx {
  min-height:var(--q-control); margin:0 0 0 auto; padding:0 .625rem; color:var(--q-text); font:500 var(--q-size-small)/1.2 var(--font-sans);
  text-decoration:none; background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem; cursor:pointer;
}
[data-look="quiet"] .k-notice .k-nx:hover { background:var(--q-hover); }
[data-look="quiet"] .k-notice .k-ntext { flex:0 1 auto; }
[data-look="quiet"] .k-notice .k-nx { margin-inline-start:.75rem; }
/* Part 4: adding a person is a quiet button with its word. */
[data-look="quiet"] :is(.ppadd, .ppmore) {
  min-height:var(--q-control); padding:0 .625rem; color:var(--q-text); font:500 var(--q-size-small)/1.2 var(--font-sans);
  background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
[data-look="quiet"] :is(.ppadd, .ppmore):hover { background:var(--q-hover); }
/* Plan E5: a row's rarely used Delete waits in the row's More; its menu opens beside the button, inside the row, so a sliding table never cuts it off. */
[data-look="quiet"] .q-rowmore .q-rowmenu {
  top:-2px; bottom:-2px; left:auto; right:calc(100% + .25rem); flex-wrap:nowrap; align-items:center; padding:0 .25rem;
  background:var(--q-surface); border:1px solid var(--q-line); border-radius:.5rem; box-shadow:var(--q-shadow);
}
[data-look="quiet"] .q-rowmore .q-rowmenu[hidden] { display:none; }
/* Part 16: one main action in the record. Its top row stays in view while the record scrolls, so the bottom copy of Mark complete is not drawn. */
#drawer[data-look="quiet"] #tdDoneFoot { display:none; }
#drawer[data-look="quiet"] .td-acts:has(> :not([hidden])) { position:sticky; top:0; z-index:3; padding-block:.375rem; }
#drawer[data-look="quiet"][data-q-frame="full"] .td-acts:has(> :not([hidden])) { top:calc(var(--q-top-height, 0px) + var(--q-head-h, 0px)); }
/* William's note on the samples: one way to leave a record. The head's Close (in words) is the only one; it stays in view while a full-page record scrolls. */
#drawer[data-look="quiet"] :is(#tdDone2, #edDone) { display:none; }
#drawer[data-look="quiet"] #drawerClose.q-close { width:auto; height:auto; min-height:var(--q-control); padding:0 .75rem; font:500 var(--q-size-small)/1.2 var(--font-sans); }
#drawer[data-look="quiet"][data-q-frame="full"] .drawerhead { position:sticky; top:var(--q-top-height, 0px); z-index:4; background:var(--q-bg); }
/* (filled only while it is stuck over the scrolling record, in the record's own colour) */
#drawer[data-look="quiet"] .td-acts[data-q-stuck] { background:var(--q-surface); box-shadow:0 1px 0 var(--q-line); }
#drawer[data-look="quiet"][data-q-frame="full"] .td-acts[data-q-stuck] { background:var(--q-bg); }
/* Part 4 and 13a: every header button keeps a visible edge at every width (Ramble and Help as Sync). */
html[data-shell="quiet"] #topbar :is(#quietSync, #rambleBtn, #helpBtn, #awayBtn, #hdrCompany) {
  align-items:center; justify-content:center; gap:.375rem; padding:0 .625rem; color:var(--q-text); background:var(--q-clear);
  border:1px solid var(--q-edge); border-radius:.5rem;
}
/* Part 5: a section's views and the space switcher are plain tab rows: a 2 px line under the chosen one with a 17 % tint, the rest plain; never pills. */
html[data-shell="quiet"] :is(#viewRow .vr-views, #topbar #wsSwitch) { gap:.25rem; overflow:visible; background:var(--q-clear); border:0; border-radius:0; }
html[data-shell="quiet"] :is(#viewRow .vbtn, #topbar #wsSwitch button) {
  display:inline-flex; align-items:center; padding:0 .75rem; color:var(--q-text); font-weight:400;
  background:var(--q-clear); border:0; border-bottom:2px solid var(--q-clear); border-radius:.375rem .375rem 0 0;
}
html[data-shell="quiet"] :is(#viewRow .vbtn, #topbar #wsSwitch button):hover { background:var(--q-hover); }
html[data-shell="quiet"][data-q-width="phone"] #viewRow .vbtn { padding-inline:.5rem; }   /* (final audit, rule 4: on a phone a section's first four views fit the row, Company hours, Holidays, Access and Integrations, so none drops out with room left beside the rest) */
html[data-shell="quiet"] :is(#viewRow .vbtn.on, #viewRow .vbtn.q-here, #topbar #wsSwitch button.on),
html[data-shell="quiet"] :is(#viewRow .vbtn.on, #viewRow .vbtn.q-here, #topbar #wsSwitch button.on):hover {
  font-weight:500; color:var(--q-text); background:var(--q-tint); border:0; border-bottom:2px solid var(--q-mark);
}
html[data-shell="quiet"] #topbar #wsSwitch button[hidden] { display:none; }
/* (a loading mark is the muted grey, not the company colour: part 14) */
[data-look="quiet"] .spinner { border-color:var(--q-muted); border-top-color:var(--q-clear); }

/* William's note on the samples: one Enter-to-add line, the same words, look and behaviour on Today and on the List (index.html qAddLineHtml). */
[data-look="quiet"] :is(#mydayAdd, #listQuick):has(> .q-addline) { display:block; margin:.5rem 0; padding-inline:var(--q-gutter); }
[data-look="quiet"] .q-addline { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; max-inline-size:40rem; }
[data-look="quiet"] .q-addline .q-addin {
  flex:1 1 16rem; min-inline-size:0; min-block-size:var(--q-control); padding:0 .625rem; font:400 var(--q-size-body)/1.3 var(--font-sans);
  color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
[data-look="quiet"] .q-addquick { display:inline-flex; align-items:center; gap:.375rem; min-block-size:var(--q-control); font:400 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); cursor:pointer; }
[data-look="quiet"] .q-addquick input { inline-size:1.125rem; block-size:1.125rem; margin:0; cursor:pointer; }
@media (pointer:coarse) { [data-look="quiet"] .q-addquick input { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); } }

/* Batch 1, the rest of the shell. The Working-on bar is part of the top bar's glass: a hairline above it, never a company-colour stripe or a panel of its own;
   its words on the quiet scale (part 17). */
html[data-shell="quiet"] #workBar { background:none; box-shadow:none; border-top:1px solid var(--q-line); padding:.25rem 1rem; }
html[data-shell="quiet"] #workBar :is(.wb-t, .wb-c) { font-size:var(--q-size-body); }
html[data-shell="quiet"] #workBar :is(.wb-k, .wb-p, .wb-soon) { font-size:var(--q-size-small); }
html[data-shell="quiet"] #workBar .wb-pz { border-left-color:var(--q-line); }
/* Batch 1, every record. Its foot is plain buttons on the record's own ground, the last one its one main action (a 24 % tint and a line under, part 16);
   no band behind the foot. A tick box with its words is one target the height of a control (rule 22). Labels and a record's small headings are on the scale. */
#drawer[data-look="quiet"] :is(.dfoot, .drawerfoot) { background:var(--q-clear); border-top-color:var(--q-line); }
#drawer[data-look="quiet"] .drawerfoot button {
  min-height:var(--q-control); padding:0 .875rem; font:500 var(--q-size-small)/1.25 var(--font-sans); cursor:pointer;
  color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#drawer[data-look="quiet"] .drawerfoot button:hover { background:var(--q-hover); }
#drawer[data-look="quiet"] .drawerfoot button:last-child:not(:first-child) { background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
#drawer[data-look="quiet"] .drawerfoot button:last-child:not(:first-child):hover { background:var(--q-main); filter:brightness(1.08); }
[data-look="quiet"] label:has(> input:is([type="checkbox"], [type="radio"])) { display:flex; align-items:center; gap:.5rem; min-block-size:var(--q-control); cursor:pointer; }
[data-look="quiet"] label { font-size:var(--q-size-small); }
[data-look="quiet"] :is(.shopdlbl, .stagelbl) { font-size:var(--q-size-small); font-weight:500; letter-spacing:0; text-transform:none; color:var(--q-muted); }
[data-look="quiet"] .kt-tools .kt-hint { display:none; }
/* New project's phases: chips, the chosen ones tinted with their order number, the edge grey (part 5). */
[data-look="quiet"] .stagechip { display:inline-flex; align-items:center; min-block-size:var(--q-control); padding:0 .75rem; font-size:var(--q-size-small); color:var(--q-text); border:1px solid var(--q-edge); border-radius:.375rem; background:var(--q-clear); }
[data-look="quiet"] .stagechip:hover { color:var(--q-text); border-color:var(--q-edge); background:var(--q-hover); }
[data-look="quiet"] .stagechip.on { color:var(--q-text); background:var(--q-tint); border:1px solid var(--q-edge); font-weight:500; }
[data-look="quiet"] .stagechip.on b { opacity:1; font-size:var(--q-size-small); font-weight:500; margin-inline-end:.375rem; }
[data-look="quiet"] :is(.aiprepbtn, #pStageAdd) { min-block-size:var(--q-control); font-size:var(--q-size-small); cursor:pointer; }
[data-look="quiet"] .t0-line { padding:.5rem 0; border:0; border-bottom:1px solid var(--q-line); border-radius:0; background:var(--q-clear); font-size:var(--q-size-body); }
[data-look="quiet"] .shoptotals { font-size:var(--q-size-small); }
[data-look="quiet"] .shoptotals .grand { font-weight:500; border-top-color:var(--q-line); }
[data-look="quiet"] .ev-lbl { font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] .pchip.off { border:1px solid var(--q-edge); }   /* (audit r3: no dashed rings) */
[data-look="quiet"] .pchip.off:hover { border-color:var(--q-edge); color:var(--q-text); background:var(--q-hover); }
[data-look="quiet"] .stagelbl .hint { display:block; margin-top:2px; font-weight:400; }
[data-look="quiet"] .q-record-mode { white-space:nowrap; }
/* The account menu's and My account's theme choice: three chips, the chosen one tinted, never a filled pill or a box round them (part 5). */
/* (audit r2, Personal 9: the chosen theme was a box with a line under it, and "Light" wrapped alone) the choices share one line and the chosen one is a chosen tab: tint and line */
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg { gap:.25rem; padding:0; border:0; border-radius:0; background:var(--q-clear); flex-wrap:nowrap; }
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button { flex:1 1 0; min-inline-size:0; white-space:nowrap; min-block-size:var(--q-control); padding:0 .625rem; font:400 var(--q-size-small)/1.25 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem; }
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button:hover { background:var(--q-hover); }
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button.on,
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button.on:hover { font-weight:500; color:var(--q-text); background:var(--q-tint); border:0; border-bottom:2px solid var(--q-mark); border-radius:.375rem .375rem 0 0; }
/* (audit r1: the theme and week choices are tabs, not a row of boxes: the chosen one has the tint and its line) */
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button:not(.on) { border-color:var(--q-clear); }
html[data-shell="quiet"] #appMenu .amtheme-l { font-size:var(--q-size-small); color:var(--q-muted); }
/* Batch 1, the shell's menus (the account menu, the phone's More panel, Help): plain lines and words on the scale; the chosen page is the light tint,
   never a company-colour edge; no box round the spaces; Help's items lead with their words, not a picture. */
html[data-shell="quiet"] :is(#appMenu, #navPanel) .amsep { height:0; background:var(--q-clear); border-top:1px solid var(--q-line); }
html[data-shell="quiet"] #navPanel .np-h { font-size:var(--q-size-small); font-weight:500; letter-spacing:0; text-transform:none; color:var(--q-muted); }
html[data-shell="quiet"] #navPanel .np-build { font-size:var(--q-size-small); color:var(--q-muted); }
html[data-shell="quiet"] #navPanel .np-cos { gap:.25rem; padding:0; border:0; border-radius:0; background:var(--q-clear); }
html[data-shell="quiet"] #navPanel .np-cos { flex-direction:column; margin:0; }
html[data-shell="quiet"] #navPanel .np-cos button { flex:none; display:flex; align-items:center; justify-content:flex-start; inline-size:100%; min-block-size:var(--q-control); padding:0 .75rem; border-radius:.5rem; text-align:start; font-size:var(--q-size-body); font-weight:inherit; color:var(--q-text); }   /* (final audit, rule 22: the spaces are menu rows like the rest of the menu, left-aligned, each a full tap high; they sat 30 px tall, one centred. rule 8: 13 px body, not the 16 px button default) */
html[data-shell="quiet"] #navPanel .np-item { border-left-color:var(--q-clear); }
html[data-shell="quiet"] #navPanel .np-item.on { border-left-color:var(--q-clear); background:var(--q-tint); font-weight:500; }
html[data-shell="quiet"] #navPanel .np-cos button.on { background:var(--q-tint); color:var(--q-text); font-weight:500; }
html[data-shell="quiet"] #helpPop .hp-item > span[aria-hidden="true"]:first-child { display:none; }
html[data-shell="quiet"] #helpPop label { cursor:pointer; }
html[data-shell="quiet"] #helpPop #helpQ { min-block-size:var(--q-control); }
/* The List's views (batch 0 page, found by the full house-rules run with the quiet faults): the Everyone chip's edge, a chosen filter option, the phone's cards
   of Unassigned and Captured, and Captured's add line are plain, never a company-colour edge, a fill or a box (parts 2, 5). */
[data-look="quiet"] .pchip.every { border-color:var(--q-edge); font-size:var(--q-size-small); }
[data-look="quiet"] .k-fopt.on { color:var(--q-text); background:var(--q-tint); border-color:var(--q-edge); }
[data-look="quiet"] .a2so-card { background:var(--q-clear); border:0; border-bottom:1px solid var(--q-line); border-radius:0; box-shadow:none; padding-inline:0; }
[data-look="quiet"] .ib-add { background:var(--q-clear); background-image:none; border:0; box-shadow:none; }
[data-look="quiet"] .ib-mic > span[aria-hidden="true"] { display:none; }
/* (1024-1279 px with a mouse: the List's bar keeps its one row with New project beside New task (1.0.166): its words sit a little closer) */
@media (min-width:64em) and (max-width:79.99875em) {
  [data-look="quiet"] .k-viewbar :is(.k-wsb, .k-tab) { padding-inline:.5625rem; }
  [data-look="quiet"] .k-viewbar { column-gap:.5rem; }
}
/* ===== Batch 2: the Calendar (My Work, Projects, Meetings, Shows) ===== */
/* Part 2: no frame or panel round the grid, no shaded columns; the stuck heads take the page's ground. Part 17: every word in the grid on the scale. */
#calView[data-look="quiet"] .cal-frame { border:0; border-radius:0; background:var(--q-clear); margin-inline:var(--q-gutter); }
#calView[data-look="quiet"] :is(.cal-head, .cal-frame #calHead, .cal-frame .month-dow) { background:var(--q-clear); border-color:var(--q-line); }   /* (audit r1: no shaded band of day headings) */
#calView[data-look="quiet"] :is(.daycol, .daycol.off, .mcell, .mcell.other) { background-color:var(--q-clear); border-color:var(--q-line); }
#calView[data-look="quiet"] .mcell:hover { background:var(--q-hover); }
#calView[data-look="quiet"] .cal-head .day { border-left-color:var(--q-line); }
#calView[data-look="quiet"] .cal-frame :is(div, span, b, a, button, h3, small) { font-size:var(--q-size-small); }
#calView[data-look="quiet"] .cal-head .day b { font-size:var(--q-size-body); font-weight:500; }
/* (audit r2, Sturdy Ox 7) today is an ink ring, not a tint of the company colour (1.04:1 on cream): a chosen mark needs 3:1 */
#calView[data-look="quiet"] .cal-head .day.today b { color:var(--q-strong); background:var(--q-clear); box-shadow:inset 0 0 0 1.5px var(--q-strong); font-weight:500; }
#calView[data-look="quiet"] .timecol .hr { color:var(--q-muted); }
/* the now line: a line of the text colour, never a filled band */
#calView[data-look="quiet"] .nowline { height:0; background:var(--q-clear); border-top:2px solid var(--q-text); }
#calView[data-look="quiet"] .nowline::before { background:var(--q-text); }
/* a day's load: a hairline track, planned and done in neutral greys (never the company colour), and a target the height of a control */
#calView[data-look="quiet"] .dmeter { height:.1875rem; background:var(--q-line); }
#calView[data-look="quiet"] .dmeter .dm-c { background:var(--q-muted); }
#calView[data-look="quiet"] .dmeter .dm-p { background:var(--q-edge); }
#calView[data-look="quiet"] .cal-head .day .dm { min-block-size:var(--q-control); display:flex; flex-direction:column; align-items:center; justify-content:center; }
/* blocks: their words readable on their fill (rule 21) */
#calView[data-look="quiet"] .blk .tm { opacity:1; }
/* the Agenda: a day's heading is a line of words, not a band; a row's calendar is its dot, never a coloured side edge; Now is a hairline */
#calView[data-look="quiet"] .csr-day { background:var(--q-clear); border-top-color:var(--q-line); color:var(--q-muted); font-weight:500; }
#calView[data-look="quiet"] .csr-now { border-top:1px solid var(--q-line); color:var(--q-muted); letter-spacing:0; text-transform:none; font-weight:500; }
#calView[data-look="quiet"] .ag-row { border-left:0; border-top-color:var(--q-line); }
#calView[data-look="quiet"] :is(.ag-list, .csr-list) { background:var(--q-clear); border:0; }
/* the Year: today is the light tint, not a company-colour ring */
#calView[data-look="quiet"] .yr-d.today { box-shadow:inset 0 0 0 1.5px var(--q-strong); background:var(--q-clear); color:var(--q-strong); font-weight:500; }
#calView[data-look="quiet"] .yr-mh { min-block-size:var(--q-control); }
/* the Shows calendar's bars: a soft tint like the Week's blocks, never a filled band or an outline round the item (final audit, part 2: Month drew an outlined pill, Week a soft card) */
#calView[data-look="quiet"] .mbar.mine { color:var(--q-text); background:color-mix(in oklab, var(--q-surface) 80%, var(--event) 20%); border:0; }
#calView[data-look="quiet"] .mbar.out { color:var(--q-text); background:var(--q-surface); border:0; }
/* Month: a chip is a target the height of a control (rule 22); a week grows to hold its chips */
#calView[data-look="quiet"] .mchip { min-block-size:max(24px, 1.5rem); display:flex; align-items:center; }
#calView[data-look="quiet"] .month-cells { grid-auto-rows:minmax(7rem, auto); }
@media (pointer:coarse) { #calView[data-look="quiet"] .mchip { min-block-size:var(--q-touch); } }
/* (William 2026-11-26, a tablet's Week: a 15- and 30-minute block grown to a finger's height covered the block after it and lost its time) a block stays as tall as its time and never
   covers the next one; on touch its press area (calHitAreas, .blk-hit) grows to 44 px only into free time around it, as the time grid always did */
/* a phone's Week: the grid goes edge to edge with a narrow time column, so each day's blocks are 44 px wide */
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-frame{ margin-inline:0; }
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-frame:not(.tz2){ --tcw:2.875rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] .blk{ left:1px; right:1px; }
/* (batch 2, the calendar's hour lines are drawn under the day, not as the day column's own background: a column is never a filled band) */
#calView[data-look="quiet"] .daycol { background-image:none; }
#calView[data-look="quiet"] .daycol::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(to bottom, var(--q-line) 1px, var(--q-clear) 1px); background-size:100% 4rem; }
#calView[data-look="quiet"] .daycol.hol::before { background-image:linear-gradient(to bottom, var(--q-line) 1px, var(--q-clear) 1px); }
#calView[data-look="quiet"] .yr-mh { min-inline-size:var(--q-control); }
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-head .day{ padding-inline:0; }
html[data-q-width="phone"] #calView[data-look="quiet"] .blk[style*="left:calc(0% + 3px);width:calc(100% - 6px)"]{ left:1px !important; width:calc(100% - 2px) !important; }
#calView[data-look="quiet"] #calKit .k-tv { font-size:var(--q-size-figure); }
#calView[data-look="quiet"] #calKit .k-tl { font-size:var(--q-size-small); }
/* Batch 2: a dialog on a quiet page (the Calendar's quick add first). Its sheet is the shell's glass with a hairline; head and foot are plain lines; the chosen kind
   is the light tint; Cancel is a plain button and the one main action (.donebtn) is the 24 % tint with a line under; every control the height of a control. */
.modal[data-look="quiet"] .sheet { color:var(--q-text); background:var(--q-surface); border:1px solid var(--q-line); box-shadow:var(--q-shadow); }
.modal[data-look="quiet"] :is(.sheethead, .sheetfoot) { border-color:var(--q-line); }
.modal[data-look="quiet"] .sheethead { font-size:var(--q-size-body); font-weight:500; }
/* Batch 5: a Personal space's box of who can open it is a plain section with a title-size heading */
[data-look="quiet"] .spacebox .sb-card { background:var(--q-clear); border:0; border-radius:0; padding:0; box-shadow:none; }
[data-look="quiet"] .spacebox .sb-head h3 { font-size:var(--q-size-title); font-weight:500; }
/* Batch 5: Access's find line is a plain line, a role is a table-size word, and Ramble's Save and Talk are a thumb wide on a touch screen */
[data-look="quiet"] .ac-find { background:var(--q-clear); border:0; box-shadow:none; padding:0; margin-inline:var(--q-gutter); }   /* (audit r2: Ibexx 17, Acclivity 16, Sturdy Ox 11: in the gutter) */
[data-look="quiet"] .rolebadge { font-size:var(--q-size-small); }
@media (pointer:coarse) {
  .modal[data-look="quiet"] :is(#rbSort, #rbMic) { min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
}
/* Batch 5: a tick or a choice in a dialog is its own size, never stretched across the line, and at least 24 px to press (rule 22) */
.modal[data-look="quiet"] :is(input[type="checkbox"], input[type="radio"]) { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); min-inline-size:max(24px, 1.5rem); flex:none; margin:0; }
/* (page audit, judges 11, 12, 16: "Email an invite", "Repair schedule", "Show refused attempts", Rebuild and Short task were 13-18 px boxes) every tick box and choice on a quiet page is 24 px, as in a dialog */
[data-look="quiet"] :is(input[type="checkbox"], input[type="radio"]):not([hidden]) { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); min-inline-size:max(24px, 1.5rem); flex:none; margin-block:0; }
/* (page audit, judge 18: "Lay out every step" was a bare blue link on the dark card) it is a quiet text link in ink, as every quiet link */
[data-look="quiet"] a.pjr-quiet { color:var(--q-text); font-size:var(--q-size-small); text-decoration:underline; text-underline-offset:.2em; }
.modal[data-look="quiet"] :is(.sheetfoot button, .quicktype button, .sheethead button) {
  min-block-size:var(--q-control); min-inline-size:var(--q-control); font:500 var(--q-size-small)/1.25 var(--font-sans); cursor:pointer;
  color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
.modal[data-look="quiet"] :is(.sheetfoot button, .quicktype button, .sheethead button):hover { background:var(--q-hover); }
.modal[data-look="quiet"] .sheetfoot :is(.btn.danger, .k-ibtn.danger) { border-color:var(--q-fault); color:var(--q-fault); }   /* (final audit, rule 9 G: a confirm step's yes that cannot be undone, such as Restore this backup, keeps its red outline; the plain footer look above had made it the safe twin of Cancel) */
/* (audit r1 A7: Meeting, Task and Time off are tabs: no box, the chosen one has the tab's tint and line) */
.modal[data-look="quiet"] .quicktype { gap:.25rem; }
.modal[data-look="quiet"] .quicktype button { flex:none; padding:0 .75rem; font:400 var(--q-size-small)/1.25 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:0; border-bottom:2px solid var(--q-clear); border-radius:.375rem .375rem 0 0; }
.modal[data-look="quiet"] .quicktype button.on { font-weight:500; background:var(--q-tint); border:0; border-bottom:2px solid var(--q-mark); color:var(--q-text); }
/* (audit r1 A10: one Cancel, the head's) */
.modal[data-look="quiet"] #quickCancel { display:none; }
.modal[data-look="quiet"] .sheetfoot :is(.donebtn, [data-team-import], #mpAdd:enabled) { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
.modal[data-look="quiet"] .sheetfoot :is(.donebtn, [data-team-import], #mpAdd:enabled):hover { background:var(--q-main); filter:brightness(1.08); }
.modal[data-look="quiet"] .linkbtn { min-block-size:var(--q-control); display:inline-flex; align-items:center; font-size:var(--q-size-small); color:var(--q-text) !important; }
.modal[data-look="quiet"] :is(input:not([type="checkbox"], [type="radio"]), select, textarea) { min-block-size:var(--q-control); font-size:var(--q-size-body) !important; }
.modal[data-look="quiet"] :is(.hint, label, .pchip) { font-size:var(--q-size-small) !important; }
.modal[data-look="quiet"] .inv-morebtn { min-block-size:var(--q-control); }/* Batch 2: the Board and the Projects board. A column is a plain list under its heading line (its word and its count say what it holds: no coloured edge, no box);
   a card is a row with a hairline below it; the open card is the light tint; the people circles are 44 px on touch; Add task is a quiet button with its word. */
[data-look="quiet"] .kbcols { gap:var(--q-gutter); }
[data-look="quiet"] .kbcol { background:var(--q-clear); border:0; border-radius:0; box-shadow:none; }
[data-look="quiet"] .kbhead {
  display:flex; align-items:center; gap:.5rem; min-block-size:calc(var(--q-control) + .5rem); padding:.25rem 0; border-radius:0; border-bottom:1px solid var(--q-line);
  color:var(--q-text) !important; background:var(--q-clear); font-size:var(--q-size-body); font-weight:500;
}
[data-look="quiet"] .kbhead[data-q-stuck] { background:var(--q-bg); }
[data-look="quiet"] .kb-folded .kbhead { flex-direction:column; }
[data-look="quiet"] .kbcount { color:var(--q-muted); font-size:var(--q-size-small); font-weight:400; }
[data-look="quiet"] :is(.kbdrop, .pkdrop) { padding:0; gap:0; }
[data-look="quiet"] :is(.kbcard, .pjcard) { background:var(--q-clear); border:0; border-bottom:1px solid var(--q-line); border-radius:0; box-shadow:none; padding:.625rem .25rem; transform:none; }
[data-look="quiet"] :is(.kbcard, .pjcard):hover { background:var(--q-hover); }
[data-look="quiet"] :is(.kbcard, .pjcard).k-open { background:var(--q-tint); }
[data-look="quiet"] :is(.kbdrop, .pkdrop).over { background:var(--q-hover); }
[data-look="quiet"] .kbcard-t { font-size:var(--q-size-body); font-weight:500; }
[data-look="quiet"] :is(.kbcard-m, .kbproj, .kbdue, .pjcard-stage, .pjcard-meta) { font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] .pjcard-name { font-size:var(--q-size-body); font-weight:500; }
[data-look="quiet"] .kbempty { color:var(--q-muted); font-size:var(--q-size-small); padding:.75rem .25rem; text-align:start; }
[data-look="quiet"] :is(.kbadd, .kbfold) {
  min-block-size:var(--q-control); padding:0 .625rem; color:var(--q-text); font:500 var(--q-size-small)/1.2 var(--font-sans); cursor:pointer;
  background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
[data-look="quiet"] .kbadd { margin:.5rem 0 0; align-self:flex-start; }
[data-look="quiet"] :is(.kbadd, .kbfold):hover { background:var(--q-hover); border-color:var(--q-edge); color:var(--q-text); }
[data-look="quiet"] .pjv-bar { block-size:.25rem; background:var(--q-line); margin-block:.375rem .5rem; }
[data-look="quiet"] .pjv-bar i { background:var(--q-muted) !important; }
@media (pointer:coarse) { [data-look="quiet"] :is(.kbcard-a, .pjcard-people) .pchip { min-inline-size:var(--q-touch); min-block-size:var(--q-touch); } }
/* Batch 2: My hours. The day ticks are plain tick boxes with their words; the week's bars are a chart (data-q-chart: its stretches are the data, drawn without a frame);
   a form for dates off is a plain group under its line. */
#hoursView[data-look="quiet"] .hrs-dtick { background:var(--q-clear); border:0; border-radius:.375rem; padding-inline:.375rem; min-block-size:var(--q-control); font-weight:400; }
#hoursView[data-look="quiet"] .hrs-dtick.on { background:var(--q-clear); font-weight:500; }
#hoursView[data-look="quiet"] .hrs-dtick:hover { background:var(--q-hover); }
#hoursView[data-look="quiet"] .hrs-dtick input { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); accent-color:var(--q-text); }   /* (audit 15 round 6: 24 px like every other tick box) */
#hoursView[data-look="quiet"] .hrs-bar { border:0; border-radius:.25rem; background:var(--q-clear); }
#hoursView[data-look="quiet"] .hrs-row:is(:hover, :focus-visible) .hrs-bar { outline:1px solid var(--q-edge); }
#hoursView[data-look="quiet"] .hrs-offform { background:var(--q-clear); border:0; border-radius:0; padding:.5rem 0; }
#hoursView[data-look="quiet"] :is(.hrs-dline, .hrs-h3) { border-color:var(--q-line); }
#hoursView[data-look="quiet"] :is(.hrs-legend, .hrs-ticks, .hrs-dcd) { font-size:var(--q-size-small); color:var(--q-muted); }
#hoursView[data-look="quiet"] :is(.hrs-dn, .hrs-dline) { font-size:var(--q-size-body); }
#hoursView[data-look="quiet"] .hint { max-inline-size:37.5em; }
[data-look="quiet"] :is(input[type="checkbox"], input[type="radio"]) { accent-color:var(--q-text); }
#hoursView[data-look="quiet"] .blk-mine { margin-block-start:1rem; }
#hoursView[data-look="quiet"] .hrs-mhead b { font-size:var(--q-size-body); font-weight:500; }
.modal[data-look="quiet"] #acctName { font-size:var(--q-size-title) !important; font-weight:500 !important; }
/* Batch 3: a project. The bar keeps Put on hold and Hide for me together; the rarely used actions are in the page's one More. Owners, Members, Repair orders,
   Rough plan and Attachments are plain lines (their word, then their people or files); a phase is a heading line, then its labelled fields in a wrapping strip
   (Starts, Start date, Duration, Target date, Owner) with its More (Up, Down, Rename, Assign group); every control the height of a control. */
#projectView[data-look="quiet"] :is(.pjv-lead, .pjv-docs, .pjv-rough) { display:flex; flex-wrap:wrap; align-items:center; gap:.375rem .625rem; padding:.375rem 0; background:var(--q-clear); border:0; border-radius:0; border-bottom:1px solid var(--q-line); font-size:var(--q-size-body); }
#projectView[data-look="quiet"] :is(.pjv-lead, .pjv-docs, .pjv-rough) > b { font-weight:500; min-inline-size:8rem; font-size:var(--q-size-body); }
#projectView[data-look="quiet"] .pjdocup {
  display:inline-flex; align-items:center; min-block-size:var(--q-control); padding:0 .625rem; cursor:pointer;
  color:var(--q-text); font:500 var(--q-size-small)/1.2 var(--font-sans); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#projectView[data-look="quiet"] .pjdocup:hover { background:var(--q-hover); }
#projectView[data-look="quiet"] .pjv-bar { margin-block:.25rem .625rem; }
#projectView[data-look="quiet"] .pjv-head .dot { inline-size:.625rem !important; block-size:.625rem !important; }
#projectView[data-look="quiet"] .pjstage { margin-block-start:1rem; }
#projectView[data-look="quiet"] .pjstage-h {
  display:flex; flex-wrap:wrap; align-items:center; gap:.375rem .625rem; padding:.375rem 0; background:var(--q-clear); border:0; border-radius:0;
  border-bottom:1px solid var(--q-line); color:var(--q-text); font-size:var(--q-size-body);
}
#projectView[data-look="quiet"] .pjstage-h.late { color:var(--q-text); border-color:var(--q-line); }
#projectView[data-look="quiet"] .pjstage-t { font-weight:500; font-size:var(--q-size-body); }
#projectView[data-look="quiet"] .pjstage-ctl { display:flex; flex-wrap:wrap; align-items:center; gap:.375rem .75rem; flex-basis:100%; }
#projectView[data-look="quiet"] .stagecal { display:inline-flex; align-items:center; gap:.375rem; padding:0; background:var(--q-clear); border:0; color:var(--q-muted); font-size:var(--q-size-small); }
#projectView[data-look="quiet"] :is(.stageSpan, .stageTgt, .stageStart, .stageStarts, .stageGrp, .stageLead) {
  min-block-size:var(--q-control); font-size:var(--q-size-small) !important; padding:0 .5rem; color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#projectView[data-look="quiet"] .stageSpan { inline-size:4.5em; }
#projectView[data-look="quiet"] .leadchip { background:var(--q-clear); color:var(--q-muted); font-size:var(--q-size-small); padding:0; }
#projectView[data-look="quiet"] .pjt-move {
  min-block-size:var(--q-control); padding:0 .5rem; font:500 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#projectView[data-look="quiet"] :is(.pjaddbtn, .pjaddx, .pjaddgo) {
  min-block-size:var(--q-control); padding:0 .625rem; margin-block:.5rem 0; cursor:pointer; color:var(--q-text); font:500 var(--q-size-small)/1.2 var(--font-sans);
  background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#projectView[data-look="quiet"] :is(.pjaddbtn, .pjaddx, .pjaddgo):hover { background:var(--q-hover); }
#projectView[data-look="quiet"] .pjaddphase-top { margin-block:.5rem; }
#projectView[data-look="quiet"] .k-none { color:var(--q-muted); }
#projectView[data-look="quiet"] .pjv-hidden { font-size:var(--q-size-small); color:var(--q-muted); }
@media (pointer:coarse) {
  [data-look="quiet"] .ktable td.k-who .pchip, #projectView[data-look="quiet"] .pjv-lead .pchip { min-inline-size:var(--q-touch); min-block-size:var(--q-touch); }
  #projectView[data-look="quiet"] :is(.pjt-move, .pjaddbtn, .pjdocup) { min-block-size:var(--q-touch); }
}
/* Batch 3: All projects. The tree is plain rows under its heading (no box); counts and row buttons at the small size, the buttons words (Hold, Close,
   Edit, Remove, Reopen) the height of a control, always shown on a touch screen. */
#projectView[data-look="quiet"] #pjList { border:0; border-radius:0; padding:0; background:var(--q-clear); max-width:none; }   /* (audit r1: the list uses the page's width) */
#projectView[data-look="quiet"] #pjList .troot .dot { background:var(--q-text) !important; }
/* Quick notes: plain rows, no company-colour edge or thumb */
#projectView[data-look="quiet"] .notecard { border:0 !important; border-block-end:1px solid var(--q-line) !important; border-radius:0; background:var(--q-clear); box-shadow:none; }
#projectView[data-look="quiet"] .notecard input[type="range"] { accent-color:var(--q-text); }
#projectView[data-look="quiet"] #pjList :is(.troot, .trow) { font-size:var(--q-size-body); font-weight:400; color:var(--q-text); border-radius:.375rem; }
#projectView[data-look="quiet"] #pjList .troot { font-weight:500; border-bottom:1px solid var(--q-line); border-radius:0; }
#projectView[data-look="quiet"] #pjList :is(.troot, .trow):hover { background:var(--q-hover); }
#projectView[data-look="quiet"] #pjList :is(.troot, .trow).sel { background:var(--q-tint); color:var(--q-text); }
#projectView[data-look="quiet"] #pjList :is(.troot.folder, .trow.closed .tname, .car, .tclosed) { color:var(--q-muted); }
#projectView[data-look="quiet"] #pjList .tname { font-weight:400; }
#projectView[data-look="quiet"] #pjList :is(.tcount, .tclosed) { font-size:var(--q-size-small); font-weight:400; color:var(--q-muted); }
#projectView[data-look="quiet"] #pjList .tstage { font-size:var(--q-size-small); color:var(--q-muted); }
#projectView[data-look="quiet"] #pjList .tstage.late { color:var(--q-text); font-weight:400; }
#projectView[data-look="quiet"] #pjList .trow .pchip.lead { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); font-size:var(--q-size-small); }
#projectView[data-look="quiet"] #pjList .trow .pj-mem.pj-more { font-size:var(--q-size-small); }
#projectView[data-look="quiet"] #pjList :is(.trow, .troot) :is(.hold, .cl, .ed, .x, .reopen) {
  min-block-size:var(--q-control); padding:0 .5rem; font:500 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem;
}
#projectView[data-look="quiet"] #pjList :is(.trow, .troot) :is(.hold, .cl, .ed, .x, .reopen):hover { background:var(--q-hover); }
#projectView[data-look="quiet"] .pj-noteshead h2 { font-weight:500; }
html[data-q-width="phone"] #projectView[data-look="quiet"] #pjList .trow{ flex-wrap:wrap; row-gap:.25rem; }
html[data-q-width="phone"] #projectView[data-look="quiet"] #pjList .trow .tname{ flex:1 1 60%; }
@media (hover:none), (pointer:coarse) {
  #projectView[data-look="quiet"] #pjList .trow :is(.hold, .cl, .ed, .x, .reopen) { opacity:1; }
}
@media (pointer:coarse) {
  #projectView[data-look="quiet"] #pjList :is(.trow, .troot) :is(.hold, .cl, .ed, .x, .reopen) { min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
  #projectView[data-look="quiet"] #pjList .trow .pchip.lead { min-inline-size:var(--q-touch); min-block-size:var(--q-touch); }
}

/* Batch 3: Timeline. The chart sits on the page (no box, no striped names); the names column keeps the page colour so bars slide under it. */
#timelineView[data-look="quiet"] #timelineBody { border:0; border-radius:0; background:var(--q-clear); margin-inline:var(--q-gutter); }
#timelineView[data-look="quiet"] .gantt :is(.ghead, .gname) { background:var(--q-bg); }
#timelineView[data-look="quiet"] .gantt .grow .gname { background:var(--q-bg); }
#timelineView[data-look="quiet"] .gantt .grow .gtrack { background:var(--q-clear); }
#timelineView[data-look="quiet"] .gantt .grow:hover :is(.gname, .gtrack) { background:var(--q-hover); }
#timelineView[data-look="quiet"] .gantt :is(.ghead, .grow) { border-color:var(--q-line); }
#timelineView[data-look="quiet"] .gantt .gname { font-weight:400; border-color:var(--q-line); }
#timelineView[data-look="quiet"] .ghcorner { font-size:var(--q-size-small); text-transform:none; letter-spacing:0; color:var(--q-muted); }
#timelineView[data-look="quiet"] .gseg { box-shadow:none; }
/* The zoom (Weeks, Months, Quarters) is a row of quiet tabs: no box, the chosen one tinted with a line under it; the slider is in the text colour. */
#timelineView[data-look="quiet"] .tl-seg { border:0; border-radius:0; overflow:visible; gap:.25rem; }
#timelineView[data-look="quiet"] .tl-segb {
  min-block-size:var(--q-control); padding:0 .75rem; font:400 var(--q-size-small)/1.25 var(--font-sans); color:var(--q-text);
  background:var(--q-clear); border:0; border-bottom:2px solid var(--q-clear); border-radius:.375rem .375rem 0 0;
}
#timelineView[data-look="quiet"] .tl-segb:hover { background:var(--q-hover); }
#timelineView[data-look="quiet"] .tl-segb[aria-pressed="true"],
#timelineView[data-look="quiet"] .tl-segb[aria-pressed="true"]:hover { font-weight:500; color:var(--q-text); background:var(--q-tint); border-bottom-color:var(--q-text); }
#timelineView[data-look="quiet"] .tl-zrange { accent-color:var(--q-text); }
@media (pointer:coarse) { #timelineView[data-look="quiet"] .tl-segb { min-block-size:var(--q-touch); } }

/* Batch 3: Time. The date range is two labelled days; a figure is a quiet button that opens its working. */
[data-look="quiet"] .k-fresh { font-size:var(--q-size-small); }
#timeView[data-look="quiet"] .tm-date { display:inline-flex; align-items:center; gap:.375rem; font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] td.num .figure-number { color:var(--q-text); padding-inline:0; }
/* Batch 4: Operations. Production and the unscheduled repair jobs are plain tables; the repair schedule's days are open cells on hairlines (today a tint,
   a closed day muted words, a full day its count in the attention colour), its jobs rows with a hairline, a running timer a dot before the number. */
#shopView[data-look="quiet"] .shopcal { gap:0; border-block-start:1px solid var(--q-line); }
#shopView[data-look="quiet"] .shopdow { font-size:var(--q-size-small); color:var(--q-muted); padding-block:.375rem; }
#shopView[data-look="quiet"] .shopcell { background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0; padding:.375rem; font-size:var(--q-size-small); }
#shopView[data-look="quiet"] .shopcell.wknd { background:var(--q-clear); color:var(--q-muted); }
#shopView[data-look="quiet"] .shopcell.today { outline:0; background:var(--q-hover); box-shadow:none; }   /* (page audit round 3: today is a gentle neutral tint and its date at 500, part 5; no hard outline) */
#shopView[data-look="quiet"] .shopcell.today .shopdate { color:var(--q-text); font-weight:500; }
/* (page audit round 3, judge 10: "Open" ran over into the next day and the customer was cut to nothing) a job's words wrap inside its day: number and customer, then hours and Open */
#shopView[data-look="quiet"] .shopchip { flex-wrap:wrap; column-gap:.375rem; row-gap:2px; line-height:1.3; }
#shopView[data-look="quiet"] .shopwho { flex:1 1 4.5em; min-inline-size:4.5em; }
#shopView[data-look="quiet"] .shopgo { margin-inline-start:0; }
#shopView[data-look="quiet"] .k-state { flex-wrap:wrap; }
#shopView[data-look="quiet"] .shopcell.full { background:var(--q-clear); }
#shopView[data-look="quiet"] .shopcell.droppable:hover { background:var(--q-hover); }
#shopView[data-look="quiet"] .shopdate { font-size:var(--q-size-small); color:var(--q-muted); }
#shopView[data-look="quiet"] .shopcount.over { color:var(--q-attention); font-weight:500; }
#shopView[data-look="quiet"] .shopchip { background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0; padding:.25rem 0; box-shadow:none; min-block-size:var(--q-control); }
#shopView[data-look="quiet"] .shopchip:hover { background:var(--q-hover); }
#shopView[data-look="quiet"] :is(.shopchip.sel, .shopchip.k-open) { background:var(--q-tint); box-shadow:none; }
#shopView[data-look="quiet"] .shopchip.live { border-inline-start:0; }
#shopView[data-look="quiet"] .shoptime { font-size:var(--q-size-small); color:var(--q-muted); }
#shopView[data-look="quiet"] .shoptime.live { color:var(--q-text); font-weight:500; }
#shopView[data-look="quiet"] .shopro { font-weight:500; }
#shopView[data-look="quiet"] .shophrs { background:var(--q-clear); text-decoration:none; border:1px solid var(--q-edge); border-radius:.375rem; padding-inline:.375rem; margin-inline-start:0; }   /* (a button has a shape, part 4 note; Open stays an underlined link) */
#shopView[data-look="quiet"] .shophrs:hover { background:var(--q-hover); }
#shopView[data-look="quiet"] .shopgo { color:var(--q-text); text-decoration:underline; text-underline-offset:3px; }
#shopView[data-look="quiet"] :is(.shophrs, .shopgo) { display:inline-flex; align-items:center; min-block-size:max(24px, 1.5rem); min-inline-size:max(24px, 1.5rem); }
@media (pointer:coarse) {
  #shopView[data-look="quiet"] :is(.shophrs, .shopgo) { display:inline-flex; align-items:center; min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
}

/* Batch 4: Team. A group is a heading line (its name, its count, then Add to group and Delete group as quiet buttons); the People rows' email is muted
   text, not a hint; Workload and At risk bars are grey meters; a person over their room says so in words, never colour alone. */
#teamView[data-look="quiet"] #peopleList .teamhead { font-size:var(--q-size-body); font-weight:500; border-block-end:1px solid var(--q-line); padding-block-end:.375rem; }
#teamView[data-look="quiet"] #peopleList .teamhead .tcount { font-size:var(--q-size-small); color:var(--q-muted); }
#teamView[data-look="quiet"] #peopleList .teamhead .gname { display:inline-flex; align-items:baseline; gap:.375rem; min-inline-size:0; }
#teamView[data-look="quiet"] #peopleList .teamhead .gname-label { overflow:hidden; text-overflow:ellipsis; }
#teamView[data-look="quiet"] #peopleList .teamhead .gname .tcount { flex:none; }
[data-look="quiet"] .teamgroup { border-inline-start:0; padding-inline-start:0; }
[data-look="quiet"] .tm-gacts .k-ibtn { min-block-size:var(--q-control); }
[data-look="quiet"] :is(.tp-email, .mt-until, .ar-where, .t0-extra, .t0-reason) { color:var(--q-muted); }
[data-look="quiet"] .k-over { color:var(--q-text); font-weight:500; }
[data-look="quiet"] :is(.wlbar, .arbar) { background:var(--q-line); border-radius:2px; }
[data-look="quiet"] .wlbar .seg.done { background:var(--q-text); }
[data-look="quiet"] .wlbar .seg.doing { background:var(--q-edge); opacity:.45; }   /* (audit r1, Sturdy Ox 35: at 0 % done the bar showed a dark stub; working is a pale part, done the one dark part) */
[data-look="quiet"] .wlbar .seg.todo { background:var(--q-line); }
[data-look="quiet"] .arbar i.fine { background:var(--q-muted); }
[data-look="quiet"] .arbar i:is(.tight, .over) { background:var(--q-attention); }
[data-look="quiet"] .wl-rough { border:0; border-radius:0; padding:0; font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] :is(.t0-h2, .ar-h2) { font-size:var(--q-size-title); font-weight:500; color:var(--q-text); }
[data-look="quiet"] .t0-card { background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0; padding:.625rem 0; }
[data-look="quiet"] .t0-card .t0-who { font-weight:500; }
[data-look="quiet"] .t0-card :is(.t0-when, .t0-why) { color:var(--q-muted); font-size:var(--q-size-small); }

/* Batch 6: the front door. Sign in, No access, Join, Reset password, Connect Claude (/link) and Claude's consent card are full pages before the app, so no one is
   signed in and the standard sizes apply (17 px title, 13 px words, 12 px chips); they take the quiet colours, a plain card, words of one size, and targets
   24 px with a mouse and 44 px on a touch screen. */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) { color:var(--q-text); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard { background:var(--q-surface); border:1px solid var(--q-line); border-radius:.875rem; box-shadow:none; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard :is(div, p, span, a, b, label, input, button, li, dt, dd, h3, strong, em) { font-size:.8125rem !important; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard h2 { font-size:1.0625rem; font-weight:500; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard .testpill { font-size:.75rem !important; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .hint { color:var(--q-muted); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) a.hint { display:inline-flex; align-items:center; min-block-size:max(24px, 1.5rem); color:var(--q-text) !important; text-decoration:underline !important; text-underline-offset:3px; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(input:not([type="checkbox"]), button, .btn) { min-block-size:max(24px, 1.5rem); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) input[type="checkbox"] { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); min-inline-size:max(24px, 1.5rem); flex:none; margin:0; accent-color:var(--q-text); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(button, .btn) { color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-line); border-radius:.5rem; box-shadow:none; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(button, .btn):hover { background:var(--q-hover); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(button.primary, .btn.primary) { background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(.lk-card, .lk-key) { background:var(--q-clear); }
html[data-shell="quiet"] #linkGate .lk-codelab { cursor:pointer; }
html[data-shell="quiet"] #linkGate .lk-code { font-weight:500; }
@media (pointer:coarse) {
  html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(input:not([type="checkbox"]), button, .btn, a.hint) { min-block-size:var(--q-touch); }
  html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) label:has(input[type="checkbox"]) { min-block-size:var(--q-touch); align-items:center; }
}/* Batch 6: Ramble's launch screen (/ramble): the quiet colours, words of one size, the link a plain underlined word */
html[data-shell="quiet"] #captureHome { color:var(--q-text); }
html[data-shell="quiet"] #captureHome h2 { font-size:1.0625rem; font-weight:500; }
html[data-shell="quiet"] #captureHome :is(.caphome-status, .caphome-list, .caphome-open) { font-size:.8125rem; font-weight:400; color:var(--q-muted); }
html[data-shell="quiet"] #captureHome .caphome-open { display:inline-flex; align-items:center; min-block-size:var(--q-control); color:var(--q-text); text-decoration:underline; text-underline-offset:3px; }
html[data-shell="quiet"] #captureHome .caphome-btn.donebtn { min-block-size:var(--q-control); color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
html[data-shell="quiet"] #captureHome .caphome-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.625rem 1rem; margin-block-start:1rem; }
html[data-shell="quiet"] #captureHome .caphome-actions > * { margin:0; }
/* Result audit: the quiet type has two weights, 400 and 500 (rule 25 part 17); every heavier word on a quiet page, the quiet shell and the front door is 500 */
:is([data-look="quiet"], html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel, #vaFab, #loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate, #captureHome)) :is(#lgCreate, #pStageAdd, .a2so-t, .acct-badge, .aiprepbtn, .aix-sub, .al-h, .buildtag, .cal-range, .cm1head, .cpy-count, .cpy-h, .csr-title, .dn, .donebtn, .e3a-tag, .glab, .gname, .gtk-t, .hrs-dco, .hrs-dn, .hrs-seg, .k-fopt, .k-muted, .k-rowlink, .k-title, .k-vh, .lk-codelab, .loc-nm, .lv-nw, .mbar, .md-when, .ownerchk, .pchip, .pc-tag, .primary, .rbmic, .rolebadge, .rp-t, .set-sub, .stagecal, .t, .tdcl-go, .tdcl-h, .tdlbl, .td-pjgo-w, .tdupload, .va-opt, .wl-name, .yr-mh, [style*="font-weight: 6"], [style*="font-weight: 7"], [style*="font-weight:6"], [style*="font-weight:7"], b, button, dt, h1, h2, h3, h4, h5, h6, label, legend, strong, summary, th) { font-weight:500 !important; }

/* Result audit, round 1 (.context/audit/brief.md's fail list) */
/* a calendar block or month chip is a soft tint of its person's or project's colour with the text colour on it, never a filled colour */
[data-look="quiet"] :is(.blk, .mchip)[style*="--bc"] { background:color-mix(in oklab, var(--q-surface) 80%, var(--bc) 20%) !important; color:var(--q-text) !important; }
[data-look="quiet"] :is(.blk, .mchip)[style*="--bc"] :is(.t, .tm, .tick, .pc-tag) { color:var(--q-text); }
/* Time off on the calendar: a dashed outline, no fill and no side stripe */
[data-look="quiet"] :is(.t0-band, .t0-row) { background:var(--q-clear) !important; border:1px dashed var(--q-edge); border-radius:.375rem; }
/* a section heading in a record has no rule under it */
[data-look="quiet"] .td-sech { border-bottom:0; padding-bottom:0; }
/* a dialog's main button (Ramble's Save) is the soft main tint with its line, never a filled colour */
.modal[data-look="quiet"] .donebtn { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
/* the front door covers the app: the header behind it is not shown */
html[data-shell="quiet"][data-q-gate] :is(#topbar, #viewRow, #quietNav, #vaFab) { visibility:hidden; }
/* with a mouse every control is at least 32 px (rule 25: buttons are 32 px tall with a mouse); a tick keeps its small circle in a 32 px target */
@media (pointer:fine) {
  :is([data-look="quiet"], html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel, #loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate)) :is(button:not(.blk *, .mchip *), [role="button"]:not(.blk, .mchip, .blk *), [role="tab"], [role="switch"], [role="menuitem"], [role="option"], select, summary, input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="range"])) { min-block-size:var(--q-mouse); }
  :is([data-look="quiet"], html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel)) :is(button:not(.blk *, .mchip *), [role="button"]:not(.blk, .mchip, .blk *)) { min-inline-size:var(--q-mouse); }
  [data-look="quiet"] .figure-number { display:inline-flex; align-items:center; justify-content:center; }
  [data-look="quiet"] .tick:not(.blk *) { inline-size:var(--q-mouse); block-size:var(--q-mouse); margin-block:-.375rem; }
  [data-look="quiet"] .mchip { min-block-size:var(--q-mouse) !important; }
  [data-look="quiet"] a:is(.shopgo, #acctCalOpen) { display:inline-flex; align-items:center; min-block-size:var(--q-mouse); }
  :is([data-look="quiet"], html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate)) label:has(> input:is([type="checkbox"], [type="radio"])) { min-block-size:var(--q-mouse); }
  :is([data-look="quiet"], html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate)) a.hint { min-block-size:var(--q-mouse); }
  /* a tick box on its own (a table's choose-row column) is a 32 px target with the box drawn in its middle */
  [data-look="quiet"] input[type="checkbox"]:not(label input) {
    appearance:none !important; -webkit-appearance:none !important; inline-size:var(--q-mouse) !important; block-size:var(--q-mouse) !important; min-inline-size:var(--q-mouse); margin:0; border:0; border-radius:.375rem; background:var(--q-edge); cursor:pointer; vertical-align:middle;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='8.75' y='8.75' width='14.5' height='14.5' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='8.75' y='8.75' width='14.5' height='14.5' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):is(:checked, :indeterminate) { background:var(--q-text); }
  [data-look="quiet"] input[type="checkbox"]:not(label input):checked {
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1.6 7.4l-1.2 1.2 3.4 3.4 6.4-6.4-1.2-1.2-5.2 5.2z'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1.6 7.4l-1.2 1.2 3.4 3.4 6.4-6.4-1.2-1.2-5.2 5.2z'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):indeterminate:not(:checked) {
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1 7.25v1.5h8v-1.5z'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1 7.25v1.5h8v-1.5z'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):focus-visible { outline:2px solid var(--q-focus); outline-offset:-2px; }
}
/* Result audit round 2: the Talk button's word and the Month's weekday heads are 500 at most */
html[data-shell="quiet"] :is(#vaFab, #vaFab *, [data-look="quiet"] .month-dow > div) { font-weight:500 !important; }

/* Result audit round 3 */
/* small words follow the quiet scale at every width: a hard 12 px falls off it on a wide screen, where the small size grows */
:is([data-look="quiet"], html[data-shell="quiet"] :is(#topbar, #quietNav, #navPanel, #appMenu, #helpPop)) :is(.hint, small, .k-meta, .gtk-t, .glab, .al-h, .inv-msg, .ac-legend, .ail-note, .hp-foot, .hrs-seg, .shop-meta, .shop-clock, #shopTotalHint, #sZoneLbl, #acctEmail, #calSearchIn, .roleSel, #tmFrom, #tmTo, .amuser, .amuser span, .amsub, .hp-search label, [style*="font-size:12px"], [style*="font-size: 12px"]) { font-size:var(--q-size-small) !important; }
[data-look="quiet"] .md-title { font-size:var(--q-size-title); }
/* the item happening now is marked by its weight, not a stripe down its side */
[data-look="quiet"] .md-row.md-now td:first-child { box-shadow:none; }
/* a repeating task on a phone is a row with a line under it, not a boxed card */
[data-look="quiet"] .rp-cards { gap:0; }
[data-look="quiet"] .rp-card { background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0; }
[data-look="quiet"] :is(.rp-card:hover, .rp-card:focus-visible) { background:var(--q-hover); border-color:var(--q-line); }
@media (pointer:fine) {
  /* a calendar block stays drawn to time scale; its press area (calHitAreas) grows to 32 px where nothing is near, and its done-circle keeps its small circle in a 32 px target */
  [data-look="quiet"] .blk-hit { --ext:max(0px, (var(--q-mouse) - var(--h)) / 2); }
  [data-look="quiet"] .blk .tick { inline-size:var(--q-mouse); block-size:var(--q-mouse); margin:-.5rem -1px -.5rem -.4375rem; }
  #shopView[data-look="quiet"] a.shopgo { min-block-size:var(--q-mouse); min-inline-size:var(--q-mouse); justify-content:center; }
}

/* Result audit round 4 (the other spaces: Acclivity, Sturdy Ox) */
/* the brand mark has one width in every space, so the space switcher beside it never moves */
html[data-shell="quiet"] #topbar #brandMark { box-sizing:border-box; inline-size:2rem; min-inline-size:2rem; overflow:hidden; }
html[data-shell="quiet"] #topbar #brandMark :is(img, svg) { max-inline-size:1.625rem; }
/* a filter's count is a plain number beside its word, and today's date in Month a soft tint: never a filled company colour */
html[data-shell="quiet"] .k-fbtn .k-fcnt { background:var(--q-clear); color:var(--q-text); min-inline-size:0; padding:0; }
html[data-shell="quiet"] .mcell.today .dn { background:var(--q-clear); color:var(--q-strong); box-shadow:inset 0 0 0 1.5px var(--q-strong); }
/* (audit r2, Sturdy Ox 5) the Timeline's today line is ink, not the company colour */
html[data-shell="quiet"] [data-look="quiet"] .gnow { background:var(--q-strong); opacity:.85; }
/* (audit r2: Acclivity 14, Sturdy Ox 6) a link's words are in the text colour, never the company colour */
[data-look="quiet"] .loc-go { color:var(--q-text); }
/* (audit r2: Ibexx 16, Acclivity 12, Sturdy Ox 10) a role is a plain word, not a coloured badge */
[data-look="quiet"] .rolebadge { padding:0; border-radius:0; background:var(--q-clear) !important; color:var(--q-text) !important; font:400 var(--q-size-small)/1.4 var(--font-sans); }
/* (audit r2: Ibexx 15, Acclivity 13) the people on a project are their initials in their own colour and a plain ×, not outlined pills */
[data-look="quiet"] .pjv-lead .ovchip { inline-size:auto; block-size:auto; min-inline-size:0; padding:0 .375rem; border:0 !important; border-radius:.375rem; background:var(--q-clear) !important; font-weight:500; }
[data-look="quiet"] .pjv-lead .ovchip:hover { opacity:1; background:var(--q-hover) !important; }
/* (audit r2, Ibexx 12) the chosen row of the projects tree ("All tasks") is the chosen tint and a line, as a chosen tab, not a band of the company colour */
[data-look="quiet"] .troot.sel { color:var(--q-text); background:var(--q-tint); border-bottom:2px solid var(--q-text); }
/* (audit r2, Ibexx 13) "31 at risk": a dot in the attention colour and the words in the text colour, kept together */
[data-look="quiet"] span.k-attn { color:var(--q-text); font-weight:400; white-space:nowrap; }
[data-look="quiet"] span.k-attn::before { content:""; display:inline-block; inline-size:.4375rem; block-size:.4375rem; margin-inline-end:.3125rem; border-radius:50%; background:var(--q-attention); vertical-align:.05em; }
/* (audit r2, Ibexx 27) "Private: owners only" is a plain checkbox line in the text colour */
[data-look="quiet"] .ownerchk { color:var(--q-text); font-weight:400; font-size:var(--q-size-small); }
/* (audit r2: Ibexx 6, Acclivity 11, Personal 15) a form's Cancel did what the record's Close (on a phone, Back) does: the one button stays, at the top */
#drawer[data-look="quiet"] .drawerfoot > button[data-drawer-close] { display:none; }
/* a form is never a box round its fields */
[data-look="quiet"] form { background:var(--q-clear); border:0; border-radius:0; padding-inline:0; }
/* Holidays: Add holidays is a plain section with its heading, not a boxed card */
[data-look="quiet"] .hl-add { background:var(--q-clear); border:0; border-radius:0; padding:0; }
[data-look="quiet"] .hl-add > summary { display:flex; align-items:center; min-block-size:2rem; font-weight:500; }
@media (pointer:coarse) { [data-look="quiet"] .hl-add > summary { min-block-size:var(--q-touch); } }

/* Result audit round 5 (the calendar as a reviewer sees it): no side stripe on any block, meetings a soft tint, a project code plain words */
[data-look="quiet"] :is(.blk.task, .blk.cal-short, .mchip.cal-short, .blk.calout, .blk.teamev, .blk.cal-wm) { border-left-width:0 !important; }   /* (!important: a Week of several columns gives a task a 3 px edge with a heavier selector) */
[data-look="quiet"] .blk.calout.tent { border:1px dashed var(--q-edge); border-left-width:1px !important; }
[data-look="quiet"] .blk.teamev { border-left-width:1px !important; }
/* The clock line sits behind busy blocks: an opaque tint keeps it out of their text. */
#calView[data-look="quiet"] .blk.teamev.busy { background:color-mix(in oklab, var(--q-surface) 90%, var(--q-muted) 10%); color:var(--q-text); opacity:1; }
#calView[data-look="quiet"] .blk.teamev.busy.shared.detail { background:color-mix(in oklab, var(--q-surface) 80%, var(--q-muted) 20%); }
[data-look="quiet"] :is(.blk.task.doing, .blk.cal-short.doing, .blk.cal-wm.run) { outline:1.5px dashed var(--q-edge); outline-offset:-1.5px; }   /* in progress: a dashed outline, as the dashed edge said */
[data-look="quiet"] .blk.ev:not(.hol, .show.out) { background:color-mix(in oklab, var(--q-surface) 80%, var(--event) 20%); color:var(--q-text); }
[data-look="quiet"] .blk.ev:not(.hol, .show.out) :is(.t, .tm) { color:var(--q-text); }
[data-look="quiet"] .blk.ev.show.out { border-color:var(--q-edge); }
[data-look="quiet"] .pc-tag { background:var(--q-clear); color:var(--q-muted); font-size:var(--q-size-small); font-weight:500; letter-spacing:0; padding:0; }
/* the end of every page scrolls clear of the Talk button (nothing stays hidden behind it); the calendar keeps its own scroller */
html[data-shell="quiet"]:not([data-nav-place="bottom"])[data-q-talk]:not([data-q-cal-page]) main { padding-block-end:0; }
/* Talk on a phone's bar (nothing behind Talk); wider, it floats in its own lane at the right, which the page leaves free */
html[data-shell="quiet"] #quietNav #vaFab { position:static; inset:auto; z-index:auto; flex:1; gap:.375rem; min-height:var(--q-control); padding:0 .5rem; border:1px solid var(--q-edge); border-radius:.5rem; box-shadow:none; background:var(--q-clear); }
/* (audit r2: Ibexx 25, Acclivity 6) the page no longer keeps an empty lane at the right for Talk: the page runs to its gutter, and its end still scrolls clear of the button */

/* on a touch screen the same tick box, its target 44 px (it was the browser's own box grown to 44 px: a big white square) */
@media (pointer:coarse) {
  
  [data-look="quiet"] input[type="checkbox"]:not(label input) {
    appearance:none !important; -webkit-appearance:none !important; inline-size:var(--q-touch) !important; block-size:var(--q-touch) !important; min-inline-size:var(--q-touch); margin:0; border:0; border-radius:.375rem; background:var(--q-edge); cursor:pointer; vertical-align:middle;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='8.75' y='8.75' width='14.5' height='14.5' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='8.75' y='8.75' width='14.5' height='14.5' rx='3' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):is(:checked, :indeterminate) { background:var(--q-text); }
  [data-look="quiet"] input[type="checkbox"]:not(label input):checked {
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1.6 7.4l-1.2 1.2 3.4 3.4 6.4-6.4-1.2-1.2-5.2 5.2z'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1.6 7.4l-1.2 1.2 3.4 3.4 6.4-6.4-1.2-1.2-5.2 5.2z'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):indeterminate:not(:checked) {
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1 7.25v1.5h8v-1.5z'/%3E%3C/svg%3E") center/32px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' fill='white' d='M11 8h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H11a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3zm1 7.25v1.5h8v-1.5z'/%3E%3C/svg%3E") center/32px no-repeat;
  }
  [data-look="quiet"] input[type="checkbox"]:not(label input):focus-visible { outline:2px solid var(--q-focus); outline-offset:-2px; }
}
/* the account button shows once it has its words and letters (before that it was a gear with no word) */
html[data-shell="quiet"] #appMenuBtn:not([data-drawn]) { visibility:hidden; }
@media (pointer:coarse) { #projectView[data-look="quiet"] #pjList .troot { min-block-size:var(--q-touch); } }
@media (pointer:fine) { #projectView[data-look="quiet"] #pjList .troot { min-block-size:var(--q-mouse); } }
/* (audit r1, Sturdy Ox 16: no triangle before Focus on one company or Dates off from: they read as links that open) */
#hoursView[data-look="quiet"] details > summary { list-style:none; cursor:pointer; display:flex; align-items:center; min-block-size:var(--q-control); text-decoration:underline; text-underline-offset:3px; }
#hoursView[data-look="quiet"] details > summary::-webkit-details-marker { display:none; }
/* (audit r1 33: a two-digit field is as wide as its figures, not the page) */
#settingsView[data-look="quiet"] input[type="number"] { inline-size:auto; max-inline-size:12ch; }
/* a project row's Hold, Edit, Close and Remove live in its More (audit r1): shown there at every width, never only on hover */
#projectView[data-look="quiet"] #pjList .q-rowmenu :is(.hold, .cl, .ed, .x, .reopen) { opacity:1; }
/* (audit r1 I10: the prep line's words run across the record, not in a 120 px label column) */
#drawer[data-look="quiet"] .edprep > .tdlbl { inline-size:auto; flex-wrap:wrap; }
/* (audit r1 A25) narrow, a bar with room keeps its search as a box with its word, not a bare magnifier; a phone and a bar with a date strip keep the icon */
html[data-q-width="narrow"] [data-look="quiet"] .k-viewbar:not(:has(.cal-nav, .tl-zoom)) .csr-box.vb-search:not(.vb-sicon, :focus-within):has(input:placeholder-shown) { flex:1 1 11rem; inline-size:auto; min-inline-size:9rem; max-inline-size:18rem; padding:0 .625rem; gap:.375rem; justify-content:flex-start; }
html[data-q-width="narrow"] [data-look="quiet"] .k-viewbar:not(:has(.cal-nav, .tl-zoom)) .csr-box.vb-search:not(.vb-sicon, :focus-within) > input:placeholder-shown { flex:1; inline-size:100%; min-inline-size:0; padding:.25rem 0; opacity:1; }
/* (audit r1 A19: Saturday is never cut and the grid does not touch the right edge) on a phone the hour column is the left margin and the right keeps 6 px; the time column
   gives 6 px (its longest label, "12 PM", is 35 px) so each day's blocks stay 44 px wide on touch (rule 22) */
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-frame { margin-inline:0 .375rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-frame:not(.tz2) { --tcw:2.5rem; }
/* (audit r1 S28, house rule 18) a day's "used of hours" opens how the day adds up: it reads as a figure that opens, as every other worked-out number */
[data-look="quiet"] .cal-head .day .dm .dm-txt { color:var(--q-text); text-decoration:underline dotted; text-underline-offset:3px; }
[data-look="quiet"] .cal-head .day .dm:hover .dm-txt { text-decoration-style:solid; }
/* (audit r1 S13, S15) New project: a chosen phase has the check and the tint (its number still says its place in the order); an unchosen one a plain clear edge; Add phase is a button with its edge */
[data-look="quiet"] .stagechip { display:inline-flex; align-items:center; gap:.25rem; min-block-size:var(--q-control); padding:0 .75rem; font-size:var(--q-size-small); color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:62.4375rem; }
[data-look="quiet"] .stagechip:hover { background:var(--q-hover); border-color:var(--q-edge); color:var(--q-text); }
[data-look="quiet"] .stagechip.on { background:var(--q-tint); border:1px solid transparent; color:var(--q-text); }   /* (audit r3, Q2-opus 18: a chosen phase is the tint, its check and its number; no outline as well) */
[data-look="quiet"] .stagechip.on::before { content:"\2713"; }
[data-look="quiet"] .stagechip.on b { opacity:1; margin:0; font-size:inherit; color:var(--q-muted); }
[data-look="quiet"] #pStageAdd { padding:0 .75rem; color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.5rem; }
[data-look="quiet"] #pStageAdd:hover { background:var(--q-hover); }
/* (audit r1 I19, S24, A21) the search's own line keeps the page's gutter, as the bar above it */
[data-look="quiet"] .csr-line { padding-inline:var(--q-gutter); }
/* Rule 24: keep closest matches in the same column as the search status. */
[data-look="quiet"] .q-search-closest { padding-inline:var(--q-gutter); color:var(--q-text); font-size:var(--q-size-small); overflow-wrap:anywhere; }
[data-look="quiet"] .q-search-closest p { margin:.375rem 0 .25rem; }
[data-look="quiet"] .q-search-closest ul { list-style:none; margin:0; padding:0; }
[data-look="quiet"] .q-search-closest li { padding-block:.25rem; border-top:1px solid var(--line); }
[data-look="quiet"] .q-search-closest li a { color:var(--q-text); text-decoration:underline; text-underline-offset:.14em; }
[data-look="quiet"] .q-search-closest li span { color:var(--q-muted); }
[data-look="quiet"] .q-search-closest mark { color:var(--q-text); background:var(--q-tint); }
/* (audit r1 I18) a phone's project task row: Move, the done circle and the name start on one line (the name wraps under them only when long) */
html[data-q-width="phone"] #projectView[data-look="quiet"] table:has(tr.pjtask) col:first-child { width:62% !important; }
html[data-q-width="phone"] #projectView[data-look="quiet"] table:has(tr.pjtask) col:not(:first-child, [data-q-detail]) { width:auto !important; }
/* (audit r1 A10, S30) My hours: the title comes first and its way back to My account sits at the right of it; the account button is lit as where you are */
#hoursView[data-look="quiet"] .k-head { display:flex; flex-wrap:wrap; align-items:flex-start; gap:.5rem 1rem; }
#hoursView[data-look="quiet"] .k-head .k-lead { order:2; margin-inline-start:auto; }
#hoursView[data-look="quiet"] .k-head .k-headtxt { flex:1 1 30ch; }
html[data-shell="quiet"] #topbar #appMenuBtn[aria-current="page"] { background:var(--q-clear); border-bottom:2px solid var(--q-mark); }   /* (audit r4, Q2-opus 9: it was tinted like a main action) where you are, as the sections mark it: the line under, no fill */
/* (audit r1 A32) narrow, a company's line on My hours is two columns: its name, then its days with its company hours under them (no third column squeezed to nothing) */
html[data-q-width="narrow"] #hoursView[data-look="quiet"] .hrs-dline { grid-template-columns:9rem minmax(0, 1fr); }
html[data-q-width="narrow"] #hoursView[data-look="quiet"] .hrs-dline .hrs-dcd { grid-column:2; }
/* (audit r1 S32) the Go to box's keyboard line is for a keyboard: not shown on a touch screen */
@media (pointer:coarse) { .modal[data-look="quiet"] .jr-foot { display:none; } }
/* rule 19a: an empty rare field is left out of the record; its section's "Add" line shows it */
#drawer[data-look="quiet"] .tdrow[data-q-rare] { display:none; }
#drawer[data-look="quiet"] .q-rare-add .tdwhere { display:flex; flex-wrap:wrap; gap:.25rem 1rem; }
#drawer:not([data-look="quiet"]) :is(.q-rare-add, .q-rare-toggle) { display:none; }
/* (final audit r2, rule 19a: one labelled switch reveals optional fields without moving them) */
#drawer[data-look="quiet"] .q-rare-toggle { display:flex; align-items:center; gap:.5rem; min-block-size:var(--q-control); width:fit-content; margin-inline-start:auto; cursor:pointer; }
/* (audit r2, Ibexx 24) the Calendar's View controls, in its Filter panel: in place, not a floating box */
[data-look="quiet"] .k-fpanel .cal-pop.cal-popin { position:static; inset:auto; max-height:none; padding:0; border:0; background:var(--q-clear); box-shadow:none; transform:none; }
/* (audit r2, Acclivity 20: a mapping's checkbox was drawn as wide as a field) a checkbox keeps its own size */
[data-look="quiet"] .admin-body input[type="checkbox"] { inline-size:auto; flex:none; }
/* (audit r2: Personal 20, Acclivity 18, Sturdy Ox 17, Today's day table: a name or title shrank to "…") below wide, a table's key column wraps its words; it is never cut */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td:is(.k-who, .k-title),
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td:is(.k-who, .k-title) :is(.pnm, a, span:not(.pchip)) { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:break-word; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td.k-who:not([data-q-detail]) { display:table-cell; }   /* (audit r3, Q1-opus 7: a hidden people cell was shown again, so the List ran past its frame at 768) */
/* (audit r2, Personal 23: "2 h 45 m of 7 h" broke over lines) a day's total keeps together */
#calView[data-look="quiet"] .dm-u { white-space:nowrap; }
/* (audit r2, Sturdy Ox 8: Dismiss looked disabled) a notice's Dismiss is a plain button in the text colour on the edge token */
html[data-shell="quiet"] #pageNotice :is(button, .btn) { color:var(--q-text); border:1px solid var(--q-edge); background:var(--q-clear); }
/* (audit r2, Sturdy Ox 14: notices broke mid-word, "Th/at/pa/ge") words break only between words */
html[data-shell="quiet"] :is(#pageNotice, .k-state) { overflow-wrap:break-word; word-break:normal; }
/* (audit r2, Ibexx 11: "Go to project", "AI prep", "Attach file" and the checklist's Add read as plain words) words that act are drawn as buttons */
[data-look="quiet"] :is(.td-pjgo, .aiprepbtn, .tdupload, .pjdocup, .tdcl-go) { display:inline-flex; align-items:center; gap:.25rem; min-block-size:var(--q-control); padding:0 .625rem; color:var(--q-text); background:var(--q-clear); border:1px solid var(--q-edge); border-radius:.375rem; font:500 var(--q-size-small)/1.25 var(--font-sans); text-decoration:none; cursor:pointer; }
[data-look="quiet"] :is(.td-pjgo, .aiprepbtn, .tdupload, .pjdocup, .tdcl-go):hover { background:var(--q-hover); }
[data-look="quiet"] .td-pjgo .td-pjgo-w { font-size:inherit; color:inherit; }
/* (audit r2: Ibexx 9, Acclivity 10, Personal 16 and 17: at 200 % text a full-page record pinned its title bar and its actions under the top bar, which left a sliver of the
   record showing between them and covered the fields under them) on a window less than 40 lines of body text tall, the record's title bar and actions scroll with it */
@media (max-height:40em) {
  #drawer[data-look="quiet"][data-q-frame="full"] .drawerhead,
  #drawer[data-look="quiet"] .td-acts:has(> :not([hidden])) { position:static; }
  html[data-shell="quiet"][data-q-full-record] { scroll-padding-top:var(--q-top-height, 0px); }
}
/* (audit r2, round-2 follow-through: the word beside the magnifier cost a phone's bar a row, and with it the page's main action) on a phone the word sits under the magnifier, as Away's and Ramble's do */
html[data-shell="quiet"][data-q-width="phone"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown) { position:relative; flex-direction:column; justify-content:center; align-items:center; inline-size:var(--q-control); min-inline-size:var(--q-control); padding:0; gap:1px; }
html[data-shell="quiet"][data-q-width="phone"] .k-viewbar .csr-box.vb-search:not(:focus-within) > input:placeholder-shown { position:absolute; inset:0; inline-size:100%; block-size:100%; padding:0; opacity:0; }
html[data-shell="quiet"][data-q-width="phone"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown)::after { line-height:1.1; }
/* (audit r2, Ibexx 26) the sign-in page: the form on the page itself, not in a boxed card; "Test site" as plain words, not a filled pill; a Help that opens its words in place */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard { background:transparent; border:0; box-shadow:none; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .testpill { background:none; border:0; padding:0; color:var(--q-muted); font-weight:400; }
html[data-shell="quiet"] #loginGate .lg-help { margin-top:.75rem; text-align:center; }
html[data-shell="quiet"] #loginGate .lg-help > summary { display:inline-flex; align-items:center; min-block-size:max(24px, 1.5rem); cursor:pointer; color:var(--q-text, inherit); font-weight:500; }
html[data-shell="quiet"] #loginGate .lg-help > p { margin:.375rem 0 0; text-align:start; }
html[data-shell="quiet"] #loginGate .lg-help > summary { min-block-size:var(--q-control); }
/* (audit r2, Ibexx 14: a long note title was cut mid-letter) it ends in an ellipsis, and the whole title shows on hover */
#projectView[data-look="quiet"] .notecard .noteTitle { min-inline-size:0; text-overflow:ellipsis; font-weight:500; }
/* (audit r2, Sturdy Ox 12: a Save touched the line under it) each mapping row holds its field and its Save on one line, with room under it */
[data-look="quiet"] .admin-body .set-row { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; margin-block:.375rem .75rem; }
[data-look="quiet"] .admin-body .admin-described { align-items:flex-start; }
[data-look="quiet"] .admin-body .admin-described > div { min-inline-size:0; max-inline-size:100%; }
[data-look="quiet"] .admin-body .admin-described label:has(textarea) { flex-direction:column; align-items:flex-start; }
[data-look="quiet"] .admin-body .admin-described textarea { max-inline-size:100%; }
[data-look="quiet"] .admin-body .admin-described .hint { margin:.25rem 0 0; }
html[data-q-width="narrow"] [data-look="quiet"] .k-viewbar:not(:has(.cal-nav, .tl-zoom)) .csr-box.vb-search:not(.vb-sicon, :focus-within):has(input:placeholder-shown)::after { content:none; }   /* (an open box shows its own "Search tasks" words: no second word) */
/* (audit r2, Sturdy Ox 19: a Month label at 375 was cut mid-word, "Sampl") a label is a line of text again, so a long one ends in an ellipsis; it stays centred in its 24 / 32 / 44 px height */
#calView[data-look="quiet"] .mchip { display:block; align-content:center; }
/* (audit r2) the folded Search keeps its whole word: as wide as the word, never narrower than a control */
html[data-shell="quiet"][data-q-width="phone"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown) { inline-size:auto; padding:0 2px; }
/* the sign-in Help reads like the link above it */
html[data-shell="quiet"] #loginGate .lg-help > summary { font-size:.8125rem; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
/* (a choice keeps its whole word: "Match device" ran into "Dark"; each takes its own width, and the row still fills the menu) */
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button { flex:1 1 auto; }
/* ===== rule 25 part 18, navigation by window width (William 2026-11-20; the way Repair Orders does it) =====
   Under 94 characters the bottom bar, 94 to 159 the side rail, from 160 the top bar, for a mouse and a finger alike (quiet.js navPlace). In every band there is no
   menu button; the header keeps the company, Sync, Ramble, Help and the account (Rulebook 2026-11-20, page audit decision 1): Away and the timers are in the account menu. Talk floats at the bottom
   right, never a place on the bar. */
html[data-shell="quiet"] #topbar :is(#navToggle, #awayBtn, #runBtn, #syncNote) { display:none !important; }
/* (page audit decision 1, 2026-11-29: Ramble "should be on every single page", "should not be hidden"; part 18 bars only the sections from the header) Ramble stays in the
   header at every width, beside the company, Sync, Help and the account; Away and the timers are in the account menu, as live's timers are */
html[data-shell="quiet"] #topbar #rambleBtn { display:inline-flex; flex:none; }
/* (Rulebook 2026-11-20, part 18: the header holds the company, Sync, Help and the account, as Repair Orders) the words "My account" from the rail up, the circle with the
   person's letters on a phone; the save note is said by Sync's own panel, never a pill in the header */
html[data-shell="quiet"] #topbar #appMenuBtn { display:inline-flex; align-items:center; justify-content:center; gap:.375rem; padding:0 .625rem; flex:none; }
html[data-shell="quiet"]:not([data-q-width="phone"]) #topbar #appMenuBtn :is(.acct-badge, .acct-caret) { display:none; }
html[data-shell="quiet"]:not([data-q-width="phone"]) #topbar #appMenuBtn .acct-name { display:inline; max-inline-size:none; }
html[data-shell="quiet"]:not([data-q-width="phone"]) #topbar #appMenuBtn:not([aria-current="page"]) { border:1px solid var(--q-edge); border-radius:.5rem; }
html[data-shell="quiet"]:not([data-q-width="phone"]) #topbar #appMenuBtn[aria-current="page"] { border-inline:1px solid var(--q-clear); }   /* (page audit, rule 10: on My hours the button lost its side lines and Help moved 2 px) */
html[data-shell="quiet"] #topbar header { min-block-size:var(--q-control); }   /* (one row of about 46 px in every band) */
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn { padding:0; }
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn :is(.acct-name, .acct-caret) { display:none; }
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn .acct-badge { inline-size:1.875rem; block-size:1.875rem; border:1.5px solid var(--q-edge); background:var(--q-clear); color:var(--q-text); font:500 var(--q-size-small)/1 var(--font-sans); }
html[data-shell="quiet"][data-q-width="phone"] #topbar header > #hdrCompany { flex:0 1 auto; min-inline-size:0; }
/* (the coordinator 2026-11-20: one header row at every width) the open section's views are the page's own tab row, under the header, not a second row inside it */
html[data-shell="quiet"] #viewRow { padding:.5rem var(--q-gutter) 0; margin:0; border:0; background:var(--q-clear); }
html[data-shell="quiet"] #viewRow[hidden] { display:none; }
/* the symbols: over the word on the bottom bar and the rail, none on the top bar */
html[data-shell="quiet"] #quietNav .q-nav-ico { display:none; inline-size:1.375rem; block-size:1.375rem; flex:none; }
html[data-shell="quiet"]:is([data-nav-place="bottom"], [data-nav-place="rail"]) #quietNav .q-nav-ico { display:block; }
html[data-shell="quiet"]:is([data-nav-place="bottom"], [data-nav-place="rail"]) #quietNav :is(a, button) { flex-direction:column; gap:.1875rem; text-align:center; line-height:1.15; white-space:nowrap; }
/* the phone's bottom bar: 10 from the sides, 12 from the bottom, 64 high, radius 22, five equal places; the words at the house's 12 px step (rule 8; the drawing's 10.5 and 11.5 are off the scale) */
html[data-shell="quiet"][data-nav-place="bottom"] #quietNav {
  inset-inline:max(.625rem, var(--safe-l)) max(.625rem, var(--safe-r)); bottom:calc(.75rem + var(--safe-b)); min-height:4rem; block-size:4rem;
  gap:.25rem; padding:.25rem; border-radius:1.375rem;
}
html[data-shell="quiet"][data-nav-place="bottom"] #quietNav :is(a, button) { flex:1 1 0; min-inline-size:0; padding:.25rem 2px; border-radius:1rem; font-size:var(--q-size-small); overflow:hidden; text-overflow:ellipsis; }
html[data-shell="quiet"] #quietNav .q-nav-label[data-q-count] { max-inline-size:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* the side rail: 14 from the left, 84 wide, radius 30, centred under the top bar; the header keeps the whole width, the page and its view row keep 120 px clear at
   their left */
html[data-shell="quiet"][data-nav-place="rail"] body { margin-inline-start:0; }
html[data-shell="quiet"][data-nav-place="rail"] main { margin-inline-start:7.5rem; }
html[data-shell="quiet"][data-nav-place="rail"] #viewRow { margin-inline-start:7.5rem; }
html[data-shell="quiet"][data-nav-place="rail"] #quietNav {
  inset-inline-start:max(.875rem, var(--safe-l)); width:5.25rem; gap:.375rem; padding:.75rem .5rem; border-radius:1.875rem;
  max-block-size:calc(100dvh - var(--q-top-height, 4.75rem) - 1.5rem); overflow:hidden;
}
html[data-shell="quiet"][data-nav-place="rail"] #quietNav :is(a, button) { flex:none; min-block-size:3.75rem; padding:.25rem 2px; border-radius:1.125rem;   /* (page audit: a two-line "Company settings" sat on its own underline) */ font-size:var(--q-size-small); white-space:normal; overflow-wrap:normal; word-break:normal; hyphens:manual; }
/* (page audit round 3, judges 12, 15, 16, 23: on the rail and the bottom bar the chosen section's line followed the rounded corner and touched a two-line "Company settings") the line is a short straight mark centred under the words, clear of them, part 5 */
html[data-shell="quiet"]:is([data-nav-place="rail"], [data-nav-place="bottom"]) #quietNav [aria-current] { border-bottom:0; padding-block-end:.5rem; background:var(--q-tint) linear-gradient(var(--q-mark), var(--q-mark)) no-repeat center bottom .1875rem / 1.75rem 2px; }
html[data-shell="quiet"][data-nav-place="rail"] #navPanel.open { left:calc(.875rem + 5.25rem + .5rem + var(--safe-l, 0px)); }
/* Talk: the floating pill at the bottom right (right 18, bottom 18), above the bottom bar on a phone */
html[data-shell="quiet"] #vaFab:not([hidden]) { position:fixed; right:max(1.125rem, var(--safe-r)); bottom:calc(1.125rem + var(--safe-b)); z-index:40; transition:none; }
html[data-shell="quiet"][data-nav-place="bottom"] #vaFab:not([hidden]) { bottom:calc(var(--q-nav-clear, 5.25rem) + .5rem); }
html[data-shell="quiet"][data-nav-place="bottom"][data-q-talk]:not([data-q-cal-page]) main { padding-block-end:0; }
/* (rule 25 part 18 job, the 375 Today page: "Open the list" ran over "Dismiss") a notice's words take the line, its buttons wrap below them side by side, never on each other */
[data-look="quiet"] .k-notice, html[data-shell="quiet"] #pageNotice .k-notice { flex-wrap:wrap; column-gap:.75rem; row-gap:.5rem; }
[data-look="quiet"] .k-notice .k-ntext, html[data-shell="quiet"] #pageNotice .k-notice .k-ntext { flex:1 1 14rem; }
[data-look="quiet"] .k-notice :is(.btn, .k-nx), html[data-shell="quiet"] #pageNotice .k-notice :is(.btn, .k-nx) { flex:none; margin:0 !important; }
/* A lone Dismiss sits next to the words; align it to the first line, even when the message wraps. */
:is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-dismiss { flex-wrap:nowrap; line-height:1.3; }
:is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-dismiss > .k-ntext { padding-block-start:max(0px, calc((var(--q-control) - 1lh) / 2)); }
:is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-dismiss::before { margin-block-start:calc(.45em + max(0px, (var(--q-control) - 1lh) / 2)); }
@media (max-width:40em){
  /* An action and Dismiss share one row below the message, rather than wrapping independently. */
  :is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-action { display:grid; grid-template-columns:auto minmax(0, 1fr) auto auto; }
  :is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-action > .k-ntext { grid-area:1 / 2 / auto / -1; }
  :is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-action > .k-ntext + button { grid-area:2 / 3; }
  :is([data-look="quiet"], html[data-shell="quiet"] #pageNotice) .k-notice.k-notice-action > .k-nx { grid-area:2 / 4; }
}
/* ===== round 3 (2026-11-21) ===== */
/* (r3 Q4 opus 25, Q5 47) the build line is the last line of Help, not of More */
html[data-shell="quiet"] #navPanel .np-build { display:none; }
html[data-shell="quiet"] #helpPop .hp-ver { color:var(--q-muted); }
/* the account menu: its first line is the person, and the way to My account */
html[data-shell="quiet"] #appMenu .amuser { display:flex; flex-direction:column; align-items:flex-start; gap:.125rem; inline-size:100%; text-align:start; padding:.5rem .75rem; border:0; border-radius:.5rem; background:var(--q-clear); color:var(--q-text); cursor:pointer; }
html[data-shell="quiet"] #appMenu .amuser:hover { background:var(--q-hover); }
html[data-shell="quiet"] #appMenu .amuser .amhint { color:var(--q-muted); font-size:var(--q-size-small); }
/* the view row's own More: a menu of the pages that do not fit, under its button */
html[data-shell="quiet"] #qViewsMenu { position:fixed; z-index:46; display:flex; flex-direction:column; min-inline-size:12rem; padding:.5rem; border:1px solid var(--q-line); border-radius:.875rem; background:var(--q-surface); box-shadow:var(--q-shadow); }
html[data-shell="quiet"] #qViewsMenu .np-item { display:flex; align-items:center; min-block-size:var(--q-control); padding:0 .75rem; border-radius:.5rem; color:var(--q-text); text-decoration:none; }
html[data-shell="quiet"] #qViewsMenu .np-item:hover { background:var(--q-hover); }
/* (r3 pattern 1: Talk and the bottom bar covered a form's main button and the page's last lines) a record drawn as the page keeps its Save row above the bar and Talk at every
   text size; the page keeps the bar and Talk clear at its end (quiet.js measure: --q-clearance); an open menu sits above the rail and Talk */
/* (round 4, shared pattern 1: the fixed Delete and Add rows sat over fields, Delete where Start belongs at 200 %) a record drawn as the page ends with its foot row, in the flow:
   the risky action is a step further away, nothing is painted over a field, and the page's end clearance keeps it above the bar and Talk */
#drawer[data-look="quiet"][data-q-frame="full"].open :is(.dfoot, .drawerfoot):not([hidden]) { position:static; padding-block:.75rem; margin-block-end:.5rem; background:var(--q-clear); }
html[data-shell="quiet"] #topbar:has(#helpPop:not([hidden]), #appMenu:not([hidden]), #quietSyncPanel:not([hidden])) { z-index:44; }
html[data-shell="quiet"]:is([data-q-floating-record], [data-q-modal]) :is(#vaFab, #quietNav) { z-index:39; }
/* A full-page record has no scrim: put the idle Talk launcher away while its fields are in use. */
html[data-shell="quiet"][data-q-full-record="page"] #vaFab:not(.va-rec) { display:none; }
/* (r3 pattern 2: two buttons, one result) a lone filter chip is removed by its own x, so the row's "Clear all" shows only with two or more; a search is cleared by the x in its box,
   so the line under it does not repeat "Clear search" while that box shows */
[data-look="quiet"] [data-vbax]:not(:has(.k-ax:not(.hm-ax) ~ .k-ax:not(.hm-ax))) > [data-vbclear] { display:none; }
[data-look="quiet"]:has(.csr-box .csr-x:not([hidden])) .csr-line [data-srchx] { display:none; }


/* (audit r3, shared pattern 3: loading) before quiet.js has run, the old header and a blank page are not shown: a loading line is, and the quiet shell then marks the
   section of the address. If quiet.js has not run after 20 s, text-size.js sets data-q-boot="late" and the page shows again, so nothing is hidden for good. */
html:not([data-shell="quiet"], [data-q-boot="late"]) body > :not(script) { visibility:hidden; }
html:not([data-shell="quiet"], [data-q-boot="late"]) body::before { content:"Loading your work."; position:fixed; inset:1rem 1rem auto; padding:.75rem 1rem; border:1px solid var(--q-line);
  border-radius:.75rem; background:var(--q-surface); color:var(--q-muted); font:400 .875rem/1.4 system-ui, -apple-system, sans-serif; z-index:100; }

/* (audit r3, shared: the record's frame bar) the frame choice sits in the head beside Close, small and quiet; the width is a grip on the record's free edge */
[data-look="quiet"] .drawerhead > .q-record-tools { padding:0; margin-inline-start:auto; flex-wrap:nowrap; }
[data-look="quiet"] .drawerhead > .q-record-tools select { border-color:transparent; background-color:transparent; color:var(--q-muted); font-size:.8125rem; min-height:var(--q-mouse); }
[data-look="quiet"] .drawerhead > .q-record-tools select:hover { border-color:var(--q-line); }
#drawer[data-look="quiet"] > .q-record-resize { position:absolute; inset-block:0; inset-inline-end:0; width:.5rem; min-width:0; min-height:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; z-index:4; cursor:grab; }
#drawer[data-look="quiet"][data-q-frame="right"] > .q-record-resize { inset-inline:0 auto; }
#drawer[data-look="quiet"] > .q-record-resize:is(:hover, :focus-visible) { background:var(--q-line); }

/* (audit r3, Personal Q5 21) the checklist and attachments fold behind Add too; Add's words are small buttons (shared: no underlined words acting as buttons) */
#drawer[data-look="quiet"] :is(.tdcl, .tdatt, .td-aside)[data-q-rare] { display:none; }
#drawer[data-look="quiet"] .q-rare-add .q-rare-btn { min-height:var(--q-mouse); padding-inline:.625rem; font-size:.8125rem; }

/* (audit r3, Q2 16 and Personal Q5 16: the task's project was a bordered card with a boxed "Go to project") the line is the record's first line, unboxed; it lights on hover */
[data-look="quiet"] .td-projline .td-pjgo { border-color:transparent; background:transparent; box-shadow:none; padding-inline:.25rem; }
[data-look="quiet"] .td-projline .td-pjgo:hover { background:var(--q-hover); }
[data-look="quiet"] .td-projline .td-pjgo .td-pjgo-w { color:var(--q-muted); }

/* (audit r3, Q1 35, Q2 14: "Cancel task..." sat right beside Mark complete) the risky choice goes to the far end of the row, away from the main one */
#drawer[data-look="quiet"] .td-donebar > #tdCancelOpen { margin-inline-start:auto; }

/* (audit r3, Q1 5: quiet 4) previous and next are bare chevrons, lit on hover, not boxed arrows; on a phone Search is its magnifier alone in its button (no word stacked under it) */
[data-look="quiet"] .k-viewbar :is([data-q-mark="prev"], [data-q-mark="next"]) { border-color:transparent; background:transparent; box-shadow:none; font-size:1.25rem; }
[data-look="quiet"] .k-viewbar :is([data-q-mark="prev"], [data-q-mark="next"]):hover { background:var(--q-hover); }
html[data-shell="quiet"][data-q-width="phone"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown)::after { content:none; }

/* (audit r3, Q1 4: the same Friday twice, in adjacent rows) on the one-day view the date is the toolbar's; the column head keeps only its day meter and all-day items */
#calView[data-look="quiet"] #calHead > .day:nth-child(2):last-child > :is(b, .dname) { display:none; }   /* (the day's name is its own span, so nothing is drawn at 0 px) */
#calView[data-look="quiet"] #calHead > .day:nth-child(2):last-child > :not(b) { font-size:var(--q-size-small); }

/* (audit r3, Personal Q5 30) the sticky day heading is opaque, so a scrolled event never prints through it */
/* (round 4, Q3-opus 12: the month's day names were a shaded band at rest) the heading is filled only while it is stuck over the days scrolling under it (quiet.js tableLayers) */
#calView[data-look="quiet"] :is(.cal-head, .cal-frame #calHead, .cal-frame .month-dow)[data-q-stuck] { background:var(--q-bg); }

/* (audit r3, Q4 22, Personal Q5 43: the unchosen Theme, Text size and Week start words had no shape) every choice is a button; the chosen one keeps its tint and mark */
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button:not(.on) { border:1px solid var(--q-line); border-radius:.375rem; }

/* (audit r3, Q4 32, Personal Q5 13 and 44: one chosen radio in a bordered box, with nothing else to choose) while there is one way to plan, it reads as a plain line */
html[data-shell="quiet"] #acctPlanModeBody:not(:has(.e3a-optw + .e3a-optw)) .e3a-opt { padding:0; border:0; background:var(--q-clear); cursor:default; }
html[data-shell="quiet"] #acctPlanModeBody:not(:has(.e3a-optw + .e3a-optw)) .e3a-opt input { display:none; }

/* (audit r3, every space: on touch the row's select box and its done-circle are both 44 px and their tap areas overlapped by 6 px; a table's controls are 44 px with a mouse as well) the select column is a full touch target wide */
[data-look="quiet"] .ktable .bulkcol { width:calc(var(--q-touch) + .25rem); }
[data-look="quiet"] .ktable col[data-k="_bulk"] { width:calc(var(--q-touch) + .25rem) !important; }   /* (the column's own width is written on the col; a fixed table sizes by it) */
[data-look="quiet"] .ktable :is(tbody td, thead th):nth-child(2) { left:calc(var(--q-touch) + .25rem); }

/* (audit r3, every space: "Test site" overlapped the company switcher at 375 with Large text, and clipped its arrow) on a phone the test mark says "Test" and the switcher keeps its whole name */
html[data-shell="quiet"][data-q-width="phone"] #topbar header:has(.testpill:not([hidden])) #hdrCompany { max-width:none; flex:none; }
html[data-shell="quiet"][data-q-width="phone"] #topbar .testpill:not([hidden]) { font-size:0; flex:none; }
html[data-shell="quiet"][data-q-width="phone"] #topbar .testpill:not([hidden])::before { content:"Test"; font-size:var(--q-size-small); }

/* At high zoom or narrow phone widths, keep the header in one row without overflowing. (audit 15: by characters, data-q-tiny from quiet.js, so a large text size counts too; the words of Ramble and Help fold to their marks, each keeps its name) */
html[data-shell="quiet"][data-q-tiny] #topbar :is(#helpBtn .help-t, #rambleBtn .rmb-t) { display:none; }
html[data-shell="quiet"][data-q-tiny] #topbar { margin-inline:max(0px, var(--safe-l)) max(0px, var(--safe-r)); }
html[data-shell="quiet"][data-q-tiny] #topbar header {
  display:grid; grid-template-columns:minmax(0,1fr) repeat(4, auto); align-items:center; gap:2px; padding:2px 3px;
}
html[data-shell="quiet"][data-q-tiny] #topbar header > :is(.spacer, #shellSlot:empty) { display:none; }
html[data-shell="quiet"][data-q-tiny] #topbar #testPill:not([hidden]) {
  grid-column:1 / -1; padding-inline:.375rem; justify-self:start;
}
/* (William 2026-12-02, "always visable") where the row has no room for the version (data-q-bar-tight from quiet.js, a little before data-q-tiny) it takes its own small line
   under Sync's end, inside the bar: the row itself is as before (packed at data-q-tiny). On a phone the test site's mark takes that room, so there it always does. */
html[data-shell="quiet"]:not([data-q-tiny]):is([data-q-bar-tight], [data-q-width="phone"]:has(#topbar .testpill:not([hidden]))) #topbar header { padding-block-end:calc(var(--q-size-small) * 1.2 + .25rem); }
html[data-shell="quiet"]:not([data-q-tiny]):is([data-q-bar-tight], [data-q-width="phone"]:has(#topbar .testpill:not([hidden]))) #topbar #quietVer { position:absolute; inset-inline-end:.75rem; inset-block-end:.25rem; margin:0; }
html[data-shell="quiet"][data-q-width="phone"]:not([data-q-tiny]):is([data-q-bar-tight], :has(#topbar .testpill:not([hidden]))) #topbar #quietSync { margin-inline-start:auto; }   /* (review f-0c9ed075: the version gave the row its push; out of the row, Sync takes it) */
html[data-shell="quiet"][data-q-tiny] #topbar #quietVer { order:1; grid-column:1 / -1; justify-self:end; margin-inline-start:0; padding-inline:.375rem; }
html[data-shell="quiet"][data-q-tiny] #topbar header > :is(#quietSync, #rambleBtn, .help-wrap, .appmenu-wrap) { min-inline-size:0; }
html[data-shell="quiet"][data-q-tiny] #topbar :is(#hdrCompany, #quietSync, #rambleBtn, #helpBtn, #appMenuBtn) {
  gap:0; margin-inline:0; padding-inline:.1875rem;
}
html[data-shell="quiet"][data-q-tiny] #topbar #hdrCompany:not([hidden]) {
  display:block; box-sizing:border-box; inline-size:100%; max-inline-size:none;
  padding-inline:.125rem; text-align:start; white-space:nowrap;
}
html[data-shell="quiet"][data-q-tiny] #topbar #hdrCompany[role="button"] { padding-inline-end:.75rem; }
html[data-shell="quiet"][data-q-tiny] #topbar #hdrCompany[role="button"]::after {
  position:absolute; inset-inline-end:.125rem; pointer-events:none;
}
@media (max-width:16rem) {
  #mydayView[data-look="quiet"] .k-chipbar > .k-filters > .csr-box.vb-search,
  [data-look="quiet"] :is(.k-ax, .k-tab, .k-fbtn, .k-viewbar .btn) {
    box-sizing:border-box; min-inline-size:0; max-inline-size:100%; white-space:normal;
  }
}
@media (max-width:16rem) and (pointer:coarse) {
  html[data-shell="quiet"][data-q-width="phone"] #topbar header { grid-template-columns:minmax(44px,1fr) repeat(4,minmax(44px,auto)); }
  html[data-shell="quiet"][data-q-width="phone"] #topbar :is(#quietSync, #rambleBtn, #helpBtn, #appMenuBtn) { inline-size:100%; min-inline-size:44px; }
}
@media (max-width:13rem) and (pointer:coarse) {
  html[data-shell="quiet"][data-q-width="phone"] #topbar header { grid-template-columns:minmax(44px,1fr) repeat(4,minmax(44px,auto)); }
  html[data-shell="quiet"][data-q-width="phone"] #topbar :is(#rambleBtn, #helpBtn, #appMenuBtn) { min-inline-size:44px; }
}

/* (audit r3: a total said twice) a table's foot that only repeats the number above it */
[data-look="quiet"] .k-footwrap [data-q-said], [data-look="quiet"] .k-footwrap[data-q-said] { display:none; }

/* (audit r3, Q1 38, Q2 9 and 25: "Search Search", and a box 1,100 px wide at 1920) where the box shows its own words the second word is not drawn, and the box stops at 24rem */
html[data-shell="quiet"][data-q-width="wide"] .k-viewbar .csr-box.vb-search:not(.vb-sicon):has(input:placeholder-shown)::after { content:none; }
html[data-shell="quiet"][data-q-width="wide"] .k-viewbar .csr-box.vb-search { max-inline-size:24rem; }

/* (audit r3, Q1 15, Personal Q5 1 and 12: "Short tasks" headed an empty section) a Short tasks section with nothing in it and no box of its own is not drawn */
[data-look="quiet"] .md-quick:not(:has(.qi-list > *, .qi-add:not([hidden]))) { display:none; }

/* (audit r3) New task: each box with its name above it */
[data-look="quiet"] .q-fl { display:flex; flex-direction:column; gap:.25rem; min-inline-size:0; font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] .q-fl > :is(select, input) { inline-size:100%; }
:is([data-look="quiet"], html[data-shell="quiet"] :is(#loginGate, #joinGate, #resetGate)) .q-fl > label { cursor:pointer; }   /* (a name that focuses its box is pressed like one, rule 16) */

/* (audit r3, Q2 4 and 22: long project names ran off the screen) a project card's name and its phase line wrap inside the card */
[data-look="quiet"] .pjcard { min-inline-size:0; max-inline-size:100%; }
[data-look="quiet"] .pjcard :is(.pjcard-h, .pjcard-name, .pjcard-name a) { min-inline-size:0; white-space:normal; overflow-wrap:break-word; }
[data-look="quiet"] .pjcard > * { min-inline-size:0; overflow-wrap:break-word; white-space:normal; }   /* (audit r3, Q2-opus 29: a word breaks only when it cannot fit on a line alone, never "primar y") */

/* (audit r3, Q2 20: the chosen "All tasks" row was a full-width band in the company colour, 25.14) the chosen row of the project list is a neutral highlight with a firmer weight */
#projectView[data-look="quiet"] #pjList :is(.troot, .trow).sel { background:var(--q-hover); font-weight:500; }

/* (audit r3, Q4 7: on a day with one time, its Remove and unticking the day both closed it) Remove shows from a day's second time; the tick closes a day */
[data-look="quiet"] .hwk-wins:not(:has(.hwk-win + .hwk-win)):not(#drawer .hwk-wins) .hwk-x { display:none; }   /* (page audit: a day's panel has no tick to close its sleep or work time, so its Remove stays, as on live) */
/* (Q4 8: at 200 % the time boxes cut off AM/PM) a time box is as wide as its own text */
[data-look="quiet"] .hwk-win input[type="time"] { min-inline-size:8.5em; }

/* (audit r3, Q4-opus 20, Personal Q5 52: the sign-in and Connect pages had no background glows; Q5 53: the form kept 340 px at Large text, so "Create account" wrapped,
   and the Shared device tick was 28 px on touch) the gates wear the page's glows, the form is measured in text, and the tick is a full target */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard { width:min(24rem, 92vw); max-width:92vw; }
html[data-shell="quiet"] #loginGate .lg-shared { min-block-size:var(--q-control); display:inline-flex; align-items:center; gap:.5rem; }
html[data-shell="quiet"] #loginGate .lg-shared input { inline-size:1.25rem; block-size:1.25rem; }

/* (Personal Q5 17) the sign-in boxes with their names above; a box the form hides takes its name with it */
html[data-shell="quiet"] :is(#loginGate, #joinGate, #resetGate) .q-fl { display:flex; flex-direction:column; gap:.25rem; color:var(--q-muted); }
html[data-shell="quiet"] :is(#loginGate, #joinGate, #resetGate) .q-fl:has(> input[hidden]) { display:none; }
html[data-shell="quiet"] #cnGate .cn-warn { position:relative; padding:0 0 0 1rem; border:0; background:var(--q-clear); font-weight:500; }
html[data-shell="quiet"] #cnGate .cn-warn::before { content:""; position:absolute; inset:.46em auto auto 0; inline-size:.4375rem; block-size:.4375rem; border-radius:50%; background:var(--q-attention); }

[data-look="quiet"] .ktable td.num :is(button, a) { justify-content:flex-end; text-align:end; padding-inline:0; }
/* (Personal Q5 40: at 375 the person's circle sat on its own line above the name) the circle and the name keep one line; a long name ends in an ellipsis */
[data-look="quiet"] .ktable td.k-who { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* (page audit, rule 6: a project's task at 768 px, Move, the tick and a two-line name, was cut at the cell's edge) below the wide band the name cell wraps and shows all of itself */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td.k-title:has(> .pjt-move) { white-space:normal; overflow:visible; overflow-wrap:break-word; }
[data-look="quiet"] #qCalNone { margin:.25rem 0 .5rem; color:var(--q-text); font-size:var(--q-size-body); }
[data-look="quiet"] .al-bar select { flex:none; inline-size:auto; max-inline-size:100%; }   /* (audit r3, Q3-opus 8: Add alert was a full-width box) */
/* (audit r3, Q3-opus 18, 20: below 1024 a table shows only its key columns; their saved widths left the name column squeezed to about 140 px, wrapping to six lines, while the
   rest of the row stood empty) the key columns share the row, the name first */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:not([data-q-compare]) col:not([data-q-detail], [data-k="_bulk"], [data-k="_act"], .q-row-end) { width:auto !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table] thead th:is(.k-title, [data-kt-col="person"], [data-kt-col="what"], [data-kt-col="title"]) { width:60%; }
/* (2026-11-27, table-widths at 375 px: a kept action column held a wide screen's 92 to 176 px and the name took 60 %, so People's Open tasks and Space people's Role had 0 px and
   Holidays' date 45) below 1024 a kept action column is as wide as its buttons (--q-act, quiet.js actFit), the other kept column has the room its words need, the name takes the rest */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][style*="--q-act"] > colgroup > col[data-k="_act"] { width:var(--q-act) !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:is([data-kt="teampeople"], [data-kt="spaceppl"], [data-kt="holidays"]) thead th:is([data-kt-col="person"], [data-kt-col="title"]) { width:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="teampeople"] col[data-k="tasks"] { width:6.5rem !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="spaceppl"] col[data-k="role"] { width:8rem !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="holidays"] col[data-k="date"] { width:8rem !important; }
/* (audit r3, Q3-opus 20: a long name in Workload and At risk was cut to a bare "…": the name is an inline box, so the cut keeps its first letters) */
[data-look="quiet"] .ktable td.wl-person :is(.wl-name, .wl-name > a) { display:inline; }
html[data-shell="quiet"]:not([data-q-width="wide"]) #atriskBody .ktable[data-q-table] thead th.k-title { width:60%; }   /* (the page's own 9 rem, for its wide table, kept the name squeezed) */
/* The project subtitle gets its own lines, counted in the row's height just like the title. */
html:not([data-q-width="wide"]) [data-look="quiet"] #atriskBody .ktable td.k-title:has(> .ar-where) { padding-block:.375rem; }
html:not([data-q-width="wide"]) [data-look="quiet"] #atriskBody .ktable td.k-title > .k-rowlink { display:flex; align-items:center; padding-block:0; min-block-size:var(--q-control); }
html:not([data-q-width="wide"]) [data-look="quiet"] #atriskBody .ktable td.k-title > .ar-where { display:block; }
/* (audit r3, Q3-astra 15: at 375 the Meetings list cut its When before the hour) the date and time wrap instead */
html:not([data-q-width="wide"]) [data-look="quiet"] :is(#eventsBody, #showsBody) .ktable[data-q-table] td:not([data-q-detail], .k-title) { white-space:normal; overflow:visible; text-overflow:clip; }
/* (page audit re-judge 11: at 768 Time off's reason ran its row past the frame and cut Approve to "Ap") the words wrap so the row's buttons stay in view */
html:not([data-q-width="wide"]) #timeoffView[data-look="quiet"] .ktable td:not(:has(button)) { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
/* (audit r3, Q1-opus 22, 25, 39, Q1-astra 14) Quick add: the sheet fits the window and scrolls inside at 200 % text, its foot wraps instead of running off, and the foot's second
   Cancel goes (the heading's Cancel is one tap away) */
[data-look="quiet"]#quickModal .sheet, [data-look="quiet"] #quickModal .sheet { display:flex; flex-direction:column; max-block-size:calc(100dvh - 1rem); max-inline-size:min(400px, calc(100vw - 1rem)) !important; }
[data-look="quiet"]#quickModal .sheetbody, [data-look="quiet"] #quickModal .sheetbody { overflow:auto; min-block-size:0; }
[data-look="quiet"]#quickModal .sheetfoot, [data-look="quiet"] #quickModal .sheetfoot { flex-wrap:wrap; gap:.5rem; }
[data-look="quiet"]#quickModal #quickCancel, [data-look="quiet"] #quickModal #quickCancel { display:none; }
/* Keep Chromium's native light date and time glyphs across every dark Quiet Look surface. */
html[data-shell="quiet"]:not([data-theme="light"]) input:is([type="date"], [type="time"]) { color-scheme:dark; }
html[data-shell="quiet"]:not([data-theme="light"]) input:is([type="date"], [type="time"])::-webkit-calendar-picker-indicator { filter:none; opacity:1; }
/* (audit r3, Q1-opus 19: "Primary Discuss…": the project's tag before the title read as the title's first word) the tag has a tag's outline */
/* (round 4, Q5-opus 28, 25.2: the project code had a box; Q1 8, Q2 10: on a short event it ate the name) the code is plain muted words, and a short event shows its name alone (the code stays in its title; 1.0.156 keeps the code first on every other block) */
[data-look="quiet"] :is(.blk, .mchip) .pc-tag { border:0; padding:0; background:var(--q-clear); color:var(--q-muted); }
[data-look="quiet"] .blk.short .pc-tag { display:none; }
/* (William 2026-11-26: "Primary" read as the first word of the title) the project's code, or the first word of its name, stays in front of the title (1.0.156) and is set apart from it by a dot */
[data-look="quiet"] :is(.blk, .mchip) .pc-tag::after { content:" \00b7"; font-weight:400; }
/* (audit r3, Q1-opus 21: a meeting in Month was a solid near-black chip) as in Week and Day, a meeting is a light neutral block */
[data-look="quiet"] .mchip.ev:not(.hol) { background:color-mix(in oklab, var(--q-surface) 80%, var(--event) 20%); color:var(--q-text); }
/* (audit r3, Q1-opus 3: the priority dot was the same grey for every priority) the priority is its word alone */
[data-look="quiet"] span.badge.k-pri::before { content:none; }
/* (round 4, Q1 7: High and Low had no dot) a dot in the meaning colour before each priority's word: Critical the fault colour, High attention, Medium and Low neutral (Low hollow) */
[data-look="quiet"] span.badge.k-pri:is(.k-pv1, .k-pv2, .k-pv3, .k-pv4)::before { content:""; }
[data-look="quiet"] span.badge.k-pv1::before { background:var(--q-fault); }
[data-look="quiet"] span.badge.k-pv2::before { background:var(--q-attention); }
[data-look="quiet"] span.badge.k-pv4::before { background:var(--q-clear); box-shadow:inset 0 0 0 1.5px var(--q-neutral); }
/* (audit r3, Q1-opus 40: on a phone a month chip was cut to "Sa…", its project tag taking the room) a phone's month chip shows the title alone */
html[data-q-width="phone"] [data-look="quiet"] .mchip .pc-tag { display:none; }
[data-look="quiet"] .ktable[data-q-table] [data-q-empty] { display:none; }   /* (a column empty on every row: markTable) */
/* (audit r3, Q5-opus 37: "Show the AI audit log" was a bare disclosure line) a disclosure that opens a section has a button's shape */
[data-look="quiet"] .set-sec details > summary { display:inline-flex; align-items:center; min-block-size:var(--q-control); padding:0 .75rem; border:1px solid var(--q-edge); border-radius:.375rem; cursor:pointer; }
/* (final audit r2, rule 25 part 11: keep cost columns beside one another, never stacked or squeezed) */
[data-look="quiet"] .tc-wrap { border:0; border-radius:0; background:var(--q-clear); }
[data-look="quiet"] .tc-table th { text-transform:none; letter-spacing:0; font-size:var(--q-size-small); background:var(--q-clear); white-space:normal; vertical-align:bottom; }
[data-look="quiet"] .tc-table { table-layout:auto; width:max-content; min-width:0; }
/* (audit r3, Q4-opus 33: each reminders sentence sat closer to the next choice than to its own) a choice and its sentence keep together, with room before the next */
[data-look="quiet"] .acct-opt { margin:0 0 .75rem !important; }
[data-look="quiet"] .acct-opt > .hint { margin-block-start:.125rem; }
/* (audit r3, Q5-opus 10: "You" after the name and the same person's circle under People) on a computer, where People shows, a task with one person says who once */
html[data-q-width="wide"] [data-look="quiet"] .ktable tr:has(td.k-who:not([data-q-detail]) .pchip):not(:has(td.k-who .pchip ~ .pchip)) .lv-nw { display:none; }
/* (audit r3, Q5-opus 22: at 375 a meeting's time range split over two lines) on a phone the label takes its own line and the two times share the next */
html[data-q-width="phone"] [data-look="quiet"] .ed-time-row { flex-wrap:wrap; column-gap:.375rem; }
html[data-q-width="phone"] [data-look="quiet"] .ed-time-row .tdlbl { flex-basis:100%; }
html[data-q-width="phone"] [data-look="quiet"] .ed-time-row input[type="time"] { flex:1 1 0; min-inline-size:0; inline-size:auto; }
/* (audit r3, Q2-opus 6: Board cards were plain rows with lines; guide picture 04a draws soft lifted cards) a Board card is a soft card in its column */
/* (round 4, Q2 9, Q2-opus: the board card had a rectangle edge; guide picture 04 and part 2: a card you pick up or move is a soft lifted surface with no border) */
[data-look="quiet"] .kbcard { background:var(--q-surface); border:0; border-radius:.625rem; box-shadow:0 1px 2px color-mix(in oklab, var(--q-text) 8%, transparent), 0 2px 8px color-mix(in oklab, var(--q-text) 6%, transparent); padding:.625rem .75rem; margin-block-end:.5rem; }
[data-look="quiet"] .kbcard:hover { background:var(--q-hover); }
[data-look="quiet"] .kbcard.k-open { background:var(--q-tint); }
#timelineView[data-look="quiet"] .gantt .gname { white-space:normal; overflow-wrap:break-word; line-height:1.25; }   /* (audit r3, Q2-astra 5: names shrank to prefixes; they wrap whole) */

/* (audit r3, Q1 6) at 1024 the List's status cell may take two lines, so the task's name is not cut to 12 letters and the table does not slide; the List's search box stops at 24rem as the bar's does (Q1 38: it was 1,050 px at 1920) */
html[data-shell="quiet"]:not([data-q-width="phone"]) [data-look="quiet"] td.k-statuscell .badge { white-space:normal; overflow:visible; max-inline-size:none; }
html[data-shell="quiet"]:not([data-q-width="phone"]) [data-look="quiet"] .ktable:not(.kt-fixed) td.k-title { min-inline-size:10.5rem; }
html[data-shell="quiet"]:not([data-q-width="phone"]) [data-look="quiet"] td.k-statuscell { white-space:normal; }
html[data-shell="quiet"]:not([data-q-width="phone"]) [data-look="quiet"] .ktable:not(.kt-fixed) td.k-statuscell { min-inline-size:8rem; }
html[data-shell="quiet"][data-q-width="wide"] .k-viewbar .csr-box.vb-search:not(.vb-sicon):is(*, :has(input:placeholder-shown)) { max-inline-size:24rem; }   /* (outranks the folded-search rule at the top, which set none) */
/* (audit r3, Q2-opus 28) a Timeline bar's name that does not fit ends in "…" instead of stopping mid-word; on a phone the Active / On hold / All projects tabs keep a gap between them */
[data-look="quiet"] .glab { text-overflow:ellipsis; }
html[data-q-width="phone"] [data-look="quiet"] .k-tabs { column-gap:.5rem; }   /* (wider and the Timeline's bar takes a third row, rule 4) */
/* (audit r3, Q2-opus 10: a second "My account" beside the header's) My hours sits under My account, whose header button is lit on this page and opens it in one tap, so the page's own way back is not drawn twice */
html[data-shell="quiet"] #hoursHead #hrsBackAcct { display:none; }
/* (audit r3, Q2-opus 29, Q2-astra 5: "primar y" at 375) a calendar block's title wraps between words; only a word wider than the block itself is broken */
[data-look="quiet"] .blk.task:not(.short) .t { overflow-wrap:normal; word-break:normal; text-overflow:ellipsis; }   /* (final gate, part 10: "Hartma / n" broke inside a word in a narrow day column; a word is never split, and one wider than its block ends in "...") */
@media (pointer:coarse) { #drawer[data-look="quiet"] .q-rare-add .q-rare-btn { min-height:var(--q-touch); } }   /* (house rule 22: 44 px on a touch screen) */
html[data-shell="quiet"] #qViewsMenu [aria-current="page"] { background:var(--q-tint); font-weight:500; }   /* (the open page, when it is one of the row's under More) */
/* (morning list C, audit r3 Q2-opus 19, rule A14 each fact once) All projects shows each project once, as its card: the list below keeps the lists (All tasks, No project, the owners'
   list, closed projects) and no longer repeats the projects with the same figures */
html[data-shell="quiet"] #pjList .tree > .tnode { display:none; }
/* (morning list D, audit r3 Q2-opus 28: five controls that all zoom) the Timeline keeps Weeks / Months / Quarters and Fit; Zoom out, the slider and Zoom in are not drawn (Alt + wheel and pinch still zoom) */
html[data-shell="quiet"] #timelineHead .tl-zbar { display:none; }
/* (round 4, Q4 1-2) Access: below 160 characters a list of people, each row opening that person's page (25.11, one layer at a time); a name opens it at every width */
html[data-shell="quiet"] #accessBody .ac-list { display:none; }
html[data-shell="quiet"]:not([data-q-width="wide"]) #accessBody .ac-wide { display:none; }
html[data-shell="quiet"]:not([data-q-width="wide"]) #accessBody .ac-list { display:block; }
html[data-shell="quiet"] #accessBody ul.ac-list { list-style:none; margin:0 var(--q-gutter); padding:0; }
html[data-shell="quiet"] #accessBody .ac-list li + li { border-top:1px solid var(--q-line); }
html[data-shell="quiet"] #accessBody .ac-row { display:grid; gap:.125rem; inline-size:100%; min-block-size:var(--q-control); padding:.625rem 0; border:0; background:var(--q-clear); color:var(--q-text); text-align:start; font:400 var(--q-size-body)/1.35 var(--font-sans); cursor:pointer; }
html[data-shell="quiet"] #accessBody .ac-row :is(.ac-e, .ac-r) { font-size:var(--q-size-small); color:var(--q-muted); overflow-wrap:anywhere; }
html[data-shell="quiet"] #accessBody .ac-name { padding:0; border:0; background:var(--q-clear); color:var(--q-text); font:inherit; text-align:start; cursor:pointer; }
html[data-shell="quiet"] #accessBody .ac-person { margin:0 var(--q-gutter); max-inline-size:40rem; }
html[data-shell="quiet"] #accessBody .ac-pname { margin:.75rem 0 .125rem; font:500 var(--q-size-title, 1.25rem)/1.3 var(--font-sans); overflow-wrap:anywhere; }
html[data-shell="quiet"] #accessBody .ac-pmail { margin:0 0 .75rem; overflow-wrap:anywhere; }
html[data-shell="quiet"] #accessBody .ac-fields { display:grid; gap:0; margin-block-end:1rem; }
html[data-shell="quiet"] #accessBody .ac-f { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem 1rem; min-block-size:var(--q-control); padding:.375rem 0; border-bottom:1px solid var(--q-line); }
html[data-shell="quiet"] #accessBody .ac-f > select { min-inline-size:10rem; }
/* (round 4, shared pattern 2: task and project names were 16 px tall targets on Today, the List, the Board and the project cards) a name that opens its record is at least the
   control's height (32 px with a mouse, the touch floor with a finger), growing with the text; its words stay one line with an ellipsis where they did */
[data-look="quiet"] .k-rowlink { display:inline; padding-block:max(0px, calc((var(--q-control) - 1lh) / 2)); }   /* (inline, so a long name ends in an ellipsis in its cell rather than the whole name turning into "…"; its padding still widens the press area) */
[data-look="quiet"] .k-rowlink.md-title { display:inline-flex; padding-block:0; }   /* (final audit, rule 22: the Today card's title is not a table cell; drawn inline it measured 29 px tall on a touch tablet, so it keeps its own full control height) */
/* (Calendar, round 4: a half-hour event stays its real length, as the calendar rule says; its press area reaches half way to the next event, so a minimum height is not added) */
/* the record's width chooser reaches the floor on a touch screen; there the thin resize edge is not drawn, since a 44 px edge would hang outside the record (it scrolled sideways) and the chooser sets the width in one tap (round 4, Q2 3, Q3 9, Q3-opus 7) */
[data-look="quiet"] .drawerhead > .q-record-tools select { min-block-size:var(--q-control); font-size:var(--q-size-small); }
@media (pointer:coarse) {
  #drawer[data-look="quiet"] > .q-record-resize { display:none; }
}
/* (final audit r2, rule 6: desktop Filter grows with its page; the phone dialog covers the page and scrolls alone) */
[data-look="quiet"] .k-fpanel, html[data-q-width="wide"] [data-look="quiet"] .k-fpanel { max-block-size:none; overflow:visible; }
/* (final gate, part 4: at 768 and 1440 a long Filter put Clear all, Save as tab and Close below the window) its foot sticks to the window's foot while the panel runs past it, and the panel still grows with its page, no scroller inside it */
[data-look="quiet"] .k-fpanel > .k-ffoot { position:sticky; inset-block-end:max(0px, calc(var(--q-nav-clear, 8px) - 8px)); z-index:1; background:var(--q-surface); padding-block-end:.5rem; }
/* (final audit r2, rule 4: List's person choice shares one question and wraps on its own line when needed) */
#listView[data-look="quiet"] .k-fgrp[data-vbgrp="side"] .k-whosw { flex:0 1 auto; min-inline-size:0; max-inline-size:100%; flex-wrap:wrap; }
@media (max-width:39.9375em) {
  html[data-shell="quiet"][data-q-filter-open] { overflow:hidden; }
  [data-look="quiet"] .k-fpanel, html[data-q-width="wide"] [data-look="quiet"] .k-fpanel { max-block-size:calc(100dvh - 1rem - var(--safe-t, 0px)); overflow:auto; overscroll-behavior:contain; translate:none; }
  /* (final gate, rules 6 and 22: the last choice must never sit under the footer; a tall sheet scrolls to both) */
  [data-look="quiet"] .k-fpanel > .k-ffoot { position:static; flex-wrap:wrap; }
}
/* (round 4, Q5 4: the current-time line crossed event words) the line runs behind the events: each event is drawn over it */
#calView[data-look="quiet"] .nowline { z-index:1; }
#calView[data-look="quiet"] #calBody .blk { z-index:2; }
#calView[data-look="quiet"] #calBody .blk.sel { z-index:3; }
/* (round 4, Q5 1: on Sign in, "Your name" sat over the email box and "Confirm password" had no box) a box's name goes with its box: a hidden box takes its name with it */
html[data-shell="quiet"] .q-fl:has(> :is(input, select, textarea)[hidden]) { display:none; }
/* (round 4, Q5-opus 4, Q1 6: on a phone six rows of controls came before Now, Start about 600 px down) on a phone Today opens on what to do now: its title, any notice, then
   the Now card, then the figures, the bar and the add box, then the day's table. Only the order on screen changes; the keyboard order follows it */
@media (max-width:39.9375em) {
  #mydayView[data-look="quiet"] { display:flex; flex-direction:column; }
  #mydayView[data-look="quiet"] > #mydayHead { display:contents; }
  #mydayView[data-look="quiet"] > #mydayHead > .k-head { order:0; }
  #mydayView[data-look="quiet"] > :is(#pageNotice, #rHost), #mydayView[data-look="quiet"] > #mydayHead > .md-preview { order:1; }
  #mydayView[data-look="quiet"] > #mydayHead > :is(.k-tiles, .k-chipbar) { order:2; }   /* (final audit, rule 25 part 8 line 847: the same order on every page, title, key figures, views, then the content, whose first item is what is due now) */
  #mydayView[data-look="quiet"] > #mydayNow { order:3; }
  #mydayView[data-look="quiet"] > #mydayAdd { order:4; }
  #mydayView[data-look="quiet"] > #mydayBody { order:5; }
  #mydayView[data-look="quiet"] > #mydayFoot { order:6; }
}
/* (round 4, Q4-opus 18-19, Q5-opus 30: Theme and Text size looked different in the menu and on My account; Text size sat about 10 px inside the Theme row) one look for a chosen
   choice in both places, a tint with a line, and every row starts at the same edge */
html[data-shell="quiet"] :is(#appMenu, #acctModal) .seg button.on, html[data-shell="quiet"] #topbar #appMenu .seg button.on { background:var(--q-tint); border:1px solid var(--q-clear); border-bottom:2px solid var(--q-mark); border-radius:.375rem .375rem 0 0; }
html[data-shell="quiet"] #acctModal #acctTextSize { padding:0; }
/* ("Plan for me" was a label with nothing to choose) while there is one way to plan, the page says what Momentum does, without a name over it */
html[data-shell="quiet"] #acctPlanModeBody:not(:has(.e3a-optw + .e3a-optw)) .e3a-opt { display:none; }
/* (Q4-opus 16-17, Q5-opus 31: the email wrapped at 1440, and "Your hours, reminders and sign-in" had no button's shape) the account line is a button with an edge, one line each */
html[data-shell="quiet"] #appMenu .amuser { border:1px solid var(--q-edge); }
html[data-shell="quiet"] #appMenu .amuser > * { max-inline-size:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html[data-shell="quiet"] #appMenu:not([hidden]) { min-inline-size:min(20rem, calc(100vw - 2rem)); }
/* (round 4, Q3-opus 6-7, Q2 3: a chosen person sat in a tinted box with a 22 x 16 px x; a person's circle was 26 x 26 on a touch screen) a chosen person is their circle and name,
   plain, with an x that reaches the floor; every person circle that is pressed reaches the touch floor on a touch screen */
[data-look="quiet"] :is(.pp-tag, .inv-chip) { background:var(--q-clear); border:0; padding:0; box-shadow:none; }
[data-look="quiet"] :is(.pp-tag, .inv-chip) > button { min-inline-size:var(--q-control); min-block-size:var(--q-control); padding:0; border:0; background:var(--q-clear); color:var(--q-muted); cursor:pointer; }
@media (pointer:coarse) {
  [data-look="quiet"] :is(.inv, .asg, .asgrow, .ppcell, .pp-chosen) .pchip { min-inline-size:var(--q-touch); min-block-size:var(--q-touch); display:inline-grid; place-items:center; }
}
/* (audit r4, Q2-opus 7, A5) a project's mark is a small square, so it never looks like a status dot */
html[data-shell="quiet"] .dot { border-radius:.125rem; }
/* (audit r4, Q2-opus 13) Back sits where A project has it: first in the head of a full-page record, before its title */
#drawer[data-look="quiet"][data-q-frame="full"] .drawerhead > #drawerClose { order:-1; margin-inline:0 .5rem; }
#drawer[data-look="quiet"][data-q-frame="full"] .drawerhead { flex-wrap:wrap; }
#drawer[data-look="quiet"][data-q-frame="full"] .drawerhead > #drawerTitle { margin-inline-end:auto; flex-basis:min-content; overflow-wrap:break-word; }
/* (audit r4, Q2-opus 14) the whole project line is the button; its "Go to project" word is plain, not a small box of its own */
[data-look="quiet"] .td-projline .td-pjgo .td-pjgo-w { border:0; padding:0; background:none; color:var(--q-text); text-decoration:underline; text-underline-offset:.2em; }
[data-look="quiet"] label.k-fopt.lv-group-project { display:inline-flex; align-items:center; gap:.375rem; margin:.375rem var(--q-gutter) 0; padding:0; border:0; border-radius:0; background:var(--q-clear); font:400 var(--q-size-small)/1.2 var(--font-sans); color:var(--q-text); }
[data-look="quiet"] label.k-fopt.lv-group-project > input { inline-size:1.125rem; block-size:1.125rem; margin:0; cursor:pointer; }
@media (pointer:coarse) { [data-look="quiet"] label.k-fopt.lv-group-project > input { inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem); } }
[data-look="quiet"] .ktable tbody th.lv-group-head { text-align:start; letter-spacing:0; }
#listView[data-look="quiet"] #taskTable .lv-group-btn:hover { background:var(--q-hover); }   /* (a group's fold button is lit under the pointer; its heading stays clear) */
#listView[data-look="quiet"] #taskTable .lv-group-n { color:var(--q-muted); font-weight:400; }
[data-look="quiet"] .ktable td .rolebadge { margin-inline-start:.25rem; color:var(--q-muted); font-weight:400 !important; }
/* (audit r4, Q2-opus 2: Board columns were cut at 768, at 375 and at 1440 with large text, with nothing to show there was more) the columns sit side by side while each has 17 characters' room and wrap under each other when they do not, so no column is cut */
[data-look="quiet"] :is(.kbcols, .kbcols.kb-donefold) { display:flex; flex-wrap:wrap; align-items:flex-start; }
[data-look="quiet"] .kbcols > .kbcol { flex:1 1 14rem; min-inline-size:min(100%, 14rem); }   /* (page audit F18a: at 768 with the rail, two 17rem columns pushed a folded Closed onto its own row) */
[data-look="quiet"] .kbcols > .kbcol.kb-folded { flex:0 0 auto; min-inline-size:max-content; align-self:flex-start; }
/* (audit r4, Q2-opus 4: at 768 the tabs touched and "All projects 2" wrapped onto its own line) a set of tabs keeps one line, moving under the search as a whole first; its tabs keep a gap */
[data-look="quiet"] .k-viewbar .k-filters > :is(.k-tabs, .k-tgroups) { flex:0 0 auto; max-inline-size:100%; }
[data-look="quiet"] .k-tabs { column-gap:.5rem; }
/* (audit r4, Q2-opus 23, rule 25.14) the Timeline's today is in the text colour, marked by its line, not in the company colour */
[data-look="quiet"] .gtk-now, [data-look="quiet"] .gtk-now .gtk-t { color:var(--q-text); }
/* (audit r4, Q2-opus 20: the "Centred" chooser had no label in sight) the record's width chooser says what it sets */
[data-look="quiet"] .q-record-mode > label.k-vh { position:static; inline-size:auto; block-size:auto; margin:0 .25rem 0 0; clip:auto; clip-path:none; overflow:visible; white-space:nowrap; color:var(--q-muted); font-size:var(--q-size-small); }
/* (audit r4, Q1-opus 10: at 1024 the List was cut at its right edge, "Add person" and the row's More out of sight) in a row or card that already has a person, that person's circle is the way to add or change people (one tap: "change who is on it"); the extra Add person shows only where nobody is on it yet */
[data-look="quiet"] :is(td.k-who, .kbcard-a) .ppcell:has(.pchip) > .ppadd { display:none; }
/* (audit r4, Q1-opus 10) a List too wide for its frame: its cells may take a second line and the title column shares the room, so nothing is cut or slides */
[data-look="quiet"] .ktablecard[data-q-tight] .ktable :is(td, th):not(.bulkcol, .k-act, .k-actcol) { white-space:normal; }
[data-look="quiet"] .ktablecard[data-q-tight] .ktable :is(td, th).k-title, [data-look="quiet"] .ktablecard[data-q-tight] .ktable col[data-k="title"] { width:auto; max-inline-size:none; }
/* (audit r4, Q1-astra 3, Q5-astra 6: the done circle overlapped the row above and the name's second line) in a table the done circle has a place of its own at the start of its cell, within its row; a long name wraps beside it, never under it */
[data-look="quiet"] .ktable td:has(> .tick) { padding-inline-start:calc(var(--q-control) + .75rem); text-indent:calc(-1 * (var(--q-control) + .25rem)); }
[data-look="quiet"] .ktable td > .tick { margin:0 .25rem 0 0; vertical-align:middle; }
/* Reset inherited indent at the tick and its siblings, without a :has() rule invalidating unrelated DOM changes. */
[data-look="quiet"] .ktable td > :is(.tick, .pjt-move), [data-look="quiet"] .ktable td > .tick ~ * { text-indent:0; }
/* Phone Month uses up to two lines at word boundaries; the full title remains on the chip and in the day or record. */
html[data-q-width="phone"] #calView[data-look="quiet"] .mchip { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; overflow-wrap:normal; block-size:auto; min-block-size:var(--q-control); line-height:1.2; padding-block:0; }
[data-look="quiet"] .inv .inv-pick.pchip { display:inline-flex; inline-size:auto; max-inline-size:100%; block-size:auto; min-inline-size:var(--q-control); min-block-size:var(--q-control); gap:.25rem; padding:.25rem .4375rem; border:1px solid var(--q-edge); border-radius:999px; color:var(--q-text); white-space:normal; overflow-wrap:anywhere; }
[data-look="quiet"] .inv .inv-pick.pchip[aria-pressed="true"] { background:var(--q-tint); border-color:transparent; }
[data-look="quiet"] .inv .inv-pick.pchip[aria-pressed="true"]::before { content:"\2713\00a0"; }
html[data-q-width="phone"] [data-look="quiet"] .k-viewbar { gap:.375rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar { align-items:flex-start; column-gap:.25rem; }
html[data-q-width="phone"] [data-look="quiet"] .k-viewbar .k-actions { gap:.375rem; }
html[data-q-width="phone"] [data-look="quiet"] .k-viewbar :is(.k-fbtn, .k-actions .btn) { padding-inline:.5rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar :is(.k-fbtn, .k-actions .btn) { padding-inline:.375rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar .cal-nav { gap:.25rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar .cal-nav-range { gap:0; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar .k-tabs { column-gap:2px; min-inline-size:0; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-viewbar .k-tab { padding-inline:.25rem; }
/* (audit r4, Q1-opus 9: the date range wrapped to "Nov 21 – / Dec / 4" between its arrows) the range keeps one line; the buttons beside it move to the next line first */
#calView[data-look="quiet"] #calKit .k-viewbar .cal-nav { flex:0 1 auto; flex-wrap:wrap; row-gap:.25rem; max-inline-size:100%; }
[data-look="quiet"] .cal-nav-range { flex:0 1 auto; max-inline-size:100%; }
[data-look="quiet"] .cal-nav-range .cal-range { flex:1 1 auto; min-inline-size:0; inline-size:auto; white-space:normal; overflow-wrap:normal; }
[data-look="quiet"] .cal-nav .btn { flex:none; }
/* Leave a second toolbar row for the Calendar's dates, search and More below wide. */
@media (max-width:63.9375em) {
  #calView[data-look="quiet"] #calKit .k-viewbar .cal-nav { flex:1 1 max(9rem, calc(100% - 12rem)); min-inline-size:0; }
}
[data-look="quiet"] #kitShowMore { margin-inline-start:auto; }
#listView[data-look="quiet"] .ktable td.k-why { white-space:normal; overflow-wrap:anywhere; }
/* Compact task lists have three retained columns: selection, task and deadline.
   Keep selection at its touch width; give Task the larger share while keeping Due date readable. */
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="tasks"] thead th.k-title { width:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="tasks"] thead th[data-kt-col="deadline"] { width:38%; }
/* At the smallest widths, size Due date for its words instead of taking 38% of the whole row before selection and the row-end link. */
html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] col[data-k="deadline"] { width:72px !important; }
@media (min-width:20rem) {
  html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] col[data-k="deadline"] { width:4.5rem !important; }
}
html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] :is(th[data-kt-col="deadline"], td[data-cuk="deadline"], td.k-title) { padding-inline:.25rem; }
html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] col[data-k="_bulk"] { width:52px !important; }
html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] .bulkcol :is(button, input) { inline-size:44px; min-inline-size:44px; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table][data-kt="tasks"] :is(td:not([data-q-detail], .bulkcol, .k-title), [data-kt-col="deadline"] .kt-lab) { white-space:normal; overflow-wrap:anywhere; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td:has(> .tick) { text-indent:0; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td > .tick { float:inline-start; margin-inline-start:calc(-1 * (var(--q-control) + .25rem)); }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td.k-title > .k-rowlink { display:block; inline-size:auto; max-inline-size:100%; }
/* Give the name and short hand-off label one line when they fit; long names still wrap beside the tick. */
html:not([data-q-width="wide"]) #listView[data-look="quiet"] .ktable[data-kt="tasks"] td.k-title > .k-rowlink:has(+ .lv-nw) { display:inline; }
/* (final audit, rule 6) The inline name's press padding reaches past its cell; it is cut at the cell's edge so it never covers the next row. The cell grows with the name, so no words are cut. */
html:not([data-q-width="wide"]) #listView[data-look="quiet"] .ktable[data-kt="tasks"] td.k-title:has(> .k-rowlink + .lv-nw) { overflow:clip; }
html[data-q-width="phone"]:not([data-q-tiny]) #listView[data-look="quiet"] .ktable[data-kt="tasks"] td.k-title:has(> .tick) { padding-inline:calc(var(--q-control) + .375rem) .25rem; }
html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] td.k-title > .tick { float:none; margin:0 .25rem .125rem 0; }
/* Keep the two touch targets at 44px, and let the task use the recovered room. */
@media (max-width:16rem) {
  html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] :is(col[data-k="_bulk"], col.q-row-end) { width:44px !important; }
  html[data-q-width="phone"][data-q-tiny] #listView[data-look="quiet"] .ktable[data-kt="tasks"] :is(th,td).q-row-end { width:44px; }
}
@media (max-width:16rem) {
  html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td:has(> .tick) { padding-inline-start:.25rem; }
  html:not([data-q-width="wide"]) [data-look="quiet"] .ktable td > .tick { float:none; margin:0 .25rem .125rem 0; }
}
/* (audit r4, Q2-opus 29) A project says a fact once: the completed count is in words, so its bar is not drawn as well; an empty Repair orders line with nothing to do is left out; Attachments keeps its Attach file, without "None yet." */
#projectView[data-look="quiet"] .pjv-bar { display:none; }
#projectView[data-look="quiet"] .pjv-ros:not(:has(button, a, select, input)) { display:none; }
#projectView[data-look="quiet"] .pjv-docs > .hint { display:none; }
/* (audit r4, Q2-opus 31-32, Q2-astra 6: on a tablet the Move buttons touched and names dropped under Move) a task's Move and done circle hold the line's start; a long name wraps beside them */
[data-look="quiet"] .ktable td:has(> .tick):has(> .pjt-move) { padding-inline-start:calc(4.5em + var(--q-control) + 1rem); text-indent:calc(-1 * (4.5em + var(--q-control) + .5rem)); }
[data-look="quiet"] .ktable td > .pjt-move { inline-size:4.5em; padding-inline:0; margin:.125rem .25rem .125rem 0; vertical-align:middle; }
/* (audit r4, Q2-opus 28: a quick note said its progress twice, "0%" beside a slider at 0, and its boxes could be resized) the slider says it, with its value read out; the boxes keep their size */
#projectView[data-look="quiet"] .notecard .notePct { display:none; }
#projectView[data-look="quiet"] .notecard textarea { resize:none; }
/* (audit r4, Q2-opus 24: Time at 375 broke each project name one word per line while Difference stood 240 px wide: the page's own 30 % name column outranked the shared 60 %)
   the name takes the room and Difference wraps */
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody .ktable[data-q-table] :is(th, td).k-title { width:60%; }
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody .ktable[data-q-table] td:not([data-q-detail], .k-title) { white-space:normal; overflow:visible; text-overflow:clip; }
/* (audit r4, Q2-opus 8: the folded Closed column's name sat 6 px above Active and On hold) its name keeps the same 32 px line as theirs, Show under it */
[data-look="quiet"] .kbcol.kb-folded > .kbhead > .kbname { display:flex; align-items:center; min-block-size:2rem; }
/* (audit r4, Q2-opus 10: a company's name that does not fit its piece of the My hours bar; quiet.js marks it) */
[data-look="quiet"] .hrs-seg[data-q-cut] { color:transparent; }
/* (audit r4, Q2-opus 32: a table's status and priority words were cut with no ellipsis, "Critica") a word in a table cell keeps its whole width; the name column gives way */
[data-look="quiet"] .ktable td .badge { min-inline-size:max-content; overflow:visible; }
[data-look="quiet"] .c3-today .c3-tt { max-width:100%; }   /* (the 34 px it kept free held nothing, and cut "Time off until Mon 23 Nov" by its last letters) */
/* (audit r4, Q3-astra 10: at Large text the initials ran outside their circle) a person's circle grows with the text size; (1.0.157, William 2026-10-22: "can we make the people card bigger") it holds the widest three letters, an AI Helper's AIW, inside its 2 px ring: 2em of letters + the ring */
[data-look="quiet"] .pchip { min-inline-size:calc(2em + 4px); min-block-size:calc(2em + 4px); }
#drawer[data-look="quiet"][data-q-fits]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]).open { position:fixed; inset-block:calc(var(--safe-t) + .5rem) auto; }
/* (audit r4, Q3-opus 25: on Time off "As of 9:46 AM" took a row of its own above the bar and pushed the main action down) on the Team pages it is the page's last small line, as At risk's "Plan made at" */
:is(#timeoffView, #myteamView, #atriskView, #workloadView)[data-look="quiet"] > [id$="Head"], :is(#timeoffView, #myteamView, #atriskView, #workloadView)[data-look="quiet"] > [id$="Head"] > .k-head:has(> .k-fresh) { display:contents; }
:is(#timeoffView, #myteamView, #atriskView, #workloadView)[data-look="quiet"] > [id$="Head"] > .k-head:has(> .k-fresh) > .k-headtxt { padding-inline:var(--q-gutter); margin-block:.75rem .25rem; }
:is(#timeoffView, #myteamView, #atriskView, #workloadView)[data-look="quiet"] > [id$="Head"] > .k-head > .k-fresh { order:20; align-self:flex-start; margin:.5rem 0 0; text-align:start; padding-inline:var(--q-gutter); }
/* (a tab row breaks only when it is wider than the bar itself: the actions take the next row first, so "Agenda" never drops under Day) */
[data-look="quiet"] .k-viewbar .k-filters > .k-tabs,
#calView[data-look="quiet"] #calKit .k-viewbar .k-tabs { flex:0 0 auto; min-inline-size:0; max-inline-size:100%; }
/* (audit r4, Q3-opus 11, Q2-opus 33: "No shows of yours this month." stood at the window's edge, outside the page's margin) it keeps the bar's margin */
#calView[data-look="quiet"] .q-calnone { padding-inline:var(--q-gutter); }
/* (audit r4, Q3-opus 9) the people picker's own "People" name shows only where its row has no name of its own (New event); an opened meeting's row already says Who's going */
[data-look="quiet"] .inv-lab { display:block; margin-block-end:.25rem; font-size:var(--q-size-small); color:var(--q-muted); }
[data-look="quiet"] .tdrow .inv-lab { display:none; }
/* (audit r4, Q3-opus 9: New event was laid out unlike the opened meeting) its fields sit in the same name-then-field rows by panel container width */
@container (min-width:30.0625rem) {
  #drawer[data-look="quiet"] #evForm > .row2:first-of-type { display:grid; grid-template-columns:8rem minmax(0, 12rem); gap:.5rem 1rem; align-items:center; }
  #drawer[data-look="quiet"] #evForm > .row2:first-of-type > .ev-lbl { display:contents; font-size:var(--q-size-small); color:var(--q-muted); }
  #drawer[data-look="quiet"] #evForm > .row2:nth-of-type(2) { display:grid; grid-template-columns:8rem minmax(0, 9rem) minmax(0, 9rem); gap:.5rem; column-gap:1rem; align-items:center; }
  #drawer[data-look="quiet"] #evForm > .row2:nth-of-type(2)::before { content:"Time each day"; font-size:var(--q-size-small); color:var(--q-muted); }
  #drawer[data-look="quiet"] #evForm > #eRepeatRow { display:block; }
  #drawer[data-look="quiet"] #evForm > #eRepeatRow > .ev-lbl { display:grid; grid-template-columns:8rem minmax(0, 19rem); column-gap:1rem; align-items:center; font-size:var(--q-size-small); color:var(--q-muted); }
  #drawer[data-look="quiet"] #evForm > #eAttendees > .inv { display:grid; grid-template-columns:8rem minmax(0, 1fr); column-gap:1rem; }
  #drawer[data-look="quiet"] #evForm > #eAttendees > .inv > * { grid-column:2; }
  #drawer[data-look="quiet"] #evForm > #eAttendees > .inv > .inv-lab { grid-column:1; grid-row:1; align-self:center; margin:0; }
}
/* (final audit r2, rule 6: the signed-out screen grows and scrolls as a page, not a fixed panel) */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) { position:relative; inset:auto; min-block-size:100dvh; align-items:safe center; justify-content:safe center; overflow:visible; }
html[data-shell="quiet"][data-q-gate] body > :is(#topbar, #quietNav, #viewRow, main) { display:none; }
/* (audit r4, Q5-opus 39: the sign-in Help was 23-29 px wide) its summary is a full-size target */
html[data-shell="quiet"] #loginGate .lg-help > summary { display:inline-flex; align-items:center; justify-content:center; min-inline-size:2.75rem; min-block-size:2.75rem; padding-inline:.5rem; cursor:pointer; }
/* (audit r4, Q5-opus 38: the offline message's lines ran into each other) the message keeps a readable line height */
html[data-shell="quiet"] #loginGate .loginerr { line-height:1.45; min-block-size:0; }
/* (audit r4, Q4-opus 11: "Reason for this change" was a 1,392 px box) it is as wide as a sentence */
[data-look="quiet"] .admin-reason { display:flex; flex-direction:column; align-items:stretch; gap:.25rem; max-inline-size:40rem; text-align:start; }
[data-look="quiet"] .admin-reason > input { inline-size:100%; }
/* (audit r4, Q5-astra 9: My account at 375 scrolled inside its panel while the page behind it scrolled too) while a dialog that scrolls by itself is open, the page behind holds still */
html[data-shell="quiet"][data-q-lock-scroll], html[data-shell="quiet"][data-q-lock-scroll] body { overflow:hidden; }
/* (page audit, judge 13: My account ran past the window's foot and cut off Sign out at every width) the sheet fits the window, its settings scroll inside, and Sign out and Close stay in view */
html[data-shell="quiet"] #acctModal .sheet { display:flex; flex-direction:column; max-block-size:calc(100dvh - 2rem); overflow:hidden; }
html[data-shell="quiet"] #acctModal .sheetbody { flex:1 1 auto; min-block-size:0; overflow:auto; overscroll-behavior:contain; }
html[data-shell="quiet"] #acctModal .sheet > :is(.sheethead, .sheetfoot) { flex:none; position:static; background:var(--q-clear); }
/* (audit r4, Q4-opus 6: on the sign-in and connect pages a status line was a filled amber box) it is the plain line with a coloured dot used on every page */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .k-state { display:flex; align-items:flex-start; gap:.5rem; padding:.25rem 0; color:var(--q-text); background:var(--q-clear); border:0; border-radius:0; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .k-state:not(.loading)::before { content:""; flex:none; align-self:flex-start; margin-block-start:.45em; inline-size:.4375rem; block-size:.4375rem; border-radius:50%; background:var(--q-neutral); }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .k-state.degraded::before { background:var(--q-attention); }
/* (audit r4, Q5-opus 34: at Compact text on the iPad some words kept the old fixed 13 px beside 10.5 px labels, and Space settings and the task record mixed 13 and 14 px) these follow the text size too */
html[data-shell="quiet"] [data-look="quiet"] :is(.md-meta, .md-lt, .d3-home, .d3-why, .hrs-h3, .hwk-win, .loc-nm, .loc-hrs, .loc-go, .set-h, [id^="tdSecH"], #tdStart, #tdDead, #tdNotes, #cm1Text, .hwk-on, .hwk-s, .hwk-e) { font-size:var(--q-size-body); }
html[data-shell="quiet"] #settingsView[data-look="quiet"] :is(summary, p, .loc-row span) { font-size:var(--q-size-body); }
html[data-shell="quiet"] #mydayView[data-look="quiet"] #mydayAdd label.q-addquick { font-size:var(--q-size-small); }
/* ---- page audit round 3 (2026-11-29) ---- */
/* (F5c) Today's lines: the tick stays beside its words when a long title wraps, never on a line of its own */
[data-look="quiet"] .md-line .md-ln { display:flex; align-items:center; gap:.5rem; min-inline-size:0; }
[data-look="quiet"] .md-line .md-ln > .k-rowlink { display:flex; min-inline-size:0; overflow-wrap:break-word; }
/* (F5c) below 1024 Today's day table gives When the room its times need and What the rest */
/* (F5a) on a phone the figures sit two to a row, the line only between the two of a row */
@media (max-width:39.9375em) {
  [data-look="quiet"] .k-tiles { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); }
  [data-look="quiet"] .k-tile:nth-child(odd) { padding-inline-start:0; border-inline-start:0; }
  [data-look="quiet"] .k-tile:nth-child(even) { padding-inline-start:1rem; border-inline-start:1px solid var(--q-line); }
}
/* (F11a) on a wide screen a table with saved widths still fills its page: the one flexible column (the name) takes the spare room, so names are not cut short beside an empty strip */
html[data-q-width="wide"] [data-look="quiet"] .ktablecard:has(> table.kt-fixed[data-q-table] col[data-kt-flex]) { width:100% !important; }
html[data-q-width="wide"] [data-look="quiet"] table.kt-fixed[data-q-table]:has(col[data-kt-flex]) { min-width:100%; }
/* Fixed columns keep their saved widths even if Customize hides a column or Quiet adds a row-end control. Let the visible columns set the table's minimum width. */
html[data-q-width="wide"] [data-look="quiet"] table.kt-fixed[data-q-table]:not(:has(col[data-kt-flex])) { width:0 !important; }
html[data-q-width="wide"] [data-look="quiet"] .ktablecard:has(> table.kt-fixed[data-q-table]):not(:has(col[data-kt-flex])) { width:max-content !important; }
html[data-q-width="wide"] [data-look="quiet"] table.kt-fixed[data-q-table] col[data-kt-flex] { width:auto !important; }
/* (final audit, part 11) a table drawn to its contents gives its slack column (Production's Product, Repair's Unit) the width its widest entry needs, up to 40rem, instead of the old full-width trick that cut it at 10rem beside an empty page */
html[data-q-width="wide"] [data-look="quiet"] .ktable:not(.kt-fixed) td.k-slack { max-inline-size:40rem; }
/* (F12a) a question's button sits at the end of its row, under the row's other ends, not partway along it */
#questionsView[data-look="quiet"] .mq-row > .mq-copy + * { margin-inline-start:auto; }
/* (page audit F18b: a project on the Projects board is a lifted card, as a task on the Board is: guide picture 04, rule 25 part 2) */
[data-look="quiet"] .kbcol .pjcard { background:var(--q-surface); border:0; border-radius:.625rem; box-shadow:0 1px 2px color-mix(in oklab, var(--q-text) 8%, transparent), 0 2px 8px color-mix(in oklab, var(--q-text) 6%, transparent); padding:.625rem .75rem; margin-block-end:.5rem; }
/* (page audit F20b, rule 25 part 16: a page's main action stays on its bar at every width) on the Projects board New project is the main action, so it stays on the bar below 1024 too */
@media not all and (min-width:64em) {
  [data-look="quiet"] :is([data-vb="pk"], [data-vb="pkm"]) #kbNewProject.k-np { display:inline-flex; align-items:center; justify-content:center; }   /* (final gate, part 10: as a flex box its word stretched to the top of the 44 px button; it is centred) */
  [data-look="quiet"] :is([data-vb="pk"], [data-vb="pkm"]) #kbNewProjectM.k-np-m { display:none; }
  [data-look="quiet"] :is([data-vb="pk"], [data-vb="pkm"]) .k-npmore:not(:has(.k-menu > :not(.k-np-m))) { display:none; }
}
/* (page audit F25a: at phone width the Move button and the tick left a task's title a 4-word column) Move takes its own line above the tick and title, and the title wraps under the tick */
html[data-q-width="phone"] [data-look="quiet"] .ktable td:has(> .tick):has(> .pjt-move) { padding-inline-start:.75rem; text-indent:0; }
html[data-q-width="phone"] [data-look="quiet"] .ktable td > .pjt-move { display:flex; justify-content:center; inline-size:4.5em; margin:.125rem 0 .375rem; text-indent:0; }

/* audit 13 group A: My Work controls, records and calendar */
/* (F16, rule 25 parts 4–5) Calendar set and Work/Home choices keep an edge even when unselected. */
[data-look="quiet"] :is(.cc-mode, .ib-wh) > .k-chip:not(.on) { border-color:var(--q-edge); }
/* (F16, rule 25 part 4) Keep the add mark and readable words; an unavailable provider stays disabled. */
[data-look="quiet"] .cc-add .btn .ico { display:inline; }
[data-look="quiet"] .cc-add .btn:disabled { opacity:1; color:var(--q-muted); cursor:default; border-style:dashed; }
[data-look="quiet"] .cc-add .btn:disabled:hover { background:var(--q-clear); }
/* (F17, rule 25 parts 2 and 16) No Captured footer band; Auto-schedule the rest stays its one filled action (final audit, rule 16: with its tint taken away the page had none). */
[data-look="quiet"] .ib-foot { position:static; background:var(--q-clear); }
/* (F20c, rule 25 parts 4 and 16) One tinted primary and a secondary action with a button edge. */
#drawer[data-look="quiet"] #btnAI.primary { background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); color:var(--q-text); font:500 var(--q-size-small)/1.25 var(--font-sans); min-block-size:var(--q-control); }
#drawer[data-look="quiet"] #btnAIFull { justify-self:start; display:inline-flex; align-items:center; min-block-size:var(--q-control); padding-inline:.625rem; border:1px solid var(--q-edge); border-radius:.375rem; color:var(--q-text); text-decoration:none; font:500 var(--q-size-small)/1.25 var(--font-sans); }
#drawer[data-look="quiet"] #btnAIFull:hover { background:var(--q-hover); }
/* (F21a, rule 25 part 10) On a phone Start and Mark complete share the first line; secondary actions share the next. */
html[data-q-width="phone"] #drawer[data-look="quiet"] .td-acts:not([data-q-work="running"]) > :is(.td-work, .td-donebar):not([hidden]) { display:contents; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .td-acts[data-q-work="start"][data-q-answer-cancel]::before { content:""; order:1; flex-basis:100%; block-size:0; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .td-acts[data-q-work="start"][data-q-answer-cancel] :is(#tdAnswerOpen, #tdCancelOpen, #tdCancelBox) { order:2; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .td-donebar > #tdCancelOpen { margin-inline-start:0; }
/* (F21b, rule 6) The quiet task record grows with the page, including the split list/record on a tablet. */
html[data-shell="quiet"][data-q-width="narrow"] body.drawer-open:has(#drawer[data-look="quiet"].open #taskModal:not([hidden])) { overflow:visible; }
html[data-q-width="narrow"] #drawer[data-look="quiet"][data-q-frame="full"].open:has(#taskModal:not([hidden])) > .drawerbody { flex:none; max-block-size:none; overflow:visible; }
/* (F21c, rule 25 part 19) End-of-record controls clear the floating navigation even when a legacy bottom bar changes body padding. */
html[data-shell="quiet"][data-q-width="phone"][data-q-full-record="page"] body { padding-block-end:0; }
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"].open { padding-block-end:calc(max(var(--q-nav-clear, 0px), var(--q-clearance, 0px)) + .75rem); }
/* (F21d, rule 6) The phone's task action group moves with the fields, not over Snooze. */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"] .td-acts:has(> :not([hidden])) { position:static; }
/* (F21e/F22, guardrail 2 and settled decision 6) The bulk record already has a heading and one Back/Close; the inline form still has its own Cancel. */
#drawer[data-look="quiet"] .cpy-box[data-cpywhere="bulk"] { padding-inline:0; border:0; border-radius:0; }
#drawer[data-look="quiet"] .cpy-box[data-cpywhere="bulk"] :is(.cpy-h, [data-cpycancel]) { display:none; }
/* (F23a, rule 25 part 10) Give Filter a clear gap from the view tabs on a phone. */
html[data-q-width="phone"] #calView[data-look="quiet"] #calKit .k-tabs { margin-inline-end:.5rem; }
/* (F23b, rule 25 part 10) Give Month chip words the available width and wrap a word too long for one cell. */
html[data-q-width="phone"] #calView[data-look="quiet"] .mcell { padding-inline:.125rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] .mchip { padding-inline:.125rem; overflow-wrap:anywhere; }
/* (F28a, rule 25 part 4) The frame selector is a reachable control, not a label with a loose chevron. */
#drawer[data-look="quiet"] .drawerhead .q-record-mode > select { border-color:var(--q-edge); color:var(--q-text); }
#drawer[data-look="quiet"] .drawerhead .q-record-mode > select:hover { border-color:var(--q-edge); background-color:var(--q-hover); }
/* (F31, rule 22) The square itself is at least 24 px on mouse and touch; the label is also clickable. */
[data-look="quiet"] :is(.ownerchk, .q-addquick) > input[type="checkbox"] { min-inline-size:max(24px, 1.5rem); min-block-size:max(24px, 1.5rem); }
/* (F35, rule 25 part 4) Where today opens a sheet, so it has a button edge. */
[data-look="quiet"] .c3-chip.k-chip:not(.on) { border-color:var(--q-edge); }
/* (F37b/F37c, guardrail 2 and rule 25 part 13) Plain rows with a hairline; an unread dot has the existing New word beside it. */
#drawer[data-look="quiet"] .e4b-e { background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0; margin:0; padding-inline:0; }
#drawer[data-look="quiet"] .e4b-e:is(:hover, :focus-visible) { background:var(--q-hover); }
#drawer[data-look="quiet"] .e4b-e .e4b-c { color:var(--q-text); font-weight:500; }
#drawer[data-look="quiet"] .e4b-e .e4b-dot { inline-size:.4375rem; block-size:.4375rem; }
#drawer[data-look="quiet"] .e4b-e .e4b-sr { position:static; clip:auto; inline-size:auto; block-size:auto; overflow:visible; font:inherit; }

/* audit 13 group B: Projects and Meetings */
/* (F19a, rule 25 part 2) On a phone each project column gets its own line, including folded Closed. */
html[data-q-width="phone"] [data-look="quiet"] .pkcols > .kbcol { flex:0 0 100%; min-inline-size:0; }
html[data-q-width="phone"] [data-look="quiet"] .pkcols > .pk-closed.kb-folded .kbhead { flex-direction:row; justify-content:space-between; }
html[data-q-width="phone"] [data-look="quiet"] .pkcols > .pk-closed.kb-folded .pkdrop { min-height:var(--q-control); }
/* (F19c, rule 25 part 10) Project-list counts end at the same edge when the access button sits below the row. */
html[data-q-width="phone"] #projectView[data-look="quiet"] #pjList .trow { padding-inline:.5rem; }
html[data-q-width="phone"] #projectView[data-look="quiet"] #pjList .trow:has(> .cl) { display:grid; grid-template-columns:auto auto minmax(0, 1fr) auto; }
html[data-q-width="phone"] #projectView[data-look="quiet"] #pjList .trow > .cl { grid-column:3 / -1; justify-self:start; }
/* (F20, rule 25 part 16) Save is the dialog's main action; sending to the whole team stays outlined danger (rule 9). */
#askModal[data-look="quiet"] #askOk.primary { background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
#askModal[data-look="quiet"] #askOk.primary:hover { filter:brightness(1.08); }
#meetingModal[data-look="quiet"] #meetingGo { color:var(--q-fault); border-color:var(--q-fault); }
/* (F22, settled decision 6) Leave one close; Back/Close on the repair-order form keeps a typed draft. */
#drawer[data-look="quiet"] :is([data-at-cancel], #rmCancel) { display:none; }
/* (F24, rule 25 part 10) Mark Today above the date row and continue the line inside the chart. */
#timelineView[data-look="quiet"] .ghead .gnow { block-size:22px; inset-block-end:auto; }
#timelineView[data-look="quiet"] .gbody :is(.gseg, .gmark, .gwait) { z-index:1; }
#timelineView[data-look="quiet"] .gbody .gmark { z-index:2; }   /* (audit 15) a target diamond stays above the next phase's bar or wait stripe, as in the classic chart */
/* (F26, rule 25 part 2) Full-page meeting and event forms reach the foot of the tablet canvas. */
html[data-q-width="narrow"] #drawer[data-look="quiet"][data-q-frame="full"].open:has([data-drawer="event"]:not([hidden]), [data-drawer="eventd"]:not([hidden])) { min-block-size:calc(100dvh - var(--q-top-height, 0px)); }
/* (F37a, rule 1) Keep every Management comparison column; only the table scrolls sideways. */
html[data-q-width="phone"] #mgmtModal[data-look="quiet"] #mgmtBody .ktablecard:has(> [data-kt="usage"]) { inline-size:100%; max-inline-size:100%; min-inline-size:0; overflow-x:auto; }
html[data-q-width="phone"] #mgmtModal[data-look="quiet"] .ktable[data-kt="usage"] { min-inline-size:max-content; }
/* (F38b, rule 25 parts 9–10) Let the task name use the full row and grow if it wraps. */
html[data-q-width="phone"] [data-look="quiet"] .tc-table .tc-task td:first-child { block-size:auto; max-inline-size:none; line-height:1.45; padding-block:.25rem; overflow:visible; overflow-wrap:anywhere; }
html[data-q-width="phone"] [data-look="quiet"] .tc-table .tc-task .tc-tog { flex:none; }
/* (F41a, rule 1) Give the example the whole input width; Redo plan takes the next line. */
html[data-q-width="phone"] #aiModal[data-look="quiet"] .ai-steer-row { flex-direction:column; align-items:stretch; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] #aiRedo { align-self:flex-end; }

/* audit 13 group D: Personal space and Front door */
/* (F36a, rule 25 part 10) three wide letters such as OO1 stay inside the ring, with a gap before the border */
[data-look="quiet"] #peopleList .pchip { box-sizing:border-box; inline-size:max(26px, calc(2.45em + 8px)); block-size:max(26px, calc(2.45em + 8px)); min-inline-size:calc(2.45em + 8px); min-block-size:calc(2.45em + 8px); padding:2px; line-height:1; white-space:nowrap; }

/* audit 13 group C: Operations, Team and Company settings */
/* (F28b, rule 14) Without a reset action the Parts & labor table needs no tool row. */
#drawer[data-look="quiet"] .shopdsec > .kt-tools:not(:has(button)) { display:none; }
/* (F29a, rules 12 and 22) Keep initials next to the name; the badge is not its own tap target. */
html[data-q-width="phone"] #teamView[data-look="quiet"] #peopleList td.k-who {
  --q-people-initials:max(26px, calc(2.45 * var(--q-size-small) + 8px)); white-space:nowrap;
}
html[data-q-width="phone"] #teamView[data-look="quiet"] #peopleList td.k-who .pchip {
  inline-size:var(--q-people-initials); block-size:var(--q-people-initials); min-inline-size:0; min-block-size:0; margin-inline-end:.25rem;
}
html[data-q-width="phone"] #teamView[data-look="quiet"] #peopleList td.k-who .pnm {
  display:inline-block; max-inline-size:calc(100% - var(--q-people-initials) - .25rem); margin-inline-start:0; white-space:normal; overflow-wrap:anywhere;
}
/* (F29b, rule 25 part 11) The shared Manager column, not each select's options, sets the displayed width. */
#teamView[data-look="quiet"] #peopleList .rtSel { inline-size:100%; max-inline-size:100%; }
/* (F30b, rule 25 part 9) On wide screens the Hours changes actions fit on one line. */
html[data-q-width="wide"] #timeoffView[data-look="quiet"] [data-kt="t0hours"] .t0-act { flex-wrap:nowrap; }
html[data-q-width="wide"] #timeoffView[data-look="quiet"] [data-kt="t0hours"] .t0-act > button { flex:none; white-space:nowrap; }
/* (F30c, rule 14) The explanatory note is not drawn at any width. */
#timeoffView[data-look="quiet"] #timeoffFoot .k-note { display:none; }
/* (F31, rule 22) Show a 24 px square; on touch the label makes the target at least 44 px. */
[data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) > input[type="checkbox"] {
  appearance:none; display:inline-grid; place-items:center; box-sizing:border-box; inline-size:max(24px, 1.5rem); block-size:max(24px, 1.5rem);
  padding:0; margin:0; border:1.5px solid var(--q-edge); border-radius:.25rem; background:var(--q-clear); cursor:pointer;
}
[data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) > input[type="checkbox"]:checked { color:var(--q-bg); background:var(--q-text); border-color:var(--q-text); }
[data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) > input[type="checkbox"]:checked::before {
  content:""; inline-size:.625rem; block-size:.375rem; border:solid currentColor; border-width:0 0 2px 2px; transform:translateY(-.0625rem) rotate(-45deg);
}
[data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) > input[type="checkbox"]:disabled { opacity:.55; cursor:default; }
[data-look="quiet"] #apInviteRow > .hint { padding-inline-start:calc(max(24px, 1.5rem) + 8px); }
@media (pointer:coarse) {
  [data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) { min-block-size:var(--q-touch); align-items:center; }
}
@media (forced-colors:active) {
  [data-look="quiet"] label:is(.ap-chk, .ail-chk, .admin-chk) > input[type="checkbox"] { appearance:auto; }
}
/* (F31b, rule 19b) Keep each Save next to the field it acts on, without a note pushing it away. */
html:not([data-q-width="phone"]) [data-look="quiet"] #adminMappings .set-row.admin-described { flex-wrap:nowrap; align-items:center; }
html:not([data-q-width="phone"]) [data-look="quiet"] #adminMappings .set-row.admin-described > div { flex:0 1 18rem; min-inline-size:0; }
html:not([data-q-width="phone"]) [data-look="quiet"] #adminMappings .set-row textarea { inline-size:100%; }
/* (F32a, rule 12) The row opens the record: give each row a visible way-in cue. */
html[data-shell="quiet"] #accessBody .ac-row { grid-template-columns:minmax(0, 1fr) auto; }
html[data-shell="quiet"] #accessBody .ac-row:hover { background:var(--q-hover); }
html[data-shell="quiet"] #accessBody .ac-row > span { grid-column:1; }
html[data-shell="quiet"] #accessBody .ac-row::after {
  content:""; grid-area:1 / 2 / 4 / 3; align-self:center; margin-inline-end:.25rem;
  inline-size:.375rem; block-size:.375rem; border:solid var(--q-edge); border-width:1.5px 1.5px 0 0; transform:rotate(45deg);
}
[data-look="quiet"] tr[data-ail] > td:first-child { text-decoration:underline; text-underline-offset:.18em; }
/* (F33, rules 2 and 22) The initials button has the same visible height as its neighbours. */
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn { min-block-size:var(--q-control); border:1px solid var(--q-edge); border-radius:.5rem; }
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn[aria-current="page"] { border-bottom:2px solid var(--q-mark); }
html[data-shell="quiet"][data-q-width="phone"] #topbar #appMenuBtn .acct-badge { border:0; }



/* (F41b, rule 6) The restore list scrolls within the dialog, clear of both window edges. */
#restoreModal[data-look="quiet"] { overflow:hidden; }
#restoreModal[data-look="quiet"] > .sheet { max-block-size:calc(100dvh - var(--safe-t, 0px) - var(--safe-b, 0px) - 2rem); overflow:hidden; }
#restoreModal[data-look="quiet"] .sheetbody { min-block-size:0; overflow:auto; overscroll-behavior:contain; }
#restoreModal[data-look="quiet"] :is(.sheethead, .sheetfoot) { flex:none; position:static; }
/* audit 14 lead: (F20 kept New project on the Timeline bar; rule 4: a view bar is at most two rows) on a phone the scale shares its row with New project and More, its words a little closer */
html[data-q-width="phone"] #timelineView[data-look="quiet"] .k-viewbar .tl-zoom { flex:1 1 11rem; min-inline-size:0; }   /* (11rem: too wide for the tabs row, so it opens the second row beside the actions) */
html[data-q-width="phone"] #timelineView[data-look="quiet"] .tl-seg { flex:1 1 auto; min-inline-size:0; }
html[data-q-width="phone"] #timelineView[data-look="quiet"] .tl-segb { flex:1 1 auto; padding-inline:.375rem; }

/* audit 14 group E: My Work layout and controls */
/* (E2, rule 25 part 11) Size the actual When column, including when Kind is hidden. */
html:not([data-q-width="wide"]):not([data-q-tiny]) #mydayView[data-look="quiet"] .ktable[data-kt="myday"] col[data-k="when"] { width:10rem !important; }
html:not([data-q-width="wide"]) #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] :is(th, td).k-title { width:auto; }
html:not([data-q-width="wide"]) #mydayView[data-look="quiet"] .ktable[data-kt="myday"] tbody td:first-child { white-space:normal; }
/* (E3, rules 1 and 22) Align the schedule with the controls; prose still has a readable measure. */
html[data-q-width="wide"] #mydayView[data-look="quiet"] > :is(#mydayNow, #mydayBody, #mydayFoot) { max-inline-size:none; }
html[data-q-width="wide"] #mydayView[data-look="quiet"] #mydayNow .md-card { max-inline-size:75ch; }
/* A Done changes the height of Right now; let the browser move the wide agenda without repainting its table. */
html[data-q-width="wide"] #mydayView[data-look="quiet"] #mydayBody { will-change:opacity; }
/* (E4, R-search) Keep a real search field beside the date strip on a tablet. */
html[data-q-width="narrow"] #calView[data-look="quiet"] #calKit .k-viewbar .cal-nav { flex:0 1 auto; }   /* (final audit, rule 4: the dates took all but 16rem of the row, so More fell to a third row at 768; the dates keep their own width and search takes the rest) */
html[data-q-width="narrow"] #calView[data-look="quiet"] #calKit .csr-box.vb-search { flex:1 1 12rem; inline-size:auto; min-inline-size:12rem; max-inline-size:16rem; padding-inline:.625rem; gap:.375rem; justify-content:flex-start; }   /* (final audit, part 10: at 768 the box shrank to 8 rem and cut its own words, "Search tasks and ever") */
html[data-q-width="narrow"] #calView[data-look="quiet"] #calKit .csr-box.vb-search input { flex:1; inline-size:100%; min-inline-size:0; padding:.25rem 0; opacity:1; }
html[data-q-width="narrow"] #calView[data-look="quiet"] #calKit .csr-box.vb-search::after { content:none; }
/* (final gate, rule 4: with the search box wide enough for its words, Day's long date pushed More to a third row at 768) below 1024 px the tabs, Filter, New task and More
   share the first row and the dates and the search the second */
@media (max-width:63.99875em) { html[data-q-width="narrow"] #calView[data-look="quiet"] #calKit .k-viewbar :is(.k-tabs, .k-fwrap, #calNewTask, .k-actmore) { order:-1; } }
/* (E5, rule 22) Clamp the label, not the whole touch target; ellipsize rather than split a word. */
html[data-q-width="phone"] #calView[data-look="quiet"] .month-cells { grid-template-columns:repeat(7, minmax(0, 1fr)); }
html[data-q-width="phone"] #calView[data-look="quiet"] .mchip:has(> .q-month-title) { display:block; align-content:center; }
html[data-q-width="phone"] #calView[data-look="quiet"] .mchip > .q-month-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; overflow-wrap:normal; hyphens:manual; text-overflow:ellipsis; white-space:normal; line-height:1.2; }   /* (final audit, part 10: a word is never split; one too long for the day ends in an ellipsis, as "Rebuil/d" did not) */
/* (final audit, part 10: Month titles were cut to a few letters on a phone, "Spring trade...", and to one line on a tablet, where two "Rebuild ..." chips could not be told apart: a phone shows three lines of whole words, a tablet two) */
html[data-q-width="narrow"] #calView[data-look="quiet"] #monthGrid .mchip:has(> .q-month-title) { display:block; align-content:center; block-size:auto; white-space:normal; }
html[data-q-width="narrow"] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:normal; text-overflow:ellipsis; white-space:normal; line-height:1.2; }
/* (E6, rule 25 part 11 Style B) Give the text columns the spare room on wide lists and keep Due compact on phones. */
html[data-q-width="wide"] #listView[data-look="quiet"] .ktablecard:has(> .ktable:is([data-kt="tasks"], [data-kt="b3wait"])) { inline-size:100%; }
html[data-q-width="wide"] #listView[data-look="quiet"] .ktable:is([data-kt="tasks"], [data-kt="b3wait"]) { inline-size:100%; }
html[data-q-width="wide"] #listView[data-look="quiet"] .ktable:is([data-kt="tasks"], [data-kt="inbox"]) td.k-title { white-space:normal; overflow-wrap:break-word; }
html[data-q-width="wide"] #listView[data-look="quiet"] .ktable[data-kt="b3wait"] col[data-k="what"] { width:24% !important; }
html[data-q-width="wide"] #listView[data-look="quiet"] .ktable[data-kt="b3wait"] :is(th, td).k-title { width:auto; }
html[data-q-width="phone"]:not([data-q-tiny]) #listView[data-look="quiet"] .ktable[data-kt="tasks"] thead th[data-kt-col="deadline"] { width:5.75rem; }
#listView[data-look="quiet"] .ktable[data-kt="b3wait"] td.k-why { padding-block:.375rem; }
/* (E8, rule 25 part 4) Let Search give up width before More wraps away from Filter. */
html[data-q-width="narrow"] #listView[data-look="quiet"] .k-viewbar .csr-box.vb-search:not(:focus-within):has(input:placeholder-shown) { flex-basis:8rem; min-inline-size:8rem; }
/* (E9, rule 25 part 2) On the tablet the three My Work columns share one row. */
html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .kbcols { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); }
html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .kbcols.kb-donefold { grid-template-columns:repeat(2, minmax(0, 1fr)) max-content; }
html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .kbcols > .kbcol:not(.kb-folded) { min-inline-size:0; overflow-wrap:anywhere; }
/* (E10, rule 25 part 19) Put the clearance after the pane content, in the same scrolling page as its controls. */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"].open { padding-block-end:0; }
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"].open > .drawerbody { flex:none; max-block-size:none; overflow:visible; padding-block-end:calc(max(var(--q-nav-clear, 0px), var(--q-clearance, 0px)) + .75rem); }
/* (E11, rule 14) The inline form continues the action row instead of repeating its heading in a card. */
#drawer[data-look="quiet"] #tdCopyForm .cpy-box { padding-inline:0; border:0; border-radius:0; background:var(--q-clear); }
#drawer[data-look="quiet"] #tdCopyForm .cpy-h { display:none; }
/* (E14, rule 25 part 16) Continue is the dialog's only main action. */
#workJoinModal[data-look="quiet"] #wjGo.primary { background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); color:var(--q-text); }
#workJoinModal[data-look="quiet"] #wjGo.primary:hover { filter:brightness(1.08); }

/* audit 14 group F: Projects, Meetings, Operations, Team and Settings */
/* (final audit r2, rule 25 part 11: Time, Workload and Usage keep every measure; only their card slides) */
[data-look="quiet"] .ktablecard:has(> [data-q-compare]) { width:max-content; min-width:0; max-inline-size:100%; overflow-x:auto; }
[data-look="quiet"] table.ktable[data-q-compare]:not(.kt-fixed) { width:max-content; table-layout:auto; }
[data-look="quiet"] table.ktable[data-q-compare] td { white-space:nowrap; overflow:visible; }
[data-look="quiet"] table.ktable[data-q-compare]:not(.kt-fixed) :is(.k-title, .wl-barcol, .wl-barcell) { width:auto; max-inline-size:none; }
/* (final audit r2, rule 25 part 11: a horizontal scroll box must not swallow the vertical sticky heading) */
[data-look="quiet"] table.ktable[data-q-boxed] thead th { top:var(--q-table-head, 0px); }
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody table.ktable[data-q-compare] :is(th, td).k-title { width:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody table:is([data-kt="time"], [data-kt="timeown"], [data-kt="timeownS"]) td.k-title { max-inline-size:none; white-space:normal; overflow-wrap:anywhere; }
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody table[data-kt="timeownS"] :is(td, th).k-title { width:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] #timeBody table[data-kt="timeownS"] col:is([data-k="day"], [data-k="mins"]) { width:6.25rem !important; }
/* (F2, rule 25 part 10) The access button gets a second line without displacing the Owners' tasks count. */
html:not([data-q-width="phone"]) #projectView[data-look="quiet"] #pjList .trow { padding-inline:.5rem; }
html:not([data-q-width="phone"]) #projectView[data-look="quiet"] #pjList .trow:has(> .cl) { display:grid; grid-template-columns:auto auto minmax(0, 1fr) auto; }
html:not([data-q-width="phone"]) #projectView[data-look="quiet"] #pjList .trow > .cl { grid-column:3 / -1; justify-self:start; opacity:1; }
/* (F3, rules 1 and 22) Phase tables give the task room and keep the tick and Due beside the title, not Move. */
html[data-q-width="wide"] #projectView[data-look="quiet"] .ktablecard:has(> [data-kt="projtasks"]) { width:100%; }
html[data-q-width="wide"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] td.k-title { max-inline-size:none; white-space:normal; overflow-wrap:anywhere; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask td.k-title > .tick { float:none; margin-inline-start:0; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask td.k-title { white-space:normal; overflow-wrap:anywhere; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td { vertical-align:top; padding-block:.375rem; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask:has(.pjt-move) > td.pjt-meta:not([data-q-detail]) { padding-block-start:calc(.875rem + var(--q-control)); }
/* (F5, rule 25 part 4) A calendar connection is a quiet text link. */
[data-look="quiet"] .inv-msg a { color:var(--q-text); text-decoration:underline; text-underline-offset:.18em; }
/* (F6, rules 1 and 25 part 4) Give the external action a button edge, and let the customer's full name wrap. */
#shopView[data-look="quiet"] .shopgo { border:1px solid var(--q-edge); border-radius:.375rem; padding-inline:.375rem; text-decoration:none; }
#shopView[data-look="quiet"] .shopgo:hover { background:var(--q-hover); }
#shopView[data-look="quiet"] .shopwho { flex:1 1 100%; min-inline-size:0; white-space:normal; overflow-wrap:anywhere; }
/* (F7, rules 14 and 23) Say what date the data covers once, before the rows. */
#atriskView[data-look="quiet"] .ar-horizon { margin-block:.5rem; color:var(--q-muted); font-size:var(--q-size-small); }
/* (F8, rule 22) Size the approval tables from their content, not desktop-sized action columns. */
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktablecard:has(> :is([data-kt="t0waiting"], [data-kt="t0hours"])) { overflow-x:auto; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable:is([data-kt="t0waiting"], [data-kt="t0hours"]) { table-layout:auto; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable:is([data-kt="t0waiting"], [data-kt="t0hours"]) > colgroup > col[data-k="_act"] { width:1% !important; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable:is([data-kt="t0waiting"], [data-kt="t0hours"]) td { white-space:normal; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable:is([data-kt="t0waiting"], [data-kt="t0hours"]) :is(.k-who, .t0-act > button) { white-space:nowrap; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable[data-kt="t0waiting"] [data-t0note] { inline-size:8rem; max-inline-size:100%; }
/* (F9, rule 25 part 9) Separate the calendar mode select from its explanation. */
[data-look="quiet"] .cf-row > select + .hint { margin-block-start:.375rem; }
/* (F10, rule 25 part 11) Management's scroll frame includes the heading, data and totals, even when there are no rows. */
#mgmtModal[data-look="quiet"] #mgmtBody { min-inline-size:0; }
#mgmtModal[data-look="quiet"] [data-kt="usage"] th { white-space:nowrap; }
/* (Rough plan, rule 22) The person has the first line, hours and Remove the next, then the phase. */
html[data-q-width="phone"] #drawer[data-look="quiet"] .pjr-sheet .pjr-row { grid-template-columns:auto minmax(0, 1fr) auto; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .pjr-sheet .pjr-row .rgWho { grid-area:1 / 1 / 2 / -1; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .pjr-sheet .pjr-row .pjr-hrs { grid-area:2 / 1; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .pjr-sheet .pjr-row .rgDel { grid-area:2 / 3; }
html[data-q-width="phone"] #drawer[data-look="quiet"] .pjr-sheet .pjr-row .rgStage { grid-area:3 / 1 / 4 / -1; }
/* (G1, rule 6) On a phone the preview and Redo plan scroll as one body between the fixed head and foot. */
html[data-q-width="phone"] #aiModal[data-look="quiet"] { overflow:hidden; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] > .sheet { max-block-size:calc(100dvh - var(--safe-t, 0px) - var(--safe-b, 0px) - 2rem); overflow:hidden; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] .q-ai-scroll { min-block-size:0; overflow:auto; overscroll-behavior:contain; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] :is(.sheethead, .sheetfoot) { flex:none; position:static; }

/* audit 15 group I: usage, time and cost, AI preview and phase tasks */
/* (I1, rule 25 part 11) Give only the comparison frame sideways scroll, and say when more columns are offscreen. */
html[data-q-width="phone"] #mgmtModal[data-look="quiet"] > .sheet { inline-size:min(560px, calc(100% - 1rem)); min-inline-size:0; }
#mgmtModal[data-look="quiet"] #mgmtBody > .kt-tools:not(:has(button)) { display:none; }
#mgmtModal[data-look="quiet"] #mgmtBody > .q-usage-scroll-hint { display:none; margin:.5rem 0 0; color:var(--q-muted); font-size:var(--q-size-small); }
#mgmtModal[data-look="quiet"] #mgmtBody > .q-usage-scroll-hint:has(+ .ktablecard[data-q-slides]) { display:block; }
#mgmtModal[data-look="quiet"] #mgmtBody > .ktablecard:has(> [data-kt="usage"][data-q-compare]) { max-inline-size:100%; overflow-x:auto; }
#mgmtModal[data-look="quiet"] #mgmtBody > .ktablecard:focus-visible { outline:2px solid var(--q-edge); outline-offset:2px; }
html:not([data-q-width="wide"]) #mgmtModal[data-look="quiet"] .ktable[data-kt="usage"][data-q-compare] col[data-k="person"] { width:7rem; }
html:not([data-q-width="wide"]) #mgmtModal[data-look="quiet"] .ktable[data-kt="usage"][data-q-compare] thead th[data-kt-col="person"] { width:auto; min-width:7rem; }
/* (final audit r2, rules 25 parts 10–11: keep each measure with its label; let the whole cost table slide) */
[data-look="quiet"] .tc-sums .tc-fact { display:inline-block; white-space:nowrap; }
[data-look="quiet"] .tc-sums { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:1rem; row-gap:.25rem; }   /* (final audit, part 10: the facts wrap whole, with space between them; a separating dot left at a line's end was noise) */
[data-look="quiet"] .tc-sums > .tc-dot { display:none; }
[data-look="quiet"] .tc-table tbody :is(th, td) { vertical-align:middle; }   /* (final audit, part 11: a work's name lines up with its figures; only the heading row sits on its bottom line) (final gate, part 10: with the 44 px open/close and figure buttons the top-set name sat above its centred figures; every cell is centred on the row) */
[data-look="quiet"] .tc-name { font-size:var(--q-size-title); }
[data-look="quiet"] .tc-wrap { max-inline-size:100%; overflow-x:auto; }
[data-look="quiet"] .tc-table :is(th, td):first-child { max-inline-size:none; white-space:nowrap; overflow:visible; }
[data-look="quiet"] .tc-table :is(th, td).num { white-space:nowrap; }
[data-look="quiet"] .tc-table td.num > .k-muted:last-child:not(:first-child) { display:block; }
/* (final audit r2, rule 25 part 11: show the first figure beside Work even before a phone user slides) */
html[data-q-width="phone"] [data-look="quiet"] .tc-table :is(th, td):first-child { inline-size:12rem; min-inline-size:12rem; max-inline-size:12rem; white-space:normal; overflow-wrap:break-word; }
html[data-q-width="phone"] [data-look="quiet"] .tc-table :is(.tc-stage, .tc-task) td:first-child:has(> button.tc-tog) { position:relative; padding-inline-start:calc(var(--q-touch) + .25rem); }
html[data-q-width="phone"] [data-look="quiet"] .tc-table td:first-child > button.tc-tog { position:absolute; inset-inline-start:0; inset-block-start:50%; translate:0 -50%; padding-inline-start:.75rem; }
html[data-q-width="phone"] [data-look="quiet"] .tc-table td:first-child > .tc-nogo { display:none; }
/* (final audit r2, rule 25 part 11: the fitted starts, not the window, set People, Today and Captured's width) */
html[data-q-width="wide"] #teamView[data-look="quiet"] #peopleList .ktablecard { width:max-content; min-width:0; }
html[data-q-width="wide"] #teamView[data-look="quiet"] #peopleList table.ktable:not(.kt-fixed) { width:max-content; }
html[data-q-width="wide"] [data-look="quiet"] .ktable[data-kt="teampeople"] :is(.tp-email, .pnm) { overflow-wrap:anywhere; white-space:normal; }
/* (final audit, rule 12 and part 10: at 1440 the People table took 1460 px of a 1377 px page, so it slid and the row end's > sat over each row's More; the email takes what is left, wrapping as above, and the actions keep the room Invite and More need) */
html[data-q-width="wide"] #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] col[data-k="email"] { width:auto !important; }
html[data-q-width="wide"] #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] col[data-k="_act"] { width:8.5rem !important; }
html:not([data-q-width="wide"]) #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] col[data-k="_act"] { width:4.5rem !important; }
html:not([data-q-width="wide"]) #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] td.k-act > button { margin-inline:0; }
html:not([data-q-width="wide"]) #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] td.k-act { white-space:normal; }
html[data-q-width="phone"] #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] col[data-k="tasks"] { width:4.25rem !important; }
html[data-q-width="phone"] #teamView[data-look="quiet"] #peopleList table.ktable[data-kt="teampeople"] th[data-kt-col="tasks"] .kt-lab { white-space:normal; }
html[data-q-width="wide"] [data-look="quiet"] table.ktable:is([data-kt="myday"], [data-kt="inbox"], [data-kt="production"]):not(.kt-fixed) { width:max-content; }
html[data-q-width="wide"] #listView[data-look="quiet"] .ktablecard:has(> .ktable[data-kt="inbox"]) { width:max-content; min-width:0; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:not(.kt-fixed):is([data-kt="myday"], [data-kt="inbox"], [data-kt="production"]) :is(.k-title, .k-slack) { width:auto; max-inline-size:none; }
html[data-q-width="wide"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] .k-title { width:auto; }
/* (final audit r2, rule 25 part 11: the audit log shows whole words instead of ellipses) */
[data-look="quiet"] .ail-clip:is(span, .s) { max-inline-size:none; overflow:visible; white-space:normal; overflow-wrap:anywhere; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:not([data-q-compare]):is([data-kt="ailog"], [data-kt="ailogme"]) col[data-k="when"] { width:6.5rem !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) thead th[data-kt-col="what"] { width:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) tbody td:first-child { white-space:normal; }
/* (final audit r2, rule 25 part 11: a quarter of the actual scroll frame is the largest pin) */
[data-look="quiet"] .ktable :is(thead th, tbody td, tfoot td, .bulkcol):not(.q-row-end) { left:auto; }
[data-look="quiet"] .ktable[data-q-table][data-q-pin-live] :is([data-q-pin], .bulkcol),
[data-look="quiet"] .tc-table[data-q-pin-live] :is(th, td):first-child { position:sticky; left:auto; inset-inline-start:0; z-index:2; background:var(--q-bg); }
[data-look="quiet"] .ktable[data-q-pin-live][data-q-bulk] [data-q-pin]:not(.bulkcol) { inset-inline-start:calc(var(--q-touch) + .25rem); }
[data-look="quiet"] .ktable[data-q-table][data-q-pin-live] thead :is([data-q-pin], .bulkcol),
[data-look="quiet"] .tc-table[data-q-pin-live] thead th:first-child { z-index:4; }
[data-look="quiet"] .tc-table:not([data-q-pin-live]) :is(th, td):first-child { left:auto; }
[data-look="quiet"] .tc-table th { position:sticky; top:var(--q-table-head, 0px); z-index:3; }
[data-look="quiet"] .tc-table[style*="--q-table-head"] th { background:var(--q-bg); }
/* (final audit r2, rule 12: keep a record's linked chevron above the cells sliding underneath) */
[data-look="quiet"] .ktable :is(th, td, col).q-row-end { width:2.75rem; padding:0; }   /* (final audit, rule 12: the row end holds only its >, no word) */
[data-look="quiet"] table.ktable :is(th, td).q-row-end { position:sticky; left:auto; inset-inline-end:0; z-index:2; }
[data-look="quiet"] [data-q-slides] > table.ktable :is(th, td).q-row-end { background:var(--q-bg); }
[data-look="quiet"] [data-q-slides] > table.ktable .q-row-end::before { content:""; position:absolute; inset-block:0; inset-inline-start:0; border-inline-start:1px solid var(--q-line); pointer-events:none; }
[data-look="quiet"] .ktable thead th.q-row-end { z-index:4; }
[data-look="quiet"] .ktablecard:has(.q-row-end) { scroll-padding-inline-end:2.75rem; }
[data-look="quiet"] .ktable tbody tr[data-href] { cursor:pointer; }
[data-look="quiet"] .q-row-end > span { display:flex; justify-content:center; align-items:center; gap:.25rem; inline-size:2.75rem; min-block-size:var(--q-control); color:var(--q-muted); text-decoration:none; }   /* (final audit, rule 12: the cue holds its own 44 px, so a table squeezed to its card never shrinks the row end to the > alone, half cut at the edge) */
[data-look="quiet"] .q-row-end > span::after { content:""; inline-size:.375rem; block-size:.375rem; border:solid currentColor; border-width:1.5px 1.5px 0 0; transform:rotate(45deg); }
[data-look="quiet"] .ib-card > .q-row-end { float:inline-end; inline-size:2.75rem; margin-inline-start:.25rem; }
html[data-q-width="phone"] [data-look="quiet"] .ktable :is(th, td, col).q-row-end { width:2.75rem; }
html[data-q-width="phone"] [data-look="quiet"] .ktablecard:has(.q-row-end) { scroll-padding-inline-end:2.75rem; }
/* Online orders still needs the house minimum for its first key column beside the sticky Open action. */
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-q-table][data-kt="orders"] col[data-k="order"] { width:6.25rem !important; }
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-q-table][data-kt="orders"] tbody td:not(.q-row-end) { white-space:normal; overflow-wrap:break-word; text-overflow:clip; }   /* (final audit, part 11: a lookup list never cuts a customer's name, "Ada Lovela..."; a long one takes a second line) */
/* The name takes the room left after the lookup value and its controls, rather than reserving 60% before they fit. */
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-kt="myteam"] thead th[data-kt-col="person"],
html[data-q-width="phone"][data-shell="quiet"] #atriskBody .ktable[data-kt="atrisk"] thead th.k-title { width:auto; }
html[data-q-width="phone"] [data-look="quiet"] #myteamBody .ktable[data-kt="myteam"] :is(th.mt-sesscol, td.mt-sess) { width:auto; min-width:0; white-space:normal; }
html[data-q-width="phone"] [data-look="quiet"] #myteamBody .ktable[data-kt="myteam"] col[data-k="today"] { width:7.5rem !important; }
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-kt="atrisk"] col[data-k="due"] { width:5.25rem !important; }
/* (final audit r2, rule 25 part 11: faint numeric dashes and a neutral row-and-column crosshair) */
[data-look="quiet"] :is(.ktable, .tc-table) td.num:empty::before { content:"-"; color:var(--q-muted); }
[data-look="quiet"] .tc-table tbody tr td { background:var(--q-clear); }
/* QUIET-EXCEPTION: part 11 Style B column tint (columns, not row stripes). */
[data-look="quiet"] .tc-table tbody tr td:where(:nth-child(even)) { background:var(--q-coltint); }
[data-look="quiet"] :is(.ktable, .tc-table) :is([data-q-hover-col], tbody tr:hover > td, tbody tr:focus-within > td) { box-shadow:inset 0 0 0 100vmax color-mix(in srgb, var(--q-hover) 80%, transparent); }
#listView[data-look="quiet"] .ktable[data-kt="tasks"] tbody > tr[data-rowtask]:not(:last-child):is(:hover, :focus-within) > td,
#listView[data-look="quiet"] .ktable[data-kt="tasks"] tbody > tr[data-rowtask]:not(:last-child) > td[data-q-hover-col] {
  box-shadow:inset 0 0 0 100vmax color-mix(in srgb, var(--q-hover) 80%, transparent), inset 0 -1px var(--q-line);
}
/* (final audit r2, rule 25 part 14: text links keep their theme in both visited and unvisited states) */
[data-look="quiet"] .ktable td a:not(.k-rowlink, .shopgo), html[data-shell="quiet"] #quickModal .inv-msg a { color:var(--q-text); text-decoration:underline; text-underline-offset:.18em; }
/* (I4, rule 6) The preview is the one scrolling body; the change box and Redo plan sit fixed above the footer, as in the old look. */
html[data-q-width="phone"] #aiModal[data-look="quiet"] > .sheet > .q-ai-scroll { flex:1 1 auto; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] > .sheet > #aiSteer { flex:none; }
html[data-q-width="phone"] #aiModal[data-look="quiet"] .q-ai-scroll > #aiPreview { overflow:visible; }
/* (I5, rule 22) Let the tick sit beside the first line of the title even when the title needs more lines. */
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .tick) { padding-inline-start:calc(var(--q-control) + .75rem); overflow:visible; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td.k-title > .pjt-move { block-size:var(--q-control); margin:0 0 .375rem calc(-1 * var(--q-control)); }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td.k-title > .tick { float:inline-start; margin:0 0 0 calc(-1 * var(--q-control)); }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td.k-title > .pjt-title { display:block; min-block-size:var(--q-control); padding-block-start:calc((var(--q-control) - 1lh) / 2); }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask > td.pjt-meta:not([data-q-detail]) { padding-block-start:calc(.375rem + (var(--q-control) - 1lh) / 2); }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask:has(> .k-title > .pjt-move) > td.pjt-meta:not([data-q-detail]) { padding-block-start:calc(.75rem + var(--q-control) + (var(--q-control) - 1lh) / 2); }

/* audit 15 group H: My Work and Meetings */
/* (H1, rule 22) Size When on the col; let What take the rest of the phone table. (A plain length: Chrome reads a column width that mixes a length with a percentage, min() or clamp(), as auto. With large text, data-q-tiny, the plain length would take most of the row, so the table sizes itself as before.) */
html[data-q-width="phone"]:not([data-q-tiny]) #mydayView[data-look="quiet"] .ktable[data-kt="myday"] col[data-k="when"] { width:8.25rem !important; }
html[data-q-width="phone"]:not([data-q-tiny]) #mydayView[data-look="quiet"] .ktable[data-kt="myday"] tbody td:first-child { white-space:nowrap; }   /* (final audit, part 10: "2:20 PM-3:20 PM" is one fact on one line; at 7.25rem "PM" fell to a second line) */
html[data-q-width="phone"] #mydayView[data-look="quiet"] .ktable[data-kt="myday"] col[data-k="what"] { width:auto !important; }
/* (H2, rule 22) A phone Week block uses its available title lines and shows the start time, without growing into a neighbor. */
html[data-q-width="phone"] #calView[data-look="quiet"] #calBody .q-week-label { padding:2px .25rem; line-height:14px; }   /* (final audit: the words keep clear of an in-progress block's dashed edge) */
html[data-q-width="phone"] #calView[data-look="quiet"] #calBody .q-week-label > .t { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--q-week-lines); line-clamp:var(--q-week-lines); white-space:normal; overflow-wrap:break-word; }
html[data-q-width="phone"] #calView[data-look="quiet"] #calBody .q-week-time-end { display:none; }
/* (final audit r2, rule 25 part 10 / rule 22: on a phone or a tablet a Week or Day block's title and time were cut with "..." ("Hartm...", "10:15 ..."); the words now wrap whole and the block grows down to hold them, never shorter than its time says) */
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[style*="--gbb"] { height:auto !important; min-block-size:calc(var(--gbb) - var(--gbt)); }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[style*="--gbb"] :is(.t, .tm) { display:block; -webkit-line-clamp:unset; line-clamp:unset; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:break-word; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk.short[style*="--gbb"] { padding-block:.125rem; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk.short[style*="--gbb"] { flex-wrap:wrap; align-content:center; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk.short[style*="--gbb"] .t { flex:1 1 4rem; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk.short[style*="--gbb"] .tm:not(.keep) { display:block; flex:1 1 100%; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[data-q-cap] { max-block-size:var(--q-cap); }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[data-q-cap] .t { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--q-lines); line-clamp:var(--q-lines); overflow:hidden; text-overflow:ellipsis; }   /* (quiet.js calFit: where the free time under a block is short, the lines that fit are shown) */
/* (final gate, Week at 375 and 768: titles cut to "Water th..." could not be told apart; quiet.js calFit) a block whose title is cut gives its time line to the title: the time is read from the hours down the side */
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[data-q-notm] .tm:not(.keep) { display:none; }
html:not([data-q-width="wide"]) #calView[data-look="quiet"] #calBody .blk[data-q-notm] .t { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--q-lines); line-clamp:var(--q-lines); flex:1 1 100%; white-space:normal; overflow:hidden; text-overflow:ellipsis; }
/* (rule 25 part 10: a phone's Month chip is 45 px wide, so it keeps two lines, a word is never split and a title too long for them ends in "..."; the whole title is one tap away and in Agenda) */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title { padding-inline:0; }
/* (H3, rule 22) Stretch each two-line chip only to the padded edges of its cell. */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mcell { padding-inline:.1875rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mcell > .mchip { align-self:stretch; min-inline-size:0; max-inline-size:100%; box-sizing:border-box; }
/* (H4, rule 25 part 16) Clip the foot to the quick-add sheet's rounded edge; keep Add. */
#quickModal[data-look="quiet"] > .sheet { overflow:hidden; }
/* (H5, rule 22) Fixed layout reads Due's col before the header; Task takes the spare width. */
html[data-q-width="phone"]:not([data-q-tiny]) #listView[data-look="quiet"] .ktable[data-kt="tasks"] col[data-k="deadline"] { width:5.75rem !important; }
html[data-q-width="phone"] #listView[data-look="quiet"] .ktable[data-kt="tasks"] col[data-k="title"] { width:auto !important; }
/* (H6, rule 25 part 4) On tablet Unassigned, let Search give up room before More wraps away from Filter. */
html[data-q-width="narrow"] #listView[data-look="quiet"] .k-viewbar:has([data-vbtab="sortout"].on) { column-gap:.75rem; }
html[data-q-width="narrow"] #listView[data-look="quiet"] .k-viewbar:has([data-vbtab="sortout"].on) .csr-box.vb-search { flex:1 1 7.5rem; min-inline-size:7.5rem; max-inline-size:12rem; }

/* audit 15 round 6 */
/* (rule 22) A word longer than a phone Month chip breaks inside the chip ("Supplier" read "Supplie"); the menu a Week block opens names the task in full. */
html[data-shell="quiet"] .e3a-mh > .e3a-mt { white-space:normal; overflow-wrap:anywhere; }
/* (the tick-box decision) Every tick box is 24 px: the List's Group by project read 18 px tall above phone width. */
[data-look="quiet"] label.k-fopt.lv-group-project > input[type="checkbox"] { min-inline-size:max(24px, 1.5rem); min-block-size:max(24px, 1.5rem); }
/* (rule 25 part 4) Tablet Board: tabs, search, Filter, New task and More need about 44rem and the column has less; New task and More stay on the tab row and search with Filter take the next row whole, so no row leaves an empty band. */
html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .k-viewbar:has(.k-tabs) { container:q-kbbar / inline-size; }
@container q-kbbar (max-width: 45rem) {
  html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .k-viewbar .k-actions { order:2; }
  html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .k-viewbar .csr-box.vb-search { order:3; flex:1 1 60%; max-inline-size:none; }
  html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .k-viewbar .k-fwrap { order:4; }
}
/* (rule 25 part 4) Schedule myself: a label that heads the list under it is as wide as its words (it took the 120 px of a row label and wrapped). */
[data-look="quiet"] .ib-step > .tdlbl { inline-size:auto; }
/* (William 2026-11-29) The space switcher opened from the header's space button drops down under that button, sized to its spaces (placed by quiet.js placePanel). */
html[data-shell="quiet"] #navPanel.open[data-q-np-co][data-q-np-co] { top:var(--q-np-top); left:var(--q-np-left); right:auto; bottom:auto; inline-size:max-content; min-inline-size:12rem; max-inline-size:calc(100vw - 1rem); max-block-size:calc(100dvh - var(--q-np-top) - .5rem); }
/* (final audit r2, P3: controls, touch and dialogs) */
/* (rule 3: the "N selected" bar behind a list was a loud company-coloured band with an outline; content is plain, so it is the page's own surface with one thin line under it) */
[data-look="quiet"] #bulkBar { background:var(--q-surface); border:0; border-block-end:1px solid var(--q-line); border-radius:0; }
/* (rule 4: buttons are as wide as their words: the rough-plan button took the whole drawer, and "Skip & generate" / "Generate plan" wrapped to two lines) */
[data-look="quiet"] .aibox > button { justify-self:start; }
.modal[data-look="quiet"] #aiQModal .sheetfoot, #aiQModal[data-look="quiet"] .sheetfoot { flex-wrap:wrap; }
.modal[data-look="quiet"] #aiQModal .sheetfoot button, #aiQModal[data-look="quiet"] .sheetfoot button { white-space:nowrap; }
html[data-q-width="phone"] #aiQModal[data-look="quiet"] .sheetfoot > .hint { flex:1 1 100%; }
/* (rule 4 / part 9: the AI plan's task name was squeezed to "Bleed th" beside five boxes on a tablet; below the wide width a task's name is its own line with its boxes under it, as on a phone) */
html:not([data-q-width="wide"]) [data-look="quiet"] .pvtask:has(> .pvtname) { flex-wrap:wrap; row-gap:0; }
html:not([data-q-width="wide"]) [data-look="quiet"] .pvtask:has(> .pvtname)::after { content:""; order:1; flex-basis:100%; }
html:not([data-q-width="wide"]) [data-look="quiet"] .pvtask:has(> .pvtname) > .pvtname { flex:1 1 12rem; min-inline-size:0; }
html:not([data-q-width="wide"]) [data-look="quiet"] .pvtask:has(> .pvtname) > select { order:2; margin-top:.375rem; flex:0 1 auto; max-inline-size:100%; }
/* (rule 4: the front door's links and Help share one left edge with the fields; Join had a centred link under left words and a right-hand version) */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) .logincard > div[style*="text-align:center"] { text-align:start !important; }
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(.loginver, .lg-help) { text-align:start; }
html[data-shell="quiet"] :is(#loginGate, #linkGate, #cnGate) .lg-help > summary { justify-content:flex-start; padding-inline:0; min-inline-size:var(--q-touch); }
[data-look="quiet"] .tz2-same { font-size:var(--q-size-small); color:var(--q-muted); }   /* (the "same clock as you" tag is a note on the zone, not a hint) */
html[data-shell="quiet"] :is(#linkGate, #cnGate) .lg-help { margin-top:.75rem; }
html[data-shell="quiet"] :is(#linkGate, #cnGate) .lg-help > summary { display:inline-flex; align-items:center; min-block-size:var(--q-control); cursor:pointer; color:var(--q-text); font-size:.8125rem; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
html[data-shell="quiet"] :is(#linkGate, #cnGate) .lg-help > p { margin:.375rem 0 0; }
html[data-shell="quiet"] :is(#lgForgot, #lgToSignin, #jnSignin, #lkHome, #cnHome) { display:inline-flex; align-items:center; min-block-size:var(--q-control); font-size:var(--q-size-small); }   /* (final audit r2, rule 22: the front door's own links, "Forgot your password?" at 11 px, "Go to sign in", "Go to Momentum", were bare small words; each is now a 24 px target with a mouse and 44 px on touch) */
html[data-shell="quiet"] #resetGate p.hint { margin-block:0 .75rem; }   /* (rule 10: "Set a new password" sat on the first label with no gap) */
/* (rule 21: a gate's plain button, "Create account" on the light page, had the faint hairline for an edge; a control's edge is the 3:1 edge colour) */
html[data-shell="quiet"] :is(#loginGate, #noAccessGate, #joinGate, #linkGate, #cnGate, #resetGate) :is(button, .btn):not(.primary) { border-color:var(--q-edge); }
/* (rule 10: the ready-made series' role labels sat on the paragraph above them) */
#drawer[data-look="quiet"] #packBody .rp-f { margin-block-start:.75rem; }
/* (rule 6: the second time zone's list was a scroller inside the Filter, which scrolls too; it shows its best dozen, drawn in the page's flow) */
[data-look="quiet"] .tz2-list { max-height:none; overflow:visible; }
[data-look="quiet"] .tz2-list > .tz2-opt:nth-of-type(n+6):not(.on) { display:none; }   /* (final audit, rule 6: five zones and a line under them, no scroller inside the menu; at a touch size six rows ran past the menu) */
[data-look="quiet"] .tz2-list:has(> .tz2-opt:nth-of-type(6))::after { content:"More zones: type a city above."; display:block; padding:.5rem .625rem; font-size:var(--q-size-small); color:var(--q-muted); }
/* (the zone list is the one thing that scrolls in the open panel; the panel's other controls stay put above it so its footer is on screen) */

/* (rule 4: the calendars list's "More" was bare words; a button has a shape) */
html[data-shell="quiet"] .cc-more { border:1px solid var(--q-edge); border-radius:.375rem; color:var(--q-text); block-size:auto; min-block-size:var(--q-control); padding-inline:.625rem; }
html[data-shell="quiet"] .cc-more:hover, html[data-shell="quiet"] .cc-more[aria-expanded="true"] { background:var(--q-hover); }
/* (rule 1 / part 9: the repair week's seven columns ran past a phone's edge with Thursday to Sunday out of sight; below 760 px it is one column of days, each with its weekday's name) */
@media (max-width:47.5em) {
  #shopView[data-look="quiet"] #shopBody { overflow-x:visible; }
  #shopView[data-look="quiet"] .shopcal { min-inline-size:0; grid-template-columns:minmax(0, 1fr); }
  #shopView[data-look="quiet"] .shopdow { display:none; }
  #shopView[data-look="quiet"] .shopwd { display:inline; font-weight:500; color:var(--q-text); }
  #shopView[data-look="quiet"] .shopcell.today { background:var(--q-clear) !important; box-shadow:inset 2px 0 0 var(--q-text); padding-inline-start:.625rem; }   /* (rule 5: a whole day's row is no filled band; today is the one with a line at its edge and its date at 500) */
}
/* (part 9: on a tablet a task's title is too long for the rest of its line beside Move and the circle, so it dropped whole under Move; it stays beside them and wraps inside its own box) */
html:not([data-q-width="wide"]):not([data-q-width="phone"]) [data-look="quiet"] .pjtask .pjt-title { display:inline-block; vertical-align:top; inline-size:calc(100% - 3rem); text-indent:0; }
/* (rule 22: a figure's working link is a 32 px target with a mouse too, and keeps its room above Close) */
[data-look="quiet"]#figureWorking a[href] { display:inline-flex; align-items:center; min-block-size:var(--q-control); }
/* (rule 6 / part 19: a centred record taller than the window scrolls with the page and its action row sticks at the window's foot; the row now reads as a foot, a thin line above it and a gap under its button, so a field passing under it is plainly scrolling, not cut) */
#drawer[data-look="quiet"]:is([data-q-frame="center"], [data-q-frame="left"], [data-q-frame="right"]) :is(.dfoot, .drawerfoot):not([hidden]) { border-block-start:1px solid var(--q-line); padding-block-end:.75rem; }
/* (final audit r2, rule 1 / part 19: on a phone a full-page record's action row, "Add task", sat half behind the bottom bar until the page was scrolled to its end; it now sticks just above the bar, like a centred record's) */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"] :is(.dfoot, .drawerfoot):not([hidden]) { position:sticky; inset-block-end:max(var(--q-nav-clear, 0px), var(--q-clearance, 0px)); z-index:1; background:var(--q-bg); border-block-start:1px solid var(--q-line); padding-block-start:.5rem; }   /* (final audit, part 2: the page's own ground under a line, as the record's head; the raised surface drew a band across a short form, Invite someone) */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"].open > .drawerbody:has(~ :is(.dfoot, .drawerfoot):not([hidden])) { padding-block-end:.75rem; }   /* (the room under the last field is the row's own; the bar's room is under the row) */
/* (part 10: a Week block's first letter touched the dashed edge on a phone) */
html[data-q-width="phone"] #calView[data-look="quiet"] #calBody .blk { padding-inline-start:.375rem; }
/* (final audit, rule 22 "44 px on touch" follows the device: measured on a touch phone AND a touch tablet at 768) menu items, the calendars list's More, the time table's open/close, the rough plan's and a figure's working's links */
@media (pointer:coarse) {
  html[data-shell="quiet"] :is(.c3-mi, .e3a-mi, .pjmv-mi) { min-block-size:var(--q-touch); }
  html[data-shell="quiet"] .cc-more { block-size:auto; min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
  html[data-shell="quiet"] .tc-tog { inline-size:var(--q-touch); min-block-size:var(--q-touch); }
  html[data-shell="quiet"] :is(a.pjr-quiet, #figureWorking a[href]) { display:inline-flex; align-items:center; min-block-size:var(--q-touch); }
  html[data-shell="quiet"] [data-look="quiet"] .stagechip, #projectView[data-look="quiet"] .pjv-meta .figure-number { display:inline-flex; align-items:center; min-block-size:var(--q-touch); }   /* (final audit: the New project phase chips were 36-38 px and the project's "0/5 completed" figure 16 px on a touch screen) */
}
/* (final audit, rule 16: the record's "Show all fields" box is a tick box; as a switch it took a button's 32 px height and stood 24 x 32. Its label is the tap area) */
[data-look="quiet"] .q-rare-toggle > input[type="checkbox"] { min-block-size:0 !important; min-inline-size:0 !important; }
/* (final audit, part 5 "never a solid fill": the Online orders Columns menu is a menu of shown columns, so a shown column has a menu's check mark, not a row of solid ink boxes) */
html[data-shell="quiet"] #ordColsPanel input[type="checkbox"] { appearance:none; display:inline-grid; place-content:center; flex:none; inline-size:1.5rem; block-size:1.5rem; min-inline-size:0; min-block-size:0; margin:0; border:0; border-radius:.25rem; background:var(--q-clear); }
html[data-shell="quiet"] #ordColsPanel input[type="checkbox"]::before { content:""; inline-size:.375rem; block-size:.75rem; border:solid var(--q-text); border-width:0 2px 2px 0; transform:translateY(-2px) rotate(45deg); visibility:hidden; }
html[data-shell="quiet"] #ordColsPanel input[type="checkbox"]:checked::before { visibility:visible; }
html[data-shell="quiet"] #ordColsPanel input[type="checkbox"]:focus-visible { outline:2px solid var(--q-text); outline-offset:1px; }
[data-look="quiet"] .rp-card > .q-row-end { float:inline-end; inline-size:2.75rem; margin-inline-start:.25rem; }
[data-look="quiet"] .rp-card > .rp-pause { float:inline-end; margin-inline-start:.25rem; }   /* (final audit, rule 12: the phone card's Pause, as on the computer's row, and its > cue at the far end) */
#questionsView[data-look="quiet"] .mq-row:has(> .mq-go) { cursor:pointer; }
#questionsView[data-look="quiet"] .mq-row:has(> .mq-go) { flex-wrap:nowrap; } #questionsView[data-look="quiet"] .mq-row:has(> .mq-go) > .mq-copy { flex:1 1 0; }   /* (final gate, rule 12: on a phone the > stays at the row's end; the words' 18rem basis pushed it to a line of its own) */
#questionsView[data-look="quiet"] .mq-row:has(> .mq-go):hover { background:var(--q-hover); }
#questionsView[data-look="quiet"] .mq-row > .mq-go { flex:none; inline-size:2.75rem; min-inline-size:2.75rem; padding:0; border:0; background:var(--q-clear); box-shadow:none; }   /* (final audit, rule 12: the question row's > cue, a control that opens it, as a table row's far end) */
html[data-q-width="phone"] #shopView[data-look="quiet"] .shopcell:not(.hasjobs) { min-block-size:0; }   /* (final audit, part 9: on a phone four weeks of empty days stood 96 px each, a 3438 px page for one job; an empty day is one line) */
/* FINAL GATE B */
/* (final gate, rule 12: an Unassigned card had no > cue on a phone or a tablet) its cue floats at the card's end, as the Captured card's */
[data-look="quiet"] .a2so-card > .q-row-end { float:inline-end; inline-size:2.75rem; margin-inline-start:.25rem; }
/* (final gate, rule 14: My hours said the zone three ways) the Time zone section keeps its one line, which names the zone the hours follow; the device's zone and the clock repeated it */
#hoursView[data-look="quiet"] :is(#acctZoneFollowHint, #acctZoneNow) { display:none; }
/* (final gate, rule 14: one line of guidance a section) My usual week keeps its empty line; the hint above it said how to change a day, which Today's own sheet does */
#hoursView[data-look="quiet"] #acctPlaces > .hint { display:none; }
/* (final gate, rule 9: a risky action is never the one pinned action) the task and meeting panels save as you go, so their foot holds only Delete; it sits at the end of the panel, not pinned over the fields */
html #drawer[data-look="quiet"] :is(#taskModal, #eventModal) > .dfoot:not([hidden]) { position:static; inset:auto; background:none; }
/* (final gate, rule 4: a view bar in two rows at most) with My work | Everyone and the tabs filling the tablet Board's first row, New task and More join search and Filter on the second, and search gives way so the four fit */
@container q-kbbar (max-width: 45rem) {
  html[data-q-width="narrow"] #kanbanView[data-look="quiet"] .k-viewbar:has(.k-whosw) .csr-box.vb-search { flex:1 1 8rem; min-inline-size:8rem; }
}
/* END FINAL GATE B */
/* (final gate, rule 13: the gates' Help is ONE Help button at the top, under the name, not a small link under the form) */
html[data-shell="quiet"] :is(#loginGate, #linkGate, #cnGate) .logincard > .lg-help { margin:.5rem 0 .25rem; text-align:start; }
html[data-shell="quiet"] :is(#loginGate, #linkGate, #cnGate) .logincard > .lg-help > summary { display:inline-flex; align-items:center; justify-content:center; list-style:none; min-block-size:var(--q-touch); min-inline-size:var(--q-touch); padding-inline:.875rem; border:1px solid var(--q-edge); border-radius:.4375rem; color:var(--q-text); font-size:.8125rem; font-weight:500; text-decoration:none; cursor:pointer; }
html[data-shell="quiet"] :is(#loginGate, #linkGate, #cnGate) .logincard > .lg-help > summary::-webkit-details-marker { display:none; }
/* FINAL GATE A */
/* (final gate, part 10: at 768 a one-line task title sat 15 px above its tick, done circle and due date) the title's line is as tall as the tick and centred on it */
html[data-q-width="narrow"] #listView[data-look="quiet"] .ktable[data-kt="tasks"] td.k-title:has(> .tick):has(> .k-rowlink + .lv-nw)::before { content:""; display:inline-block; block-size:var(--q-control); vertical-align:middle; }
/* (final gate, rule 22: "MM" and "OO" touched the ring of the Workload and At risk avatars) the same size as the People page's */
[data-look="quiet"] :is(td.wl-person, .ar-who) .pchip { box-sizing:border-box; inline-size:max(26px, calc(2.45em + 8px)); block-size:max(26px, calc(2.45em + 8px)); min-inline-size:calc(2.45em + 8px); min-block-size:calc(2.45em + 8px); padding:2px; line-height:1; white-space:nowrap; }
/* (final gate, C5: every Workload bar drew a stub at 0 %) a part is the switch row's .seg only by name: none of its 2 px padding and 1 px edge, so 0 % draws nothing */
[data-look="quiet"] .wlbar > .seg { display:block; padding:0; border:0; border-radius:0; min-inline-size:0; }
/* (final gate, part 11: at 1440 the Locations list ran the page's 1,400 px, its > far from its words) it stops at its fitted width */
html[data-q-width="wide"] #settingsView[data-look="quiet"] .loc-list { inline-size:fit-content; min-inline-size:min(100%, 20rem); max-inline-size:100%; }
/* (final gate, part 11: "Download spreadsheet" sat at the window's edge, not the table's) the action row stops at its words, under the table's start */
html[data-q-width="wide"] [data-look="quiet"] .ail-foot { inline-size:fit-content; max-inline-size:100%; }
/* (final gate, part 10: the calendars list's Outlook and Google buttons touched the button under them) */
#drawer[data-look="quiet"] #calcolsWide { margin-block-start:.75rem; }
/* (final gate, part 10: on a phone "same clock as you" ran into "MST") the zone's words wrap inside their own room; the note keeps one line */
[data-look="quiet"] .tz2-opt > .tz2-n { white-space:normal; overflow-wrap:break-word; }
[data-look="quiet"] .tz2-opt .tz2-same { white-space:nowrap; }
/* (final gate, rule 22: running text keeps under 75 characters a line; Ready-made series ran 85 to 107, What's changed 97 to 104) */
[data-look="quiet"] :is(.rp-preview, .pk-total) { max-inline-size:62ch; }
#drawer[data-look="quiet"] .e4b-e .e4b-c { max-inline-size:62ch; }
/* (final gate, rule 21: in the dark theme Ask a number's chosen "50" was grey on grey) a chosen word in a box is the page's ground on its text colour */
html[data-shell="quiet"] :is(input, textarea)::selection { background:var(--q-text); color:var(--q-bg); }
/* (final gate, rule 22: a project card's name, its one link, stood 42 px on a touch screen) */
@media (pointer:coarse) { [data-look="quiet"] .pjcard-name .k-rowlink { display:inline-flex; align-items:center; min-block-size:var(--q-touch); } }
/* (final gate, rule 22 and part 10: on a phone a Month chip is 42 px of text, so a 3-line clamp stacked one word a line and cut a word wider than the chip with no mark, "Rebu / the / brak")
   its title keeps one line and a title too long for it ends in "..."; the whole title is one tap away and in Agenda */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title { display:block; -webkit-line-clamp:none; line-clamp:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* END FINAL GATE A */

/* FINAL GATE A2 */
/* (final gate, part 2: on a phone a full-page record's action row drew its ground and line in the middle of a short form, a box in the content, Invite someone) it takes them only while it is stuck over the record moving under it (quiet.js footStuck) */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"] :is(.dfoot, .drawerfoot):not([hidden]):not([data-q-stuck]) { background:var(--q-clear); border-block-start-color:var(--q-clear); }
/* (final gate, rule 14 and part 2: Work hours drew an empty foot band, a divider at 1440, round a Close that the quiet look does not show) a foot with nothing to show is not drawn */
#drawer[data-look="quiet"] .drawerfoot:not(:has(> :not([data-drawer-close], [hidden]))) { display:none; }
/* (final gate, parts 9 and 10: on a phone and a tablet a project task's Move stood on its own line, its name on the next) Move, the tick and the name share the row's first line; a long name wraps beside them */
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .pjt-move) { padding-inline-start:.5rem; text-indent:0; }
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title > .pjt-move { display:inline-flex; align-items:center; justify-content:center; float:inline-start; inline-size:4.5em; block-size:auto; min-block-size:var(--q-control); margin:0 .25rem 0 0; text-indent:0; }
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .pjt-move) > .tick { float:inline-start; margin:0 .25rem 0 0; }
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .pjt-move) > .pjt-title { display:block; overflow:hidden; inline-size:auto; min-block-size:var(--q-control); padding-block-start:calc((var(--q-control) - 1lh) / 2); text-indent:0; vertical-align:baseline; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .pjtask:has(> .k-title > .pjt-move) > td.pjt-meta:not([data-q-detail]) { padding-block-start:calc(.375rem + (var(--q-control) - 1lh) / 2); }
/* (final gate, part 10: a meeting's "1 PM-2 / PM" and a show's "Thu / 11/12" split over two lines) a day and a time range each keep one line */
[data-look="quiet"] .q-nobr { white-space:nowrap; }
/* (final gate, part 11: Time estimate is a number column) its heading and figures sit right, in even-width figures */
[data-look="quiet"] .ktable[data-kt="projtasks"] :is(th, td).num { text-align:end; font-variant-numeric:tabular-nums; }
/* (final gate, part 4: keep the List filter and its actions inside the window at tablet and desktop widths) */
@media (min-width:40em) {
  [data-look="quiet"] #vbp-list.k-fpanel { box-sizing:border-box; max-block-size:var(--list-filter-room, 65dvh); overflow:auto; overscroll-behavior:contain; }
  [data-look="quiet"] #vbp-list.k-fpanel > .k-ffoot { inset-block-end:0; }
}
/* (final gate, part 10: put the title's touch padding on the link only, not both the link and its wrapper) */
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .pjt-move) > .pjt-title { padding-block-start:0; }
html:not([data-q-width="wide"]) #projectView[data-look="quiet"] .pjtask > td.k-title:has(> .pjt-move) .pjt-title > .k-rowlink { display:block; min-block-size:var(--q-control); box-sizing:border-box; padding-block:calc((var(--q-control) - 1lh) / 2) 0; overflow-wrap:break-word; }
html[data-q-width="phone"] #projectView[data-look="quiet"] table:has(tr.pjtask) col:first-child { width:72% !important; }
/* (final gate, part 10: the placeholder must not add a tall baseline before the name) */
[data-look="quiet"] .tc-table td:first-child > .tc-tog { vertical-align:middle; }
/* (final gate, part 3: the sticky foot's ground meets the bottom bar itself, without exposing a strip of the form) */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"] :is(.dfoot, .drawerfoot):not([hidden]) { inset-block-end:calc(var(--q-nav-clear, 4px) - 4px); }
/* END FINAL GATE A2 */

/* FINAL GATE D */
/* (final gate, part 9: on desktop the old dialog width sent Who and Remove to a second line) keep room for the task name and its settings; small windows still wrap */
html[data-q-width="wide"] #aiModal[data-look="quiet"] > .sheet { width:min(56rem, 94vw); }
/* (final gate, part 11: on a phone the Fulfillment column cut "Partly fulfilled") give the status more room; let it wrap at narrower widths */
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-q-table][data-kt="orders"] col[data-k="fulfillment"] { width:min(34%, 7.5rem) !important; }
html[data-q-width="phone"] [data-look="quiet"] .ktable[data-q-table][data-kt="orders"] td .badge { min-inline-size:0; white-space:normal; }
/* END FINAL GATE D */

/* FINAL GATE G */
/* (final gate, rule 21: browser placeholder shades were too faint on the quiet field fills) */
html[data-shell="quiet"] :is(input, textarea)::placeholder { color:var(--q-placeholder); opacity:1; }
/* (final gate, rule 21: the chart edge defines each stretch against the page and its neighbours, without darkening the tint behind its words) */
#hoursView[data-look="quiet"] .hrs-seg { border:0; box-shadow:inset 0 0 0 1px var(--q-muted); }
#hoursView[data-look="quiet"] .hrs-sw { border-color:var(--q-muted); }
/* (final gate, part 6: the five sections have one sentence-case heading style) */
html[data-shell="quiet"] #hoursView[data-look="quiet"] .hrs-h3 { font-size:var(--q-size-body); color:var(--q-text); text-transform:none; letter-spacing:normal; }
/* (final gate, part 14: a link in a line of text is underlined in the text colour) */
[data-look="quiet"] #aiUsage a { color:inherit; text-decoration:underline; }
/* END FINAL GATE G */

/* FINAL GATE F */
/* (final gate, part 10: use the whole day cell for two lines of words, not four letters) */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mcell { padding-inline:.0625rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip:has(> .q-month-title) { padding-inline:.0625rem; }
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2;
  white-space:normal; overflow-wrap:normal; hyphens:none; overflow:hidden; text-overflow:ellipsis;
}
/* (final gate, part 10: keep the holiday outline without spending any of the day's text width on its edge) */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mcell > .mchip.hol:has(> .q-month-title) {
  margin-inline:-.0625rem; max-inline-size:none; padding-inline:0; border:0; outline:1px dashed var(--q-line); outline-offset:-1px;
  letter-spacing:-.035em;
}
/* (final gate, part 4: the fixed sheet already covers the nav; only its choices scroll) */
[data-look="quiet"] .k-fsheet-body { display:contents; }
@media (max-width:39.9375em) {
  [data-look="quiet"] .k-fpanel:has(> .k-fsheet-body):not([hidden]) { display:flex; flex-direction:column; overflow:hidden; padding-block:0; }
  [data-look="quiet"] .k-fpanel > .k-fsheet-body { display:block; min-block-size:0; overflow:auto; overscroll-behavior:contain; padding:.875rem .25rem .5rem; margin-inline:-.25rem; }
  [data-look="quiet"] .k-fpanel:has(> .k-fsheet-body) > .k-ffoot { flex:none; position:static; padding-block-end:max(.75rem, var(--safe-b, 0px)); }
}
/* (final gate, part 11: give Due its full date; the task title takes the remaining width) */
html[data-q-width="phone"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] col[data-k="title"] { width:auto !important; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] th.k-title { width:auto; }
html[data-q-width="phone"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] col[data-k="due"] { width:5rem !important; }
/* (final gate, part 11: Amount, its values and their total share the same end inset) */
#drawer[data-look="quiet"] .shopitems th.kt-th[data-kt-col="amount"],
#drawer[data-look="quiet"] .shoptotals > div:not(#shopTotalHint) { padding-inline-end:.75rem; }
/* (final gate, part 11: keep the Workload comparison clear; the last column scrolls with the data) */
#workloadView[data-look="quiet"] table.ktable[data-kt="workload"] :is(th, td).q-row-end { inset-inline-end:auto; }
#workloadView[data-look="quiet"] table.ktable[data-kt="workload"] td.q-row-end { position:static; }
#workloadView[data-look="quiet"] [data-q-slides] > table.ktable[data-kt="workload"] thead th.q-row-end { background:var(--q-bg); }
#workloadView[data-look="quiet"] [data-q-slides] > table.ktable[data-kt="workload"] tr:not(:hover, :focus-within) > td.q-row-end:not([data-q-hover-col]) { background:var(--q-clear); }
#workloadView[data-look="quiet"] [data-q-slides] > table.ktable[data-kt="workload"] .q-row-end::before { content:none; }
#workloadView[data-look="quiet"] .ktablecard:has(> [data-kt="workload"]) { scroll-padding-inline-end:0; }
/* (final gate, part 10: leave air after the estimate; its working links read as one phrase) */
[data-look="quiet"] #setAiUseSec .va-usage-line { margin-block-end:.5rem; }
[data-look="quiet"] #setAiUseSec .va-usage-figures { display:inline-flex; align-items:center; gap:.375rem; max-inline-size:100%; flex-wrap:wrap; vertical-align:middle; }
[data-look="quiet"] #setAiUseSec .va-usage-figures .figure-number { padding-inline:0; }
[data-look="quiet"] #setAiUseSec .va-usage-line + .hint { margin-block-start:0; }
/* (final gate, rule 6: the full-height sign-in page has no app bars to clear) */
html[data-shell="quiet"] body:has(> #loginGate:not([hidden])) { padding-block-end:0; }
/* (final gate, part 10: keep the Integrations action clear of the status and the footer rule) */
#drawer[data-look="quiet"] #rmBody > p:has(> #rmGoInteg) { margin-block:.625rem .75rem; }
/* (final gate, part 4: Remove is an outlined action, the same as on the Rough plan) */
#aiModal[data-look="quiet"] :is(.pvtask.editable .pvtdel, .pvstage-edit .pvsdel) {
  border:1px solid var(--q-edge); border-radius:.4375rem; color:var(--q-text); padding-inline:.25rem;
  min-block-size:var(--q-control); min-inline-size:var(--q-control);
}
#aiModal[data-look="quiet"] :is(.pvtask.editable .pvtdel, .pvstage-edit .pvsdel):hover { background:var(--q-hover); }
#aiModal[data-look="quiet"] :is(.pvtask.editable .pvtdel, .pvstage-edit .pvsdel):active { background:var(--q-tint); }
/* (final gate, part 19: the centred invitation sits in the room below the top bar) */
#drawer.open[data-look="quiet"][data-q-frame="center"]:has([data-drawer="pinvite"]:not([hidden])) { inset-block-start:calc(var(--q-rec-y, 0px) + var(--q-top-height, 0px) + .5rem); }
#drawer.open[data-look="quiet"][data-q-frame="center"][data-q-fits]:has([data-drawer="pinvite"]:not([hidden])) {
  inset-block:calc(var(--q-top-height, 0px) + .5rem) calc(var(--safe-b, 0px) + .5rem); margin-block:auto; block-size:max-content;
}
/* END FINAL GATE F */

/* FINAL GATE I */
/* (rules 12 and 25 part 11: keep the cue at the frame edge, with enough scroll room to read every column beside it) */
#workloadView[data-look="quiet"] table.ktable[data-kt="workload"] :is(th, td).q-row-end { inset-inline-end:0; }
#workloadView[data-look="quiet"] table.ktable[data-kt="workload"] td.q-row-end { position:sticky; }
#workloadView[data-look="quiet"] [data-q-slides] > table.ktable[data-kt="workload"] tr:not(:hover, :focus-within) > td.q-row-end:not([data-q-hover-col]) { background:var(--q-bg); }
#workloadView[data-look="quiet"] .ktablecard:has(> [data-kt="workload"]) { scroll-padding-inline-end:2.75rem; }
html[data-q-width="wide"] #workloadView[data-look="quiet"] .k-viewbar[data-vb="wl"] { box-sizing:border-box; inline-size:calc(var(--q-workload-width, 100%) + 2 * var(--q-gutter)); max-inline-size:100%; }
/* (part 11: a two-column table stops after its content; user-set widths still apply) */
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"]:not(.kt-fixed) { width:max-content !important; max-inline-size:100%; table-layout:auto; }
#timeoffView[data-look="quiet"] .ktablecard:has(> .ktable[data-kt="t0out"]:not(.kt-fixed)) { min-width:0; max-inline-size:100%; }
#timeoffView[data-look="quiet"] .ktable[data-kt="t0out"]:not(.kt-fixed) { width:max-content; max-inline-size:100%; }
#timeoffView[data-look="quiet"] .ktable[data-kt="t0out"]:not(.kt-fixed) :is(th, td) { width:auto; }
#timeoffView[data-look="quiet"] .ktable[data-kt="t0out"]:not(.kt-fixed) td:last-child { white-space:nowrap; }
/* (part 11: let the widest audit values share the room instead of keeping six fixed default widths) */
html[data-q-width="wide"] [data-look="quiet"] table.ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) { width:fit-content; max-inline-size:100%; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) col { width:auto !important; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) td:nth-child(-n+4) .ail-clip { white-space:nowrap; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) td:last-of-type:not(.q-row-end) .ail-clip,
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) td:has(+ .q-row-end) .ail-clip { display:inline; }
/* (part 4: action widths follow the words; every Calendar range has a visible button edge) */
html[data-shell="quiet"] #loginGate #lgForm .loginbtns { flex-wrap:wrap; }
html[data-shell="quiet"] #loginGate #lgForm .loginbtns > button { flex:0 0 auto; inline-size:auto; }
#drawer[data-look="quiet"] #rgAdd { justify-self:start; }
#calView[data-look="quiet"] #vbp-cal .cal-popdays > .k-chip { border:1px solid var(--q-edge); border-radius:.4375rem; }
#calView[data-look="quiet"] #vbp-cal .cal-popdays > .k-chip:hover { background:var(--q-hover); }
/* (part 10: names, notes and offsets are separate; the city and its offset keep their room) */
#calView[data-look="quiet"] .tz2-opt .tz2-n > :is(small, .tz2-same) { margin-inline-start:.25rem; }
/* (rule 23: the field name stays visible and the Remove action is a real button) */
#drawer[data-look="quiet"] .aibox > label { font-size:var(--q-size-body); }
#drawer[data-look="quiet"] .pjr-sheet .pjr-hrs { align-items:flex-start; flex-direction:column; }
#drawer[data-look="quiet"] .pjr-sheet .pjr-hrs > span { white-space:nowrap; }
#projectView[data-look="quiet"] .pj-person-remove { display:inline-flex; align-items:center; justify-content:center; gap:.375rem; }
/* (rule 21: Add task needs a control edge, not the faint divider token) */
#aiModal[data-look="quiet"] .pvaddt { border-color:var(--q-edge); }
#aiModal[data-look="quiet"] .pvaddt:hover { background:var(--q-hover); }
/* END FINAL GATE I */

/* FINAL GATE H */
/* (final gate, rule 14: rollout status follows the work at every width) */
#mydayView[data-look="quiet"] > #mydayPreview { order:7; padding-inline:var(--q-gutter); }
/* (final gate, rule 21: unfilled List choices need a visible control edge) */
#listView[data-look="quiet"] #vbp-list button.k-fopt:not(.on) { border-color:color-mix(in srgb, var(--q-edge) 80%, var(--q-text)); }
/* (final gate, rule 25 part 11: the actions stop where the fitted table stops) */
html[data-q-width="wide"] #listView[data-look="quiet"] .ib-foot { box-sizing:border-box; inline-size:min(100%, calc(var(--q-action-table, 100%) + 2 * var(--q-gutter))); }
html[data-q-width="wide"] #timeView[data-look="quiet"] #timeHead [data-vb="time"] { box-sizing:border-box; inline-size:min(100%, calc(var(--q-action-table, 100%) + 2 * var(--q-gutter))); }
/* (final gate, rule 1: plot a readable week without stretching it across the monitor) */
[data-look="quiet"] .hrs-week { max-inline-size:56rem; }
/* (final gate, rule 25 part 11: fit the visible columns, without hiding any more of them) */
html[data-q-width="narrow"] #timeView[data-look="quiet"] .ktablecard:has(> table[data-kt="timeownS"]),
html[data-q-width="narrow"] #drawer[data-look="quiet"] .ktablecard:has(> table[data-kt="jobparts"]) { width:fit-content !important; max-inline-size:100%; }
html[data-q-width="narrow"] #timeView[data-look="quiet"] #timeBody table.ktable[data-kt="timeownS"]:not(.kt-fixed),
html[data-q-width="narrow"] #drawer[data-look="quiet"] table.ktable[data-kt="jobparts"]:not(.kt-fixed) { width:auto !important; table-layout:auto; }
/* (final gate, rule 25 part 11: keep the Day context wide enough in the fitted sessions table) */
html[data-q-width="narrow"] [data-look="quiet"] #timeBody table[data-kt="timeownS"] th[data-kt-col="day"] { width:100px !important; min-width:100px !important; }
#drawer[data-look="quiet"] .shop-order-total { margin-block:.375rem; font-variant-numeric:tabular-nums; }
/* (final gate, rule 25 part 4: a removal has a name, a button edge and a full target) */
#projectView[data-look="quiet"] .pjv-lead .pj-person-remove { max-inline-size:100%; white-space:normal; }
/* (final gate, rules 17 and 22: whole words, and a separate target for the rest of the day) */
#calView[data-look="quiet"] #monthGrid .month-cells { grid-template-columns:repeat(7, minmax(0, 1fr)); }
#calView[data-look="quiet"] #monthGrid .mchip:has(> .q-month-title) { display:block; align-content:center; white-space:normal; }
html[data-q-width] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:6; line-clamp:6;
  white-space:normal; overflow-wrap:normal; hyphens:none; overflow:hidden; text-overflow:ellipsis; line-height:1.2;
}
#calView[data-look="quiet"] #monthGrid .q-month-more {
  flex:none; min-block-size:var(--q-control); min-inline-size:var(--q-control); align-self:stretch;
  padding:.125rem 0; border:1px solid var(--q-edge); border-radius:.25rem; background:var(--q-clear);
  color:var(--q-text); font-size:var(--q-size-small); line-height:1.1; cursor:pointer; white-space:normal;
}
#calView[data-look="quiet"] #monthGrid .q-month-more:hover { background:var(--q-hover); }
@media (pointer:coarse) {
  #calView[data-look="quiet"] #monthGrid .q-month-more { min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
}
#drawer[data-look="quiet"] #tRepeatRow[data-q-rare] { display:none; }
/* END FINAL GATE H */

/* FINAL GATE M */
/* (part 11: fit the real title and date rather than dividing up a fixed-width table) */
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"]:not(.kt-fixed),
html[data-q-width="narrow"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"]:not(.kt-fixed),
html[data-q-width="narrow"][data-shell="quiet"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"]:not(.kt-fixed) {
  width:max-content !important; max-inline-size:100%; table-layout:auto;
}
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] :is(th, td).k-title,
html[data-q-width="narrow"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] :is(th, td).k-title,
html[data-q-width="narrow"][data-shell="quiet"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"] :is(th, td).k-title {
  width:auto; max-inline-size:none;
}
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] td.k-title { white-space:normal; overflow-wrap:anywhere; }
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] col[data-k="when"] { width:auto !important; }
html[data-q-width="narrow"] #mydayView[data-look="quiet"] #mydayBody .ktable[data-kt="myday"] tbody td:first-child { white-space:nowrap; }

/* (rules 17 and 25 part 1: a phone's day cell grows with the full calendar title) */
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip > .q-month-title {
  display:block; line-clamp:none; -webkit-line-clamp:none; overflow:visible; overflow-wrap:anywhere; text-overflow:clip;
}

/* (rule 21: the List's project selector is a control, not a divider) */
#listView[data-look="quiet"] #vbp-list .tabproj select { border:1px solid color-mix(in srgb, var(--q-edge) 80%, var(--q-text)); }
#listView[data-look="quiet"] #vbp-list .tabproj select:hover { background-color:var(--q-hover); }

/* (rule 19: give the new task's Time fields a shared heading and space) */
#drawer[data-look="quiet"] #taskForm .q-new-task-time { display:grid; gap:.5rem; }
#drawer[data-look="quiet"] #taskForm .q-new-task-time > h3 { margin:0; font-size:var(--q-size-body); }
#drawer[data-look="quiet"] #taskForm .q-new-task-time input { min-inline-size:0; }

/* (rules 4 and 23: one Dates group, with room for the full search prompt) */
#timeView[data-look="quiet"] #vbp-time .f5-date-range { display:grid; gap:.5rem; }
#timeView[data-look="quiet"] #vbp-time .tm-date { justify-content:space-between; flex-wrap:wrap; }
#timeView[data-look="quiet"] #vbp-time .tm-date > input { border-color:var(--q-edge); }
html[data-q-width="wide"] #timeView[data-look="quiet"] #timeHead [data-vb="time"] .csr-box.vb-search {
  flex:0 0 14rem; min-inline-size:min(100%, 14rem); max-inline-size:100%;
}
/* (part 11: keep the duration together, and the actions at the table edge) */
html[data-q-width="narrow"] #timeView[data-look="quiet"] #timeBody .ktable[data-kt="timeownS"] tbody td:last-child { white-space:nowrap; }
html:not([data-q-width="phone"]) #atriskView[data-look="quiet"] #atriskHead [data-vb="ar"] {
  box-sizing:border-box; inline-size:min(100%, calc(var(--q-action-table, 100%) + 2 * var(--q-gutter)));
}

/* (part 11: count visible columns, so Amount replaces the hidden Qty x price as the second stripe) */
html:where(:not([data-q-width="wide"])) :where(#drawer)[data-look="quiet"] .ktable:where([data-kt="jobparts"]) tbody tr > td { background:var(--q-jobparts-stripe, var(--q-clear)); }
html:where(:not([data-q-width="wide"])) :where(#drawer)[data-look="quiet"] .ktable:where([data-kt="jobparts"]) tbody tr > td:where(:nth-child(even of :not([data-q-detail], [data-q-empty]))) { --q-jobparts-stripe:var(--q-coltint); }

/* (part 11: fit the audit to the unbroken values, even when What has a badge) */
html[data-q-width="wide"] [data-look="quiet"] table.ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) { width:fit-content; max-inline-size:100%; table-layout:auto; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) :is(th, td):nth-child(-n+4),
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) td:nth-child(-n+4) .ail-clip:is(span, .s) { white-space:nowrap; }
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) td:nth-child(n+5):not(.q-row-end),
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) td:nth-child(n+5):not(.q-row-end) .ail-clip { white-space:normal; overflow:visible !important; text-overflow:clip !important; overflow-wrap:break-word; }
/* (part 11: keep clear horizontal gaps between columns while letting long Why/What wrap whole words within the wide frame) */
html[data-q-width="wide"] [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) :is(th, td):not(.q-row-end) { padding-inline:.5rem; }
/* (part 11: when this bar has More, Add time still meets the sessions table's right edge) */
html[data-q-width="wide"] #timeView[data-look="quiet"]:has([data-kt="timeownS"]) #timeHead .k-actions > [data-at-open] { order:1; }
/* END FINAL GATE M */

/* FINAL GATE N */
/* (final gate, rule 21: give unchecked Calendar controls and the project description a real field edge.) */
#calView[data-look="quiet"] :is([data-lvwho], [data-chip="f:cals"], [data-chip="f:busy"]):not(.on, [aria-pressed="true"]),
#drawer[data-look="quiet"] #aiVehicle { border-color:var(--q-edge); }
/* (final gate, part 10: the hours label gets its own track and can wrap before Remove.) */
html:not([data-q-width="phone"]) #drawer[data-look="quiet"] .pjr-sheet .pjr-row {
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(6.5rem,auto) auto; gap:.5rem;
}
#drawer[data-look="quiet"] .pjr-sheet .pjr-hrs > span { white-space:normal; }
#drawer[data-look="quiet"] .pjr-listed .figure-number { text-decoration:underline; text-underline-offset:.175em; }
@media (pointer:coarse) {
  #drawer[data-look="quiet"] .pjr-listed .figure-number { min-block-size:var(--q-touch); }
}
/* (final gate, part 4: enabled move options visibly read as controls; unavailable ones stay dimmed.) */
html[data-shell="quiet"] #pjmvMenu .pjmv-mi:not([aria-disabled="true"]) {
  border:1px solid var(--q-edge); margin-block:.25rem; border-radius:.375rem;
}
/* END FINAL GATE N */

/* FINAL GATE R */
/* (final gate, rules 10 and 13: use the app header and page gutter, not the stand-alone book's frame.) */
#helpView[data-look="quiet"] { min-inline-size:0; }
#helpView[data-look="quiet"] .k-head { align-items:center; }
#helpView[data-look="quiet"] #helpBook { min-inline-size:0; margin:0 var(--gutter); padding-block:.75rem 1.5rem; color:var(--q-text); font-size:var(--q-size-body); line-height:1.55; overflow-wrap:anywhere; }
#helpView[data-look="quiet"] .help-back { display:inline-flex; align-items:center; min-block-size:var(--q-touch); color:var(--q-text); text-underline-offset:.18em; }
#helpView[data-look="quiet"] #helpBook [id] { scroll-margin-top:calc(var(--q-top-height, 5rem) + .75rem); }
#helpView[data-look="quiet"] #helpBook :is(h2,h3,h4) { font-weight:500; line-height:1.3; }
#helpView[data-look="quiet"] #helpBook h2 { margin:1.75rem 0 .625rem; font-size:var(--q-size-title); }
#helpView[data-look="quiet"] #helpBook h3 { margin:1rem 0 .375rem; font-size:var(--q-size-body); }
#helpView[data-look="quiet"] #helpBook :is(p,li,dd,blockquote) { max-inline-size:37.5em; }
#helpView[data-look="quiet"] #helpBook a[href] { display:inline-flex; align-items:center; min-block-size:1.5rem; min-inline-size:1.5rem; color:var(--q-text); text-decoration:underline; text-underline-offset:.18em; }
#helpView[data-look="quiet"] #helpBook .actions { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
#helpView[data-look="quiet"] #helpBook a.btn { display:inline-flex; align-items:center; min-block-size:var(--q-touch); text-decoration:none; }
#helpView[data-look="quiet"] #helpBook :is(.filter, .seek, summary) { min-block-size:var(--q-touch); }
#helpView[data-look="quiet"] #helpBook input.filter { height:var(--q-touch); min-height:var(--q-touch); width:min(100%, 26rem); padding:.375rem .625rem; border:1px solid var(--q-edge); border-radius:.5rem; color:var(--q-text); background:var(--q-surface); font:inherit; }
#helpView[data-look="quiet"] #helpBook .filter::placeholder { color:var(--q-placeholder); opacity:1; }
#helpView[data-look="quiet"] #helpBook :is(.hint,.outcome,.step-title,.step-note,.step-phone,.help-status) { color:var(--q-muted); }
#helpView[data-look="quiet"] #helpBook .ctl { display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:.75rem 0; }
#helpView[data-look="quiet"] #helpBook .ctl dd { margin:0; }
#helpView[data-look="quiet"] #helpBook .ctl dt { font-size:var(--q-size-small); color:var(--q-muted); }
#helpView[data-look="quiet"] #helpBook .rolechips { display:flex; flex-wrap:wrap; gap:.25rem .625rem; }
#helpView[data-look="quiet"] #helpBook .badge { background:none; color:inherit; padding:0; border:0; border-radius:0; font-weight:400; white-space:normal; }
#helpView[data-look="quiet"] #helpBook .steps { list-style:none; padding:0; }
#helpView[data-look="quiet"] #helpBook .step { margin-block:1.25rem; }
#helpView[data-look="quiet"] #helpBook .step-head { display:flex; gap:.75rem; }
#helpView[data-look="quiet"] #helpBook .step-head p { margin:0; }
#helpView[data-look="quiet"] #helpBook .step-n { font-weight:500; }
#helpView[data-look="quiet"] #helpBook .shots { display:grid; gap:.75rem; margin:.75rem 0; }
#helpView[data-look="quiet"] #helpBook .shot { margin:0; }
#helpView[data-look="quiet"] #helpBook .shot img { display:block; max-inline-size:100%; height:auto; border-radius:.375rem; }
#helpView[data-look="quiet"] #helpBook .shot.phone img { max-inline-size:min(100%, 18.75rem); }
#helpView[data-look="quiet"] #helpBook .shot figcaption { margin-top:.375rem; color:var(--q-muted); }
#helpView[data-look="quiet"] #helpBook .shot .th-light, #helpView[data-look="quiet"] #helpBook .video-print { display:none; }
html[data-theme="light"] #helpView[data-look="quiet"] #helpBook .shot.has-light .th-dark { display:none; }
html[data-theme="light"] #helpView[data-look="quiet"] #helpBook .shot.has-light .th-light { display:block; }
#helpView[data-look="quiet"] #helpBook .video video:not([hidden]) { display:block; inline-size:min(100%, 60rem); block-size:auto; }
#helpView[data-look="quiet"] #helpBook summary { align-content:center; cursor:pointer; }
#helpView[data-look="quiet"] #helpBook .seek { margin-inline:.375rem; }
#helpView[data-look="quiet"] #helpBook .vlib { list-style:none; padding:0; }
#helpView[data-look="quiet"] #helpBook .vl { display:flex; flex-wrap:wrap; gap:.75rem; margin-block:1rem; }
#helpView[data-look="quiet"] #helpBook .vl-p { display:block; inline-size:min(100%, 10rem); }
#helpView[data-look="quiet"] #helpBook .vl-p img { inline-size:100%; }
#helpView[data-look="quiet"] #helpBook .vl-t { font-weight:500; }
#helpView[data-look="quiet"] #helpBook .rolelist { columns:2 18rem; }
#helpView[data-look="quiet"] #helpBook .rolelist li { break-inside:avoid; }
/* (final gate, rule 12 and part 25.11: one real link with a row cue, fitted columns and a narrow lookup.) */
#helpView[data-look="quiet"] #helpBook .tablewrap { max-inline-size:100%; overflow-x:auto; margin-block:.625rem 1rem; }
#helpView[data-look="quiet"] #helpBook table { border-collapse:separate; border-spacing:0; inline-size:auto; max-inline-size:100%; }
#helpView[data-look="quiet"] #helpBook :is(th,td) { padding:.375rem .625rem; border-block-end:1px solid var(--q-line); text-align:start; vertical-align:middle; }
#helpView[data-look="quiet"] #helpBook th { color:var(--q-muted); font-weight:500; }
#helpView[data-look="quiet"] #helpBook .area-row th { color:var(--q-text); }
#helpView[data-look="quiet"] #helpBook :is(th,td):nth-child(even):not(.want-cue) { background-image:linear-gradient(var(--color-col-stripe), var(--color-col-stripe)); }
#helpView[data-look="quiet"] #helpBook .help-linked { cursor:pointer; }
#helpView[data-look="quiet"] #helpBook .help-linked > td { block-size:var(--q-touch); }
#helpView[data-look="quiet"] #helpBook .help-linked a[data-help-route] { display:inline-flex; min-block-size:var(--q-touch); align-items:center; }
#helpView[data-look="quiet"] #helpBook .help-linked:is(:hover,:focus-within) { background:var(--q-hover); }
#helpView[data-look="quiet"] #helpBook .help-linked:active { background:var(--q-tint); }
#helpView[data-look="quiet"] #helpBook .want-cue { color:var(--q-muted); font-size:1.125rem; }
html:not([data-nav-place="top"]) #helpView[data-look="quiet"] #helpBook #help-doc-want .want-extra { display:none; }
html:not([data-nav-place="top"]) #helpView[data-look="quiet"] #helpBook #help-doc-want td:nth-last-child(2) { max-inline-size:6rem; }
@media (pointer:coarse), (max-width:40em) {
  #helpView[data-look="quiet"] #helpBook a[href] { display:inline-flex; align-items:center; min-block-size:var(--q-touch); min-inline-size:var(--q-touch); }
}
@media (min-width:64em) {
  #helpView[data-look="quiet"] #helpBook .step .shots { inline-size:min(66rem, calc(100vw - 2.5 * var(--gutter))); }
  #helpView[data-look="quiet"] #helpBook .shots:not(.only-wide) { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
}
/* END FINAL GATE R */

/* FINAL GATE T */
/* (final gate, part 10: a long task can wrap inside its link; the estimate stays alongside it) */
#mydayView[data-look="quiet"] .md-next-task { display:inline-flex; align-items:baseline; gap:.25rem; max-inline-size:100%; }
#mydayView[data-look="quiet"] .md-next-task > .md-title { min-inline-size:0; }
#mydayView[data-look="quiet"] .md-next-duration { flex:none; white-space:nowrap; }

/* (final gate, part 1: give whole words all the room in the seven-day phone grid) */
html[data-q-width="phone"] #calView[data-look="quiet"] .cal-frame:has(#monthGrid:not([hidden])) { margin-inline:0; }
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mcell,
html[data-q-width="phone"] #calView[data-look="quiet"] #monthGrid .mchip:has(> .q-month-title) { padding-inline:0; }

/* (final gate, part 11: the hidden Times and Project cells are not part of the stripe count) */
html:where(:not([data-q-width="wide"])) :where(#timeView)[data-look="quiet"] .ktable:where([data-kt="timeownS"]) tbody tr > td { background:var(--q-session-stripe, var(--q-clear)); }
html:where(:not([data-q-width="wide"])) :where(#timeView)[data-look="quiet"] .ktable:where([data-kt="timeownS"]) tbody tr > td:where(:nth-child(even of :not([data-q-detail], [data-q-empty]))) { --q-session-stripe:var(--q-coltint); }

/* (final gate, part 11: the member's bar follows the session table on a tablet too) */
html[data-q-width="narrow"] #timeView[data-look="quiet"]:has([data-kt="timeownS"]) #timeHead [data-vb="time"] {
  box-sizing:border-box; inline-size:min(100%, calc(var(--q-action-table, 100%) + 2 * var(--q-gutter)));
}

/* (final gate, part 11: the estimate heading and values share the same end edge, outside the grip) */
html[data-q-width="wide"] #projectView[data-look="quiet"] .ktable[data-kt="projtasks"] :is(th[data-kt-col="est"], td.num) { padding-inline-end:1rem; }

/* (final gate, part 11: stop at the fitted Parts & labor columns without overriding saved widths) */
html[data-q-width="wide"] #drawer[data-look="quiet"] .ktablecard:has(> .shopitems:not(.kt-fixed)) { width:fit-content; max-inline-size:100%; }
html[data-q-width="wide"] #drawer[data-look="quiet"] table.shopitems:not(.kt-fixed) { width:auto; }

/* (final gate, part 11: the phone alert list fits only the title, due date and cue) */
html[data-q-width="phone"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"]:not(.kt-fixed) { width:max-content !important; table-layout:auto; }
html[data-q-width="phone"][data-shell="quiet"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"] :is(th, td).k-title { width:auto; max-inline-size:none; }
html[data-q-width="phone"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"] col[data-k="due"] { width:auto !important; }
html[data-q-width="phone"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"] :is(.k-title, .ar-duecell, [data-kt-col="due"]) { padding-inline:.25rem; white-space:nowrap; }
html[data-q-width="phone"] #atriskView[data-look="quiet"] #atriskBody .ktable[data-kt="atrisk"] .ar-duecell > a { white-space:nowrap; }
html[data-q-width="phone"] #atriskView[data-look="quiet"] #atriskBody .ktablecard:has(> [data-kt="atrisk"]) { overflow-x:auto; }

/* (final gate, part 11: Coming up no longer has Ends or a permanently empty actions track) */
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktablecard:has(> [data-kt="t0coming"]) { width:fit-content !important; max-inline-size:100%; overflow-x:auto; }
html[data-q-width="narrow"] #timeoffView[data-look="quiet"] .ktable[data-kt="t0coming"]:not(.kt-fixed) { width:max-content !important; table-layout:auto; }

/* (final gate, part 11: When stays on one line while What wraps whole words in the remaining width without mid-word clipping) */
html:not([data-q-width="wide"]) [data-look="quiet"] table.ktable[data-q-table]:is([data-kt="ailog"], [data-kt="ailogme"]):not(.kt-fixed) { width:100% !important; table-layout:auto; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable[data-q-table]:not([data-q-compare]):is([data-kt="ailog"], [data-kt="ailogme"]) col[data-k="when"] { width:1% !important; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) tbody td:first-child, html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) tbody td:first-child .ail-clip { white-space:nowrap !important; overflow-wrap:normal; word-break:normal; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) td:has(+ .q-row-end) { white-space:normal; overflow:visible !important; text-overflow:clip !important; overflow-wrap:break-word; }
html:not([data-q-width="wide"]) [data-look="quiet"] .ktable:is([data-kt="ailog"], [data-kt="ailogme"]) td:has(+ .q-row-end) .ail-clip { display:block; -webkit-line-clamp:unset; line-clamp:unset; overflow:visible; white-space:normal; overflow-wrap:break-word; }

/* (final gate, rule 21: edges must also contrast against the control's own fill) */
#calView[data-look="quiet"] :is([data-lvwho], [data-chip="f:cals"], [data-chip="f:busy"]):not(.on, [aria-pressed="true"]),
#drawer[data-look="quiet"] #aiVehicle { border-color:color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); }
/* (final gate, rule 22: the description field keeps a readable measure while typing) */
#drawer[data-look="quiet"] #aiVehicle { max-inline-size:65ch; }
/* (final gate, rules 21 and 25 part 17: visible move choices and real dialog titles) */
html[data-shell="quiet"] #pjmvMenu .pjmv-mi:not([aria-disabled="true"]) { border-color:color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); }
:is(#aiQModal, #aiModal, #rcModal, #restoreModal)[data-look="quiet"] .sheethead > span { font-size:var(--q-size-title); }

/* (final gate, part 4: the phone hours form's footer follows its copy controls in flow) */
html[data-q-width="phone"] #drawer[data-look="quiet"][data-q-frame="full"] #hdForm > .drawerfoot:not([hidden]) { position:static; background:var(--q-clear); }

/* (final gate, rule 22: the hosting-owner recovery link is a full-height target) */
html[data-shell="quiet"] .k-state .k-state-contact { display:inline-flex; align-items:center; min-block-size:var(--q-control); color:var(--q-text); text-decoration:underline; text-underline-offset:.18em; }
/* END FINAL GATE T */

/* FINAL GATE AI-APPROVALS */
/* (final gate, rules 8, 25.6 and 25.17: AI approval surfaces keep the quiet 400/500 weights and token type scale) */
:is([data-look="quiet"], html[data-shell="quiet"] :is(#aixPin, #aixGate, #e3aMenu)) :is(.aix-h, .aix-sub, .aix-acct-h, .aix-sw, .aix-link, .e3a-mt, .cal-sth, b, button, dt, h2, h3, label, legend, strong) { font-weight:500 !important; }
:is([data-look="quiet"], html[data-shell="quiet"] :is(#aixPin, #aixGate, #e3aMenu)) :is(.aix-n, .aix-note) { font-weight:400 !important; }

/* (final gate, rules 1, 25.2 and 25.8: Today's Waiting for your approval sits after the day's table in the page gutter, with plain hairline rows instead of boxed cards) */
#mydayView[data-look="quiet"] > #aixToday {
  order:6; box-sizing:border-box; inline-size:100%; max-inline-size:none;
  margin:1rem 0 0; padding-inline:var(--q-gutter);
}
@media (max-width:39.9375em) {
  #mydayView[data-look="quiet"] > #mydayFoot { order:7; }
  #mydayView[data-look="quiet"] > #mydayPreview { order:8; }
}
[data-look="quiet"] .aix .aix-h { font-size:var(--q-size-body); color:var(--q-text); margin:.875rem 0 .25rem; }
[data-look="quiet"] #aixToday .aix-h:first-child { margin-block-start:0; }
[data-look="quiet"] .aix .aix-rows { gap:0; max-inline-size:65ch; border-block-start:1px solid var(--q-line); margin-block:.375rem .5rem; }
[data-look="quiet"] .aix .aix-row {
  background:var(--q-clear); border:0; border-block-end:1px solid var(--q-line); border-radius:0;
  padding:.625rem 0; gap:.5rem .75rem;
}
[data-look="quiet"] .aix .aix-link {
  display:inline-flex; align-items:center; min-block-size:var(--q-control);
  color:var(--q-text); font-size:var(--q-size-body); text-underline-offset:.18em;
}
[data-look="quiet"] .aix :is(.aix-meta, .aix-lbl, .hint) { color:var(--q-muted); font-size:var(--q-size-small); }
[data-look="quiet"] .aix .aix-words { max-inline-size:65ch; border-block-start:1px solid var(--q-line); margin-block-start:.375rem; }
[data-look="quiet"] .aix .aix-words li { border-top:0; border-block-end:1px solid var(--q-line); padding:.5rem 0; color:var(--q-text); font-size:var(--q-size-body); }
[data-look="quiet"] .aix .aix-snap { max-inline-size:65ch; margin-block-start:1rem; padding-block-start:.75rem; border-block-start:1px solid var(--q-line); }
[data-look="quiet"] .aix-pj { background:var(--q-clear); border:0; border-block:1px solid var(--q-line); border-radius:0; padding:.625rem 0; }
[data-look="quiet"] .aix .aix-note, html[data-shell="quiet"] #aixGate .aix-note {
  background:var(--q-clear); border:0; padding:0; margin:.5rem 0; color:var(--q-muted); font-size:var(--q-size-small);
}
[data-look="quiet"] .aix .btn:not(.primary, .danger) { border-color:color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); }
#drawer[data-look="quiet"] #tdSecAi .aix-line { gap:.5rem .75rem; margin:.375rem 0; color:var(--q-text); font-size:var(--q-size-body); }

/* (final gate, rules 6, 8, 21, 22, 25.3, 25.4, 25.16 and 25.17: the Review / Unlock PIN dialog uses the quiet surface, 20 px title, visible field edge and full-height controls) */
html[data-shell="quiet"] #aixPinScrim { background:color-mix(in srgb, var(--q-bg) 68%, transparent); }
html[data-shell="quiet"] #aixPin {
  background:var(--q-surface); color:var(--q-text); border:1px solid var(--q-line); border-radius:.875rem;
  box-shadow:var(--q-shadow); max-block-size:none; overflow:visible; padding:1.125rem;
  inline-size:min(24rem, calc(100vw - 2rem));
}
@media (max-width:39.9375em) {
  html[data-shell="quiet"] #aixPin { padding:1rem; }
}
html[data-shell="quiet"] #aixPin .aix-dh { font:500 var(--q-size-title)/1.25 var(--font-sans); color:var(--q-text); margin:0 0 .375rem; }
html[data-shell="quiet"] #aixPin > .hint { color:var(--q-muted); font-size:var(--q-size-small); margin:0 0 .75rem; }
:is([data-look="quiet"], html[data-shell="quiet"] :is(#aixPin, #aixGate)) .aix-field { gap:.375rem; margin:.625rem 0; color:var(--q-text); font-size:var(--q-size-small); }
:is([data-look="quiet"], html[data-shell="quiet"] :is(#aixPin, #aixGate)) .aix-field :is(input, select) {
  min-block-size:var(--q-control); padding:0 .625rem; font:400 var(--q-size-body)/1.35 var(--font-sans);
  color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.375rem;
}
html[data-shell="quiet"] #aixPin .aix-acts {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.5rem; margin:.875rem 0 0;
}
html[data-shell="quiet"] #aixPin #aixPinForgot { margin-inline-end:auto; }
html[data-shell="quiet"] #aixPin .btn {
  min-block-size:var(--q-control); min-inline-size:var(--q-control); padding:0 .625rem;
  font:500 var(--q-size-small)/1.25 var(--font-sans); white-space:nowrap;
  color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.375rem; box-shadow:none;
}
html[data-shell="quiet"] #aixPin .btn:hover:not(:disabled) { background:var(--q-hover); }
html[data-shell="quiet"] #aixPin .btn.primary { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
html[data-shell="quiet"] #aixPin .btn:disabled { opacity:.55; cursor:not-allowed; }

/* (final gate, rules 21, 22, 25.2 and 25.4: Short tasks approvals list uses the quiet menu surface, plain count and visible control edges) */
html[data-shell="quiet"] #e3aMenu { background:var(--q-surface); color:var(--q-text); border:1px solid var(--q-line); box-shadow:var(--q-shadow); }
html[data-shell="quiet"] #e3aMenu .e3a-mh { border-block-end:1px solid var(--q-line); }
html[data-shell="quiet"] #e3aMenu :is(.e3a-ms, .cal-sth, .cal-sqn, .cal-stc, .cal-sthint) { color:var(--q-muted); font-size:var(--q-size-small); }
html[data-shell="quiet"] #e3aMenu .aix-short { border-block-end:1px solid var(--q-line); padding:.25rem .375rem .375rem; margin-block-end:.25rem; }
html[data-shell="quiet"] #e3aMenu .aix-shortb {
  display:flex; align-items:center; justify-content:space-between; gap:.5rem; inline-size:100%;
  min-block-size:var(--q-control); padding:0 .625rem; background:var(--q-clear); color:var(--q-text);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.375rem;
}
html[data-shell="quiet"] #e3aMenu .aix-shortb:hover { background:var(--q-hover); }
html[data-shell="quiet"] #e3aMenu .aix-shortb .aix-n { background:var(--q-clear); border:0; padding:0; min-inline-size:0; color:var(--q-muted); font-size:var(--q-size-small); font-variant-numeric:tabular-nums; }
html[data-shell="quiet"] #e3aMenu.short-sheet .e3a-mi { min-block-size:var(--q-control); color:var(--q-text); border-radius:.375rem; }
html[data-shell="quiet"] #e3aMenu.short-sheet .cal-sqin {
  min-block-size:var(--q-control); padding:0 .625rem; font:400 var(--q-size-body)/1.35 var(--font-sans);
  color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.375rem;
}
html[data-shell="quiet"] #e3aMenu.short-sheet .cal-sta { border-block-start:1px solid var(--q-line); }
html[data-shell="quiet"] #e3aMenu.short-sheet .btn {
  min-block-size:var(--q-control); min-inline-size:var(--q-control); padding:0 .75rem;
  font:500 var(--q-size-small)/1.25 var(--font-sans); color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.375rem; box-shadow:none;
}
html[data-shell="quiet"] #e3aMenu.short-sheet .btn:hover { background:var(--q-hover); }
html[data-shell="quiet"] #e3aMenu.short-sheet .btn.primary { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }

/* (final gate: /ai-connect wears the same quiet front-door surface, glows and controls as #linkGate and #cnGate) */
html[data-shell="quiet"] #aixGate { color:var(--q-text); }
html[data-shell="quiet"] #aixGate .logincard { background:var(--q-clear); border:0; border-radius:0; box-shadow:none; inline-size:min(24rem, 92vw); max-inline-size:92vw; }
html[data-shell="quiet"] #aixGate .logincard :is(div, p, span, a, b, label, input, select, button, li, dt, dd, h3, strong, em) { font-size:.8125rem !important; }
html[data-shell="quiet"] #aixGate .logincard > div[style*="text-align:center"] { text-align:start !important; }
html[data-shell="quiet"] #aixGate .loginbrand h2 { font-size:var(--q-size-title); font-weight:500; color:var(--q-text); }
html[data-shell="quiet"] #aixGate .hint { color:var(--q-muted); font-size:var(--q-size-small); }
html[data-shell="quiet"] #aixGate a.hint { display:inline-flex; align-items:center; min-block-size:var(--q-control); color:var(--q-text) !important; text-decoration:underline !important; text-underline-offset:.18em; }
html[data-shell="quiet"] #aixGate :is(input:not([type="checkbox"], [type="radio"]), select, button, .btn) { min-block-size:var(--q-control); }
html[data-shell="quiet"] #aixGate input.lk-code {
  color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.5rem;
}
html[data-shell="quiet"] #aixGate :is(button, .btn) {
  color:var(--q-text); background:var(--q-clear);
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.5rem; box-shadow:none;
}
html[data-shell="quiet"] #aixGate :is(button, .btn):hover { background:var(--q-hover); }
html[data-shell="quiet"] #aixGate :is(button.primary, .btn.primary) { color:var(--q-text); background:var(--q-main); border:0; border-bottom:2px solid var(--q-mark); }
/* (final gate round 9: AI preview Discard button fits its word, Help article tables scroll instead of squeezing columns into strips, and #aixGate Help matches #linkGate) */
:is(.modal[data-look="quiet"], #aiModal[data-look="quiet"]) #aiClose { inline-size:auto !important; min-inline-size:var(--q-control); padding-inline:.75rem; white-space:nowrap; flex:none; }
#helpView[data-look="quiet"] #helpBook table :is(th, td) { overflow-wrap:normal; word-break:normal; }
#helpView[data-look="quiet"] #helpBook .doc .tablewrap > table { inline-size:max-content; max-inline-size:none; }
#helpView[data-look="quiet"] #helpBook .doc table:not(.tablewrap > table) { display:block; max-inline-size:100%; overflow-x:auto; }
#helpView[data-look="quiet"] #helpBook .doc table :is(th, td):not(:last-child) { white-space:nowrap; }
#helpView[data-look="quiet"] #helpBook .doc table :is(th, td):last-child { min-inline-size:14rem; max-inline-size:38ch; white-space:normal; overflow-wrap:break-word; }
html[data-shell="quiet"] #aixGate .logincard > .lg-help { margin:.5rem 0 .25rem; text-align:start; }
html[data-shell="quiet"] #aixGate .logincard > .lg-help > summary {
  display:inline-flex; align-items:center; justify-content:center; list-style:none;
  min-block-size:var(--q-control); min-inline-size:var(--q-control); padding-inline:.875rem;
  border:1px solid color-mix(in srgb, var(--q-edge) 85%, var(--q-text)); border-radius:.4375rem;
  color:var(--q-text); font-weight:500; cursor:pointer;
}
html[data-shell="quiet"] #aixGate .logincard > .lg-help > summary::-webkit-details-marker { display:none; }
/* END FINAL GATE AI-APPROVALS */

/* 1.0.318 */
/* (Planner ltc6239ffe1c6cc2e0: at 768 and 1280 "Spend by person" broke over two lines, so the middle of its box was the usage line, not the link) the link is one target that
   moves to the next line whole, at the touch height, as the project rate links */
[data-look="quiet"] #aiUsage #mgmtOpen { display:inline-flex; align-items:center; min-block-size:var(--q-touch); white-space:nowrap; vertical-align:middle; }
/* END 1.0.318 */
