/* ActOn Hub design system — DESIGN.md. Tokens first; no page sets its own colours, sizes, spacing or corners. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-sans-devanagari-devanagari-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 600; font-display: swap;
  src: url("../fonts/noto-sans-devanagari-devanagari-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 700; font-display: swap;
  src: url("../fonts/noto-sans-devanagari-devanagari-700-normal.woff2") format("woff2"); }

:root {
  --page: #F4F4F2; --card: #FFFFFF; --card-raised: #FFFFFF; --ink: #1E1F1E; --muted: #5F6462; --muted-line: #8A8E8B;
  --line: #E4E4E0; --line-soft: #EEEEEA; --orange: #FF7700; --on-orange: #1A1A1A; --orange-text: #A34A00; --orange-tint: #FFF1E5;
  --green: #27AE60; --green-text: #1E7B45; --green-tint: #E8F6EE; --blue: #2F80ED; --blue-text: #1F5FBF; --blue-tint: #EAF2FD;
  --red: #D83A2F; --red-text: #B42318; --red-tint: #FDECEA; --private: #6B4FA0;
  --font: "Inter", Arial, system-ui, sans-serif; --font-deva: "Noto Sans Devanagari", var(--font);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.06); --shadow-2: 0 8px 24px rgba(16,24,40,.12);
  --card-edge: transparent; --fill: #F3F4F7; --ring: rgba(255,119,0,.16);
  --d-hr: #A34A00; --d-hr-t: #FFF1E5; --d-fin: #1E7B45; --d-fin-t: #E8F6EE; --d-prod: #1F5FBF; --d-prod-t: #EAF2FD;
  --d-qa: #6B4FA0; --d-qa-t: #F1ECFA; --d-stores: #0E7C86; --d-stores-t: #E3F5F6; --d-admin: #4A545B; --d-admin-t: #EEF0F2;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0F1115; --card: #171A1F; --card-raised: #1E2228; --ink: #ECEEF0; --muted: #A3ABB2; --muted-line: #6B747B;
    --line: #2A2F36; --line-soft: #22262C; --orange-text: #FF9A40; --orange-tint: #3A2410;
    --green: #3BC77A; --green-text: #6FDC9C; --green-tint: #12301F; --blue: #5A9BF2; --blue-text: #8DB8F7; --blue-tint: #14253D;
    --red: #F0645A; --red-text: #FF8F87; --red-tint: #3A1715; --private: #B49BE0;
    --shadow-1: none; --shadow-2: none; --card-edge: var(--line); --fill: #22262C; --ring: rgba(255,154,64,.22);
    --d-hr: #FF9A40; --d-hr-t: #3A2410; --d-fin: #6FDC9C; --d-fin-t: #12301F; --d-prod: #8DB8F7; --d-prod-t: #14253D;
    --d-qa: #C9B6EC; --d-qa-t: #2A2140; --d-stores: #6FD3DB; --d-stores-t: #0F2E31; --d-admin: #C2C9CE; --d-admin-t: #252A30;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/24px var(--font);
  font-feature-settings: "tnum" 1; overflow-wrap: anywhere; }
[lang="mr"], [lang="hi"] { font-family: var(--font-deva); }
a { color: var(--orange-text); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .fade { transition: opacity 150ms; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s2); top: -48px; background: var(--card); color: var(--ink); padding: var(--s2) var(--s4);
  border-radius: var(--r-md); z-index: 100; }
.skip-link:focus { top: var(--s2); }

/* Type */
.t-title, h1 { font-size: 22px; line-height: 28px; font-weight: 700; margin: 0; }
.t-h2, h2 { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 var(--s3); }
.t-small { font-size: 14px; line-height: 20px; }
.t-label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.t-number { font-size: 28px; line-height: 32px; font-weight: 700; }
.muted { color: var(--muted); }
@media (max-width: 767px) { .t-title, h1 { font-size: 20px; line-height: 26px; } }

/* Frame (DESIGN 4) */
.frame { display: flex; min-height: 100vh; }
.menu { width: 240px; flex: none; background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.menu__logo { display: flex; align-items: center; padding: var(--s5) var(--s4) var(--s4); }
.menu__logo img { height: 32px; width: auto; }
/* Brand rule (Venkat, 22 Nov 2026): the ActOn logo is always the original black artwork, never recoloured.
   Where the background is dark, it sits on a white plate. */
@media (prefers-color-scheme: dark) { .menu__logo a, .login__logo { background: #fff; border-radius: 10px; padding: 6px 8px; line-height: 0; } }
.menu__group { padding: 0 var(--s2) var(--s3); }
.menu__heading { padding: var(--s3) var(--s3) var(--s1); }
.menu__item { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s2) var(--s3); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; min-height: 44px; }
.menu__item:hover { background: var(--line-soft); }
.menu__item[aria-current="page"] { background: var(--orange-tint); color: var(--orange-text); }
.menu__item svg { flex: none; margin-top: 2px; color: var(--muted-line); }
.menu__item[aria-current="page"] svg { color: var(--orange-text); }
.menu__label { display: block; font-weight: 600; font-size: 14px; line-height: 20px; }
.menu__hint { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.menu__foot { margin-top: auto; padding: var(--s4); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.menu__foot form { margin: var(--s2) 0 0; }

.main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topline { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4);
  padding: var(--s5) var(--s5) var(--s4); max-width: 1280px; width: 100%; margin: 0 auto; }
.trail { font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: var(--s1); }
.trail a { color: var(--muted); }
.topline__tools { display: flex; align-items: center; gap: var(--s3); }
.search { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill); padding: var(--s2) var(--s4);
  font: inherit; font-size: 14px; min-height: 44px; width: 260px; color: var(--ink); }
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--r-pill); color: var(--ink); }
.bell__count { position: absolute; top: 4px; right: 2px; background: var(--orange); color: var(--on-orange); font-size: 12px;
  line-height: 16px; font-weight: 700; border-radius: var(--r-pill); padding: 0 5px; }
.bell__count--zero { background: var(--line-soft); color: var(--muted); }
main { flex: 1; padding: 0 var(--s5) var(--s7); max-width: 1280px; width: 100%; margin: 0 auto; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }  /* minmax: wide children scroll inside, never push the page sideways */

.bottombar { display: none; }
@media (min-width: 768px) and (max-width: 1023px) {
  .menu { width: 72px; } .menu__label, .menu__hint, .menu__heading, .menu__foot .who { display: none; }
  .menu__logo img { height: 24px; } .menu__item { justify-content: center; }
}
@media (max-width: 767px) {
  .menu { display: none; }
  .menu.is-open { display: flex; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; }
  .topline { padding: var(--s4) var(--s4) var(--s3); }
  .topline .search { display: none; }
  main { padding: 0 var(--s4) 96px; }
  .bottombar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line);
    z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  .bottombar a, .bottombar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s2) 0;
    min-height: 56px; font: inherit; font-size: 12px; line-height: 16px; color: var(--muted); background: none; border: 0; text-decoration: none; }
  .bottombar [aria-current="page"] { color: var(--orange-text); }
}

.topline__find { margin: 0; }
.is-home .topline__find { visibility: hidden; }

/* App screen (spec 13a) */
.apphome__sub { margin: 0 0 var(--s4); }
.apphome__find { position: relative; max-width: 640px; }
.apphome__find svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.apphome__box { width: 100%; min-height: 48px; padding: var(--s3) var(--s4) var(--s3) 44px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); color: var(--ink); font: inherit; box-shadow: var(--shadow-1); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s4) 2px var(--s2); }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.chip[aria-current="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.apphome__none { padding: var(--s4) 0; }
.appsec { margin-top: var(--s5); }
.appsec__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.appsec__head h2 { margin: 0; }
.appsec__title { display: flex; align-items: center; gap: var(--s2); font-size: 13px; line-height: 16px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin: 0 0 var(--s3); }
.appsec__title i { width: 10px; height: 10px; border-radius: 3px; background: var(--d-hr); display: inline-block; }
.appsec__title .t-small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.appgroup + .appgroup { margin-top: var(--s4); }
.appgroup__title { margin: 0 0 var(--s2); font-weight: 600; }
.apps { display: grid; gap: var(--s4) var(--s2); grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.app { position: relative; min-width: 0; }
.app__main { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--s2) 2px; border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; text-align: center; }
a.app__main:hover .app__icon { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.app__icon { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--d-hr-t); color: var(--d-hr); transition: transform .15s, box-shadow .15s; }
.app__icon svg { width: 26px; height: 26px; }
.app__name { font-size: 13px; line-height: 17px; font-weight: 500; overflow-wrap: anywhere; }
.app__badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange);
  color: var(--on-orange); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--page); }
.app--soon .app__icon { background: var(--line-soft); color: var(--muted-line); }
.app--soon .app__name { color: var(--muted); }
.app__later { font-size: 11px; line-height: 14px; color: var(--muted); }
.app__pin { position: absolute; top: 0; right: 4px; margin: 0; }
.app__star { min-width: 32px; min-height: 32px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--muted);
  font-size: 16px; line-height: 1; cursor: pointer; }
.app__star[aria-pressed="true"] { color: var(--orange-text); border-color: var(--orange); }
.app--fin .app__icon, .appsec--fin .appsec__title i { --d-hr: var(--d-fin); --d-hr-t: var(--d-fin-t); }
.app--prod .app__icon, .appsec--prod .appsec__title i { --d-hr: var(--d-prod); --d-hr-t: var(--d-prod-t); }
.app--qa .app__icon, .appsec--qa .appsec__title i { --d-hr: var(--d-qa); --d-hr-t: var(--d-qa-t); }
.app--stores .app__icon, .appsec--stores .appsec__title i { --d-hr: var(--d-stores); --d-hr-t: var(--d-stores-t); }
.app--admin .app__icon, .appsec--admin .appsec__title i { --d-hr: var(--d-admin); --d-hr-t: var(--d-admin-t); }
.app--soon .app__icon { --d-hr: var(--muted-line); }
@media (prefers-reduced-motion: reduce) { .app__icon { transition: none; } a.app__main:hover .app__icon { transform: none; } }
@media (max-width: 767px) { .apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) 2px; } .app__icon { width: 52px; height: 52px; border-radius: 15px; }
  .app__name { font-size: 12px; line-height: 15px; } }
@media (max-width: 359px) { .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cards */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); border: 1px solid var(--card-edge); padding: var(--s5); }
@media (max-width: 767px) { .card { padding: var(--s4); } }
.cards { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.summary { display: grid; gap: var(--s1); }
.summary__bar { height: 4px; background: var(--line-soft); border-radius: var(--r-pill); overflow: hidden; }
.summary__bar span { display: block; height: 100%; background: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: var(--s2) var(--s4);
  border-radius: var(--r-md); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--quiet { background: transparent; color: var(--orange-text); }
.btn--danger { background: var(--card); color: var(--red-text); border-color: var(--line); }
.btn:hover { filter: brightness(.96); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; cursor: not-allowed; background: var(--line); border-color: var(--line);
  color: var(--muted); box-shadow: none; } /* looked like a pale working button (screen review) */
.btn[aria-busy="true"] { cursor: progress; }
@media (max-width: 767px) { .form .btn--primary { width: 100%; } }

/* Forms — Design A (spec 13b, Venkat 22 Nov 2026): clean card, labels above, plain hints, a "What happens next" box beside. */
.form { display: grid; gap: var(--s5); max-width: 680px; }
.form.card { padding: var(--s5); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s4); min-width: 0; }
.form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: var(--s5); }
.form legend { float: left; width: 100%; font-weight: 700; font-size: 16px; line-height: 24px; padding: 0; margin-bottom: var(--s2); }
.form legend + * { clear: left; }
.form legend small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: 14px; line-height: 20px; }
.field .hint { font-size: 13px; line-height: 18px; color: var(--muted); }
.req { color: var(--orange-text); font-weight: 500; font-size: 12px; margin-left: var(--s1); }
.opt { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: var(--s1); }
/* marks from the box itself: aria-required="true" → "needed"; in a .form--marks form every other box says "optional" */
.form--marks .field:has([aria-required="true"]) > label:first-child::after,
.form--marks .field:has([aria-required="true"]) > legend::after { content: "needed"; color: var(--orange-text); font-weight: 500; font-size: 12px; margin-left: var(--s1); }
.form--marks .field:not(:has([aria-required="true"])):has(input:not([type=hidden]), select, textarea) > label:first-child:not(:has(input))::after
  { content: "optional"; color: var(--muted); font-weight: 400; font-size: 12px; margin-left: var(--s1); }
.input, select.input, textarea.input { font: inherit; font-size: 16px; min-height: 44px; padding: 10px var(--s3); border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 88px; resize: vertical; line-height: 22px; }
.input--find { margin-bottom: var(--s2); min-height: 40px; font-size: 15px; }
.input::placeholder { color: var(--muted-line); }
.input:hover { border-color: var(--muted-line); }
.input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px var(--orange-tint); }
.field--error .input { border-color: var(--red); }
.field__error { color: var(--red-text); font-size: 14px; line-height: 20px; }
.input[readonly] { background: transparent; border-color: transparent; padding-left: 0; }
/* a tick box inside a field becomes a tappable row */
.field > label:has(> input[type="checkbox"]), .field > label:has(> input[type="radio"]), .tick--card {
  display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); cursor: pointer; font-weight: 600; }
.field > label:has(> input:checked) { border-color: var(--orange); background: var(--orange-tint); }
.field > label > input[type="checkbox"], .field > label > input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }
.tick { display: flex; align-items: center; gap: var(--s3); min-height: 44px; }
.tick input { width: 24px; height: 24px; accent-color: var(--orange); }
/* the send button: on its own line at the end, with the "goes to" note */
.form > .btn:last-child, .form > .btn:last-of-type:not(:first-child) { justify-self: start; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); align-items: start; }
@media (max-width: 559px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.form__lead { margin: 0 0 var(--s4); }
.field > label .hint { display: block; font-weight: 400; }
.form__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.form__goes { margin-right: auto; font-size: 14px; color: var(--muted); }
/* form + "What happens next" side by side */
.formwrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (min-width: 1024px) { .formwrap { grid-template-columns: minmax(0, 680px) 300px; } .formwrap > .next { position: sticky; top: var(--s4); } }
.login .formwrap { grid-template-columns: minmax(0, 1fr); } .login .formwrap > .next { position: static; box-shadow: none; }
.next { background: var(--card); border: 1px solid var(--card-edge); box-shadow: var(--shadow-1); border-radius: var(--r-lg); padding: var(--s4) var(--s5); }
.next__title { font-size: 16px; line-height: 24px; margin: 0 0 var(--s1); }
.next__goes { font-size: 14px; line-height: 20px; color: var(--muted); margin: 0 0 var(--s4); }
.next__goes strong { color: var(--ink); }
.next__steps { list-style: none; margin: 0; padding: 0; }
.next__steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s3); position: relative; padding-bottom: var(--s4); font-size: 14px; line-height: 20px; }
.next__steps li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 4px; width: 2px; background: var(--line); }
.next__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--orange-tint); color: var(--orange-text); }
.next__note { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.next__who { display: inline-block; margin-top: var(--s1); background: var(--line-soft); border-radius: var(--r-pill); padding: 1px 10px; font-size: 12px; line-height: 18px; }
@media (prefers-reduced-motion: reduce) { .input { transition: none; } }
/* Forms — "Soft depth" (spec 13b trial): the form is a white card sitting in a soft tray (double edge), grey-filled boxes,
   round pill buttons with an arrow in a circle, tick boxes as on/off switches, choices as pills. */
.form.card { border-radius: 24px; padding: 28px; gap: var(--s5); box-shadow: 0 0 0 7px color-mix(in srgb, var(--card) 55%, transparent),
  0 0 0 8px var(--line), 0 30px 60px -30px rgba(17, 24, 39, .22); margin: 8px; }
.formwrap { gap: var(--s6); }
.form .input, .form select.input, .form textarea.input { background: var(--fill); border: 1px solid transparent; border-radius: 14px;
  min-height: 48px; padding: 12px 14px; transition: background .25s cubic-bezier(.32,.72,0,1), border-color .25s, box-shadow .25s; }
.form .input:hover { border-color: var(--line); }
.form .input:focus { background: var(--card); border-color: var(--orange); box-shadow: 0 0 0 4px var(--ring); }
.form legend { font-size: 17px; letter-spacing: -.01em; }
.form fieldset + fieldset { border-top: 0; padding-top: var(--s2); }
.form legend::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: 2px; }
/* tick boxes become switches; the row becomes a soft pill */
.field > label:has(> input[type="checkbox"]) { border: 0; background: var(--fill); border-radius: 16px; padding: 14px 16px; align-items: center; }
.field > label:has(> input:checked) { background: var(--orange-tint); }
.field > label > input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; margin: 0;
  background: var(--muted-line); position: relative; cursor: pointer; transition: background .25s cubic-bezier(.32,.72,0,1); }
.field > label > input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.32,.72,0,1); }
.field > label > input[type="checkbox"]:checked { background: var(--orange); }
.field > label > input[type="checkbox"]:checked::after { transform: translateX(18px); }
/* radio choices become pills in a row */
.field:has(> label > input[type="radio"]) { display: flex; flex-wrap: wrap; gap: var(--s2); }
.field:has(> label > input[type="radio"]) > :not(label:has(> input[type="radio"])) { flex-basis: 100%; }
.field:has(> label > input[type="radio"]) > label:not(:has(> input)) { margin-top: var(--s2); }
.field > label:has(> input[type="radio"]) { border: 0; background: var(--fill); border-radius: 999px; padding: 10px 16px; align-items: center; font-weight: 500; }
.field > label:has(> input[type="radio"]:checked) { background: var(--ink); color: var(--page); }
.field > label > input[type="radio"] { accent-color: var(--orange); }
/* pill buttons (Venkat 25 Nov 2026: no ↗ arrow; it looked like "opens a new window") */
.form .btn { border-radius: 999px; min-height: 48px; transition: transform .25s cubic-bezier(.32,.72,0,1), box-shadow .25s; }
.form .btn:active { transform: scale(.98); }
.form .btn--primary { padding: 6px 24px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(255,119,0,.7); }
.form__bar { border-top: 0; padding-top: var(--s2); }
.next { border-radius: 24px; box-shadow: 0 0 0 7px color-mix(in srgb, var(--card) 55%, transparent), 0 0 0 8px var(--line); margin: 8px; }
.next__dot { background: var(--ink); color: var(--page); }
.req { background: var(--orange-tint); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .form .btn, .field > label > input[type="checkbox"], .field > label > input[type="checkbox"]::after { transition: none; } }
.login .form.card, .login .form { box-shadow: none; margin: 0; padding: 0; }

/* "Light and calm" frame (Venkat, 22 Nov 2026): white menu, the current page is a black pill; ActOn black for text and
   selection, orange only for main buttons, counts and alerts; white cards with a thin line edge. */
.menu__item[aria-current="page"] { background: var(--ink); color: var(--page); }
.menu__item[aria-current="page"] svg, .menu__item[aria-current="page"] .menu__hint { color: var(--page); opacity: .75; }
.card, .table-card { border: 1px solid var(--line); box-shadow: none; }
.btn { border-radius: var(--r-pill); }
.table th { background: var(--line-soft); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; color: var(--muted); }

/* Log-in screens: split screen with the ActOn brand panel (log-in pages only; guest forms keep one card) */
.login { min-height: 100vh; display: grid; place-items: center; padding: var(--s4); }
main.login { max-width: none; width: 100%; margin: 0; }
.login--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); place-items: stretch; padding: 0; }
.login__brand { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #FF9A3D 0%, #F26A00 45%, #B84400 100%);
  padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.logo-plate { align-self: flex-start; background: #fff; border-radius: 16px; padding: 12px 16px; line-height: 0; box-shadow: 0 12px 30px -14px rgba(0,0,0,.35); }
.logo-plate img { height: 40px; width: auto; }
.login__headline { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; margin: 0 0 var(--s3); max-width: 14ch; }
.login__lead { margin: 0; max-width: 40ch; font-size: 16px; opacity: .92; }
.login__facts { display: flex; gap: var(--s5); flex-wrap: wrap; margin: 0; font-size: 13px; }
.login__facts span::before { content: "•"; margin-right: 6px; }
.login__media { position: absolute; right: -40px; bottom: -30px; width: min(420px, 70%); pointer-events: none; }
.login__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s4); padding: 40px var(--s5) var(--s4);
  background: radial-gradient(60% 50% at 70% 20%, rgba(255,119,0,.10), transparent 70%), var(--page); }
.login:not(.login--split) .login__side { width: 100%; background: none; padding: var(--s4) 0; }
.login__tray { width: min(440px, 100%); padding: 8px; border-radius: 30px; background: color-mix(in srgb, var(--card) 55%, transparent); border: 1px solid var(--line); }
.login:not(.login--split) .login__tray { width: min(720px, 100%); }
.login .card { width: 100%; max-width: none; display: grid; gap: var(--s4); border-radius: 23px; padding: 28px; border: 0; }
.login__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.login__logo img { height: 34px; width: auto; }
.login__step { font-size: 12px; font-weight: 600; color: var(--orange-text); background: var(--orange-tint); border-radius: var(--r-pill); padding: 3px 10px; }
.login .card h1 { font-size: 24px; line-height: 30px; letter-spacing: -.02em; }
.login__sub { margin: -8px 0 0; font-size: 14px; }
.login__back { font-size: 13px; color: var(--muted); text-decoration: none; }
.login__go { width: 100%; min-height: 50px; }
.login__help { width: min(440px, 100%); margin: 0; font-size: 13px; color: var(--muted); padding: 0 var(--s2); }
.login__help strong { color: var(--ink); }
.login__foot { margin: var(--s4) 0 0; font-size: 12px; color: var(--muted); display: flex; gap: var(--s4); flex-wrap: wrap; justify-content: center; }
.pw { position: relative; }
.pw .input { padding-right: 70px; }
.pw__show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font: inherit;
  font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 10px; border-radius: 8px; min-height: 36px; }
/* the phone code: one box drawn as 6 boxes, so paste, autofill and recovery codes all still work */
.input.otp { width: 346px; max-width: 100%; background-size: 324px 100% !important; background-repeat: no-repeat !important; font-family: Menlo, "SF Mono", ui-monospace, monospace; font-size: 26px; line-height: 1;
  letter-spacing: 38.35px; padding: 16px 0 16px 19.2px; min-height: 60px; text-align: left; border-color: transparent; overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--fill, var(--line-soft)) 0 47px, transparent 47px 54px); }
.input.otp:focus { background: repeating-linear-gradient(90deg, var(--orange-tint) 0 47px, transparent 47px 54px); }
@media (max-width: 900px) {
  .login--split { grid-template-columns: minmax(0, 1fr); }
  .login__brand { padding: 24px; gap: 16px; }
  .login__headline { font-size: 24px; max-width: none; } .login__lead { font-size: 14px; } .login__facts { display: none; }
  .login__media { width: 200px; right: -50px; bottom: -50px; opacity: .5; }
  .login__side { justify-content: flex-start; padding: 0 var(--s4) var(--s4); }
  .login__tray { margin-top: -20px; position: relative; }
}

/* Lists (spec 13c, Venkat 22 Nov 2026): one look for every list — a card with a find box and status filters, a table with
   coloured status labels, and a count line. Rows open the item. Other lists use the same card rows. */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.pagehead p { margin: 0; color: var(--muted); }
.listcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.listbar { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.listbar__form { flex: 1 1 260px; display: flex; min-width: 0; } .listbar__form .listbar__find { flex: 1; }
.listbar__find { flex: 1 1 260px; display: flex; align-items: center; gap: var(--s2); background: var(--fill, var(--line-soft)); border-radius: var(--r-pill);
  padding: 0 var(--s4); min-height: 44px; color: var(--muted); }
.listbar__find input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--ink); min-height: 42px; outline: 0; }
.listbar__find:focus-within { box-shadow: 0 0 0 2px var(--orange); }
.listbar__chips { display: flex; gap: var(--s2); flex-wrap: wrap; }
.listbar__chips button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--r-pill); min-height: 38px;
  padding: 0 var(--s4); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.listbar__chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.listbar__chips button b { font-weight: 600; color: var(--muted); margin-left: 4px; }
.listbar__chips button[aria-pressed="true"] b { color: var(--page); opacity: .8; }
.listcard .table-wrap { overflow-x: auto; }
.listcard table.table { min-width: 640px; }
.listcard .table th { padding: 10px var(--s4); border-bottom: 1px solid var(--line); white-space: nowrap; }
.listcard .table td { padding: 14px var(--s4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.listcard .table tr:last-child td { border-bottom: 0; }
.listcard .table tbody tr[data-href] { cursor: pointer; transition: background .15s; }
.listcard .table tbody tr[data-href]:hover td { background: var(--line-soft); }
.listcard .table td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.listcard .table td a:hover { text-decoration: underline; }
.listcard .table td small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.listcard .table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.listfoot { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.inline-done { display: flex; gap: var(--s2); align-items: center; min-width: 260px; } .inline-done .input { min-height: 38px; padding: 6px 12px; } .inline-done .btn { white-space: nowrap; min-height: 38px; }
.listnone { padding: var(--s6) var(--s4); text-align: center; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill); padding: 3px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--green-tint); color: var(--green-text); }
.pill--wait { background: #FFF4DB; color: #8A5300; }
.pill--info { background: var(--blue-tint); color: var(--blue-text); }
.pill--bad { background: var(--red-tint); color: var(--red-text); }
.pill--grey { background: var(--line-soft); color: var(--muted); }
@media (prefers-color-scheme: dark) { .pill--wait { background: #3A2B0E; color: #F5C26B; } }
/* every other list built from .task rows gets the same card-row look */
.stack > .task { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: var(--s3) var(--s4); gap: 2px; }
.stack > .task strong a { color: var(--ink); text-decoration: none; }
.stack > .task strong a:hover { text-decoration: underline; }
.stack > .task:has(strong a) { cursor: pointer; transition: border-color .15s; }
.stack > .task:has(strong a):hover { border-color: var(--muted-line); }
@media (max-width: 767px) { .listbar { padding: var(--s3); } .listcard .table td, .listcard .table th { padding-left: var(--s3); padding-right: var(--s3); } }

.private { display: inline-flex; align-items: center; gap: var(--s1); }
.private svg { color: var(--private); }
.code-input { display: flex; gap: var(--s2); }
.code-input input { width: 44px; height: 52px; text-align: center; font: inherit; font-size: 22px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--line-soft); color: var(--ink); }

/* Status, chips, messages */
.status { display: inline-flex; align-items: center; gap: var(--s2); }
.status__dot { width: 8px; height: 8px; border-radius: var(--r-pill); flex: none; background: var(--muted-line); }
.status--green .status__dot { background: var(--green); } .status--green { color: var(--green-text); }
.status--blue .status__dot { background: var(--blue); } .status--blue { color: var(--blue-text); }
.status--red .status__dot { background: var(--red); } .status--red { color: var(--red-text); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: var(--s1) var(--s3); border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.chip[aria-pressed="true"], a.chip[aria-current="page"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.chip__count { color: inherit; font-weight: 600; } .chip__count--zero { color: var(--muted); }
.chip[aria-pressed="true"] .chip__count--zero { color: inherit; }
.msg { padding: var(--s3) var(--s4); border-radius: var(--r-md); font-size: 14px; line-height: 20px; }
.msg--success { background: var(--green-tint); color: var(--green-text); }
.msg--warning { background: var(--orange-tint); color: var(--orange-text); }
.msg--error { background: var(--red-tint); color: var(--red-text); }
.msg--info { background: var(--blue-tint); color: var(--blue-text); }
.messages { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.banner { padding: var(--s3) var(--s5); background: var(--orange-tint); color: var(--orange-text); font-size: 14px; line-height: 20px; }

/* Tables → cards on phone */
.table-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); border: 1px solid var(--card-edge); overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.table th { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 16px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { white-space: nowrap; } .table td { word-break: normal; } /* headings broke mid-word: "OR DER", "STAN D-INS" */
@media (max-width: 767px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .table td { padding: var(--s1) 0; border: 0; display: flex; gap: var(--s2); }
  .table td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase;
    letter-spacing: .04em; min-width: 40%; }
  .table td:first-child { font-weight: 600; font-size: 16px; } .table td:first-child::before { display: none; }
  /* screen review 23 Nov 2026: cells ran past the card edge ("30 Nov 202") and unlabelled cells left a 40 % gap */
  .table td { box-sizing: border-box; min-width: 0; overflow-wrap: anywhere; }
  .table td:not([data-label])::before { display: none; } .table td:empty { display: none; }
  .listcard .table tr { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
  .listcard .table td { width: auto; padding: 0; text-align: left; } .listcard .table td:first-child { width: 100%; }
  .listcard table.table { min-width: 0; } /* the 640 px desktop width cut long titles off on phones */
}

/* Step bar, tasks, empty, skeleton, tabs, dialog */
.steps { display: flex; gap: var(--s2); overflow-x: auto; list-style: none; padding: 0; margin: 0; }
.step { flex: 1 0 120px; border-top: 4px solid var(--line); padding-top: var(--s2); font-size: 14px; line-height: 20px; color: var(--muted); }
.step--done { border-color: var(--green); color: var(--ink); } .step--here { border-color: var(--orange); background: var(--orange-tint); color: var(--ink); }
.step--skipped { text-decoration: line-through; }
.task { display: grid; gap: var(--s1); padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.empty { text-align: center; padding: var(--s7) var(--s4); color: var(--muted); }
.empty svg { color: var(--muted-line); }
.skeleton { height: 16px; border-radius: var(--r-sm); background: var(--line-soft); margin: var(--s2) 0; }
.tabs { display: flex; gap: var(--s2); overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab { padding: var(--s2) var(--s3); min-height: 44px; border: 0; background: none; font: inherit; color: var(--muted); border-bottom: 2px solid transparent; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.dialog { border: 0; border-radius: var(--r-lg); padding: var(--s5); background: var(--card-raised); color: var(--ink); box-shadow: var(--shadow-2); max-width: 480px; }
.progress { height: 8px; background: var(--line-soft); border-radius: var(--r-pill); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--orange); }
.orgbox { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); background: var(--card); display: grid; gap: var(--s1); }
.orgbox--vacant { border-style: dashed; }
.person-chip { display: inline-flex; align-items: center; gap: var(--s2); }
.person-chip__initials { width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--orange-tint); color: var(--orange-text);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }


@media print {
  .menu, .bottombar, .topline__tools, .skip-link, .messages { display: none !important; }
  body { background: #fff; color: #000; }
}

/* M1: phone set-up and one-time code slip */
.qr svg { width: 200px; height: 200px; max-width: 100%; background: #fff; border-radius: var(--r-md); padding: var(--s2); }
.codes { columns: 2; gap: var(--s5); font-family: ui-monospace, Menlo, monospace; font-size: 16px; line-height: 28px; }
@media (max-width: 400px) { .codes { columns: 1; } }
a.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media print { body * { visibility: hidden; } .slip, .slip * { visibility: visible; } .slip { position: absolute; inset: 0 auto auto 0; } .slip button { display: none; } }

/* M1: two-column admin pages (list left, detail right); one column on a phone */
.split { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.split__left { max-height: calc(100vh - 140px); overflow: auto; }
.split__left [aria-current="page"] { font-weight: 600; color: var(--orange-text); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split__left { max-height: none; } }
.banner--red { background: var(--red-tint); color: var(--red-text); border-radius: var(--r-md); }
.real-band { position: sticky; top: 0; z-index: 50; background: var(--red-text); color: #fff; text-align: center;
  font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .08em; }

/* M2: org chart tree — scrolls inside its box on small screens; a list on a phone */
.org { overflow-x: auto; padding-bottom: var(--s3); }
.org__kids { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s4); justify-content: center;
  justify-content: safe center; } /* a chart wider than the screen kept its left part out of reach (screen review) */
.org__kids .org__kids { padding-top: var(--s4); position: relative; }
.org__node { display: flex; flex-direction: column; align-items: center; position: relative; }
.org .orgbox { display: flex; flex-direction: column; gap: 2px; width: 184px; min-height: 96px; text-decoration: none; color: inherit; }
.org .orgbox--board { min-height: 0; }
.orgbox--vacant { border-style: dashed; border-color: var(--red-text); }
.orgbox--board { background: var(--ink); color: var(--card); }
.orgbox--board .muted, .orgbox--board .t-small, .orgbox--board strong { color: var(--card); }
/* filters keep every box readable: the matching boxes get a thick outline instead of fading the others */
.org--vacant .org__node--vacant > .orgbox, .org--acting .org__node--acting > .orgbox { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 767px) {
  .org__kids { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .org__kids .org__kids { padding-left: var(--s4); border-left: 2px solid var(--line); }
  .org__node { align-items: stretch; } .org .orgbox { max-width: none; }
}
/* Org chart folds and groups (Venkat 24 Nov 2026): heads first, a team opens on a click; the same posts are one box */
.chartbar__tools { padding: 0; margin: calc(var(--s4) * -1) 0 0; }
.chartbar { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.chartbar .input { width: auto; flex: 0 1 190px; min-width: 0; } .chartbar .chartbar__find { flex: 1 1 240px; }
.orgteam, .orggroup { display: flex; flex-direction: column; align-items: center; width: 100%; }
.orgteam__toggle { list-style: none; cursor: pointer; margin-top: var(--s2); padding: 4px 12px; min-height: 32px; display: inline-flex;
  align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); font-size: 13px;
  color: var(--ink); white-space: nowrap; }
.orgteam__toggle::before, .orggroup__more::before { content: "+"; font-size: 17px; font-weight: 700; line-height: 1; color: var(--orange-text); }
.orgteam[open] > .orgteam__toggle::before, .orggroup[open] .orggroup__more::before { content: "−"; }
.orgteam > summary::-webkit-details-marker, .orggroup > summary::-webkit-details-marker { display: none; }
.org .orggroup > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; width: 184px; min-height: 96px; }
.orggroup__more { color: var(--orange-text); font-weight: 600; } .orggroup__more::before { margin-right: 4px; }
.org__node--hit > .orgbox, .org__node--hit > .orggroup > .orgbox { outline: 3px solid var(--orange); outline-offset: 2px; }
.org--loose .org__kids { flex-wrap: wrap; justify-content: flex-start; }
/* the joining lines (screen review 24 Nov 2026): down from the Team button, across the team, down to each box */
@media (min-width: 768px) {
  .org .org__kids { gap: 0; }
  .org .org__kids > .org__node { padding: 0 8px; }
  .org .org__kids .org__kids { padding-top: 16px; }
  .org .org__kids .org__kids::before { content: ""; position: absolute; top: 0; left: 50%; height: 16px; border-left: 2px solid var(--muted-line); }
  .org .org__kids .org__kids > .org__node { padding-top: 16px; }
  .org .org__kids .org__kids > .org__node::before, .org .org__kids .org__kids > .org__node::after { content: ""; position: absolute; top: 0;
    width: 50%; height: 16px; border-top: 2px solid var(--muted-line); }
  .org .org__kids .org__kids > .org__node::before { right: 50%; }
  .org .org__kids .org__kids > .org__node::after { left: 50%; border-left: 2px solid var(--muted-line); }
  .org .org__kids .org__kids > .org__node:first-child::before, .org .org__kids .org__kids > .org__node:last-child::after { border-top: 0; }
  .org .org__kids .org__kids > .org__node:only-child::before { display: none; }
  .org .org__kids .org__kids > .org__node:only-child::after { border-top: 0; }
  .org .orgteam { position: relative; }
  .org .orgteam::before { content: ""; position: absolute; top: 0; left: 50%; height: var(--s2); border-left: 2px solid var(--muted-line); }
  .org .orgteam__toggle { position: relative; z-index: 1; }
  .org--loose .org__kids .org__kids::before, .org--loose .org__node::before, .org--loose .org__node::after { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .org .orgbox, .org .orggroup > summary { width: 156px; }
  .chartbar .chartbar__find { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  .chartbar .input, .chartbar .chartbar__find { flex: 1 1 100%; }
  .orgteam, .orggroup { align-items: stretch; } .orgteam__toggle { align-self: flex-start; }
  .org .orggroup > summary { max-width: none; }
}
/* Section review 24 Nov 2026: "what needs you" on Home and a count on My work */
.menu__count { margin-left: auto; align-self: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.menu__count--late { background: var(--red-text); color: #fff; }
.bottombar__work { position: relative; } .bottombar__work .menu__count { position: absolute; top: 2px; left: calc(50% + 6px); margin: 0; }
.needsyou { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; margin-bottom: var(--s4); padding: var(--s3) var(--s4);
  border-radius: var(--r-md); background: var(--orange-tint); color: var(--ink); text-decoration: none; border: 1px solid var(--orange); }
.needsyou--late span:not(.needsyou__go) { color: var(--red-text); font-weight: 600; }
.needsyou__go { margin-left: auto; color: var(--orange-text); font-weight: 600; }
.needsyou--none { background: transparent; border-color: var(--line); color: var(--muted); }
@media (max-width: 767px) { .chips--scroll { flex-wrap: nowrap; overflow-x: auto; } .chips--scroll .chip { flex: none; } }
/* probation assessment (section review 24 Nov 2026): one row per KRA on a computer; the page was 4,400 px */
@media (min-width: 900px) {
  .kra { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr 110px; gap: var(--s2) var(--s3); align-items: end; }
  .kra > legend { grid-column: 1 / -1; } .kra--conduct { grid-template-columns: 110px 1fr; }
}
/* a long list with its "new" form folded behind one button (section review 24 Nov 2026: training modules 21,500 px) */
.newbox > summary { list-style: none; display: inline-flex; cursor: pointer; } .newbox > summary::-webkit-details-marker { display: none; }
.newbox[open] > summary { margin-bottom: var(--s3); }
.taglist { list-style: none; margin: var(--s1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.taglist li { font-size: 13px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--line-soft); color: var(--muted); }
.pdfview { width: 100%; height: 70vh; min-height: 420px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.yesno { display: flex; gap: var(--s5); padding-top: var(--s1); }
.print-only { display: none; }
@media print { .no-print, .menu, .bottombar, .topline__tools { display: none !important; } .print-only { display: block; }
  @page { size: A4 landscape; } }

/* M4: record cards — label and value pairs */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s1) var(--s3); margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
