:root{
  font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,sans-serif;
  color:#0d2f67;
  background:#f7fbff;
  color-scheme:light;
  line-height:1.45;
  font-synthesis:none;
  --brand-navy:#0d2f67;
  --brand-blue:#2f80ed;
  --brand-blue-strong:#1464cc;
  --brand-blue-soft:#e9f4ff;
  --brand-blue-line:#c7e0f8;
  /* RV (Oct 19, 2026): text on --brand-blue (white in light; dark navy in dark, where --brand-blue is light) */
  --on-brand:#fff;
  --on-danger:#fff;
  --green:#31b66d;
  --green-dark:#137847;
  --green-soft:#eaf8ef;
  --mint-line:#b9e5c9;
  --lavender:#7463df;
  --lavender-dark:#5847bd;
  --lavender-soft:#f0edff;
  --lavender-line:#dcd4ff;
  --warm:#f2a824;
  --warm-dark:#8a5b00;
  --warm-soft:#fff7dc;
  --warm-line:#f0d78a;
  --ink:#0d2f67;
  --muted:#5d7598;
  --line:#dbe8f5;
  --cream:#fff;
  --gold:#f7b928;
  --danger:#e65357;
  --danger-soft:#fff0f1;
  --amber-soft:#fff7dc;
  --shadow:0 10px 28px rgba(22,73,132,.08);
  --shadow-hover:0 16px 36px rgba(22,73,132,.13);
  --page:#f7fbff;
  --page-accent:#eef7ff;
  --surface:#fff;
  --surface-raised:#fff;
  --surface-muted:#f4f8fc;
  --topbar:linear-gradient(105deg,#fff 0,#f5faff 56%,#e9f4ff 100%);
  --text:#0d2f67;
  --text-soft:#46658f;
  --focus:rgba(47,128,237,.28);
  --review-green-bg:#eaf8ef;
  --review-green-border:#80c99a;
  --review-green-text:#126d3e;
  --review-yellow-bg:#fff7dc;
  --review-yellow-border:#e0ae33;
  --review-yellow-text:#795400;
  --review-red-bg:#fff0f1;
  --review-red-border:#e9878a;
  --review-red-text:#9f3338;
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --topbar-h:68px;
  --tabbar-h:64px;
  --sidebar-w:280px;
  --rail-w:80px;
  --glass-blur:saturate(1.7) blur(18px);
  --ease-ios:cubic-bezier(.2,.8,.2,1);
}

:root[data-theme=dark]{color-scheme:dark;--page:#08172c;--page-accent:#0d203a;--surface:#102540;--surface-raised:#152d4d;--surface-muted:#193353;--topbar:linear-gradient(105deg,#0d213b 0,#102a49 56%,#173b65 100%);--ink:#f2f7ff;--text:#f2f7ff;--text-soft:#bfd2ec;--muted:#9eb5d3;--line:#2c496d;--cream:#102540;--brand-navy:#f2f7ff;--brand-blue:#75adff;--brand-blue-strong:#9ac4ff;--brand-blue-soft:#173a64;--brand-blue-line:#315a89;--on-brand:#08172c;--on-danger:#08172c;--green:#55cf89;--green-dark:#8be6b0;--green-soft:#143c31;--mint-line:#2f7053;--lavender:#ae9dff;--lavender-dark:#c7bbff;--lavender-soft:#302b58;--lavender-line:#524b85;--warm:#f8c34f;--warm-dark:#ffe095;--warm-soft:#42351a;--warm-line:#866c2e;--gold:#f7bd35;--danger:#ff8e93;--danger-soft:#48262e;--amber-soft:#42351a;--shadow:0 14px 36px rgba(0,0,0,.3);--shadow-hover:0 18px 44px rgba(0,0,0,.4);--focus:rgba(117,173,255,.38);--review-green-bg:#143c31;--review-green-border:#3e9366;--review-green-text:#b6f0cc;--review-yellow-bg:#42351a;--review-yellow-border:#b08b2c;--review-yellow-text:#ffe39a;--review-red-bg:#48262e;--review-red-border:#ba5960;--review-red-text:#ffc3c6}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--page:#08172c;--page-accent:#0d203a;--surface:#102540;--surface-raised:#152d4d;--surface-muted:#193353;--topbar:linear-gradient(105deg,#0d213b 0,#102a49 56%,#173b65 100%);--ink:#f2f7ff;--text:#f2f7ff;--text-soft:#bfd2ec;--muted:#9eb5d3;--line:#2c496d;--cream:#102540;--brand-navy:#f2f7ff;--brand-blue:#75adff;--brand-blue-strong:#9ac4ff;--brand-blue-soft:#173a64;--brand-blue-line:#315a89;--on-brand:#08172c;--on-danger:#08172c;--green:#55cf89;--green-dark:#8be6b0;--green-soft:#143c31;--mint-line:#2f7053;--lavender:#ae9dff;--lavender-dark:#c7bbff;--lavender-soft:#302b58;--lavender-line:#524b85;--warm:#f8c34f;--warm-dark:#ffe095;--warm-soft:#42351a;--warm-line:#866c2e;--gold:#f7bd35;--danger:#ff8e93;--danger-soft:#48262e;--amber-soft:#42351a;--shadow:0 14px 36px rgba(0,0,0,.3);--shadow-hover:0 18px 44px rgba(0,0,0,.4);--focus:rgba(117,173,255,.38);--review-green-bg:#143c31;--review-green-border:#3e9366;--review-green-text:#b6f0cc;--review-yellow-bg:#42351a;--review-yellow-border:#b08b2c;--review-yellow-text:#ffe39a;--review-red-bg:#48262e;--review-red-border:#ba5960;--review-red-text:#ffc3c6}}

*{box-sizing:border-box}
html{min-width:320px;background:var(--page)}
body{margin:0;min-width:320px;color:var(--text);background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--brand-blue-soft) 72%,transparent) 0,transparent 36%),linear-gradient(145deg,var(--page) 0,var(--surface) 55%,var(--page-accent) 100%);transition:background-color .2s ease,color .2s ease}
button,input,select,textarea{font:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

.topbar{position:sticky;top:0;z-index:40;height:calc(var(--topbar-h) + env(safe-area-inset-top));display:flex;align-items:center;gap:16px;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));border-bottom:1px solid var(--brand-blue-line);background:var(--topbar);box-shadow:0 6px 22px rgba(22,73,132,.07);transition:background .2s ease,border-color .2s ease}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.topbar{background:linear-gradient(105deg,color-mix(in srgb,var(--surface) 80%,transparent) 0,color-mix(in srgb,var(--brand-blue-soft) 72%,transparent) 100%);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}}
.topbar-title{display:none;min-width:0;overflow:hidden;color:var(--ink);font-size:1.02rem;font-weight:850;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}
.brand{display:flex;gap:11px;align-items:center;color:var(--ink);text-decoration:none;min-width:0}
.brand-mark{position:relative;display:grid;place-items:center;width:40px;height:40px;border:2px solid var(--brand-blue-line);border-radius:13px;background:linear-gradient(145deg,var(--surface-raised),var(--brand-blue-soft));color:var(--brand-navy);font-weight:950;box-shadow:0 5px 16px rgba(31,104,193,.12)}
.brand-mark::before{content:"";position:absolute;top:-7px;right:6px;width:5px;height:9px;border-radius:4px;background:var(--gold);box-shadow:8px 4px 0 -1px var(--gold),-6px 1px 0 -1px var(--gold);transform:rotate(13deg)}
.brand strong,.brand small,.actor strong,.actor small{display:block}
.brand strong{font-size:1rem;color:var(--brand-navy);letter-spacing:-.01em}
.brand small{color:var(--muted);font-size:.73rem;white-space:nowrap}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px;color:var(--text-soft);font-size:.84rem;font-weight:700}
.environment-badge{padding:4px 9px;border:1px solid var(--warm-line);border-radius:999px;background:var(--warm-soft);color:var(--warm-dark);font-size:.69rem;letter-spacing:.08em}
.menu-button{display:none}
.icon-button{position:relative;width:44px;height:44px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--brand-blue);cursor:pointer;transition:transform .16s ease,background .16s ease}
.icon-button:active,.primary-button:active,.quiet-button:active,.passkey-button:active{transform:scale(.97)}
.theme-control select{max-width:200px;min-height:40px;padding:8px 28px 8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:.78rem;font-weight:750}
.notification-button{display:grid;place-items:center}.bell-icon{display:block}
.notification-badge{position:absolute;top:-5px;right:-5px;min-width:20px;padding:1px 5px;border:2px solid var(--surface);border-radius:999px;background:#d8443b;color:#fff;font-size:.65rem;font-weight:900;text-align:center}
.notification-panel{position:fixed;z-index:55;top:64px;right:20px;width:min(390px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 88px));padding:18px;overflow:auto;transform-origin:top right;animation:panel-in .18s ease-out}
.notification-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.notification-panel h2{margin:.15rem 0;font-size:1.2rem}
.notification-context,.notification-item p,.notification-empty{color:var(--muted);font-size:.82rem}
.notification-items{display:grid;gap:8px;margin-top:14px}
.notification-item{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted)}
.notification-item.is-unread{border-color:color-mix(in srgb,var(--brand-blue) 48%,var(--line));background:var(--brand-blue-soft);box-shadow:inset 3px 0 0 var(--brand-blue)}
.notification-item p{margin:.25rem 0 0}

.app-shell{min-height:calc(100vh - var(--topbar-h));display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr)}
.sidebar{position:sticky;top:calc(var(--topbar-h) + env(safe-area-inset-top));height:calc(100vh - var(--topbar-h) - env(safe-area-inset-top));height:calc(100dvh - var(--topbar-h) - env(safe-area-inset-top));min-width:0;padding:18px 12px 16px;display:flex;flex-direction:column;gap:18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;border-right:1px solid var(--brand-blue-line);background:color-mix(in srgb,var(--brand-blue-soft) 46%,var(--surface))}
/* The menu scrolls only when it is taller than the screen, and never shows a scrollbar (Owner decision 2026-09-28). */
.sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.sidebar>*{min-width:0;flex-shrink:0}
.navigation{display:grid;gap:18px}
.nav-group{display:grid;gap:5px}
.nav-heading{padding:0 10px;color:#8b938c;font-size:.67rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.nav-toggle,.nav-button{width:100%;min-width:0;min-height:44px;border:0;border-radius:11px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;background:transparent;color:var(--text-soft);text-align:left;cursor:pointer}
.nav-toggle{grid-template-columns:24px minmax(0,1fr) auto auto}
.nav-toggle{padding:9px 10px;font-size:.95rem;font-weight:800;column-gap:6px}
.nav-toggle:hover,.nav-toggle:focus-visible{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.nav-chevron{font-size:1.15rem;transition:transform .18s ease}
.nav-toggle[aria-expanded=true] .nav-chevron{transform:rotate(90deg)}
.nav-children{display:grid;gap:3px}
.nav-children[hidden]{display:none}
.nav-group-direct .nav-children{gap:4px}
.nav-child{padding:8px 9px 8px 25px;font-size:.89rem}
.nav-direct{padding:9px 10px;font-weight:760}
.nav-button:hover,.nav-button:focus-visible,.nav-button[aria-current=page]{background:var(--brand-blue-soft);color:var(--brand-blue-strong);outline:none}
.nav-button[aria-current=page]{box-shadow:inset 3px 0 0 var(--brand-blue);font-weight:800}
.nav-icon{width:20px;color:var(--muted);text-align:center;font-size:.88rem}
.nav-button[aria-current=page] .nav-icon{color:var(--brand-blue)}
.nav-label{min-width:0;overflow-wrap:anywhere}
.nav-toggle,.nav-button,.tab-bar-item,.sheet-row,.rail-profile{-webkit-tap-highlight-color:transparent;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .16s var(--ease-ios)}
.nav-toggle:active,.nav-button:active,.sheet-row:active{transform:scale(.98)}
.badge{min-width:22px;padding:1px 7px;border-radius:999px;background:#e84c3d;color:#fff;font-size:.7rem;font-weight:850;text-align:center}

.sidebar-footer{margin-top:auto;display:grid;gap:10px;border-top:1px solid var(--line);padding-top:14px}
.actor{display:flex;align-items:center;gap:10px;min-width:0;padding:8px}
.actor>.avatar{flex:none}.actor-text{min-width:0}.actor strong,.actor small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--lavender-soft);color:var(--lavender-dark);font-weight:850}
.actor small{color:var(--muted);font-size:.75rem}
.company-picker{width:min(470px,100%);margin:0 auto 16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised);color:var(--ink)}
.company-picker label{display:block;margin-bottom:6px;font-size:.75rem;font-weight:750}
.company-picker select{width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}

.main-content{width:100%;max-width:none;margin:0;padding:22px 30px 64px}
.status-row{display:flex;align-items:center;gap:10px}
.status{flex:1;margin-bottom:18px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--text-soft)}
.status[data-kind=error]{border-color:#f1c8c5;background:var(--danger-soft);color:var(--danger)}
.status[data-kind=success]{border-color:#b9dbc3;background:var(--green-soft);color:var(--green-dark)}
.status[data-kind=warning]{border-color:#ead79b;background:var(--amber-soft);color:#725817}

.page-header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 16px;padding:20px 23px;overflow:hidden;background:linear-gradient(120deg,var(--surface) 0,var(--brand-blue-soft) 70%,var(--lavender-soft) 100%)}
.page-header::after{content:"";position:absolute;right:-28px;top:-46px;width:132px;height:132px;border:16px solid color-mix(in srgb,var(--gold) 30%,transparent);border-radius:50%;opacity:.55;pointer-events:none}
.page-header>*{position:relative;z-index:1}
.page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.page-header h1,.login h1{margin:.1rem 0;font-size:clamp(1.6rem,2.6vw,2.15rem);line-height:1.12;letter-spacing:-.03em}
.page-header p{margin:.35rem 0;color:var(--muted)}
.kicker{margin:0!important;color:var(--brand-blue-strong);font-size:.7rem!important;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.card{background:var(--cream);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.login{width:min(470px,100%);margin:5vh auto;padding:30px;text-align:center}
.login-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:24px}
.login-brand strong,.login-brand span{display:block}
.login-brand strong{font-size:1.08rem}
.login-brand span{color:var(--muted);font-size:.78rem}
.login>p:not(.kicker){color:var(--muted)}
.stack{display:grid;gap:14px}
.stack label{display:grid;gap:6px;font-size:.85rem;font-weight:750}
.field-help{color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.45}
.stack input,.stack select,.stack textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised);color:var(--ink)}
.stack textarea{min-height:92px;resize:vertical}
.primary-button,.quiet-button{min-height:40px;border:0;border-radius:10px;padding:9px 14px;cursor:pointer;font-weight:800;transition:transform .12s ease,background .16s ease,box-shadow .16s ease}
.primary-button{background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-strong));color:#fff;box-shadow:0 6px 14px rgba(31,104,193,.2)}
.primary-button:hover,.primary-button:focus-visible{background:var(--brand-blue-strong)}
.primary-button:disabled,.quiet-button:disabled{cursor:not-allowed;opacity:.55}
.quiet-button{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.auth-options{display:grid;gap:8px;margin-top:16px;color:var(--muted);font-size:.86rem}
.text-button{border:0;padding:2px;background:transparent;color:var(--brand-blue-strong);cursor:pointer;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.passkey-button{width:100%;margin-top:20px;padding:12px 14px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface-muted);color:var(--ink);text-align:left;cursor:pointer;transition:transform .12s ease,border-color .16s ease}
.passkey-button>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lavender-soft);color:var(--lavender-dark)}
.passkey-button strong,.passkey-button small{display:block}.passkey-button small{margin-top:2px;color:var(--muted);line-height:1.35}
.auth-governance{margin:16px 0 0!important;padding-top:14px;border-top:1px solid var(--line);font-size:.76rem}
/* Sign-in / activation / reset steps share one card; a hidden step or form must stay hidden even though .stack is a grid. */
.login [hidden]{display:none!important}

.summary-strip{display:flex;gap:10px;overflow:auto;padding:1px 1px 9px}
.summary-pill{white-space:nowrap;padding:7px 11px;border:1px solid var(--brand-blue-line);border-radius:999px;background:var(--brand-blue-soft);color:var(--text-soft);font-size:.8rem}
.summary-pill strong{color:var(--ink)}
.summary-pill.summary-urgent{border-color:#ebbbb6;background:var(--danger-soft);color:var(--danger)}
.feed{display:grid;gap:12px;margin-top:8px}
.feed-card{position:relative;padding:17px 19px;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
.feed-card.is-navigable{cursor:pointer}
.feed-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-hover)}
.feed.feed-entering .feed-card{opacity:.45;transform:translateY(5px)}
.feed-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:transparent}
.feed-card.urgency-approaching{border-color:color-mix(in srgb,#df6d5d 42%,var(--line));background:linear-gradient(90deg,color-mix(in srgb,#df6d5d 12%,var(--surface)) 0,var(--surface) 24%)}
.feed-card.urgency-approaching::before{background:#df6d5d}
.feed-card.urgency-urgent{border-color:color-mix(in srgb,#c73d35 48%,var(--line));background:linear-gradient(90deg,color-mix(in srgb,#c73d35 15%,var(--surface)) 0,var(--surface) 30%)}
.feed-card.urgency-urgent::before{background:#c73d35}
.feed-card-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.card-eyebrow{display:flex;align-items:center;gap:8px}
.feed-card h2{margin:.22rem 0 .28rem;font-size:1.08rem;line-height:1.28}
.feed-card p{margin:.35rem 0;color:var(--muted)}
.feed-card .state,.request-detail .state{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:.35rem 0;padding:4px 9px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.75rem;font-weight:850}
.source-label{display:inline-flex!important;width:max-content;padding:3px 9px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft)!important;font-size:.73rem;font-weight:750}
.reason strong{color:#435249}
.feed-card .meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;font-size:.86rem}
.feed-card .meta span{color:var(--text-soft)}
.urgency-badge{flex:0 0 auto;padding:5px 10px;border-radius:999px;font-size:.74rem;font-weight:850}
.urgency-badge.urgency-normal{background:var(--green-soft);color:var(--green-dark)}
.urgency-badge.urgency-approaching{background:#ffe6df;color:#a84438}
.urgency-badge.urgency-urgent{background:#d8443b;color:#fff}
.urgency-reason{font-size:.82rem;color:#8c3c35!important}
.deadline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:10px 12px;border:1px solid color-mix(in srgb,#c73d35 35%,var(--line));border-radius:11px;background:color-mix(in srgb,#c73d35 9%,var(--surface));color:var(--text-soft)}
.deadline span{font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.deadline strong{color:#9b322a}
.feed-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:13px;border-top:1px solid var(--line)}
.feed-action small{color:var(--muted)}
.empty{position:relative;padding:30px;text-align:center;background:linear-gradient(135deg,var(--brand-blue-soft),var(--surface) 55%,var(--lavender-soft))}
.empty::before{content:"✓";display:grid;place-items:center;width:42px;height:42px;margin:0 auto 12px;border-radius:50%;background:var(--green);color:#fff;font-size:1.15rem;font-weight:950;box-shadow:0 6px 16px rgba(49,182,109,.2)}
.empty h2{margin:.2rem 0}
.empty p{color:var(--muted)}

.request-detail{padding:21px 23px}
.request-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.request-detail h2{margin:.2rem 0;font-size:1.45rem}
.read-only-badge{flex:0 0 auto;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.74rem;font-weight:850}
.detail-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin-top:16px;padding:14px;border:1px solid var(--brand-blue-line);border-radius:13px;background:var(--brand-blue-soft);color:var(--text-soft);font-size:.84rem}
.read-only-note{margin:18px 0 0;color:var(--muted);font-size:.84rem}
.detail-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}

.schedule-overview,.schedule-section{padding:22px 24px}
.schedule-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}
.schedule-overview h2,.schedule-section h2{margin:.2rem 0 .35rem}
.schedule-authority-note,.schedule-section>p{margin:.35rem 0;color:var(--muted)}
.schedule-default-note{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:12px;background:var(--green-soft);color:var(--green-dark)}.schedule-default-note span{font-weight:800}
.schedule-step{position:relative;overflow:hidden;border-top:4px solid color-mix(in srgb,var(--green) 75%,#58bf88)}
.schedule-step::after{content:"";position:absolute;pointer-events:none;inset:0 0 auto auto;width:120px;height:120px;border-radius:0 0 0 100%;background:color-mix(in srgb,var(--green-soft) 58%,transparent);opacity:.55}
.schedule-step>*{position:relative;z-index:1}
.step-label{margin:0 0 .25rem!important;color:var(--green)!important;font-size:.75rem!important;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.section-subheading{margin:24px 0 0;font-size:1rem}
.schedule-context{padding:17px 22px}.schedule-context>summary{cursor:pointer;color:var(--green-dark);font-weight:850}.schedule-context>p{color:var(--muted)}
.position-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.position-schedule{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-muted)}.position-schedule h3{margin:0}.position-schedule .state{color:var(--green-dark);font-weight:800}
.preset-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.preset-button{min-height:92px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-muted);color:var(--ink);text-align:left;cursor:pointer}
.preset-button strong,.preset-button span{display:block}.preset-button span{margin-top:4px;color:var(--muted);font-size:.8rem}
.preset-button.is-selected{border-color:var(--green);background:var(--green-soft);box-shadow:inset 0 0 0 1px var(--green)}
.working-days{display:flex;flex-wrap:wrap;gap:8px 14px;margin:18px 0 0;padding:14px;border:1px solid var(--line);border-radius:13px}
.working-days legend,.time-control legend,.same-day-control legend{padding:0 5px;color:var(--text-soft);font-size:.8rem;font-weight:800}
.working-days label,.switch-field{display:flex;align-items:flex-start;gap:8px;color:var(--text-soft);font-size:.84rem}
.working-days input,.switch-field input{margin-top:3px;accent-color:var(--green)}
.calendar-recommendation{flex-basis:100%;margin-top:4px}.calendar-country{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:15px 17px;border-radius:14px;background:linear-gradient(120deg,var(--green-soft),var(--surface-muted))}.calendar-country div{display:grid;gap:3px}.calendar-country span{color:var(--muted);font-size:.8rem}.calendar-country strong{font-size:1.05rem}.calendar-ready{padding:6px 10px;border-radius:999px;background:var(--surface);color:var(--green-dark)!important;font-weight:850}
.calendar-holidays{margin-top:12px}.calendar-row,.additional-dates>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.calendar-row div{display:grid;gap:3px}.calendar-row span,.additional-dates span{color:var(--muted);font-size:.82rem}.calendar-row b{color:var(--green-dark);font-size:.82rem}
.additional-dates{margin-top:10px}.add-date-button{margin-top:12px}.date-entry{display:flex;gap:8px;margin-top:10px}.date-entry input{min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}.date-chip-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.date-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark)!important;font-weight:750}.date-chip button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:1rem}
.schedule-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.schedule-stage{padding:19px;border:1px solid var(--line);border-radius:15px;background:var(--surface-muted)}
.schedule-stage h3{margin:0 0 12px;font-size:1rem}
.stage-dependency{display:grid;gap:2px;margin:14px 0 10px!important;font-size:.8rem!important}.stage-dependency span{color:var(--muted)}
.time-control{margin:0;padding:0;border:0}.time-control-row{display:grid;grid-template-columns:38px minmax(64px,1fr) 38px minmax(120px,1.25fr);gap:7px;align-items:center}
.time-control-row input,.time-control-row select{min-width:0;width:100%;height:40px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}
.time-step{height:40px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--green);cursor:pointer;font-size:1.2rem;font-weight:900}
.same-day-value{display:inline-block;margin-top:7px;padding:4px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:.76rem;font-weight:850}.unit-warning{display:block;margin-top:7px;color:#9b6221}
.same-day-control{margin:0;padding:0;border:0}.segmented-choice{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border-radius:10px;background:var(--surface-raised)}.segmented-choice button{min-height:34px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;font-weight:800}.segmented-choice button[aria-pressed=true]{background:var(--green-soft);color:var(--green-dark);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.schedule-more{margin-top:13px;border-top:1px solid var(--line);padding-top:10px}.schedule-more summary{color:var(--green);cursor:pointer;font-size:.82rem;font-weight:800}.schedule-more p{color:var(--muted);font-size:.8rem}
.processing-mode-field{display:grid;gap:6px;margin-top:12px;color:var(--text-soft);font-size:.8rem;font-weight:800}.processing-mode-field select{width:100%;min-height:40px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}
.processing-time-control,.capacity-control{margin-top:12px}.capacity-control{padding:0;border:0}.capacity-control legend{padding:0 5px;color:var(--text-soft);font-size:.8rem;font-weight:800}.capacity-control-row{display:grid;grid-template-columns:38px minmax(64px,1fr) 38px;gap:7px;align-items:center}.capacity-control-row input{min-width:0;width:100%;height:40px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}
.extra-time-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);gap:18px;align-items:center;margin-top:18px;padding:18px;border:1px solid color-mix(in srgb,var(--green) 30%,var(--line));border-radius:14px;background:var(--surface-raised)}.extra-time-card p{margin:.25rem 0;color:var(--muted)}
.schedule-preview{border-color:color-mix(in srgb,var(--green) 42%,var(--line));background:linear-gradient(120deg,var(--surface) 0,var(--green-soft) 100%)}
.preview-caption{text-transform:uppercase;letter-spacing:.09em;font-size:.72rem!important;font-weight:850}.preview-total{display:grid;gap:4px;margin-top:18px}.preview-total span{color:var(--muted);font-size:.8rem}.preview-total strong{color:var(--green-dark);font-size:clamp(1.35rem,3vw,2rem)}
.schedule-flow{display:flex;align-items:center;gap:8px;margin:20px 0 0;padding:0;overflow-x:auto;list-style:none}.schedule-flow li{display:flex;align-items:center;flex:0 0 auto;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--surface-raised);font-size:.8rem;font-weight:800}.schedule-flow li:not(:last-child)::after{content:"→";margin-left:18px;color:var(--green);font-size:1rem}.preview-details{margin-top:16px}.preview-details summary{cursor:pointer;color:var(--green-dark);font-weight:850}.preview-details dl,.activation-summary{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);gap:8px 14px;margin:14px 0 0}.preview-details dt,.activation-summary dt{color:var(--muted)}.preview-details dd,.activation-summary dd{margin:0;font-weight:750}
.activation-step{border-top-color:#e0a923}.activation-summary{padding:16px;border-radius:13px;background:var(--surface-muted)}
.company-input-required{margin-top:14px;padding:13px;border:1px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text)}
.company-input-required strong{text-transform:uppercase;letter-spacing:.08em;font-size:.76rem}.company-input-required p{margin:.3rem 0 0}
.schedule-rereview{margin-top:18px}.schedule-rereview h3{margin:.2rem 0}

.smart-review{margin-top:18px;padding:16px;border:2px solid;border-radius:14px}
.smart-review-green{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.smart-review-yellow{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.smart-review-red{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.smart-review-header{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}
.smart-review-icon{display:grid;place-items:center;width:32px;height:32px;border:2px solid currentColor;border-radius:50%;font-size:1rem;font-weight:950;line-height:1}
.smart-review-label{display:block;font-size:.77rem;letter-spacing:.1em}
.smart-review-header p,.smart-review-guidance p,.smart-review-recheck{margin:.3rem 0 0;color:inherit}
.smart-review-guidance,.smart-review-current-actions,.smart-review-unaffected{margin-top:12px;padding-top:12px;border-top:1px solid color-mix(in srgb,currentColor 28%,transparent);font-size:.86rem}
.smart-review-current-actions ul,.smart-review-unaffected ul{margin:.35rem 0 0;padding-left:20px}
.smart-review-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.smart-review-option{display:inline-flex;padding:6px 9px;border-radius:9px;background:color-mix(in srgb,currentColor 8%,transparent);color:inherit;font-size:.8rem;font-weight:800}.smart-review-option.quiet-button{cursor:pointer}
.smart-review-recheck{font-size:.82rem;font-weight:700}
.smart-review-acknowledged{margin-top:12px;padding:10px 12px;border-radius:11px;background:var(--review-green-bg);color:var(--review-green-text)!important;font-weight:750}

.settings-section{margin-top:20px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.section-heading h2{margin:.2rem 0}.section-heading p{margin:.3rem 0;color:var(--muted)}
.settings-grid,.organization-cards,.configuration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.settings-tile{min-height:168px;padding:19px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.settings-tile:hover,.settings-tile:focus-visible{transform:translateY(-2px);border-color:color-mix(in srgb,var(--brand-blue) 50%,var(--line));box-shadow:0 12px 32px rgba(23,93,196,.13);outline:none}.settings-tile h3{margin:16px 0 5px}.settings-tile p{margin:0;color:var(--muted)}
.settings-tile-head,.configuration-card-head,.configuration-overview{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.settings-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green-soft);color:var(--green-dark);font-size:1.05rem;font-weight:900}.status-pill{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.68rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.settings-tile[data-status=ACTION_BLOCKED] .status-pill,.configuration-card[data-availability=SPECIFIC_BLOCKER] .status-pill{background:var(--review-red-bg);color:var(--review-red-text)}.settings-tile[data-status=NEEDS_REVIEW] .status-pill{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.configuration-overview{padding:23px}.configuration-overview h2{margin:.2rem 0}.configuration-overview p{margin:.35rem 0;color:var(--muted)}
.configuration-card{padding:20px}.configuration-card h2{margin:.2rem 0}.configuration-summary{min-height:42px;color:var(--muted)}.configuration-card dl{display:grid;grid-template-columns:minmax(105px,.55fr) minmax(0,1.45fr);gap:7px 12px;margin:18px 0 0;padding-top:14px;border-top:1px solid var(--line)}.configuration-card dt{color:var(--muted);font-size:.78rem}.configuration-card dd{margin:0;font-size:.82rem;font-weight:750}.configuration-blocker{margin:16px 0 0;padding:11px;border-radius:11px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-size:.82rem;font-weight:700}
.configuration-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px}.configuration-card-actions small{flex-basis:100%;color:var(--muted)}.configuration-list-field,.configuration-list-item{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}.configuration-list-field>legend,.configuration-list-item>legend{padding:0 6px;font-weight:850}.configuration-list-items{display:grid;gap:10px}.configuration-list-item{background:var(--surface)}.configuration-add-row{margin-top:10px}.configuration-checkbox-field{display:flex!important;align-items:center;gap:9px}.configuration-checkbox-field input{width:auto!important}.configuration-change-review{padding:14px;border:1px solid var(--brand-blue-line);border-radius:14px;background:var(--brand-blue-soft)}.configuration-change-review h3{margin:.25rem 0}.configuration-change-review dl{display:grid;grid-template-columns:minmax(110px,.55fr) minmax(0,1.45fr);gap:7px 12px;margin:14px 0}.configuration-change-review dt{color:var(--muted);font-size:.78rem}.configuration-change-review dd{margin:0;font-size:.84rem;font-weight:750}
.workforce-plan{padding:22px}.workforce-plan h2{margin:.2rem 0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0}.metric{display:grid;gap:3px;padding:13px;border-radius:12px;background:var(--surface-muted)}.metric strong{color:var(--green-dark);font-size:1.45rem}.metric span{color:var(--muted);font-size:.75rem}

.action-dialog{width:min(540px,calc(100vw - 28px));border:0;border-radius:18px;padding:0;background:var(--cream);color:var(--ink);box-shadow:0 24px 80px rgba(14,45,27,.25);animation:dialog-in .2s ease-out}
.action-dialog::backdrop{background:rgba(10,31,19,.5)}
.action-dialog form{position:relative;padding:26px}
.action-dialog h2{margin:.15rem 0}
.dialog-description{margin:.4rem 0 18px;color:var(--muted)}
.dialog-feedback{margin-top:16px}
.dialog-feedback .smart-review{margin-top:0}
.dialog-error{margin:0;padding:12px;border:2px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text);font-weight:700}
.dialog-close{position:absolute;top:15px;right:15px;width:34px;height:34px;border:0;border-radius:50%;background:var(--green-soft);color:var(--green-dark);font-size:1.35rem;cursor:pointer}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.task-conversation-dialog{width:min(820px,calc(100vw - 28px));max-height:calc(100vh - 32px);border:1px solid var(--brand-blue-line);border-radius:20px;padding:0;background:var(--surface);color:var(--ink);box-shadow:0 24px 80px rgba(4,22,51,.32);animation:dialog-in .2s ease-out}
.task-conversation-dialog::backdrop{background:rgba(5,24,53,.56)}
.task-conversation-shell{position:relative;display:grid;gap:16px;padding:25px}
.task-conversation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:48px;padding-right:28px;border-bottom:1px solid var(--line)}
.task-conversation-header h2{margin:.16rem 0;font-size:1.45rem}.task-conversation-header .dialog-close{top:16px;right:16px}.task-conversation-header .dialog-description{margin-bottom:16px}
.task-conversation-task-actions{display:flex;align-items:center;gap:10px}.task-conversation-task-actions:empty{display:none}.task-conversation-task-actions small{color:var(--muted)}
.task-conversation-dialog>.task-conversation-shell>.dialog-feedback{margin:0;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:11px;background:var(--brand-blue-soft);color:var(--text-soft)}
.task-conversation-dialog>.task-conversation-shell>.dialog-feedback[data-kind=error]{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.task-conversation-dialog>.task-conversation-shell>.dialog-feedback[data-kind=warning]{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.task-conversation-dialog>.task-conversation-shell>.dialog-feedback[data-kind=success]{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.task-conversation-comments{display:grid;gap:12px;max-height:min(44vh,430px);overflow:auto;padding:2px 4px 2px 2px;scrollbar-gutter:stable}
.task-conversation-empty{padding:22px;border:1px dashed var(--brand-blue-line);border-radius:14px;background:var(--brand-blue-soft);text-align:center}.task-conversation-empty h3,.task-conversation-empty p{margin:.2rem}.task-conversation-empty p{color:var(--muted)}
.task-comment{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}.task-comment.is-own{background:color-mix(in srgb,var(--brand-blue-soft) 58%,var(--surface))}.task-comment.is-unread{border-color:var(--brand-blue);box-shadow:inset 3px 0 0 var(--brand-blue)}
.task-comment>header,.task-follow-up-card>header,.notification-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.task-comment>header>div{display:grid;gap:1px}.task-comment time{color:var(--muted);font-size:.72rem}.task-comment-body{margin:.7rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
.conversation-attention{display:inline-flex;align-items:center;width:max-content;padding:3px 8px;border-radius:999px;background:var(--brand-blue);color:var(--on-brand);font-size:.67rem;font-weight:900;letter-spacing:.03em}.conversation-attention-edited{background:var(--lavender);color:#fff}.conversation-attention-new_reply,.conversation-attention-reply{background:var(--green);color:#fff}
.task-comment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:8px;border-top:1px solid var(--line)}.task-comment-actions .text-button{font-size:.78rem}.native-call-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;text-decoration:none;font-size:.78rem}
.task-comment-replies{display:grid;gap:9px;margin-top:12px;padding-left:18px;border-left:3px solid var(--brand-blue-line)}.task-comment-replies .task-comment{background:var(--surface)}
.task-comment-history{margin-top:10px;color:var(--text-soft);font-size:.78rem}.task-comment-history summary{cursor:pointer;font-weight:800}.task-comment-history ol{display:grid;gap:8px;margin:.6rem 0 0;padding-left:22px}.task-comment-history li span{color:var(--muted);font-size:.7rem}.task-comment-history li p{margin:.2rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
.task-comment-edit-form{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.task-comment-edit-form textarea,.task-follow-up-inline-form textarea{min-height:76px}
.task-conversation-form{padding:16px;background:var(--surface-muted)}.task-conversation-form .dialog-actions{margin-top:0}.task-reply-context{padding:9px 11px;border-left:3px solid var(--brand-blue);border-radius:8px;background:var(--brand-blue-soft);color:var(--text-soft);font-size:.78rem;overflow-wrap:anywhere}
.task-follow-up-section{display:grid;gap:12px;padding-top:16px;border-top:1px solid var(--line)}.task-follow-up-section>header h3{margin:.15rem 0}.task-follow-up-guidance{margin:0;color:var(--muted);font-size:.82rem}.task-follow-up-items{display:grid;gap:10px}.task-follow-up-card{padding:15px}.task-follow-up-card h4{margin:0}.task-follow-up-card>p{white-space:pre-wrap;overflow-wrap:anywhere}.task-follow-up-card .meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--muted);font-size:.78rem}.task-follow-up-reason{padding:9px 11px;border-radius:9px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}.task-follow-up-controls{display:flex;align-items:flex-start;gap:12px;margin-top:12px}.task-follow-up-approve-form{flex:0 0 auto}.task-follow-up-inline-form{flex:1;padding-top:10px;border-top:1px solid var(--line)}
.notification-heading{align-items:center}.notification-conversation-button{margin-top:7px;font-size:.76rem}
.sidebar-backdrop{position:fixed;z-index:45;inset:0;background:rgba(5,24,53,.52)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.signed-out .menu-button,.signed-out .sidebar,.signed-out .tab-bar,.signed-out .environment-badge,.signed-out .topbar-actor{display:none}
.signed-out .app-shell{display:block;min-height:calc(100vh - var(--topbar-h))}
.signed-out .main-content{min-height:calc(100vh - var(--topbar-h));max-width:100%;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.signed-out .status-row{width:min(470px,100%)}
.signed-out .topbar{justify-content:center}.signed-out .topbar-actions{position:absolute;right:24px}

/* NoypiHR manual visual family: shared interactive presentation primitives. */
.sidebar-context{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--brand-blue-line);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface) 78%,var(--brand-blue-soft));box-shadow:0 6px 18px rgba(22,73,132,.06)}
.sidebar-context strong,.sidebar-context small{display:block}.sidebar-context small{color:var(--muted);font-size:.73rem}
.nav-item{min-height:38px;padding:8px 10px;border-radius:11px;color:var(--text-soft);text-decoration:none;font-size:.84rem;font-weight:750}.nav-item:hover,.nav-item:focus-visible,.nav-item[aria-current=page]{background:var(--brand-blue-soft);color:var(--brand-blue-strong);outline:none}.nav-item[aria-current=page]{box-shadow:inset 3px 0 0 var(--brand-blue)}

.status{position:relative;padding-left:40px}.status::before{content:"i";position:absolute;left:12px;top:50%;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--brand-blue);color:var(--on-brand);font-size:.72rem;font-weight:950;transform:translateY(-50%)}
.status[data-kind=success]::before{content:"✓";background:var(--green)}.status[data-kind=warning]::before{content:"!";background:var(--warm)}.status[data-kind=error]::before{content:"×";background:var(--danger)}

.feed-card[data-visual-tone=info],.request-detail[data-visual-tone=info]{border-color:var(--brand-blue-line);background:linear-gradient(105deg,var(--brand-blue-soft),var(--surface) 34%)}
.feed-card[data-visual-tone=positive],.request-detail[data-visual-tone=positive]{border-color:var(--mint-line);background:linear-gradient(105deg,var(--green-soft),var(--surface) 34%)}
.feed-card[data-visual-tone=review],.request-detail[data-visual-tone=review]{border-color:var(--warm-line);background:linear-gradient(105deg,var(--warm-soft),var(--surface) 34%)}
.feed-card[data-visual-tone=secondary],.request-detail[data-visual-tone=secondary]{border-color:var(--lavender-line);background:linear-gradient(105deg,var(--lavender-soft),var(--surface) 34%)}
.feed-card[data-visual-tone=blocked],.request-detail[data-visual-tone=blocked]{border-color:var(--review-red-border);background:linear-gradient(105deg,var(--danger-soft),var(--surface) 34%)}
.feed-card[data-visual-tone=info]::before{background:var(--brand-blue)}.feed-card[data-visual-tone=positive]::before{background:var(--green)}.feed-card[data-visual-tone=review]::before{background:var(--warm)}.feed-card[data-visual-tone=secondary]::before{background:var(--lavender)}.feed-card[data-visual-tone=blocked]::before{background:var(--danger)}
.state[data-visual-tone=positive]{background:var(--green-soft);color:var(--green-dark)}.state[data-visual-tone=review]{background:var(--warm-soft);color:var(--warm-dark)}.state[data-visual-tone=secondary]{background:var(--lavender-soft);color:var(--lavender-dark)}.state[data-visual-tone=blocked]{background:var(--danger-soft);color:var(--review-red-text)}

.card-eyebrow::before{content:"•";display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--brand-blue);color:var(--on-brand);font-size:.82rem;font-weight:950;box-shadow:0 4px 10px rgba(22,73,132,.14)}
.feed[data-surface=myTasks] .card-eyebrow::before{content:"✓"}.feed[data-surface=taskHistory] .card-eyebrow::before{content:"↺";background:var(--lavender)}.feed[data-surface=calendar] .card-eyebrow::before{content:"□"}.feed[data-surface=myDay] .card-eyebrow::before{content:"☀";background:var(--warm)}.feed[data-surface=myTeam] .card-eyebrow::before,.feed[data-surface=employees] .card-eyebrow::before{content:"●";background:var(--green)}.feed[data-surface=manpower] .card-eyebrow::before{content:"+";background:var(--warm)}.feed[data-surface=recruitment] .card-eyebrow::before,.feed[data-surface=assignedInterviews] .card-eyebrow::before,.feed[data-surface=hiringDecisions] .card-eyebrow::before{content:"→"}.feed[data-surface=preTrainingRequirements] .card-eyebrow::before,.feed[data-surface=preHireRequirements] .card-eyebrow::before{content:"✓";background:var(--lavender)}.feed[data-surface=preEmploymentTraining] .card-eyebrow::before{content:"△";background:var(--lavender)}.feed[data-surface=jobOffer] .card-eyebrow::before{content:"▱";background:var(--warm)}.feed[data-surface=deploymentAcceptance] .card-eyebrow::before{content:"→";background:var(--green)}.feed[data-surface=applicantJourney] .card-eyebrow::before{content:"○";background:var(--lavender)}.feed[data-surface=settings] .card-eyebrow::before{content:"⌂"}

.feed[data-surface=recruitment],.feed[data-surface=preTrainingRequirements],.feed[data-surface=preEmploymentTraining],.feed[data-surface=jobOffer],.feed[data-surface=preHireRequirements],.feed[data-surface=employees],.feed[data-surface=myTeam],.feed[data-surface=deploymentAcceptance],.feed[data-surface=assignedInterviews],.feed[data-surface=hiringDecisions]{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.feed[data-surface=recruitment]>.feed-card,.feed[data-surface=preEmploymentTraining]>.feed-card,.feed[data-surface=employees]>.feed-card,.feed[data-surface=deploymentAcceptance]>.feed-card{min-height:168px}
.feed[data-surface=applicantJourney]{position:relative;padding-left:20px}.feed[data-surface=applicantJourney]::before{content:"";position:absolute;left:6px;top:18px;bottom:18px;width:3px;border-radius:999px;background:linear-gradient(var(--brand-blue),var(--lavender),var(--green))}.feed[data-surface=applicantJourney]>.feed-card{overflow:visible}.feed[data-surface=applicantJourney]>.feed-card::after{content:"";position:absolute;left:-21px;top:25px;width:11px;height:11px;border:3px solid var(--surface);border-radius:50%;background:var(--brand-blue);box-shadow:0 0 0 1px var(--brand-blue-line)}
.feed[data-surface=myDay]{padding-left:0;border-left:0}

.calendar-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:2px;padding:12px 14px;border:1px solid var(--brand-blue-line);border-radius:var(--radius-md);background:var(--brand-blue-soft)}.calendar-controls>.segmented-choice{width:min(340px,100%)}.calendar-controls label{display:flex;align-items:center;gap:8px;color:var(--text-soft);font-size:.8rem;font-weight:800}.calendar-controls select{min-height:38px;padding:7px 28px 7px 10px;border:1px solid var(--brand-blue-line);border-radius:9px;background:var(--surface-raised);color:var(--ink)}
.feed[data-surface=calendar]{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.feed[data-surface=calendar]>*{grid-column:1/-1}
.calendar-navigation{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px}.calendar-navigation h2{margin:0;text-align:center;font-size:1.15rem}
.calendar-month,.calendar-week-grid,.calendar-agenda{border:1px solid var(--brand-blue-line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);overflow:hidden}
.calendar-weekdays,.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.73rem;font-weight:850;text-align:center}.calendar-weekdays span{padding:9px 4px}
.calendar-day{min-width:0;min-height:112px;padding:7px;border-top:1px solid var(--line);border-right:1px solid var(--line);background:var(--surface)}.calendar-day:nth-child(7n){border-right:0}.calendar-day.is-outside{background:var(--surface-muted);color:var(--muted)}.calendar-day.is-today{box-shadow:inset 0 0 0 2px var(--brand-blue)}.calendar-day-number{display:grid;place-items:center;width:25px;height:25px;margin-bottom:5px;border-radius:50%;font-size:.77rem;font-weight:850}.calendar-day.is-today .calendar-day-number{background:var(--brand-blue);color:var(--on-brand)}
.calendar-event{display:grid;gap:2px;margin-top:7px;padding:9px 10px;border:1px solid var(--brand-blue-line);border-radius:10px;background:var(--brand-blue-soft);color:var(--ink)}.calendar-event strong{font-size:.82rem;line-height:1.25}.calendar-event span{color:var(--muted);font-size:.71rem}.calendar-event[data-calendar-module=training]{border-color:var(--lavender-line);background:var(--lavender-soft)}.calendar-event[data-calendar-module=deployment]{border-color:var(--mint-line);background:var(--green-soft)}.calendar-event[data-calendar-module=other]{border-color:var(--warm-line);background:var(--warm-soft)}.calendar-event-compact{margin-top:4px;padding:5px 6px}.calendar-event-compact strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.69rem}.calendar-event-compact span{font-size:.62rem}.calendar-more{display:block;margin-top:4px;color:var(--muted);font-size:.67rem;font-weight:750}
.calendar-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}.calendar-week-day{min-width:0;min-height:250px;padding:12px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none}.calendar-week-day:last-child{border-right:0}.calendar-week-day.is-today{background:var(--brand-blue-soft)}.calendar-week-day h3{margin:0 0 10px;font-size:.82rem}.calendar-agenda{display:grid;gap:0}.calendar-agenda-day{padding:16px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.calendar-agenda-day:last-child{border-bottom:0}.calendar-agenda-day h3{margin:0 0 8px;font-size:.95rem}

.directory-controls{grid-column:1/-1;display:grid;grid-template-columns:minmax(230px,2fr) repeat(4,minmax(130px,1fr));gap:10px;padding:14px}.directory-controls label{display:grid;gap:5px;color:var(--text-soft);font-size:.74rem;font-weight:850}.directory-controls input,.directory-controls select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--brand-blue-line);border-radius:10px;background:var(--surface-raised);color:var(--ink)}.directory-result-count{grid-column:1/-1;margin:0;color:var(--muted);font-size:.8rem}.directory-results{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.directory-card{min-height:170px}.team-context{grid-column:1/-1;display:flex;align-items:flex-start;gap:14px;padding:17px 19px;border-color:var(--mint-line);background:linear-gradient(105deg,var(--green-soft),var(--surface) 48%)}.team-context h2,.team-context p{margin:.15rem 0}.team-context p:last-child{color:var(--muted)}.team-results{grid-column:1/-1}

.my-day-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.my-day-section{padding:17px 19px}.my-day-section>header{display:flex;align-items:flex-start;gap:12px}.my-day-section h2,.my-day-section p{margin:.1rem 0}.my-day-section header p{color:var(--muted);font-size:.8rem}.my-day-upcoming{border-color:var(--brand-blue-line);background:linear-gradient(145deg,var(--brand-blue-soft),var(--surface) 62%)}.my-day-needsAction{border-color:var(--warm-line);background:linear-gradient(145deg,var(--warm-soft),var(--surface) 62%)}.my-day-completed{border-color:var(--mint-line);background:linear-gradient(145deg,var(--green-soft),var(--surface) 62%)}.my-day-importantUpdates{border-color:var(--lavender-line);background:linear-gradient(145deg,var(--lavender-soft),var(--surface) 62%)}.my-day-list{display:grid;gap:7px;margin-top:12px}.my-day-entry{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent)}.my-day-entry time{color:var(--brand-blue-strong);font-size:.75rem;font-weight:850}.my-day-entry p{color:var(--muted);font-size:.76rem}.section-empty{margin:10px 0;color:var(--muted);font-size:.8rem}

.settings-tile:nth-child(4n+1),.configuration-card:nth-child(4n+1){border-color:var(--brand-blue-line);background:linear-gradient(145deg,var(--brand-blue-soft),var(--surface) 52%)}
.settings-tile:nth-child(4n+2),.configuration-card:nth-child(4n+2){border-color:var(--mint-line);background:linear-gradient(145deg,var(--green-soft),var(--surface) 52%)}
.settings-tile:nth-child(4n+3),.configuration-card:nth-child(4n+3){border-color:var(--warm-line);background:linear-gradient(145deg,var(--warm-soft),var(--surface) 52%)}
.settings-tile:nth-child(4n+4),.configuration-card:nth-child(4n+4){border-color:var(--lavender-line);background:linear-gradient(145deg,var(--lavender-soft),var(--surface) 52%)}
.settings-tile:nth-child(4n+1) .settings-icon{background:var(--brand-blue);color:var(--on-brand)}.settings-tile:nth-child(4n+2) .settings-icon{background:var(--green);color:#fff}.settings-tile:nth-child(4n+3) .settings-icon{background:var(--warm);color:#fff}.settings-tile:nth-child(4n+4) .settings-icon{background:var(--lavender);color:#fff}
.settings-tile[data-status=GOOD_TO_GO] .status-pill,.configuration-card[data-readiness=GOOD_TO_GO] .status-pill{background:var(--green-soft);color:var(--green-dark)}
.configuration-card[data-readiness=NEEDS_REVIEW] .status-pill{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.configuration-card[data-readiness=ACTION_BLOCKED] .status-pill{background:var(--review-red-bg);color:var(--review-red-text)}
.configuration-card[data-availability=SPECIFIC_BLOCKER] .configuration-blocker{background:var(--review-red-bg);color:var(--review-red-text)}
#reviewNavigation{gap:2px}
.configuration-overview{border-color:var(--brand-blue-line);background:linear-gradient(120deg,var(--brand-blue-soft),var(--surface) 58%,var(--lavender-soft))}
.metric:nth-child(1){background:var(--brand-blue-soft)}.metric:nth-child(2){background:var(--green-soft)}.metric:nth-child(3){background:var(--lavender-soft)}.metric:nth-child(4){background:var(--warm-soft)}.metric strong{color:var(--brand-navy)}

.schedule-step{border-top-color:var(--brand-blue)}.schedule-step::after{background:color-mix(in srgb,var(--brand-blue-soft) 72%,transparent)}.step-label{color:var(--brand-blue-strong)!important}.preset-button.is-selected{border-color:var(--brand-blue);background:var(--brand-blue-soft);box-shadow:inset 0 0 0 1px var(--brand-blue)}.working-days input,.switch-field input{accent-color:var(--brand-blue)}.calendar-country{background:linear-gradient(120deg,var(--brand-blue-soft),var(--lavender-soft))}.time-step,.schedule-more summary{color:var(--brand-blue-strong)}.segmented-choice button[aria-pressed=true]{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}.schedule-preview{border-color:var(--brand-blue-line);background:linear-gradient(120deg,var(--brand-blue-soft),var(--surface) 54%,var(--green-soft))}.preview-total strong{color:var(--brand-navy)}.schedule-flow li:not(:last-child)::after{color:var(--brand-blue)}.activation-step{border-top-color:var(--warm)}
.schedule-overview{border-color:var(--brand-blue-line);background:linear-gradient(120deg,var(--surface),var(--brand-blue-soft))}.schedule-default-note{border:1px solid var(--mint-line)}
.request-review{margin-top:18px;padding:16px;border:1px solid var(--lavender-line);border-radius:var(--radius-md);background:var(--lavender-soft)}.request-review h3{margin:0}.request-review .detail-meta{background:color-mix(in srgb,var(--surface) 72%,var(--lavender-soft))}

.action-dialog{border:1px solid var(--brand-blue-line);box-shadow:0 24px 80px rgba(4,22,51,.32)}.action-dialog::backdrop{background:rgba(5,24,53,.56)}.dialog-close{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.stack input,.stack select,.stack textarea,.company-picker select,.processing-mode-field select,.time-control-row input,.time-control-row select,.capacity-control-row input,.date-entry input{border-color:var(--brand-blue-line)}
table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;background:var(--surface)}th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}th{background:var(--brand-blue-soft);color:var(--brand-navy);font-size:.74rem;letter-spacing:.04em;text-transform:uppercase}tr:last-child td{border-bottom:0}

:root[data-theme=dark] .brand-mark{background:linear-gradient(145deg,#f7fbff,#dcecff);color:#0d2f67}:root[data-theme=dark] .primary-button{color:#07182e}:root[data-theme=dark] .feed-card[data-visual-tone],:root[data-theme=dark] .request-detail[data-visual-tone]{background:linear-gradient(105deg,color-mix(in srgb,var(--surface-muted) 72%,var(--surface)),var(--surface) 42%)}
.status[data-kind=loading]{position:relative;overflow:hidden}.status[data-kind=loading]::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);animation:loading-sheen 1.3s infinite}
@keyframes loading-sheen{to{transform:translateX(100%)}}
@keyframes panel-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .main-content{padding:22px 22px 60px}
  .schedule-stage-grid,.position-schedule-grid{grid-template-columns:1fr}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .directory-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-controls label:first-child{grid-column:1/-1}
  .calendar-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-week-day{border-bottom:1px solid var(--line)}
}

@media(max-width:650px){
  .main-content{padding:16px 12px 48px}
  .primary-button,.quiet-button,.icon-button,.nav-item,.nav-button{min-height:44px}
  .status-row{align-items:stretch;flex-direction:column}
  .status{margin-bottom:8px}
  .page-header{display:grid;padding:20px}
  .page-header-actions{justify-content:flex-start}
  .page-header .quiet-button{justify-self:start}
  .feed-card{padding:18px}
  .feed-card-header,.feed-action{display:grid}
  .request-detail-header,.detail-actions{display:grid}
  .detail-actions .primary-button,.detail-actions .quiet-button{width:100%}
  .urgency-badge{justify-self:start}
  .feed-action .primary-button{width:100%}
  .deadline{align-items:flex-start;flex-direction:column;gap:2px}
  .schedule-overview,.preset-options,.extra-time-card{grid-template-columns:1fr}
  .time-control-row{grid-template-columns:38px minmax(56px,1fr) 38px}.time-control-row select{grid-column:1/-1}
  .calendar-country,.calendar-row,.additional-dates>div:first-child{align-items:flex-start;flex-direction:column}.date-entry{align-items:stretch;flex-direction:column}.date-entry .primary-button{width:100%}
  .preview-details dl,.activation-summary{grid-template-columns:1fr}.preview-details dd,.activation-summary dd{margin-bottom:5px}
  .calendar-controls{align-items:stretch;flex-direction:column}.calendar-controls>.segmented-choice{width:100%}.calendar-controls label{align-items:stretch;flex-direction:column}.calendar-controls button,.calendar-controls select{min-height:44px}.calendar-controls select{width:100%}
  .calendar-navigation{grid-template-columns:1fr 1fr 1fr}.calendar-navigation h2{grid-column:1/-1;grid-row:1}.calendar-navigation .quiet-button{width:100%;padding-inline:7px}.calendar-day{min-height:82px;padding:4px}.calendar-day-number{width:22px;height:22px}.calendar-event-compact{width:100%;height:7px;padding:0;border:0;border-radius:999px}.calendar-event-compact strong,.calendar-event-compact span{display:none}.calendar-week-grid{grid-template-columns:1fr}.calendar-week-day{min-height:0;border-right:0}.calendar-weekdays span{font-size:.63rem}.directory-controls{grid-template-columns:1fr}.directory-controls label:first-child{grid-column:auto}.directory-results,.my-day-grid{grid-template-columns:1fr}.my-day-entry{grid-template-columns:64px minmax(0,1fr)}
  .feed[data-surface=recruitment],.feed[data-surface=preTrainingRequirements],.feed[data-surface=preEmploymentTraining],.feed[data-surface=jobOffer],.feed[data-surface=preHireRequirements],.feed[data-surface=employees],.feed[data-surface=myTeam],.feed[data-surface=deploymentAcceptance],.feed[data-surface=assignedInterviews],.feed[data-surface=hiringDecisions],.feed[data-surface=calendar]{grid-template-columns:1fr}
  .task-conversation-dialog{width:calc(100vw - 12px);max-height:calc(100vh - 12px)}.task-conversation-shell{padding:18px 14px}.task-conversation-header{padding-right:32px}.task-conversation-comments{max-height:38vh}.task-conversation-task-actions,.task-follow-up-controls{align-items:stretch;flex-direction:column}.task-conversation-task-actions .native-call-link,.task-follow-up-approve-form,.task-follow-up-approve-form .primary-button,.task-comment-edit-form .primary-button,.task-comment-edit-form .quiet-button{width:100%}.task-comment-replies{padding-left:9px}.task-comment-actions{gap:8px}.task-comment-actions .native-call-link{width:100%}.task-conversation-form .dialog-actions{align-items:stretch;flex-direction:column}.task-conversation-form .dialog-actions button{width:100%}
  .signed-out .topbar-actions{display:none}
  .signed-out .main-content{min-height:calc(100vh - var(--topbar-h));padding:16px}
  .settings-grid,.organization-cards,.configuration-grid{grid-template-columns:1fr}.configuration-overview,.section-heading{align-items:flex-start;flex-direction:column}.configuration-card dl,.configuration-change-review dl{grid-template-columns:1fr}.configuration-card dd,.configuration-change-review dd{margin-bottom:6px}.metric-grid{grid-template-columns:1fr 1fr}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.feed-card:hover{transform:none}}

/* ---------------------------------------------------------------- Company Setup (Launch 1): Smart Review colors,
   iPhone-style grouped lists and sheets. Only existing Smart Review tokens are used, so Light/Dark follow as-is. */
.cs-host{display:block;margin-bottom:22px}
.cs-screen{display:grid;gap:18px}
.cs-start{padding:20px 22px;background:linear-gradient(120deg,var(--brand-blue-soft),var(--surface) 60%);animation:cs-rise .35s ease both}
.cs-start-head{display:flex;gap:16px;align-items:center}.cs-start-head h2{margin:2px 0 4px}.cs-start-head p:last-child{margin:0;color:var(--muted)}
.cs-ring{--cs-progress:0;flex:0 0 auto;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:conic-gradient(var(--green) calc(var(--cs-progress)*1%),var(--line) 0);transition:background .4s ease}
.cs-ring span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--surface);font-weight:850;font-size:.85rem}
.cs-steps{display:grid;gap:8px;margin:16px 0 0;padding:0;list-style:none;counter-reset:cs}
.cs-steps li{display:grid;gap:2px;padding:10px 12px 10px 44px;border-radius:12px;background:var(--surface);position:relative;counter-increment:cs}
.cs-steps li::before{content:counter(cs);position:absolute;left:12px;top:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.75rem;font-weight:900}
.cs-steps span{color:var(--muted);font-size:.86rem}
.cs-toolbar{display:flex;justify-content:flex-end}
.cs-segmented{display:inline-grid;grid-auto-flow:column;gap:2px;padding:3px;border-radius:11px;background:var(--surface-muted);border:1px solid var(--line)}
.cs-segmented button{min-width:78px;min-height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:800;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.cs-segmented button.is-on{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px rgba(13,47,103,.12)}
/* One column per level, each growing downward. Since 2026-09-29 the levels sit in two tabs (Company & Branches |
   Departments & Positions): the column counts per tab are set in the "Company Setup tabs" section at the end. */
.cs-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.cs-grid .cs-group-head{min-height:40px;padding:0 2px 8px 4px}
.cs-grid .cs-group-head h2{min-width:0;font-size:.74rem;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-grid .cs-add{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0;font-size:1.25rem;line-height:1}
.cs-grid .cs-empty{padding:14px;font-size:.9rem}
.cs-grid .cs-row{min-height:54px;padding:10px 12px}
@media(max-width:1280px){.cs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cs-group{animation:cs-rise .35s ease both}
.cs-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 8px}
.cs-group-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:.82rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.cs-icon{font-size:1rem;filter:saturate(.9)}
.cs-count{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.72rem;letter-spacing:0}
.cs-add{min-height:34px;padding:6px 12px;border:0;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:850;cursor:pointer;transition:transform .12s ease}
.cs-add:active,.cs-row:active{transform:scale(.98)}
.cs-list{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}
.cs-list li+li{border-top:1px solid var(--line)}
.cs-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:11px 14px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;transition:background .15s ease,transform .12s ease}
.cs-row:hover{background:var(--surface-muted)}.cs-row:disabled{cursor:default;opacity:.7}
.cs-row-main{display:grid;gap:2px;flex:1;min-width:0}.cs-row-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-row-main span{color:var(--muted);font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-row-value{color:var(--muted);font-size:.9rem}
.cs-chevron{color:var(--muted);font-size:1.3rem;line-height:1}
.cs-retired{background:var(--surface-muted);color:var(--muted)}
.cs-attention{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.cs-empty{margin:0;padding:16px;border:1px dashed var(--brand-blue-line);border-radius:16px;color:var(--muted);background:var(--surface)}
/* Sheet: bottom sheet on phones, centered card on larger screens. */
.cs-sheet{width:min(560px,100vw);max-height:min(88vh,860px);padding:0;border:0;border-radius:22px;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(8,23,44,.35);opacity:0;transform:translateY(16px) scale(.98);transition:opacity .22s ease,transform .26s cubic-bezier(.2,.8,.2,1)}
.cs-sheet.cs-sheet-open{opacity:1;transform:none}
.cs-sheet::backdrop{background:rgba(8,23,44,.42);backdrop-filter:blur(3px)}
.cs-sheet-form{display:flex;flex-direction:column;max-height:inherit}
.cs-sheet-head{position:sticky;top:0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(12px)}
.cs-sheet-head strong{text-align:center;font-size:1.02rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-sheet-close{min-height:36px;border:0;background:transparent;color:var(--brand-blue-strong);font-weight:750;cursor:pointer}
.cs-sheet-spacer{width:56px}
.cs-sheet-sub{margin:12px 18px 0;color:var(--muted);font-size:.9rem}
.cs-sheet-body{display:grid;gap:14px;padding:16px 18px;overflow:auto}
.cs-sheet-body label{display:grid;gap:6px;font-weight:750;font-size:.9rem}
.cs-sheet-body input,.cs-sheet-body select{min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500}
.cs-sheet-body input:focus,.cs-sheet-body select:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.cs-check{display:flex!important;grid-template-columns:none;align-items:center;gap:10px!important}.cs-check input{width:22px;min-height:22px}
.cs-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cs-preview,.cs-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--green-soft);color:var(--green-dark);font-weight:750;font-size:.88rem}
.cs-address{display:grid;gap:12px;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px}
.cs-address legend{padding:0 6px;color:var(--muted);font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.cs-suggestions{display:grid;margin-top:-6px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.cs-suggestion{display:grid;gap:1px;padding:9px 12px;border:0;border-top:1px solid var(--line);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.cs-suggestion:first-child{border-top:0}.cs-suggestion:hover{background:var(--brand-blue-soft)}
.cs-suggestion span{color:var(--muted);font-size:.8rem}
.cs-picked{margin:-4px 0 0;color:var(--green-dark);font-size:.84rem;font-weight:750}.cs-picked:empty{display:none}
.cs-sheet-error{margin:0 18px;padding:10px 12px;border:1px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text);font-weight:750}
.cs-transfer{margin:8px 18px 0}
.cs-sheet-actions{display:grid;gap:10px;padding:14px 18px 18px;border-top:1px solid var(--line)}
.cs-sheet-primary{min-height:48px;font-size:1rem}
.cs-danger{min-height:44px;border:0;border-radius:10px;background:var(--danger-soft);color:var(--danger);font-weight:800;cursor:pointer}
@keyframes cs-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:720px){
  .cs-grid{grid-template-columns:1fr}
  .cs-toolbar{justify-content:stretch}.cs-segmented{width:100%}.cs-segmented button{min-width:0}
  .cs-sheet{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:22px 22px 0 0;transform:translateY(40px)}
  .cs-sheet.cs-sheet-open{transform:none}
  .cs-row2{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.cs-start,.cs-group,.cs-sheet{animation:none;transition:none}}
/* A blinking text caret belongs only where people type (Coi saw carets on cards). */
.card,.cs-screen,.feed{caret-color:transparent}
input,textarea,select,[contenteditable]{caret-color:auto}

/* ---------------------------------------------------------------- Guided first-run setup (app hidden until done) */
body.setup-mode .sidebar,body.setup-mode .menu-button,body.setup-mode .notification-button,body.setup-mode .sidebar-backdrop,body.setup-mode .tab-bar{display:none!important}
body.setup-mode .app-shell{display:block}
body.setup-mode .main-content{max-width:720px;margin:0 auto;padding:18px 16px 40px}
.fr-shell{display:grid;gap:18px;animation:cs-rise .35s ease both}
.fr-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fr-brand{display:flex;align-items:center;gap:10px}.fr-brand span:last-child{display:grid}.fr-brand small{color:var(--muted)}
.fr-signout{border:0;background:transparent;color:var(--brand-blue-strong);font-weight:750;cursor:pointer;min-height:40px}
.fr-dots{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none}
.fr-dots li{display:grid;justify-items:center;gap:4px;color:var(--muted);font-size:.74rem;font-weight:750;position:relative}
.fr-dots li:not(:last-child)::after{content:"";position:absolute;top:15px;left:calc(50% + 18px);right:calc(-50% + 18px);height:2px;background:var(--line)}
.fr-dots li.is-done:not(:last-child)::after{background:var(--green)}
.fr-dot{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface-muted);border:2px solid var(--line);font-weight:850;transition:background .25s ease,border-color .25s ease}
.fr-dots li.is-on{color:var(--ink)}.fr-dots li.is-on .fr-dot{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand);box-shadow:0 0 0 5px var(--focus)}
.fr-dots li.is-done .fr-dot{background:var(--green-soft);border-color:var(--green);color:var(--green-dark)}
.fr-card{display:grid;gap:14px;padding:24px 22px}
.fr-card h1{margin:0;font-size:clamp(1.5rem,4vw,2rem)}
.fr-lead{margin:0;color:var(--text-soft)}
.fr-body{display:grid;gap:14px}
.fr-body label{display:grid;gap:6px;font-weight:750;font-size:.92rem}
.fr-body input,.fr-body select{min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500}
.fr-body input:focus,.fr-body select:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.fr-label{margin:0 0 6px;font-weight:750;font-size:.92rem}
.fr-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.fr-chips li{padding:7px 12px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-weight:750}
.fr-list{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.fr-list li{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;background:var(--surface)}.fr-list li+li{border-top:1px solid var(--line)}.fr-list span{color:var(--muted);font-size:.86rem}
.fr-form{display:grid;gap:12px;padding:14px;border:1px dashed var(--brand-blue-line);border-radius:14px}
.fr-add{justify-self:start}
.fr-industries{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.fr-industry{display:grid;justify-items:center;gap:8px;padding:18px 10px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);cursor:pointer;font:inherit;transition:transform .12s ease,border-color .15s ease,box-shadow .15s ease}
.fr-industry:hover{border-color:var(--brand-blue);box-shadow:var(--shadow-hover)}.fr-industry:active{transform:scale(.97)}
.fr-industry-icon{font-size:1.8rem}
.fr-link{justify-self:start;border:0;background:transparent;color:var(--brand-blue-strong);font-weight:750;cursor:pointer;padding:0}
.fr-depts{display:grid;gap:12px}
.fr-dept{margin:0;padding:10px 14px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.fr-dept legend{padding:0 6px;font-weight:850}
.fr-dept ul{display:grid;gap:4px;margin:6px 0 0;padding:0;list-style:none}
.fr-dept li{padding-left:calc(var(--fr-depth,0)*22px)}
.fr-dept li label,.fr-dept legend label{font-weight:650}
.fr-count{margin:0;color:var(--green-dark);font-weight:800}
.fr-options{display:grid;gap:10px}
.fr-option{display:grid;gap:4px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.fr-option span{color:var(--muted);font-size:.88rem}
.fr-option.is-soon{opacity:.75}
.fr-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.fr-summary div{display:grid;justify-items:center;padding:14px 6px;border-radius:14px;background:var(--green-soft)}
.fr-summary strong{font-size:1.6rem;color:var(--green-dark)}.fr-summary span{color:var(--green-dark);font-size:.8rem;font-weight:750}
.fr-error{margin:0;padding:10px 12px;border:1px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text);font-weight:750}
.fr-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:6px}
.fr-primary{min-width:170px;min-height:50px;font-size:1rem}
.fr-saved{margin:0;text-align:center;color:var(--muted);font-size:.84rem}
@media(max-width:600px){.fr-summary{grid-template-columns:repeat(2,1fr)}.fr-dots small{display:none}.fr-primary{flex:1}}
.fr-add-position{display:grid;grid-template-columns:1fr minmax(0,.9fr) auto;gap:8px;margin:8px 0 4px}
.fr-add-position input,.fr-add-position select{min-height:42px!important;font-size:.9rem}
.fr-add-department{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}
@media(max-width:600px){.fr-add-position{grid-template-columns:1fr auto}.fr-add-position select{grid-column:1/-1;grid-row:2}}
.cs-structure-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.cs-structure-head h2{margin:0;padding-left:6px;font-size:.82rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.cs-structure-head .cs-segmented button{min-width:70px;min-height:32px}
@media(max-width:720px){.cs-structure-head{flex-wrap:wrap}.cs-structure-head .cs-segmented{width:100%}}
/* "More settings" open in a large sheet over Company Setup. */
.cs-sheet-wide{width:min(1100px,96vw);max-height:92vh}
.cs-settings-body{display:grid;gap:14px;background:var(--page)}
.cs-settings-body .configuration-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
@media(max-width:720px){.cs-sheet-wide{width:100vw;max-height:94vh}}

/* ---------------------------------------------------------------- Responsive app shell (Owner decision 2026-09-28)
 * Laptop > 1100px: full sticky sidebar. Tablet 701–1100px: slim icon rail that expands over the page.
 * Phone ≤ 700px: frosted bottom tab bar + Menu / Me sheets. Same Smart Review tokens and motion everywhere. */
.rail-profile{display:none}
.tab-bar{display:none}
.tab-bar[hidden],.rail-tooltip[hidden]{display:none!important}
.rail-toggle{border:0;background:transparent;color:var(--brand-blue-strong);cursor:pointer}
.rail-toggle-icon{position:relative;display:block;width:20px;height:14px}
.rail-toggle-icon::before,.rail-toggle-icon::after,.rail-toggle-icon>span{content:"";position:absolute;left:0;width:100%;height:2px;border-radius:2px;background:currentColor;transition:transform .24s var(--ease-ios),opacity .18s ease}
.rail-toggle-icon::before{top:0}.rail-toggle-icon>span{top:6px}.rail-toggle-icon::after{top:12px}
.sidebar-open .rail-toggle-icon::before{transform:translateY(6px) rotate(45deg)}
.sidebar-open .rail-toggle-icon>span{opacity:0}
.sidebar-open .rail-toggle-icon::after{transform:translateY(-6px) rotate(-45deg)}
.rail-tooltip{position:fixed;z-index:60;max-width:240px;padding:7px 11px;border-radius:10px;background:var(--ink);color:var(--surface);font-size:.78rem;font-weight:780;line-height:1.25;box-shadow:var(--shadow);pointer-events:none;transform:translateY(-50%);animation:rail-tip-in .14s ease-out}
@keyframes rail-tip-in{from{opacity:0;transform:translate(-4px,-50%)}to{opacity:1;transform:translateY(-50%)}}

/* Shell sheets (Menu and Me): native modal dialogs, frosted, rounded, with grouped iOS-style rows. */
.shell-sheet{max-width:none;max-height:none;margin:auto;padding:0;border:0;overflow:visible;background:transparent;color:var(--text)}
.shell-sheet::backdrop{background:rgba(5,24,53,.42);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.shell-sheet-panel{position:relative;display:flex;flex-direction:column;width:min(440px,calc(100vw - 32px));max-height:min(86vh,720px);overflow:hidden;border:1px solid var(--brand-blue-line);border-radius:22px;background:var(--page);box-shadow:0 24px 60px rgba(5,24,53,.28)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.shell-sheet-panel{background:color-mix(in srgb,var(--page) 90%,transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}}
.shell-sheet[open] .shell-sheet-panel{animation:dialog-in .22s var(--ease-ios)}
.shell-sheet-head{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:56px;padding:10px 12px 6px}
.shell-sheet-head h2{grid-column:2;margin:0;font-size:1.05rem;letter-spacing:-.01em}
.shell-sheet-grabber{display:none}
.shell-sheet-done{grid-column:3;justify-self:end;min-width:44px;min-height:44px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:var(--brand-blue-strong);font-weight:850;cursor:pointer}
.shell-sheet-done:hover,.shell-sheet-done:focus-visible{background:var(--brand-blue-soft)}
.shell-sheet-body{display:grid;gap:18px;min-height:0;padding:6px 16px 20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
.shell-sheet-body::-webkit-scrollbar{display:none;width:0;height:0}
.sheet-section{display:grid;gap:7px}
.sheet-section-heading{margin:0;padding:0 6px;color:var(--muted);font-size:.7rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.sheet-group{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(22,73,132,.05)}
.sheet-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:52px;padding:8px 14px;border:0;background:transparent;color:var(--text);font-weight:700;text-align:left;cursor:pointer}
.sheet-row+.sheet-row::before{content:"";position:absolute;top:0;left:56px;right:0;height:1px;background:var(--line)}
.sheet-row:hover,.sheet-row:focus-visible{background:var(--brand-blue-soft);outline:none}
.sheet-row:focus-visible{box-shadow:inset 0 0 0 3px var(--focus)}
.sheet-row[aria-current=page]{background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:850;box-shadow:inset 3px 0 0 var(--brand-blue)}
.sheet-row-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.9rem}
.sheet-row[aria-current=page] .sheet-row-icon{background:var(--brand-blue);color:var(--on-brand)}
.sheet-row-label{flex:1;min-width:0;overflow-wrap:anywhere}
.sheet-row-chevron{flex:none;color:var(--muted);font-size:1.2rem}
.sheet-row-danger{color:var(--danger)}.sheet-row-danger .sheet-row-icon{background:var(--danger-soft);color:var(--danger)}
.profile-card{display:flex;align-items:center;gap:12px;padding:14px}
.profile-card .avatar{flex:none;width:52px;height:52px;font-size:1.05rem}
.profile-text{display:grid;flex:1;min-width:0}
.profile-text strong,.profile-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-text small{color:var(--muted);font-size:.8rem}
.appearance-choice{margin:0;padding:12px;border:1px solid var(--line)}
.appearance-choice legend{float:left;width:100%;margin:0 0 10px;padding:0 2px;color:var(--muted);font-size:.7rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.appearance-options{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.appearance-options label{position:relative;display:block;cursor:pointer}
.appearance-options input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.appearance-options label>span{display:grid;justify-items:center;gap:7px;min-height:44px;padding:11px 6px 10px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface-muted);color:var(--text-soft);font-size:.8rem;font-weight:750;text-align:center;transition:border-color .18s ease,background-color .18s ease,color .18s ease}
.appearance-options input:checked+span{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:880}
.appearance-options input:checked+span::after{content:"✓ Selected";font-size:.66rem;font-weight:850;letter-spacing:.02em}
.appearance-options input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.appearance-swatch{display:block;width:34px;height:24px;border:1px solid var(--brand-blue-line);border-radius:7px}
.appearance-light{background:linear-gradient(145deg,#fff 0,#e9f4ff 100%)}
.appearance-dark{background:linear-gradient(145deg,#102540 0,#08172c 100%)}
.appearance-device{background:linear-gradient(135deg,#fff 0,#e9f4ff 49%,#102540 51%,#08172c 100%)}

/* Tablet: slim icon rail; the rail's menu button expands the full list over the page. */
@media(min-width:701px) and (max-width:1100px){
  :root{--topbar-h:64px}
  .topbar{gap:12px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .theme-control{display:none}
  .app-shell{grid-template-columns:var(--rail-w) minmax(0,1fr)}
  .sidebar{padding:12px 10px 14px;gap:10px}
  .menu-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;border-radius:14px}
  .menu-button:hover,.menu-button:focus-visible{background:var(--brand-blue-soft);outline:none}
  body:not(.sidebar-open) .rail-toggle .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .sidebar-open .rail-toggle .nav-label{font-weight:850}
  body:not(.sidebar-open) .sidebar .navigation{gap:8px}
  body:not(.sidebar-open) .sidebar .nav-group{gap:4px}
  body:not(.sidebar-open) .sidebar .nav-group+.nav-group{padding-top:8px;border-top:1px solid var(--line)}
  body:not(.sidebar-open) .sidebar .nav-heading,body:not(.sidebar-open) .sidebar .nav-chevron{display:none}
  body:not(.sidebar-open) .sidebar .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  body:not(.sidebar-open) .sidebar .nav-group[data-group=myWorkspace]>.nav-toggle{display:none}
  body:not(.sidebar-open) .sidebar .nav-group[data-group=myWorkspace]>.nav-children[hidden]{display:grid}
  body:not(.sidebar-open) .sidebar .nav-group:not(.nav-group-direct):not([data-group=myWorkspace])>.nav-children{display:none}
  body:not(.sidebar-open) .sidebar .nav-toggle,body:not(.sidebar-open) .sidebar .nav-button{position:relative;display:grid;grid-template-columns:1fr;place-items:center;width:100%;min-height:48px;padding:0;border-radius:14px}
  body:not(.sidebar-open) .sidebar .nav-icon{width:auto;font-size:1.12rem}
  body:not(.sidebar-open) .sidebar .nav-group.has-current>.nav-toggle{background:var(--brand-blue-soft);color:var(--brand-blue-strong);box-shadow:inset 3px 0 0 var(--brand-blue)}
  body:not(.sidebar-open) .sidebar .nav-group.has-current>.nav-toggle .nav-icon{color:var(--brand-blue)}
  body:not(.sidebar-open) .sidebar .badge{position:absolute;top:3px;right:5px;min-width:18px;padding:0 5px;font-size:.62rem;line-height:16px}
  body:not(.sidebar-open) .sidebar .actor,body:not(.sidebar-open) .sidebar #signOut{display:none}
  body:not(.sidebar-open) .sidebar .sidebar-footer{justify-items:center;padding-top:10px}
  body:not(.sidebar-open) .sidebar .rail-profile{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
  .rail-profile:hover .avatar,.rail-profile:focus-visible .avatar{box-shadow:0 0 0 3px var(--focus)}
  .rail-profile:focus-visible{outline:none}
  .sidebar-open{overflow:hidden}
  .sidebar-open .sidebar{position:fixed;z-index:47;left:0;width:min(320px,86vw);padding:12px 12px 16px;box-shadow:14px 0 36px rgba(5,24,53,.22);animation:rail-expand .26s var(--ease-ios)}
  .sidebar-open .menu-button{justify-content:flex-start;padding:0 14px}
  .main-content{padding:22px 24px 60px}
}
@keyframes rail-expand{from{clip-path:inset(0 calc(100% - var(--rail-w)) 0 0)}to{clip-path:inset(0 0 0 0)}}

/* Phone: compact frosted top bar (logo mark + page title + notifications) and a frosted bottom tab bar. */
@media(max-width:700px){
  :root{--topbar-h:56px}
  .topbar{gap:10px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
  .brand-mark{width:36px;height:36px;border-radius:11px;flex:none}
  .brand small,.topbar-actor,.theme-control,.environment-badge{display:none}
  body:not(.signed-out):not(.setup-mode) .brand-text{display:none}
  body:not(.signed-out):not(.setup-mode) .topbar-title{display:block;flex:1}
  .topbar-actions{gap:8px}
  .app-shell{display:block;min-height:calc(100vh - var(--topbar-h))}
  .sidebar,.sidebar-backdrop{display:none!important}
  body:not(.signed-out):not(.setup-mode) .main-content{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 28px)}
  body:not(.signed-out):not(.setup-mode) .tab-bar{position:fixed;z-index:44;left:0;right:0;bottom:0;display:flex;align-items:stretch;justify-content:space-around;gap:2px;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding:6px max(6px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px,env(safe-area-inset-left));border-top:1px solid var(--brand-blue-line);background:var(--surface);box-shadow:0 -8px 24px rgba(22,73,132,.08)}
  .notification-panel{top:calc(var(--topbar-h) + env(safe-area-inset-top) + 6px);right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - var(--topbar-h) - var(--tabbar-h) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}
  .shell-sheet{width:100%;margin:auto 0 0}
  .shell-sheet-panel{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 10px);border-width:1px 0 0;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  .shell-sheet-tall .shell-sheet-panel{height:calc(100dvh - env(safe-area-inset-top) - 10px)}
  .shell-sheet[open] .shell-sheet-panel{animation:sheet-up .3s var(--ease-ios)}
  .shell-sheet-grabber{position:absolute;top:7px;left:50%;display:block;width:38px;height:5px;border-radius:3px;background:var(--line);transform:translateX(-50%)}
  .shell-sheet-head{padding-top:16px}
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(max-width:700px){body:not(.signed-out):not(.setup-mode) .tab-bar{background:color-mix(in srgb,var(--surface) 80%,transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}}
}
.tab-bar-item{position:relative;display:grid;flex:1 1 0;justify-items:center;align-content:center;gap:3px;min-width:0;min-height:48px;padding:2px 0;border:0;border-radius:14px;background:transparent;color:var(--muted);cursor:pointer}
.tab-bar-icon{display:grid;place-items:center;width:46px;height:28px;border-radius:999px;font-size:1.08rem;line-height:1;transition:background-color .2s ease,color .2s ease,transform .2s var(--ease-ios)}
.tab-bar-label{max-width:100%;overflow:hidden;font-size:.68rem;font-weight:750;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap}
.tab-bar-item[aria-current=page],.tab-bar-item.is-current{color:var(--brand-blue-strong)}
.tab-bar-item[aria-current=page] .tab-bar-icon,.tab-bar-item.is-current .tab-bar-icon{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.tab-bar-item[aria-current=page] .tab-bar-label,.tab-bar-item.is-current .tab-bar-label{font-weight:900}
.tab-bar-item:active .tab-bar-icon{transform:scale(.92)}
.tab-bar-item:focus-visible{outline:3px solid var(--focus);outline-offset:-2px}
.tab-bar-avatar{width:26px;height:26px;font-size:.62rem}
.tab-bar-item[aria-expanded=true] .tab-bar-avatar,.tab-bar-item[data-tab=me]:focus-visible .tab-bar-avatar{box-shadow:0 0 0 2px var(--brand-blue)}
.tab-bar-badge{position:absolute;top:0;left:calc(50% + 8px);min-width:18px;padding:0 5px;border:2px solid var(--surface);font-size:.6rem;line-height:14px}
@keyframes sheet-up{from{transform:translateY(100%)}to{transform:none}}

/* ===== Guided setup step 4 — Your people (template, instant check, duplicates) — Decisions Log 2026-09-28 ===== */
.fr-existing{margin:0;padding:12px 14px;border:1px solid var(--review-green-border);border-radius:14px;background:var(--review-green-bg);color:var(--review-green-text)}
.fr-existing span{font-weight:600}
.fr-phone-tip{display:none;margin:0;padding:10px 12px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.86rem;font-weight:700}
.fr-notice{margin:0;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:700}
.fr-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;list-style:none}
.fr-tile{display:grid;grid-template-rows:auto auto 1fr;gap:12px;padding:18px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow)}
.fr-tile-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:900}
.fr-tile-text{display:grid;gap:4px}.fr-tile-text span{color:var(--text-soft);font-size:.9rem}
.fr-tile-button{min-height:50px;font-size:1rem}
.fr-tile>:last-child{align-self:end}
.fr-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.fr-drop{position:relative;display:grid!important;justify-items:center;gap:4px!important;padding:18px 12px;border:2px dashed var(--brand-blue-line);border-radius:var(--radius-md);background:var(--surface-muted);color:var(--ink);text-align:center;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .12s ease}
.fr-drop:hover,.fr-drop.is-over{border-color:var(--brand-blue);background:var(--brand-blue-soft)}
.fr-drop:active{transform:scale(.99)}
.fr-drop:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.fr-drop span{color:var(--muted);font-size:.84rem;font-weight:600}
.fr-drop .fr-drop-icon{font-size:1.5rem;color:var(--brand-blue-strong)}
.fr-drop-narrow{display:none}
.fr-check{display:grid;gap:16px}
.fr-check-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fr-check-head>div{display:grid;min-width:0}.fr-check-head strong{overflow-wrap:anywhere}
.fr-check-kicker{margin:0;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.fr-file-button{position:relative;display:inline-flex!important;align-items:center;min-height:44px;cursor:pointer;font-size:.92rem}
.fr-tally{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fr-tally-item{display:grid;justify-items:center;gap:2px;padding:14px 8px;border:1px solid;border-radius:var(--radius-md);text-align:center}
.fr-tally-item strong{font-size:1.7rem;line-height:1.1}.fr-tally-item span{font-size:.8rem;font-weight:800}
.fr-tally-item.is-ready{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.fr-tally-item.is-fix{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.fr-tally-item.is-dup{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.fr-tally-item.is-zero{border-color:var(--line);background:var(--surface-muted);color:var(--muted)}
.fr-group{display:grid;gap:10px}
.fr-group h2{margin:0;font-size:1.02rem}
.fr-problems{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.fr-problems li{display:grid;gap:3px;padding:12px 14px;border:1px solid var(--review-red-border);border-left-width:4px;border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text)}
.fr-problems li span{font-size:.9rem;font-weight:600}
.fr-dup{display:grid;gap:12px;padding:14px;border:1px solid var(--review-yellow-border);border-left-width:4px;border-radius:var(--radius-md);background:var(--surface)}
.fr-dup.is-answered{border-color:var(--review-green-border)}
.fr-dup-place{margin:0;color:var(--muted);font-size:.8rem;font-weight:800}
.fr-dup-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.fr-person{display:grid;gap:2px;align-content:start;padding:12px;border-radius:12px;background:var(--surface-muted)}
.fr-person.is-onfile{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.fr-person-title{margin:0 0 4px;font-size:.72rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase;opacity:.8}
.fr-person span{font-size:.88rem;overflow-wrap:anywhere}
.fr-dup-actions{display:flex;flex-wrap:wrap;gap:10px}
.fr-answer{flex:1 1 180px;min-height:52px;font-size:1rem;border-radius:14px}
.fr-dup-answer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;color:var(--review-green-text);font-weight:800}
.fr-reason{display:grid;gap:6px;font-weight:750;font-size:.92rem}
.fr-reason textarea{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical}
.fr-reason textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.fr-positions{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.fr-positions li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;background:var(--surface)}
.fr-positions li+li{border-top:1px solid var(--line)}
.fr-positions li>span{display:grid;min-width:0}.fr-positions small{color:var(--muted);font-size:.78rem}
.fr-positions li>strong{flex:0 0 auto;color:var(--green-dark);font-size:.9rem;text-align:right}
.fr-positions li.is-empty>strong{color:var(--muted);font-weight:650}
.fr-empty-positions{border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.fr-empty-positions summary{min-height:44px;display:flex;align-items:center;padding:0 14px;color:var(--text-soft);font-weight:750;cursor:pointer}
.fr-empty-positions[open] summary{border-bottom:1px solid var(--line)}
.fr-empty-positions .fr-positions{border:0;border-radius:0 0 14px 14px}
.fr-check-ok,.fr-check-next{margin:0;padding:12px 14px;border-radius:12px;font-weight:750}
.fr-check-ok{background:var(--review-green-bg);color:var(--review-green-text)}
.fr-check-next{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.fr-success{display:grid;justify-items:center;gap:8px;padding:22px 16px;border-radius:var(--radius-lg);background:var(--review-green-bg);color:var(--review-green-text);text-align:center;animation:cs-rise .35s ease both}
.fr-success-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--green);color:#fff;font-size:1.6rem;font-weight:900}
.fr-success>strong{font-size:1.3rem}
.fr-success .fr-positions{width:100%;text-align:left}
.fr-more{justify-self:start;min-height:44px}
@media(max-width:700px){
  .fr-phone-tip{display:block}
  .fr-tiles{grid-template-columns:1fr}
  .fr-drop-wide{display:none}.fr-drop-narrow{display:block}
  .fr-tally-item strong{font-size:1.4rem}.fr-tally-item span{font-size:.72rem}
  .fr-check-head .fr-file-button{width:100%;justify-content:center}
  .fr-answer{flex-basis:100%}
}
/* ===== end Guided setup step 4 ===== */

/* ===== Admin Center, Admin access and Announcements (2026-09-29) — Decisions Log "Admin Center", "Admin Center access",
 * "Devices — shell". Reuses the Smart Review tokens, the iOS grouped rows (.sheet-group/.sheet-row) and the Company
 * Setup sheet (.cs-sheet). No menu scrollbars, no sideways scroll. ===== */

/* Megaphone icon (monochrome, follows the theme colour) for Announcements in the sidebar, rail, tab bar and sheets. */
:root{--icon-megaphone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.2v3.6a1 1 0 0 0 1 1h2.3L15 19.2V4.8L6.8 9.2H4.5a1 1 0 0 0-1 1z'/%3E%3Cpath d='M18.2 9.2a4 4 0 0 1 0 5.6'/%3E%3Cpath d='M7.4 14.9l1.1 4.4h2.2l-.9-3.6'/%3E%3C/svg%3E")}
.nav-button[data-view=announcements] .nav-icon,.tab-bar-item[data-tab=announcements] .tab-bar-icon,.sheet-row[data-view=announcements] .sheet-row-icon{font-size:0}
.nav-button[data-view=announcements] .nav-icon::before,.tab-bar-item[data-tab=announcements] .tab-bar-icon::before,.sheet-row[data-view=announcements] .sheet-row-icon::before,.ac-megaphone::before{content:"";display:inline-block;width:17px;height:17px;background:currentColor;-webkit-mask:var(--icon-megaphone) center/contain no-repeat;mask:var(--icon-megaphone) center/contain no-repeat;vertical-align:middle}
.tab-bar-item[data-tab=announcements] .tab-bar-icon::before{width:21px;height:21px}
@media(min-width:701px) and (max-width:1100px){body:not(.sidebar-open) .sidebar .nav-button[data-view=announcements] .nav-icon{font-size:0}body:not(.sidebar-open) .sidebar .nav-button[data-view=announcements] .nav-icon::before{width:20px;height:20px}}

/* Laptop sidebar profile: a real button that opens the Me sheet (Admin Center, Appearance, Sign out). */
.actor-button{width:100%;border:0;border-radius:14px;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:background-color .18s ease}
.actor-button:hover,.actor-button:focus-visible{background:var(--brand-blue-soft);outline:none}
.actor-button:focus-visible{box-shadow:inset 0 0 0 3px var(--focus)}
.actor-button .actor-text{flex:1}
.actor-chevron{flex:none;margin-left:auto;color:var(--muted);font-size:1.2rem}
/* While an Admin Center page is open, the profile entry that leads to it is marked (it is not in the sidebar list). */
.actor-button.is-current{background:var(--brand-blue-soft);box-shadow:inset 3px 0 0 var(--brand-blue)}
.rail-profile.is-current .avatar{box-shadow:0 0 0 3px var(--brand-blue)}
@media(min-width:1101px){
  #profileSheet{margin:auto auto 18px 18px}
  #profileSheet .shell-sheet-panel{width:min(380px,calc(100vw - 36px))}
}
/* The Me sheet can now be long (phone: every page that is not a tab). Rows keep their natural height and the sheet
 * body scrolls (without a scrollbar) instead of squeezing the rounded groups, which clip their content. */
#profileSheet .shell-sheet-body{align-content:start;grid-auto-rows:max-content}
.profile-sheet-extras{display:grid;gap:18px}
.profile-sheet-extras[hidden]{display:none}

/* Grouped rows used by Admin Center (iPhone Settings style). */
.ac-row .ac-row-text{display:grid;gap:1px}
.ac-row .ac-row-text small{color:var(--muted);font-size:.78rem;font-weight:600;overflow-wrap:anywhere}
.ac-row-value{flex:none;color:var(--muted);font-size:.85rem;font-weight:700}
.sheet-row[data-view=adminCenter] .sheet-row-icon{background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:#fff}
.ac-home{display:grid;gap:20px;max-width:760px}
.ac-section{gap:8px}
.ac-section .sheet-group{background:var(--surface)}
.ac-hero{display:flex;align-items:center;gap:14px;padding:16px 18px;border-color:var(--brand-blue-line);background:linear-gradient(120deg,var(--surface) 0,var(--brand-blue-soft) 100%)}
.ac-hero-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:#fff;font-size:1.4rem;box-shadow:0 8px 18px rgba(31,104,193,.22)}
.ac-hero strong{font-size:1.02rem}
.ac-hero p{margin:2px 0 0;color:var(--text-soft);font-size:.9rem}
.ac-back{display:inline-flex;align-items:center;min-height:36px;margin:0 0 4px -8px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--brand-blue-strong);font:inherit;font-weight:800;cursor:pointer}
.ac-back:hover,.ac-back:focus-visible{background:var(--brand-blue-soft);outline:none}

/* Admin access */
.ac-access{display:grid;gap:16px;max-width:760px}
.ac-access-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ac-access-head h2{margin:0;font-size:1.15rem}
.ac-access-head p{margin:3px 0 0;color:var(--muted);font-size:.9rem}
.ac-plus{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:50%;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:#fff;font-size:1.6rem;font-weight:500;line-height:1;cursor:pointer;box-shadow:0 8px 18px rgba(31,104,193,.25);transition:transform .16s var(--ease-ios)}
.ac-plus:active{transform:scale(.92)}
.ac-plus:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.ac-people{background:var(--surface)}
.ac-person{position:relative;display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px}
.ac-person+.ac-person::before{content:"";position:absolute;top:0;left:64px;right:0;height:1px;background:var(--line)}
.ac-avatar{flex:none;width:38px;height:38px;font-size:.82rem}
.ac-avatar-owner{background:var(--warm-soft);color:var(--warm-dark)}
.ac-person-text{display:grid;flex:1;min-width:0;gap:1px}
.ac-person-text strong{overflow-wrap:anywhere}
.ac-person-text span{color:var(--text-soft);font-size:.86rem;overflow-wrap:anywhere}
.ac-person-text small{color:var(--muted);font-size:.78rem}
.ac-person.is-lapsed .ac-avatar{background:var(--surface-muted);color:var(--muted)}
.ac-lapsed{color:var(--review-yellow-text)!important;font-weight:700}
.ac-remove{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.ac-remove>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--danger);color:var(--on-danger);font-size:1.2rem;font-weight:900;line-height:1}
.ac-remove:hover>span,.ac-remove:focus-visible>span{box-shadow:0 0 0 4px var(--danger-soft)}
.ac-remove:focus-visible{outline:none}
.ac-empty{margin:0;padding:12px 14px;border:1px dashed var(--brand-blue-line);border-radius:14px;background:var(--surface-muted);color:var(--text-soft);font-weight:650}
.ac-note{margin:0;color:var(--muted);font-size:.86rem}
.ac-history{border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.ac-history summary{display:flex;align-items:center;min-height:44px;padding:0 14px;color:var(--text-soft);font-weight:750;cursor:pointer}
.ac-history ul{display:grid;gap:8px;margin:0;padding:4px 14px 14px;list-style:none}
.ac-history li{display:grid;gap:2px}.ac-history li span{color:var(--muted);font-size:.84rem;overflow-wrap:anywhere}

/* Add / remove sheets */
.ac-sheet .cs-sheet-body{overflow-x:hidden;scrollbar-width:none}
.ac-sheet .cs-sheet-body::-webkit-scrollbar{display:none}
.ac-search input{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit}
.ac-search input:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ac-choices,.ac-cannot{display:grid;gap:6px}
.ac-cannot[hidden]{display:none}
.ac-choice{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}
.ac-choice:hover{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.ac-choice:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.ac-choice.is-selected{border-color:var(--brand-blue);background:var(--brand-blue-soft)}
.ac-check{display:grid;place-items:center;flex:none;width:26px;height:26px;border:1.5px solid var(--brand-blue-line);border-radius:50%;color:#fff;font-weight:900}
.ac-choice.is-selected .ac-check{border-color:var(--brand-blue);background:var(--brand-blue)}
.ac-cannot-row{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--review-yellow-bg)}
.ac-cannot-row .ac-avatar{background:var(--surface);color:var(--review-yellow-text)}
.ac-cannot-row small{color:var(--review-yellow-text)!important;font-weight:750}
.ac-reason{display:grid;gap:6px;font-weight:750;font-size:.9rem}
.ac-reason textarea{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical}
.ac-reason textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ac-danger{background:linear-gradient(135deg,var(--danger),#c7373c)!important;color:#fff!important;box-shadow:0 6px 14px rgba(230,83,87,.22)!important}
.cs-sheet-primary:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.ac-block{margin:0}
.ac-block .smart-review-label{font-size:1rem;letter-spacing:0}
.ac-block p{margin:4px 0 0}
.ac-block .ac-note{margin-top:10px;color:inherit;opacity:.85}
.ac-block-add{min-height:48px;font-size:1rem}

/* Announcements: friendly empty state */
.ac-announcements-empty{display:grid;justify-items:center;gap:8px;max-width:560px;margin:8px auto 0;padding:34px 22px;text-align:center}
.ac-announcements-empty h2{margin:4px 0 0;font-size:1.25rem}
.ac-announcements-empty p{margin:0;color:var(--muted)}
.ac-megaphone{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,var(--lavender-soft),var(--brand-blue-soft));color:var(--brand-blue-strong)}
.ac-megaphone::before{width:32px;height:32px}
@media(max-width:700px){.ac-access-head h2{font-size:1.05rem}.ac-hero{padding:14px}}
@media(prefers-reduced-motion:reduce){.ac-plus,.ac-choice{transition:none}}
/* ===== end Admin Center, Admin access and Announcements ===== */
/* ===== Guided setup steps 5–6 — Roles & access host, Go live, "being set up" — Decisions Log 2026-09-28 ===== */
/* Six step dots (any count): one column each. */
.fr-dots{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.fr-step-host{display:grid;gap:18px}
.gl-step{display:grid;gap:18px}
.gl-card{animation:cs-rise .35s ease both}
.gl-progress{display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid var(--brand-blue-line);border-radius:var(--radius-lg);background:linear-gradient(120deg,var(--brand-blue-soft),var(--surface) 70%)}
.gl-progress>div:last-child{display:grid;gap:2px;min-width:0}.gl-progress strong{font-size:1.05rem}.gl-progress span{color:var(--text-soft);font-size:.9rem}
.gl-groups{display:grid;gap:18px}
.gl-group{display:grid;gap:8px;animation:cs-rise .35s ease both}
.gl-group .cs-group-head{padding-bottom:0}
.gl-list{box-shadow:none}
.gl-item{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px}
.gl-item.is-open{padding:0}
.gl-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s ease,transform .12s var(--ease-ios)}
.gl-row:hover{background:var(--surface-muted)}.gl-row:active{transform:scale(.985)}
.gl-row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.gl-mark{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:.8rem;font-weight:900}
.gl-item.is-done .gl-mark{background:var(--green-soft);color:var(--green-dark);border:2px solid var(--green)}
.gl-item.is-open .gl-mark{border:2px dashed var(--review-yellow-border);background:var(--review-yellow-bg)}
.gl-text{display:grid;gap:2px;flex:1;min-width:0}.gl-text strong{font-weight:750;overflow-wrap:anywhere}
.gl-text small{color:var(--muted);font-size:.84rem}
.gl-item.is-done .gl-text strong{font-weight:650;color:var(--text-soft)}
.gl-fix{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:5px 6px 5px 12px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:850;font-size:.85rem}
.gl-fix .cs-chevron{color:inherit;font-size:1.1rem}
.gl-done summary{padding:6px;color:var(--muted);font-weight:750;font-size:.86rem;cursor:pointer;list-style-position:inside}
.gl-done[open] summary{margin-bottom:6px}
.gl-ready{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--review-green-border);border-radius:var(--radius-lg);background:var(--review-green-bg);color:var(--review-green-text);animation:cs-rise .35s ease both}
.gl-ready>div{display:grid;gap:2px}.gl-ready strong{font-size:1.1rem}.gl-ready span{font-weight:600}
.gl-ready-icon{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:1.3rem;font-weight:900;box-shadow:0 0 0 6px color-mix(in srgb,var(--green) 22%,transparent)}
.gl-waiting{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.gl-waiting .gl-ready-icon{background:var(--surface);color:inherit;box-shadow:0 0 0 6px var(--focus)}
.gl-confirm{display:grid;gap:8px;padding:16px;border:2px solid var(--brand-blue);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-hover);animation:dialog-in .22s var(--ease-ios)}
.gl-confirm strong{font-size:1.1rem}.gl-confirm span{color:var(--text-soft)}
.gl-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
.gl-confirm-actions button{min-height:48px;min-width:120px}
.primary-button.gl-go{background:linear-gradient(135deg,var(--green),var(--green-dark));box-shadow:0 6px 16px color-mix(in srgb,var(--green) 35%,transparent)}
.gl-loading{display:flex;justify-content:center;gap:8px;padding:18px 0}
.gl-loading span{width:10px;height:10px;border-radius:50%;background:var(--brand-blue);animation:gl-bounce 1s var(--ease-ios) infinite}
.gl-loading span:nth-child(2){animation-delay:.15s}.gl-loading span:nth-child(3){animation-delay:.3s}
@keyframes gl-bounce{0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}
/* The go-live moment: a short burst, then the next step. */
.gl-celebrate{position:relative;overflow:hidden;display:grid;justify-items:center;gap:8px;padding:34px 22px 28px;text-align:center;background:linear-gradient(160deg,var(--green-soft),var(--surface) 65%);animation:gl-pop .5s var(--ease-ios) both}
.gl-celebrate h1{margin:0;font-size:clamp(1.6rem,5vw,2.3rem)}
.gl-celebrate h1:focus{outline:none}
.gl-celebrate p{margin:0;max-width:34em;color:var(--text-soft)}
.gl-badge{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:var(--surface);font-size:2.6rem;box-shadow:0 0 0 8px color-mix(in srgb,var(--green) 25%,transparent),var(--shadow);animation:gl-pop .6s .1s var(--ease-ios) both}
.gl-confetti{position:absolute;inset:0;pointer-events:none}
.gl-confetti span{position:absolute;top:-12px;left:calc(var(--i)*5.5% + 2%);width:8px;height:14px;border-radius:2px;background:var(--brand-blue);opacity:0;animation:gl-fall 1.8s calc(var(--i)*60ms) ease-in both}
.gl-confetti span:nth-child(3n){background:var(--green)}.gl-confetti span:nth-child(3n+1){background:var(--gold)}.gl-confetti span:nth-child(4n){background:var(--lavender)}
@keyframes gl-fall{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(320px) rotate(540deg)}}
@keyframes gl-pop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
.gl-next{display:grid;gap:8px;padding:22px;animation:cs-rise .4s .35s ease both}
.gl-next h2{margin:0}.gl-next p{margin:0;color:var(--text-soft)}
.gl-soon{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.gl-soon-tag{padding:3px 9px;border-radius:999px;background:var(--warm-soft);color:var(--warm-dark);font-size:.74rem;font-weight:850;letter-spacing:.03em}
.gl-open{display:flex;justify-content:flex-end;animation:cs-rise .4s .5s ease both}
/* "Your company is being set up": the whole screen, nothing else (no top bar, no status line, no company data). */
body.setup-mode:has(.wait-screen) .topbar,body.setup-mode:has(.wait-screen) .status-row{display:none}
.wait-screen{display:grid;place-items:center;min-height:calc(100vh - 80px);min-height:calc(100dvh - 80px)}
.wait-card{display:grid;justify-items:center;gap:12px;width:min(460px,100%);padding:36px 24px 28px;text-align:center;animation:gl-pop .45s var(--ease-ios) both}
.wait-card h1{margin:0;font-size:clamp(1.4rem,5vw,1.9rem)}.wait-card h1:focus{outline:none}
.wait-card p{margin:0;color:var(--text-soft)}
.wait-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:linear-gradient(145deg,var(--brand-blue-soft),var(--surface));border:1px solid var(--brand-blue-line);color:var(--brand-blue-strong);font-size:2.3rem;box-shadow:var(--shadow)}
.wait-gear{display:block;line-height:1;animation:gl-spin 6s linear infinite}
@keyframes gl-spin{to{transform:rotate(360deg)}}
.wait-actions{display:grid;gap:10px;width:100%;margin-top:8px}
.wait-actions button{min-height:50px;width:100%}
@media(max-width:600px){
  .gl-progress{padding:12px}
  .gl-confirm-actions{flex-direction:column-reverse}.gl-confirm-actions button{width:100%}
  .gl-open .fr-primary{flex:1}
  .gl-fix>span:first-child{display:none}.gl-fix{padding:5px 8px}
}
@media(prefers-reduced-motion:reduce){.gl-card,.gl-group,.gl-ready,.gl-confirm,.gl-celebrate,.gl-badge,.gl-next,.gl-open,.wait-card{animation:none}.gl-confetti{display:none}.gl-loading span,.wait-gear{animation:none}}
/* ===== end Guided setup steps 5–6 ===== */
/* ===== Offline safety — "No internet" bar, "Last updated …", device drafts (Launch 1 item 7, 2026-09-29) — Decisions
 * Log "Offline, slow internet & low data usage". Smart Review colors (red = no internet, yellow = can't connect,
 * green = back online), iPhone-style floating pill under the top bar. Logic: src/people-app/connection-status-v1.js
 * and src/people-app/device-drafts-v1.js. ===== */
.connection-bar{position:fixed;z-index:46;left:50%;top:calc(var(--topbar-h) + env(safe-area-inset-top) + 10px);width:min(560px,calc(100vw - 32px));display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:center;padding:10px 14px;border:1.5px solid var(--review-red-border);border-radius:16px;background:var(--review-red-bg);color:var(--review-red-text);box-shadow:var(--shadow);opacity:0;transform:translate(-50%,-10px);transition:opacity .25s var(--ease-ios),transform .25s var(--ease-ios)}
.connection-bar[hidden]{display:none}
.connection-bar.is-shown{opacity:1;transform:translate(-50%,0)}
.connection-bar[data-kind=unreachable]{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.connection-bar[data-kind=online]{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.connection-bar{background:color-mix(in srgb,var(--review-red-bg) 90%,transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.connection-bar[data-kind=unreachable]{background:color-mix(in srgb,var(--review-yellow-bg) 90%,transparent)}.connection-bar[data-kind=online]{background:color-mix(in srgb,var(--review-green-bg) 90%,transparent)}}
.connection-bar-icon{display:grid;place-items:center;width:28px;height:28px;border:2px solid currentColor;border-radius:50%;font-size:.9rem;font-weight:950;line-height:1}
.connection-bar-text{display:grid;gap:1px;min-width:0}
.connection-bar-text strong{font-size:.95rem;line-height:1.25}
.connection-bar-text span{font-size:.84rem;line-height:1.35}
.connection-bar-text span:empty{display:none}
.connection-bar.is-nudged{animation:connection-nudge .45s var(--ease-ios)}
@keyframes connection-nudge{0%,100%{translate:0}20%{translate:-6px}40%{translate:6px}60%{translate:-4px}80%{translate:3px}}
/* Room for the bar, so it never covers the status line or the page heading. */
.status-row{transition:margin-top .25s var(--ease-ios)}
body.has-connection-bar .status-row{margin-top:70px}
/* While the bar is shown, a stale "Up to date" would contradict it: the bar speaks instead. */
body.has-connection-bar .status[data-kind=success]{display:none}
/* "Last updated …" on a page shown from what was last opened. */
.last-updated-label{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:.55rem 0 0;padding:4px 10px;border-radius:12px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-size:.8rem;font-weight:750}
.last-updated-label::before{content:"◷";font-weight:900}
/* Automatic drafts: a quiet line above the form's buttons. */
.device-draft-hint{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:6px 0 0;color:var(--text-soft);font-size:.8rem;line-height:1.35}
.device-draft-icon{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;background:var(--green-soft);color:var(--green-dark);font-size:.68rem;font-weight:950}
.device-draft-hint[data-mode=restored] .device-draft-icon{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.device-draft-hint[data-mode=restored]{color:var(--text)}
.device-draft-discard{margin-left:auto;font-size:.8rem}
.cs-sheet-form>.device-draft-hint{margin:0;padding:8px 18px 10px}
@media(max-width:700px){
  .connection-bar{top:calc(var(--topbar-h) + env(safe-area-inset-top) + 8px);width:calc(100vw - 24px);padding:9px 12px;border-radius:14px}
  body.has-connection-bar .status-row{margin-top:78px}
  .device-draft-discard{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.connection-bar,.status-row{transition:none}.connection-bar.is-nudged{animation:none}}
/* ===== end Offline safety ===== */

/* ===== Company Setup tabs and the "Adding…" pop-up (Owner feedback, Coi, 2026-09-29) =====
 * Tabs: an iOS segmented control (Company & Branches | Departments & Positions) with a sliding thumb.
 * Pop-up: progress-sheet-v1.js — a centered sheet with a progress ring, "Adding 18 of 24" and a list that fills in with
 * check marks. Smart Review tokens only, so Light/Dark follow; nothing moves with prefers-reduced-motion. */
.cs-tabs{--cs-tab:0;position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(640px,100%);padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.cs-tab-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:10px;background:var(--surface);box-shadow:0 1px 3px rgba(13,47,103,.12),0 4px 12px rgba(13,47,103,.08);transform:translateX(calc(var(--cs-tab)*100%));transition:transform .34s var(--ease-ios)}
.cs-tab{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-weight:800;line-height:1.15;text-align:center;cursor:pointer;transition:color .2s ease,transform .12s ease}
.cs-tab.is-on{color:var(--ink)}
.cs-tab:active{transform:scale(.97)}
.cs-tab:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.cs-tab-icon{font-size:1rem}
.cs-panel{display:grid;gap:18px;min-width:0}
.cs-panel[hidden]{display:none}
.cs-panel-enter{animation:cs-tab-in .32s var(--ease-ios) both}
@keyframes cs-tab-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* Company & Branches: three columns on a laptop; on a tablet legal companies and brands side by side, branches under
   them at full width. Departments & Positions: side by side on laptop and tablet. Phones: one list under the other. */
.cs-panel .cs-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cs-panel .cs-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.cs-panel .cs-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-panel .cs-grid-3>[data-section=branches]{grid-column:1/-1}}
@media(max-width:720px){
  .cs-panel .cs-grid-3,.cs-panel .cs-grid-2{grid-template-columns:1fr}
  .cs-tabs{width:100%}.cs-tab{padding:6px 8px;font-size:.86rem}.cs-tab-icon{display:none}
}
@media(prefers-reduced-motion:reduce){.cs-tab-thumb,.cs-tab{transition:none}.cs-panel-enter{animation:none}}

.ps-sheet{width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(86vh,720px);max-height:min(86dvh,720px);padding:0;border:0;border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(8,23,44,.35);overflow:hidden;opacity:0;transform:scale(.94) translateY(10px);transition:opacity .24s ease,transform .38s var(--ease-ios)}
.ps-sheet.ps-open{opacity:1;transform:none}
.ps-sheet::backdrop{background:rgba(8,23,44,.42);backdrop-filter:blur(4px)}
.ps-card{display:flex;flex-direction:column;max-height:inherit}
.ps-sheet [hidden]{display:none!important}
.ps-head{display:flex;align-items:center;gap:16px;padding:22px 22px 14px}
.ps-head-text{min-width:0}
.ps-kicker{margin:0;color:var(--brand-blue-strong);font-size:.74rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ps-title{margin:2px 0 4px;font-size:1.2rem;line-height:1.25}
.ps-count{margin:0;color:var(--text-soft);font-weight:750;font-variant-numeric:tabular-nums}
.ps-ring{position:relative;flex:0 0 auto;width:72px;height:72px}
.ps-ring svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}
.ps-ring-track{fill:none;stroke:var(--line);stroke-width:6}
.ps-ring-bar{fill:none;stroke:var(--brand-blue);stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset .45s var(--ease-ios),stroke .3s ease}
.ps-ring-text{position:absolute;inset:0;display:grid;place-items:center;font-size:.9rem;font-weight:850;font-variant-numeric:tabular-nums}
/* One save for everyone (people): a turning arc until the server answers — no progress is claimed before then. */
.ps-sheet[data-mode=batch][data-phase=working] .ps-ring svg{animation:ps-ring-turn 1.1s linear infinite}
.ps-sheet[data-mode=batch][data-phase=working] .ps-ring-bar{stroke-dashoffset:115}
.ps-sheet[data-phase=done] .ps-kicker{color:var(--green-dark)}
.ps-sheet[data-phase=done] .ps-ring-bar{stroke:var(--green)}
.ps-sheet[data-phase=done] .ps-ring-text{color:var(--green-dark);font-size:1.7rem;animation:ps-pop .5s var(--ease-ios) both}
.ps-sheet[data-phase=failed] .ps-kicker{color:var(--review-red-text)}
.ps-sheet[data-phase=failed] .ps-ring-bar{stroke:var(--review-red-border)}
.ps-sheet[data-phase=failed] .ps-ring-text{color:var(--review-red-text);font-size:1.6rem;animation:ps-pop .5s var(--ease-ios) both}
.ps-done-message{margin:0 22px 10px;padding:10px 12px;border:1px solid var(--review-green-border);border-radius:12px;background:var(--review-green-bg);color:var(--review-green-text);font-weight:750;animation:cs-rise .35s ease both}
.ps-list{flex:1 1 auto;min-height:0;margin:0 22px;padding:2px 0;list-style:none;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line);scrollbar-width:thin}
.ps-item{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:12px;padding:9px 2px;border-bottom:1px solid var(--line);animation:ps-in .32s var(--ease-ios) both;transition:opacity .25s ease}
.ps-item:last-child{border-bottom:0}
.ps-text{display:grid;min-width:0}
.ps-text strong,.ps-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ps-text strong{font-size:.95rem}
.ps-text small{color:var(--muted);font-size:.8rem}
.ps-mark{display:grid;place-items:center;width:24px;height:24px;border:2px solid var(--line);border-radius:50%;color:var(--surface);font-size:.78rem;font-weight:900;transition:background .25s ease,border-color .25s ease}
.ps-item>.ps-text{transition:opacity .25s ease}
.ps-item[data-state=waiting]>.ps-text,.ps-item[data-state=stopped]>.ps-text{opacity:.6}
.ps-item[data-state=stopped] .ps-mark{border-style:dashed}
.ps-item[data-state=working] .ps-mark{border-color:var(--brand-blue-line);border-top-color:var(--brand-blue);animation:ps-turn .8s linear infinite}
.ps-item[data-state=done] .ps-mark{border-color:var(--green);background:var(--green);animation:ps-pop .42s var(--ease-ios) both}
.ps-item[data-state=done] .ps-mark::after{content:'✓'}
.ps-problem{display:grid;gap:2px;margin:12px 22px 0;padding:12px 14px;border:1px solid var(--review-red-border);border-radius:14px;background:var(--review-red-bg);color:var(--review-red-text);animation:cs-rise .3s ease both}
.ps-problem strong{font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}
.ps-problem p{margin:0 0 6px;font-weight:650}.ps-problem p:last-child{margin-bottom:0}
.ps-actions{display:grid;gap:10px;padding:14px 22px 20px}
.ps-note{margin:0;color:var(--muted);font-size:.84rem;text-align:center}
.ps-button{min-height:50px;font-size:1rem;animation:cs-rise .3s ease both}
@keyframes ps-ring-turn{from{transform:rotate(-90deg)}to{transform:rotate(270deg)}}
@keyframes ps-turn{to{transform:rotate(360deg)}}
@keyframes ps-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:none}}
@keyframes ps-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:600px){.ps-head{padding:18px 18px 12px;gap:14px}.ps-ring{width:62px;height:62px}.ps-list{margin:0 18px}.ps-done-message,.ps-problem{margin-left:18px;margin-right:18px}.ps-actions{padding:12px 18px 18px}}
@media(prefers-reduced-motion:reduce){
  .ps-sheet{transform:none;transition:none}
  .ps-item,.ps-mark,.ps-ring-text,.ps-button,.ps-problem,.ps-done-message,.ps-item[data-state=done] .ps-mark{animation:none}
  .ps-ring-bar{transition:none}
  .ps-sheet[data-mode=batch][data-phase=working] .ps-ring svg,.ps-item[data-state=working] .ps-mark{animation:none}
}
/* ===== end Company Setup tabs and the "Adding…" pop-up ===== */
/* ===== Guided setup step 5 — Access & approvals: two SEPARATE parts (Coi 2026-09-29). Laptop: side by side on one
 * screen; tablet and phone: two tabs, stacked. Smart Review colours, iOS grouped rows, pop-up sheets (.cs-sheet). ===== */
body.setup-mode .main-content:has(.as-step){max-width:1240px}
.as-step{display:grid;gap:18px}
.as-card{animation:cs-rise .35s ease both}
.as-banner{margin-top:0}
.as-banner .smart-review-header strong{font-size:1rem}
.as-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}
.as-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;font-size:.95rem}
.as-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--review-red-bg);color:var(--review-red-text);border:1px solid var(--review-red-border);font-size:.74rem;font-weight:900}
.as-badge.is-ok{background:var(--green-soft);color:var(--green-dark);border-color:var(--mint-line)}
.as-columns{display:grid;gap:18px;align-items:start}
.as-panel{display:grid;gap:14px;align-content:start;min-width:0;padding:16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-muted)}
.as-panel-head{display:flex;align-items:flex-start;gap:12px}
.as-panel-head h2{margin:0;font-size:1.12rem}
.as-panel-head p{margin:2px 0 0;color:var(--text-soft);font-size:.9rem}
.as-part-number{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:#fff;font-weight:900}
.as-panel[data-part=approvals] .as-part-number{background:linear-gradient(145deg,var(--lavender),var(--lavender-dark))}
.as-group{display:grid;gap:6px}
.as-group-title{margin:0;padding:0 6px;font-size:.76rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.as-list{box-shadow:none}
.as-row .cs-row-main strong{white-space:normal}
.as-pill{display:inline-grid;justify-items:end;flex:0 1 auto;max-width:55%;padding:6px 10px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:800;font-size:.86rem;text-align:right;overflow-wrap:anywhere}
.as-pill small{color:var(--muted);font-weight:700;font-size:.7rem}
.as-pill.is-plain{background:var(--surface-muted);color:var(--text-soft)}
.as-note{margin:0 14px 10px;padding:8px 10px;border-radius:10px;font-size:.85rem;font-weight:650}
.as-panel>.as-note{margin:0}
.as-note.is-bad{background:var(--review-red-bg);color:var(--review-red-text)}
.as-note.is-warn{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.as-note.is-info{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.as-step-row{display:grid;gap:8px;padding:10px 12px}
.as-step-row .as-note{margin:0 0 0 36px}
.as-step-main{display:flex;align-items:center;gap:10px}
.as-step-text{display:grid;flex:1;min-width:0;gap:1px}
.as-step-text strong{font-weight:750;overflow-wrap:anywhere}
.as-step-text small{color:var(--muted);font-size:.8rem}
.as-step-row.is-done .as-mark{background:var(--green-soft);color:var(--green-dark);border:2px solid var(--green)}
.as-step-row.is-open .as-mark{border:2px dashed var(--review-yellow-border);background:var(--review-yellow-bg)}
.as-plus{width:38px;height:38px;font-size:1.4rem}
.as-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0 0 0 36px;list-style:none}
.as-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;max-width:100%;padding:3px 3px 3px 4px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:750;font-size:.85rem;animation:cs-rise .2s ease both}
.as-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.as-chip.is-gone{background:var(--review-red-bg);color:var(--review-red-text)}
.as-order{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--surface);font-size:.72rem;font-weight:900}
.as-chip-x{display:grid;place-items:center;flex:none;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:1.15rem;line-height:1;cursor:pointer}
.as-chip-x:hover,.as-chip-x:focus-visible{background:color-mix(in srgb,currentColor 14%,transparent);outline:none}
.as-save{margin:0;text-align:center;color:var(--muted);font-size:.84rem}
.as-save.is-failed{color:var(--review-red-text)}
/* The actions stay in reach while scrolling a long list (iPhone-style bottom bar). */
.as-card>.fr-actions{position:sticky;bottom:0;z-index:2;margin:0 -22px -24px;padding:12px 22px 16px;border-top:1px solid var(--line);border-radius:0 0 var(--radius-lg) var(--radius-lg);background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px)}
.as-confirm{background:linear-gradient(135deg,var(--green),var(--green-dark));box-shadow:0 6px 16px color-mix(in srgb,var(--green) 35%,transparent)}
.as-confirm:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
/* Sheets */
.as-sheet .cs-sheet-body{overflow-x:hidden;scrollbar-width:none}
.as-sheet .cs-sheet-body::-webkit-scrollbar{display:none}
.as-options,.as-results{display:grid;gap:6px}
.as-option{align-items:flex-start;padding:12px}
.as-option .ac-check{margin-top:2px}
.as-option-text,.as-person-text{display:grid;flex:1;min-width:0;gap:2px}
.as-option-text span{color:var(--text-soft);font-size:.86rem;font-weight:600}
.as-option-text small,.as-person-text small{color:var(--muted);font-size:.78rem;font-weight:600;overflow-wrap:anywhere}
.as-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:.7rem;font-weight:850;vertical-align:middle}
.as-soft{color:var(--review-yellow-text)!important}
.as-sheet-section{display:grid;gap:6px}
.as-sheet-label{margin:0;font-weight:800;font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.as-chosen{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.as-chosen li{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--brand-blue-soft)}
.as-chosen li.is-gone{border-color:var(--review-red-border);background:var(--review-red-bg)}
.as-chosen .as-chosen-empty{border-style:dashed;background:var(--surface-muted);color:var(--text-soft);font-weight:600}
.as-mini{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:50%;background:var(--surface);color:var(--brand-blue-strong);font-size:1.05rem;font-weight:900;cursor:pointer}
.as-mini-remove{color:var(--danger)}
.as-mini:focus-visible{outline:3px solid var(--focus)}
@media(min-width:1100px){
  .as-tabs{display:none}
  .as-columns{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}
  /* One screen: each part scrolls on its own, the page does not. */
  .as-panel{max-height:calc(100vh - 230px);max-height:calc(100dvh - 230px);overflow:auto;scrollbar-width:thin}
  /* A compact head so both parts start high on the screen. */
  .as-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:22px;row-gap:12px}
  .as-card>*{grid-column:1/-1}
  .as-card>.kicker,.as-card>h1,.as-card>.fr-lead{grid-column:1}
  .as-card>.as-banner{grid-column:2;grid-row:1/span 3;align-self:center}
  .as-card>h1{font-size:1.7rem}
  .as-panel-head{position:sticky;top:-16px;z-index:1;margin:-16px -16px 0;padding:16px 16px 10px;background:var(--surface-muted)}
}
@media(max-width:1099px){
  .as-tab-access .as-panel[data-part=approvals],.as-tab-approvals .as-panel[data-part=access]{display:none}
}
@media(max-width:700px){
  .as-panel{padding:12px 10px}
  .as-pill{max-width:50%}
  .as-chips,.as-step-row .as-note{padding-left:0;margin-left:0}
  .as-card>.fr-actions{margin:0 -22px -24px;padding:10px 16px 14px}
}
@media(prefers-reduced-motion:reduce){.as-card,.as-chip{animation:none}}
/* ===== end Guided setup step 5 ===== */
/* ===== Admin Center — Access and Approvals: two SEPARATE pages that reuse step 5 (one part per page; Coi
 * 2026-09-29). No step header, no tabs; the page title comes from the app header. ===== */
.as-order-hint{margin-top:6px!important;padding:8px 10px;border-radius:10px;background:var(--brand-blue-soft);color:var(--brand-blue-strong)!important;font-size:.84rem!important;font-weight:650}
.as-sheet-hint{margin:0 0 4px;color:var(--text-soft);font-size:.84rem;font-weight:600}
.as-card.as-admin{gap:14px}
.as-card.as-single .as-columns{grid-template-columns:minmax(0,1fr)}
.as-card.as-single .as-panel{max-height:none;overflow:visible}
.as-card.as-single .as-panel-head{position:static;margin:0;padding:0;background:none}
@media(min-width:1100px){
  .as-card.as-admin{grid-template-columns:minmax(0,1fr)}
  .as-card.as-admin>.as-banner{grid-column:1;grid-row:auto}
  /* Laptop: the groups sit side by side so the whole page fits the wide screen. */
  .as-card.as-single .as-panel{grid-template-columns:repeat(auto-fill,minmax(420px,1fr));column-gap:16px;align-items:start}
  .as-card.as-single .as-panel>.as-panel-head,.as-card.as-single .as-panel>.as-note,.as-card.as-single .as-panel>.cs-empty{grid-column:1/-1}
}
@media(max-width:1099px){
  .as-card.as-single.as-tab-access .as-panel[data-part=access],.as-card.as-single.as-tab-approvals .as-panel[data-part=approvals]{display:grid}
}
/* Phone: the confirm bar stays in reach just above the bottom tab bar (not hidden behind it). */
@media(max-width:700px){
  body:not(.setup-mode) .as-card.as-admin>.fr-actions{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom))}
}
/* ===== end Admin Center Access and Approvals ===== */
/* ===== Approved headcount editor (2026-09-29) — Owner bug report "approved headcount cannot be edited"; Decisions Log
 * Topic 5 (no approvals during setup; a change after go-live needs approval). One card per position, one row per
 * branch, a pencil that opens the Company Setup sheet (.cs-sheet) with a number stepper. Smart Review tokens only;
 * status colours stay the protected review colours; no sideways scroll on any device. ===== */
.hc-section{display:grid;gap:14px;min-width:0}
.hc-overview{padding:18px 20px}
.hc-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.hc-intro h2{margin:.15rem 0 .35rem}
.hc-intro p:not(.kicker){margin:0;max-width:62ch;color:var(--text-soft);line-height:1.45}
.hc-mode{white-space:nowrap}
.hc-mode.is-setup{background:var(--review-green-bg);color:var(--review-green-text);border-color:var(--review-green-border)}
.hc-mode.is-live{background:var(--review-yellow-bg);color:var(--review-yellow-text);border-color:var(--review-yellow-border)}
.hc-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));min-width:0}
.hc-card{padding:16px;min-width:0;container-type:inline-size}
.hc-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.hc-card-head h3{margin:0;font-size:1.08rem}
.hc-dept{margin:.1rem 0 0;color:var(--muted);font-size:.82rem}
.hc-places{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hc-place{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-raised)}
.hc-place.has-change{border-color:var(--review-yellow-border)}
.hc-place-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hc-place-name{display:grid;min-width:0}
.hc-place-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hc-place-name small{color:var(--muted);font-size:.78rem}
.hc-edit{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--brand-blue-line);border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.05rem;font-weight:900;cursor:pointer;transition:transform .12s var(--ease-ios,ease),background .16s ease}
.hc-edit:hover,.hc-edit:focus-visible{background:var(--brand-blue);color:var(--on-brand);outline:none;box-shadow:0 0 0 3px var(--focus)}
.hc-edit:active{transform:scale(.94)}
.hc-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
.hc-metric{display:grid;gap:2px;align-content:start;padding:8px;border-radius:10px;background:var(--surface-muted);min-width:0}
.hc-metric dt{order:2;color:var(--muted);font-size:.7rem;line-height:1.2}
.hc-metric dd{order:1;margin:0;font-size:1.2rem;font-weight:850;color:var(--brand-navy)}
.hc-metric dd.is-text{font-size:.9rem;line-height:1.35rem;color:var(--muted)}
.hc-metric.is-approved{background:var(--brand-blue-soft)}
.hc-metric.is-filled{background:var(--green-soft)}
.hc-metric.is-temporary{background:var(--lavender-soft)}
.hc-metric.is-toHire{background:var(--warm-soft)}
.hc-badge{margin:0;padding:6px 10px;border:1px solid var(--review-yellow-border);border-radius:999px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-size:.8rem;font-weight:750;justify-self:start}
.hc-badge.is-mine{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.hc-empty p{color:var(--text-soft)}
.hc-sheet-body{gap:16px}
.hc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.hc-facts div{padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.hc-facts dt{color:var(--muted);font-size:.76rem;font-weight:650}
.hc-facts dd{margin:2px 0 0;font-size:1.15rem;font-weight:850}
.hc-number{display:grid;gap:8px}
.hc-stepper{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:8px;align-items:center}
.hc-step{height:52px;border:1px solid var(--line);border-radius:14px;background:var(--surface-raised);color:var(--brand-blue-strong);font-size:1.5rem;font-weight:900;cursor:pointer}
.hc-step:active{transform:scale(.96)}
.cs-sheet-body .hc-stepper-value{min-height:52px;text-align:center;font-size:1.45rem;font-weight:850}
.hc-reason{display:grid;gap:6px;font-weight:750;font-size:.9rem}
.hc-reason textarea{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical}
.hc-reason textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.hc-hint{margin:0;color:var(--muted);font-size:.86rem}
.hc-change{display:grid;gap:6px;padding:12px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.hc-change p{margin:0}
.hc-change-move{display:flex;justify-content:space-between;gap:8px;font-weight:700}
.hc-change-move strong{font-size:1.1rem}
.hc-secondary{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hc-decline{color:var(--danger)}
.hc-sheet-host{padding-top:14px}
/* A narrow card (phone, or three cards side by side) shows the four numbers as 2 x 2 so no label is cut. */
@container (max-width:360px){.hc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .hc-overview{padding:16px}
  .hc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hc-intro{flex-direction:column}
}
/* ===== end Approved headcount editor ===== */
/* ===== Manpower Request screens (Launch Plan item 3, 2026-09-29) — new request sheet, list, detail sheet. Pop-up
 * sheets (.cs-sheet), Smart Review colours for every status (never colour alone: each status also says it in words),
 * iPhone feel (rounded cards, big touch targets, a chevron on tappable rows). Phone: stacked; tablet/laptop: the list
 * fills the width and the detail sheet shows the request and its history side by side. No sideways scroll. ===== */
.mr-section{display:grid;gap:14px;min-width:0}
.mr-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;flex-wrap:wrap}
.mr-overview-text{display:grid;gap:10px;min-width:0;flex:1 1 320px}
.mr-overview p{margin:0;max-width:62ch;color:var(--text-soft);line-height:1.45}
.mr-counts{display:flex;flex-wrap:wrap;gap:8px}
.mr-count{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.82rem;font-weight:700}
.mr-count strong{color:var(--ink)}
.mr-count.is-mine{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.mr-count.is-mine strong{color:inherit}
.mr-new{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 18px 10px 12px;border-radius:14px;font-size:1rem}
.mr-plus{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);font-size:1.3rem;line-height:1;font-weight:900}
.mr-list{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));min-width:0}
.mr-list>li{min-width:0;display:grid}
.mr-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;margin:0;padding:14px 14px 14px 16px;border:1px solid var(--line);border-left:5px solid var(--line);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:transform .12s var(--ease-ios,ease),box-shadow .16s ease,border-color .16s ease}
.mr-card:hover,.mr-card:focus-visible{box-shadow:var(--shadow-hover);outline:none}
.mr-card:focus-visible{box-shadow:0 0 0 3px var(--focus)}
.mr-card:active{transform:scale(.985)}
.mr-card.is-review{border-left-color:var(--review-yellow-border)}
.mr-card.is-positive{border-left-color:var(--review-green-border)}
.mr-card.is-blocked{border-left-color:var(--review-red-border)}
.mr-card.is-draft{border-left-color:var(--brand-blue-line)}
.mr-card.needs-me{border-color:var(--brand-blue-line);border-left-color:var(--brand-blue);background:linear-gradient(105deg,var(--brand-blue-soft),var(--surface) 55%)}
.mr-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.15rem;font-weight:900}
.mr-card-main{display:grid;gap:5px;min-width:0}
.mr-card-title{font-size:1.02rem;line-height:1.3;overflow-wrap:anywhere}
.mr-card-facts{color:var(--text-soft);font-size:.88rem}
.mr-card-waiting{color:var(--muted);font-size:.86rem;font-weight:650}
.mr-card-waiting.is-mine{color:var(--brand-blue-strong);font-weight:850}
.mr-chevron{align-self:center;color:var(--muted);font-size:1.6rem;line-height:1}
.mr-status{display:flex;align-items:center;gap:6px;justify-self:start;width:fit-content;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;padding:4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:800;white-space:normal}
.mr-status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:currentColor}
.mr-status.is-draft{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.mr-status.is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.mr-status.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.mr-status.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.mr-empty{display:grid;justify-items:center;gap:6px;padding:28px 20px;text-align:center}
.mr-empty h3{margin:0}.mr-empty p{margin:0;color:var(--text-soft);max-width:48ch}
.mr-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.7rem;font-weight:900}
/* Sheets */
.mr-sheet-body{gap:14px}
.mr-loading,.mr-intro{margin:0;color:var(--muted)}
.mr-field{display:grid;gap:6px;font-weight:750;font-size:.9rem;min-width:0}
.mr-field.has-error input,.mr-field.has-error select,.mr-field.has-error textarea{border-color:var(--review-red-border);background:var(--review-red-bg)}
.mr-field-error{color:var(--review-red-text);font-size:.84rem;font-weight:750;line-height:1.35}
.mr-field-error::before{content:'! ';font-weight:900}
.mr-field select:disabled{opacity:.6}
.mr-room{justify-self:start;padding:4px 10px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.82rem;font-weight:750}
.mr-room[data-tone=positive]{background:var(--review-green-bg);color:var(--review-green-text)}
.mr-room[data-tone=blocked]{background:var(--review-red-bg);color:var(--review-red-text)}
.mr-autosave{margin:0;color:var(--muted);font-size:.84rem;font-weight:650}.mr-autosave:empty{display:none}
.mr-autosave[data-tone=positive]{color:var(--review-green-text)}.mr-autosave[data-tone=positive]::before{content:'✓ '}
.mr-autosave[data-tone=review]{color:var(--review-yellow-text)}
.mr-autosave[data-tone=blocked]{color:var(--review-red-text)}
.mr-note{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.mr-note p{margin:0}
.mr-note.is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.mr-hint{margin:0;color:var(--muted);font-size:.86rem;line-height:1.4}
.mr-sheet .mr-reason textarea{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical}
.mr-sheet .mr-reason textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.mr-action-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr));gap:10px}
.mr-action{padding-inline:8px}
.mr-action.is-danger,.mr-action.is-danger-quiet{background:var(--danger-soft);color:var(--danger)}
.primary-button.mr-danger{background:linear-gradient(135deg,var(--danger),color-mix(in srgb,var(--danger) 78%,#000));box-shadow:none}
.mr-hero{display:flex;align-items:flex-start;gap:12px}
.mr-hero h2{margin:0 0 6px;font-size:1.2rem;line-height:1.3;overflow-wrap:anywhere}
.mr-hero .mr-card-waiting{margin:6px 0 0}
.mr-detail-grid{display:grid;gap:18px;min-width:0}
.mr-detail-summary,.mr-detail-history{display:grid;gap:14px;align-content:start;min-width:0}
.mr-detail-history h3,.mr-steps-block h3{margin:0 0 8px;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.mr-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.mr-facts div{padding:10px 12px;border-radius:12px;background:var(--surface-muted);min-width:0}
.mr-facts .is-wide{grid-column:1/-1}
.mr-facts dt{color:var(--muted);font-size:.76rem;font-weight:700}
.mr-facts dd{margin:2px 0 0;font-weight:800;overflow-wrap:anywhere}
.mr-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mr-steps li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px}
.mr-steps li span:nth-child(2){display:grid;min-width:0}
.mr-steps small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mr-step-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface-muted);color:var(--muted);font-weight:900}
.mr-step-state{color:var(--muted);font-size:.78rem;font-weight:800}
.mr-steps li.is-done .mr-step-mark{background:var(--review-green-bg);color:var(--review-green-text)}
.mr-steps li.is-current{border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.mr-steps li.is-current .mr-step-mark{background:var(--review-yellow-border);color:#fff}
.mr-steps li.is-current .mr-step-state{color:var(--review-yellow-text)}
.mr-timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}
.mr-timeline li{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:0 0 14px}
.mr-timeline li::before{content:'';position:absolute;left:8px;top:18px;bottom:0;width:2px;background:var(--line)}
.mr-timeline li:last-child::before{display:none}
.mr-timeline-dot{width:18px;height:18px;margin-top:2px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 0 0 2px var(--brand-blue-line);background:var(--brand-blue)}
.mr-timeline li.is-approve .mr-timeline-dot{background:var(--green);box-shadow:0 0 0 2px var(--mint-line)}
.mr-timeline li.is-back .mr-timeline-dot{background:var(--warm);box-shadow:0 0 0 2px var(--warm-line)}
.mr-timeline li.is-decline .mr-timeline-dot{background:var(--danger);box-shadow:0 0 0 2px var(--review-red-border)}
.mr-timeline li.is-cancel .mr-timeline-dot{background:var(--muted);box-shadow:0 0 0 2px var(--line)}
.mr-timeline li.is-remind .mr-timeline-dot{background:var(--lavender);box-shadow:0 0 0 2px var(--lavender-line)}
.mr-timeline p{margin:0}
.mr-timeline-who{color:var(--muted);font-size:.84rem}
.mr-timeline-reason{margin-top:4px!important;padding:8px 10px;border-radius:10px;background:var(--surface-muted);font-size:.9rem}
.mr-open-request{min-height:40px}
@media(min-width:721px){
  .mr-sheet-wide{width:min(920px,96vw)}
  /* New / edit request: two columns so the whole form fits on one tablet or laptop screen. */
  .mr-form-sheet{width:min(700px,96vw)}
  .mr-form-sheet .mr-sheet-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'intro intro' 'save save' 'dept pos' 'branch date' 'qty qty' 'reason reason';align-content:start}
  .mr-form-sheet .mr-sheet-body>.mr-intro,.mr-form-sheet .mr-sheet-body>.mr-note{grid-area:intro}
  .mr-form-sheet .mr-autosave{grid-area:save}
  .mr-form-sheet [data-field=departmentId]{grid-area:dept}.mr-form-sheet [data-field=positionId]{grid-area:pos}
  .mr-form-sheet [data-field=branchId]{grid-area:branch}.mr-form-sheet [data-field=targetDate]{grid-area:date}
  .mr-form-sheet [data-field=quantity]{grid-area:qty}.mr-form-sheet [data-field=reason]{grid-area:reason}
  .mr-form-sheet .hc-stepper{max-width:360px}
}
@media(min-width:900px){.mr-sheet-wide .mr-detail-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}.mr-sheet-wide .mr-detail-history{padding-left:22px;border-left:1px solid var(--line)}}
.mr-form-sheet input[type=number]{-moz-appearance:textfield;appearance:textfield}
.mr-form-sheet input[type=number]::-webkit-inner-spin-button,.mr-form-sheet input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:700px){
  .mr-overview{flex-direction:column;align-items:stretch;padding:16px}
  .mr-overview-text{flex:none}
  .mr-new{justify-content:center}
  .mr-card{grid-template-columns:40px minmax(0,1fr) auto;padding:12px 12px 12px 14px}
  .mr-card-icon{width:40px;height:40px}
}
/* ===== end Manpower Request screens ===== */
/* ===== Recruitment (recruitment floor 1, 2026-09-29): job openings, the job opening board, applicant sheets and the
 * applicant link / QR share sheet. Reuses the Manpower Request cards, pills, facts and sheets (mr-*); only the board
 * columns, the "who does what" list and the step forms are new. Phone: columns stack; tablet: 2-3 columns; laptop:
 * all six side by side. No sideways page scroll. ===== */
.rc-back{justify-self:start;min-height:40px}
.rc-board-head{display:grid;gap:16px;padding:18px 20px;min-width:0}
.rc-facts{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr))}
.rc-link-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.rc-link-actions .primary-button{min-height:46px;padding-inline:18px}
.rc-who h3,.rc-checks h3,.rc-results h3,.rc-compare h3{margin:0 0 8px;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.rc-who-list{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:4px}
.rc-who-list li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 12px;border:1px solid var(--line);border-radius:12px;min-width:0}
.rc-who-list span{flex:none;color:var(--muted);font-size:.8rem;font-weight:700}
.rc-who-list strong{min-width:0;text-align:right;font-size:.9rem;overflow-wrap:anywhere}
.rc-who-list li.is-you{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.rc-who-list li.is-missing{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.rc-checks{display:grid;gap:8px;padding:16px 18px;border-left:5px solid var(--review-yellow-border)}
.rc-check-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rc-check{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'name chev' 'meta chev';width:100%;text-align:left;min-height:52px}
.rc-check strong{grid-area:name}.rc-check small{grid-area:meta;color:var(--muted);font-weight:600}.rc-check .mr-chevron{grid-area:chev}
.rc-board-empty{padding:0 4px}
.rc-board{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);min-width:0}
.rc-column{display:grid;align-content:start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--surface-muted);min-width:0}
.rc-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px}
.rc-column-head h3{margin:0;font-size:.86rem;font-weight:850}
.rc-column-count{min-width:26px;padding:2px 8px;border-radius:999px;background:var(--surface);color:var(--text-soft);font-size:.78rem;font-weight:850;text-align:center}
.rc-column-empty{margin:0;padding:6px 4px 8px;color:var(--muted);font-size:.84rem}
.rc-cards{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rc-card{display:grid;gap:5px;width:100%;padding:11px 12px;border:1px solid var(--line);border-left:4px solid var(--line);border-radius:12px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:0 2px 8px rgba(22,73,132,.05);transition:transform .12s ease,box-shadow .16s ease}
.rc-card:hover,.rc-card:focus-visible{box-shadow:var(--shadow-hover);outline:none}
.rc-card:focus-visible{box-shadow:0 0 0 3px var(--focus)}
.rc-card:active{transform:scale(.985)}
.rc-card.is-review{border-left-color:var(--review-yellow-border)}.rc-card.is-positive{border-left-color:var(--review-green-border)}
.rc-card.is-blocked{border-left-color:var(--review-red-border)}.rc-card.is-draft{border-left-color:var(--brand-blue-line)}
.rc-card.needs-me{border-color:var(--brand-blue-line);border-left-color:var(--brand-blue);background:linear-gradient(105deg,var(--brand-blue-soft),var(--surface) 60%)}
.rc-card-name{overflow-wrap:anywhere}
.rc-card-ref{color:var(--muted);font-size:.78rem;font-weight:700}.rc-card-ref:empty{display:none}
.rc-sheet .cs-sheet-actions{max-height:min(62vh,640px);overflow:auto}
.rc-upcoming p{margin:0}.rc-sub{color:inherit;opacity:.85}
.rc-results{display:grid;gap:4px}
.rc-result-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rc-result-list li{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.rc-result-list p{margin:0}
.rc-result-what{color:var(--muted);font-size:.76rem;font-weight:750}
.rc-step-form{display:grid;gap:12px}
.rc-step-title{margin:0;font-size:1rem}
.rc-step-form label,.rc-people{display:grid;gap:6px;font-weight:750;font-size:.9rem;min-width:0}
.rc-step-form input:not([type=radio]):not([type=checkbox]),.rc-step-form textarea{min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;min-width:0;width:100%;box-sizing:border-box}
.rc-step-form textarea{min-height:84px;resize:vertical}
.rc-step-form input:focus,.rc-step-form textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.rc-when{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.rc-choices{display:grid;gap:8px}
.rc-choice{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px!important;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer}
.rc-choice input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--brand-blue)}
.rc-choice span{display:grid;gap:3px;min-width:0}
.rc-choice small{color:var(--muted);font-weight:600;font-size:.82rem}
.rc-choice:has(input:checked){border-color:var(--brand-blue);box-shadow:0 0 0 3px var(--focus)}
.rc-choice.is-positive:has(input:checked){border-color:var(--review-green-border);background:var(--review-green-bg)}
.rc-choice.is-review:has(input:checked){border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.rc-choice.is-blocked:has(input:checked){border-color:var(--review-red-border);background:var(--review-red-bg)}
.rc-choice.is-disabled{opacity:.6;cursor:not-allowed}
.rc-people{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px}
.rc-people legend{padding:0 6px;color:var(--muted);font-size:.8rem;font-weight:850}
.rc-person{display:flex!important;align-items:center;gap:10px!important;min-height:40px;font-weight:650!important}
.rc-person input{width:20px;height:20px;accent-color:var(--brand-blue)}
.rc-qr{justify-self:center;width:min(260px,70vw);padding:10px;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.rc-qr svg{display:block;width:100%;height:auto}
.rc-link-field{font-size:.84rem!important}
.rc-compare{display:grid;gap:8px;align-content:start;min-width:0}
.rc-onfile{margin-top:6px}.rc-onfile .is-match{background:var(--review-yellow-bg)}
@media(min-width:1100px){.rc-board-head{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);column-gap:28px;align-items:start}
  .rc-board-head>.mr-hero,.rc-board-head>.rc-facts,.rc-board-head>.rc-link-actions{grid-column:1}
  .rc-board-head>.rc-who{grid-column:2;grid-row:1/span 3;padding-left:24px;border-left:1px solid var(--line)}}
@media(min-width:640px){.rc-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.rc-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1360px){.rc-board{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:700px){.rc-board-head{padding:16px}.rc-link-actions .primary-button{flex:1 1 100%}}
/* ===== end Recruitment ===== */
/* ===== Public applicant page (apply.html): a single column, phone first, the same cards, fields and pills. ===== */
.ap-body{min-height:100vh}
.ap-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:12px max(16px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:var(--topbar);backdrop-filter:var(--glass-blur)}
.ap-top .brand{flex:1 1 auto}
.ap-top .brand-text{display:grid!important}.ap-top .brand small{display:block!important;color:var(--muted);font-size:.74rem}
.ap-signout{min-height:38px}
.ap-main{display:grid;gap:14px;width:min(640px,100%);margin:0 auto;padding:18px 16px 48px;box-sizing:border-box}
.ap-card{display:grid;gap:10px;padding:18px;min-width:0}
.ap-card h1{margin:0;font-size:1.45rem;line-height:1.25}
.ap-card h2{margin:0;font-size:1.1rem}
.ap-card p{margin:0}
.ap-link-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:46px;text-decoration:none}
.ap-form{display:grid;gap:16px}
.ap-group{display:grid;gap:12px;margin:0;padding:0;border:0;min-width:0}
.ap-group legend{margin-bottom:10px;padding:0;color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.ap-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.ap-form input:not([type=checkbox]),.ap-withdraw textarea{width:100%;box-sizing:border-box;min-height:48px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:1rem;font-weight:500}
.ap-form input:focus,.ap-withdraw textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ap-form [data-field].has-error input{border-color:var(--review-red-border);background:var(--review-red-bg)}
.ap-tick{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;font-weight:650;font-size:.95rem;cursor:pointer}
.ap-tick input{width:22px;height:22px;margin:0;accent-color:var(--brand-blue)}
.ap-tick span{display:grid;gap:3px}
.ap-tick .mr-field-error{grid-column:2}
.ap-notice{border:1px solid var(--line);border-radius:14px;background:var(--surface-muted);padding:0 14px}
.ap-notice summary{min-height:46px;display:flex;align-items:center;font-weight:800;cursor:pointer;color:var(--brand-blue-strong)}
.ap-notice p{margin:0 0 10px;color:var(--text-soft);line-height:1.5;font-size:.92rem}
/* The NoypiHR account notice v5 (Coi approved Mon Nov 9 2026): the rows shown open, no tick. */
.ap-account-notice{border:1px solid var(--line);border-radius:14px;background:var(--surface-muted);padding:4px 12px 6px}
.ap-account-notice-title{display:block;font-weight:800;padding:9px 0 3px}
.ap-account-notice ul{list-style:none;margin:0;padding:0}
.ap-account-notice li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-bottom:1px solid var(--line);font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}
.ap-account-notice li:last-child{border-bottom:0}
.ap-account-notice li>span:last-child,.ap-account-notice li>a{padding-top:4px}
.ap-account-notice a{color:var(--brand-blue-strong);font-weight:800;text-decoration:none}
.ap-account-notice-ic{width:28px;height:28px;border-radius:8px;background:var(--surface,#fff);display:grid;place-items:center;font-size:14px;flex:none}
.ap-error{margin:0}
.ap-send{min-height:52px;font-size:1.05rem}
.ap-head{display:grid;gap:4px;padding:4px 2px}
.ap-head h1{margin:0;font-size:1.45rem}
.ap-head p{margin:0}
.ap-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ap-application{display:grid;gap:10px;padding:16px 18px;border-left:5px solid var(--line)}
.ap-application h2{margin:0;font-size:1.1rem}
.ap-application p{margin:0}
.ap-application.is-positive{border-left-color:var(--review-green-border)}.ap-application.is-review{border-left-color:var(--review-yellow-border)}.ap-application.is-draft{border-left-color:var(--brand-blue)}
.ap-schedule{display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.ap-messages{display:grid;gap:8px}
.ap-messages h3{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ap-message{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.ap-withdraw{display:grid;gap:10px}
.ap-withdraw>.quiet-button{justify-self:start}
.ap-sent{grid-template-columns:44px minmax(0,1fr);align-items:start;border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.ap-sent-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:1.3rem;font-weight:900}
.ap-sent div{display:grid;gap:4px}
@media(max-width:520px){.ap-row{grid-template-columns:1fr}.ap-main{padding:14px 12px 40px}}
/* ===== end Public applicant page ===== */
/* ===== Hiring 2026-09-29: share job opening + poster, recruiter timers, interview guides, guided interview ===== */
.rc-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.rc-share{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding-inline:18px}
.rc-share-icon{font-size:1.05rem;line-height:1}
.rc-guide-note{margin:0}
.rc-link-actions .mr-hint{margin:0}
.rc-timer{color:var(--muted);font-size:.78rem;font-weight:750}
.rc-appt{justify-self:start;width:fit-content;max-width:100%;padding:4px 9px;border-radius:10px;border:1px solid var(--line);background:var(--surface-muted);color:var(--text-soft);font-size:.76rem;font-weight:800;overflow-wrap:anywhere}
.rc-appt.is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.rc-appt.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.rc-upcoming .rc-appt{display:inline-block;margin:0 8px 4px 0}
.rc-step-time{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.rc-step-time small{color:var(--muted);font-weight:600}
.rc-timing{display:grid;gap:8px;padding:14px 18px}
.rc-timing summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:4px}
.rc-timing summary small{color:var(--muted);font-weight:700}
.rc-timing-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.rc-timing-list li{display:grid;grid-template-columns:minmax(0,11rem) minmax(0,1fr);gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;min-width:0}
.rc-timing-list span{color:var(--muted);font-size:.82rem;font-weight:800}
.rc-timing-list strong{font-size:.88rem;font-weight:700;overflow-wrap:anywhere}
@media(max-width:560px){.rc-timing-list li{grid-template-columns:1fr;gap:2px}}
.rc-answers{margin-top:4px}.rc-answers summary{cursor:pointer;color:var(--brand-blue-strong);font-weight:750;font-size:.84rem;min-height:30px;display:flex;align-items:center}
.rc-answers ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.rc-answers li{display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:var(--surface)}
.rc-mine{display:grid;gap:14px;margin-bottom:14px}.rc-mine[hidden]{display:none}
/* share sheet + poster */
.jp-share-grid{display:grid;gap:16px;min-width:0}
.jp-share-main,.jp-share-poster{display:grid;gap:10px;align-content:start;min-width:0}
.jp-share-poster h3{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.jp-share-buttons{display:flex;flex-wrap:wrap;gap:8px}.jp-share-buttons>button{flex:1 1 150px;min-height:44px}
.jp-preview{border:1px solid var(--line);border-radius:14px;background:#fff;color:#0f1c2e;padding:14px;min-width:0}
.jp-preview .jp-qr svg{display:block;width:140px;height:auto}
.jp-poster{display:grid;gap:8px;justify-items:center;text-align:center;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#0f1c2e;min-width:0}
.jp-brand{display:flex;align-items:center;gap:10px;justify-self:start;text-align:left;min-width:0}
.jp-logo{width:44px;height:44px;object-fit:contain;border-radius:10px}
.jp-initials{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#e8f0fb;color:#0b3a75;font-weight:900}
.jp-brand-text{display:grid;min-width:0;overflow-wrap:anywhere}.jp-brand-text small{color:#5a6b82}
.jp-kicker{margin:6px 0 0;color:#b45309;font-weight:900;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem}
.jp-title{margin:0;font-size:1.6rem;line-height:1.1;overflow-wrap:anywhere}
.jp-place{margin:0;color:#34465e;font-weight:650}
.jp-how{justify-self:stretch;text-align:left}.jp-how h2{margin:4px 0;font-size:1rem}.jp-how ol{margin:0;padding-left:1.3em;display:grid;gap:2px}
.jp-link{margin:0;color:#5a6b82;font-size:.8rem;overflow-wrap:anywhere}
.jp-print-root{display:none}
@media(min-width:760px){.jp-share-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media print{
  @page{size:A4 portrait;margin:14mm}
  html.jp-printing body>*:not(.jp-print-root){display:none!important}
  html.jp-printing,html.jp-printing body{background:#fff!important;min-width:0!important}
  html.jp-printing .jp-print-root{display:block!important}
  .jp-print-root .jp-poster{gap:5mm;align-content:start}
  .jp-print-root .jp-brand{gap:4mm}.jp-print-root .jp-logo,.jp-print-root .jp-initials{width:16mm;height:16mm;font-size:6mm}
  .jp-print-root .jp-brand-text strong{font-size:7mm}.jp-print-root .jp-brand-text small{font-size:4.5mm}
  .jp-print-root .jp-kicker{font-size:6mm;margin-top:8mm}
  .jp-print-root .jp-title{font-size:15mm}
  .jp-print-root .jp-place{font-size:7mm}
  .jp-print-root .jp-qr svg{width:95mm;height:95mm}
  .jp-print-root .jp-how{margin-top:4mm}.jp-print-root .jp-how h2{font-size:7mm}.jp-print-root .jp-how ol{font-size:5.4mm;gap:2mm}
  .jp-print-root .jp-link{font-size:4mm;margin-top:4mm}
}
/* interview guides (Admin Center) */
.ig-section{display:grid;gap:14px}
.ig-group{display:grid;gap:8px;padding:14px 16px}
.ig-group-title{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ig-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ig-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 12px;border:1px solid var(--line);border-left:4px solid var(--line);border-radius:14px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer}
.ig-row:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus)}
.ig-row.is-positive{border-left-color:var(--review-green-border)}.ig-row.is-review{border-left-color:var(--review-yellow-border)}.ig-row.is-draft{border-left-color:var(--brand-blue-line)}
.ig-row.needs-me{border-color:var(--brand-blue-line);background:linear-gradient(105deg,var(--brand-blue-soft),var(--surface) 60%)}
.ig-row-main{display:grid;gap:2px;min-width:0}.ig-row-main small{color:var(--muted);font-weight:600}
@media(max-width:560px){.ig-row{grid-template-columns:minmax(0,1fr) auto}.ig-row .mr-status{grid-column:1;grid-row:2}.ig-row .mr-chevron{grid-row:1/span 2;grid-column:2}}
.ig-preview{display:grid;gap:12px}
.ig-preview-title{margin:0;font-weight:850}
.ig-preview-area{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted);min-width:0}
.ig-preview-area h4{margin:0;font-size:.95rem}.ig-preview-area h4 small{color:var(--muted);font-weight:700}
.ig-preview-questions{margin:0;padding-left:1.3em;display:grid;gap:8px}
.ig-preview-questions li{display:grid;gap:2px}
.ig-required,.ig-optional{justify-self:start;font-style:normal;font-size:.72rem;font-weight:850;padding:1px 8px;border-radius:999px}
.ig-required{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}.ig-optional{background:var(--surface);color:var(--muted);border:1px solid var(--line)}
.ig-hint{margin:0;color:var(--text-soft);font-size:.84rem}.ig-hint b{font-weight:800}
.ig-decision p{margin:0}
.ig-history summary{cursor:pointer;font-weight:750;min-height:36px;display:flex;align-items:center}
.ig-edit-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.ig-edit-top .mr-intro{margin:0}
.ig-saved{color:var(--muted);font-size:.8rem;font-weight:750}
.ig-edit-area{display:grid;gap:10px;padding:14px;min-width:0}
.ig-edit-area-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:end}
.ig-edit-area-head .ig-edit-tools{grid-column:1/-1}
.ig-number{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.8rem;font-weight:900;box-sizing:border-box}
.ig-field{display:grid;gap:6px;font-weight:750;font-size:.88rem;min-width:0}
.ig-field input,.ig-field textarea,.ig-field select{min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;width:100%;box-sizing:border-box;min-width:0}
.ig-field textarea{min-height:64px;resize:vertical}
.ig-field input:focus,.ig-field textarea:focus,.ig-field select:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ig-edit-questions{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ig-edit-question{display:grid;gap:8px;padding:10px;border:1px dashed var(--line);border-radius:12px;min-width:0}
.ig-edit-question-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ig-toggle{display:inline-flex;align-items:center;gap:6px;font-weight:750;font-size:.86rem;min-height:36px}
.ig-toggle input{width:20px;height:20px;accent-color:var(--brand-blue)}
.ig-edit-tools{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.ig-mini{min-height:36px;padding:4px 10px;font-size:.82rem}
.ig-add-area{justify-self:start;min-height:44px}
.ig-problems ul{margin:4px 0 0;padding-left:1.2em}
.ig-problems p{margin:0}
/* the guided interview */
.ic-section{display:grid;gap:14px}
.ic-list{gap:10px}
.ic-card{display:grid;gap:5px;width:100%;padding:14px 16px;border:1px solid var(--line);border-left:5px solid var(--line);border-radius:16px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer;min-width:0;box-sizing:border-box}
.ic-card:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus)}
.ic-card.is-review{border-left-color:var(--review-yellow-border)}.ic-card.is-blocked{border-left-color:var(--review-red-border)}
.ic-card-name{font-size:1.05rem;overflow-wrap:anywhere}
.ic-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}
.ic-progress-text{color:var(--text-soft);font-weight:750;font-size:.84rem}
.ic-chip{padding:2px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.76rem;font-weight:800}
.ic-open{margin-left:auto;color:var(--brand-blue-strong);font-weight:850}
.ic-marker{display:inline-block;padding:2px 9px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:850}
.ic-marker.is-today{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.ic-marker.is-overdue{background:var(--review-red-bg);color:var(--review-red-text)}
.ic-recent{display:grid;gap:8px;padding:14px 16px}.ic-recent h3{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ic-top{display:grid;gap:10px;min-width:0}
.ic-progress{position:sticky;top:-1px;z-index:2;display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.ic-progress.is-complete{border-color:var(--review-green-border)}
.ic-bar{display:block;height:8px;border-radius:999px;background:var(--surface-muted);overflow:hidden}
.ic-bar-fill{display:block;height:100%;width:0;border-radius:999px;background:var(--brand-blue);transition:width .25s ease}
.ic-progress.is-complete .ic-bar-fill{background:var(--green)}
.ic-area{display:grid;gap:12px;padding:14px;min-width:0}
.ic-area-title{margin:0;font-size:1rem}.ic-area-title small{color:var(--muted);font-weight:700}
.ic-question{display:grid;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:14px;min-width:0}
.ic-question.is-answered{border-color:var(--review-green-border)}
.ic-question.is-missing:not(.is-answered){border-color:var(--review-red-border);box-shadow:0 0 0 3px var(--review-red-bg)}
.ic-question legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px;font-weight:800;max-width:100%}
.ic-question-text{flex:1 1 12rem;min-width:0;overflow-wrap:anywhere}
.ic-rating{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.ic-rate{position:relative;flex:1 1 auto;min-width:0}
.ic-rate input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;width:100%;height:100%}
.ic-rate span{display:grid;place-items:center;min-height:44px;padding:6px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);font-size:.84rem;font-weight:750;text-align:center;box-sizing:border-box}
.ic-rate input:focus-visible+span{outline:3px solid var(--focus)}
.ic-rate input:checked+span{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--brand-blue-strong);box-shadow:0 0 0 2px var(--focus)}
.ic-rating.is-five_point .ic-rate{flex:1 1 calc(20% - 6px)}
@media(max-width:520px){.ic-rating.is-five_point .ic-rate{flex:1 1 100%}.ic-rate span{justify-items:start;text-align:left}}
.ic-note{display:grid;gap:6px;font-weight:700;font-size:.84rem;color:var(--muted)}
.ic-note textarea,.ic-decision textarea{min-height:56px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical;width:100%;box-sizing:border-box}
.ic-reason{display:none}.ic-reason.is-needed{display:grid}
.ic-decision.is-missing,.ic-reason.is-missing{box-shadow:0 0 0 3px var(--review-red-bg)}
.ic-no-show{justify-self:start;min-height:44px}
.ic-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;width:100%}
.ic-actions .ig-saved{margin-right:auto}
.ic-panel-note p{margin:0}
@media(max-width:700px){.ic-actions .primary-button{flex:1 1 100%}.rc-share{flex:1 1 100%;justify-content:center}}
/* ===== end Hiring 2026-09-29 ===== */
.ic-heading{margin:0;font-size:1.05rem}
.ic-rate span{grid-auto-flow:column;gap:6px}.ic-rate b{font-weight:900}.ic-rate small{font-size:.8rem;font-weight:700}
.ic-scale-legend{display:none;margin:0;color:var(--muted);font-size:.76rem;font-weight:700;white-space:pre-wrap}
@media(max-width:520px){.ic-rating.is-five_point,.ic-rating.is-three_point{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
  .ic-rating.is-five_point .ic-rate,.ic-rating.is-three_point .ic-rate{flex:none}
  .ic-rating.is-five_point .ic-rate span,.ic-rating.is-three_point .ic-rate span{justify-items:center;text-align:center;min-height:48px}
  .ic-rating.is-five_point small,.ic-rating.is-three_point small{display:none}
  .ic-scale-legend{display:block}}
.ig-sheet .ig-toggle{display:inline-flex!important;grid-template-columns:none;flex-direction:row;gap:6px}
.ig-sheet .ig-toggle input{margin:0}
/* ===== Online Exam (2026-09-29): the applicant's exam (we-take), the editor (we-edit-*), the live lines (we-live, we-board).
   Same tokens, cards, pills and sheets as the rest of the app; phone first; big touch targets; status colours kept. ===== */
/* `hidden` always wins inside the exam screens (their own display rules would otherwise show hidden parts). */
.we-screen [hidden],.we-take [hidden],.we-take[hidden],.we-sheet [hidden],.we-card [hidden],.we-settings [hidden],.we-board [hidden]{display:none!important}
.we-card .we-card-title{font-weight:800;font-size:1.02rem}
.we-big-button{min-height:54px;font-size:1.05rem;width:100%;justify-content:center}
.we-back{justify-self:start;min-height:44px}
.we-screen{gap:14px}
.we-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.we-instructions{display:grid;gap:6px;padding:12px 14px;border-radius:14px;background:var(--surface-muted)}
.we-instructions h2{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.we-instructions p{margin:0;line-height:1.5}
.we-expect{margin:0;padding-left:20px;display:grid;gap:4px;color:var(--text-soft)}
.we-confirm{display:grid;gap:10px;padding:14px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.we-confirm p{margin:0;font-weight:700}
.we-take{display:grid;gap:12px;min-width:0}
.we-bar{position:sticky;top:64px;z-index:4;display:grid;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}
.we-preview .we-bar{position:static}
.we-bar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.we-bar-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.we-bar-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;color:var(--muted);font-size:.86rem;font-weight:700}
.we-countdown{flex:none;min-width:84px;padding:6px 12px;border-radius:999px;border:1px solid var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.25rem;font-weight:900;font-variant-numeric:tabular-nums;text-align:center}
.we-countdown[data-stage=five]{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.we-countdown[data-stage=one],.we-countdown[data-stage=done]{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text);animation:we-pulse 1s ease-in-out infinite}
@keyframes we-pulse{50%{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.we-countdown{animation:none!important}}
.we-save[data-state=offline],.we-save[data-state=unsent]{color:var(--review-yellow-text)}
.we-warning{padding:12px 14px;border-radius:14px;border:1px solid var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text);font-weight:800}
.we-warning[data-stage=one]{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.we-tools{display:flex;justify-content:flex-end}
.we-mode{min-height:40px}
.we-questions{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.we-question{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.we-q-number{margin:0;color:var(--muted);font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.we-q-text{margin:0;font-size:1.12rem;line-height:1.4;overflow-wrap:anywhere}
.we-choices{display:grid;gap:10px}
.we-choice{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:12px;min-height:56px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface-muted);cursor:pointer;font-weight:650;font-size:1rem;transition:border-color .15s ease,background .15s ease}
.we-choice input{width:22px;height:22px;margin:0;accent-color:var(--brand-blue)}
.we-choice span{overflow-wrap:anywhere}
.we-choice:has(input:checked){border-color:var(--brand-blue);background:var(--brand-blue-soft);box-shadow:0 0 0 3px var(--focus)}
.we-choice:has(input:disabled){cursor:default;opacity:.75}
.we-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.we-nav-button{min-height:52px;justify-content:center}
.we-dots{display:flex;flex-wrap:wrap;gap:6px}
.we-dot{min-width:40px;min-height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text-soft);font-weight:800;cursor:pointer}
.we-dot.is-answered{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.we-dot.is-current{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.we-submit{margin-top:4px}
.we-result{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start;padding:16px;border-radius:18px;border:1px solid var(--line)}
.we-result div{display:grid;gap:6px}.we-result p{margin:0}.we-result h1{margin:0}
.we-result.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.we-result.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.we-result-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:currentColor;font-size:1.5rem;font-weight:900}
.we-result-mark{color:inherit}.we-result.is-positive .we-result-mark{background:var(--green);color:#fff}.we-result.is-blocked .we-result-mark{background:var(--danger);color:var(--on-danger)}
/* the recruiter's live line and board card */
.we-live{display:grid;gap:4px}
.we-live-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0}
.we-live-label{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.we-live-text{font-variant-numeric:tabular-nums}
.we-live.is-draft{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.we-live.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg)}
.we-live.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg)}
.we-live-facts{margin:0}
.we-board{display:grid;gap:10px;padding:16px 18px}
.we-board-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.we-board-head h3{margin:0}
.we-board-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.we-board-row{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.we-board-row .mr-status{font-variant-numeric:tabular-nums}
@media(max-width:520px){.we-board-row{grid-template-columns:minmax(0,1fr) 16px}.we-board-row .mr-status{grid-column:1/-1;grid-row:2}}
.we-more summary{min-height:44px;display:flex;align-items:center;font-weight:800;color:var(--brand-blue-strong);cursor:pointer}
/* Hiring settings › Online exams */
.we-settings{display:grid;gap:14px;padding:18px}
.we-settings-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px}
.we-settings-head h2{margin:2px 0 4px}.we-settings-head p{margin:0}
.we-positions{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.we-position{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-muted)}
.we-position-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.we-position-head h3{margin:0;font-size:1.05rem}
.we-position-type{display:flex;align-items:center;gap:8px}
.we-type{margin:0}
.we-exam-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.we-exam-row{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;min-height:56px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.we-exam-row.needs-me{border-color:var(--review-yellow-border);box-shadow:0 0 0 2px var(--review-yellow-bg)}
.we-exam-main{display:grid;gap:4px;min-width:0}
.we-exam-pills{display:flex;flex-wrap:wrap;gap:6px}
.we-new{justify-self:start;min-height:44px}
/* the editor sheet */
.we-sheet-body{display:grid;gap:14px}
.we-basics{display:grid;gap:12px;margin:0;padding:0;border:0;min-width:0}
.we-basics legend,.we-section{margin:0 0 4px;padding:0;color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.we-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.we-sheet input:not([type=radio]):not([type=checkbox]),.we-sheet textarea,.we-sheet select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit}
.we-edit-questions{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.we-edit-question{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.we-q-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.we-q-head strong{flex:1 1 auto}
.we-points{display:inline-flex!important;align-items:center;gap:6px;font-weight:700;color:var(--muted)}
.we-points input{width:76px!important;min-height:40px!important}
.we-q-tools{display:flex;gap:6px}
.we-icon{min-width:40px;min-height:40px;padding:0 10px}
.we-edit-choices{display:grid;gap:8px}
.we-edit-choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px;border:1px solid var(--line);border-radius:12px}
.we-edit-choice.is-correct{border-color:var(--review-green-border);background:var(--review-green-bg)}
.we-correct{display:inline-flex!important;align-items:center;gap:6px;min-height:40px;padding:0 6px;font-size:.84rem;font-weight:800;color:var(--muted);cursor:pointer}
.we-correct input{width:20px;height:20px;accent-color:var(--green)}
.we-edit-choice.is-correct .we-correct{color:var(--review-green-text)}
.we-add-choice,.we-add-question{justify-self:start;min-height:44px}
.we-summary{margin:0;font-weight:800;color:var(--text-soft)}
.we-decide{display:grid;gap:10px;width:100%}
.we-history summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer}
@media(max-width:520px){
  .we-bar{top:58px}
  /* one line per answer on a phone: the radio says "Correct" to screen readers; the word itself is hidden */
  .we-correct span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .we-correct{padding:0 4px}
  .we-q-head strong{flex:1 1 100%}
  .we-sheet .cs-sheet-actions .mr-action-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .we-sheet .cs-sheet-actions .mr-action-row>.primary-button{grid-column:1/-1;order:-1}
  .we-sheet .cs-sheet-actions .mr-action-row>*{min-height:48px}
}
/* ===== end Online Exam ===== */
/* ===== Approvals & escalation + working calendar (setup step 4; Admin Center › Approvals) — F2, 2026-09-29.
   Decisions Log "Company setup flow v3" step 4, "Working calendar in Launch 1". Reuses the Access & approvals pieces
   (as-panel, as-chip, as-mini, sheets); only what is new lives here (ae-). ===== */
body.setup-mode .main-content:has(.ae-screen){max-width:1240px}
.ae-screen{display:grid;gap:18px}
.ae-panel{gap:12px}
.ae-type{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow);animation:cs-rise .3s ease both}
.ae-type-head h3{margin:0;font-size:1.02rem}
.ae-type-head small{color:var(--muted);font-size:.8rem;font-weight:650}
.ae-people{display:grid;gap:6px}
.ae-people .as-note{margin:0}
.ae-chips{padding-left:0}
.ae-chip-name{min-height:28px;padding:0 10px 0 2px;border:0;background:transparent;color:inherit;font:inherit;font-weight:750;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.ae-chip-name:focus-visible{outline:3px solid var(--focus);border-radius:999px}
.ae-shared{margin:0;padding:8px 10px;border-radius:10px;background:var(--lavender-soft);color:var(--lavender-dark);font-size:.86rem;font-weight:700}
.ae-timing-row{border:1px solid var(--line);border-radius:12px;background:var(--surface-muted)}
.ae-timing-row{flex-wrap:wrap}
.ae-timing-row .cs-row-main{flex:1 1 180px;min-width:0}
.ae-timing-row .cs-row-main strong{white-space:normal;overflow:visible}
.ae-timing-row .cs-row-main span{white-space:normal;color:var(--text-soft);font-size:.84rem}
.ae-path-mini{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;width:100%;min-height:44px;padding:8px 10px;border:1px dashed var(--brand-blue-line);border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font:inherit;font-size:.82rem;text-align:left;cursor:pointer}
.ae-path-mini-label{font-weight:850}
.ae-path-mini-chain{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;font-weight:650}
.ae-path-fix{padding:2px 8px;border-radius:999px;background:var(--review-yellow-bg);color:var(--review-yellow-text);border:1px solid var(--review-yellow-border);font-weight:850;font-size:.72rem}
.ae-path{display:grid;gap:0;margin:0;padding:0;list-style:none}
.ae-path li{position:relative;display:flex;align-items:flex-start;gap:12px;padding:8px 0 14px}
.ae-path li:not(:last-child)::after{content:"";position:absolute;left:15px;top:38px;bottom:0;width:2px;background:var(--brand-blue-line)}
.ae-path li>span:last-child{display:grid;gap:2px}
.ae-path small{color:var(--muted);font-size:.8rem;font-weight:650}
.ae-path-dot{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:900;font-size:.85rem}
.ae-path-start .ae-path-dot{background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong))}
.ae-path-owner .ae-path-dot{background:var(--warm-soft);color:var(--warm-dark);border:1px solid var(--warm-line)}
.ae-path li.is-skipped{opacity:.7}
.ae-path li.is-skipped small{color:var(--review-yellow-text)}
.ae-block{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}
.ae-days-pick{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.ae-day{min-height:44px;min-width:0;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--text-soft);font:inherit;font-weight:800;font-size:.84rem;cursor:pointer}
.ae-day.is-on{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}
.ae-day:focus-visible{outline:3px solid var(--focus)}
.ae-holiday-row{border:1px solid var(--line);border-radius:12px}
.ae-days{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.ae-days li{display:grid;grid-template-columns:minmax(92px,auto) minmax(0,1fr) auto;align-items:center;gap:10px;min-height:40px;padding:4px 6px 4px 10px;border-radius:10px;background:var(--surface-muted)}
.ae-day-date{font-weight:800;font-size:.84rem;color:var(--text-soft);white-space:nowrap}
.ae-day-name{font-weight:700;overflow-wrap:anywhere}
.ae-day-kind{padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:850}
.ae-day-kind.is-national{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.ae-day-kind.is-company{background:var(--lavender-soft);color:var(--lavender-dark)}
.ae-note{margin:0;color:var(--text-soft);font-size:.84rem;font-weight:600}
.ae-note a{color:var(--brand-blue-strong)}
.ae-timing{display:grid;gap:10px}
.ae-suggested{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:8px 10px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);font-weight:800;font-size:.86rem}
.ae-stepper,.ae-toggle,.ae-field{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.ae-field{display:grid;justify-content:stretch}
.ae-stepper-text{display:grid;gap:2px;flex:1 1 180px;min-width:0}
.ae-stepper-text small{color:var(--muted);font-size:.78rem;font-weight:600}
.ae-stepper-controls{display:flex;align-items:center;gap:8px}
.ae-stepper-controls .as-mini{border:1px solid var(--line)}
.ae-stepper-controls .as-mini:disabled{opacity:.4;cursor:not-allowed}
.ae-stepper-value{min-width:128px;text-align:center;font-weight:850;color:var(--ink)}
.ae-toggle input{width:26px;height:26px;accent-color:var(--green)}
.ae-select,.ae-field input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
@media(min-width:1100px){
  .ae-tabs{display:none}
  .ae-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
}
@media(max-width:1099px){
  .ae-tab-approvals .as-panel[data-part=calendar],.ae-tab-calendar .as-panel[data-part=approvals]{display:none}
}
@media(max-width:520px){
  .ae-type{padding:12px 10px}
  .ae-panel{padding:10px 8px}
  .ae-card{padding-left:14px;padding-right:14px}
  .ae-stepper-value{min-width:96px;font-size:.9rem}
  .ae-days li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date kind" "name name"}
  .ae-day-date{grid-area:date}
  .ae-day-name{grid-area:name}
  .ae-day-kind,.ae-days .as-chip-x{grid-area:kind;justify-self:end}
}
/* APPROVALS BY POSITION (Oct 10, 2026): Admin Center › Working calendar draws the calendar alone. */
.ae-columns.ae-calendar-only{display:grid;grid-template-columns:minmax(0,1fr);max-width:760px}
/* ===== end Approvals & escalation ===== */

/* ===== F3: registration, setup flow v3, Administrators, Approval Rules (2026-09-29) ===== */
/* Appearance and Sign out appear once: both live in the Me sheet (the top-bar select and the sidebar button stay in
   the page for the code that clicks them, but are not shown). */
.topbar .theme-control{display:none}
.sidebar-footer #signOut{display:none!important}
/* Admin Center uses the full laptop width: two columns of grouped rows. */
.ac-home,.ac-access,.ad-page,.ar-page{max-width:none}
@media(min-width:1101px){.ac-home{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.ac-home>.ac-hero{grid-column:1/-1}}
/* The setup guide */
.sg-card{display:grid;gap:16px;padding:20px}
.sg-head{display:flex;align-items:center;gap:16px}
.sg-head h2{margin:2px 0 4px}.sg-lead{margin:0;color:var(--text-soft)}.sg-progress-text{color:var(--muted);font-weight:800}
.sg-ring-wrap{position:relative;flex:0 0 auto;width:76px;height:76px}
.sg-ring{width:76px;height:76px}.sg-ring circle{fill:none;stroke-width:8}.sg-ring-track{stroke:var(--line)}.sg-ring-value{stroke:var(--green);stroke-linecap:round;transition:stroke-dasharray .4s ease}
.sg-ring-text{position:absolute;inset:0;display:grid;place-items:center;font-size:.9rem}
.sg-current{display:grid;gap:8px;padding:16px;border:1px solid var(--brand-blue-line);border-radius:var(--radius-md);background:color-mix(in srgb,var(--brand-blue-soft) 45%,var(--surface))}
.sg-current h3{margin:0;font-size:1.2rem}.sg-current p{margin:0}
.sg-current-kicker{font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-blue-strong)}
.sg-label{font-weight:850;color:var(--text-soft)}
.sg-go{justify-self:start;min-height:44px}
.sg-waiting{margin:0;padding:8px 12px;border-radius:10px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-weight:800}
.sg-done{margin:0;padding:8px 12px;border-radius:10px;background:var(--review-green-bg);color:var(--review-green-text);font-weight:800}
.sg-alert{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text)}
.sg-alert .primary-button{justify-self:start}
.sg-golive{display:grid;gap:6px;padding:14px;border:1px solid var(--review-green-border);border-radius:12px;background:var(--review-green-bg);color:var(--review-green-text)}
.sg-golive .primary-button{justify-self:start}
.sg-lists{display:grid;gap:16px}
@media(min-width:1101px){.sg-lists{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sg-list-title{margin:0 0 8px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sg-steps{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.sg-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.sg-step-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface-muted);font-weight:900;font-size:.85rem}
.sg-step.is-done .sg-step-mark{background:var(--green-soft);color:var(--green-dark)}
.sg-step.is-current{border-color:var(--brand-blue-line);box-shadow:0 0 0 2px var(--focus)}
.sg-step.is-current .sg-step-mark{background:var(--brand-blue);color:var(--on-brand)}
.sg-step.is-flagged,.sg-step.is-waiting{border-color:var(--review-yellow-border)}
.sg-step.is-flagged .sg-step-mark,.sg-step.is-waiting .sg-step-mark{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.sg-step.is-later{opacity:.72}
.sg-step-text{display:grid;gap:2px;min-width:0}.sg-step-text small{color:var(--text-soft)}.sg-step-who{color:var(--muted)!important}
.sg-compact .sg-head{gap:12px}.sg-all{justify-self:start}
.sg-blocked{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:22px;border-color:var(--review-yellow-border)}
.sg-blocked h2{margin:0 0 6px}.sg-blocked p{margin:0 0 10px}.sg-blocked-icon{font-size:1.8rem}
.sg-submit{display:grid;gap:10px;padding:20px}.sg-submit h2,.sg-submit p{margin:0}.sg-submit .primary-button{justify-self:start;min-height:44px}
/* Guided-setup screens inside the app */
.fr-in-app .fr-shell{gap:14px}
.fr-v3-head{display:flex}.fr-v3-back{margin:0}
.fr-own-list{display:grid;gap:10px;margin-top:6px;padding:14px;border:1px dashed var(--brand-blue-line);border-radius:12px}
.fr-own-list>div:first-child{display:grid;gap:4px}.fr-own-list span{color:var(--text-soft)}
.fr-own-actions{display:flex;flex-wrap:wrap;gap:8px}
.fr-admins{display:grid;gap:12px;margin-top:14px}
.gl-rules-line{margin:0;padding:10px 12px;border-radius:10px;background:var(--surface-muted);color:var(--text-soft);font-size:.88rem}
/* Administrators */
.ad-page{display:grid;gap:16px}
.ad-intro{padding:16px 18px}.ad-intro p{margin:0 0 6px}
.ad-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.ad-card.is-lapsed{border-color:var(--review-red-border)}
.ad-card-text{display:grid;gap:2px;min-width:0}.ad-detail{color:var(--text-soft)}.ad-areas{color:var(--muted);font-size:.86rem}
.ad-card-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.ad-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ad-empty{display:grid;gap:8px;padding:14px;border:1px dashed var(--line);border-radius:12px}.ad-empty p{margin:0}.ad-empty .primary-button{justify-self:start}
.ad-areas-field{display:grid;gap:6px;border:0;padding:0;margin:0}.ad-areas-field legend{font-weight:850;margin-bottom:6px}
.ac-danger-text{color:var(--danger)!important}
@media(max-width:700px){.ad-card{grid-template-columns:auto minmax(0,1fr)}.ad-card-actions{grid-column:1/-1;justify-content:flex-start}}
/* Approval Rules and settings changes */
.ar-page{display:grid;gap:16px}
.ar-intro{padding:16px 18px}.ar-intro h2{margin:0 0 6px}.ar-intro p{margin:0 0 6px}
.ar-rules{display:grid;gap:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.ar-rule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,260px);align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--line)}
.ar-rule:first-child{border-top:0}
.ar-rule-label{display:grid;gap:2px}.ar-rule-label small{color:var(--muted)}
.ar-rule select{width:100%;min-height:40px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.ar-route{font-weight:800;color:var(--text-soft)}.ar-route.is-locked{color:var(--muted)}
.ar-actions{display:flex;justify-content:flex-end}.ar-save{min-height:44px}
.ar-change-list{display:grid;gap:8px}
.ar-change{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.ar-change-text{display:grid;gap:2px;min-width:0}.ar-change-text small{color:var(--muted)}
.ar-status{font-weight:800;color:var(--text-soft)}.ar-note{margin:4px 0 0;color:var(--text-soft)}
.ar-change.is-waiting_primary,.ar-change.is-waiting_owner{border-color:var(--review-yellow-border)}
.ar-change.is-effective .ar-status{color:var(--green-dark)}
.ar-change-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.ar-recent summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer}
@media(min-width:1101px){.ar-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.ar-page>.ar-changes,.ar-page>.ar-recent,.ar-page>.ar-intro,.ar-page>.ar-actions{grid-column:1/-1}}
@media(max-width:700px){.ar-rule{grid-template-columns:1fr}.ar-change{grid-template-columns:1fr}.ar-change-actions{justify-content:flex-start}}
/* Step 5: approved headcount, pre-filled */
.hc3-page{display:grid;gap:14px}
.hc3-body{display:grid;gap:14px}
.hc3-grid{display:grid;gap:12px}
@media(min-width:1101px){.hc3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hc3-card{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.hc3-card header{display:grid;gap:2px}.hc3-card header small{color:var(--muted)}
.hc3-rows{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.hc3-rows li{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hc3-branch{display:grid;gap:2px}.hc3-branch small{color:var(--muted)}
.hc3-stepper{display:inline-flex;align-items:center;gap:6px}.hc3-stepper input{width:72px;min-height:40px;text-align:center;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.hc3-footer{display:grid;gap:8px;padding:14px;border-radius:14px;background:var(--surface-muted)}.hc3-footer .primary-button{justify-self:start;min-height:44px}
.hc3-totals{margin:0;font-weight:850}
/* Registration */
.rg-view h1{margin:6px 0 4px}
.rg-view .rg-form{text-align:left}.rg-view .rg-form label,.rg-view .rg-field{justify-items:stretch;text-align:left}
.rg-form{display:grid;gap:12px;margin-top:12px}
.rg-dots{display:flex;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.rg-dots li{width:28px;height:6px;border-radius:999px;background:var(--line)}.rg-dots li.is-on{background:var(--brand-blue)}.rg-dots li.is-done{background:var(--green)}
.rg-industries{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.rg-industries .fr-industry.is-selected{border-color:var(--brand-blue);box-shadow:0 0 0 2px var(--focus)}
.rg-field{display:grid;gap:6px}.rg-label{font-weight:750}
.rg-notice{padding:8px 12px;border-radius:10px;background:var(--surface-muted)}.rg-notice p{margin:6px 0 0}.rg-notice summary{cursor:pointer;font-weight:800}
.rg-accept{font-weight:750}
.rg-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.rg-actions .primary-button{min-height:44px}
.rg-next{margin:0;padding:10px 12px;border-radius:10px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:750}
.signed-out .login:has(.rg-view:not([hidden])){max-width:640px;width:100%}
/* Platform admin page */
.pa-main{max-width:960px;margin:0 auto;padding:22px 16px 60px}
.pa-registrations{display:grid;gap:10px;margin-top:12px}
.pa-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px}
.pa-row.is-waiting{border-color:var(--review-yellow-border)}
.pa-text{display:grid;gap:2px;min-width:0}.pa-text span,.pa-text small{color:var(--text-soft)}.pa-when{color:var(--muted)!important}
.pa-activate{min-height:44px}
.pa-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pa-decline{min-height:44px}
.pa-done summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer}
@media(max-width:520px){.pa-row{grid-template-columns:1fr}.pa-actions{justify-content:stretch}.pa-activate,.pa-decline{flex:1 1 0}}
/* ===== end F3 ===== */

/* ===== Hiring QA fixes (2026-09-29, scratchpad audit/qa-hiring.md) ===== */
/* m15: a sheet never grows past the screen — the body scrolls, the footer (the buttons) stays in view. */
.cs-sheet-form{min-height:0}
.cs-sheet-body{flex:1 1 auto;min-height:0}
.cs-sheet-actions{flex:0 0 auto;padding-bottom:max(18px,env(safe-area-inset-bottom))}
@supports (height:100dvh){.cs-sheet{max-height:min(88dvh,860px)}.cs-sheet-wide{max-height:92dvh}@media(max-width:720px){.cs-sheet{max-height:92dvh}}}
/* c5: grouped fields (a deadline, manual exam numbers, Yes / No) look like the other fields, not a browser box. */
.rc-fieldset{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}
.rc-legend{padding:0;margin:0 0 2px;color:var(--ink);font-size:.9rem;font-weight:750}
.rc-yesno{grid-template-columns:1fr 1fr}
/* M7: the applicant's mobile is tappable; Call hands off to the phone's own calling app. */
.rc-call{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;margin-left:auto;padding:9px 16px;text-decoration:none;align-self:center}
.mr-hero:has(.rc-call){flex-wrap:wrap}
.rc-tel{color:var(--brand-blue-strong);font-weight:750;text-decoration:underline;text-underline-offset:2px}
.rc-email{overflow-wrap:normal;word-break:normal}
.rc-messages li.is-applicant{border-left:3px solid var(--brand-blue);padding-left:10px}
.rc-checked{display:grid;gap:2px;margin:6px 0 0;padding:0;list-style:none;font-size:.88rem;color:var(--muted)}.rc-checked .is-done{color:var(--green-dark)}
.rc-pass-mark{font-weight:750;color:var(--ink)}
.ap-message.is-mine{background:var(--brand-blue-soft);justify-self:end;max-width:92%}
.ap-message-who{color:var(--muted);font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.ap-reply{display:grid;gap:10px;padding-top:4px}
.ap-reply textarea{min-height:88px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:500;resize:vertical}
.ic-checks{padding:12px;border:1px solid var(--line);border-radius:12px}
.ic-check .ig-required{margin-left:6px}
/* c6: the Calendar's Month / Week / List switch stays on one row. */
.calendar-controls>.segmented-choice{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
/* c9: in the device's dark mode, primary buttons keep readable dark text (as the explicit dark theme already does). */
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .primary-button{color:#07182e}}
/* m16: phone share targets when the system Share sheet is missing. */
.jp-share-to{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.jp-share-to .mr-hint{flex:1 1 100%}
.jp-share-app{flex:1 1 90px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
/* m15: a step form inside a sheet footer keeps its Back / Save row in view while its fields scroll. */
.rc-step-form>.mr-action-row{position:sticky;bottom:-18px;z-index:1;margin-top:4px;padding:8px 0 18px;background:var(--surface)}
/* m11: a notice's two links do not run together. */
.notification-conversation-button+.notification-conversation-button{margin-left:14px}
/* ===== end Hiring QA fixes ===== */

/* ===== WP-R Recruitment steps (Admin Center › Hiring › Recruitment steps, 2026-09-30) — mock-up S0-Steps ===== */
.rs-page{display:flex;flex-direction:column;gap:14px;grid-column:1/-1}
.rs-intro{margin:0;color:var(--text-soft);font-size:14px}
.rs-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.rs-nav{display:flex;flex-direction:column;gap:10px;min-width:0}
.rs-label{margin:0;font-size:13px;font-weight:800;color:var(--text-soft)}
.rs-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--text-soft)}
.rs-search:focus-within{box-shadow:0 0 0 3px var(--focus)}
.rs-search-icon{width:14px;height:14px;border:2px solid currentColor;border-radius:50%;position:relative;flex:0 0 auto;box-sizing:border-box}
.rs-search-icon::after{content:"";position:absolute;width:6px;height:2px;background:currentColor;right:-5px;bottom:-3px;transform:rotate(45deg)}
.rs-search .rs-search-input,.rs-search .rs-search-input:focus{flex:1 1 auto;min-width:0;border:0;outline:0;box-shadow:none;padding:0;background:transparent;color:var(--text);font:inherit;font-size:15px;min-height:40px}
.rs-nav-list{display:flex;flex-direction:column;gap:8px}
.rs-nav-item{display:flex;align-items:center;gap:8px;min-height:52px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;font:inherit}
.rs-nav-item:hover{box-shadow:var(--shadow)}
.rs-nav-item.is-current,.rs-nav-default{border-color:var(--brand-blue-line)}
.rs-nav-item.is-current{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.rs-nav-text{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.rs-nav-text strong{font-size:15px}
.rs-nav-text small,.rs-nav-hit small{font-size:12px;font-weight:600;color:var(--text-soft)}
.rs-nav-hit{display:flex;flex-direction:column;align-items:flex-start;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer;font:inherit;text-align:left}
.rs-hint,.rs-help,.rs-footer{margin:0;font-size:12px;color:var(--text-soft)}
.rs-table-card{display:flex;flex-direction:column;gap:10px;padding:16px;min-width:0}
.rs-table-title{margin:0;font-size:16px}
.rs-chips{display:flex;flex-wrap:wrap;gap:8px}
.rs-chip{min-height:36px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.rs-chip.is-on{background:var(--brand-blue-soft);border-color:var(--brand-blue-line);color:var(--brand-blue-strong)}
.rs-rows{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.rs-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;min-height:52px;padding:0 12px;border-bottom:1px solid var(--line);background:var(--surface)}
.rs-row:last-child{border-bottom:0}
.rs-row.is-selected{background:var(--brand-blue-soft)}
.rs-row-head{min-height:34px;grid-template-columns:24px minmax(0,1.4fr) minmax(0,1fr) minmax(0,.6fr) 64px;font-size:12px;font-weight:800;color:var(--text-soft);background:var(--surface-muted)}
.rs-tick{width:20px;height:20px;margin:0;accent-color:var(--brand-blue-strong)}
.rs-row-open{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.6fr) 64px;gap:10px;align-items:center;min-height:50px;padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.rs-row-name{overflow-wrap:anywhere}
.rs-row-tags{display:flex;flex-wrap:wrap;gap:6px}
.rs-row-go{color:var(--brand-blue-strong);font-weight:800;text-align:right}
.rs-tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}
.rs-tag.is-default{background:var(--surface-muted);color:var(--text-soft)}
.rs-tag.is-custom{background:var(--lavender-soft);color:var(--lavender-dark)}
.rs-tag.is-waiting{background:var(--review-yellow-bg);color:var(--review-yellow-text);border:1px solid var(--review-yellow-border)}
.rs-selection{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--brand-navy);color:var(--surface);font-weight:800;font-size:14px}
.rs-selection[hidden]{display:none}
.rs-selection-go,.rs-selection-clear{min-height:40px;padding:6px 12px;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}
.rs-selection-go{border:0;background:var(--surface);color:var(--brand-navy)}
.rs-selection-clear{border:1px solid color-mix(in srgb,var(--surface) 45%,transparent);background:transparent;color:var(--surface)}
.rs-grow{flex:1 1 auto}
.rs-empty{margin:0;padding:20px;text-align:center;font-size:14px;color:var(--text-soft)}
/* the pop-up editor */
dialog.rs-sheet{width:min(1120px,96vw)}
.rs-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.rs-editor{display:flex;flex-direction:column;gap:12px;min-width:0}
.rs-editor-sub{margin:0;color:var(--text-soft);font-size:14px}
.rs-segment{display:inline-flex;align-self:flex-start;padding:4px;border-radius:999px;background:var(--surface-muted);gap:2px}
.rs-segment button{min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:transparent;color:var(--text-soft);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.rs-segment button.is-on{background:var(--surface);color:var(--brand-blue-strong);box-shadow:0 2px 6px rgba(22,73,132,.12)}
.rs-banner{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:10px 14px;border-radius:12px;background:var(--brand-blue-soft);color:var(--text);font-size:14px}
.rs-banner.is-waiting{background:var(--review-yellow-bg);border:1px solid var(--review-yellow-border);color:var(--review-yellow-text)}
.rs-steps-title{margin:4px 0 0;font-size:15px}
.rs-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.rs-step{display:flex;flex-direction:column;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.rs-step.is-own{background:var(--lavender-soft);border-color:var(--lavender-line)}
.rs-step.is-editing{border:2px solid var(--brand-blue-line);background:var(--brand-blue-soft)}
.rs-step.is-dragging{opacity:.5}
.rs-steps.is-readonly .rs-days,.rs-steps.is-readonly .rs-icon-button{opacity:.55}
.rs-step-head{display:flex;align-items:center;gap:10px}
.rs-handle{flex:0 0 16px;color:var(--muted);font-size:16px;cursor:grab;user-select:none}
.rs-step-text{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.rs-step-text strong{font-size:15px}
.rs-step-text small{font-size:12px;color:var(--text-soft)}
.rs-step-note{font-style:italic}
.rs-own{font-size:11px;font-weight:800;color:var(--lavender-dark)}
.rs-lock{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--text-soft)}
.rs-lock-icon{width:9px;height:7px;border:2px solid currentColor;border-radius:2px;position:relative;margin-top:4px}
.rs-lock-icon::before{content:"";position:absolute;left:0;top:-7px;width:5px;height:5px;border:2px solid currentColor;border-bottom:0;border-radius:4px 4px 0 0}
.rs-days{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}
.rs-days-value{min-width:78px;text-align:center;font-size:14px}
.rs-days-button,.rs-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border-radius:10px;border:1px solid var(--brand-blue-line);background:var(--surface);color:var(--brand-blue-strong);font:inherit;font-size:18px;font-weight:800;cursor:pointer}
.rs-icon-button{border-color:var(--line);font-size:15px}
.rs-icon-button.is-danger{color:var(--review-red-text)}
.rs-days-button:disabled,.rs-icon-button:disabled{cursor:default;opacity:.45}
.rs-icon-spacer{width:36px;flex:0 0 36px}
.rs-add{display:flex;justify-content:center;align-items:center;height:26px}
.rs-add-button{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 10px;border:1px dashed var(--brand-blue-line);border-radius:999px;background:var(--page);color:var(--brand-blue-strong);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.rs-add-button:disabled{visibility:hidden}
.rs-step-form{display:flex;flex-direction:column;gap:10px;padding:2px 2px 2px 26px}
.rs-form-row{display:flex;flex-wrap:wrap;gap:10px}
.rs-field{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800;color:var(--text-soft)}
.rs-field input,.rs-field select{min-height:44px;box-sizing:border-box;padding:0 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:15px;font-weight:600}
.rs-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.rs-move{display:flex;gap:8px;flex-wrap:wrap}
.rs-done{min-height:40px;padding:0 18px;border:0;border-radius:999px;font-weight:800;cursor:pointer}
.rs-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:0}
.rs-means{display:flex;flex-direction:column;gap:10px;padding:16px}
.rs-means h3,.rs-also h3{margin:0;font-size:15px}
.rs-means-row{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.rs-means-row span{color:var(--text-soft)}
.rs-means-row strong{white-space:nowrap}
.rs-title{margin:0;font-size:22px;letter-spacing:-.01em}
.rs-means small{font-size:12px;color:var(--text-soft)}
.rs-means-problem{margin:0;padding:8px 10px;border-radius:10px;background:var(--review-red-bg);color:var(--review-red-text);font-size:13px}
.rs-also{display:flex;flex-direction:column;gap:8px;padding:16px}
.rs-also-list{display:flex;flex-direction:column}
.rs-also-row{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600}
.rs-also-row input{width:18px;height:18px;accent-color:var(--brand-blue-strong)}
.rs-also-row small{color:var(--text-soft)}
.rs-sheet .cs-sheet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
@media (max-width:900px){
  .rs-layout{grid-template-columns:minmax(0,1fr)}
  .rs-editor-layout{grid-template-columns:minmax(0,1fr)}
  .rs-side{position:static;order:-1}
}
@media (max-width:640px){
  .rs-row-head{display:none}
  .rs-row-open{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;padding:8px 0}
  .rs-row-tags{grid-column:1;grid-row:2}
  .rs-row-total{grid-column:2;grid-row:1;text-align:right;color:var(--text-soft)}
  .rs-row-go{grid-column:2;grid-row:2}
  .rs-step-head{flex-wrap:wrap}
  .rs-handle{display:none}
  .rs-step-text{flex-basis:100%}
  .rs-days-value{min-width:64px}
  .rs-step-form{padding-left:0}
  .rs-sheet .cs-sheet-actions>*{flex:1 1 auto}
  .rs-sheet .cs-sheet-actions>.rs-grow{display:none}
}
/* ===== end WP-R Recruitment steps ===== */
/* ===== WP-P (2026-09-30): Admin Center › Hiring › Manpower requests — who can ask, who approves (mock-up S0-Approvals) ===== */
.mra-page{display:grid;gap:16px}
.mra-head{display:grid;gap:4px}
.mra-crumbs{margin:0;color:var(--text-soft);font-size:.92rem}
.mra-layout{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:18px;align-items:start}
.mra-nav{display:grid;gap:10px;padding:14px;position:sticky;top:calc(var(--topbar-h) + 12px)}
.mra-label{margin:0;font-size:.82rem;font-weight:800;color:var(--text-soft)}
.mra-search input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
.mra-search input:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.mra-nav-list{display:grid;gap:8px}
.mra-nav-item,.mra-nav-hit{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.mra-nav-item.is-current{background:var(--brand-blue-soft);border-color:var(--brand-blue-line);color:var(--brand-blue-strong)}
.mra-nav-item:hover,.mra-nav-hit:hover{border-color:var(--brand-blue-line)}
.mra-nav-text{display:grid;gap:2px;flex:1;min-width:0}
.mra-nav-text small,.mra-nav-hit small{color:var(--text-soft);font-weight:700;font-size:.8rem}
.mra-nav-hit{flex-direction:column;align-items:flex-start;background:var(--surface-muted)}
.mra-chevron{color:var(--text-soft)}
.mra-hint{color:var(--text-soft);font-size:.8rem}
.mra-main{display:grid;gap:16px;min-width:0}
.mra-ask{display:flex;align-items:center;gap:12px;padding:14px 16px}
.mra-ask-text{display:grid;gap:3px;flex:1;min-width:0}
.mra-ask-who{font-weight:800}
.mra-ask-text small{color:var(--text-soft)}
.mra-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--brand-blue-strong);font-weight:800;cursor:pointer}
.mra-icon-button.is-danger{color:var(--danger)}
.mra-icon-button:disabled,.mra-stepper button:disabled,.mra-handle:disabled{opacity:.45;cursor:default}
.mra-positions{display:grid;gap:12px;padding:16px}
.mra-positions h2{margin:0;font-size:1.05rem}
.mra-chips{display:flex;flex-wrap:wrap;gap:8px}
.mra-chip{min-height:36px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font:inherit;font-weight:750;cursor:pointer}
.mra-chip.is-on{background:var(--brand-blue-soft);border-color:var(--brand-blue-line);color:var(--brand-blue-strong)}
.mra-table{display:grid;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.mra-row{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;border-top:1px solid var(--line);background:var(--surface)}
.mra-row:first-child{border-top:0}
.mra-row.is-selected{background:var(--brand-blue-soft)}
.mra-row-head{grid-template-columns:44px minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1.4fr) 70px;padding:8px 0;background:var(--surface-muted);font-size:.8rem;font-weight:800;color:var(--text-soft)}
.mra-cell-check{display:flex;justify-content:center}
.mra-cell-check input{width:20px;height:20px}
.mra-row-open{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1.4fr) 70px;align-items:center;gap:8px;min-height:50px;padding:8px 12px 8px 0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.mra-cell-tag{display:flex;flex-wrap:wrap;gap:4px}
.mra-cell-who{color:var(--text-soft);font-size:.92rem}
.mra-open{color:var(--brand-blue-strong);font-weight:800;text-align:right}
.mra-tag{display:inline-flex;padding:2px 8px;border-radius:7px;font-size:.78rem;font-weight:800;background:var(--surface-muted);color:var(--text-soft)}
.mra-tag.is-custom{background:var(--lavender-soft);color:var(--lavender-dark)}
.mra-tag.is-senior{background:var(--warm-soft);color:var(--warm-dark)}
.mra-tag.is-waiting{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.mra-none{margin:0;padding:14px;color:var(--text-soft)}
.mra-selection{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--brand-blue-soft)}
.mra-spacer{flex:1}
.mra-foot{display:flex;justify-content:space-between;color:var(--text-soft);font-size:.82rem}
.mra-empty{padding:18px}
.mra-sheet.cs-sheet-wide{width:min(1120px,96vw)}
.mra-sheet-sub{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:0 18px}
.mra-sheet-sub .cs-sheet-sub{margin:10px 0 0}
.mra-seg{display:inline-flex;gap:2px;margin-top:8px;padding:4px;border-radius:999px;background:var(--surface-muted)}
.mra-seg-button,.mra-seg-on{min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:transparent;color:var(--text-soft);font:inherit;font-weight:800;font-size:.86rem;cursor:pointer}
.mra-seg-on,.mra-seg-button.mra-seg-on{background:var(--surface);color:var(--brand-blue-strong);box-shadow:0 1px 4px rgba(13,47,103,.12)}
.mra-pop{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:20px;align-items:start}
.mra-pop-left,.mra-pop-right{display:grid;gap:16px;min-width:0}
.mra-pop-section{display:grid;gap:8px}
.mra-pop-section h3{margin:0;font-size:.98rem}
.mra-ro-note{margin:0;padding:10px 14px;border-radius:12px;background:var(--brand-blue-soft);color:var(--ink)}
.mra-step{display:grid;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.mra-step.is-editing{border:2px solid var(--brand-blue-line);background:var(--surface-muted)}
.mra-step.is-urgent{background:var(--warm-soft);border-color:var(--warm-line)}
.mra-step.is-locked{background:var(--surface-muted)}
.mra-step-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mra-step-text{display:grid;gap:2px;flex:1 1 200px;min-width:0}
.mra-step-text small{color:var(--text-soft)}
.mra-step-flag{color:var(--warm-dark);font-size:.78rem;font-weight:800}
.mra-lock{color:var(--text-soft);font-size:.78rem;font-weight:800}
.mra-handle{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:40px;border:0;background:transparent;color:var(--text-soft);font-weight:800;cursor:grab}
.mra-handle.is-hidden{visibility:hidden}
.mra-stepper{display:inline-flex;align-items:center;gap:6px}
.mra-stepper button{min-width:40px;min-height:40px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--brand-blue-strong);font-size:1.1rem;font-weight:800;cursor:pointer}
.mra-stepper strong{min-width:92px;text-align:center;color:var(--text-soft);font-size:.92rem}
.mra-step-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;align-items:end}
.mra-field{display:grid;gap:6px;font-weight:750;font-size:.86rem}
.mra-add{justify-self:start;min-height:40px;padding:6px 14px;border:1px dashed var(--brand-blue-line);border-radius:999px;background:transparent;color:var(--brand-blue-strong);font:inherit;font-weight:800;cursor:pointer}
.mra-add.is-urgent{border-color:var(--warm-line);color:var(--warm-dark)}
.mra-add:disabled{opacity:.45;cursor:default}
.mra-branches{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:12px}
.mra-branches legend{font-weight:750;font-size:.86rem}
.cs-sheet-body label.mra-check{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.cs-sheet-body .mra-check input{min-height:auto;width:18px;height:18px}
.mra-example{display:grid;gap:8px;padding:14px 16px}
.mra-example h3{margin:0 0 4px;font-size:1rem}
.mra-example-row{display:flex;justify-content:space-between;gap:12px;font-size:.92rem}
.mra-example-row span{color:var(--text-soft)}
.mra-example-row.is-late strong{color:var(--review-red-text)}
.mra-example small{color:var(--text-soft)}
.mra-also{display:grid;gap:8px;padding:14px 16px}
.mra-also h3{margin:0;font-size:.98rem}
.mra-also-list{display:grid;gap:6px}
.mra-sheet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.mra-sheet-actions .primary-button{min-height:48px}
.mra-ask-edit{display:grid;gap:10px}
.mra-ask-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:8px;align-items:center}
@media(max-width:900px){
  .mra-layout{grid-template-columns:1fr}
  .mra-nav{position:static}
  .mra-nav-list{grid-auto-flow:column;grid-auto-columns:minmax(160px,1fr);overflow-x:auto;padding-bottom:4px}
  .mra-pop{grid-template-columns:1fr}
}
@media(max-width:640px){
  .mra-row-head{display:none}
  .mra-row{grid-template-columns:40px minmax(0,1fr)}
  .mra-row-open{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name open" "tag tag" "who who";row-gap:4px}
  .mra-cell-name{grid-area:name}.mra-cell-tag{grid-area:tag}.mra-cell-who{grid-area:who}.mra-open{grid-area:open}
  .mra-ask-row{grid-template-columns:1fr auto}
  .mra-stepper strong{min-width:70px}
  .mra-sheet-actions{flex-direction:column;align-items:stretch}
  .mra-sheet-actions .mra-spacer{display:none}
  .mra-sheet.cs-sheet-wide{width:100vw;max-width:100vw}
}
/* ===== end WP-P ===== */
/* ===== WP-A Admin Center space (2026-09-30) =====
   The Admin Center is a separate space (Coi 2026-09-29 evening; approved mock-ups S0-AdminCenter / S0-Approvals /
   S0-Steps): one button on Home; inside, its own side menu (laptop) — tablet and phone hide the rail and the tab bar and
   use the Overview as the first screen, with "‹ Back to …" pills. Tokens only: light and dark follow Appearance. */

/* The one back button (Coi, approved): a blue pill "‹ Back to …", at least 44px tall, clear in light and dark. */
.nh-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;box-sizing:border-box;margin:0;padding:0 18px 0 12px;border:0;border-radius:999px;background:var(--brand-blue-strong);color:var(--surface);font:inherit;font-size:.95rem;font-weight:800;line-height:1.1;text-align:left;cursor:pointer;box-shadow:0 6px 16px rgba(20,100,204,.22);transition:background-color .16s ease,box-shadow .16s ease,transform .16s var(--ease-ios)}
.nh-back:hover{background:var(--brand-blue);box-shadow:0 8px 20px rgba(20,100,204,.28)}
.nh-back:active{transform:scale(.97)}
.nh-back:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.nh-back-chevron{font-size:1.45rem;line-height:1;margin-top:-2px}
.nh-back-label{overflow-wrap:anywhere}

/* Home: the one way in (administrators only). */
.acs-entry{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 18px;border-color:var(--brand-blue-line);background:linear-gradient(120deg,var(--surface) 0,var(--brand-blue-soft) 100%);color:var(--text);font:inherit;text-align:left;cursor:pointer;box-shadow:0 6px 18px rgba(22,73,132,.06);transition:box-shadow .18s ease,transform .16s var(--ease-ios)}
.acs-entry:hover{box-shadow:var(--shadow-hover)}
.acs-entry:active{transform:scale(.99)}
.acs-entry:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.acs-entry-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:#fff;font-size:1.3rem;box-shadow:0 8px 18px rgba(31,104,193,.22)}
.acs-entry-text{display:grid;gap:2px;flex:1;min-width:0}
.acs-entry-text strong{font-size:1.02rem}
.acs-entry-text small{color:var(--muted);font-size:.84rem;font-weight:650}
.acs-entry-chevron{flex:none;color:var(--muted);font-size:1.3rem}

/* The Admin Center's own side menu (reuses the sidebar's .nav classes). */
body.in-admin-center .navigation{gap:4px}
.acs-menu-head{display:grid;justify-items:start;gap:8px;padding:0 0 6px}
.acs-menu-title{padding:6px 10px 0;color:var(--text);font-size:1.25rem;font-weight:850;letter-spacing:-.01em}
.acs-nav-group .nav-icon{display:none}
.acs-nav-group .nav-toggle{grid-template-columns:minmax(0,1fr) auto auto;color:var(--text)}
.acs-nav-group .nav-button{grid-template-columns:minmax(0,1fr) auto}
.acs-nav-group .nav-child{padding-left:22px}
.acs-nav-group.has-current>.nav-toggle{background:color-mix(in srgb,var(--brand-blue-soft) 70%,transparent);color:var(--brand-blue-strong)}
.acs-count{color:var(--muted);font-size:.78rem;font-weight:800}
.acs-soon{color:var(--muted);font-size:.68rem;font-weight:750;white-space:nowrap}
.nav-button.is-unavailable:not([aria-current=page]) .nav-label,.acs-card-row.is-unavailable .acs-card-row-label{color:var(--muted)}

/* Page header inside the Admin Center: breadcrumb instead of the kicker; the back pill on tablet and phone. */
body.in-admin-center #viewKicker{display:none}
.acs-page-head{display:grid;justify-items:start;gap:8px;margin:0 0 4px}
.acs-crumbs{margin:0;color:var(--muted);font-size:.8rem;font-weight:750;letter-spacing:.01em}
.acs-page-back,.acs-leave-page{width:max-content}

/* Overview: search + the six groups as cards. */
.acs-overview{display:grid;gap:16px;max-width:1120px}
.acs-search{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--muted)}
.acs-search:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px var(--focus)}
.acs-search-icon{position:relative;flex:none;width:13px;height:13px;margin:-3px 3px 0 0;border:2px solid currentColor;border-radius:50%}
.acs-search-icon::after{content:"";position:absolute;right:-5px;bottom:-5px;width:2px;height:7px;border-radius:2px;background:currentColor;transform:rotate(-45deg)}
.acs-search .acs-search-input{flex:1;min-width:0;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text);font:inherit;font-size:1rem;outline:none}
.acs-empty{margin:0;color:var(--muted);font-weight:700}
.acs-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.acs-column{display:grid;gap:14px;align-content:start}
.acs-card{display:grid;gap:2px;padding:16px 18px 8px;background:var(--surface)}
.acs-card-title{margin:0 0 6px;font-size:1rem;font-weight:850}
.acs-card-rows{display:grid}
.acs-card-row{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 2px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:.95rem;font-weight:700;text-align:left;cursor:pointer;transition:color .16s ease}
.acs-card-row-label{flex:1;min-width:0}
.acs-card-row-chevron{flex:none;color:var(--muted);font-size:1.15rem}
.acs-card-row:hover .acs-card-row-label,.acs-card-row:focus-visible .acs-card-row-label{color:var(--brand-blue-strong)}
.acs-card-row:focus-visible{outline:3px solid var(--focus);outline-offset:1px;border-radius:8px}
.acs-not-available{max-width:760px}

/* An item that opens one card of a longer page: that card is scrolled to and briefly outlined. */
.acs-focus{scroll-margin-top:calc(var(--topbar-h) + 20px);outline:3px solid var(--brand-blue);outline-offset:4px;border-radius:18px;transition:outline-color .4s ease}

/* Laptop: the side menu holds the way back, so the page pills are not repeated. */
@media(min-width:1101px){.acs-page-back,.acs-leave-page{display:none}}
/* Tablet and phone: no rail and no tab bar inside the Admin Center; the Overview is its first screen. */
@media(max-width:1100px){
  body.in-admin-center .app-shell{grid-template-columns:minmax(0,1fr)}
  body.in-admin-center .sidebar,body.in-admin-center .sidebar-backdrop{display:none!important}
}
@media(max-width:700px){
  /* Overnight fix 2026-10-09 (audit #12): the phone tab bar stays inside Admin Center, so Home is always one tap away. */
  .acs-cards{display:flex;flex-direction:column;align-items:stretch;gap:14px}
  .acs-column{display:contents}
  .acs-card{order:var(--acs-order,0)}
  .acs-entry{padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){.nh-back,.acs-entry,.acs-card-row,.acs-focus{transition:none}}
/* ===== end WP-A Admin Center space ===== */
/* ===== WP-M (2026-09-30): Manpower Requests page (approved headcount table), New Manpower Request pop-up, date check,
 * approver / urgent approver / requester blocks — mock-ups R1-Request, R1-Pop, A1-Approver, R2-Urgent, A3-Status.
 * Existing tokens and Smart Review colours only; full lists (no inner scroll box — Coi); no sideways scroll. ===== */
.mp-page{display:grid;gap:18px;min-width:0}
.mp-headcount{display:grid;gap:12px;padding:16px 18px;min-width:0}
.mp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mp-title{margin:0;font-size:1.1rem}
.mp-make{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 18px 10px 12px;border-radius:14px;font-size:1rem}
.mp-branch-pick{display:flex;align-items:center;gap:10px;font-weight:750;font-size:.9rem}
.mp-branch-pick select{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit}
.mp-table{display:grid;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.mp-row{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(64px,.6fr));align-items:center;gap:10px;min-height:48px;padding:0 14px;border-bottom:1px solid var(--line);background:var(--surface)}
.mp-row:last-child{border-bottom:0}
.mp-row-head{min-height:36px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:800}
.mp-row-head span:not(:first-child),.mp-cell-num{text-align:center}
.mp-row-group{grid-template-columns:minmax(0,1fr) auto;min-height:36px;background:var(--surface-muted);color:var(--text-soft);font-size:.74rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.mp-cell-name{overflow-wrap:anywhere;font-size:.95rem}
.mp-cell-num{font-variant-numeric:tabular-nums;font-weight:700}
.mp-cell-num.is-hiring{color:var(--brand-blue-strong);font-weight:850}
.mp-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--text-soft);font-size:.84rem}
.mp-note{margin:0;color:var(--muted);font-size:.84rem;line-height:1.45}
.mp-search{max-width:520px}
/* the pop-up */
dialog.mp-sheet{width:min(1160px,96vw)}
.mp-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 22px 14px;border-bottom:1px solid var(--line);background:var(--surface)}
.mp-sheet-head h2{margin:0;font-size:1.35rem}
.mp-sub{margin:4px 0 0;color:var(--text-soft);font-size:.88rem}
.mp-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}
.mp-close:focus-visible{outline:3px solid var(--focus)}
.mp-body{background:var(--page-accent)}
.mp-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:start;min-width:0}
.mp-left,.mp-right{display:grid;gap:12px;align-content:start;min-width:0}
.mp-pos-card{display:grid;gap:12px;padding:14px;border:2px solid var(--brand-blue-line);border-radius:16px;background:var(--surface)}
.mp-pos-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.mp-pos-head>div{display:grid;min-width:0}
.mp-pos-head small{color:var(--muted);font-size:.8rem}
.mp-pill{flex:none;padding:3px 10px;border-radius:999px;font-size:.76rem;font-weight:850;border:1px solid var(--line);background:var(--surface-muted);color:var(--text-soft)}
.mp-pill.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.mp-pill.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.mp-pill.is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.mp-pill.is-info{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.mp-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mp-box{display:grid;justify-items:center;align-content:center;gap:6px;min-height:92px;padding:10px 8px;border-radius:14px;background:var(--surface-muted);text-align:center;min-width:0}
.mp-box>span{font-size:.76rem;font-weight:800;color:var(--text-soft);line-height:1.25;overflow-wrap:anywhere}
.mp-box>strong{font-size:1.6rem;line-height:1;color:var(--brand-navy)}
.mp-box.is-ask{border:2px solid var(--brand-blue-line);background:var(--surface)}
.mp-box.is-ask>span{color:var(--brand-blue-strong)}
.mp-box.is-after{background:var(--review-green-bg)}
.mp-box.is-after>span,.mp-box.is-after>strong{color:var(--review-green-text)}
.mp-box select.mp-qty{min-height:46px;min-width:84px;padding:6px 10px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--brand-blue-strong);font:inherit;font-size:1.3rem;font-weight:850;text-align:center}
.mp-inline{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,220px);align-items:center;gap:12px}
.mp-inline>span{font-weight:750;font-size:.9rem}
.mp-goes{display:grid;gap:2px;font-size:.88rem}
.mp-goes strong{font-size:.86rem}
.mp-goes span{color:var(--text-soft)}
.mp-check{display:grid;gap:8px;padding:14px 16px;border:2px solid var(--line);border-radius:16px;background:var(--surface)}
.mp-check strong{letter-spacing:.04em;font-size:.86rem}
.mp-check p{margin:0;line-height:1.45}
.mp-check small{color:var(--text-soft);line-height:1.4}
.mp-check.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.mp-check.is-blocked{border-color:var(--review-red-border);background:var(--surface)}
.mp-check.is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.mp-check.is-info{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.mp-check .mp-check-title{font-size:1.2rem;letter-spacing:0;line-height:1.3;color:var(--ink)}
.mp-fix{width:100%;min-height:48px;border-radius:999px;font-size:1rem}
.mp-urgent{border:1px solid var(--brand-blue-line);background:var(--surface);color:var(--brand-blue-strong)}
.mp-urgent.is-on{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
/* AUDIT FIX (2026-09-30): why an urgent request can't be sent (no approver for urgent requests) — shown in the date check. */
.mp-check .mp-urgent-blocked{padding:10px 12px;border:1px solid var(--review-red-border);border-radius:12px;background:var(--review-red-bg);color:var(--review-red-text);font-weight:600}
.mp-steps{display:grid;gap:6px;padding:14px 16px;min-width:0}
.mp-steps-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mp-steps-head strong,.mp-steps-head h3{margin:0;font-size:1rem}
.mp-steps-head small{color:var(--muted)}
.mp-step-list{list-style:none;margin:0;padding:0;display:grid}
.mp-step-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 8px;border-bottom:1px solid var(--line);border-radius:10px}
.mp-step-list li:last-child{border-bottom:0}
.mp-step-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand-blue-strong);color:#fff;font-size:.74rem;font-weight:850}
.mp-step-name{display:grid;min-width:0}
.mp-step-name strong{font-size:.92rem;overflow-wrap:anywhere}
.mp-step-name small{color:var(--muted);font-size:.8rem}
.mp-step-days{font-weight:850;font-size:.82rem}
.mp-step-list li.is-hot{background:var(--review-red-bg)}
.mp-step-list li.is-hot .mp-step-mark{background:var(--danger)}
.mp-step-list li.is-extra{border-top:1px dashed var(--line)}
.mp-step-list li.is-extra .mp-step-mark{background:var(--muted)}
.mp-total{display:flex;justify-content:space-between;gap:10px;font-size:.92rem}
.mp-total:first-of-type{padding-top:8px;border-top:2px solid var(--brand-navy)}
.mp-total span{color:var(--text-soft)}
.mp-total.is-ok strong{color:var(--review-green-text)}
.mp-total.is-soon strong{color:var(--review-red-text)}
.mp-source{color:var(--muted);font-size:.78rem;line-height:1.4}
.mp-actions{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}
.mp-grow{flex:1 1 auto}
.mp-save{font-size:.84rem}
.mp-cancel{min-height:48px;padding:0 22px;border-radius:999px}
.mp-submit{min-width:220px;padding:0 22px;border-radius:999px}
.mp-revise{margin-bottom:4px}
/* the detail sheet (approver, urgent approver, requester) */
.mp-boxes-read .mp-box{min-height:72px}
.mp-urgent-card{display:grid;gap:10px;padding:12px 14px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--surface)}
.mp-urgent-facts,.mp-where-list{display:grid;gap:6px;margin:0}
.mp-urgent-facts div,.mp-where-list div{display:flex;justify-content:space-between;gap:10px}
.mp-urgent-facts dt,.mp-where-list dt{color:var(--text-soft)}
.mp-urgent-facts dd,.mp-where-list dd{margin:0;font-weight:850;text-align:right}
.mp-where{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.mp-where h3{margin:0;font-size:1rem}
.mp-steps-read{padding:0}
@media(max-width:900px){.mp-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
  .mp-headcount{padding:14px}
  .mp-make{width:100%;justify-content:center}
  .mp-row{grid-template-columns:minmax(0,1fr) repeat(3,56px);gap:4px;padding:0 10px}
  .mp-row.mp-row-group{grid-template-columns:minmax(0,1fr) auto}
  .mp-row-head{font-size:.64rem;line-height:1.2;padding-block:6px}
  .mp-row-head span{overflow-wrap:anywhere}
  .mp-sheet-head{padding:14px 16px 12px}
  .mp-boxes{gap:6px}
  .mp-box{min-height:84px;padding:8px 4px}
  .mp-box>span{font-size:.7rem}
  .mp-inline{grid-template-columns:minmax(0,1fr)}
  .mp-actions .mp-save{flex:1 1 100%}
  .mp-cancel,.mp-submit{flex:1 1 auto;min-width:0}
}
/* ===== end WP-M ===== */
/* ===== WP-L Away dates (Me › My away days · Who is away), 2026-09-30 — reuses the mr-* list look and the cs-sheet pop-up ===== */
.aw-group{display:grid;gap:10px;min-width:0}
.aw-group-title{margin:4px 0 0;color:var(--text-soft);font-size:.86rem;font-weight:850;letter-spacing:.01em}
.aw-card .aw-dates{color:var(--ink);font-weight:700}
.aw-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.aw-search{flex:1 1 220px;min-width:0}
.aw-search input,.aw-picker input,.aw-picker select,.aw-sheet .mr-field input,.aw-sheet .mr-field textarea{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
.aw-search input:focus,.aw-picker input:focus,.aw-picker select:focus,.aw-sheet .mr-field input:focus,.aw-sheet .mr-field textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.aw-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--text-soft);font-size:.9rem;font-weight:700;cursor:pointer}
.aw-toggle input{width:20px;height:20px;accent-color:var(--brand-blue)}
.aw-picker{display:grid;gap:8px;min-width:0}
.aw-dates-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}
.aw-sheet .cs-sheet-body{display:grid;gap:14px}
.aw-preview{margin:0;font-weight:700}
.aw-dates-help{margin-top:-8px}
.aw-facts{display:grid;gap:10px}
.aw-fact{display:grid;grid-template-columns:minmax(96px,30%) minmax(0,1fr);gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted)}
.aw-fact-label{color:var(--muted);font-size:.86rem;font-weight:700}
.aw-fact strong{overflow-wrap:anywhere}
/* ===== end WP-L Away dates ===== */
/* ===== WP-T Training (2026-09-30): Admin Center › Training settings, Pre-Training Requirements, training batches and
 * the trainee sheet. Reuses the Manpower/Recruitment cards (.mr-*, .rc-*) and pop-up sheets (.cs-sheet); every status
 * also says it in words (never colour alone). Phone first: one column, big touch targets, no sideways scroll. ===== */
.tr-page{display:grid;gap:14px;min-width:0}
.tr-card{display:grid;gap:12px;padding:16px 18px;min-width:0}
.tr-card h3,.tr-action-card h3,.tr-history h3{margin:0;font-size:1.02rem}
.tr-head{display:grid;gap:4px}.tr-head h2{margin:0;font-size:1.15rem}
.tr-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.tr-source{margin:0;color:var(--text-soft);font-size:.86rem;font-weight:700}
.tr-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tr-actions>button{min-height:44px}
.tr-ticklist,.tr-ticks,.tr-rows,.tr-rows-plain,.tr-checks,.tr-days-list,.tr-roster,.tr-timeline,.tr-venues,.tr-competencies{list-style:none;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.tr-ticklist li{display:flex;align-items:center;gap:10px;font-weight:700}
.tr-box{flex:none;width:18px;height:18px;border:2px solid var(--brand-blue-line);border-radius:5px;background:var(--surface)}
.tr-editor{display:grid;gap:12px;min-width:0}
.tr-row{display:flex;align-items:center;gap:8px;min-width:0}
.tr-row .tr-input{flex:1 1 auto}
.tr-input{min-height:44px;width:100%;min-width:0;box-sizing:border-box;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-weight:600}
.tr-input:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.tr-input:disabled{opacity:.6}
.tr-textarea{min-height:84px;resize:vertical;font-weight:500}
.tr-days{max-width:110px}
.tr-remove{flex:none;white-space:nowrap}
.tr-add{justify-self:start;min-height:44px}
.tr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;min-width:0}
.tr-subhead{margin:6px 0 0;font-size:.98rem}
.tr-label{margin:0;color:var(--muted);font-size:.8rem;font-weight:850}
.tr-weekday{color:var(--brand-blue-strong);font-weight:750;min-height:1.2em}
.tr-phases,.tr-areas,.tr-centers{display:grid;gap:10px;min-width:0}
.tr-phase,.tr-area,.tr-action-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.tr-phase-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.tr-phase-head .tr-input{flex:1 1 auto}
.tr-components,.tr-bulk{display:flex;flex-wrap:wrap;gap:8px}
.tr-chip-check{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted);font-weight:700;cursor:pointer}
.tr-chip-check input{width:18px;height:18px;margin:0;accent-color:var(--brand-blue)}
.tr-chip-check.tr-line{display:flex;border-radius:12px;flex-wrap:wrap}
.tr-chip-check.tr-line .tr-input{width:auto}
.tr-total{margin:0;padding:10px 12px;border-radius:12px;font-weight:800;border:1px solid var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.tr-total[data-tone=blocked]{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.tr-warning{color:var(--review-red-text);font-size:.86rem;font-weight:750}
.tr-positions .rc-person small{color:var(--muted);font-weight:600}
.tr-answer select{flex:0 1 190px}
.tr-venue{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.tr-venue-table{display:grid;gap:6px;min-width:0}
.tr-venue-row{display:grid;grid-template-columns:40px minmax(0,1fr) 84px 84px;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;min-width:0}
.tr-venue-row input[type=checkbox]{justify-self:center;width:20px;height:20px;accent-color:var(--brand-blue)}
.tr-venue-head{border:0;padding:0 10px;color:var(--muted);font-size:.76rem;font-weight:850}
.tr-venue-head span:first-child,.tr-venue-head span:last-child{text-align:center}
.tr-ticks{gap:10px}
.tr-tick{border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.tr-tick.is-done{border-color:var(--review-green-border);background:var(--review-green-bg)}
.tr-tick-label{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;min-height:48px;cursor:pointer}
.tr-tick-label input{width:22px;height:22px;margin:2px 0 0;accent-color:var(--brand-blue)}
.tr-tick-label span{display:grid;gap:3px;min-width:0}
.tr-tick-label small{color:var(--muted);font-weight:600}
.tr-tick.is-done small{color:var(--review-green-text)}
.mr-note.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.tr-rows-plain li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;border-radius:12px;background:var(--surface-muted);min-width:0}
.tr-rows-plain li small{color:var(--muted);font-weight:600;flex:1 1 200px}
.tr-rows-plain li.is-ok{color:var(--review-green-text);background:var(--review-green-bg)}
.tr-rows-plain li.is-missing{color:var(--review-red-text);background:var(--review-red-bg)}
.tr-checks li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:start;padding:9px 12px;border-radius:12px;font-weight:650}
.tr-checks li.is-ok{background:var(--review-green-bg);color:var(--review-green-text)}
.tr-checks li.is-missing{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.tr-check-mark{font-weight:900;text-align:center}
.tr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tr-day{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px 12px;border:1px solid var(--line);border-left:5px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}
.tr-day.is-recorded{border-left-color:var(--review-green-border)}
.tr-day.is-today{border-left-color:var(--brand-blue);background:linear-gradient(105deg,var(--brand-blue-soft),var(--surface) 60%)}
.tr-day-main{display:grid;gap:2px;min-width:0;flex:1 1 220px}
.tr-day-main small{color:var(--muted);font-weight:600}
.tr-day>button{min-height:44px}
.tr-bullets{margin:0;padding-left:20px;display:grid;gap:4px}
.tr-danger{color:var(--review-red-text)}
.tr-danger-button{background:var(--review-red-border)}
.tr-roster{gap:10px}
.tr-roster-row{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;min-width:0}
.tr-roster-row small{color:var(--muted);font-weight:600}
.tr-marks{display:flex;flex-wrap:wrap;gap:6px}
.tr-mark{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted);font-weight:750;font-size:.9rem;cursor:pointer}
.tr-mark input{width:18px;height:18px;margin:0;accent-color:var(--brand-blue)}
.tr-mark:has(input:checked).is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.tr-mark:has(input:checked).is-review{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.tr-mark:has(input:checked).is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.tr-mark:has(input:disabled){opacity:.5;cursor:not-allowed}
.tr-extra{display:grid;gap:10px}
.tr-rate-area{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;display:grid;gap:8px;min-width:0}
.tr-rate-area legend{padding:0 6px;color:var(--muted);font-size:.8rem;font-weight:850}
.tr-rate{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);align-items:center;gap:10px;min-width:0}
.tr-rate span{min-width:0;overflow-wrap:anywhere}
.tr-critical{color:var(--review-red-text);font-weight:850}
.tr-quiet-actions{justify-content:flex-end}
.tr-history{display:grid;gap:10px;min-width:0}
.tr-record p{margin:0}
.tr-competencies-result summary{cursor:pointer;min-height:40px;display:flex;align-items:center}
.tr-timeline li{display:grid;gap:2px;padding:8px 0 8px 14px;border-left:3px solid var(--brand-blue-line)}
.tr-timeline small{color:var(--muted);font-weight:600}
@media(max-width:560px){
  .tr-card{padding:14px}
  .tr-rate{grid-template-columns:minmax(0,1fr)}
  .tr-venue-row{grid-template-columns:36px minmax(0,1fr) 64px 64px;gap:6px;padding:8px}
  .tr-row{flex-wrap:wrap}
  .tr-answer select{flex:1 1 100%}
  .tr-actions>button{flex:1 1 auto}
}
.cs-sheet-body label.tr-mark,.cs-sheet-body label.tr-chip-check{display:inline-flex;align-items:center;gap:6px}
.cs-sheet-body label.tr-chip-check.tr-line{display:flex}
.cs-sheet-body label.tr-tick-label{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;font-size:1rem}
.cs-sheet-body label.tr-rate{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);align-items:center;gap:10px}
@media(max-width:560px){.cs-sheet-body label.tr-rate{grid-template-columns:minmax(0,1fr)}}
/* ===== end WP-T Training ===== */
/* ===== WP-S Separations + Replacement request (2026-09-30) — Employees › Separations (HR) and the replacement made by the
 * app (mock-ups P1-Replacement, P2-ReplApprove). Reuses the mr-* list/detail look, the mp-* pop-up and the cs-sheet frame;
 * every status also says it in words (never colour alone). Phone first. ===== */
.rp-card{display:grid;gap:12px;padding:14px;border:2px solid var(--brand-blue-line);border-radius:16px;background:var(--surface)}
.rp-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.rp-card-head strong{font-size:1.02rem}
.rp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px;margin:0}
.rp-facts div{padding:10px 12px;border-radius:12px;background:var(--surface-muted);min-width:0}
.rp-facts .is-wide{grid-column:1/-1}
.rp-facts dt{color:var(--muted);font-size:.76rem;font-weight:700}
.rp-facts dd{margin:2px 0 0;font-weight:800;overflow-wrap:anywhere}
.rp-rendering{margin:0;padding:10px 12px;border-left:4px solid var(--brand-blue);border-radius:10px;background:var(--surface-muted);font-weight:700}
.rp-boxes{margin:0}
.rp-made{margin-bottom:6px}
.rp-vacancy .field-help{margin-top:-6px}
.sp-sheet .cs-sheet-body{display:grid;gap:14px}
.sp-sheet .mr-field input,.sp-sheet .mr-field select,.sp-sheet .mr-field textarea{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
.sp-sheet .mr-field input:focus,.sp-sheet .mr-field select:focus,.sp-sheet .mr-field textarea:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.sp-sheet .mr-field[hidden]{display:none}
.sp-preview{margin:0;font-weight:700}
.sp-replacement p{margin:4px 0 0}
@media(max-width:560px){
  .rp-facts{grid-template-columns:minmax(0,1fr)}
  .rp-card{padding:12px}
}
/* ===== end WP-S ===== */
/* ===== WP-HD Hiring & deployment (2026-09-30): Hiring decisions, Job offers, Pre-hire requirements, Receive deployment,
 * Admin Center › Hiring pages and the applicant's job offer card. Reuses the Training / Recruitment cards (.tr-*, .mr-*)
 * and pop-up sheets (.cs-sheet); every status also says it in words. Phone first, no sideways scroll. ===== */
.hd-choices{display:grid;gap:8px;min-width:0}
.hd-choice{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;min-height:48px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer}
.hd-choice input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--brand-blue)}
.hd-choice span{display:grid;gap:3px;min-width:0}
.hd-choice small{color:var(--muted);font-weight:600}
.hd-choice:has(input:checked){border-color:var(--brand-blue);background:var(--brand-blue-soft)}
.hd-choice:has(input:disabled){opacity:.6;cursor:not-allowed}
.cs-sheet-body label.hd-choice{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;font-size:1rem}
.hd-number-row{padding:0 14px 12px 52px}
.hd-number{max-width:260px}
.hd-kind{margin-left:auto;color:var(--muted);font-size:.8rem;font-weight:750}
.hd-row .tr-input:first-child{flex:1 1 auto}
.hd-kind-select{flex:0 1 190px;width:auto}
.hd-big{margin:0;font-size:1.05rem;font-weight:800}
.hd-steps li strong{font-size:.98rem}
.hd-receive-hero{display:grid;justify-items:center;gap:8px;text-align:center}
.hd-receive-hero h2{margin:0;font-size:1.3rem}
.hd-avatar{width:64px;height:64px;font-size:1.6rem}
.hd-receive-facts{margin:0}
.hd-yes{min-height:52px;font-size:1.05rem;flex:1 1 auto}
.hd-undo{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.hd-undo-button{min-height:44px;min-width:96px}
.ap-offer-actions{display:grid;gap:10px}
.ap-offer-actions>button{min-height:48px}
.ap-offer .kicker{margin:0}
@media(max-width:560px){
  .hd-number-row{padding:0 12px 12px 12px}
  .hd-number{max-width:none}
  .hd-row{flex-wrap:wrap}
  .hd-kind-select{flex:1 1 100%}
}
/* a completed requirement list folds away under its summary line */
.hd-folded summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.hd-folded[open] summary{margin-bottom:6px}
/* ===== end WP-HD Hiring & deployment ===== */
/* ===== WP-X Day-1 hiring plan (mock-ups H1, H2, K1, R2), 2026-09-30 — existing tokens only ===== */
.hp-sheet .cs-sheet-body{display:grid;gap:16px}
.hp-head{display:grid;gap:6px;justify-items:start}
.hp-head h2{margin:0;font-size:1.45rem;line-height:1.15;letter-spacing:-.02em}
.hp-head .mr-hint{margin:0}
.hp-kicker{font-size:.78rem;font-weight:800;color:var(--text-soft);letter-spacing:.02em}
.hp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.hp-col{display:grid;gap:14px;min-width:0}
.hp-card{display:grid;gap:10px;padding:16px;border-radius:18px;min-width:0}
.hp-card h3{margin:0;font-size:1rem}
.hp-facts{display:grid;gap:8px;margin:0}
.hp-facts div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.92rem}
.hp-facts dt{color:var(--text-soft);white-space:nowrap}
.hp-facts dd{margin:0;font-weight:800;text-align:right;overflow-wrap:anywhere}
.hp-note{margin:0;color:var(--text-soft);font-size:.86rem}
.hp-wait{color:var(--review-yellow-text)!important}
.hp-issues{display:grid;gap:10px}
.hp-issues h3{margin:0;font-size:1rem}
.hp-issue{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--review-yellow-bg);color:var(--text)}
.hp-issue strong{font-size:.95rem}
.hp-evidence{margin:0;padding-left:18px;display:grid;gap:4px;font-size:.86rem;color:var(--text-soft)}
.hp-options-words{margin:0;font-size:.88rem}
.hp-open-fix{justify-self:start;min-height:44px}
.hp-found p{margin:0}
.hp-found-words{font-weight:800}
.hp-choices{display:grid;gap:10px}
.hp-choice{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
.hp-choice:hover,.hp-choice:focus-visible{border-color:var(--brand-blue);box-shadow:var(--shadow)}
.hp-choice:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
.hp-choice-name{display:grid;min-width:0}
.hp-choice-name small{color:var(--muted)}
.hp-deadline{margin:0;font-size:.86rem;color:var(--text-soft)}
.hp-done{border:1px solid var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.hp-done p{margin:0;color:var(--text)}
.hp-done-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--green);color:#fff;font-weight:900}
.hp-urgent{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--brand-blue-line);border-radius:14px;background:var(--surface-muted)}
.hp-urgent h3{margin:0;font-size:.98rem}
.hp-urgent-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hp-urgent-lines li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}
.hp-urgent-lines li>span:last-child{display:grid;min-width:0}
.hp-urgent-lines small{color:var(--text-soft)}
.hp-when{font-weight:800;font-size:.86rem;color:var(--brand-blue-strong)}
.hp-result{display:grid;gap:2px;margin:0;padding-top:8px;border-top:1px solid var(--line)}
@media(min-width:900px){.hp-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}}
@media(max-width:560px){.hp-card{padding:14px}.hp-urgent-lines li{grid-template-columns:minmax(0,1fr)}.hp-head h2{font-size:1.25rem}}
/* ===== end WP-X Day-1 hiring plan ===== */

/* ===== APP ACCESS (overnight fix 2026-10-09, audit #10): Admin Center › People & access › App access, the Home notice,
 * and the code sheet. Existing tokens only; phone first; no sideways scroll. ===== */
.aa-page{display:grid;gap:18px;min-width:0}
.aa-summary{display:grid;gap:12px;padding:16px 18px}
.aa-lead{margin:0;color:var(--text-soft)}
.aa-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}
.aa-stat{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.aa-stat strong{font-size:1.4rem;line-height:1.1}
.aa-stat span{color:var(--muted);font-size:.84rem;font-weight:700}
.aa-stat.is-due{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.aa-done{margin:0;font-weight:750;color:var(--text-soft)}
.aa-group{display:grid;gap:8px;min-width:0}
.aa-group-help{margin:0;padding:0 6px}
.aa-list{display:grid;gap:8px}
.aa-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.aa-row-text{display:grid;gap:2px;min-width:0}
.aa-detail{color:var(--text-soft);font-size:.9rem;overflow-wrap:anywhere}
.aa-note{color:var(--brand-blue-strong);font-size:.86rem;font-weight:700}
.aa-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.aa-act{min-height:44px}
.aa-sheet-body{display:grid;gap:14px}
.aa-who{display:flex;align-items:center;gap:12px}
.aa-who>div{display:grid;gap:2px;min-width:0}
.aa-field{display:grid;gap:6px;font-weight:750}
.aa-field input{min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:1.05rem;font-weight:600;letter-spacing:.02em}
.aa-code-for{margin:0;color:var(--muted);font-weight:750;text-align:center}
.aa-code{margin:0;padding:16px 10px;border:2px dashed var(--brand-blue-line);border-radius:16px;background:var(--brand-blue-soft);color:var(--ink);font-size:clamp(1.5rem,7vw,2.1rem);font-weight:850;letter-spacing:.08em;text-align:center;font-variant-numeric:tabular-nums;user-select:all;-webkit-user-select:all;overflow-wrap:anywhere}
.aa-code-facts{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0}
.aa-code-facts dt{color:var(--muted);font-weight:700}
.aa-code-facts dd{margin:0;font-weight:750}
.aa-steps{margin:0;padding-left:20px;display:grid;gap:4px;color:var(--text-soft)}
.aa-code-actions{display:flex;gap:10px;flex-wrap:wrap}
.aa-code-actions>button{flex:1 1 140px;min-height:48px}
.aa-copied{margin:0;min-height:1.2em;color:var(--brand-blue-strong);font-weight:750}
.aa-home{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 16px;border:1px solid var(--brand-blue-line);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.aa-home:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.aa-home-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:var(--brand-blue-soft);font-size:1.3rem}
.aa-home-text{display:grid;gap:2px;flex:1;min-width:0}
.aa-home-text small{color:var(--muted);font-size:.84rem;font-weight:650}
.aa-home-button{flex:none;padding:8px 12px;border-radius:12px;background:var(--brand-blue-strong);color:#fff;font-weight:800;font-size:.9rem}
.gl-invite .primary-button{margin-top:6px}
@media(max-width:700px){
  .aa-row{grid-template-columns:auto minmax(0,1fr)}
  .aa-row-actions{grid-column:1/-1;justify-content:stretch}
  .aa-row-actions>button{flex:1}
  .aa-home{flex-wrap:wrap}
  .aa-home-button{flex:1 1 100%;text-align:center;padding:10px 12px}
}
/* ===== end APP ACCESS ===== */
/* ===== iPHONE ZOOM (overnight fix 2026-10-09, audit section 4): iPhone Safari zooms in on any text box whose text is
 * smaller than 16px and stays zoomed ("the screen overlaps, I have to zoom out"). On phones and touch tablets every
 * text box, drop-down and text area is at least 16px. Last in the file on purpose: it wins over every earlier rule. ===== */
@media (max-width:1100px),(pointer:coarse){
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select,textarea{font-size:16px!important}
  input[type=file]{font-size:16px!important}
}
/* Pop-up sheets never wider than the screen: the browser's own dialog limit (100% − 2em − 6px) was mixed with
 * width:100vw, so on a phone the sheet sat a few pixels off on the right. ===== */
@media (max-width:700px){
  dialog.cs-sheet,dialog.shell-sheet{max-width:100%;box-sizing:border-box}
  dialog.cs-sheet{width:100%;margin-left:0;margin-right:0}
}
/* ===== end iPHONE ZOOM ===== */
.task-follow-up-section[hidden]{display:none}/* overnight fix 2026-10-09 (audit #45 area): the "Remind the approver" block stays hidden when the server says it does not apply */
/* TIME IN / TIME OUT (Oct 9, 2026): Home cards, My team today, Admin Center settings. Tokens and the card / mr-* / cs-sheet
   components only; phone first (390 px), text inputs 16 px so iPhone never zooms. */
.at-home{display:grid;gap:12px;margin-bottom:12px}
.at-card{padding:16px 16px 14px;border-radius:20px}
.at-title{margin:0;font-size:1.25rem;color:var(--ink)}
.at-sub{margin:4px 0 0;color:var(--muted);font-size:.92rem}
.at-h3{margin:14px 0 6px;font-size:.95rem;color:var(--ink)}
.at-big{display:block;width:100%;min-height:52px;margin-top:14px;border-radius:999px;font-size:1.08rem;font-weight:700}
.at-hint{margin:8px 0 0;color:var(--muted);font-size:.82rem}
.at-note{margin:10px 0 0;padding:8px 10px;border-radius:12px;background:var(--warm-soft);color:var(--warm-dark);font-size:.9rem}
.at-locked{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--brand-blue-soft);color:var(--ink);font-size:.92rem}
.at-error{margin:10px 0 0;color:var(--danger);font-size:.9rem}
.at-lines{display:grid;gap:4px;margin-top:12px}
.at-line{margin:0;font-size:1rem;color:var(--ink)}
.at-line-label{color:var(--muted);margin-right:6px}
.at-line-place{color:var(--muted)}
.at-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.at-link{min-height:40px}
.at-list{margin:0;padding:0}
.at-counts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 4px}
.at-count{padding:6px 10px;border-radius:999px;background:var(--page-accent);color:var(--ink);font-size:.88rem}
.at-team{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px}
.at-member{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px;border-top:1px solid var(--line)}
.at-member:first-child{border-top:0}
.at-member-main{display:grid;gap:2px;min-width:0}
.at-member-sub{color:var(--muted);font-size:.84rem}
.at-banner{padding:12px 14px;border-radius:16px;background:var(--warm-soft);border:1px solid var(--warm-line)}
.at-banner.is-done{background:var(--green-soft);border-color:var(--mint-line)}
.at-banner p{margin:4px 0 0}
.at-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;width:100%;padding:12px 2px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);text-align:left;font:inherit}
.at-row strong{font-weight:600;color:var(--muted);text-align:right}
.at-days{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.at-day{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;font-size:.9rem}
.at-choice{display:flex;gap:8px;align-items:flex-start;margin:8px 0;font-size:.95rem}
.at-sheet input,.at-sheet select,.at-sheet textarea,.at-settings input{font-size:16px}
.mr-action-col{display:grid;gap:8px;width:100%}
.mr-status.is-ok{background:var(--green-soft);color:var(--green-dark)}
.at-list .mr-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%}
.at-list .mr-card-main{display:grid;gap:4px;min-width:0;justify-items:start}
.at-days{gap:4px}.at-day{padding:6px 8px}
@media (min-width:700px){.at-big{max-width:440px}.at-list{max-width:560px}}
/* Oct 9 review: normal-size checkboxes and radios in the attendance pop-ups; even working-day chips. */
.at-sheet .at-day,.at-sheet .at-choice{cursor:pointer}
.at-sheet .at-day input,.at-sheet .at-choice input{width:20px;height:20px;min-width:20px;min-height:0;flex:0 0 20px;margin:0;padding:0;box-shadow:none}
.at-sheet .at-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.at-sheet .at-day{justify-content:center;min-height:40px;padding:6px 4px}
.at-sheet .at-choice{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;font-weight:500}
.at-confirm{font-size:1.05rem;color:var(--ink);margin:4px 0 8px}
.my-day-list .at-myday{display:flex;gap:8px;align-items:baseline;margin:0 0 8px;color:var(--ink)}
.my-day-list .at-myday strong{min-width:72px}
/* ===== Approvals & escalation BY POSITION (setup step 4 + Admin Center), Oct 10 2026 — mock-up v86 (Coi, 4:22 AM).
   Existing tokens only (light and dark). Tables turn into one card per position when their column is narrow (container
   query), and the step list becomes a compact list at the top: never a sideways scroll. ===== */
body.setup-mode .main-content:has(.pp-screen){max-width:1320px}
.pp-screen{display:grid;gap:18px;min-width:0}
.pp-page{display:grid;gap:20px;min-width:0;container:pp/inline-size}
.pp-page>*{min-width:0}
.pp-page h1{margin:4px 0 0;font-size:1.8rem;line-height:1.15}
.pp-page .fr-lead{margin:4px 0 0}
.pp-hint{margin:2px 0 0;color:var(--muted);font-size:.88rem}
.pp-lbl{margin:6px 0 0;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.pp-muted{color:var(--muted);font-size:.84rem}
.pp-empty{margin:0;color:var(--muted);font-weight:700}
.pp-stepwrap{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:start}
.pp-steps{display:grid;gap:0;position:sticky;top:12px;padding:8px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}
.pp-steptab{position:relative;display:flex;align-items:center;gap:8px;min-height:40px;padding:8px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;font-size:.82rem;font-weight:700;text-align:left;cursor:pointer}
.pp-steptab:not(:last-child)::after{content:"";position:absolute;left:19px;top:calc(50% + 13px);height:calc(50% - 10px);border-left:2px solid var(--line)}
.pp-steptab[aria-selected=true]{background:var(--brand-blue);color:var(--on-brand)}
.pp-steptab:focus-visible,.pp-tab:focus-visible,.pp-link:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.pp-stepno{display:inline-grid;place-items:center;flex:none;min-width:24px;height:24px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:var(--brand-blue);color:var(--on-brand);font-size:.78rem;font-weight:800}
.pp-steptab[aria-selected=true] .pp-stepno{background:#fff;color:var(--brand-blue-strong)}
.pp-stepname{min-width:0}
.pp-dot{flex:none;width:8px;height:8px;margin-left:auto;border-radius:50%;background:var(--warm)}
.pp-main{display:grid;gap:12px;min-width:0;container:ppmain/inline-size}
.pp-main>*{min-width:0}
.pp-head h2{display:flex;align-items:center;gap:6px;margin:0;font-size:1.15rem;font-weight:800}
.pp-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:-12px;border-bottom:2px solid var(--line)}
.pp-tab{margin-bottom:-2px;padding:10px 18px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--surface-muted);color:var(--muted);font:inherit;font-weight:800;cursor:pointer}
.pp-tab[aria-selected=true]{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.pp-box{display:grid;gap:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);overflow:hidden}
.pp-box:has(.pp-inner){padding:10px}
.pp-inner{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pp-table{width:100%;border-collapse:collapse}
.pp-table th{padding:10px 8px;background:var(--surface-muted);color:var(--muted);font-size:.66rem;font-weight:800;letter-spacing:.06em;text-align:left;text-transform:uppercase}
.pp-table td{padding:10px 8px;border-top:1px solid var(--line);color:var(--ink);font-size:.84rem;vertical-align:middle;overflow-wrap:break-word}
.pp-table td:first-child{min-width:8.5em}
.pp-pos{display:block;padding-left:calc(var(--depth,0)*10px)}
.pp-dots{display:grid;gap:1px;margin:0;padding-left:14px}
.pp-dots li{white-space:nowrap}
.pp-dots li::marker{color:var(--brand-blue)}
.pp-change{width:1%;white-space:nowrap;text-align:right}
.pp-edited{margin-right:8px;color:var(--muted);font-size:.74rem}
.pp-link{padding:4px 0;border:0;background:none;color:var(--brand-blue-strong);font:inherit;font-size:.86rem;font-weight:800;cursor:pointer}
.pp-ownercell{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pp-tick{width:18px;height:18px;accent-color:var(--brand-blue)}
.pp-select,.pp-search,.pp-num,.pp-unit{box-sizing:border-box;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit}
.pp-select.pp-small{min-height:0;padding:4px 6px;font-size:.8rem}
.pp-pline{display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:10px 14px;font-size:.92rem}
.pp-box:has(.pp-inner) .pp-pline{border:1px solid var(--line);border-radius:12px}
.pp-k{color:var(--muted);font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.pp-v{display:grid;gap:1px;color:var(--ink)}
.pp-fixinline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pp-warn{color:var(--review-yellow-text);font-weight:700}
.pp-fixbtn{min-height:36px;padding:6px 12px}
.pp-problems{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.pp-ownerpos{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--ink);border-radius:var(--radius-md);background:var(--surface)}
.pp-ownerpos.is-ask{border-left-color:var(--warm)}
.pp-ownerpos>div{flex:1 1 260px;min-width:0}
.pp-ownerpos .pp-select{max-width:100%;min-width:0;flex:0 1 360px}
.pp-ownerpos .pp-hint{margin:4px 0 8px}
.pp-amount{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pp-how{display:grid;gap:8px}
.pp-how h2{margin:0;font-size:1.15rem;font-weight:800}
.pp-howrow{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}
.pp-howtitle{margin:6px 0 0;color:var(--muted);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pp-howsteps{display:grid;grid-template-columns:repeat(var(--steps,6),minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
.pp-howsteps li{position:relative;display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:var(--surface-muted);color:var(--ink);font-size:.84rem}
.pp-howsteps li b{font-size:.8rem}
.pp-howsteps li.is-up{background:var(--warm-soft)}
.pp-howsteps li.is-own{background:var(--ink);color:var(--surface)}
.pp-howsteps li:not(:last-child)::after{content:"→";position:absolute;right:-9px;top:50%;z-index:1;transform:translateY(-50%);color:var(--muted);font-weight:800}
.pp-howfoot{margin:2px 0 0;color:var(--muted);font-size:.86rem}
.pp-howfoot b{color:var(--ink)}
.pp-error{display:grid;gap:8px;justify-items:start}
.pp-error .fr-error{margin:0}
.pp-save{margin:0;color:var(--muted);font-size:.84rem}
.pp-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.pp-footnote{margin:0;color:var(--muted)}
.pp-footbtns{display:flex;flex-wrap:wrap;gap:10px;margin-left:auto}
.pp-footbtns .primary-button,.pp-footbtns .quiet-button{min-height:44px;padding:10px 18px}
.pp-footbtns .primary-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
/* pop-ups */
.pp-sheet .cs-sheet-head .pp-sheet-done{font-weight:850}
.pp-sheet-body{gap:18px;overflow-x:hidden}
.pp-part{display:grid;gap:8px;min-width:0}
.pp-part .pp-lbl{margin:0}
.pp-sheet .pp-hint{margin:0}
.pp-auto{width:100%;min-height:44px}
.pp-list{display:grid;gap:6px}
.pp-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.pp-item-name{display:grid;flex:1;min-width:0;font-weight:650}
.pp-item-name small{color:var(--muted);font-size:.78rem;font-weight:600}
.pp-n{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--brand-blue);color:var(--on-brand);font-size:.72rem;font-weight:800}
.pp-mini{flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-weight:800;cursor:pointer}
.pp-add{justify-self:start;min-height:40px;padding:8px 14px;border:1px dashed var(--brand-blue);border-radius:10px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font:inherit;font-weight:800;cursor:pointer}
.pp-told{margin:0;padding:8px 10px;border-radius:10px;background:var(--review-green-bg);color:var(--review-green-text);font-size:.86rem;font-weight:750}
.pp-picker{padding:12px;border-radius:12px;background:var(--surface-muted)}
.pp-pick{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.pp-pick small{color:var(--muted)}
.pp-pick:disabled{opacity:.45;cursor:default}
.pp-plus{flex:none;color:var(--brand-blue-strong);font-weight:800}
.pp-sheet .pp-num{width:84px;text-align:center;font-weight:800}
.pp-sheet .pp-unit{width:auto;font-weight:700}
.pp-sheet label.pp-check{display:flex;align-items:center;gap:8px;font-weight:600}
.pp-sheet .pp-check input{width:20px;height:20px;min-height:0;accent-color:var(--brand-blue)}
.pp-kvs{display:grid;gap:8px}
.pp-kv{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding-bottom:6px;border-bottom:1px dashed var(--line);font-size:.92rem}
.pp-kv b{text-align:right}
.pp-seg{justify-self:start}
/* v91 (mock-up v91, Coi Oct 17 2026): branch rows under the task, the branch pop-up, the Interviewers column and pop-up */
.pp-brline{display:block;margin-top:2px;color:var(--muted);font-size:.78rem;font-weight:500}
.pp-brtag{display:block;font-weight:800}
.pp-table tr.pp-brrow{background:var(--surface-muted)}
.pp-whocell{display:grid;gap:2px}
.pp-wholine small{margin-left:6px;color:var(--muted);font-size:.78rem}
.pp-keyline{display:block;margin-top:2px;color:var(--review-green-text);font-size:.78rem;font-weight:700}
.pp-bradd{margin-top:-4px}
.pp-ivcell{display:grid;gap:1px;min-width:7.5em;max-width:12em;font-size:.8rem;line-height:1.3}
.pp-addrow{display:flex;flex-wrap:wrap;gap:8px}
.pp-addrow .pp-add{flex:1 1 160px}
.pp-sheet .cs-sheet-head strong{white-space:normal;overflow:visible;line-height:1.25}
.pp-sheet label.pp-check{font-weight:600}
.pp-sheet label.pp-check.pp-item{display:flex;cursor:pointer}
.pp-sheet label.pp-check .pp-item-name small{font-weight:500}
.pp-toast.is-ask{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.pp-sheet .pp-check input[type=checkbox],.pp-sheet .pp-check input[type=radio]{flex:none;width:20px;height:20px;min-height:0;margin:0;padding:0;accent-color:var(--brand-blue)}
.pp-sheet .pp-check input:disabled{cursor:default}
.pp-item.pp-indent{margin-left:22px}
.pp-item.is-taken{opacity:.6}
.pp-brgroup{gap:6px}
.pp-who{flex-wrap:wrap}
.pp-radios{display:flex;flex-basis:100%;flex-wrap:wrap;gap:6px 18px;padding-left:4px}
.pp-radios label.pp-check{display:inline-flex;gap:8px;font-weight:600}
.pp-onlylist{flex-basis:100%;padding-left:22px}
.pp-toast{position:fixed;left:50%;bottom:calc(24px + var(--tabbar-h,0px) + env(safe-area-inset-bottom,0px));z-index:60;max-width:calc(100% - 32px);box-sizing:border-box;transform:translateX(-50%);padding:12px 18px;border:1px solid var(--review-green-border);border-radius:12px;background:var(--review-green-bg);color:var(--review-green-text);font-weight:800;box-shadow:var(--shadow)}
/* dark: the selected step and numbers use the app's dark-on-light button text */
:root[data-theme=dark] .pp-steptab[aria-selected=true],:root[data-theme=dark] .pp-stepno,:root[data-theme=dark] .pp-n{color:#07182e}
:root[data-theme=dark] .pp-steptab[aria-selected=true] .pp-stepno{background:#07182e;color:var(--brand-blue)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .pp-steptab[aria-selected=true],:root:not([data-theme=light]) .pp-stepno,:root:not([data-theme=light]) .pp-n{color:#07182e}
  :root:not([data-theme=light]) .pp-steptab[aria-selected=true] .pp-stepno{background:#07182e;color:var(--brand-blue)}}
/* narrow page (phone, tablet, laptop with menus): the step list is a compact list at the top */
@container pp (max-width:900px){
  .pp-stepwrap{grid-template-columns:minmax(0,1fr)}
  .pp-steps{position:static;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px;padding:6px}
  .pp-steptab{min-height:40px;padding:6px 8px}
  .pp-steptab::after{display:none}
}
@container pp (max-width:640px){
  .pp-howrow{grid-template-columns:minmax(0,1fr)}
  .pp-howsteps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp-howsteps li::after{display:none}
  .pp-page h1{font-size:1.5rem}
  .pp-foot{display:grid}
  .pp-footbtns{margin-left:0}
  .pp-footbtns>*{flex:1 1 140px}
}
/* narrow column: one card per position (each with Change) */
@container ppmain (max-width:700px){
  .pp-tabs{margin-bottom:0;border-bottom:0}
  .pp-tab{margin-bottom:0;padding:8px 12px;border-bottom:1px solid var(--line);border-radius:999px;font-size:.86rem}
  .pp-cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .pp-cards,.pp-cards tbody{display:block}
  .pp-cards tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px;border-top:1px solid var(--line)}
  .pp-cards tr:first-child{border-top:0}
  .pp-cards td{display:grid;grid-template-columns:minmax(90px,36%) minmax(0,1fr);align-items:start;gap:8px;grid-column:1/-1;padding:0;border:0;width:auto;text-align:left;white-space:normal}
  .pp-cards td::before{content:attr(data-label);color:var(--muted);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding-top:2px}
  .pp-cards td:first-child{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);font-size:.95rem}
  .pp-cards td:first-child::before,.pp-cards td.pp-change::before{display:none}
  .pp-cards td:first-child .pp-pos{padding-left:0}
  .pp-cards td.pp-change{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:0}
  .pp-pline{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
  .pp-pline .pp-v{grid-column:1/-1;grid-row:2}
  .pp-pline .pp-change{grid-column:2;grid-row:1}
  .pp-box:has(.pp-inner){padding:6px}
}
/* ===== end Approvals & escalation BY POSITION ===== */
/* ===== WP-P (round ATI, Oct 18, 2026): Talent Pool — "Keep for future jobs" (Admin Center setting + Recruitment list) ===== */
.ati-p-big{display:grid;gap:2px;margin:6px 0 4px}
.ati-p-big strong{font-size:1.6rem;line-height:1.15;color:var(--text)}
.ati-p-big span{color:var(--muted);font-weight:700;font-size:.86rem}
.ati-p-months{font-size:16px;max-width:140px}
.ati-p-page{display:grid;gap:var(--space-3)}
.ati-p-brand{display:grid;gap:var(--space-3);padding:var(--space-4)}
.ati-p-brand-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);flex-wrap:wrap}
.ati-p-brand-head h3{margin:0;font-size:1.05rem;color:var(--text);overflow-wrap:anywhere}
.ati-p-count{color:var(--muted);font-weight:800;font-size:.8rem;white-space:nowrap}
.ati-p-branch{display:grid;gap:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--line)}
.ati-p-branch:first-of-type{border-top:0;padding-top:0}
.ati-p-branch-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);margin:0;font-size:.95rem;color:var(--text)}
.ati-p-branch-head span{overflow-wrap:anywhere}
.ati-p-branch-head small{color:var(--muted);font-weight:800;font-size:.76rem;white-space:nowrap}
.ati-p-position{display:grid;gap:6px}
.ati-p-position-head{margin:0;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ati-p-people{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ati-p-card{width:100%;text-align:left}
.ati-p-until{display:inline-flex;align-items:center;gap:6px;justify-self:start;margin-top:2px;padding:3px 10px;border-radius:999px;
  background:var(--lavender-soft);border:1px solid var(--lavender-line);color:var(--lavender-dark);font-size:.78rem;font-weight:800}
.ati-p-until .mr-status-dot{background:var(--lavender)}
.hd-choice.ati-p-off small{color:var(--warm-dark)}
/* dark mode: the tokens above already switch (lavender / warm), nothing else needed */
/* ===== end WP-P Talent Pool ===== */
/* ===== WP-A (Oct 18, 2026): APPLICANT PORTAL — step cards, Trainee Web Portal, home place, company job QR (ati-a-*) ===== */
.ati-a-next{display:grid;gap:3px;padding:12px 14px;border:1px solid var(--brand-blue-line);border-radius:14px;background:var(--brand-blue-soft);color:var(--ink)}
.ati-a-next-kicker{color:var(--brand-blue-strong);font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.ati-a-next-label{font-size:1.05rem;line-height:1.3}
.ati-a-next-date{color:var(--brand-blue-strong);font-weight:850;font-size:1rem}
.ati-a-next-detail{color:var(--text-soft);font-size:.86rem;line-height:1.4}
.ati-a-next.is-wait{border-color:var(--line);background:var(--surface-muted)}
.ati-a-next.is-wait .ati-a-next-kicker,.ati-a-next.is-wait .ati-a-next-date{color:var(--muted)}
.ati-a-next.is-employed{border-color:var(--review-green-border);background:var(--review-green-bg)}
.ati-a-next.is-employed .ati-a-next-kicker,.ati-a-next.is-employed .ati-a-next-date{color:var(--review-green-text)}
.ati-a-steps{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.ati-a-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.ati-a-step:last-child{border-bottom:0;padding-bottom:2px}
.ati-a-step-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface-muted);color:var(--brand-blue-strong);font-size:.95rem;font-weight:900}
.ati-a-step.is-done .ati-a-step-icon{background:var(--review-green-bg);color:var(--review-green-text)}
.ati-a-step.is-employed .ati-a-step-icon{background:var(--review-green-bg);color:var(--review-green-text)}
.ati-a-step-body{display:grid;gap:4px;min-width:0}
.ati-a-step-body p{margin:0;overflow-wrap:anywhere}
.ati-a-step-title{margin:0;font-size:.98rem}
.ati-a-when{font-weight:800;color:var(--ink)}
.ati-a-where{color:var(--text-soft);font-size:.9rem}
.ati-a-result strong{color:var(--brand-blue-strong)}
.ati-a-open{justify-self:start;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;margin-top:2px}
.ati-a-open-app{margin-top:4px;min-height:48px}
.ati-a-count{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ati-a-done{font-size:.74rem}
.ati-a-bring{color:var(--ink)}
.ati-a-checklist{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:6px}
.ati-a-checklist li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px}
.ati-a-check{display:grid;place-items:center;width:20px;height:20px;border:2px solid var(--line);border-radius:6px;font-size:.8rem;font-weight:900;line-height:1}
.ati-a-checklist li.is-received .ati-a-check{border-color:var(--review-green-border);background:var(--green);color:#fff}
.ati-a-check-label{font-weight:700;min-width:0;overflow-wrap:anywhere}
.ati-a-check-state{color:var(--muted);font-size:.8rem;font-weight:700;text-align:right}
.ati-a-checklist li.is-needed .ati-a-check-state{color:var(--review-yellow-text);background:var(--review-yellow-bg);border:1px solid var(--review-yellow-border);border-radius:999px;padding:2px 8px}
.ati-a-back{justify-self:start;min-height:44px}
.ati-a-head .ati-a-next{margin-top:4px}
.ati-a-venue{font-weight:800}
.ati-a-days,.ati-a-phases,.ati-a-assess,.ati-a-competencies{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ati-a-day{display:grid;grid-template-columns:minmax(96px,auto) minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);min-width:0}
.ati-a-day-date{font-weight:850}
.ati-a-day-what{color:var(--text-soft);font-size:.9rem;min-width:0;overflow-wrap:anywhere}
.ati-a-chip{padding:2px 9px;border-radius:999px;font-size:.74rem;font-weight:850;background:var(--surface);border:1px solid var(--line);color:var(--muted)}
.ati-a-day.is-today,.ati-a-day.is-next{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.ati-a-day.is-today .ati-a-chip,.ati-a-day.is-next .ati-a-chip{border-color:var(--brand-blue-line);color:var(--brand-blue-strong)}
.ati-a-day.is-past{opacity:.72}
.ati-a-phases li,.ati-a-assess li{display:grid;gap:2px;padding:9px 12px;border-left:3px solid var(--brand-blue-line);background:var(--surface-muted);border-radius:0 12px 12px 0}
.ati-a-phase-when,.ati-a-assess small{color:var(--muted);font-size:.84rem;font-weight:700}
.ati-a-phase-what{color:var(--text-soft);font-size:.88rem}
.ati-a-area{display:grid;gap:6px}
.ati-a-area h3{margin:4px 0 0;font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.ati-a-competencies li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:12px;background:var(--surface-muted)}
.ati-a-competency-state{font-weight:850;font-size:.8rem}
.ati-a-competencies li.is-passed .ati-a-competency-state{color:var(--review-green-text)}
.ati-a-competencies li.is-again .ati-a-competency-state{color:var(--review-yellow-text)}
.ati-a-batch{text-align:center}
.ati-a-place{position:relative}
.ati-a-place-label{font-weight:750;font-size:.9rem}
.ati-a-place-list{list-style:none;margin:0;padding:4px;display:grid;gap:2px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);max-height:320px;overflow-y:auto}
.ati-a-place-option{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name kind" "prov kind";gap:0 10px;width:100%;min-height:48px;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.ati-a-place-option:hover,.ati-a-place-option:focus-visible{background:var(--brand-blue-soft);outline:none}
.ati-a-place-option strong{grid-area:name;font-weight:800}
.ati-a-place-option small{grid-area:prov;color:var(--muted);font-size:.8rem}
.ati-a-place-kind{grid-area:kind;align-self:center;padding:2px 9px;border:1px solid var(--brand-blue-line);border-radius:999px;color:var(--brand-blue-strong);font-size:.74rem;font-weight:850}
.ati-a-place-chosen{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--review-green-border);border-radius:12px;background:var(--review-green-bg);color:var(--review-green-text)}
.ati-a-place-chosen[hidden],.ati-a-place-list[hidden]{display:none}
.ati-a-more>summary{cursor:pointer;padding:8px 0;color:var(--brand-blue-strong);font-weight:750;font-size:.9rem}
.ati-a-place-text{display:grid;gap:1px;min-width:0}
.ati-a-place-text strong{color:var(--ink)}
.ati-a-place-text small{font-size:.82rem}
.ati-a-place-change{min-height:40px}
.ati-a-place.has-error input{border-color:var(--review-red-border);background:var(--review-red-bg)}
.ati-a-branches .mr-hint{margin:-4px 0 2px}
.ati-a-jobs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ati-a-job{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;min-height:64px;text-decoration:none;color:var(--ink);box-sizing:border-box}
.ati-a-job:hover,.ati-a-job:focus-visible{border-color:var(--brand-blue-line);outline:none;box-shadow:var(--shadow-hover)}
.ati-a-job-main{display:grid;gap:3px;min-width:0}
.ati-a-job-title{font-size:1.05rem;overflow-wrap:anywhere}
.ati-a-job-place{color:var(--muted);font-size:.86rem;overflow-wrap:anywhere}
.ati-a-job-go{color:var(--brand-blue-strong);font-weight:850;white-space:nowrap}
.ati-a-jobs-search{width:100%;box-sizing:border-box;min-height:48px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:1rem}
.ati-a-jobs-empty h2{font-size:1.05rem}
.ati-a-share-all-button{min-height:44px;display:inline-flex;align-items:center;gap:6px}
@media(max-width:520px){
  .ati-a-day{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date chip" "what what"}
  .ati-a-day-date{grid-area:date}.ati-a-day-what{grid-area:what}.ati-a-chip{grid-area:chip}
  .ati-a-checklist li{grid-template-columns:22px minmax(0,1fr);grid-template-areas:"box label" ". state"}
  .ati-a-check{grid-area:box}.ati-a-check-label{grid-area:label}.ati-a-check-state{grid-area:state;justify-self:start;text-align:left}
}
:root[data-theme=dark] .ati-a-checklist li.is-received .ati-a-check{color:#07182e}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .ati-a-checklist li.is-received .ati-a-check{color:#07182e}}
/* ===== end WP-A applicant portal ===== */
/* ===== WP-E EXAM LOCK (Sun, Oct 18, 2026): copy / selection off during the exam, the applicant's lock screen
   (ati-e-locked), the decision pop-up (ati-e-lock-sheet), the lock lines on the applicant sheet and the live monitor.
   Same tokens, cards, notes and buttons as the rest of the app; light and dark come from the tokens. ===== */
.we-take,.ati-e-locked{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.we-take input,.we-take button{-webkit-user-select:none;user-select:none}
.ati-e-locked{gap:14px;border-color:var(--review-red-border)}
.ati-e-locked [hidden]{display:none!important}
.ati-e-lock-head{display:flex;align-items:center;gap:12px}
.ati-e-lock-head h1{margin:0}
.ati-e-lock-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--review-red-bg);color:var(--review-red-text);border:1px solid var(--review-red-border)}
.ati-e-lock-reason{margin:0;font-weight:750;color:var(--review-red-text);overflow-wrap:anywhere}
.ati-e-lock-todo{margin:0;font-size:1.12rem;font-weight:850;line-height:1.35;overflow-wrap:anywhere}
.ati-e-lock-status{margin:0;color:var(--text-soft);font-weight:700}
.ati-e-lock-status[data-state=offline],.ati-e-lock-status[data-state=sending]{color:var(--review-yellow-text)}
.ati-e-lock-timer{display:grid;justify-items:center;gap:4px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface-muted);text-align:center}
.ati-e-lock-timer-label{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.ati-e-lock-countdown{font-size:2.2rem;font-weight:900;font-variant-numeric:tabular-nums;color:var(--ink);line-height:1.1}
.ati-e-lock-countdown[data-stage=five]{color:var(--review-yellow-text)}
.ati-e-lock-countdown[data-stage=one],.ati-e-lock-countdown[data-stage=done]{color:var(--review-red-text)}
.ati-e-lock-timer-note{color:var(--muted);font-weight:700}
.ati-e-lock-answers{margin:0}
.ati-e-lock-note{margin:0}
/* the decision pop-up */
.ati-e-lock-sheet .mr-sheet-body{display:grid;gap:12px}
.ati-e-lock-hero h2{margin:0}
.ati-e-lock-why p{margin:0;overflow-wrap:anywhere}
.ati-e-lock-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.ati-e-lock-sheet .ati-e-lock-countdown{font-size:1.4rem}
.ati-e-lock-deadline{margin:0}
.ati-e-lock-choices{display:grid;gap:10px;width:100%}
.ati-e-lock-choice{min-height:52px;width:100%;justify-content:center;text-align:center;white-space:normal}
.ati-e-review{margin:0;width:fit-content;max-width:100%;box-sizing:border-box;padding:6px 10px;font-size:.88rem;border-radius:12px;border:1px solid var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text);font-weight:800;overflow-wrap:anywhere}
.ati-e-lock-history summary{min-height:44px;display:flex;align-items:center;font-weight:800;color:var(--brand-blue-strong);cursor:pointer}
.ati-e-lock-history ul{margin:0;padding-left:20px;display:grid;gap:4px;color:var(--text-soft);overflow-wrap:anywhere}
/* the applicant sheet's live line and the live monitor */
.ati-e-live-lock{display:grid;gap:8px;margin-top:4px}
.ati-e-live-lock p{margin:0}
.ati-e-lock-open{min-height:48px;justify-self:start}
@media(max-width:520px){.ati-e-lock-open{width:100%;justify-content:center}}
.ati-e-board-locked{display:grid;gap:6px;padding:8px;border:1px solid var(--review-red-border);border-radius:16px;background:var(--review-red-bg)}
.ati-e-board-locked .we-board-row{border-color:var(--review-red-border)}
.ati-e-board-why{margin:0 4px;color:var(--review-red-text);font-weight:700;overflow-wrap:anywhere}
.we-board-list>li>.ati-e-review{margin-top:6px}
/* ===== end WP-E EXAM LOCK ===== */

/* ===== WP-T Trainer screens (ATI round, Oct 18, 2026): My batches / My trainees filter, Done by, deadline +
   escalation lines, classroom exams, the proposed batch, training past the target (ati-t-) ===== */
.ati-t-filter{justify-self:start;max-width:100%;overflow-x:auto;scrollbar-width:none}
.ati-t-filter::-webkit-scrollbar{display:none}
.ati-t-filter button{min-height:40px;padding:0 12px;white-space:nowrap}
.ati-t-done-by{color:var(--text-soft);font-weight:700}
.ati-t-tasks,.ati-t-exams{list-style:none;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.ati-t-task{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0;overflow-wrap:anywhere}
.ati-t-task.is-mine{border-color:var(--brand-blue-line);background:var(--brand-blue-soft)}
.ati-t-task small{color:var(--text-soft);font-weight:650;line-height:1.35}
.ati-t-task .ati-t-escalation{color:var(--review-yellow-text);font-weight:800}
.ati-t-sheet-tasks{margin:0}
.ati-t-exam{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px;min-width:0;overflow-wrap:anywhere}
.ati-t-exam.is-ok .tr-check-mark{color:var(--review-green-text)}
.ati-t-exam.is-missing .tr-check-mark{color:var(--review-red-text)}
.ati-t-exam-form{grid-column:1/-1;display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);min-width:0}
.ati-t-exam-form .tr-input,.ati-t-risk-box .tr-input{font-size:16px}
.ati-t-exam-form input[type=radio]{width:20px;height:20px;accent-color:var(--brand-blue)}
.ati-t-proposal p{overflow-wrap:anywhere}
.ati-t-risk-box:empty{display:none}
.ati-t-risk-box .mr-note p,.ati-t-risk p,.ati-t-change p{overflow-wrap:anywhere}
.ati-t-change{border-color:var(--review-yellow-border)}
.ati-t-change h3{color:var(--review-yellow-text)}
.ati-t-change .quiet-button{justify-self:start;min-height:44px}
.tr-sheet .tr-input,.tr-sheet textarea,.tr-sheet select{font-size:16px}
@media (max-width:640px){
  .ati-t-filter{width:100%}
  .ati-t-filter button{flex:1 1 auto;min-width:0}
}
/* ===== end WP-T Trainer screens ===== */

/* ===== WP-I INTERVIEWER (Oct 18, 2026): My interviews (Home card, turn / deadline / escalation lines), the scheduling
   form built on interviewPlan, "Change the interview time", the Selection-for-Training side-by-side. Prefix ati-i-. ===== */
.ati-i-when{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ati-i-chip{white-space:nowrap}
.ati-i-turn{color:var(--text-soft);font-size:.86rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
p.ati-i-turn{margin:0}
.ati-i-due{display:block;margin:0;padding:4px 10px;border-radius:10px;background:var(--surface-muted);color:var(--text-soft);font-size:.84rem;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.ati-i-due.is-review{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.ati-i-due.is-blocked{background:var(--review-red-bg);color:var(--review-red-text)}
.ati-i-escalated{display:block;margin:0;padding:4px 10px;border-left:4px solid var(--review-red-border);border-radius:8px;background:var(--review-red-bg);color:var(--review-red-text);font-size:.84rem;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.ati-i-block{display:grid;gap:10px;padding:14px 16px}
.ati-i-block h3{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ati-i-escalated-item{display:grid;gap:6px}
.ati-i-open-task,.ati-i-all{justify-self:start;min-height:44px}
.ati-i-how{display:grid;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.ati-i-how-line{margin:0;font-size:.88rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.ati-i-slots{display:grid;gap:10px}
.ati-i-slot{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.ati-i-slot-label{margin:0}
.ati-i-slot-people{margin:0;font-weight:650;overflow-wrap:anywhere}
.ati-i-slot select{min-height:46px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:16px;font-weight:600;box-sizing:border-box}
.ati-i-slot select:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ati-i-told{color:var(--review-yellow-text);font-size:.82rem;font-weight:750;line-height:1.35}
.ati-i-was{margin:0}
.ati-i-lost p{margin:0}
:is(.rc-step-form[data-step=schedule-interview],.rc-step-form[data-step=reschedule-interview],.rc-step-form[data-step=select-for-training]) :is(input:not([type=radio]):not([type=checkbox]),textarea){font-size:16px}
.ati-i-compare{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.ati-i-compare-head{margin:0;font-size:.9rem;overflow-wrap:anywhere}
.ati-i-compare-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ati-i-compare-card{display:grid;align-content:start;gap:6px;padding:10px 12px;border:1px solid var(--line);border-left:5px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}
.ati-i-compare-card.is-positive{border-left-color:var(--review-green-border)}
.ati-i-compare-card.is-review{border-left-color:var(--review-yellow-border)}
.ati-i-compare-card.is-blocked{border-left-color:var(--review-red-border)}
.ati-i-compare-name{overflow-wrap:anywhere}
.ati-i-compare-notes{margin:0;color:var(--text-soft);font-size:.84rem;line-height:1.35;overflow-wrap:anywhere}
.ati-i-compare-notes.is-empty{color:var(--muted);font-style:italic}
.ati-i-home{display:block}
.ati-i-home-card{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 18px;border:1px solid var(--brand-blue-line);border-left:5px solid var(--brand-blue);border-radius:16px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
.ati-i-home-card.is-review{border-left-color:var(--review-yellow-border)}
.ati-i-home-card:hover{box-shadow:var(--shadow-hover)}
.ati-i-home-card:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.ati-i-home-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.2rem;font-weight:900}
.ati-i-home-main{display:grid;gap:2px;flex:1;min-width:0}
.ati-i-home-title{font-size:1.02rem}
.ati-i-home-counts{color:var(--brand-blue-strong);font-size:.88rem;font-weight:800;overflow-wrap:anywhere}
.ati-i-home-main .mr-hint{overflow-wrap:anywhere}
@media(max-width:520px){.ati-i-home-card{padding:12px 14px}.ati-i-compare-list{grid-template-columns:minmax(0,1fr)}}
/* ===== end WP-I INTERVIEWER ===== */
/* ===== WP-AT (wave 3, Oct 18, 2026): ATTENDANCE COMPLETION — Home (OB day, QR how-to, lunch, overtime, requests, team flags,
   rotating shift, the time-in screen button), the QR-link pop-up, Admin Center (ways, mall, devices & posters), the monthly
   summary, and the store device page (time-in.html, mock-up A2). Prefix at3-. Tokens only: light and dark come from them. ===== */
.at3-ob{display:grid;gap:4px;margin-top:12px;padding:12px 14px;border-radius:16px;background:var(--brand-blue-soft);border:1px solid var(--brand-blue-line)}
.at3-ob[data-ob=pending]{background:var(--warm-soft);border-color:var(--warm-line)}
.at3-ob-kicker{font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--brand-blue-strong)}
.at3-ob[data-ob=pending] .at3-ob-kicker{color:var(--warm-dark)}
.at3-ob-place{font-size:1.08rem;color:var(--ink);overflow-wrap:anywhere}
.at3-ob-note{margin:0;color:var(--text-soft);font-size:.9rem}
.at3-note{margin:10px 0 0;padding:8px 10px;border-radius:12px;background:var(--surface-muted);color:var(--text-soft);font-size:.9rem}
.at3-qr-how{display:flex;gap:12px;align-items:center;margin-top:14px;padding:14px;border-radius:16px;border:1px dashed var(--brand-blue-line);background:var(--surface-muted)}
.at3-qr-how p{margin:0;color:var(--ink);font-weight:600}
.at3-qr-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1.4rem;font-weight:800}
.at3-ot-line strong{color:var(--green-dark)}
.at3-pills{display:inline-flex;flex-wrap:wrap;gap:6px}
.at3-member{padding:0}
.at3-member-open{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 2px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.at3-member-open:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:12px}
.at3-flag{display:block;margin:6px 0 0;padding:8px 10px;border-radius:12px;background:var(--review-red-bg);border:1px solid var(--review-red-border);color:var(--review-red-text);font-size:.84rem;line-height:1.35;overflow-wrap:anywhere}
.at3-flag strong,.at3-flag-line{display:block;color:var(--review-red-text)}
.at3-flag-line{font-weight:500}
.at3-member-open .at-member-main{flex:1 1 auto}
.at3-member-open>.mr-status{flex:none;align-self:flex-start;white-space:nowrap}
.at3-screen-card .at3-device-button{display:block;width:100%;margin-top:10px;text-align:left}
.at3-scan-status{display:grid;justify-items:center;gap:6px;margin:8px 0;text-align:center;font-size:1.02rem;color:var(--ink)}
.at3-scan-done{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--review-green-bg);border:1px solid var(--review-green-border);color:var(--review-green-text);font-size:1.6rem;font-weight:900}
.at3-scan-time{font-size:2rem;font-weight:900;font-variant-numeric:tabular-nums}
.at3-scan-place{color:var(--muted)}
.at3-left{color:var(--warm-dark);font-weight:600}
.at3-small{min-height:40px;padding:0 14px;flex:none}
.at3-way-note{margin-top:-4px}
.at3-pin-box{display:grid;gap:8px}
.at3-pin-box[hidden]{display:none}
.at3-branch-points{display:grid;gap:8px;margin-top:6px;padding-top:10px;border-top:1px solid var(--line)}
.at3-branch-points:empty{display:none}
.at3-choices{display:flex;gap:16px;flex-wrap:wrap}
.at3-filters{display:grid;gap:10px}
.at3-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.at3-filter-row>*{min-width:0}
.at3-filter-row select,.at3-me .mr-field input{font-size:16px;width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;padding:8px 10px;border:1px solid var(--brand-blue-line);border-radius:10px;background:var(--surface-raised);color:var(--ink)}
.at3-summary,.at3-settings,.at3-summary .at-card{min-width:0;max-width:100%}
.at3-csv{justify-self:start;min-height:46px;border-radius:999px;padding:0 20px}
.at3-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:8px;margin-top:10px}
.at3-stat{display:grid;gap:2px;padding:10px;border-radius:14px;background:var(--page-accent);border:1px solid var(--line);text-align:center}
.at3-stat strong{font-size:1.25rem;color:var(--ink);font-variant-numeric:tabular-nums}
.at3-stat span{font-size:.78rem;color:var(--muted)}
.at3-summary-rows .at-member{padding:0}
.at3-summary-note{margin:4px 2px 16px}
@media (min-width:700px){.at3-qr-how{max-width:560px}}
/* the store device page (time-in.html) */
.at3-device-body{margin:0;min-height:100vh;min-height:100dvh;background:var(--page);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.at3-device{display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:16px;box-sizing:border-box}
.at3-device-card{display:grid;justify-items:center;gap:8px;width:min(100%,720px);padding:20px 16px 18px;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);text-align:center;box-sizing:border-box}
.at3-device-head{display:flex;align-items:center;gap:10px;justify-content:center;flex-wrap:wrap}
.at3-device-company{margin:0;font-weight:800;color:var(--text-soft)}
.at3-device-branch{margin:4px 0 0;font-size:clamp(1.6rem,6vw,2.6rem);line-height:1.1;color:var(--ink);overflow-wrap:anywhere}
.at3-device-time{display:flex;gap:12px;align-items:baseline;justify-content:center;flex-wrap:wrap}
.at3-device-date{margin:0;font-size:1.05rem;color:var(--text-soft);font-weight:700}
.at3-device-clock{margin:0;font-size:clamp(1.8rem,7vw,3rem);font-weight:900;font-variant-numeric:tabular-nums;color:var(--ink)}
.at3-device-how{margin:4px 0 0;font-size:1.05rem;font-weight:700;color:var(--ink);max-width:34em}
.at3-device-qr{width:min(78vw,56vh,460px);aspect-ratio:1;padding:10px;border-radius:18px;background:var(--surface-raised);border:1px solid var(--line);box-sizing:border-box}
.at3-device-qr svg{display:block;width:100%;height:100%}
.at3-device-bar{width:min(78vw,56vh,460px);height:6px;border-radius:999px;background:var(--surface-muted);overflow:hidden}
.at3-device-bar-fill{display:block;height:100%;width:100%;background:var(--brand-blue);transition:width .9s linear}
.at3-device-count{margin:0;color:var(--muted);font-variant-numeric:tabular-nums;font-weight:700}
.at3-device-note{margin:0;color:var(--text-soft);max-width:34em}
.at3-device-net{margin:0;padding:6px 12px;border-radius:999px;background:var(--warm-soft);color:var(--warm-dark);font-size:.9rem}
.at3-device-net[hidden]{display:none}
.at3-device-label{margin:6px 0 0;color:var(--muted);font-size:.82rem}
.at3-device-off{gap:12px}
.at3-device-off .primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;text-decoration:none}
/* THE TIME IN APP (Nov 10, 2026): "Set up this device", "Keep this screen open", add to the Home Screen, why it is off. */
.at3-device-keep{margin:2px 0 0;font-weight:800;color:var(--ink)}
.at3-device-form{display:grid;gap:8px;width:min(100%,420px);text-align:left}
.at3-device-field{font-weight:800;color:var(--ink)}
.at3-device-input{min-height:52px;padding:10px 14px;border:1px solid var(--brand-blue-line);border-radius:var(--radius-md);background:var(--surface-raised);color:var(--ink);font:inherit;font-size:1.5rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;text-align:center;font-variant-numeric:tabular-nums;box-sizing:border-box;width:100%}
.at3-device-input:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.at3-device-input::placeholder{color:var(--muted);letter-spacing:.08em;font-weight:700}
.at3-device-error{margin:0;color:var(--danger);font-weight:700}
.at3-device-error[hidden]{display:none}
.at3-device-wide{width:100%;min-height:48px;border-radius:999px}
.at3-device-install{width:min(100%,420px);padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-muted);text-align:left;box-sizing:border-box}
.at3-device-install summary{cursor:pointer;font-weight:800;color:var(--brand-blue-strong);min-height:28px;display:flex;align-items:center}
.at3-device-install[open]{display:grid;gap:8px}
.at3-device-install .at3-device-form{width:100%}
.at3-device-steps{margin:0;padding-left:1.4em;display:grid;gap:4px;color:var(--ink)}
.at3-device-code-line{margin:0;font-size:1.1rem;color:var(--ink)}
.at3-device-code-line b{letter-spacing:.1em;font-variant-numeric:tabular-nums}
.at3-device-todo{font-weight:700;color:var(--ink)}
@media (orientation:landscape) and (min-width:900px){.at3-device-card>.at3-device-keep,.at3-device-card>.at3-device-install{grid-column:1/-1}.at3-device-setup,.at3-device-off{grid-template-columns:1fr;grid-template-areas:none;justify-items:center;text-align:center}}
@media (orientation:landscape) and (min-width:900px){.at3-device-card{width:min(100%,980px);grid-template-columns:1fr auto;grid-template-areas:"head qr" "branch qr" "time qr" "how qr" "count bar" "note note" "net net" "label label";text-align:left;justify-items:start;column-gap:28px}
  .at3-device-head{grid-area:head;justify-content:flex-start}.at3-device-branch{grid-area:branch}.at3-device-time{grid-area:time;justify-content:flex-start}.at3-device-how{grid-area:how}
  .at3-device-qr{grid-area:qr;width:min(44vw,72vh,520px)}.at3-device-bar{grid-area:bar;width:min(44vw,72vh,520px)}.at3-device-count{grid-area:count}.at3-device-note{grid-area:note}.at3-device-net{grid-area:net}.at3-device-label{grid-area:label}}
/* ===== end WP-AT attendance completion ===== */

/* ===== WP-HOL (wave 2, letter h) — Philippine holidays (Oct 8 design, built Oct 19, 2026): Admin Center › Company › Working calendar, the Home notice (mock-ups HD2/HD3) ===== */
.wc-screen{display:grid;gap:14px;max-width:860px}
.wc-card{display:grid;gap:14px;padding:18px}
.wc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.wc-head-text{display:grid;gap:2px;min-width:0}
.wc-head h2{margin:0;font-size:1.3rem;line-height:1.2;letter-spacing:-.01em}
.wc-counts{margin:0;color:var(--brand-blue-strong);font-weight:800;font-size:.86rem}
.wc-add{min-height:46px;padding:10px 22px;border-radius:999px;font-size:1rem;white-space:nowrap}
.wc-years{display:flex;gap:8px;flex-wrap:wrap}
.wc-year{min-height:38px;padding:0 16px;border:1px solid var(--brand-blue-line);border-radius:999px;background:var(--surface);color:var(--brand-blue-strong);font:inherit;font-weight:800;cursor:pointer}
.wc-year.is-on{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand)}
.wc-group{display:grid;gap:6px}
.wc-group-title{display:flex;align-items:baseline;gap:8px;margin:4px 0 0;font-size:1.02rem}
.wc-count{color:var(--muted);font-weight:800;font-size:.8rem}
.wc-note{margin:0;color:var(--muted);font-size:.84rem}
.wc-rows{display:grid;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.wc-row{display:grid;grid-template-columns:minmax(104px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:6px 12px;border-top:1px solid var(--line)}
.wc-row:first-child{border-top:0}
.wc-row.is-new{background:var(--brand-blue-soft)}
.wc-date{font-weight:850;font-size:.9rem;white-space:nowrap}
.wc-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-weight:800;overflow-wrap:anywhere}
.wc-had{color:var(--brand-blue-strong);font-weight:750;font-size:.78rem}
.wc-chip{justify-self:end;padding:2px 9px;border-radius:999px;font-size:.74rem;font-weight:850;white-space:nowrap}
.wc-chip.is-expected{background:var(--warm-soft);color:var(--warm-dark)}
.wc-chip.is-official{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.wc-chip.is-waiting{background:var(--lavender-soft);color:var(--lavender-dark)}
.wc-working{margin:-4px 0 0;color:var(--text-soft);font-weight:750;font-size:.84rem}
.wc-empty{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);font-weight:650}
.wc-waiting{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--review-green-border);border-radius:14px;background:var(--review-green-bg);color:var(--review-green-text)}
.wc-waiting .quiet-button{justify-self:start;margin-top:4px}
.wc-sheet{width:min(640px,100vw)}
.wc-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 12px;border-bottom:1px solid var(--line)}
.wc-sheet-head h2{margin:0;font-size:1.35rem}
.wc-crumbs{margin:2px 0 0;color:var(--brand-blue-strong);font-size:.86rem}
.wc-close{flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:1.3rem;cursor:pointer}
.wc-sheet-body{background:var(--surface-muted)}
.wc-choices{display:grid;gap:10px}
.wc-choice,.cs-sheet-body .wc-choice{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer}
.wc-choice.is-on{border:2px solid var(--brand-blue-line);padding:11px 13px;box-shadow:0 0 0 2px var(--focus)}
.cs-sheet-body .wc-choice input{min-height:0;width:20px;height:20px;margin:2px 0 0;padding:0;flex:none;accent-color:var(--brand-blue)}
.wc-choice-text{display:grid;gap:2px}
.wc-choice-text small{color:var(--brand-blue-strong);font-weight:750;font-size:.8rem}
.wc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wc-field-label{color:var(--text-soft);font-size:.82rem;font-weight:850}
.wc-already{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.wc-already small{color:var(--muted)}
.wc-ask{font-size:.92rem}
.wc-open{color:var(--brand-blue-strong)!important}
.wc-yesno-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wc-sheet-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px 18px;border-top:1px solid var(--line)}
.wc-sheet-actions .quiet-button,.wc-sheet-actions .primary-button{min-height:46px;padding:10px 22px;border-radius:999px;font-size:1rem}
.wc-notice{display:grid;gap:6px;padding:16px 18px;border:2px solid var(--brand-blue-line);background:var(--brand-blue-soft)}
.wc-notice-from{margin:0;color:var(--brand-blue-strong);font-size:.76rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.wc-notice-title{margin:0;font-size:1.1rem;line-height:1.3}
.wc-notice p{margin:0}
.wc-notice-note{color:var(--brand-blue-strong);font-weight:650}
.wc-notice-open{justify-self:start;min-height:46px;padding:10px 24px;border-radius:999px;font-size:1rem}
.wc-workdays{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.wc-workdays-text{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.wc-workdays-text span{color:var(--text-soft);font-weight:750}
.wc-change{min-height:40px;padding:6px 16px;border-radius:999px}
.wc-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.wc-weekday{min-height:46px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--brand-blue-strong);font:inherit;font-weight:850;cursor:pointer}
.wc-weekday.is-on{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand)}
.wc-pending{margin:-4px 0 0;color:var(--brand-blue-strong);font-weight:750;font-size:.84rem}
.wc-row-button{display:grid;grid-template-columns:minmax(104px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.wc-row:has(.wc-row-button){display:block;padding:0}
.wc-row .wc-row-button{padding:6px 12px}
.wc-chevron{justify-self:end;color:var(--muted);font-size:1.2rem;font-weight:700}
.wc-scope{display:grid;gap:8px}
.wc-branches{display:flex;flex-wrap:wrap;gap:8px}
.wc-branch{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:750;cursor:pointer}
.wc-branch.is-on{border-color:var(--brand-blue-line);box-shadow:0 0 0 2px var(--focus)}
.cs-sheet-body .wc-branch input{min-height:0;width:18px;height:18px;margin:0;padding:0;accent-color:var(--brand-blue)}
.wc-sheet input[type=date],.wc-sheet input[type=text],.wc-sheet select{font-size:16px;min-height:46px}
.wc-field{display:grid;gap:4px}
.wc-field[hidden],.wc-scope[hidden],.wc-branches[hidden],.wc-already[hidden]{display:none}
.cs-sheet-body .wc-branch{display:inline-flex;flex-direction:row;align-items:center}
.wc-confirm{justify-self:start;min-height:44px;padding:8px 20px;border-radius:999px}
.wc-danger{background:var(--danger,#b42318);border-color:var(--danger,#b42318)}
@media(max-width:640px){
  .wc-card{padding:14px}
  .wc-head{flex-direction:column}
  .wc-add{width:100%}
  .wc-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}
  .wc-row .wc-date{grid-column:1}
  .wc-row .wc-name{grid-column:1;grid-row:2}
  .wc-row .wc-chip{grid-column:2;grid-row:1 / span 2}
  .wc-row-button{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}
  .wc-row-button .wc-date{grid-column:1}
  .wc-row-button .wc-name{grid-column:1;grid-row:2}
  .wc-row-button .wc-chip,.wc-row-button .wc-chevron{grid-column:2;grid-row:1 / span 2}
  .wc-weekdays{gap:4px}
  .wc-fields{grid-template-columns:minmax(0,1fr)}
  .wc-sheet-actions{flex-direction:column-reverse}
  .wc-sheet-actions .quiet-button,.wc-sheet-actions .primary-button{width:100%}
}
/* ===== end WP-HOL Philippine holidays ===== */
/* ===== WP-HOL — Owner console: side menu + Philippine holidays (Oct 8 design, built Oct 19, 2026; mock-up HD1-OwnerHolidays) ===== */
.platform-admin .pa-main{max-width:1240px}
.pa-shell{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
.pa-nav{position:sticky;top:12px;display:flex;flex-direction:column;gap:2px;min-height:60vh;padding:16px 10px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.pa-nav-title{padding:0 10px 12px;font-size:1.15rem;line-height:1.2}
.pa-nav-group{padding:8px 10px 2px;font-weight:850;font-size:.9rem}
.pa-nav-item{min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.pa-nav-item[data-page=companies]{margin-left:10px;font-weight:600}
.pa-nav-item[aria-current=page]{background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:850}
.pa-nav-spacer{flex:1}
.pa-nav-signout{margin:10px 8px 0}
.pa-pages{min-width:0}
.ph-page{display:grid;gap:14px;max-width:940px}
.ph-head h1{margin:0;font-size:1.7rem;letter-spacing:-.02em}
.ph-head p{margin:4px 0 0;color:var(--muted)}
.ph-years{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ph-year{min-height:40px;padding:0 18px;border:1px solid var(--brand-blue-line);border-radius:999px;background:var(--surface);color:var(--brand-blue-strong);font:inherit;font-weight:850;cursor:pointer}
.ph-year.is-on{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand)}
.ph-year-status{margin-left:6px;color:var(--text-soft);font-weight:750;font-size:.92rem}
.ph-task{display:grid;gap:12px;padding:18px}
.ph-task h2{margin:0;font-size:1.3rem}
.ph-facts{display:grid;gap:6px}
.ph-facts>div{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.92rem}
.ph-facts>div>span{color:var(--muted)}
.ph-facts strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ph-chip{display:inline-flex;padding:2px 8px;border-radius:8px;background:var(--surface-muted);color:var(--muted);font-size:.7rem;font-weight:850;white-space:nowrap}
.ph-chip.is-new{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.ph-warn{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--review-yellow-border);border-radius:14px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-size:.92rem}
.ph-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ph-actions .primary-button,.ph-actions .quiet-button{min-height:44px;padding:10px 20px;border-radius:999px}
.ph-main{flex:1 1 260px;min-height:50px!important;font-size:1rem}
.ph-last{color:var(--muted);font-weight:650}
.ph-done{display:grid;gap:6px;padding:16px 20px;border:2px solid var(--review-green-border);border-radius:18px;background:var(--review-green-bg);color:var(--review-green-text)}
.ph-done-title{font-size:1.15rem}
.ph-done-line{font-weight:750}
.ph-done .quiet-button{min-height:40px;border-radius:999px}
.ph-eid{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px}
.ph-eid.is-done{opacity:.85}
.ph-eid-text{display:grid;gap:2px;min-width:0}
.ph-eid-text small{color:var(--muted)}
.ph-eid .quiet-button{min-height:42px;padding:8px 18px;border-radius:999px;white-space:nowrap}
.ph-table-card{display:grid;gap:10px;padding:16px}
.ph-table-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.ph-table-head h2{margin:0;font-size:1.15rem}
.ph-count{color:var(--text-soft);font-size:.92rem}
.ph-table{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.ph-tr{display:grid;grid-template-columns:120px minmax(0,1fr) 240px 120px;align-items:center;gap:10px;min-height:40px;padding:6px 12px;border-top:1px solid var(--line)}
.ph-tr:first-child{border-top:0}
.ph-th{color:var(--muted);font-size:.8rem;font-weight:850}
.ph-tr.is-working{background:var(--brand-blue-soft)}
.ph-date{font-weight:850;white-space:nowrap}
.ph-name{font-weight:800}
.ph-type{color:var(--text-soft);font-size:.86rem}
.ph-from{display:inline-flex;padding:2px 8px;border-radius:8px;font-size:.74rem;font-weight:850}
.ph-from.is-built-in{background:var(--surface-muted);color:var(--muted)}
.ph-from.is-official{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.ph-sheet{width:min(700px,100vw)}
.ph-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px 12px;border-bottom:1px solid var(--line)}
.ph-sheet-head h2{margin:0;font-size:1.35rem}
.ph-sheet-sub{margin:2px 0 0;color:var(--brand-blue-strong);font-size:.88rem}
.ph-close{flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:1.3rem;cursor:pointer}
.ph-sheet-body{background:var(--surface-muted)}
.cs-sheet-body .ph-file{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font-weight:800}
.ph-file-icon{color:var(--brand-blue)}
.cs-sheet-body .ph-file-input{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;overflow:hidden}
.ph-file:focus-within{outline:3px solid var(--focus)}
.ph-preview{display:grid;gap:10px}
.ph-tiles{font-size:1.02rem}
.ph-changes{display:grid;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.ph-changes li{display:grid;grid-template-columns:110px 110px minmax(0,1fr);align-items:center;gap:10px;padding:8px 12px;border-top:1px solid var(--line)}
.ph-changes li:first-child{border-top:0}
.ph-change-text{display:grid}
.ph-change-text small{color:var(--brand-blue-strong);font-size:.78rem}
.ph-notin{font-size:.92rem}
.ph-note{margin:0;color:var(--text-soft)}
.ph-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ph-field-label{color:var(--text-soft);font-size:.82rem;font-weight:850}
.ph-sheet-actions{display:flex;align-items:center;gap:10px;padding:14px 20px 18px;border-top:1px solid var(--line)}
.ph-foot{flex:1;color:var(--muted);font-size:.82rem}
.ph-sheet-actions .quiet-button,.ph-sheet-actions .primary-button{min-height:46px;padding:10px 22px;border-radius:999px;font-size:1rem}
.ph-hidden{display:none}
@media(max-width:900px){
  .pa-shell{grid-template-columns:minmax(0,1fr)}
  .pa-nav{position:static;min-height:0;flex-direction:row;flex-wrap:wrap;align-items:center}
  .pa-nav-title{width:100%;padding-bottom:6px}
  .pa-nav-group{display:none}
  .pa-nav-item[data-page=companies]{margin-left:0}
  .pa-nav-spacer{display:none}
  .pa-nav-signout{margin:0 0 0 auto}
}
@media(max-width:640px){
  .ph-tr{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}
  .ph-th{display:none}
  .ph-tr .ph-date{grid-column:1}
  .ph-tr .ph-name{grid-column:1}
  .ph-tr .ph-type{grid-column:1}
  .ph-tr>span:last-child{grid-column:2;grid-row:1 / span 3}
  .ph-eid{flex-direction:column;align-items:stretch}
  .ph-changes li{grid-template-columns:minmax(0,1fr) auto}
  .ph-changes li .ph-chip{grid-column:2;grid-row:1}
  .ph-changes li .ph-date{grid-column:1;grid-row:1}
  .ph-changes li .ph-change-text{grid-column:1 / span 2}
  .ph-fields{grid-template-columns:minmax(0,1fr)}
  .ph-sheet-actions{flex-wrap:wrap}
  .ph-foot{width:100%;flex:none}
  .ph-sheet-actions .quiet-button,.ph-sheet-actions .primary-button{flex:1 1 0}
  .ph-actions .primary-button,.ph-actions .quiet-button{flex:1 1 100%}
}
/* ===== end owner console ===== */

/* ===== WP-W WORKFLOW CHECK (round ATI, Oct 18, 2026): Admin Center › Rules & alerts › Workflow check — the last check,
   "All workflows have someone responsible ✓" or what waits for the Owner, and each fix (from → to, Reason:, weekday date).
   Prefix ati-w-. Shared tokens only (light and dark). ===== */
.ati-w-page{display:grid;gap:var(--space-3,14px)}
.ati-w-status{border-left:5px solid var(--review-green-border)}
.ati-w-status.is-review{border-left-color:var(--review-yellow-border)}
.ati-w-status.is-pending{border-left-color:var(--line)}
.ati-w-headline{margin:0 0 2px;font-size:1.18rem;line-height:1.25;color:var(--review-green-text);overflow-wrap:anywhere}
.ati-w-status.is-review .ati-w-headline{color:var(--review-yellow-text)}
.ati-w-status.is-pending .ati-w-headline{color:var(--text)}
.ati-w-last{margin:0 0 8px;color:var(--text-soft);font-size:.9rem;font-weight:700}
.ati-w-block{display:grid;gap:10px;padding:14px 16px}
.ati-w-block-head{margin:0;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.ati-w-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.ati-w-wait{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--review-yellow-border);border-left:5px solid var(--review-yellow-border);border-radius:var(--radius-md);background:var(--surface)}
.ati-w-row-head{display:flex;align-items:flex-start;gap:12px}
.ati-w-row-main{display:grid;gap:3px;flex:1;min-width:0}
.ati-w-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:1rem;font-weight:900}
.ati-w-icon.is-review{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.ati-w-title{font-size:.98rem;line-height:1.3;color:var(--text);overflow-wrap:anywhere}
.ati-w-when,.ati-w-kind{color:var(--muted);font-size:.8rem;font-weight:800}
.ati-w-fromto{color:var(--text-soft);font-size:.88rem;font-weight:750;overflow-wrap:anywhere}
.ati-w-reason,.ati-w-suggestion{margin:0;color:var(--text-soft);font-size:.88rem;line-height:1.4;overflow-wrap:anywhere}
.ati-w-suggestion{padding:6px 10px;border-radius:10px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.ati-w-others{margin:0;padding-left:20px;color:var(--text-soft);font-size:.86rem;line-height:1.4}
.ati-w-open{justify-self:start;min-height:44px}
.ati-w-fix{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.ati-w-fix:first-child{border-top:0;padding-top:0}
.ati-w-none{margin:0;color:var(--muted);font-weight:650}
@media (max-width:520px){.ati-w-block{padding:12px 14px}.ati-w-icon{width:30px;height:30px}}
/* ===== end WP-W WORKFLOW CHECK ===== */
/* ===== WP-TK — Home (today), Tasks, My team, Notifications, Report a problem (Wave 3, Oct 18, 2026) ===== */
.tk-today{display:grid;gap:14px;margin-top:4px}
.tk-section{display:grid;gap:10px}
.tk-section-title{display:flex;align-items:center;gap:8px;margin:6px 2px 0;font-size:1rem;font-weight:850;color:var(--text)}
.tk-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.8rem;font-weight:900;font-variant-numeric:tabular-nums}
.tk-list{display:grid;gap:10px}
.tk-row{display:grid;gap:8px;padding:14px 16px;border-left:5px solid var(--brand-blue-line);background:var(--surface);min-width:0}
.tk-row.is-overdue{border-left-color:var(--review-red-border)}
.tk-row.is-today{border-left-color:var(--review-yellow-border)}
.tk-row.is-escalated-to-you{border-left-color:var(--warm)}
.tk-row.is-focused{box-shadow:0 0 0 3px var(--focus),var(--shadow)}
.tk-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tk-kind{margin:0;color:var(--muted);font-size:.74rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.tk-title{margin:0;font-size:1.02rem;line-height:1.3;overflow-wrap:anywhere}
.tk-facts{display:grid;gap:3px}
.tk-facts p{margin:0}
.tk-due{font-weight:800;font-size:.92rem;color:var(--text)}
.tk-due.is-overdue{color:var(--review-red-text)}
.tk-due.is-today{color:var(--review-yellow-text)}
.tk-reason{color:var(--text-soft);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}
.tk-reason strong{color:var(--text-soft)}
.tk-escalation{display:flex;gap:8px;align-items:flex-start;margin-top:4px;padding:8px 10px;border:1px solid var(--warm-line);border-radius:12px;background:var(--warm-soft);color:var(--warm-dark)}
.tk-escalation div{display:grid;gap:1px;min-width:0}
.tk-escalation strong{font-size:.88rem;overflow-wrap:anywhere}
.tk-escalation small{font-size:.8rem;overflow-wrap:anywhere}
.tk-escalation.is-to-you{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.tk-escalation-icon{font-weight:900}
.tk-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.tk-actions .tk-approve{min-width:120px}
.tk-open{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:8px;border-top:1px solid var(--line)}
/* the workflow's own Open button, toned down beside Approve; the extra .tk-row beats the dark theme's primary-button text colour */
.tk-row .tk-open .primary-button{background:var(--brand-blue-soft);color:var(--brand-blue-strong);box-shadow:none}
:root .tk-row .tk-open .primary-button{color:var(--brand-blue-strong)}
.tk-open .primary-button,.tk-open .quiet-button{min-height:36px;padding:7px 12px;font-size:.88rem}
.tk-clear{display:flex;align-items:center;gap:14px;padding:16px 18px}
.tk-clear p{margin:2px 0 0}
.tk-clear-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--green-soft);color:var(--green-dark);font-weight:900}
.tk-coming{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:12px 18px;color:var(--brand-blue-strong);font:inherit;font-weight:850;text-align:left;cursor:pointer}
.tk-coming:hover{box-shadow:var(--shadow-hover)}
.tk-coming:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.tk-loading,.tk-failure{padding:16px 18px}
.tk-failure{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tk-failure p{margin:0}
.tk-tabs{width:min(460px,100%);margin-bottom:12px}
.tk-tab{font-variant-numeric:tabular-nums}
.tk-body{display:grid;gap:16px}
.tk-empty{margin:0;color:var(--muted)}
.tk-team-summary{display:grid;gap:4px;padding:14px 18px;margin-bottom:12px}
.tk-team-summary p{margin:0}
.tk-team-counts{font-size:1.02rem;overflow-wrap:anywhere}
.tk-member{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px}
.tk-member-main{display:grid;gap:2px;min-width:0}
.tk-member-main strong{overflow-wrap:anywhere}
.tk-member-detail{color:var(--text-soft);font-size:.82rem}
.tk-avatar{width:40px;height:40px;font-size:.88rem}
.tk-notif-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.tk-notif-count{font-size:1rem}
.tk-notif-list{display:grid;gap:8px}
.tk-notif{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;padding:12px 16px;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.tk-notif:hover{box-shadow:var(--shadow-hover)}
.tk-notif:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.tk-notif-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;background:transparent;border:2px solid var(--line)}
.tk-notif.is-unread{border-color:var(--brand-blue-line);background:color-mix(in srgb,var(--brand-blue-soft) 55%,var(--surface))}
.tk-notif.is-unread .tk-notif-dot{background:var(--brand-blue);border-color:var(--brand-blue)}
.tk-notif-main{display:grid;gap:3px;min-width:0}
.tk-notif-title{font-weight:650;overflow-wrap:anywhere}
.tk-notif.is-unread .tk-notif-title{font-weight:850}
.tk-notif-summary{color:var(--text-soft);font-size:.88rem;line-height:1.35;overflow-wrap:anywhere}
.tk-more{justify-self:center;margin-top:10px}
.notification-see-all{width:100%;margin-top:8px}
.tk-sheet-title{margin:0 0 6px;font-weight:800;overflow-wrap:anywhere}
.tk-sheet textarea,.tk-help-form textarea{font-size:16px}
.tk-help{display:grid;gap:12px}
.tk-help-form{padding:16px 18px}
.tk-help-head{margin:0}
.tk-help-choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0;padding:0;border:0}
.tk-help-choice legend{width:100%;margin-bottom:6px;font-weight:800}
.tk-radio,.tk-check{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-weight:650}
.tk-radio input,.tk-check input{width:20px;height:20px;accent-color:var(--brand-blue)}
.stack label.tk-radio,.stack label.tk-check{display:inline-flex;align-items:center;gap:8px;font-size:.95rem;font-weight:650}
.stack .tk-radio input,.stack .tk-check input{width:20px;min-width:20px;height:20px;padding:0;flex:none}
.tk-help-feedback{margin:0;font-weight:750;color:var(--brand-blue-strong);overflow-wrap:anywhere}
.tk-help-feedback:empty{display:none}
.tk-help-reports{display:grid;gap:8px}
.tk-report{display:grid;gap:4px;padding:12px 16px}
.tk-report.is-ended{opacity:.85}
.tk-report-ref{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.tk-report-what,.tk-report-note{margin:0;overflow-wrap:anywhere}
.tk-report-note{color:var(--text-soft);font-size:.9rem}
.tk-late{color:var(--review-red-text);font-weight:750}
@media(max-width:560px){.tk-row{padding:12px 14px}.tk-actions{justify-content:stretch}.tk-actions>button{flex:1 1 auto}.tk-member{grid-template-columns:auto minmax(0,1fr)}.tk-member>.mr-status{grid-column:2}}
/* WP-TK (TK8): Admin Center › Notifications — one fact per row, plain weight. */
.tk-admin-notif{display:grid;gap:12px;padding:16px}
.tk-admin-facts{grid-template-columns:1fr}
.tk-admin-facts dd{font-weight:600}
.tk-admin-notif .quiet-button{justify-self:start}
/* WP-TK: the page's own blocks span the whole page grid on tablet and laptop (never side by side). */
#cards>.tk-tabs,#cards>.tk-body,#cards>.tk-team-summary,#cards>.tk-team,#cards>.tk-notif-head,#cards>.tk-notif-list,#cards>.tk-more,#cards>.tk-loading,#cards>.tk-failure,#cards>.tk-clear,#cards>.tk-admin-notif{grid-column:1/-1}
/* ===== end WP-TK ===== */
/* ===== WP-Q (round ATI, Oct 18, 2026): Talent Pool follow-up — board card, setting On/Off, training validity, applicant question (ati-q-*) ===== */
/* Q7 fix: inside these sheets `hidden` really hides (.mr-field{display:grid} overrode it — the "Why" box of the hiring decision) */
.ati-q-sheet [hidden]{display:none!important}
.ati-q-number{font-size:16px;max-width:160px}
.ati-q-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-3);align-items:end}
.ati-q-editor{display:grid;gap:var(--space-3)}
.ati-q-keep{margin:0;font-weight:800}
.ati-q-big{display:flex;align-items:center;gap:12px;margin:6px 0 4px;min-width:0}
.ati-q-big>div{display:grid;gap:2px;min-width:0}
.ati-q-big strong{font-size:1.45rem;line-height:1.15;color:var(--text);overflow-wrap:anywhere}
.ati-q-big small{color:var(--muted);font-weight:700;font-size:.86rem}
.ati-q-onoff{flex:none;display:inline-grid;place-items:center;min-width:52px;padding:6px 12px;border-radius:999px;font-weight:900;font-size:.82rem;
  border:1px solid var(--line);background:var(--surface-muted);color:var(--muted)}
.ati-q-onoff.is-on{background:var(--review-green-bg);border-color:var(--review-green-border);color:var(--review-green-text)}
.ati-q-pool{display:grid;gap:var(--space-3);padding:var(--space-4);border-left:4px solid var(--lavender)}
.ati-q-pool.is-urgent{border-left-color:var(--warm-dark)}
.ati-q-pool-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);flex-wrap:wrap}
.ati-q-pool-head h3{margin:0;font-size:1.05rem;color:var(--text);overflow-wrap:anywhere}
.ati-q-count{color:var(--muted);font-weight:800;font-size:.8rem;white-space:nowrap}
.ati-q-sub{margin:0;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ati-q-people{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ati-q-person{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.ati-q-person-main{flex:1;min-width:0;display:grid;gap:3px;text-align:left;background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;min-height:44px}
.ati-q-person-main strong{color:var(--text);overflow-wrap:anywhere}
.ati-q-person-main small{color:var(--text-soft);font-size:.84rem;line-height:1.35;overflow-wrap:anywhere}
.ati-q-state{justify-self:start;padding:2px 9px;border-radius:999px;font-size:.76rem;font-weight:800;background:var(--lavender-soft);border:1px solid var(--lavender-line);color:var(--lavender-dark)}
.ati-q-state.is-yes{background:var(--review-green-bg);border-color:var(--review-green-border);color:var(--review-green-text)}
.ati-q-invite{flex:none;min-height:44px}
.ati-q-invite-all{justify-self:start;min-height:44px}
.ati-q-other{display:grid;gap:6px;padding-top:var(--space-2);border-top:1px solid var(--line)}
.ati-q-numbers{margin:0;font-weight:800;color:var(--text);overflow-wrap:anywhere}
.ati-q-urgent{margin:0}
.ati-q-error{margin:0}
.ati-q-start{color:var(--lavender-dark)}
.ati-q-kept{display:grid;gap:4px}
.ati-q-end{justify-self:end;min-height:44px;padding:0 12px}
.ati-q-end-who{display:grid;gap:2px;margin-bottom:var(--space-2)}
.ati-q-end-who small{color:var(--muted);font-weight:700}
.ati-q-pool-line{margin:0;padding:8px 10px;border-radius:12px;background:var(--lavender-soft);border:1px solid var(--lavender-line);color:var(--text)}
.ati-q-question{border-left:4px solid var(--brand-blue-strong)}
.ati-q-answer{display:flex;gap:10px;flex-wrap:wrap}
.ati-q-answer button{min-width:120px;min-height:44px}
.ati-q-entries{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.ati-q-entry{display:grid;gap:3px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.ati-q-entry:last-child{border-bottom:0;padding-bottom:0}
.ati-q-entry-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ati-q-entry .mr-hint{margin:0}
.ati-q-entry small{color:var(--muted);font-weight:700}
.ati-q-answered{margin:0;padding-left:18px;color:var(--text-soft);font-size:.86rem}
.ati-q-remove{display:grid;gap:8px}
@media(max-width:520px){.ati-q-person{flex-wrap:wrap}.ati-q-invite{width:100%}.ati-q-answer button{flex:1}}
/* dark mode: the tokens above already switch (lavender / warm / review green), nothing else needed */
/* ===== end WP-Q Talent Pool follow-up ===== */

/* ===== RV review fixes (Oct 19, 2026) ===== */
/* .wc-danger (a primary button): its text follows the danger colour's own pair (dark navy on the light dark-mode red). */
.wc-danger{color:var(--on-danger)}
/* Review M2: the chosen trainees' ready date against their target (Add trainees, a new batch, the approval pop-up). */
.rv-target-box:empty{display:none}
.rv-target-note{margin-top:12px}
.rv-target-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.rv-target-row{display:grid;gap:2px;padding:8px 10px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--text)}
.rv-target-row small{color:var(--text-soft);font-size:.82rem}
.rv-target-row.is-late{border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.rv-target-row.is-late small{color:var(--review-yellow-text)}
/* The exam the rules can never score: why, and what to do ("Enter the result"). */
.rv-cannot-score{margin-bottom:12px}
.rv-cannot-score p{margin:4px 0}
@media(max-width:480px){.rv-target-row{padding:8px}}
/* ===== end RV review fixes ===== */
/* ===== WP-RG REGULARIZATION (Wave 3, Oct 18 2026): Employees › Regularization (mr-* list), one probation (cs-sheet), the
 * check-in / evaluation / decision forms (ic-rate pills, rc-choice, ap-tick), HR's end dates, Me › My probation (with the
 * written notice) and Admin Center › Probation & regularization. Existing tokens only; light and dark follow them. ===== */
.w3-rg-sheet .mr-field input,.w3-rg-sheet .mr-field select,.w3-rg-sheet .mr-field textarea,.w3-rg-sheet .w3-rg-edit-row input,.w3-rg-sheet .w3-rg-edit-row textarea,
.w3-rg-sheet .w3-rg-criterion input[type=text],.w3-rg-date-input input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-weight:500}
.w3-rg-sheet textarea{resize:vertical}
.w3-rg-sheet .mr-field input:focus,.w3-rg-sheet .mr-field select:focus,.w3-rg-sheet .mr-field textarea:focus,.w3-rg-sheet .w3-rg-edit-row input:focus,.w3-rg-sheet .w3-rg-edit-row textarea:focus,
.w3-rg-sheet .w3-rg-criterion input[type=text]:focus,.w3-rg-date-input input:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.w3-rg-end-dates-button{white-space:normal;text-align:left}
.w3-rg-subhead{margin:0 0 8px;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.w3-rg-outcome.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.w3-rg-outcome.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.w3-rg-steps li.is-missed{border-color:var(--review-red-border)}
.w3-rg-steps li.is-missed .mr-step-mark{background:var(--review-red-bg);color:var(--review-red-text)}
.w3-rg-steps li.is-missed .mr-step-state{color:var(--review-red-text)}
.w3-rg-steps small{white-space:normal}
.w3-rg-evaluations{display:grid;gap:10px;min-width:0}
.w3-rg-eval{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.w3-rg-eval-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;margin:0}
.w3-rg-eval-head span{color:var(--muted);font-size:.84rem}
.w3-rg-eval-note{margin:0;overflow-wrap:anywhere}
.w3-rg-ratings{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.w3-rg-ratings li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 10px;border-radius:10px;background:var(--surface-muted)}
.w3-rg-ratings li strong{font-variant-numeric:tabular-nums}
.w3-rg-ratings li small{grid-column:1/-1;color:var(--muted);overflow-wrap:anywhere}
.w3-rg-ratings li.is-low{background:var(--review-red-bg);color:var(--review-red-text)}
.w3-rg-ratings li.is-low small{color:inherit}
.w3-rg-not-met ul,.w3-rg-plain-list{margin:4px 0 0;padding-left:20px;display:grid;gap:4px}
.w3-rg-form-intro{font-weight:700;color:var(--text-soft)}
.w3-rg-private{padding:8px 10px;border-radius:10px;background:var(--surface-muted)}
.w3-rg-criterion{display:grid;gap:8px;min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:14px}
.w3-rg-criterion legend{padding:0 4px;font-weight:800}
.w3-rg-criterion.has-error{border-color:var(--review-red-border);box-shadow:0 0 0 3px var(--review-red-bg)}
.w3-rg-not-wrap{display:grid;gap:12px}
.w3-rg-not-wrap[hidden]{display:none}
.w3-rg-standards .ap-tick span{overflow-wrap:anywhere}
.w3-rg-effect{margin:0;line-height:1.45}
.w3-rg-date-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.w3-rg-date-row{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.w3-rg-date-row.is-saved{border-color:var(--review-green-border);background:var(--review-green-bg)}
.w3-rg-date-who{display:grid;gap:2px;min-width:0}
.w3-rg-date-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.w3-rg-saved{margin:0;color:var(--review-green-text);font-weight:800}
.w3-rg-done{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.w3-rg-mine{max-width:760px}
.w3-rg-mine-hero{display:grid;gap:6px;padding:18px 20px;border-left:5px solid var(--line)}
.w3-rg-mine-hero h2{margin:0;font-size:1.3rem;line-height:1.3;overflow-wrap:anywhere}
.w3-rg-mine-hero .kicker{margin:0}
.w3-rg-mine-hero.is-positive{border-left-color:var(--review-green-border)}
.w3-rg-mine-hero.is-blocked{border-left-color:var(--review-red-border)}
.w3-rg-mine-line{margin:0;color:var(--text-soft)}
.w3-rg-mine-card,.w3-rg-notice{display:grid;gap:8px;padding:16px 18px}
.w3-rg-mine-card h3,.w3-rg-notice h3{margin:0;font-size:1.05rem}
.w3-rg-notice p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.w3-rg-notice-item{padding-left:6px}
.w3-rg-read{justify-self:start;min-height:44px}
.w3-rg-settings{max-width:900px}
.w3-rg-banner{display:grid;gap:4px;padding:14px 16px}
.w3-rg-card{display:grid;gap:4px;padding:16px 16px 14px;border-radius:20px;min-width:0}
.w3-rg-title{margin:0 0 4px;font-size:1.2rem;color:var(--ink)}
.w3-rg-sub,.w3-rg-hint{margin:0;color:var(--muted);font-size:.88rem;line-height:1.4}
.w3-rg-hint{margin-top:8px}
.w3-rg-row{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:8px;align-items:center;width:100%;min-height:48px;padding:10px 2px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);text-align:left;font:inherit;box-sizing:border-box}
.w3-rg-row strong{font-weight:650;color:var(--text-soft);text-align:right;overflow-wrap:anywhere}
.w3-rg-row.is-button{cursor:pointer}
.w3-rg-row.is-button:focus-visible{outline:3px solid var(--focus);border-radius:10px}
.w3-rg-chips{list-style:none;margin:8px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.w3-rg-chips li{padding:5px 10px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.84rem;font-weight:750}
.w3-rg-chips li.is-off{background:var(--surface-muted);color:var(--muted);text-decoration:line-through}
.w3-rg-change{justify-self:start;min-height:44px;margin-top:6px}
.w3-rg-positions{display:grid;gap:14px;margin-top:8px}
.w3-rg-list .mr-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 12px 12px 14px}
.w3-rg-who{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.w3-rg-who li{display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:var(--surface-muted);min-width:0}
.w3-rg-who span{color:var(--text-soft);font-size:.88rem;overflow-wrap:anywhere}
.w3-rg-group{display:grid;gap:10px;padding-top:6px}
.w3-rg-edit-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.w3-rg-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.w3-rg-edit-row.is-standard{align-items:start}
.w3-rg-switch{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:750}
.w3-rg-switch input{width:22px;height:22px;margin:0;accent-color:var(--brand-blue)}
.w3-rg-remove{min-width:44px;min-height:44px;padding:0;font-size:1.2rem}
.w3-rg-sheet-buttons{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:520px){
  .w3-rg-row{grid-template-columns:minmax(0,1fr) 18px}
  .w3-rg-row strong{grid-column:1;grid-row:2;text-align:left}
  .w3-rg-row .mr-chevron{grid-column:2;grid-row:1/span 2}
  .w3-rg-date-input{grid-template-columns:minmax(0,1fr)}
  .w3-rg-mine-hero{padding:16px}
}
/* ===== end WP-RG REGULARIZATION ===== */
/* ===== IX owner console sheets (Oct 19, 2026) ===== */
/* IX (built Oct 21, 2026): owner console › Problem reports + Activate / Decline as in-page pop-up sheets; the side menu's
   "Open N · Late M"; the reporter's End it / Reply / Report it again; the read-only notice summary. Shared tokens only
   (light and dark follow :root / [data-theme=dark]); phone first. */
.ix-pa-nav-support{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.ix-pa-nav-counts{color:var(--muted);font-size:.8rem;font-weight:700}
.ix-pa-nav-support[aria-current=page] .ix-pa-nav-counts{color:var(--brand-blue-strong)}
.ix-pa-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.ix-pa-tile{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.ix-pa-tile strong{font-size:1.35rem;line-height:1.1}
.ix-pa-tile span{color:var(--muted);font-size:.85rem;font-weight:700}
.ix-pa-tile.is-late{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.ix-pa-tile.is-late span{color:var(--review-red-text)}
.ix-pa-row.is-late{border-color:var(--review-red-border)}
.ix-pa-row.is-waiting-reply{border-color:var(--brand-blue-line)}
.ix-pa-late{color:var(--review-red-text)!important;font-weight:750}
.ix-pa-chip{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:800}
.ix-pa-chip.is-critical,.ix-pa-chip.is-high{background:var(--review-red-bg);color:var(--review-red-text)}
.ix-pa-chip.is-medium{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.ix-pa-sheet{width:min(640px,100vw)}
.ix-pa-sheet-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
.ix-pa-sheet-titles{min-width:0}
.ix-pa-sheet-head h2{margin:0;font-size:1.2rem;line-height:1.25;overflow-wrap:anywhere}
.ix-pa-sheet-sub{margin:2px 0 0;color:var(--brand-blue-strong);font-size:.88rem}
.ix-pa-close{min-height:40px;padding:0 6px;border:0;background:transparent;color:var(--brand-blue-strong);font:inherit;font-weight:750;cursor:pointer}
.ix-pa-sheet-body{gap:16px}
.ix-pa-sheet-body h3{margin:0 0 6px;font-size:.95rem}
.ix-pa-facts{display:grid;gap:6px;margin:0}
.ix-pa-facts div{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:8px}
.ix-pa-facts dt{color:var(--muted);font-size:.88rem}
.ix-pa-facts dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.ix-pa-facts .is-late dd,.ix-pa-facts .is-late dt{color:var(--review-red-text)}
.ix-pa-words{display:grid;gap:8px;padding:12px 14px;border-radius:14px;background:var(--surface-muted)}
.ix-pa-word span{color:var(--muted);font-size:.82rem;font-weight:750}
.ix-pa-word p,.ix-pa-details p{margin:2px 0 0;overflow-wrap:anywhere}
.ix-pa-details p{color:var(--text-soft);font-size:.9rem}
.ix-pa-history ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.ix-pa-history li{display:grid;gap:2px;padding:8px 10px;border-left:3px solid var(--brand-blue-line);background:var(--surface-muted);border-radius:0 10px 10px 0}
.ix-pa-history small,.ix-pa-muted{color:var(--muted)}
.ix-pa-history p{margin:0;overflow-wrap:anywhere}
.ix-pa-steps{display:flex;flex-wrap:wrap;gap:8px}
.ix-pa-step{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font:inherit;font-weight:750;cursor:pointer}
.ix-pa-step[aria-pressed=true]{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.ix-pa-step:focus-visible,.ix-pa-close:focus-visible{outline:3px solid var(--focus)}
.ix-pa-note-box{display:grid;gap:6px;margin-top:10px}
.ix-pa-note-box[hidden]{display:none}
.ix-pa-note-label{font-weight:750;font-size:.9rem}
.ix-pa-note{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:16px;resize:vertical}
.ix-pa-note:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ix-pa-own{margin:0;padding:10px 12px;border:1px solid var(--review-yellow-border);border-radius:12px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-weight:700}
.ix-pa-lead{margin:0;font-weight:650}
.ix-pa-error{margin:0 18px}
.ix-pa-sheet-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px 18px;border-top:1px solid var(--line)}
.ix-pa-sheet-actions .quiet-button,.ix-pa-sheet-actions .primary-button{min-height:46px;padding:10px 20px;border-radius:999px}
.ix-report-line{margin:0}
.ix-report-line.is-ask{padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--brand-blue-soft);color:var(--ink);font-weight:650;overflow-wrap:anywhere}
.ix-report-line.is-truth{padding:10px 12px;border:1px solid var(--review-yellow-border);border-radius:12px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-size:.92rem;font-weight:650}
.ix-report-line.is-reply-by{color:var(--brand-blue-strong);font-weight:750}
.ix-report-history summary{min-height:40px;display:flex;align-items:center;font-weight:750;cursor:pointer}
.ix-report-thread{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.ix-report-thread li{display:grid;gap:2px;padding:6px 10px;border-left:3px solid var(--line)}
.ix-report-thread span{overflow-wrap:anywhere}
.ix-report-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.ix-report-actions .primary-button,.ix-report-actions .quiet-button{min-height:44px}
.ix-waiting{border-color:var(--brand-blue-line)}
.ix-sheet .ix-sheet-box{min-height:84px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:16px;resize:vertical}
.ix-sheet .ix-sheet-box:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.ix-sheet-lead{margin:0;font-weight:650}
.ix-sheet .cs-sheet-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ix-notice-about{margin:0;color:var(--muted);font-weight:700}
.ix-notice-card{display:grid;gap:6px;padding:14px}
.ix-notice-heading{font-size:1.02rem}
.ix-notice-summary{margin:0;overflow-wrap:anywhere}
.ix-notice-why{margin:0}
@media(max-width:720px){
  .ix-pa-nav-support{flex-direction:row;align-items:center;gap:6px}
  .ix-pa-sheet{width:100vw;max-width:100vw}
  .ix-pa-facts div{grid-template-columns:minmax(0,1fr)}
  .ix-pa-sheet-actions .quiet-button,.ix-pa-sheet-actions .primary-button{flex:1 1 0}
  .ix-sheet .cs-sheet-actions .quiet-button,.ix-sheet .cs-sheet-actions .primary-button{flex:1 1 0}
  .ix-pa-step{flex:1 1 calc(50% - 8px)}
}
/* ===== end IX owner console sheets ===== */
/* ===== WP-LV Leave (round W2, Oct 18, 2026): Me › My leave, File leave, one leave, Home "Leave for you", Leave records,
   Admin Center › Employees › Leave. Existing tokens and the card / mr-* / cs-sheet components only (light and dark follow
   the tokens); phone first (390 px); text inputs 16 px so iPhone never zooms. ===== */
.lv-page,.lv-home,.lv-settings,.lv-records{display:grid;gap:12px;margin-bottom:12px}
.lv-card{padding:16px 16px 14px;border-radius:20px}
.lv-title{margin:0;font-size:1.2rem;color:var(--ink)}
.lv-group{margin-top:14px}.lv-group:first-child{margin-top:0}
.lv-sub{margin:4px 0 0;color:var(--muted);font-size:.92rem}
.lv-hint{margin:8px 0 0;color:var(--muted);font-size:.84rem}
.lv-note{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--brand-blue-soft);color:var(--ink);font-size:.92rem}
.lv-big{display:block;width:100%;min-height:52px;border-radius:999px;font-size:1.08rem;font-weight:700}
.lv-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.lv-link{min-height:40px;margin-top:8px}
.lv-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.lv-row{display:flex;align-items:stretch;gap:8px}
.lv-row-main{flex:1;min-width:0;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px;width:100%;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.lv-row-main{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.lv-row-main:hover{border-color:var(--brand-blue-line)}
.lv-row{flex-wrap:wrap}
.lv-row .lv-quick{flex:1 0 100%}
.lv-row-main .mr-card-main{display:grid;gap:3px;min-width:0;justify-items:start}
.lv-row-line{color:var(--muted);font-size:.84rem}
.lv-row-action{color:var(--brand-blue);font-size:.84rem;font-weight:700}
.lv-forwarded{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--warm-soft);color:var(--warm-dark);font-size:.78rem;font-weight:700}
.lv-quick{align-self:center;min-height:44px;padding:0 16px;border-radius:999px;white-space:nowrap}
.lv-balance{padding:12px 0;border-top:1px solid var(--line)}
.lv-group+.lv-balance{border-top:0}
.lv-balance-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.lv-balance-head strong{color:var(--ink)}
.lv-numbers{color:var(--muted);font-size:.92rem;font-variant-numeric:tabular-nums}
.lv-boxes{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.lv-box{width:18px;height:18px;border-radius:5px;border:1px solid var(--line);background:var(--surface-muted)}
.lv-box.is-left{background:var(--brand-blue);border-color:var(--brand-blue)}
.lv-box.is-half{background:linear-gradient(90deg,var(--brand-blue) 50%,var(--surface-muted) 50%);border-color:var(--brand-blue)}
.lv-box.is-pending{background:transparent;border:2px dashed var(--brand-blue-line)}
.lv-why{margin:6px 0 0;color:var(--muted);font-size:.84rem}
.lv-expiring{margin:8px 0 0;padding:8px 10px;border-radius:12px;background:var(--warm-soft);color:var(--warm-dark);font-size:.88rem}
.lv-history>summary{cursor:pointer;list-style:none}
.lv-history>summary::-webkit-details-marker{display:none}
.lv-history>summary::after{content:' ›';color:var(--muted)}
.lv-history[open]>summary::after{content:' ⌄'}
.lv-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lv-month-nav{min-width:44px;min-height:44px;padding:0;font-size:1.3rem;border-radius:12px}
.lv-month-title{color:var(--ink)}
/* File leave */
.lv-sheet input,.lv-sheet select,.lv-sheet textarea,.lv-settings input,.lv-records input{font-size:16px}
.lv-step{margin:14px 0 6px;font-weight:700;color:var(--ink)}
.lv-kinds{display:grid;gap:6px}
.lv-kinds-head{margin:8px 0 2px;color:var(--muted);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.lv-kind{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.lv-kind[aria-checked=true]{border-color:var(--brand-blue);box-shadow:inset 0 0 0 1px var(--brand-blue);background:var(--brand-blue-soft)}
.lv-kind:disabled{opacity:.6;cursor:default}
.lv-kind-name{font-weight:600}
.lv-kind-left{color:var(--muted);font-size:.88rem;font-variant-numeric:tabular-nums}
.lv-kind-why{grid-column:1/-1;color:var(--muted);font-size:.8rem}
.lv-cal{margin-top:4px}
.lv-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:6px}
.lv-wd{text-align:center;color:var(--muted);font-size:.76rem;font-weight:700;padding:2px 0}
.lv-cell{position:relative;display:grid;place-items:center;min-height:44px;padding:2px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
.lv-cell.is-blank{border:0;background:none;cursor:default}
.lv-cell:disabled{opacity:.45;cursor:default;background:var(--surface-muted)}
.lv-cell.is-today{border-color:var(--brand-blue-line);font-weight:800}
.lv-cell.is-early{color:var(--muted)}
.lv-cell.is-whole{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand)}/* merge MLV: RV dark-mode rule (text on --brand-blue uses --on-brand) */
.lv-cell.is-am{background:linear-gradient(180deg,var(--brand-blue) 50%,var(--surface) 50%);border-color:var(--brand-blue)}
.lv-cell.is-pm{background:linear-gradient(0deg,var(--brand-blue) 50%,var(--surface) 50%);border-color:var(--brand-blue)}
.lv-cell-day{font-size:.95rem;line-height:1}
.lv-cell-part{font-size:.66rem;font-weight:800;line-height:1;padding:1px 4px;border-radius:6px;background:var(--surface);color:var(--brand-blue)}
.lv-preview{display:grid;gap:6px;margin-top:10px}
.lv-count{margin:6px 0 0;color:var(--ink);font-size:1rem}
.lv-refusal{margin:4px 0 0;padding:10px 12px;border-radius:12px;background:var(--warm-soft);color:var(--warm-dark);font-size:.92rem}
.lv-risk{padding:10px 12px;border-radius:12px;border:1px solid var(--warm-line);background:var(--warm-soft);color:var(--ink)}
.lv-risk strong{display:block;color:var(--warm-dark)}
.lv-risk.is-info{border-color:var(--line);background:var(--surface-muted)}
.lv-risk.is-info strong{color:var(--ink)}
.lv-risk-line,.lv-risk-fix{margin:4px 0 0;font-size:.88rem}
.lv-risk-fix{font-weight:600}
.lv-relievers{display:grid;gap:6px;margin-top:4px}
.lv-choice,.lv-sheet label.lv-choice,.lv-settings label.lv-choice{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-weight:500}
.lv-choice-main strong{font-weight:650}
.lv-choice input{width:20px;height:20px;min-width:20px;min-height:0;flex:0 0 20px;margin:0;padding:0;box-shadow:none}
.lv-choice-main{display:grid;gap:2px;min-width:0}
.lv-choice-sub{color:var(--muted);font-size:.84rem}
.lv-toggle{margin:8px 0}
.lv-deadlines{padding:10px 12px;border-radius:12px;background:var(--surface-muted);border:1px solid var(--line)}
.lv-deadlines p{margin:2px 0;font-size:.88rem;color:var(--text-soft)}
.lv-away{margin:2px 0 0;color:var(--muted);font-size:.86rem}
.lv-away.is-over{color:var(--warm-dark);font-weight:600}
/* One leave */
.lv-sheet-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.lv-tag{padding:3px 8px;border-radius:999px;background:var(--brand-blue-soft);color:var(--ink);font-size:.78rem;font-weight:700}
.lv-timeline{margin-top:12px}
.lv-timeline>summary{cursor:pointer;font-weight:700;color:var(--ink)}
.lv-events{margin:8px 0 0;padding-left:18px;display:grid;gap:6px;font-size:.88rem;color:var(--text-soft)}
.lv-event-at{display:block;color:var(--muted);font-size:.78rem}
/* Admin Center › Leave */
.lv-banner{padding:12px 14px;border-radius:16px;background:var(--warm-soft);border:1px solid var(--warm-line)}
.lv-banner.is-done{background:var(--green-soft);border-color:var(--mint-line)}
.lv-banner p{margin:4px 0 0}
.lv-setting{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px 2px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.lv-setting:first-of-type{border-top:0}
.lv-setting:disabled{cursor:default;opacity:1}
.lv-setting-value{font-weight:600;color:var(--muted);text-align:right;min-width:0;overflow-wrap:anywhere}
.lv-type-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;text-align:left;font:inherit;color:var(--ink)}
.lv-type-row .mr-card-main{display:grid;gap:3px;min-width:0}
.lv-save{display:grid;gap:8px}
.lv-save.is-dirty{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 76px);z-index:2}
.lv-sheet select{width:100%;max-width:100%;text-overflow:ellipsis}
.lv-approvers{margin:0;padding-left:20px;display:grid;gap:6px}
.lv-approver{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px}
.lv-guide-back{margin-bottom:8px}
/* Leave records */
.lv-box-card{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.lv-box-card .lv-balance-head{padding:6px 0;border-top:1px solid var(--line)}
.lv-box-card .lv-balance-head:nth-child(2){border-top:0}
.lv-h3{margin:0 0 6px;font-size:.98rem;color:var(--ink)}
.lv-paper{display:grid;gap:6px;padding:8px 0;border-top:1px solid var(--line)}
.lv-paper:nth-child(2){border-top:0}
.lv-paper-main{display:grid;gap:2px}
.lv-paper-act{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lv-paper-act input{max-width:180px}
@media (min-width:700px){.lv-setting{grid-template-columns:minmax(180px,max-content) minmax(0,1fr) auto}.lv-row-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.lv-row{flex-wrap:nowrap}.lv-row .lv-quick{flex:0 0 auto}.lv-big{max-width:440px}.lv-page,.lv-home,.lv-settings,.lv-records{max-width:760px}.lv-save{position:static}.lv-paper{grid-template-columns:minmax(0,1fr) auto;align-items:center}}
/* ===== end WP-LV Leave ===== */
/* ===== LV2 leave follow-up (Oct 19, 2026): past days on the File leave calendar, Maternity days given, SIL exemptions,
   absences changed to leave. Shared tokens only (light and dark come from the tokens). ===== */
.lv-cell.lv2-past:not([aria-pressed="true"]){background:var(--surface-muted);color:var(--text-soft)}
.lv2-past-hint{margin-top:2px}
.lv2-share{display:grid;gap:8px;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.lv2-exempt-box{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}
.lv2-exempt-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.lv2-exempt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.lv2-changed{border-color:var(--line)}
.lv2-changed-row{margin:4px 0;color:var(--text)}
/* ===== end LV2 leave follow-up ===== */

/* ===== NV back everywhere (Fri, Oct 23, 2026; Coi 2:12 AM "there are no back buttons") =====
   (Placed before the OE / FN / PF0 / NL1 blocks, which must stay the last blocks of this file; NL1's tokens resolve at use.)
   One Back button for every page that is not a bar icon (back-navigation-screens-v1.js): an iOS chevron + the previous page's
   short name, accent text, 44 px tall. Phone: in the top bar where the N mark is (the mark returns on top-level pages).
   Tablet and laptop: the top-left of the page. The older page-level back pills (Admin Center "Back to …", the setup steps'
   "‹ Setup guide") are folded into it so a page never shows two ways back; the Admin Center breadcrumb stays. */
.nv-back{display:inline-flex;align-items:center;gap:2px;flex:none;min-width:44px;min-height:44px;max-width:min(60vw,320px);margin:0;padding:0 12px 0 4px;border:0;border-radius:12px;
  background:transparent;color:var(--nl-accent-text,var(--brand-blue-strong));font:inherit;font-size:1rem;font-weight:700;line-height:1.1;text-align:left;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:background-color .16s ease,transform .16s var(--ease-ios,ease)}
.nv-back[hidden]{display:none}
.nv-back:hover{background:var(--brand-blue-soft)}
.nv-back:active{transform:scale(.97)}
.nv-back:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.nv-back-chevron{flex:none;margin-right:-1px}
.nv-back-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nv-back-page{margin:0 0 8px -4px}
.nv-back-top{display:none}
@media (max-width:700px){
  .nv-back-page{display:none}
  body.nv-has-back:not(.signed-out) .nv-back-top:not([hidden]){display:inline-flex;flex:0 1 auto;min-width:44px;margin-left:-8px}
  body.nv-has-back:not(.signed-out) .topbar-actions{flex:none}
  /* With the Me | Work switch there is no room for the page name twice: the page shows its own title. */
  body.nv-has-back:not(.signed-out) .topbar:has(#sidePill:not([hidden])) .topbar-title{display:none}
  body.nv-has-back:not(.signed-out) .topbar .brand{display:none}
}
/* One way back per page: the Back button replaces the earlier page pills and setup links (the laptop Admin Center menu keeps
   its own "Back to NoypiHR", which leaves the Admin Center). */
body.nv-on .acs-page-back,body.nv-on .acs-leave-page{display:none}
body.nv-on .acs-page-head:not(:has(.acs-crumbs)){display:none}
body.nv-has-back .fr-v3-head:has(> .fr-v3-back:only-child),body.nv-has-back .lv-guide-back{display:none}
/* A job opening's board or a training batch: the Back button says "Back to All job openings" and goes there. */
body.nv-has-back #cards .rc-back,body.nv-has-back #cards [data-nv-deep-back]{display:none}
/* "Discard changes?" — asked before a pop-up with something typed closes (Back, tapping outside, Escape, its Close). */
.nv-confirm{width:min(340px,calc(100vw - 32px));padding:0;border:0;border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 24px 60px rgba(10,20,40,.28)}
.nv-confirm::backdrop{background:rgba(10,20,40,.38)}
.nv-confirm-panel{display:grid;gap:8px;padding:22px 20px 18px;text-align:center}
.nv-confirm-panel h2{margin:0;font-size:1.12rem;color:var(--ink)}
.nv-confirm-panel p{margin:0 0 8px;color:var(--text-soft)}
.nv-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nv-confirm-actions button{min-height:44px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}
.nv-confirm-keep{border:0;background:var(--brand-blue);color:var(--on-brand,#fff)}
:root{--nv-danger-text:#b42318}
:root[data-theme=dark]{--nv-danger-text:var(--danger)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--nv-danger-text:var(--danger)}}
.nv-confirm-discard{border:1px solid var(--line);background:var(--surface);color:var(--nv-danger-text)}
.nv-confirm-actions button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
/* ===== end NV ===== */
/* ===== WP-AN — Announcements & memos (Oct 23, 2026; announcements-screens-v1.js). Feed cards like the approved mock-up
   (who · when · kind chip, text, reactions, comments); the page, Me Home, the pop-ups and Admin Center. Tokens only, so the
   three themes and dark mode follow. ===== */
.an-top{display:grid;gap:10px;margin-bottom:10px;min-width:0}
[class^="an-"][hidden],[class*=" an-"][hidden]{display:none!important}/* hidden always wins over the display rules below */
.an-feed,.an-home{display:grid;gap:12px;min-width:0}
.an-home{margin-top:14px}
.an-home-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 4px}
.an-home-head h2{margin:0;font-size:1rem;color:var(--ink)}
.an-compose{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:12px 14px;border:1px dashed var(--brand-blue-line,var(--line));color:var(--brand-blue-strong);font:inherit;font-weight:800;text-align:left;cursor:pointer;background:var(--surface)}
.an-compose:hover{background:var(--brand-blue-soft)}
.an-ico{display:inline-grid;place-items:center;flex:none;width:20px;height:20px}.an-ico svg{width:100%;height:100%}
.an-filters{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0 4px;min-width:0}
.an-filters::-webkit-scrollbar{display:none}
.an-filter{flex:none;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font:inherit;font-size:.85rem;font-weight:800;cursor:pointer}
.an-filter[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.an-waiting{margin:0;padding:8px 12px;border-radius:12px;background:var(--warm-soft,var(--amber-soft));color:var(--warm-dark,var(--ink));font-size:.88rem;font-weight:700}
.an-post{position:relative;display:grid;gap:10px;padding:14px;min-width:0;background:var(--surface)}
.an-post.is-unread{box-shadow:0 0 0 2px var(--brand-blue-soft),var(--shadow)}
.an-post.is-focus{box-shadow:0 0 0 3px var(--brand-blue),var(--shadow)}
.an-head{display:flex;align-items:center;gap:10px;min-width:0}
.an-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--brand-blue),var(--nl-brand-2,var(--brand-blue-strong)));color:var(--on-brand);font-weight:850;font-size:.85rem}
.an-avatar-sm{width:30px;height:30px;font-size:.7rem}
.an-who{display:grid;min-width:0;flex:1 1 auto}
.an-who strong{color:var(--ink);font-size:.95rem;overflow-wrap:anywhere}
.an-when{color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.an-head-end{display:flex;align-items:center;gap:6px;flex:none}
.an-new{padding:2px 8px;border-radius:999px;background:var(--brand-blue);color:var(--on-brand);font-size:.7rem;font-weight:850}
.an-chip{padding:3px 9px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.72rem;font-weight:850;white-space:nowrap}
.an-chip.is-memo{background:var(--lavender-soft);color:var(--lavender-dark)}
.an-chip.is-must{background:var(--warm-soft,var(--amber-soft));color:var(--warm-dark,var(--ink))}
.an-more-wrap{position:relative}
.an-more{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}
.an-more:hover,.an-more[aria-expanded=true]{background:var(--surface-muted)}
.an-menu{position:absolute;right:0;top:46px;z-index:5;display:grid;min-width:180px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.an-menu-item{min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.an-menu-item:hover,.an-menu-item:focus-visible{background:var(--surface-muted)}
.an-title{margin:0;color:var(--ink);font-size:1.05rem;line-height:1.3;overflow-wrap:anywhere}
.an-body{margin:0;color:var(--text);white-space:pre-line;overflow-wrap:anywhere;line-height:1.5}
.an-body a,.an-comment-text a{color:var(--brand-blue-strong);font-weight:700;overflow-wrap:anywhere}
.an-meta{display:flex;align-items:center;gap:6px;margin:0;color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.an-meta .an-ico{width:15px;height:15px}
.an-must{display:grid;gap:8px;padding:10px 12px;border-radius:14px;background:var(--warm-soft,var(--amber-soft))}
.an-must p{margin:0;color:var(--ink);font-size:.9rem}
.an-must.is-read{background:var(--green-soft)}.an-must.is-read p{display:flex;align-items:center;gap:6px;color:var(--green-dark);font-weight:800}
.an-must.is-late{background:var(--danger-soft)}
.an-ack{width:100%;min-height:44px}
.an-poster{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:12px;background:var(--surface-muted);color:var(--ink);font-size:.86rem;font-weight:800;min-width:0}
.an-link{min-height:44px;padding:4px 6px;border:0;background:transparent;color:var(--brand-blue-strong);font:inherit;font-size:.86rem;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.an-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.82rem;min-height:24px}
.an-stats .an-link{color:var(--muted);text-decoration:none;margin:-10px 0;white-space:nowrap;flex:none}
.an-react-stats{display:flex;flex-wrap:wrap;gap:4px 10px}.an-react-stat{display:inline-flex;align-items:center;gap:4px}.an-react-stat .an-ico{width:15px;height:15px}
.an-react-stat.an-react-like .an-ico{color:var(--brand-blue-strong)}.an-react-stat.an-react-love .an-ico{color:var(--danger)}.an-react-stat.an-react-celebrate .an-ico{color:var(--warm-dark,var(--brand-blue-strong))}
.an-acts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding-top:6px;border-top:1px solid var(--line)}
.an-act{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:0;padding:6px 4px;border:0;border-radius:12px;background:transparent;color:var(--muted);font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}
.an-act span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.an-act .an-ico{width:18px;height:18px}
.an-act:hover{background:var(--surface-muted)}
.an-act.is-on{color:var(--brand-blue-strong);background:var(--brand-blue-soft)}
.an-react-love.is-on{color:var(--danger)}
.an-react-celebrate.is-on{color:var(--warm-dark,var(--brand-blue-strong))}
.an-act:focus-visible,.an-filter:focus-visible,.an-link:focus-visible,.an-more:focus-visible,.an-compose:focus-visible{outline:3px solid var(--focus,var(--brand-blue));outline-offset:2px}
.an-comments{display:grid;gap:8px}.an-comments[hidden]{display:none}
.an-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:-2px}
.an-pinned{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:.78rem;font-weight:700}.an-pinned .an-ico{width:14px;height:14px}
.an-comment-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.an-comment{display:flex;gap:8px;align-items:flex-start;min-width:0}
.an-comment-bubble{display:grid;gap:2px;min-width:0;padding:8px 12px;border-radius:16px;background:var(--surface-muted)}
.an-comment-bubble strong{color:var(--ink);font-size:.85rem}
.an-comment-text{margin:0;color:var(--text);font-size:.9rem;white-space:pre-line;overflow-wrap:anywhere}
.an-comment-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.75rem}
.an-comment-meta .an-link{font-size:.75rem;margin:-12px 0}
.an-removed{margin:0;color:var(--muted);font-style:italic;font-size:.85rem}
.an-comment-form{display:flex;gap:8px;align-items:flex-end;min-width:0}
.an-comment-input{flex:1 1 auto;min-width:0;min-height:44px;max-height:140px;padding:10px 12px;border:1px solid var(--line);border-radius:18px;background:var(--surface-raised);color:var(--ink);font:inherit;resize:none}
.an-send{flex:none;min-height:44px}
.an-empty{display:grid;justify-items:center;gap:6px;padding:28px 18px;text-align:center;color:var(--muted)}
.an-empty .an-ico{width:36px;height:36px;color:var(--brand-blue)}
.an-empty h2{margin:0;color:var(--ink);font-size:1.05rem}.an-empty p{margin:0}
.an-note{padding:14px}
/* pop-ups */
.an-sheet .an-seg{min-width:0}
.an-sheet .an-seg button{min-height:40px;padding:4px 6px;font:inherit;font-weight:800;font-size:.86rem}
.an-audience{gap:8px}
.an-choose{display:grid;gap:8px}
.an-picks{border:1px solid var(--line);border-radius:12px;background:var(--surface-raised)}
.an-picks summary{display:flex;justify-content:space-between;gap:8px;min-height:44px;align-items:center;padding:8px 12px;cursor:pointer;font-weight:800}
.an-pick-count{color:var(--brand-blue-strong);font-size:.82rem}
.an-pick-list{display:grid;gap:2px;max-height:220px;overflow:auto;padding:0 8px 8px}
.an-pick{display:flex;align-items:center;gap:10px;min-height:40px;padding:4px 6px;border-radius:8px;font-weight:600}
.an-pick input{width:20px;height:20px;flex:none}
.an-sheet .an-pick-list label.an-pick,.an-sheet label.an-check{display:flex;grid-template-columns:none;margin:0}
.an-goes{margin:0;padding:8px 12px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:850}
.an-check{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.an-check[hidden]{display:none}
.an-check input{width:22px;height:22px;flex:none;margin-top:1px}
.an-check span{display:grid;gap:2px}
.an-when-box{margin-top:6px}
.an-sheet-title{margin:0 0 4px;color:var(--ink);font-size:1rem;overflow-wrap:anywhere}
.an-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin:6px 0}
.an-number{display:grid;gap:2px;padding:10px;border-radius:12px;background:var(--surface-muted);text-align:center}
.an-number strong{color:var(--ink);font-size:1.3rem}.an-number span{color:var(--muted);font-size:.78rem;font-weight:700}
.an-people h4{margin:12px 0 6px;color:var(--ink);font-size:.9rem}
.an-people ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.an-person{display:flex;align-items:center;gap:10px;padding:6px 4px;min-width:0}
.an-person>div{display:grid;min-width:0;flex:1 1 auto}
.an-person strong{color:var(--ink);font-size:.9rem;overflow-wrap:anywhere}.an-person span{color:var(--muted);font-size:.78rem}
.an-person-words{flex:none;max-width:45%;text-align:right;font-size:.78rem;font-weight:700;color:var(--text-soft)}
.an-person.is-read .an-person-words{color:var(--green-dark)}.an-person.is-not_read .an-person-words{color:var(--danger)}
.an-version{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line)}
.an-danger{background:var(--danger);color:var(--on-danger,#fff);box-shadow:none}
/* Admin Center › Announcements & memos */
.an-admin-card{display:grid;gap:10px;padding:16px;margin-bottom:12px;min-width:0}
.an-admin-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.an-admin-head h2{margin:0;font-size:1.02rem;color:var(--ink)}
.an-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:0}
.an-facts div{padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.an-facts dt{color:var(--muted);font-size:.78rem;font-weight:700}.an-facts dd{margin:2px 0 0;color:var(--ink);font-weight:850}
.an-rows{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.an-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 4px;border-bottom:1px solid var(--line);min-width:0}
.an-row>div{display:grid;gap:2px;min-width:0}
.an-row strong{color:var(--ink);overflow-wrap:anywhere}.an-row span{color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.an-row .mr-status{flex:none}
.an-row.is-removed strong{color:var(--muted);text-decoration:line-through}
@media(max-width:420px){.an-act{flex-direction:column;gap:2px;font-size:.72rem}}
@media(prefers-reduced-motion:no-preference){.an-act.is-on .an-ico{animation:an-pop .3s cubic-bezier(.3,1.6,.5,1)}}
@keyframes an-pop{0%{transform:scale(.7)}100%{transform:scale(1)}}
/* ===== end WP-AN ===== */
/* ===== DISC DISCIPLINE (Oct 23, 2026): Employees › Discipline (mr-* list + filters + the one next-action button), one case
 * (cs-sheet), Report an incident, Me › My records (notices with "I have read this"), My team "Report", Admin Center ›
 * Discipline (reuses the w3-rg settings rows). Existing tokens only; light and dark follow them. Prefix dc-. ===== */
.dc-sheet .mr-field input,.dc-sheet .mr-field select,.dc-sheet .mr-field textarea,.dc-sheet .dc-witnesses+input,.dc-sheet input[type=search],
.dc-penalty select,.dc-penalty input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-weight:500}
.dc-sheet textarea{resize:vertical;line-height:1.45}
.dc-sheet .mr-field input:focus,.dc-sheet .mr-field select:focus,.dc-sheet .mr-field textarea:focus,.dc-sheet input[type=search]:focus,.dc-penalty select:focus,.dc-penalty input:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.dc-icon{display:inline-flex;width:20px;height:20px;flex:0 0 auto;color:currentColor}
.dc-icon svg{width:100%;height:100%}
.dc-report-button,.dc-print,.dc-team-report,.dc-team-report-all,.dc-add-rule{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:normal;text-align:left}
.dc-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.dc-filter{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text-soft);font:inherit;font-weight:700;cursor:pointer}
.dc-filter.is-on{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.dc-filter:focus-visible{outline:3px solid var(--focus)}
.dc-filter-count{min-width:22px;padding:1px 7px;border-radius:999px;background:var(--surface-muted);color:var(--ink);font-size:.8rem;text-align:center;font-variant-numeric:tabular-nums}
.dc-filter.is-on .dc-filter-count{background:var(--surface);color:var(--brand-blue-strong)}
.dc-list{min-width:0}
.dc-card{display:grid;gap:0;padding:0;min-width:0}
.dc-section .dc-list .dc-card{grid-template-columns:minmax(0,1fr);align-items:stretch;cursor:default}
.dc-card-open{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:14px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:inherit}
.dc-card-open:focus-visible{outline:3px solid var(--focus)}
.dc-card-open .mr-card-main{min-width:0}
.dc-card-open .mr-card-title,.dc-card-open .mr-card-facts{overflow-wrap:anywhere}
.dc-card-action{display:flex;justify-content:flex-end;padding:0 14px 14px}
.dc-next-button{min-height:44px}
.dc-mine .dc-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;text-align:left}
.dc-mine .dc-card .dc-icon,.dc-mine-hero .dc-icon,.mr-empty .dc-icon,.dc-done .dc-icon,.dc-my-case .mr-hero .dc-icon{width:28px;height:28px;color:var(--brand-blue-strong)}
.dc-preventive-line{color:var(--review-red-text);font-weight:700}
.dc-mine{max-width:760px}
.dc-mine-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:16px 18px}
.dc-mine-hero h2{margin:0;font-size:1.25rem}
.dc-mine-hero p{margin:2px 0 0}
.dc-counts{display:grid;gap:8px;padding:16px 18px}
.dc-counts h3{margin:0;font-size:1.05rem}
.dc-count-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.dc-count-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;padding:8px 10px;border-radius:10px;background:var(--surface-muted);min-width:0}
.dc-count-list li strong{flex:1 1 12rem;min-width:0}
.dc-count-list li span{flex:0 1 auto;min-width:0}
.dc-count-list li strong,.dc-count-list li span{overflow-wrap:anywhere}
.dc-count-list li span{color:var(--text-soft)}
.dc-block{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.dc-block-title{margin:0;font-size:1rem;color:var(--ink)}
.dc-block .mr-facts{margin:0}
.dc-text{margin:0;line-height:1.5;overflow-wrap:anywhere}
.dc-more{border-top:1px solid var(--line);padding-top:8px}
.dc-more summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:750;color:var(--brand-blue-strong)}
.dc-more[open] summary{margin-bottom:8px}
.dc-notice{display:grid;gap:6px;padding:14px 16px;border-radius:12px;background:var(--surface-muted);border:1px solid var(--line)}
.dc-notice-title{margin:0 0 4px;font-size:1.05rem;color:var(--ink)}
.dc-notice p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.dc-notice-item{padding-left:6px}
.dc-notice-sign{color:var(--muted)}
.dc-gap{height:6px}
.dc-print{justify-self:start}
.dc-read{margin:0;color:var(--review-green-text);font-weight:800}
.dc-decision-line{margin:0;font-size:1.05rem;font-weight:800;color:var(--ink)}
.dc-minutes,.dc-notes{display:grid;gap:6px;padding:10px 12px;border-radius:10px;background:var(--surface-muted)}
.dc-outcome{border-left-width:5px}
.dc-outcome.is-positive{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.dc-outcome.is-blocked{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.dc-preventive.is-review{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.dc-steps small{white-space:normal}
.dc-steps li.is-missed{opacity:.7}
.dc-grid{min-width:0}
.dc-actions{flex-wrap:wrap}
.dc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.dc-row[hidden]{display:none}
.dc-rules{display:grid;gap:10px;min-width:0}
.dc-rule-group{margin:0;padding:0;border:0;display:grid;gap:6px;min-width:0}
.dc-rule-cat{padding:0;margin:0 0 2px;font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.dc-rule span,.dc-witness span{overflow-wrap:anywhere}
.dc-rule small{display:block}
.dc-witnesses{display:grid;gap:4px;max-height:260px;overflow:auto;margin-top:8px;min-width:0}
.dc-witness[hidden]{display:none}
.dc-effect{margin:0;line-height:1.45}
.dc-form-intro{font-weight:700;color:var(--text-soft)}
.dc-preventive-fields{display:grid;gap:10px;padding:10px 0 0}
.dc-preventive-fields[hidden]{display:none}
.dc-preventive-toggle{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:14px}
.dc-done{display:grid;justify-items:start;gap:6px;border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.dc-team-report{margin-top:8px;justify-self:start;grid-column:1/-1}
.dc-team-report-all{margin-top:8px}
.dc-penalty{display:grid;grid-template-columns:44px minmax(0,1fr) 90px;gap:8px;align-items:center;margin-top:6px}
.dc-penalty-n{font-weight:800;color:var(--text-soft)}
.dc-penalty input[hidden]{display:none}
.dc-rule-list .mr-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 12px 12px 14px;width:100%;text-align:left}
.dc-rule-row.is-off{opacity:.65}
.dc-rule-cat-block{display:grid;gap:6px;margin-top:10px}
.dc-overview .mr-counts{flex-wrap:wrap}
@media(max-width:520px){
  .dc-row{grid-template-columns:minmax(0,1fr)}
  .dc-card-action{justify-content:stretch}
  .dc-card-action .dc-next-button{width:100%}
  .dc-penalty{grid-template-columns:40px minmax(0,1fr) 72px}
  .dc-mine-hero{padding:14px}
}
/* ===== end DISC DISCIPLINE ===== */
/* ===== SCHED — crew schedules (Oct 23, 2026; sc-): Workspace › Team › Schedule, Me › Schedule › My shifts, Admin Center shifts ===== */
.sc-page{display:grid;gap:14px;min-width:0}
.sc-card{display:grid;gap:10px;padding:16px;min-width:0}
.sc-sub{margin:0;color:var(--text-soft);font-size:.86rem;line-height:1.4;overflow-wrap:anywhere}
.sc-kicker{margin:0;color:var(--muted);font-size:.75rem;font-weight:800;letter-spacing:.04em;text-transform:none}
.sc-hint,.sc-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.84rem;font-weight:700}
.sc-due{margin:0;color:var(--review-yellow-text);font-size:.84rem;font-weight:800}
.sc-h2{display:flex;align-items:center;gap:8px;margin:0;font-size:1.02rem}
.sc-h3{margin:8px 0 0;font-size:.92rem}
.sc-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.78rem;font-weight:850}
.sc-count.is-review{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.sc-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted);width:fit-content;max-width:100%}
.sc-switch-tab{min-height:40px;min-width:96px;padding:8px 16px;border:0;border-radius:10px;background:none;color:var(--text-soft);font:inherit;font-weight:800;cursor:pointer}
.sc-switch-tab[aria-current=page],.sc-switch-tab[aria-selected=true]{background:var(--surface);color:var(--brand-blue-strong);box-shadow:var(--shadow)}
.sc-switch-sheet{width:100%}.sc-switch-sheet .sc-switch-tab{flex:1;min-width:0}
.sc-top{gap:12px}
.sc-branch select{width:100%}
.sc-weeknav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}
.sc-weeknav-text{display:grid;justify-items:center;text-align:center;min-width:0}
.sc-weeknav-text strong{font-size:1.02rem}
.sc-nav-btn{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-size:1.4rem;line-height:1;cursor:pointer}
.sc-nav-btn:focus-visible,.sc-cell:focus-visible,.sc-dayrow:focus-visible,.sc-choice:focus-visible,.sc-daychip:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.sc-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sc-readonly{padding-top:4px;border-top:1px solid var(--line)}
.sc-tools{display:flex;flex-wrap:wrap;gap:8px}
.sc-tools>button{min-height:44px}
.sc-publish{order:-1}
.sc-section{display:grid;gap:10px;min-width:0}
.sc-warning-list{display:grid;gap:8px}
.sc-warning{display:grid;gap:6px;padding:12px 14px;border-left:4px solid var(--review-yellow-border)}
.sc-warning.is-leave,.sc-warning.is-clash,.sc-warning.is-minor{border-left-color:var(--review-red-border)}
.sc-warning.is-empty{border-left-color:var(--brand-blue-line)}
.sc-warning-title{overflow-wrap:anywhere}
.sc-fix{justify-self:start;min-height:40px}
.sc-request{display:grid;gap:8px;padding:14px}
.sc-request-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
.sc-actions>button{min-height:44px}
.sc-cover-pick{flex:1 1 220px;min-width:0}.sc-cover-pick select{width:100%}
/* the shift chip in a cell */
.sc-chip{display:grid;gap:1px;justify-items:start;width:100%;min-height:44px;padding:6px 8px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;box-sizing:border-box}
.sc-chip strong{font-size:.82rem;line-height:1.2;white-space:normal}
.sc-chip small{font-size:.72rem;color:var(--text-soft)}
.sc-chip.is-work{border-color:var(--brand-blue-line);background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.sc-chip.is-work[data-template=closing]{border-color:var(--lavender-line);background:var(--lavender-soft);color:var(--lavender-dark)}
.sc-chip.is-work[data-template=mid]{border-color:var(--mint-line);background:var(--green-soft);color:var(--green-dark)}
.sc-chip.is-off{background:var(--surface-muted);color:var(--text-soft)}
.sc-chip.is-leave{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.sc-chip.is-empty{place-items:center;justify-items:center;border-style:dashed;color:var(--muted);font-size:1.1rem;font-weight:800;background:transparent}
.sc-chip.is-changed{box-shadow:inset 0 0 0 2px var(--brand-blue)}
.sc-chip.is-changed::after{content:'Not published';font-size:.66rem;font-weight:800;color:var(--brand-blue-strong)}
/* laptop: people × days */
.sc-grid-wrap{display:none;overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.sc-grid{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:900px}
.sc-grid th,.sc-grid td{padding:6px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.sc-grid thead th{position:sticky;top:0;background:var(--surface-muted);z-index:1}
.sc-grid-person{width:190px}
.sc-grid tbody th.sc-grid-person{position:sticky;left:0;background:var(--surface);z-index:1}
.sc-grid tbody th.sc-grid-person{display:flex;gap:8px;align-items:center}
.sc-grid-day{display:table-cell}
.sc-grid-day strong{display:block;font-size:.84rem}
.sc-grid-day.is-today strong{color:var(--brand-blue-strong)}
.sc-cover,.sc-holiday{display:block;margin-top:2px;font-size:.72rem;color:var(--text-soft);font-weight:700;white-space:normal}
.sc-cover.is-short{color:var(--review-red-text)}
.sc-holiday{color:var(--review-yellow-text)}
.sc-cell{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;font:inherit}
.sc-cell:disabled{cursor:default;opacity:.85}
.sc-avatar{flex:none;width:32px;height:32px;font-size:.72rem}
.sc-person-text{display:grid;min-width:0}
.sc-person-text strong{overflow-wrap:anywhere}
.sc-person-text small{color:var(--text-soft);font-size:.74rem;overflow-wrap:anywhere}
/* phone / tablet: one day at a time */
.sc-dayview{display:grid;gap:10px;min-width:0}
.sc-daychips{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.sc-daychip{display:grid;justify-items:center;gap:0;min-height:52px;padding:6px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.sc-daychip small{font-size:.72rem;color:var(--text-soft);font-weight:800}
.sc-daychip strong{font-size:1.02rem}
.sc-daychip.is-today{border-color:var(--brand-blue-line)}
.sc-daychip.is-short::after{content:'';width:6px;height:6px;border-radius:50%;background:var(--review-red-text)}
.sc-daychip[aria-selected=true]{background:var(--brand-blue);border-color:var(--brand-blue);color:var(--on-brand)}
.sc-daychip[aria-selected=true] small{color:var(--on-brand)}
.sc-daylist{display:grid;gap:8px;touch-action:pan-y}
.sc-cover-line{margin:0;font-size:.86rem;color:var(--text-soft)}
.sc-cover-line.is-short{color:var(--review-red-text)}
.sc-dayrow{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,46%);gap:10px;align-items:center;width:100%;padding:10px 12px;font:inherit;color:inherit;text-align:left;cursor:pointer}
.sc-dayrow:disabled{cursor:default}
@media(min-width:900px){.sc-grid-wrap{display:block}.sc-dayview{display:none}}
/* the cell pop-up */
.sc-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.sc-choice{display:grid;gap:2px;justify-items:start;min-height:56px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.sc-choice small{color:var(--text-soft);font-size:.76rem}
.sc-choice[aria-pressed=true]{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--brand-blue-strong);box-shadow:inset 0 0 0 1px var(--brand-blue)}
.sc-custom,.sc-two{display:grid;gap:8px}
.sc-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sc-times input,.sc-two input{width:100%;min-height:44px;box-sizing:border-box}
.sc-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sc-add-two{justify-self:start;min-height:40px}
/* Me › Schedule › My shifts */
.sc-me{display:grid;gap:12px}
.sc-next{background:linear-gradient(135deg,var(--brand-blue-soft),var(--surface))}
.sc-next-day{font-size:1.1rem}
.sc-next-time{font-size:.96rem;font-weight:800;color:var(--brand-blue-strong);overflow-wrap:anywhere}
.sc-mine-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.sc-mine-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:52px;padding:6px 8px;border-radius:12px;background:var(--surface)}
.sc-mine-row.is-today{box-shadow:inset 0 0 0 2px var(--brand-blue-line)}
.sc-mine-row.is-past{opacity:.7}
.sc-mine-date{display:grid;justify-items:center;padding:4px 0;border-radius:10px;background:var(--surface-muted)}
.sc-mine-date small{font-size:.7rem;color:var(--text-soft);font-weight:800}
.sc-mine-row.is-work .sc-mine-date{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.sc-mine-row.is-leave .sc-mine-date{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.sc-mine-row.is-holiday .sc-mine-date{background:var(--warm-soft)}
.sc-mine-text{display:grid;min-width:0}
.sc-mine-text strong{overflow-wrap:anywhere}
.sc-mine-text small{color:var(--text-soft);font-size:.74rem}
.sc-ask{min-height:40px;font-size:.8rem;padding:6px 10px}
.sc-offer{border-left:4px solid var(--brand-blue)}
.sc-myrequest{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
@media(max-width:480px){.sc-mine-row{grid-template-columns:44px minmax(0,1fr)}.sc-ask{grid-column:2;justify-self:start}
  .sc-myrequest{grid-template-columns:minmax(0,1fr) auto}.sc-myrequest>.mr-status{grid-column:1;grid-row:2}
  .sc-dayrow{grid-template-columns:auto minmax(0,1fr)}.sc-dayrow>.sc-chip{grid-column:1/-1}
  .sc-times{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Admin Center › Shifts and schedules */
.sc-admin-host{display:grid;gap:12px;margin-top:14px}
.sc-templates{display:grid;gap:8px}
.sc-template-row{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)) auto;gap:8px;align-items:end;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.sc-template-row input{width:100%;min-height:44px;box-sizing:border-box}
.sc-remove{min-height:44px}
.sc-publish-by{display:grid;grid-template-columns:repeat(2,minmax(0,200px));gap:8px}
.sc-publish-by select,.sc-publish-by input{width:100%;min-height:44px}
.sc-need{display:grid;gap:8px}
.sc-need-row{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:8px;border-radius:12px;background:var(--surface-muted)}
.sc-need-branch{flex:1 0 100%}
.sc-need-field{width:110px}.sc-need-field input{width:100%;min-height:44px}
@media(max-width:640px){.sc-template-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-template-row>label:first-child{grid-column:1/-1}.sc-publish-by{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* SCHED: plain case in the week grid (no shouting capitals), compact warnings */
.sc-grid th,.sc-grid td,.sc-grid th *{text-transform:none;letter-spacing:normal}
.sc-grid thead th{font-weight:700;color:var(--text)}
.sc-warning{padding:10px 12px;gap:4px}
.sc-more{justify-self:start;min-height:44px}
.sc-page [hidden],.sc-sheet [hidden],.sc-me [hidden],.sc-settings [hidden]{display:none!important}
@media(max-width:560px){.sc-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sc-tools>.sc-publish{grid-column:1/-1}.sc-tools>button{font-size:.84rem;padding:8px 10px}}
.sc-sheet-day{margin:0;font-size:.95rem}
.sc-sheet .cs-sheet-body{min-width:0;overflow-x:hidden}
.sc-sheet select,.sc-sheet input,.sc-sheet textarea,.sc-page select,.sc-settings select{max-width:100%;min-width:0;box-sizing:border-box}
.sc-sheet .mr-field{min-width:0}.sc-sheet .mr-field select,.sc-sheet .mr-field textarea,.sc-sheet .mr-field input{width:100%}
.sc-switch{box-sizing:border-box}
.sc-page select,.sc-sheet select,.sc-settings select,.sc-settings input,.sc-sheet input,.sc-sheet textarea{min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
/* ===== end SCHED ===== */
/* ===== SUFX (Oct 23, 2026; placed before the OE/FN/PF0/NL1 blocks, which their tests keep last): setup and Admin Center fixes — prefix su- (and the few existing classes they touch) ===== */
.su-icon{display:inline-grid;place-items:center;width:1.1em;height:1.1em;vertical-align:-.15em}.su-icon svg{width:100%;height:100%}
/* No shouting capitals on the setup pages and in the Admin Center (sentence case). */
body.su-setup-page .kicker,body.in-admin-center .kicker,.fr-shell .kicker,.sg-card .kicker,.sg-current-kicker,.fr-check-kicker,
body.su-setup-page .sheet-section-heading,body.in-admin-center .sheet-section-heading,body.in-admin-center .status-pill,body.su-setup-page .status-pill,.cs-attention{text-transform:none;letter-spacing:.01em}
/* No "Step x of y" inside the Admin Center (the setup guide numbers its own steps). */
body.in-admin-center .sg-submit>.kicker,body.in-admin-center .fr-in-app .fr-card>.kicker,body.in-admin-center .fr-in-app .fr-admins>.kicker{display:none}
.su-notice{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--review-green-border);border-radius:var(--radius-md);background:var(--review-green-bg);color:var(--review-green-text);font-weight:800}
.su-notice-icon{display:inline-grid;width:1.1em;height:1.1em}
.su-step-head{display:grid;gap:6px;margin:0 0 12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}
.su-step-head h2{margin:0;font-size:1.3rem}.su-step-what{margin:0;color:var(--text-soft)}.su-step-who{margin:0;color:var(--muted);font-size:.85rem}
.su-back{justify-self:start;min-height:44px;padding:0 4px;border:0;background:none;color:var(--brand-blue-strong);font-weight:800;cursor:pointer}
.su-missing{margin:10px 0;padding:12px 14px;border:1px solid var(--review-yellow-border);border-radius:var(--radius-md);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.su-missing-head{margin:0 0 6px;font-weight:900}
.su-missing-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.su-missing-list li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}
.su-missing-words{overflow-wrap:anywhere}.su-missing-go{min-height:44px}
.sg-step-mark .su-icon{width:.95em;height:.95em}
.sg-blocked-icon .su-icon,.wait-gear.su-icon{width:28px;height:28px}
.wait-gear.su-icon{animation:none}/* a clock waits; it does not spin */
/* Approved headcount: one card per branch, collapsed (SUFX C10). */
.su-hc-search{width:100%;min-height:44px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--ink)}
.su-hc-groups{display:grid;gap:10px}
.su-hc-branch{padding:0;overflow:hidden}
.su-hc-branch>summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;min-height:52px;padding:12px 16px;cursor:pointer;list-style:none}
.su-hc-branch>summary::-webkit-details-marker{display:none}
.su-hc-branch>summary::after{content:'›';color:var(--muted);font-size:1.2rem;transition:transform .2s var(--ease-ios,ease)}
.su-hc-branch[open]>summary::after{transform:rotate(90deg)}
.su-hc-branch-name{display:grid;min-width:0}.su-hc-branch-name small{color:var(--muted)}
.su-hc-branch-totals{color:var(--text-soft);font-size:.85rem;font-weight:700}
.su-hc-rows{display:grid;gap:0;margin:0;padding:0 16px;list-style:none;border-top:1px solid var(--line)}
.su-hc-rows li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.su-hc-pos{display:grid;min-width:0;flex:1 1 160px}.su-hc-pos small{color:var(--muted);overflow-wrap:anywhere}
.su-hc-change{min-height:44px}
.su-hc-add{display:block;padding:10px 16px 14px}.su-hc-add select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);padding:0 10px}
.hc3-stepper{display:inline-flex;align-items:center;gap:6px}.hc3-stepper input{width:72px;min-height:44px;text-align:center}
/* Primary Administrator: the real reason (SUFX B9). */
.su-why{display:grid;gap:6px}.su-why p{margin:0}.su-why-row{color:var(--text-soft)}
/* Parts of a reused page that an Admin Center item hides stay hidden even where the page sets its own display (SUFX C8). */
[data-su-hidden="true"]{display:none!important}
/* No shouting capitals on Admin Center and setup pages (SUFX C15): headings and table heads read in sentence case. */
body.in-admin-center #cards *,body.su-setup-page #cards *,body.in-admin-center #cards *::before,body.su-setup-page #cards *::before{text-transform:none}
/* A single-step Approvals item hides the step list: its content then uses the full width (SUFX C8). */
.pp-stepwrap:has(> .pp-steps[data-su-hidden="true"]){grid-template-columns:minmax(0,1fr)}
/* Steps 8–9 inside Admin Center: the page title and intro already say it — no second title (SUFX C8). Recommended items read softer than what blocks (SUFX A3). */
body.in-admin-center .sg-submit > h2,body.in-admin-center .sg-submit > h2 + p{display:none}
.su-missing.su-recommended{background:var(--surface-muted);border-color:var(--line)}.su-missing.su-recommended .su-missing-head,.su-missing.su-recommended .su-missing-words{color:var(--text-soft)}
/* Time in not set up: one card (SUFX A2). */
.su-timein .primary-button{margin-top:10px}
/* Help for this page (SUFX B14). */
.su-help-lines{display:grid;gap:8px;margin:0 0 12px;padding-left:18px}.su-help-report{min-height:44px}
/* The setup person card (SUFX B6). */
.su-setup-person{margin-top:12px;display:grid;gap:8px;padding:14px 16px;border-radius:var(--radius-md);border:1px solid var(--brand-blue-line);background:var(--brand-blue-soft)}.su-setup-person .primary-button{justify-self:start}
/* Setup guide list headings: sentence case, no capitals (SUFX C15). */
.sg-list-title{text-transform:none;letter-spacing:0;font-size:.85rem}.su-setup-person h3,.su-setup-person p{margin:0}
/* App access to many (SUFX B6). */
.aa-many{margin:6px 0 10px;min-height:44px}
.aa-many-filters{display:flex;flex-wrap:wrap;gap:8px}.aa-many-filters input,.aa-many-filters select{flex:1 1 160px;min-height:44px}
.aa-many-list{display:grid;gap:4px;max-height:50vh;overflow:auto}.aa-many-row{display:flex;gap:10px;align-items:flex-start;padding:8px 0}.aa-many-row span{display:grid}.aa-many-row small{color:var(--muted)}
/* App invites for approval (Coi, Nov 2 2026): the pick + "Add email" on one row; the approver's list */
.aa-many-pick{display:flex;gap:10px;align-items:flex-start;flex:1;min-width:0}.aa-many-row .aa-act{margin-left:auto;min-height:44px}
.aa-codes{display:grid;gap:8px;margin:0;padding:0;list-style:none}.aa-codes li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}
.aa-codes li>span:first-child{display:grid}.aa-code.is-small{font-size:1.1rem;margin:0}
/* Waiting for activation (SUFX B12). */
.wait-dates{font-weight:800;color:var(--ink)}
.pa-answer{color:var(--text-soft)}.pa-answer.is-late{color:var(--review-red-text);font-weight:800}
/* Setup pages: no Refresh button (pull to refresh / the page re-reads after each step). */
body.su-setup-page #refreshView{display:none}
/* Setup pages: the status line shows only when it has something to say (errors, offline, saving) — never empty or "Up to date". */
body.su-setup-page .status-row:has(#status:empty),body.su-setup-page .status-row:has(#status[data-idle=true]){display:none}
/* ===== end SUFX ===== */
/* ===== OE (Oct 22, 2026) ===== */
/* Trainer "My batches / My trainees / All batches": on a phone the three buttons wrap and share the row instead of
   overlapping (the segmented control's grid squeezed their nowrap labels on top of each other). Light and dark: tokens. */
@media (max-width:720px){
  .ati-t-filter.cs-segmented{display:flex;flex-wrap:wrap;width:100%;overflow:visible;gap:2px}
  .ati-t-filter.cs-segmented button{flex:1 1 calc(33.333% - 4px);min-width:min(100%,104px);min-height:44px;padding:4px 8px;white-space:normal;line-height:1.2;font-size:.9rem;overflow-wrap:anywhere}
}
/* Workflow check: the safe default a waiting decision gets (tell early). */
.ati-w-reason.oe-default{padding:8px 10px;border:1px solid var(--review-yellow-border);border-radius:10px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}
/* ===== end OE ===== */
/* ===== FN (Oct 22, 2026) ===== */
/* Online exam: the timer has a label ("Time left 28:13"). */
.fn-timer{display:inline-flex;align-items:center;gap:8px;flex:none}
.fn-timer-label{color:var(--muted);font-size:.85rem;font-weight:800}
/* Probation steps: the open step says when it is late and where it went. */
.w3-rg-steps small.fn-overdue{color:var(--review-red-text);font-weight:800}
.w3-rg-steps small.fn-escalated{display:block;margin-top:4px;padding:6px 8px;border:1px solid var(--review-yellow-border);border-radius:8px;background:var(--review-yellow-bg);color:var(--review-yellow-text)}
/* ===== end FN ===== */
/* ===== PF0 setup comes pre-filled (Oct 22, 2026): the "Suggested" label, the suggested banners, the law's numbers.
   Shared tokens only (light and dark come from the tokens). ===== */
.pf0-tag{display:inline-flex;align-items:center;margin-left:6px;padding:1px 8px;border:1px solid var(--brand-blue-line);border-radius:999px;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-size:.75rem;font-weight:800;line-height:1.5;vertical-align:middle;white-space:nowrap}
.pf0-banner{background:var(--brand-blue-soft);border-color:var(--brand-blue-line)}
.pf0-banner .pf0-confirm{margin-top:10px;width:100%}
.pf0-use{margin-top:8px}
.pf0-law{display:block;margin-top:2px;color:var(--text);font-weight:700}
.pf0-law-field{display:grid;gap:4px}
.pf0-law-value{font-size:1.05rem;color:var(--text)}
.pf0-hint{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.pf0-hint .pf0-tag{margin-left:0}
.ati-q-big.pf0-suggested{flex-direction:column;align-items:flex-start;gap:6px}
.pf0-suggested .pf0-tag{margin-left:0}
@media (min-width:700px){.pf0-banner .pf0-confirm{width:auto;max-width:440px}}
/* ===== end PF0 ===== */

/* ===== NL1 new look: themes + Me | Workspace shell (Thu, Oct 22, 2026; mock-up v12 approved by Coi) =====
   THEMES (Decisions Log Oct 22, 11:18 PM): Theme = Blue (default) · Mono · Purple on <html data-look>, Mode = the existing
   data-theme (light / dark / device = "Same as phone"). The mock-up's token values are mapped onto the app's own tokens, so
   every existing screen follows the theme. Status colours (--green, --warm, --danger, --review-*) are never set here.
   Contrast fixes (text >= 4.5:1), the only places the values differ from the mock-up:
     - Blue light accent #166fe5 (mock #1877f2 gives white text 4.2:1; #166fe5 gives 4.7:1);
     - text on the accent in every DARK theme is dark (--on-brand), not white (white on #2d88ff / #8b6dff is < 4.5:1);
     - --brand-blue-strong is the accent for TEXT (darker in light, lighter in dark);
     - --nl-work (the Workspace green) is #0b7a55 in light for its white count (mock #0e9f6e gives 3.4:1).
   Order matters: light blocks first, then dark (same specificity, later wins), then each theme's own dark (more specific). */
:root{--page:#f0f2f5;--page-accent:#f0f2f5;--surface:#fff;--surface-raised:#fff;--surface-muted:#f0f2f5;--cream:#fff;--ink:#1c1e21;--text:#1c1e21;--text-soft:#65676b;--muted:#65676b;--line:#e4e6eb;
  --brand-navy:#1c1e21;--brand-blue:#166fe5;--brand-blue-strong:#0f5fcf;--brand-blue-soft:#e7f0fd;--brand-blue-line:color-mix(in srgb,var(--brand-blue) 22%,var(--surface));--on-brand:#fff;
  --focus:color-mix(in srgb,var(--brand-blue) 30%,transparent);--topbar:var(--surface);
  --nl-brand-2:#4b9bff;--nl-f1a:#2dd4bf;--nl-f1b:#0d9488;--nl-f2a:#ffb347;--nl-f2b:#f2761c;--nl-on-f:#0a1424;--nl-work:#0b7a55;--nl-work-soft:#e3f7ef;--nl-on-work:#fff}
:root[data-look=mono]{--page:#f6f5f2;--page-accent:#f6f5f2;--surface:#fff;--surface-raised:#fff;--surface-muted:#f6f5f2;--cream:#fff;--ink:#141414;--text:#1d1d1d;--text-soft:#6b6b6b;--muted:#6b6b6b;--line:#e8e6e1;
  --brand-navy:#141414;--brand-blue:#141414;--brand-blue-strong:#141414;--brand-blue-soft:#efede8;--on-brand:#fff;--nl-brand-2:#3a3a3a;--nl-f1a:#4a4a4a;--nl-f1b:#141414;--nl-f2a:#8a8782;--nl-f2b:#55524d;--nl-on-f:#fff}
:root[data-look=purple]{--page:#f7f5ff;--page-accent:#f7f5ff;--surface:#fff;--surface-raised:#fff;--surface-muted:#f7f5ff;--cream:#fff;--ink:#17142a;--text:#1f1b33;--text-soft:#6b6785;--muted:#6b6785;--line:#e9e5fb;
  --brand-navy:#17142a;--brand-blue:#6d4aff;--brand-blue-strong:#5a35f5;--brand-blue-soft:#efeaff;--on-brand:#fff;--nl-brand-2:#8b6dff;--nl-f1a:#ff7ab6;--nl-f1b:#d63384;--nl-f2a:#a78bfa;--nl-f2b:#6d4aff;--nl-on-f:#fff}
:root[data-theme=dark]{--page:#18191a;--page-accent:#18191a;--surface:#242526;--surface-raised:#2a2b2d;--surface-muted:#18191a;--cream:#242526;--ink:#e4e6eb;--text:#e4e6eb;--text-soft:#b0b3b8;--muted:#b0b3b8;--line:#3a3b3c;
  --brand-navy:#e4e6eb;--brand-blue:#2d88ff;--brand-blue-strong:#5aa2ff;--brand-blue-soft:#1f2f45;--on-brand:#0a1424;--topbar:var(--surface);
  --nl-brand-2:#5aa2ff;--nl-f1a:#14b8a6;--nl-f1b:#0f766e;--nl-f2a:#fb923c;--nl-f2b:#c2410c;--nl-on-f:#fff;--nl-work:#34d399;--nl-work-soft:#0f2e25;--nl-on-work:#0a1424}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--page:#18191a;--page-accent:#18191a;--surface:#242526;--surface-raised:#2a2b2d;--surface-muted:#18191a;--cream:#242526;--ink:#e4e6eb;--text:#e4e6eb;--text-soft:#b0b3b8;--muted:#b0b3b8;--line:#3a3b3c;
  --brand-navy:#e4e6eb;--brand-blue:#2d88ff;--brand-blue-strong:#5aa2ff;--brand-blue-soft:#1f2f45;--on-brand:#0a1424;--topbar:var(--surface);
  --nl-brand-2:#5aa2ff;--nl-f1a:#14b8a6;--nl-f1b:#0f766e;--nl-f2a:#fb923c;--nl-f2b:#c2410c;--nl-on-f:#fff;--nl-work:#34d399;--nl-work-soft:#0f2e25;--nl-on-work:#0a1424}}
:root[data-look=mono][data-theme=dark]{--page:#0a0a0a;--page-accent:#0a0a0a;--surface:#171717;--surface-raised:#1f1f1f;--surface-muted:#0a0a0a;--cream:#171717;--ink:#f5f5f3;--text:#ececea;--text-soft:#a3a3a0;--muted:#a3a3a0;--line:#2a2a2a;
  --brand-navy:#f5f5f3;--brand-blue:#f5f5f3;--brand-blue-strong:#fff;--brand-blue-soft:#262626;--on-brand:#0a0a0a;--nl-brand-2:#d4d4d2;--nl-f1a:#3a3a3a;--nl-f1b:#1f1f1f;--nl-f2a:#5a5853;--nl-f2b:#33312d;--nl-on-f:#fff}
@media(prefers-color-scheme:dark){:root[data-look=mono]:not([data-theme=light]){--page:#0a0a0a;--page-accent:#0a0a0a;--surface:#171717;--surface-raised:#1f1f1f;--surface-muted:#0a0a0a;--cream:#171717;--ink:#f5f5f3;--text:#ececea;--text-soft:#a3a3a0;--muted:#a3a3a0;--line:#2a2a2a;
  --brand-navy:#f5f5f3;--brand-blue:#f5f5f3;--brand-blue-strong:#fff;--brand-blue-soft:#262626;--on-brand:#0a0a0a;--nl-brand-2:#d4d4d2;--nl-f1a:#3a3a3a;--nl-f1b:#1f1f1f;--nl-f2a:#5a5853;--nl-f2b:#33312d;--nl-on-f:#fff}}
:root[data-look=purple][data-theme=dark]{--page:#0f1115;--page-accent:#0f1115;--surface:#1a1d23;--surface-raised:#20242b;--surface-muted:#0f1115;--cream:#1a1d23;--ink:#f1f3f6;--text:#e6e9ee;--text-soft:#9aa3b2;--muted:#9aa3b2;--line:#262a32;
  --brand-navy:#f1f3f6;--brand-blue:#8b6dff;--brand-blue-strong:#a78bfa;--brand-blue-soft:#26223d;--on-brand:#0f1115;--nl-brand-2:#a78bfa;--nl-f1a:#ec4899;--nl-f1b:#9d174d;--nl-f2a:#8b6dff;--nl-f2b:#5b21b6;--nl-on-f:#fff}
@media(prefers-color-scheme:dark){:root[data-look=purple]:not([data-theme=light]){--page:#0f1115;--page-accent:#0f1115;--surface:#1a1d23;--surface-raised:#20242b;--surface-muted:#0f1115;--cream:#1a1d23;--ink:#f1f3f6;--text:#e6e9ee;--text-soft:#9aa3b2;--muted:#9aa3b2;--line:#262a32;
  --brand-navy:#f1f3f6;--brand-blue:#8b6dff;--brand-blue-strong:#a78bfa;--brand-blue-soft:#26223d;--on-brand:#0f1115;--nl-brand-2:#a78bfa;--nl-f1a:#ec4899;--nl-f1b:#9d174d;--nl-f2a:#8b6dff;--nl-f2b:#5b21b6;--nl-on-f:#fff}}
/* Derived from the theme's accent in every theme and mode (the earlier dark block set fixed blue values for these). */
:root,:root[data-theme=dark],:root:not([data-theme=light]){--brand-blue-line:color-mix(in srgb,var(--brand-blue) 22%,var(--surface));--focus:color-mix(in srgb,var(--brand-blue) 32%,transparent);
  /* Review fix (Oct 23): the accent for TEXT and links (>= 4.5:1 on page, card and soft accent in every theme and mode); the
     button fill stays --brand-blue. */
  --nl-accent-text:var(--brand-blue-strong)}
.lv-row-action,.lv-cell-part,.text-button,.ae-note a{color:var(--nl-accent-text)}
/* The page behind everything follows the theme (the first :root block fixed it to the light page colour). */
:root{background:var(--page)}
/* Text on the accent: always --on-brand (white in light, dark in dark; dark on Mono dark's near-white accent). */
.primary-button,.sheet-row[data-view=adminCenter] .sheet-row-icon,.ac-hero-icon,.ac-plus,.as-part-number,.acs-entry-icon,.mp-step-mark,.aa-home-button{color:var(--on-brand)}
:root[data-theme=dark] .brand-mark,:root:not([data-theme=light]) body.nl-on .brand-mark{background:linear-gradient(145deg,var(--surface-raised),var(--brand-blue-soft));color:var(--ink)}
body.nl-on .page-header{background:linear-gradient(120deg,var(--surface) 0,var(--brand-blue-soft) 100%)}

/* The six-icon bar (phone): floating, rounded, frosted; no words (press and hold shows the name). */
.nl-icon{display:grid;place-items:center;line-height:0}
.nl-icon svg{display:block;width:100%;height:100%;overflow:visible}
.nl-fill-always{fill:currentColor;stroke:none}
.nl-cut{fill:var(--nl-cut,var(--surface))}
@media(max-width:700px){
  body.nl-on:not(.signed-out):not(.setup-mode) .tab-bar.nl-bar{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));height:58px;padding:6px;display:flex;align-items:center;gap:0;
    border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface) 88%,transparent);box-shadow:0 10px 30px -12px rgba(13,47,103,.35);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  body.nl-on:not(.signed-out):not(.setup-mode) .main-content{padding-bottom:calc(58px + 10px + env(safe-area-inset-bottom) + 28px)}
}
.nl-tab{position:relative;flex:1 1 0;min-width:0;display:grid;place-items:center;height:46px;padding:0;border:0;border-radius:16px;background:none;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;transition:transform .15s var(--ease-ios),background-color .2s ease,color .2s ease}
.nl-tab:active{transform:scale(.9)}
.nl-tab:focus-visible{outline:3px solid var(--focus);outline-offset:-2px}
.nl-tab-icon{width:25px;height:25px}
.nl-tab[aria-current=page]{color:var(--brand-blue);background:var(--brand-blue-soft);--nl-cut:var(--brand-blue-soft)}
.nl-tab[aria-current=page] svg{fill:color-mix(in srgb,currentColor 20%,transparent)}
.nl-bar[data-side=work] .nl-tab[aria-current=page]{color:var(--nl-work);background:var(--nl-work-soft);--nl-cut:var(--nl-work-soft)}
.nl-tab .nl-badge{position:absolute;top:1px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border:2px solid var(--surface);font-size:.6rem;line-height:14px}
.nl-tab-avatar{width:32px;height:32px;font-size:.7rem;background:var(--brand-blue);color:var(--on-brand);box-shadow:0 0 0 2px var(--surface),0 0 0 3.5px var(--line)}
.nl-tab[aria-current=page] .nl-tab-avatar{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--brand-blue)}
.nl-tip{position:absolute;bottom:60px;left:50%;z-index:3;transform:translateX(-50%);padding:5px 9px;border-radius:9px;background:var(--ink);color:var(--surface);font-size:.75rem;font-weight:700;line-height:1.2;white-space:nowrap;pointer-events:none;animation:rail-tip-in .14s ease-out}
/* Tablet rail / laptop sidebar: the same items. */
.nl-nav-icon svg{width:21px;height:21px}
.nl-nav .nav-button[data-view=announcements] .nav-icon::before{content:none;display:none}/* the earlier megaphone mask; the NL1 icon is drawn */
.nl-nav .nav-button{--nl-cut:var(--page)}
.nl-nav .nav-button[aria-current=page]{--nl-cut:var(--brand-blue-soft)}
.nl-nav .nav-button[aria-current=page] svg{fill:color-mix(in srgb,currentColor 20%,transparent)}
.nl-nav[data-side=work] .nav-button[aria-current=page]{color:var(--nl-work);background:var(--nl-work-soft);box-shadow:inset 3px 0 0 var(--nl-work);--nl-cut:var(--nl-work-soft)}
.nl-nav[data-side=work] .nav-button[aria-current=page] .nav-icon{color:var(--nl-work)}
@media(min-width:701px) and (max-width:1100px){body:not(.sidebar-open) .sidebar .nl-nav-icon svg{width:24px;height:24px}}

/* The "Me | Work n" pill, next to the top-bar actions (people with work only). */
.nl-pill-host[hidden]{display:none!important}
.nl-pill{position:relative;display:flex;align-items:center;gap:2px;min-height:40px;padding:3px;border:0;border-radius:999px;background:var(--surface-muted);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer;-webkit-tap-highlight-color:transparent}
.nl-pill>span{display:flex;align-items:center;gap:4px;min-height:32px;padding:0 11px;border-radius:999px;color:var(--muted);font-size:.78rem;font-weight:800;white-space:nowrap;transition:background-color .25s var(--ease-ios),color .25s ease,box-shadow .25s ease}
.nl-pill[data-on=me] .nl-pill-me,.nl-pill[data-on=work] .nl-pill-work{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px -2px rgba(0,0,0,.3)}
.nl-pill:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.nl-pill-count{min-width:18px;padding:0 6px;border-radius:999px;background:var(--nl-work);color:var(--nl-on-work);font-size:.68rem;line-height:16px;text-align:center}
.nl-pill-count.is-me{background:var(--brand-blue);color:var(--on-brand)}

/* The one-line greeting at the top of Home. */
.nl-hello{margin:0;padding:2px 6px 0;color:var(--muted);font-size:.88rem}
.nl-hello b{color:var(--ink);font-weight:800}

/* Home split by side (time-in cards: Me = your own day; Workspace = waiting fixes, requests, team, store device). */
#cards[data-surface=myDay][data-home-side=me] .at-home [data-attendance]:not([data-attendance=me]),
#cards[data-surface=myDay][data-home-side=work] .at-home [data-attendance=me],
#cards[data-surface=meSchedule] .at-home [data-attendance]:not([data-attendance=me]){display:none}
.nl-schedule-time,.nl-schedule-leave{display:grid;gap:12px}

/* The photo pages: profile, iPhone-style widgets (4 in a row; a wide one is two), rows, Appearance. */
.nl-profile{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:14px;border-radius:20px}
.nl-profile-avatar{width:54px;height:54px;font-size:1.05rem;background:var(--brand-blue);color:var(--on-brand)}
.nl-profile-text{display:grid;min-width:0}
.nl-profile-text strong{color:var(--ink);font-size:1.02rem;overflow-wrap:anywhere}
.nl-profile-text span{color:var(--muted);font-size:.82rem}
.nl-hint{margin:0 4px;color:var(--muted);font-size:.82rem}
.nl-h3{margin:6px 4px 0;color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.nl-widgets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 9px;max-width:520px;padding:2px}
.nl-widgets-host[aria-busy=true]{min-height:92px}
.nl-wc{display:grid;gap:4px;min-width:0;align-content:start}
.nl-wc.is-wide{grid-column:span 2}
.nl-wc-name{overflow:hidden;color:var(--muted);font-size:.68rem;font-weight:600;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.nl-wg{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;aspect-ratio:1;padding:7px 8px;border:0;border-radius:16px;background:var(--surface);color:var(--text);text-align:left;font:inherit;
  box-shadow:0 1px 1px rgba(0,0,0,.04),0 6px 16px -10px rgba(0,0,0,.25);cursor:pointer;transition:transform .18s var(--ease-ios)}
button.nl-wg:active{transform:scale(.93)}
button.nl-wg:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.nl-wc.is-wide .nl-wg{aspect-ratio:2.13/1}
.nl-wg.is-f1{background:linear-gradient(180deg,color-mix(in srgb,var(--nl-f1a) 55%,var(--nl-f1b)),var(--nl-f1b));color:var(--nl-on-f)}
.nl-wg.is-f2{background:linear-gradient(180deg,color-mix(in srgb,var(--nl-f2a) 55%,var(--nl-f2b)),var(--nl-f2b));color:var(--nl-on-f)}
.nl-wg-hd{display:flex;align-items:center;gap:4px;height:15px;color:var(--brand-blue)}
.nl-wg-hd .nl-icon{width:15px;height:15px}
.nl-wg.is-f1 .nl-wg-hd,.nl-wg.is-f2 .nl-wg-hd{color:inherit}
.nl-wg-v{margin-top:auto;font-size:1.15rem;font-weight:750;letter-spacing:-.03em;line-height:1}
.nl-wg-v small{font-size:.66rem;font-weight:700;letter-spacing:0}
.nl-wg-small{font-size:.78rem;letter-spacing:0}
.nl-wg-title{margin-top:auto;font-size:.76rem;font-weight:800;line-height:1.15}
.nl-wg-s{margin-top:2px;overflow:hidden;font-size:.6rem;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;opacity:.85}
.nl-wg .nl-badge{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border:2px solid var(--page);font-size:.6rem;line-height:12px}
.nl-wc.is-later .nl-wg{cursor:default;opacity:.45}
.nl-wg.is-cal{align-items:center;justify-content:center;gap:0;text-align:center}
.nl-cal-wd{color:var(--brand-blue-strong);font-size:.6rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.nl-cal-dn{color:var(--ink);font-size:1.45rem;font-weight:400;letter-spacing:-.04em;line-height:1}
.nl-cal-ev{margin-top:2px;color:var(--muted);font-size:.6rem;font-weight:700}
.nl-split{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;height:100%}
.nl-ring{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:conic-gradient(var(--brand-blue) calc(var(--p)*1%),var(--brand-blue-soft) 0)}
.nl-ring::before{content:"";grid-area:1/1;width:36px;height:36px;border-radius:50%;background:var(--surface)}
.nl-ring b{grid-area:1/1;z-index:1;color:var(--ink);font-size:.74rem;font-weight:800;letter-spacing:-.03em}
.nl-rows{display:grid;gap:3px;min-width:0}
.nl-split .nl-wg-title{margin-top:0}
.nl-chip{display:inline-block;width:max-content;max-width:100%;padding:1px 6px;border-radius:99px;background:var(--warm-soft);color:var(--warm-dark);font-size:.6rem;font-weight:800}
.nl-section{display:grid;gap:7px}
.nl-appearance{display:grid;gap:14px;padding:12px}
.nl-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0;margin:0;padding:0;border:0}
.nl-chips legend{float:left;width:100%;margin:0 0 6px;padding:0;color:var(--muted);font-size:.72rem;font-weight:800}
.nl-chip-choice{position:relative}
.nl-chip-choice input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.nl-chip-choice>span{display:inline-flex;gap:6px;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font-size:.85rem;font-weight:700;cursor:pointer}
.nl-chip-choice input:checked+span{border-color:var(--brand-blue);background:var(--brand-blue);color:var(--on-brand)}
.nl-chip-choice input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.nl-swatch{display:inline-block;width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 1px rgba(128,128,128,.4)}
.nl-swatch.is-blue{background:#1877f2}.nl-swatch.is-mono{background:#141414}.nl-swatch.is-purple{background:#7c5cff}
@media(prefers-reduced-motion:reduce){.nl-tab,.nl-pill>span,.nl-wg,.nl-tip{transition:none!important;animation:none!important}}
/* Lead decisions (Oct 23): no page card on the new-look pages (the mock-up has none; the top bar names the page, Refresh is
   the icon next to the bell, Help is on the photo page) — kept whenever it carries "Last updated …" (offline safety). */
body.nl-on:is([data-view=myDay],[data-view=meSchedule],[data-view=meYou],[data-view=workYou],[data-view=myTasks],[data-view=announcements],[data-view=notifications]) #workspace>.page-header:not(:has(.last-updated-label)){display:none}
.nl-refresh{display:grid;place-items:center}.nl-refresh[hidden]{display:none}
body.nl-on .topbar-actor{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){body.nl-on .topbar .icon-button{width:40px;height:40px}}
/* The status line shows everything except the plain OK answer "Up to date" (loading, saving, saved, warnings, errors and
   "Try again" are unchanged; the connection bar is its own element and unchanged). */
body.nl-on .status-row:has(#status[data-idle=true]){display:none}
/* No empty gaps above or between Home's first cards (an empty summary strip, a time-in section with nothing for this side). */
body.nl-on #summary:empty{display:none}
#cards[data-surface=myDay] > .at-home:empty,#cards[data-surface=myDay][data-home-side=me] > .at-home:not(:has([data-attendance=me])),
#cards[data-surface=myDay][data-home-side=work] > .at-home:not(:has([data-attendance]:not([data-attendance=me]))){display:none}
/* The greeting is one line. */
.nl-hello{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* "More" in the laptop sidebar and the expanded tablet rail (the collapsed rail shows only the six). */
@media(min-width:701px) and (max-width:1100px){body:not(.sidebar-open) .sidebar .nl-nav-more{display:none}}
/* NL1b — laptop like Facebook (Coi "b", Oct 23; mock-up noypihr-laptop-options.html option B). Tablet and laptop on a live
   company: no left menu, the side's icons in the centre of the top bar, the photo on the right; feed pages at phone feed
   width; on a laptop "More" left and "Your widgets" right. The phone is unchanged; the Admin Center keeps its side menu. */
.nl-top-tabs,.nl-top-photo,.nl-col[hidden]{display:none}
@media(min-width:701px){
  body.nl-on .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:12px}
  body.nl-on .topbar .brand{justify-self:start}
  body.nl-on .topbar-title,body.nl-on .topbar-actor{display:none}
  body.nl-on .topbar-actions{justify-self:end;margin-left:0}
  body.nl-on .nl-top-tabs:not([hidden]){display:flex;align-self:stretch;align-items:stretch;gap:4px}
  body.nl-on .nl-top-photo:not([hidden]){display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
  body.nl-on .nl-top-photo .nl-tab-avatar{width:38px;height:38px;font-size:.78rem}
  body.nl-on .nl-top-photo[aria-current=page] .nl-tab-avatar{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--brand-blue)}
  body.nl-on .nl-top-photo:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
  body.nl-on:not(.in-admin-center) .sidebar,body.nl-on:not(.in-admin-center) .sidebar-backdrop{display:none!important}
  body.nl-on:not(.in-admin-center) .app-shell{grid-template-columns:minmax(0,1fr)}
  body.nl-on:is([data-nl-layout=feed],[data-nl-layout=photo]) #workspace,
  body.nl-on:is([data-nl-layout=feed],[data-nl-layout=photo]) .status-row{width:100%;max-width:600px;margin-inline:auto}
}
.nl-top-tab{width:84px;height:auto;border-radius:10px 10px 0 0}
.nl-top-tab:hover{background:var(--surface-muted)}
.nl-top-tabs .nl-top-tab[aria-current=page]{background:none;color:var(--brand-blue);box-shadow:inset 0 -3px 0 var(--brand-blue)}
.nl-top-tabs[data-side=work] .nl-top-tab[aria-current=page]{color:var(--nl-work);box-shadow:inset 0 -3px 0 var(--nl-work);--nl-cut:var(--surface)}
.nl-top-tab .nl-tip{bottom:auto;top:calc(100% + 6px)}
.nl-top-tab .nl-badge{top:6px}
@media(min-width:701px) and (max-width:1100px){body.nl-on .topbar{grid-template-columns:auto minmax(0,1fr) auto}body.nl-on .nl-top-tabs:not([hidden]){justify-self:center}
  body.nl-on .brand-text,body.nl-on .topbar .environment-badge{display:none}.nl-top-tab{width:62px}}
@media(min-width:1101px){
  body.nl-on:not(.in-admin-center):is([data-nl-layout=feed],[data-nl-layout=photo]) .main-content{display:grid;grid-template-columns:220px minmax(0,1fr) 240px;
    grid-template-areas:"left status right" "left work right";grid-template-rows:auto 1fr;column-gap:24px;align-items:start}
  body.nl-on:not(.in-admin-center) #nlLeft{grid-area:left}
  body.nl-on:not(.in-admin-center) #nlRight{grid-area:right}
  body.nl-on:not(.in-admin-center):is([data-nl-layout=feed],[data-nl-layout=photo]) .status-row{grid-area:status}
  body.nl-on:not(.in-admin-center):is([data-nl-layout=feed],[data-nl-layout=photo]) #workspace{grid-area:work}
  .nl-col{position:sticky;top:calc(var(--topbar-h) + env(safe-area-inset-top) + 16px);display:grid;gap:4px;align-content:start;min-width:0;max-height:calc(100dvh - var(--topbar-h) - 32px);overflow-y:auto;scrollbar-width:none}
  .nl-col::-webkit-scrollbar{display:none}
  .nl-col-right .nl-widgets{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
  .nl-col-right .nl-wc.is-wide{grid-column:span 2}
}
.nl-col-heading{margin:10px 10px 4px;color:var(--muted);font-size:.75rem;font-weight:800;letter-spacing:.04em}
.nl-col-row{display:flex;gap:10px;align-items:center;width:100%;min-height:44px;padding:7px 10px;border:0;border-radius:10px;background:none;color:var(--text);font:inherit;font-size:.9rem;font-weight:650;text-align:left;cursor:pointer}
.nl-col-row:hover,.nl-col-row[aria-current=page]{background:var(--surface)}
.nl-col-row:focus-visible{outline:3px solid var(--focus);outline-offset:-2px}
.nl-col-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nl-col-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--brand-blue-soft);color:var(--nl-accent-text);font-size:.85rem}
.nl-col-avatar{width:32px;height:32px;font-size:.72rem;background:var(--brand-blue);color:var(--on-brand)}
.nl-col-person{font-weight:800}.nl-col-person .nl-col-label{white-space:normal;overflow-wrap:anywhere}
.nl-col-row .nl-col-label{flex:1 1 auto;min-width:0}/* a long name wraps inside the 220px column instead of being cut */
/* ===== end NL1 ===== */
/* ===== HOME calm Home and tasks (night of Fri, Oct 23, 2026; builder HOME; prefix hm-) =====
   One style for every Home card (hm-card: 16px padding, 18px radius, the theme's surface and line, no coloured boxes), one
   line style for every task (hm-line: icon tile · title · one sub line · its buttons, 44px targets), one pop-up (hm-sheet).
   Status colours never change: red = late, amber = today / moved to you. Uses the NL1 theme tokens only (three themes ×
   light / dark). */
.hm-home{display:grid;gap:18px}
.hm-card{display:block;margin:0;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.04)}
button.hm-card{width:100%;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .15s var(--ease-ios)}
button.hm-card:active{transform:scale(.985)}
button.hm-card:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hm-section{display:grid;gap:8px;min-width:0}
.hm-section-title{display:flex;align-items:center;gap:8px;margin:0 4px;color:var(--ink);font-size:1rem;font-weight:800;letter-spacing:-.01em}
.hm-count{display:inline-block;min-width:22px;padding:0 7px;border-radius:999px;background:var(--surface-muted);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font-size:.74rem;font-weight:800;line-height:20px;text-align:center}
.hm-note{margin:0 4px;color:var(--muted);font-size:.82rem}
.hm-btn{min-height:44px;padding:0 16px;border-radius:12px;font-size:.88rem;font-weight:750;white-space:nowrap}
.hm-btn.hm-big{width:100%;min-height:52px;font-size:1rem}
.hm-chev{width:18px;height:18px;flex:none;color:var(--muted)}
.hm-error{margin:0;color:var(--review-red-text);font-size:.85rem;font-weight:650}

/* A line: icon · title · sub (chip + words) · buttons. Lines sit together in one card, divided by a hairline. */
.hm-lines{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.hm-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:10px 12px 10px 10px;border-top:1px solid var(--line)}
.hm-line:first-child{border-top:0}
.hm-line.has-two{grid-template-columns:minmax(0,1fr)}
.hm-line.has-two .hm-line-actions{justify-content:flex-end;padding-left:48px}
.hm-line.is-focused{background:var(--brand-blue-soft)}
.hm-line-main{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;min-width:0;min-height:44px;margin:0;padding:2px;border:0;border-radius:12px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hm-line-main:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.hm-line-main.is-static{cursor:default}
.hm-line-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:var(--brand-blue-soft);color:var(--nl-accent-text)}
.hm-line-icon .nl-icon{width:20px;height:20px}
.hm-line.is-late .hm-line-icon{background:var(--review-red-bg);color:var(--review-red-text)}
.hm-line.is-done .hm-line-icon{background:var(--surface-muted);color:var(--muted)}
.hm-line-text{display:grid;gap:2px;min-width:0}
.hm-line-title{color:var(--ink);font-size:.95rem;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.hm-line-subrow{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0}
.hm-line-sub{min-width:0;color:var(--muted);font-size:.8rem;line-height:1.3;overflow-wrap:anywhere}
.hm-line-esc{color:var(--review-yellow-text);font-size:.78rem;font-weight:700;line-height:1.3}
.hm-line-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.hm-chip{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.7rem;font-weight:800;line-height:18px;white-space:nowrap}
.hm-chip.is-late{background:var(--review-red-bg);color:var(--review-red-text)}
.hm-chip.is-soon{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.hm-more{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:0 14px;border:0;border-radius:14px;background:none;color:var(--nl-accent-text);font:inherit;font-size:.88rem;font-weight:750;cursor:pointer}
.hm-more:hover{background:var(--surface)}
.hm-more:focus-visible{outline:3px solid var(--focus);outline-offset:-2px}
.hm-more .hm-chev{color:currentColor}

/* The Now card: the one thing that matters right now. */
.hm-now{display:grid;gap:12px;padding:16px;border-color:var(--brand-blue-line);background:linear-gradient(160deg,var(--surface) 0,color-mix(in srgb,var(--brand-blue-soft) 70%,var(--surface)) 100%)}
.hm-now-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center}
.hm-now-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--brand-blue);color:var(--on-brand)}
.hm-now-icon .nl-icon{width:22px;height:22px}
.hm-now.is-late .hm-now-icon{background:var(--danger);color:var(--on-danger)}
.hm-now-text{display:grid;gap:2px;min-width:0}
.hm-now-kicker{margin:0;color:var(--nl-accent-text);font-size:.75rem;font-weight:800}
.hm-now-title{margin:0;color:var(--ink);font-size:1.15rem;font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.hm-now-sub{margin:0;color:var(--muted);font-size:.85rem;line-height:1.35}
.hm-now-note{margin:0;color:var(--muted);font-size:.8rem}
.hm-now-actions{display:flex;gap:10px}
.hm-now-actions .hm-btn{flex:1 1 0}
.hm-now-more{justify-self:start;min-height:44px;padding:0 4px;font-size:.85rem;font-weight:700}

/* Empty, failure, loading. */
.hm-empty{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center}
.hm-empty-icon{width:44px;height:44px;padding:11px;border-radius:14px;background:var(--review-green-bg);color:var(--review-green-text)}
.hm-empty-text strong{display:block;color:var(--ink);font-size:1rem}
.hm-empty-text p{margin:2px 0 0;color:var(--muted);font-size:.85rem}
.hm-failure{display:grid;gap:10px;justify-items:start}
.hm-card-text{margin:0;color:var(--text)}
.hm-skeleton{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.hm-skel-line{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border-top:1px solid var(--line)}
.hm-skel-line:first-child{border-top:0}
.hm-skel-icon,.hm-skel-text>span{display:block;border-radius:10px;background:linear-gradient(90deg,var(--surface-muted) 0,color-mix(in srgb,var(--line) 60%,var(--surface-muted)) 50%,var(--surface-muted) 100%);background-size:200% 100%;animation:hm-shimmer 1.2s linear infinite}
.hm-skel-icon{width:38px;height:38px;border-radius:12px}
.hm-skel-text{display:grid;gap:6px}.hm-skel-text>span{height:12px}.hm-skel-text>span:last-child{width:60%}
@keyframes hm-shimmer{to{background-position:-200% 0}}

/* Today at a glance (Workspace). */
.hm-glance-row{display:grid;gap:10px}
.hm-glance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;min-height:44px;padding:12px 14px}
.hm-glance-label{grid-column:1;color:var(--muted);font-size:.78rem;font-weight:800}
.hm-glance-parts{grid-column:1;display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--muted);font-size:.86rem}
.hm-glance-part b{color:var(--ink);font-size:1.05rem;font-weight:800}
.hm-glance-part.is-late b{color:var(--review-red-text)}
.hm-glance-part.is-soon b{color:var(--review-yellow-text)}
.hm-glance .hm-chev{grid-column:2;grid-row:1/span 2}

/* Setup (compact) and the Admin Center row. */
.hm-admin{display:grid;gap:10px}
.hm-setup{display:grid;gap:10px;padding:12px 14px}
.hm-setup-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center}
.hm-setup-text{display:grid;gap:2px;min-width:0}
.hm-setup-text strong{color:var(--ink);font-size:.95rem}
.hm-setup-text small{color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.hm-ring{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:conic-gradient(var(--brand-blue) calc(var(--p)*1%),var(--brand-blue-soft) 0)}
.hm-ring::before{content:"";grid-area:1/1;width:34px;height:34px;border-radius:50%;background:var(--surface)}
.hm-ring b{grid-area:1/1;z-index:1;color:var(--ink);font-size:.68rem;font-weight:800}
.hm-setup-alert{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line);color:var(--text);font-size:.85rem}
.hm-admin-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px}
.hm-admin .aa-home,.hm-admin .wc-notice{margin:0}

/* Tasks: My tasks / For approval, filters, search. */
.hm-tabs{margin-bottom:10px}
.hm-tabs[hidden]{display:none}
.hm-tab .hm-count{margin-left:4px}
.hm-tools{display:grid;gap:10px;margin-bottom:12px}
.hm-filters{display:flex;flex-wrap:wrap;gap:6px}
.hm-filter{min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}
.hm-filter[aria-pressed=true]{border-color:var(--brand-blue);background:var(--brand-blue);color:var(--on-brand)}
.hm-filter:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hm-search-wrap{position:relative;display:block}
.hm-search-icon{position:absolute;top:50%;left:12px;width:18px;height:18px;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.hm-search{width:100%;min-height:44px;padding:0 12px 0 38px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.hm-tasks-body{display:grid;gap:16px}
.hm-older{justify-self:center}

/* The task sheet. */
.hm-sheet-head{display:flex;gap:12px;align-items:center}
.hm-sheet-kind{margin:0 0 2px;color:var(--muted);font-size:.8rem;font-weight:700}
.hm-sheet-subject{margin:0 0 6px;color:var(--ink);font-weight:700}
.hm-facts{display:grid;gap:8px;margin:12px 0}
.hm-fact{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:baseline}
.hm-fact-label{color:var(--muted);font-size:.82rem;font-weight:700}
.hm-fact-value{color:var(--ink);font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
.hm-sheet-h3{margin:14px 0 6px;color:var(--ink);font-size:.9rem;font-weight:800}
.hm-history{display:grid;gap:0;margin:0;padding:0;list-style:none}
.hm-history li{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:0 0 12px}
.hm-history li:not(:last-child)::after{content:"";position:absolute;top:14px;bottom:0;left:6px;width:2px;background:var(--line)}
.hm-history-dot{width:14px;height:14px;margin-top:3px;border:3px solid var(--surface);border-radius:50%;background:var(--muted);box-shadow:0 0 0 1px var(--line)}
.hm-history li.is-done .hm-history-dot{background:var(--brand-blue)}
.hm-history li.is-late .hm-history-dot{background:var(--danger)}
.hm-history li.is-next .hm-history-dot{background:var(--surface);box-shadow:0 0 0 2px var(--brand-blue)}
.hm-history-text{display:grid;gap:1px}
.hm-history-text strong{color:var(--ink);font-size:.88rem;font-weight:700}
.hm-history-text small{color:var(--muted);font-size:.78rem}
.hm-conversation{justify-self:center;min-height:44px}
@media(min-width:701px){.hm-glance-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media(prefers-reduced-motion:reduce){.hm-skel-icon,.hm-skel-text>span{animation:none}button.hm-card{transition:none}}
/* The calm pages take the whole width of the page grid; Notifications use the same one-card list as the task lines. */
#cards>.hm-home,#cards>.hm-tabs,#cards>.hm-tools,#cards>.hm-tasks-body,#cards>.hm-skeleton,#cards>.hm-failure{grid-column:1/-1}
body.nl-on .tk-notif-list{gap:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
body.nl-on .tk-notif{margin:0;padding:12px 14px;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}
body.nl-on .tk-notif:first-child{border-top:0}
body.nl-on .tk-notif:hover{box-shadow:none;background:var(--surface-muted)}
body.nl-on .tk-notif.is-unread{background:color-mix(in srgb,var(--brand-blue-soft) 55%,var(--surface))}
.hm-now-head.is-button{grid-template-columns:44px minmax(0,1fr) auto;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:12px}
.hm-now-head.is-button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hm-today{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px}
.hm-sheet-what{display:grid;gap:4px;justify-items:start;min-width:0}
.hm-sheet-title{margin:0;color:var(--ink);font-size:1.05rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.hm-task-sheet .mr-action-col>button,.hm-task-sheet .mr-action-col>a{width:100%;min-height:44px}
/* AUD1 / AUD2 (Oct 23) on the new look: no all-caps labels; a page title is never cut (it wraps to two lines on a phone);
   the red count badge reads >= 4.5:1 in light and dark; one bell on a phone (the bar's); no environment words in the header
   (the small "Staging" hint stays in the profile sheet); no big Help / Refresh buttons on a page (Refresh is in the top bar). */
body.nl-on .kicker,body.nl-on .nl-h3,body.nl-on .tk-kind,body.nl-on .sg-current-kicker,body.nl-on .card-eyebrow .kicker{text-transform:none;letter-spacing:0}
.badge,.nl-badge{background:#c62828;color:#fff}
@media(max-width:700px){
  body.nl-on:not(.signed-out):not(.setup-mode) .topbar-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;font-size:.95rem;line-height:1.15;overflow-wrap:anywhere}
  body.nl-on:not(.signed-out):not(.setup-mode) #notificationButton{display:none}
}
body.nl-on .topbar .brand-text small,body.nl-on .topbar .environment-badge,body.nl-on .topbar-actor{display:none}
body.nl-on .profile-card .environment-badge{text-transform:lowercase;font-size:.65rem}
body.nl-on .profile-card .environment-badge::first-letter{text-transform:uppercase}
body.nl-on #helpForPage,body.nl-on #refreshView{display:none}
/* ===== end HOME ===== */
/* ===== IC — one modern icon set (Fri Oct 23 2026; Coi: "the icons of our app, its like 1990s"). Every icon is an SVG from
   src/people-app/icons-v1.js (24 × 24, 2px round strokes, currentColor). Menu rows draw a 32px rounded tile with the soft
   accent and the accent icon (follows Blue · Mono · Purple, light and dark). Old text glyphs are replaced when drawn. ===== */
.ic-on,.ic-g{line-height:0}
.ic-on>svg,.ic-g>svg{display:block;width:1.1em;height:1.1em;overflow:visible}
.ic-on::before,.ic-on::after{content:none!important;display:none!important}/* the earlier CSS-drawn megaphone; the SVG is drawn */
.ic-g{display:inline-grid;place-items:center;vertical-align:-.16em}
.ic-lead{margin-right:.4em}
.ic-inline{margin:0 .12em}
.ic-button{display:inline-grid;place-items:center}
.ic-button>.ic-only>svg{width:18px;height:18px}
.ic-on[data-icon=chevron]>svg,.ic-on[data-icon=chevronLeft]>svg{width:.8em;height:.8em;stroke-width:2.4}
/* Tiles: the rows of More, the photo pages, the Me sheet, Admin Center, setup hubs, and the older side menu. */
.sheet-row-icon.ic-on,.nl-col-icon.ic-on,.ic-tile,
.nav-button>.nav-icon.ic-on,.nav-toggle>.nav-icon.ic-on{
  display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--brand-blue-soft);color:var(--nl-accent-text,var(--brand-blue-strong));font-size:1rem}
.sheet-row-icon.ic-on>svg,.nl-col-icon.ic-on>svg,.ic-tile>svg,.nav-button>.nav-icon.ic-on>svg,.nav-toggle>.nav-icon.ic-on>svg{width:18px;height:18px}
.nav-button[aria-current=page]>.nav-icon.ic-on:not(.nl-nav-icon),.nl-col-row[aria-current=page] .nl-col-icon.ic-on{background:var(--brand-blue);color:var(--on-brand)}
.sheet-row-danger .sheet-row-icon.ic-on{background:var(--danger-soft);color:var(--danger)}
.sheet-row[data-view=adminCenter] .sheet-row-icon.ic-on{background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-strong));color:var(--on-brand)}
.nav-button[data-view=announcements] .nav-icon.ic-on,.tab-bar-item[data-tab=announcements] .tab-bar-icon.ic-on,.sheet-row[data-view=announcements] .sheet-row-icon.ic-on{font-size:1rem}
/* The tablet rail (collapsed): the tile stays 32px, centred. */
@media(min-width:701px) and (max-width:1100px){body:not(.sidebar-open) .sidebar .nav-icon.ic-on:not(.nl-nav-icon){width:32px;font-size:1rem}}
/* The older phone bar (before go-live) and the Admin Center side menu. */
.tab-bar-icon.ic-on{font-size:1rem}.tab-bar-icon.ic-on>svg{width:22px;height:22px}
.acs-nav-group .nav-toggle>.nav-icon.ic-on,.acs-overview .nav-icon.ic-on{display:grid}
.acs-nav-group .nav-icon.ic-on,.acs-nav-group [data-group=adminOverview] .nav-icon.ic-on{display:grid}
.acs-nav-group .nav-child>.nav-icon.ic-on{display:grid;place-items:center;flex:none;width:22px;height:22px;background:none;color:var(--muted);font-size:1rem}
.acs-nav-group .nav-child>.nav-icon.ic-on>svg{width:17px;height:17px}
.acs-nav-group .nav-child[aria-current=page]>.nav-icon.ic-on{color:var(--brand-blue-strong);background:none}
.acs-card-title{display:flex;align-items:center;gap:10px}
.ic-row-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:9px;background:var(--brand-blue-soft);color:var(--nl-accent-text,var(--brand-blue-strong))}
.ic-row-icon>svg{width:16px;height:16px}
.acs-entry-icon.ic-on>svg{width:22px;height:22px}
/* Bigger icons in cards and empty states keep their own circles and colours. */
.mr-empty-icon.ic-on>svg{width:26px;height:26px}
.mr-card-icon.ic-on>svg,.at3-qr-icon.ic-on>svg,.ati-i-home-icon.ic-on>svg,.aa-home-icon.ic-on>svg{width:22px;height:22px}
.aa-home-icon.ic-on,.fr-industry-icon.ic-on,.cs-icon.ic-on,.cs-tab-icon.ic-on,.sg-blocked-icon.ic-on,.fr-drop-icon.ic-on{color:var(--nl-accent-text,var(--brand-blue-strong))}
.fr-industry-icon.ic-on{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--brand-blue-soft)}.fr-industry-icon.ic-on>svg{width:26px;height:26px}
.cs-icon.ic-on{display:inline-grid;vertical-align:-.12em;margin-right:.35em}.cs-tab-icon.ic-on{display:inline-grid}
.gl-badge.ic-on{color:var(--green-dark)}.gl-badge.ic-on>svg{width:40px;height:40px}
.wait-gear.ic-on>svg{width:36px;height:36px}
.tk-clear-icon.ic-on>svg,.smart-review-icon.ic-on>svg{width:20px;height:20px}
.settings-icon.ic-on>svg{width:20px;height:20px}
.friendly-icon.ic-on>svg{width:20px;height:20px}
.ati-w-icon.ic-on>svg{width:18px;height:18px}
/* Labels in the menu rows wrap to two lines instead of being cut ("Pre-Training Requiremen…"). */
.nl-col-row .nl-col-label{white-space:normal;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25;overflow-wrap:anywhere}
.nl-col-person .nl-col-label{display:block;-webkit-line-clamp:unset}
.nav-button .nav-label,.sheet-row .sheet-row-label{line-height:1.25}
/* Menu rows with a tile: room for the 32px tile and a 10px gap (the collapsed tablet rail keeps its one centred column). */
.nav-button:has(>.nav-icon.ic-on){grid-template-columns:32px minmax(0,1fr) auto;column-gap:10px}
.nav-toggle:has(>.nav-icon.ic-on){grid-template-columns:32px minmax(0,1fr) auto auto;column-gap:10px}
.acs-nav-group .nav-toggle:has(>.nav-icon.ic-on),.acs-nav-group .nav-direct:has(>.nav-icon.ic-on){grid-template-columns:32px minmax(0,1fr) auto auto}
.acs-nav-group .nav-child:has(>.nav-icon.ic-on){grid-template-columns:22px minmax(0,1fr) auto;padding-left:26px}
/* Icons the stylesheet drew as characters (the status line, empty states, card eyebrows, "Last updated", progress marks,
   field errors, autosave, step arrows, history chevrons): the same SVG shapes, as masks. In a filled circle the shape is cut
   out of the circle (like iOS's filled symbols), so it follows every theme and mode. */
:root{--ic-m-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");--ic-m-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.5h0'/%3E%3C/svg%3E");--ic-m-alert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V13M12 16.5h0'/%3E%3C/svg%3E");--ic-m-exclaim:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5v10M12 19.5h0'/%3E%3C/svg%3E");--ic-m-iMark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 10.5v9M12 4.5h0'/%3E%3C/svg%3E");--ic-m-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");--ic-m-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5h4'/%3E%3C/svg%3E");--ic-m-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");--ic-m-chevronDown:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");--ic-m-arrowRight:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");--ic-m-history:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12a8.5 8.5 0 1 0 2.6-6.1L3.5 8.5'/%3E%3Cpath d='M3.5 3.5v5h5M12 7.5V12l3 2'/%3E%3C/svg%3E");--ic-m-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3C/svg%3E");--ic-m-sun:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2M12 19.5v2M4.6 4.6l1.4 1.4M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4'/%3E%3C/svg%3E");--ic-m-team:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0M15 20a4.5 4.5 0 0 1 6-4'/%3E%3C/svg%3E");--ic-m-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");--ic-m-training:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 12 4l9 4.5-9 4.5Z'/%3E%3Cpath d='M7 10.5V15c0 1.5 2.2 3 5 3s5-1.5 5-3v-4.5M21 8.5V14'/%3E%3C/svg%3E");--ic-m-contract:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8Z'/%3E%3Cpath d='M14 3v5h5M8.5 12.5h5M8.5 17c1.2-1.7 2.2-1.7 2.8-.2.5 1.2 1.4 1 2.2-.3'/%3E%3C/svg%3E");--ic-m-route:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.5 6H15a3 3 0 0 1 0 6H9a3 3 0 0 0 0 6h6.5'/%3E%3C/svg%3E");--ic-m-home:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 10v10h6v-6h6v6h6V10Z' fill='%23000' stroke='none'/%3E%3C/svg%3E");--ic-m-dot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.5' fill='%23000' stroke='none'/%3E%3C/svg%3E");--ic-m-userSearch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9.5' cy='7.5' r='3.5'/%3E%3Cpath d='M3 20a6.5 6.5 0 0 1 9.5-5.8'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3Cpath d='m19.2 18.2 2.3 2.3'/%3E%3C/svg%3E");--ic-m-clipboardCheck:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V2.8h6V4M9 13l2.2 2.2L15.5 11'/%3E%3C/svg%3E");--ic-m-store:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v10h16V10M3 10l2-6h14l2 6Z'/%3E%3Cpath d='M10 20v-5h4v5M3 10a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0'/%3E%3C/svg%3E")}
.status::before,.empty::before,.card-eyebrow::before{content:""!important;-webkit-mask:var(--ic-glyph,var(--ic-m-iMark)) center/var(--ic-glyph-size,13px) no-repeat,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:var(--ic-glyph,var(--ic-m-iMark)) center/var(--ic-glyph-size,13px) no-repeat exclude,linear-gradient(#000 0 0)}
.status[data-kind=success]{--ic-glyph:var(--ic-m-check)}.status[data-kind=warning]{--ic-glyph:var(--ic-m-exclaim)}.status[data-kind=error]{--ic-glyph:var(--ic-m-x)}
.empty{--ic-glyph:var(--ic-m-check);--ic-glyph-size:22px}
.card-eyebrow{--ic-glyph:var(--ic-m-dot);--ic-glyph-size:15px}
.feed[data-surface=myTasks] .card-eyebrow,.feed[data-surface=preTrainingRequirements] .card-eyebrow,.feed[data-surface=preHireRequirements] .card-eyebrow{--ic-glyph:var(--ic-m-check)}
.feed[data-surface=taskHistory] .card-eyebrow{--ic-glyph:var(--ic-m-history)}.feed[data-surface=calendar] .card-eyebrow{--ic-glyph:var(--ic-m-calendar)}
.feed[data-surface=myDay] .card-eyebrow{--ic-glyph:var(--ic-m-sun)}.feed[data-surface=myTeam] .card-eyebrow,.feed[data-surface=employees] .card-eyebrow{--ic-glyph:var(--ic-m-team)}
.feed[data-surface=manpower] .card-eyebrow{--ic-glyph:var(--ic-m-plus)}
.feed[data-surface=recruitment] .card-eyebrow,.feed[data-surface=assignedInterviews] .card-eyebrow,.feed[data-surface=hiringDecisions] .card-eyebrow{--ic-glyph:var(--ic-m-userSearch)}
.feed[data-surface=preEmploymentTraining] .card-eyebrow{--ic-glyph:var(--ic-m-training)}.feed[data-surface=jobOffer] .card-eyebrow{--ic-glyph:var(--ic-m-contract)}
.feed[data-surface=deploymentAcceptance] .card-eyebrow{--ic-glyph:var(--ic-m-store)}.feed[data-surface=applicantJourney] .card-eyebrow{--ic-glyph:var(--ic-m-route)}
.feed[data-surface=settings] .card-eyebrow{--ic-glyph:var(--ic-m-home)}
/* Stand-alone shapes in the text colour. */
.last-updated-label::before,.mr-field-error::before,.mr-autosave[data-tone=positive]::before,.schedule-flow li:not(:last-child)::after,.pp-howsteps li:not(:last-child)::after,
.lv-history>summary::after,.ps-item[data-state=done] .ps-mark::after{content:""!important;display:inline-block;width:1em;height:1em;vertical-align:-.14em;background:currentColor;
  -webkit-mask:var(--ic-mask) center/contain no-repeat;mask:var(--ic-mask) center/contain no-repeat}
.last-updated-label::before{--ic-mask:var(--ic-m-clock)}
.mr-field-error::before{--ic-mask:var(--ic-m-alert);margin-right:.3em}
.mr-autosave[data-tone=positive]::before{--ic-mask:var(--ic-m-check);margin-right:.3em}
.schedule-flow li:not(:last-child)::after,.pp-howsteps li:not(:last-child)::after{--ic-mask:var(--ic-m-arrowRight)}
.lv-history>summary::after{--ic-mask:var(--ic-m-chevron);margin-left:.3em;color:var(--muted)}
.lv-history[open]>summary::after{--ic-mask:var(--ic-m-chevronDown)}
.ps-item[data-state=done] .ps-mark::after{--ic-mask:var(--ic-m-check);width:13px;height:13px}
/* ===== end IC ===== */
/* ===== PF MY PROFILE (Fri Oct 23, 2026): My profile, photo, Ask HR, COE + certificate, HR profile, birthdays ===== */
.avatar.pf-has-photo{background-color:var(--surface-muted);background-size:cover;background-position:center;background-repeat:no-repeat;color:transparent;text-shadow:none}
.pf-avatar{flex:none;background:var(--brand-blue);color:var(--on-brand)}
.pf-avatar.is-md{width:44px;height:44px;font-size:.85rem}
.pf-avatar.is-xl{width:84px;height:84px;font-size:1.5rem}
.pf-avatar.is-xxl{width:148px;height:148px;font-size:2.4rem}
.pf-page{display:grid;gap:12px;min-width:0;width:100%;max-width:760px;margin-inline:auto}
.pf-back{justify-self:start;min-height:44px;padding:4px 8px 4px 0;text-decoration:none;font-size:.95rem}
.pf-card{display:grid;gap:6px;padding:14px 16px;border-radius:18px;min-width:0}
.pf-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.pf-card-title{margin:0;color:var(--ink);font-size:1rem;font-weight:850;overflow-wrap:anywhere}
.pf-note{margin:0;color:var(--muted);font-size:.84rem;line-height:1.4}
.pf-note.is-warn{color:var(--review-yellow-text);background:var(--review-yellow-bg);border:1px solid var(--review-yellow-border);border-radius:10px;padding:8px 10px}
.pf-note.is-escalated,.pf-request-line.is-escalated{color:var(--review-red-text)}
.pf-edit{min-height:44px;padding:6px 14px}
.pf-row{display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:center;width:100%;min-height:44px;padding:8px 0;
  border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left}
.pf-card-head+.pf-row,.pf-note+.pf-row,.pf-facts>.pf-row:first-child{border-top:0}
.pf-row.is-tap{grid-template-columns:minmax(96px,38%) minmax(0,1fr) auto;cursor:pointer}
.pf-row.is-tap:hover{background:var(--surface-muted)}
.pf-row.is-tap:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:8px}
.pf-row-label{color:var(--muted);font-size:.84rem;font-weight:700;overflow-wrap:anywhere}
.pf-row-value{color:var(--ink);font-size:.92rem;font-weight:700;overflow-wrap:anywhere;min-width:0}
.pf-row-value.is-missing{color:var(--muted);font-weight:600}
.pf-row-hint{grid-column:1/-1;color:var(--muted);font-size:.78rem;font-weight:600}
.pf-chevron{color:var(--muted);font-size:1.2rem;padding-left:4px}
.pf-ask{justify-self:start;min-height:44px;padding:6px 0}
.pf-head{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
.pf-head-photo{position:relative;width:84px;height:84px}
.pf-photo-button{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:44px;height:44px;border:3px solid var(--surface);border-radius:50%;
  background:var(--brand-blue-strong);color:var(--on-brand);cursor:pointer;padding:0}
.pf-camera,.pf-icon{display:inline-grid;width:20px;height:20px}.pf-camera svg,.pf-icon svg{width:100%;height:100%}
.pf-head-text{display:grid;gap:2px;min-width:0}
.pf-name{color:var(--ink);font-size:1.2rem;font-weight:850;overflow-wrap:anywhere}
.pf-head-line{color:var(--muted);font-size:.86rem;overflow-wrap:anywhere}
.pf-photo-link{grid-column:1/-1;justify-self:start;min-height:44px}
.pf-requests{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.pf-request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--line);
  border-radius:14px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.pf-request:hover{background:var(--surface-muted)}
.pf-request-main{display:grid;gap:2px;min-width:0}
.pf-request-main strong{color:var(--ink);font-size:.92rem;overflow-wrap:anywhere}
.pf-request-line{color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.pf-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pf-number{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--review-yellow-border);border-radius:12px;background:var(--review-yellow-bg)}
.pf-number strong{color:var(--ink);font-size:.86rem}.pf-number span{color:var(--review-yellow-text);font-size:.82rem;font-weight:800}
.pf-number.is-recorded{border-color:var(--review-green-border);background:var(--review-green-bg)}
.pf-number.is-recorded span{color:var(--review-green-text)}
.pf-number-actions{grid-column:1/-1;display:flex;gap:14px}
.pf-number-actions .text-button{min-height:36px}
.pf-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding-top:6px}
.pf-actions .primary-button,.pf-actions .quiet-button{min-height:44px}
.pf-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:52px;cursor:pointer}
.pf-toggle>span{display:grid;gap:2px}.pf-toggle strong{color:var(--ink);font-size:.92rem}
.pf-switch{appearance:none;-webkit-appearance:none;position:relative;width:52px;height:32px;margin:0;border-radius:999px;background:var(--line);cursor:pointer;transition:background .2s}
.pf-switch::after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s var(--ease-ios)}
.pf-switch:checked{background:var(--green)}
.pf-switch:checked::after{transform:translateX(20px)}
.pf-switch:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.pf-switch:disabled{opacity:.55;cursor:not-allowed}
.pf-field[hidden],.pf-page [hidden],.pf-sheet [hidden]{display:none!important}
.pf-field{display:grid;gap:6px}
.pf-page select,.pf-page input:not([type=checkbox]):not([type=radio]):not([type=file]){width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);
  border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text);font:inherit;font-size:.95rem}
.pf-field-label{display:block;color:var(--ink);font-size:.86rem;font-weight:800}
.pf-on-record{display:grid;gap:2px;margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-muted)}
.pf-on-record:empty{display:none}
.pf-chips{display:flex;flex-wrap:wrap;gap:8px}
.pf-chip>span{min-height:44px}
.pf-dependents{display:grid;gap:10px}
.pf-dependent{display:grid;gap:6px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px}
.pf-dependent legend{padding:0 4px;color:var(--muted);font-size:.78rem;font-weight:800}
.pf-remove{justify-self:start;min-height:40px;color:var(--danger)}
.pf-add{justify-self:start;min-height:44px}
.pf-photo-preview{display:grid;place-items:center;padding:8px 0}
.pf-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pf-subject{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:10px 12px;border-radius:14px;background:var(--surface-muted)}
.pf-subject>div{display:grid;gap:2px;min-width:0}
.pf-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pf-facts{display:grid}
.pf-hr-sheet .pf-card{box-shadow:none;border:1px solid var(--line)}
.pf-history summary{cursor:pointer;min-height:40px;display:flex;align-items:center}
.pf-celebrations{display:grid;gap:10px}
.pf-celebration{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:18px}
.pf-celebration-text{display:grid;gap:2px;min-width:0}
.pf-celebration-text strong{color:var(--ink);font-size:.95rem;overflow-wrap:anywhere}
.pf-celebration.is-for-me{grid-template-columns:auto minmax(0,1fr);background:var(--lavender-soft);border-color:var(--lavender-line)}
.pf-cake{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--lavender);color:#fff}
.pf-cake .pf-icon{width:22px;height:22px}
.pf-greet{display:inline-flex;gap:6px;align-items:center;min-height:44px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);
  color:var(--danger);font:inherit;font-size:.86rem;font-weight:800;cursor:pointer}
.pf-greet:hover{background:var(--danger-soft)}
.pf-greet.is-done,.pf-greet:disabled{background:var(--danger-soft);border-color:var(--review-red-border);cursor:default}
.pf-greet.is-done .pf-icon svg{fill:currentColor}
.pf-greet:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media(max-width:420px){.pf-celebration{grid-template-columns:auto minmax(0,1fr)}.pf-celebration .pf-greet{grid-column:2;justify-self:start}
  .pf-row,.pf-row.is-tap{grid-template-columns:minmax(0,1fr) auto}.pf-row .pf-row-label{grid-column:1}.pf-row .pf-row-value{grid-column:1}
  .pf-row.is-tap .pf-chevron{grid-column:2;grid-row:1/span 2}}
/* My profile is a new-look page too: no page card (the top bar names it), as the lead decided for the others (Oct 23). */
body.nl-on[data-view=myProfile] #workspace>.page-header:not(:has(.last-updated-label)){display:none}
/* Account (coordinator, Oct 23): password, recovery email, the Home reminder. */
.pf-show-password{display:flex!important;flex-direction:row;gap:10px;align-items:center;min-height:44px;font-size:.86rem;font-weight:700;color:var(--text-soft)}
.pf-show-password input{flex:none;width:22px;height:22px;min-height:0;margin:0;padding:0}
.pf-step{display:grid;gap:10px}
.pf-account-body{display:grid;gap:6px}
.pf-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase}
.pf-account-reminder{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:18px;
  border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.pf-account-reminder .pf-request-line{color:var(--review-yellow-text)}
.pf-cake.is-key{background:var(--warm);color:var(--on-brand)}
@media(max-width:420px){.pf-account-reminder{grid-template-columns:auto minmax(0,1fr)}.pf-account-reminder>button{grid-column:2;justify-self:start}}
/* The one-time icon tour (Oct 22, 10:57 PM): a bubble, never a cover; the named icons are ringed. */
.it-bubble{position:fixed;left:50%;transform:translateX(-50%);z-index:60;display:grid;gap:8px;width:min(360px,calc(100vw - 32px));padding:14px 16px;
  border:1px solid var(--line);border-radius:18px;background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow-hover)}
.it-bubble[data-place=above]{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 18px)}
.it-bubble[data-place=below]{top:calc(var(--topbar-h) + env(safe-area-inset-top) + 12px)}
.it-count{margin:0;color:var(--muted);font-size:.78rem;font-weight:800}
.it-lines{display:grid;gap:4px}.it-lines p{margin:0;font-size:.92rem;font-weight:700;color:var(--ink)}
.it-actions{display:flex;justify-content:space-between;gap:10px}.it-actions button{min-height:44px;min-width:96px}
.it-ring{outline:3px solid var(--brand-blue);outline-offset:3px;border-radius:14px;position:relative;z-index:61}
/* The photo page header (Me › You) opens My profile. */
.nl-profile.pf-open{width:100%;border:0;font:inherit;text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto}
.nl-profile.pf-open:hover{background:var(--surface-muted)}
.nl-profile.pf-open:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
/* The certificate: a clean page on screen, and only it when printed. */
.pf-cert{width:min(820px,100vw);max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:18px;background:var(--page);color:#111}
.pf-cert::backdrop{background:rgba(8,23,44,.55)}
.pf-cert-bar{position:sticky;top:0;display:flex;justify-content:space-between;gap:10px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--line)}
.pf-cert-bar button{min-height:44px}
.pf-cert-paper{display:grid;gap:14px;margin:16px;padding:clamp(20px,6vw,56px);border-radius:8px;background:#fff;color:#111;box-shadow:0 2px 10px rgba(0,0,0,.12);
  font-family:Georgia,"Times New Roman",serif;font-size:1rem;line-height:1.7}
.pf-cert-head{display:grid;gap:2px;text-align:center;padding-bottom:12px;border-bottom:2px solid #111}
.pf-cert-company{font-size:1.25rem}
.pf-cert-title{margin:18px 0 6px;text-align:center;font-size:1.4rem;letter-spacing:.02em;color:#111}
.pf-cert-p{margin:0;text-indent:2em;text-align:justify}
.pf-cert-sign{display:grid;justify-items:start;gap:0;margin-top:40px;width:min(280px,100%)}
.pf-cert-line{display:block;width:100%;height:1px;margin-bottom:6px;background:#111}
.pf-cert-ref{margin-top:24px;color:#555;font-size:.75rem;font-family:system-ui,sans-serif}
@media print{
  body.pf-printing>*:not(.pf-cert){display:none!important}
  body.pf-printing .pf-cert{position:static;display:block;width:auto;max-height:none;overflow:visible;border-radius:0;background:#fff}
  body.pf-printing .pf-cert::backdrop{display:none}
  body.pf-printing .pf-cert-bar{display:none}
  body.pf-printing .pf-cert-paper{margin:0;box-shadow:none;padding:24mm 20mm}
}
/* ===== end PF MY PROFILE ===== */
/* ===== INT wave 2 (night of Fri, Oct 23, 2026): the calm Me Home's feed — PF's recovery-email reminder, WP-AN's posts and
   PF's birthdays sit in HOME's .hm-feed, one gap apart; each builder's own cards keep their own styles. ===== */
.hm-feed{display:grid;gap:12px;margin-top:14px;min-width:0}
.hm-feed-slot{display:contents}
.hm-feed .an-home{margin-top:0}
.wf-open-profile{justify-self:start;margin-top:10px;min-height:44px}/* PF's profile from WFX's person page (Details) */
/* NV folds page-level back pills into its one Back: PF's "‹ You" and SUFX's "‹ Setup guide" too (never two ways back). */
body.nv-has-back #cards .pf-back,body.nv-has-back #cards .su-back{display:none}
/* ===== end INT ===== */
/* ===== MEFX — Me-side fixes (Oct 23, 2026): late / undertime chips, undo, My days, done notices. Existing tokens only. ===== */
.mf-chip{display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted);color:var(--text);font-size:.8rem;font-weight:800;line-height:1.25;white-space:nowrap}
.mf-chip.is-late{border-color:var(--review-red-border);background:var(--review-red-bg);color:var(--review-red-text)}
.mf-chip.is-wait{border-color:var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.mf-chip.is-done{border-color:var(--review-green-border);background:var(--review-green-bg);color:var(--review-green-text)}
.mf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.at-line .mf-chip{margin-left:4px;vertical-align:middle}
.mf-undo{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 0;padding:8px 10px 8px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted)}
.mf-undo-text{font-weight:700;color:var(--text)}
.mf-undo-button{min-height:44px;min-width:112px;font-weight:800;font-variant-numeric:tabular-nums}
.mf-confirm{margin:0 0 8px;font-size:1.05rem;font-weight:700;color:var(--ink)}
.mf-confirm-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;color:var(--text-soft)}
.mf-preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:28px;margin:0;color:var(--text-soft)}
.mf-days-head{display:flex;gap:8px;align-items:center}
.mf-days-head select{min-height:44px;max-width:100%}
.mf-totals{margin:8px 0 12px;padding:10px 12px;border-radius:12px;background:var(--surface-muted);color:var(--text);font-weight:700;line-height:1.45}
.mf-days{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.mf-day{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.mf-day:hover{background:var(--surface-raised)}
.mf-day:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.mf-day-date{color:var(--muted);font-size:.85rem;font-weight:700;line-height:1.3}
.mf-day-main{display:grid;gap:2px;min-width:0}
.mf-day-label{font-size:.98rem;overflow-wrap:anywhere}
.mf-day-sub{color:var(--text-soft);font-size:.86rem;overflow-wrap:anywhere}
.mf-day-hint{color:var(--brand-blue-strong);font-size:.84rem;font-weight:700}
.mf-day.is-noTimeIn,.mf-day.is-absent{border-left:4px solid var(--danger)}
.mf-day.is-restDay,.mf-day.is-dayOff,.mf-day.is-holiday{background:var(--surface-muted)}
.mf-day.is-leave,.mf-day.is-ob{border-left:4px solid var(--brand-blue)}
.mf-day-status{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.tk-notif.mf-notice-done{opacity:.72}
.tk-notif.mf-notice-done .tk-notif-title{font-weight:600}
.tk-notif.mf-notice-done .mf-chip{justify-self:start;margin-top:4px}
.mf-left-after strong,.mf-nobody-away{font-weight:700}
@media(max-width:420px){.mf-day{grid-template-columns:minmax(0,1fr) auto}.mf-day-date{grid-column:1}.mf-day-main{grid-column:1}.mf-day .mr-chevron{grid-row:1/span 2;grid-column:2}}
/* ===== end MEFX ===== */

/* ===== HIRE — Hiring in one place (Fri Oct 23, 2026; hiring-place-screens-v1.js). Requests · Openings (board per job) ·
   Training · Interviews, an applicant page, Back on every sub-page. Phone first: one column, a sticky stage filter row, big
   buttons; laptop: the board's stage columns side by side. Uses the app's tokens only (three looks × light/dark). ===== */
/* Hiring is a bar page on Workspace: like the other bar pages it has no page card (the top bar names it). */
body.nl-on[data-view=hiring] #workspace>.page-header:not(:has(.last-updated-label)){display:none}
.hire-place{display:grid;gap:12px;min-width:0}
.hire-body{display:grid;gap:12px;min-width:0}
.hire-tabs{position:sticky;top:calc(var(--topbar-h) + env(safe-area-inset-top));z-index:5;display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:14px;
  background:var(--surface);overflow-x:auto;scrollbar-width:none}
.hire-tabs::-webkit-scrollbar{display:none}
.hire-tabs[hidden]{display:none}
.hire-tab{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 14px;border:0;border-radius:10px;background:none;
  color:var(--text-soft);font:inherit;font-weight:750;cursor:pointer}
.hire-tab[aria-selected=true]{background:var(--brand-blue-soft);color:var(--nl-accent-text,var(--brand-blue-strong))}
.hire-tab:focus-visible,.hire-chip:focus-visible,.hire-back:focus-visible,.hire-card-open:focus-visible,.hire-req-main:focus-visible,.hire-opening:focus-visible,.hire-more-row:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hire-tab-count{min-width:22px;padding:1px 7px;border-radius:999px;background:var(--danger);color:var(--on-danger);font-size:.75rem;font-weight:800;text-align:center}
.hire-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px}
.hire-counts{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--text-soft);font-size:.92rem}
.hire-count strong{color:var(--text);font-size:1.05rem}
.hire-count.is-mine strong,.hire-count.is-mine{color:var(--review-red-text)}
.hire-new,.hire-act{min-height:44px;padding:0 16px;border:0;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}
.hire-new{display:inline-flex;align-items:center;gap:6px}
.hire-plus{font-size:1.2rem;line-height:1}
.hire-act.is-wide{width:100%}
.hire-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hire-chips{display:flex;gap:6px;flex-wrap:wrap}
.hire-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);
  color:var(--text-soft);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;white-space:nowrap}
.hire-chip strong{color:var(--text)}
.hire-chip[aria-pressed=true]{border-color:var(--brand-blue);background:var(--brand-blue-soft);color:var(--nl-accent-text,var(--brand-blue-strong))}
.hire-chip[aria-pressed=true] strong{color:inherit}
.hire-search{flex:1 1 200px;min-width:0;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit}
.hire-list,.hire-cards,.hire-rows,.hire-more-list,.hire-history-list,.hire-timeline,.hire-steps{margin:0;padding:0;list-style:none}
.hire-list{display:grid;gap:10px}
.hire-req{display:grid;gap:0;padding:0;overflow:hidden}
.hire-req.has-action,.hire-opening.has-action{border-color:var(--review-yellow-border)}
.hire-req-main,.hire-opening{display:grid;gap:8px;width:100%;padding:14px 16px;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.hire-opening{border:1px solid var(--line);border-radius:18px;background:var(--cream);box-shadow:var(--shadow)}
.hire-req-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.hire-req-title{font-size:1.02rem;line-height:1.3;overflow-wrap:anywhere}
.hire-chevron{flex:none;width:20px;height:20px;color:var(--muted)}
.hire-chevron svg{width:100%;height:100%}
.hire-req-facts{color:var(--text-soft);font-size:.9rem}
.hire-opening-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hire-line{color:var(--text-soft);font-size:.86rem;overflow-wrap:anywhere}
.hire-line.is-mine{color:var(--review-red-text);font-weight:750}
.hire-card-actions{display:flex;justify-content:flex-end;padding:0 16px 14px}
.hire-card-actions .hire-act{width:100%}
@media(min-width:701px){.hire-card-actions .hire-act{width:auto}}
/* the request's stages: a simple progress line, each with its label (and how many people are in it) */
.hire-steps{display:flex;flex-wrap:wrap;gap:6px 4px;align-items:center}
.hire-step{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 6px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:.76rem;font-weight:700}
.hire-step-dot{width:9px;height:9px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box}
.hire-step.is-done{color:var(--review-green-text);background:var(--review-green-bg)}
.hire-step.is-done .hire-step-dot{background:currentColor}
.hire-step.is-now{color:var(--nl-accent-text,var(--brand-blue-strong));background:var(--brand-blue-soft);box-shadow:inset 0 0 0 1px var(--brand-blue)}
.hire-step.is-now .hire-step-dot{background:currentColor}
.hire-step.is-stopped{color:var(--review-red-text);background:var(--review-red-bg)}
.hire-step-count{min-width:18px;padding:0 5px;border-radius:999px;background:var(--surface);color:var(--text);text-align:center}
/* the board */
.hire-back{display:inline-flex;align-items:center;gap:2px;justify-self:start;min-height:44px;padding:0 12px 0 4px;border:0;border-radius:12px;background:none;
  color:var(--nl-accent-text,var(--brand-blue-strong));font:inherit;font-weight:750;cursor:pointer;max-width:100%}
.hire-back-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hire-back-icon{display:grid;place-items:center}
.hire-board-head,.hire-person,.hire-timeline-card,.hire-history,.hire-elsewhere{display:grid;gap:10px;padding:14px 16px}
.hire-board-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.hire-board-title h2,.hire-person-name h2{margin:0;font-size:1.2rem;overflow-wrap:anywhere}
.hire-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:0}
.hire-facts div{padding:8px 10px;border-radius:12px;background:var(--surface-muted)}
.hire-facts dt{color:var(--muted);font-size:.75rem;font-weight:750}
.hire-facts dd{margin:2px 0 0;font-weight:800;overflow-wrap:anywhere}
.hire-board-tools{display:flex;flex-wrap:wrap;gap:8px}
.hire-tool{min-height:44px}
.hire-stagebar{position:sticky;top:calc(var(--topbar-h) + env(safe-area-inset-top));z-index:4;display:flex;gap:6px;padding:8px 0;background:var(--page);overflow-x:auto;scrollbar-width:none}
.hire-stagebar::-webkit-scrollbar{display:none}
.hire-board{display:grid;gap:12px;min-width:0}
.hire-col{display:grid;gap:8px;align-content:start;min-width:0}
.hire-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}
.hire-col-head h3{margin:0;font-size:.95rem}
.hire-col-count{min-width:24px;padding:1px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text);font-size:.8rem;font-weight:800;text-align:center}
.hire-col-empty{margin:0;padding:10px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.85rem}
.hire-cards{display:grid;gap:8px}
.hire-card{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--cream);box-shadow:var(--shadow)}
.hire-card.has-action{border-color:var(--review-yellow-border)}
.hire-card-open{display:flex;gap:10px;align-items:flex-start;width:100%;min-height:44px;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.hire-card-main{display:grid;gap:3px;min-width:0}
.hire-card-name{overflow-wrap:anywhere}
.hire-card-state{color:var(--text-soft);font-size:.86rem}
.hire-chip-line{justify-self:start;padding:3px 8px;border-radius:8px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:700}
.hire-chip-line.is-review{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.hire-chip-line.is-blocked{background:var(--review-red-bg);color:var(--review-red-text)}
.hire-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--brand-blue-soft);color:var(--nl-accent-text,var(--brand-blue-strong));font-weight:800}
.hire-avatar.is-big{width:52px;height:52px;font-size:1.2rem}
.hire-card .hire-act{width:100%}
/* phone and tablet: one column, the chosen stage only (All = every stage that has someone; For you = the cards with your action) */
@media(max-width:1100px){
  .hire-board .hire-col.is-empty{display:none}
  .hire-board[data-stage=applied] .hire-col:not([data-stage=applied]),.hire-board[data-stage=exam] .hire-col:not([data-stage=exam]),
  .hire-board[data-stage=interview] .hire-col:not([data-stage=interview]),.hire-board[data-stage=training] .hire-col:not([data-stage=training]),
  .hire-board[data-stage=offer] .hire-col:not([data-stage=offer]),.hire-board[data-stage=requirements] .hire-col:not([data-stage=requirements]),
  .hire-board[data-stage=starting] .hire-col:not([data-stage=starting]),.hire-board[data-stage=done] .hire-col:not([data-stage=done]){display:none}
  .hire-board[data-stage=mine] .hire-col:not(.has-mine),.hire-board[data-stage=mine] .hire-card:not(.has-action){display:none}
}
@media(min-width:701px) and (max-width:1100px){.hire-board .hire-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* laptop: the stages side by side (the filter row highlights; "For you" dims the others) */
@media(min-width:1101px){
  .hire-board{grid-template-columns:repeat(8,minmax(150px,1fr));gap:10px;overflow-x:auto;padding-bottom:6px}
  .hire-col{padding:8px;border-radius:14px;background:var(--surface-muted)}
  .hire-board[data-stage=mine] .hire-card:not(.has-action){opacity:.45}
  .hire-board:not([data-stage=all]):not([data-stage=mine]) .hire-col{opacity:.5}
  .hire-board[data-stage=applied] .hire-col[data-stage=applied],.hire-board[data-stage=exam] .hire-col[data-stage=exam],.hire-board[data-stage=interview] .hire-col[data-stage=interview],
  .hire-board[data-stage=training] .hire-col[data-stage=training],.hire-board[data-stage=offer] .hire-col[data-stage=offer],.hire-board[data-stage=requirements] .hire-col[data-stage=requirements],
  .hire-board[data-stage=starting] .hire-col[data-stage=starting],.hire-board[data-stage=done] .hire-col[data-stage=done]{opacity:1;box-shadow:inset 0 0 0 2px var(--brand-blue)}
  .hire-card-open .hire-avatar{display:none}
  .hire-card{padding:10px 12px}
  .hire-card-state,.hire-card .hire-line{font-size:.82rem}
  .hire-place .hire-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}
}
.hire-closed,.hire-more{padding:0 16px}
.hire-closed summary,.hire-more summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;cursor:pointer;list-style:none}
.hire-closed summary::-webkit-details-marker,.hire-more summary::-webkit-details-marker{display:none}
.hire-closed[open],.hire-more[open]{padding-bottom:14px}
.hire-more-count{min-width:24px;padding:1px 8px;border-radius:999px;background:var(--surface-muted);font-size:.8rem;font-weight:800;text-align:center}
.hire-more-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;padding:8px 4px;border:0;border-top:1px solid var(--line);
  background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.hire-more-text{display:grid;gap:2px;min-width:0}
.hire-more-text small{color:var(--text-soft)}
.hire-h3{margin:0;font-size:.98rem}
.hire-rows{display:grid;gap:8px}
.hire-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.hire-row-text{display:grid;gap:2px;min-width:0}
.hire-row-text small{color:var(--text-soft)}
/* the applicant page */
.hire-person-top{display:flex;gap:12px;align-items:flex-start}
.hire-person-name{display:grid;gap:6px;min-width:0}
.hire-person-name .hire-line{margin:0}
.hire-now{display:grid;gap:8px;padding-top:10px;border-top:1px solid var(--line)}
.hire-now .hire-line{margin:0}
.hire-tel{color:var(--nl-accent-text,var(--brand-blue-strong));font-weight:800}
.hire-timeline{display:grid;gap:0}
.hire-tl{position:relative;display:flex;gap:12px;align-items:flex-start;min-height:46px;padding-left:2px}
.hire-tl::before{content:"";position:absolute;left:12px;top:22px;bottom:-2px;width:2px;background:var(--line)}
.hire-tl:last-child::before{display:none}
.hire-tl.is-done::before{background:var(--review-green-border)}
.hire-tl-dot{position:relative;z-index:1;flex:none;width:22px;height:22px;margin-top:1px;border:2px solid var(--line);border-radius:50%;background:var(--surface);box-sizing:border-box}
.hire-tl.is-done .hire-tl-dot{border-color:var(--review-green-border);background:var(--review-green-text)}
.hire-tl.is-done .hire-tl-dot::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid var(--surface);border-width:0 2px 2px 0;transform:rotate(45deg)}
.hire-tl.is-now .hire-tl-dot{border-color:var(--brand-blue);box-shadow:0 0 0 4px var(--brand-blue-soft);background:var(--brand-blue)}
.hire-tl.is-stopped .hire-tl-dot{border-color:var(--review-red-border);background:var(--review-red-bg)}
.hire-tl.is-skipped .hire-tl-dot,.hire-tl.is-off .hire-tl-dot{border-style:dashed}
.hire-tl-text{display:grid;gap:1px;padding-bottom:10px;min-width:0}
.hire-tl-text small{color:var(--text-soft)}
.hire-tl.is-now .hire-tl-text strong{color:var(--nl-accent-text,var(--brand-blue-strong))}
.hire-tl.is-next .hire-tl-text strong,.hire-tl.is-skipped .hire-tl-text strong,.hire-tl.is-off .hire-tl-text strong{color:var(--text-soft);font-weight:650}
.hire-history-list{display:grid;gap:8px}
.hire-history-list li{display:grid;gap:2px;padding-top:8px;border-top:1px solid var(--line)}
.hire-history-list small{color:var(--text-soft)}
.hire-empty,.hire-loading{display:grid;gap:8px;justify-items:start;padding:16px}
.hire-empty h3{margin:0}
.hire-empty p,.hire-loading p{margin:0;color:var(--text-soft)}
.hire-loading{grid-auto-flow:column;justify-content:start;align-items:center}
.hire-spinner{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--brand-blue);border-radius:50%;animation:hire-spin .8s linear infinite}
@keyframes hire-spin{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.hire-spinner{animation:none}}
.hire-offstage{display:none!important}
.ap-reset-step[hidden]{display:none!important}/* the applicant's reset: the code step appears after the code is sent */
.hire-blocked{display:grid;gap:8px;justify-items:start;padding:14px 16px;border-color:var(--review-yellow-border);background:var(--review-yellow-bg)}
.hire-blocked .hire-line{color:var(--review-yellow-text)}
/* "Share job and details" shows the full job page inside Hiring: Back is Hiring's own (one Back, not two). */
.hire-body .rc-back,.hire-body .rc-toolbar .ati-a-share-all-button{display:none}
/* No shouting capitals (NIGHT_RULES words; audit AUD2 D "no capital kickers"): every small label and heading that was set in
   capitals is sentence case — the words as written, a little letter spacing only. */
:is(.nav-heading,.kicker,.deadline span,.step-label,.preview-caption,.company-input-required strong,.status-pill,.cs-group-head h2,.cs-address legend,.cs-structure-head h2,.sheet-section-heading,.appearance-choice legend,.fr-check-kicker,.fr-person-title,.ps-kicker,.ps-problem strong,.as-group-title,.as-sheet-label,.mr-detail-history h3,.mr-steps-block h3,.rc-compare h3,.ap-group legend,.ap-messages h3,.jp-share-poster h3,.jp-kicker,.ig-group-title,.ic-recent h3,.we-instructions h2,.we-q-number,.we-live-label,.we-section,.sg-current-kicker,.sg-list-title,.ap-message-who,.mp-row-group,.pp-lbl,.pp-table th,.pp-k,.pp-howtitle,.ati-p-position-head,.ati-a-next-kicker,.ati-a-area h3,.ati-e-lock-timer-label,.ati-i-block h3,.at3-ob-kicker,.wc-notice-from,.ati-w-block-head,.tk-kind,.ati-q-sub,.w3-rg-subhead,.lv-kinds-head,.nl-h3,.nl-cal-wd,.rc-who h3,th){text-transform:none!important;letter-spacing:.01em!important}
/* ===== end HIRE ===== */
/* ===== WFX — work-side fixes (Fri, Oct 23, 2026): Employee directory, person page, locked request button, the fix on the
   status line, SVG rows on the photo pages. Prefix wf-; the existing tokens only (light, dark, the three themes). ===== */
.wf-directory{display:grid;gap:14px}
.wf-dir-title{margin:2px 4px 0;font-size:1.5rem;line-height:1.2}
/* The directory carries its own title and count: the old page card and summary pill are not shown on the new look. */
body.nl-on[data-view=employees] #workspace>.page-header:not(:has(.last-updated-label)),body.nl-on[data-view=employees] #summary{display:none}
.wf-dir-tools{display:grid;gap:10px;padding:14px}
.wf-dir-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted)}
.wf-dir-search input{flex:1;min-width:0;min-height:42px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:1rem}
.wf-dir-search input:focus{outline:none}.wf-dir-search:focus-within{outline:3px solid var(--focus);outline-offset:1px}
.wf-search-icon{width:16px;height:16px;flex:none;border:2px solid var(--muted);border-radius:50%;position:relative}
.wf-search-icon::after{content:"";position:absolute;width:7px;height:2px;background:var(--muted);right:-6px;bottom:-3px;transform:rotate(45deg);border-radius:2px}
.wf-filters{display:flex;flex-wrap:wrap;gap:8px}
.wf-filter{display:grid;gap:2px;flex:1 1 140px;min-width:0}
.wf-filter-label{color:var(--muted);font-size:.75rem;font-weight:750}
.wf-filter select{min-height:40px;width:100%;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit}
.wf-count{margin:0;color:var(--muted);font-size:.85rem;font-weight:700}
.wf-letter{display:grid;gap:6px}
.wf-letter-head{margin:6px 6px 0;color:var(--muted);font-size:.8rem;font-weight:800}
.wf-rows{list-style:none;margin:0;padding:4px 0;display:grid}
.wf-rows li+li .wf-row{border-top:1px solid var(--line)}
.wf-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 14px;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.wf-row:hover{background:var(--surface-muted)}.wf-row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.wf-row-main{display:grid;gap:2px;flex:1;min-width:0}
.wf-row-name{font-size:.98rem;overflow-wrap:anywhere}
.wf-row-sub{color:var(--muted);font-size:.84rem;overflow-wrap:anywhere}.wf-row-sub.is-missing{font-style:italic}
.wf-tag{flex:none;padding:2px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.75rem;font-weight:800}
.wf-chevron{flex:none;width:8px;height:8px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:rotate(45deg)}
.wf-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--brand-blue-soft);color:var(--brand-blue-strong);font-weight:800;font-size:.85rem}
.wf-avatar.is-large{width:64px;height:64px;font-size:1.25rem;background:var(--brand-blue);color:var(--on-brand)}
.wf-empty{display:grid;gap:4px;padding:18px}.wf-empty p{margin:0;color:var(--muted)}
/* The person page: the whole screen on a phone, a wide panel on a laptop. */
.wf-person-sheet .cs-sheet-body{display:grid;gap:12px;align-content:start}
.cs-sheet.wf-person-sheet .cs-sheet-form{height:100%}/* the actions stay at the bottom whatever the tab */
@media(max-width:720px){.cs-sheet.wf-person-sheet{max-height:100dvh;height:100dvh;border-radius:0}}
@media(min-width:721px){.cs-sheet.wf-person-sheet{width:min(760px,96vw);height:min(88vh,860px)}}
.wf-person-head{display:flex;gap:14px;align-items:center;padding:4px 2px}
.wf-person-title{display:grid;gap:2px;min-width:0}
.wf-person-name{margin:0;font-size:1.3rem;line-height:1.2;overflow-wrap:anywhere}
.wf-person-line{margin:0;color:var(--text-soft);font-weight:650;overflow-wrap:anywhere}
.wf-person-since{margin:2px 0 0;color:var(--muted);font-size:.85rem}
.wf-tabs{display:flex;flex:none;flex-wrap:wrap;gap:4px;padding:3px;border-radius:12px;background:var(--surface-muted)}
.wf-tab{flex:1 0 auto;min-height:38px;padding:0 12px;border:0;border-radius:9px;background:none;color:var(--text-soft);font:inherit;font-size:.88rem;font-weight:750;cursor:pointer;white-space:nowrap}
.wf-tab.is-on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.wf-tab:focus-visible{outline:3px solid var(--focus)}
.wf-panel,.wf-section{display:grid;gap:10px}
.wf-facts{display:grid;gap:0;padding:6px 14px}
.wf-sub{margin:8px 0 4px;color:var(--muted);font-size:.78rem;font-weight:800}
.wf-fact{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.wf-sub+.wf-fact,.wf-facts>.wf-fact:first-child{border-top:0}
.wf-fact-label{color:var(--muted);font-size:.88rem;flex:none;max-width:45%}
.wf-fact-value{font-weight:700;text-align:right;overflow-wrap:anywhere;min-width:0}
.wf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 0 10px}
.wf-stat{display:grid;gap:2px;padding:10px;border-radius:12px;background:var(--surface-muted);text-align:center}
.wf-stat strong{font-size:1.3rem}.wf-stat span{color:var(--muted);font-size:.78rem;font-weight:700}
.wf-lines{list-style:none;margin:0 0 6px;padding:0;display:grid}
.wf-line{display:grid;gap:2px;padding:9px 0;border-top:1px solid var(--line)}.wf-line:first-child{border-top:0}
.wf-line span{color:var(--muted);font-size:.86rem}
.wf-timeline{list-style:none;margin:0;padding:6px 0;display:grid}
.wf-event{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid var(--line)}.wf-event:first-child{border-top:0}
.wf-event-date{color:var(--muted);font-size:.84rem;font-weight:700}
.wf-hint{margin:0;color:var(--muted);font-size:.88rem}
.wf-link{justify-self:start;min-height:44px}
.wf-danger{color:var(--danger)}
.wf-person-actions{flex-wrap:wrap}
/* Sheet titles here wrap instead of being cut ("Add away days for someone", a long name). */
.aw-sheet .cs-sheet-head strong,.wf-person-sheet .cs-sheet-head strong{white-space:normal;overflow:visible;line-height:1.25}
/* "Make a manpower request" while its setup step waits: why, and the fix for an administrator. */
.wf-locked{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;border:1px solid var(--review-yellow-border);border-radius:12px;background:var(--review-yellow-bg);color:var(--review-yellow-text);font-weight:700;max-width:100%}
.wf-locked-icon{width:12px;height:14px;flex:none;border:2px solid currentColor;border-radius:3px;position:relative;margin-top:4px}
.wf-locked-icon::before{content:"";position:absolute;left:1px;top:-8px;width:6px;height:6px;border:2px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0}
.wf-locked-text{flex:1 1 200px;min-width:0}
.wf-locked-fix{min-height:40px}
.wf-status-fix{margin-left:8px;min-height:36px;font-weight:800}
/* The photo pages' rows and the laptop "More" column: one SVG per page (never a text symbol), labels wrap (never cut). */
.wf-row-icon{padding:6px}
.sheet-row .wf-row-icon::before,.nl-col-row .wf-row-icon::before{content:none!important}
.nl-col-row .nl-col-label{white-space:normal;overflow-wrap:anywhere}
.nl-wc-name{white-space:normal;overflow:visible;overflow-wrap:normal;line-height:1.2;letter-spacing:-.01em}/* a widget name wraps ("Regularization"), never cut */
/* WFX A7: a Team member card is a button now (opens the person page): it keeps the card's left-aligned look. */
button.tk-member{width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}button.tk-member:focus-visible{outline:3px solid var(--focus)}
@media(max-width:420px){.wf-event{grid-template-columns:1fr;gap:2px}.wf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ===== end WFX ===== */
/* ===== SEP — leaving the company (night of Fri, Oct 23, 2026; builder SEP; prefix sp-): resign, clearance, final pay,
   certificate of employment, signed contracts, Admin Center › Separation, the former employee's page. Phone first; the
   shared tokens only (light and dark follow them). ===== */
.sp-page{display:grid;gap:12px;max-width:760px}
.sp-card{display:grid;gap:10px;padding:16px}
.sp-card-head{display:flex;gap:12px;align-items:flex-start}
.sp-card-head h3{margin:0;font-size:1.02rem}
.sp-card-icon{display:inline-grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.sp-card-icon .ic-icon,.sp-tick .ic-icon{width:20px;height:20px;display:inline-flex}
.sp-card-icon svg,.sp-tick svg{width:100%;height:100%}
.sp-sub{margin:2px 0 0;color:var(--muted);font-size:.92rem}
.sp-lead{margin:0;font-weight:600;color:var(--ink)}
.sp-hint{margin:0;color:var(--muted);font-size:.9rem}
.sp-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-muted);color:var(--text-soft);font-size:.92rem}
.sp-note.is-review{background:var(--review-yellow-bg);color:var(--review-yellow-text);border:1px solid var(--review-yellow-border)}
.sp-actions{display:flex;flex-wrap:wrap;gap:8px}
.sp-actions>button{min-height:44px}
.sp-facts{display:grid;grid-template-columns:1fr;gap:6px;margin:0}
.sp-facts>div{display:grid;grid-template-columns:minmax(120px,40%) 1fr;gap:10px;padding:6px 0;border-bottom:1px solid var(--line)}
.sp-facts>div:last-child{border-bottom:0}
.sp-facts dt{color:var(--muted);font-size:.9rem}
.sp-facts dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.sp-items{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.sp-items>li{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.sp-items>li.is-done{background:var(--review-green-bg);border-color:var(--review-green-border)}
.sp-items>li.is-done .sp-tick{color:var(--review-green-text);background:transparent}
.sp-items>li.is-mine{border-color:var(--brand-blue-line);box-shadow:inset 3px 0 0 var(--brand-blue)}
.sp-items>li.is-off{opacity:.6}
.sp-items>li>button{min-height:40px;flex:0 0 auto}
.sp-tick{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--surface-muted);color:var(--muted)}
.sp-item-main{display:grid;gap:2px;flex:1 1 auto;min-width:0}
.sp-item-main small{color:var(--muted);overflow-wrap:anywhere}
.sp-progress{height:8px;border-radius:999px;background:var(--surface-muted);overflow:hidden}
.sp-progress>span{display:block;height:100%;background:var(--green);border-radius:inherit}
.sp-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.sp-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);width:100%;text-align:left;color:inherit;font:inherit}
.sp-row-button{cursor:pointer}
.sp-row-button:hover{border-color:var(--brand-blue-line)}
.sp-row-main{display:grid;gap:4px;min-width:0;justify-items:start}
.sp-row-main small{color:var(--muted)}
.sp-row>button{flex:0 0 auto;min-height:40px}
.sp-letter summary{cursor:pointer;color:var(--brand-blue-strong);font-weight:600;min-height:32px}
.sp-letter-text{white-space:pre-wrap;margin:8px 0 0;padding:12px;border-radius:12px;background:var(--surface-muted);color:var(--text)}
.sp-timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--line);display:grid;gap:10px}
.sp-timeline li{display:grid;gap:2px}
.sp-timeline small{color:var(--muted)}
.sp-complete{display:grid;gap:14px;margin-top:6px}
.sp-block{display:grid;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.sp-block h3{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0;font-size:1rem}
.sp-coe{display:grid;gap:12px;margin-top:12px}
.sp-contract{display:grid;gap:8px}
.sp-hire-contract{display:grid;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.sp-hire-contract h4{margin:0;font-size:.95rem}
.sp-certificate{background:#fff;color:#111;border:1px solid var(--line);border-radius:12px;padding:28px 22px;font-family:Georgia,"Times New Roman",serif;line-height:1.7}
.sp-certificate h2{text-align:center;margin:0 0 4px;font-size:1.3rem;color:#111}
.sp-cert-company{text-align:center;color:#444;margin:0 0 20px}
.sp-certificate p{margin:0 0 14px}
.sp-cert-sign{display:grid;gap:2px;margin-top:36px;max-width:240px}
.sp-cert-line{display:block;border-top:1px solid #111;margin-bottom:4px}
.sp-cert-sign small{color:#444}
.sp-print-frame{position:fixed;width:0;height:0;border:0;right:0;bottom:0;visibility:hidden}
.sp-settings .sp-items>li{align-items:flex-start}
.sp-edit-rows{display:grid;gap:10px}
.sp-edit-row{display:grid;grid-template-columns:auto auto 1fr;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.sp-edit-row>input[type=text],.sp-edit-row>select{grid-column:1 / -1}
.sp-edit-row select,.sp-edit-row input[type=text]{min-height:40px}
.sp-check{display:inline-flex;gap:8px;align-items:center;min-height:40px;font-weight:600;color:var(--ink)}
.sp-check input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;padding:0;flex:0 0 20px}
.sp-remove{justify-self:end}
.sp-former{display:grid;gap:12px;max-width:640px;margin:0 auto;padding:16px}
.sp-former-head h1{margin:0 0 4px;font-size:1.4rem}
.sp-former-head p{margin:0;color:var(--muted)}
.sp-day{color:var(--brand-blue-strong);font-weight:600}
@media (min-width:900px){
  .sp-facts{grid-template-columns:1fr 1fr;column-gap:24px}
  .sp-edit-row{grid-template-columns:2fr 1fr auto auto auto}
  .sp-edit-row>input[type=text],.sp-edit-row>select{grid-column:auto}
}
/* ===== end SEP ===== */
/* ===== PERF — performance reviews (Oct 23, 2026; performance-screens-v1.js; prefix pa-; shared tokens only) ===== */
.pa-section,.pa-mine{display:grid;gap:12px;min-width:0}
.pa-mine{max-width:760px}
.pa-tabs{max-width:520px}
.pa-tabs button{min-height:44px}
.pa-search input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
.pa-list-body{display:grid;gap:10px;min-width:0}
.pa-card .mr-card-facts{overflow-wrap:anywhere}
.pa-failure{display:grid;gap:8px;justify-items:start}
.pa-progress{display:grid;gap:12px;min-width:0}
.pa-progress-head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px;min-width:0}
.pa-progress-head .mr-hint{margin:2px 0 0}
.pa-title{margin:0;font-size:1.15rem;color:var(--ink);overflow-wrap:anywhere}
.pa-start{justify-self:start;min-height:44px;display:inline-flex;align-items:center;gap:6px}
.pa-cycle select{width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
@media(min-width:760px){.pa-progress-head{grid-template-columns:minmax(0,1fr) minmax(220px,300px) auto;align-items:end}}
.pa-totals,.pa-branches,.pa-ratings{display:grid;gap:8px;padding:14px 16px;min-width:0}
.pa-stage-row{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.pa-stage{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.84rem;font-weight:700}
.pa-stage strong{color:var(--ink);font-variant-numeric:tabular-nums}
.pa-stage.is-done{background:var(--review-green-bg);color:var(--review-green-text)}
.pa-stage.is-done strong{color:inherit}
.pa-stack{display:flex;height:10px;border-radius:999px;overflow:hidden;background:var(--surface-muted)}
.pa-stack-part{min-width:6px}
.pa-stack-part.is-notStarted{background:var(--line)}
.pa-stack-part.is-self{background:var(--lavender)}
.pa-stack-part.is-superior{background:var(--brand-blue)}
.pa-stack-part.is-approval{background:var(--warm)}
.pa-stack-part.is-done{background:var(--green)}
.pa-stage.is-self::before,.pa-stage.is-superior::before,.pa-stage.is-approval::before,.pa-stage.is-notStarted::before,.pa-stage.is-done::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--line)}
.pa-stage.is-self::before{background:var(--lavender)}.pa-stage.is-superior::before{background:var(--brand-blue)}.pa-stage.is-approval::before{background:var(--warm)}.pa-stage.is-done::before{background:var(--green)}
.pa-late{margin:0;color:var(--review-red-text);font-weight:750}
.pa-branch-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pa-branch{display:grid;gap:6px;padding:10px 0;border-top:1px solid var(--line);min-width:0}
.pa-branch:first-child{border-top:0;padding-top:0}
.pa-branch-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px}
.pa-branch-head .mr-hint{margin:0}
.pa-bars{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pa-bars li{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr) 3ch;gap:10px;align-items:center}
.pa-bar-label{font-size:.86rem;color:var(--text-soft);overflow-wrap:anywhere}
.pa-bar-track{height:12px;border-radius:999px;background:var(--surface-muted);overflow:hidden}
.pa-bar-fill{display:block;height:100%;border-radius:999px;background:var(--brand-blue);min-width:0}
.pa-bar-fill.is-1,.pa-bar-fill.is-2{background:var(--danger)}
.pa-bar-fill.is-3{background:var(--warm)}
.pa-bar-fill.is-4,.pa-bar-fill.is-5{background:var(--green)}
.pa-bar-count{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:520px){.pa-bars li{grid-template-columns:minmax(0,1fr) 3ch}.pa-bar-track{grid-column:1/-1;grid-row:2}}
.pa-recos{margin:4px 0 0}
.pa-compare{display:grid;gap:10px;min-width:0}
.pa-compare-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pa-compare-row{display:grid;gap:6px 12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
@media(min-width:720px){.pa-compare-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);align-items:start}}
.pa-item-label{display:grid;gap:2px;font-weight:750;overflow-wrap:anywhere}
.pa-group{color:var(--muted);font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.pa-side{display:grid;gap:2px;min-width:0}
.pa-side small{color:var(--muted);font-weight:700}
.pa-side em{color:var(--text-soft);font-style:normal;font-size:.88rem;overflow-wrap:anywhere}
.pa-score{font-variant-numeric:tabular-nums}
.pa-score.is-1,.pa-score.is-2{color:var(--review-red-text)}
.pa-score.is-4,.pa-score.is-5{color:var(--review-green-text)}
.pa-quote{margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-muted);overflow-wrap:anywhere}
.pa-result-text{display:grid;gap:6px}
.pa-result-text p{margin:0;overflow-wrap:anywhere}
.pa-return{margin:0}
.pa-rate legend{display:grid;gap:2px}
.pa-their{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;padding:8px 10px;border-radius:10px;background:var(--lavender-soft);color:var(--ink)}
.pa-their small{color:var(--text-soft);font-weight:700}
.pa-their em{font-style:normal;color:var(--text-soft);overflow-wrap:anywhere}
.pa-their.is-none{background:var(--surface-muted)}
.pa-overall{margin:0;font-weight:750}
.pa-goals{margin:0;padding-left:22px;display:grid;gap:8px}
.pa-goal{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center}
.pa-goal input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--brand-blue-line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit}
.pa-goal-remove{min-height:44px;min-width:44px}
.pa-add-goal{justify-self:start;min-height:44px;margin-top:6px}
.pa-reco .rc-choice{padding:10px 12px}
.pa-sent{margin:0 0 4px}
.pa-mine-hero{border-left-color:var(--brand-blue-line)}
.pa-mine-hero.needs-me{border-left-color:var(--brand-blue)}
.pa-mine-hero .mr-status{margin:2px 0}
.pa-mine-action{justify-self:start;min-height:44px;margin-top:6px}
.pa-history{display:grid;gap:10px;padding:16px}
.pa-history h3{margin:0}
.pa-banner.is-setup{border:1px solid var(--review-yellow-border);background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.pa-banner .pa-setup{justify-self:start;min-height:44px;margin-top:6px}
.pa-person{display:grid;gap:8px;min-width:0}
/* the scale line, the chosen rating, the group headings of the rating form */
.pa-scale{margin:0;padding:8px 10px;border-radius:10px;background:var(--surface-muted);color:var(--text-soft);font-size:.86rem;font-weight:700;line-height:1.5}
.pa-picked{color:var(--brand-blue-strong);font-weight:750;min-height:1em}
.pa-group-head{margin:10px 0 0}
/* ===== end PERF ===== */
/* ===== WD — words pass: small look fixes (Fri Oct 23, 2026; WD spec items 5, 9, 11). Existing tokens only. ===== */
/* Item 11: the red count badge reads >= 4.5:1 (white on #c62828 = 5.6:1) in light and dark, every look. */
.notification-badge{background:#c62828;color:#fff}
/* Item 11: "Decline" and other danger words as text: the danger red darkened toward the ink in light (>= 4.5:1) and kept light in dark. */
.ac-danger-text{color:color-mix(in srgb,var(--danger) 58%,var(--ink))!important}
/* Item 11: tap targets >= 44 px (Me | Work pill, dropdowns, the logo, the top-bar help). */
.nl-pill{min-height:44px}
select{min-height:44px}
.quiet-button{min-height:44px}
.ar-rule select{min-height:44px}
.cs-segmented button,.cs-structure-head .cs-segmented button{min-height:44px}.cs-grid .cs-add,.cs-add{min-width:44px;min-height:44px}.cs-grid .cs-add{width:44px;height:44px}
.topbar .brand{min-height:44px;min-width:44px}
.wd-top-help{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:999px}
.wd-top-help[hidden]{display:none!important}
@media(max-width:700px){body.nl-on .topbar .icon-button{width:44px;height:44px}}
.wd-top-help-icon{display:inline-grid;place-items:center;width:22px;height:22px}.wd-top-help-icon>svg{width:22px;height:22px}
/* Item 5: no shouting capitals — the labels the HIRE list did not reach are sentence case too. */
:is(.we-basics legend,.rc-checks h3,.rc-results h3,.dc-rule-cat,.cs-group-head h2,.environment-badge){text-transform:none!important;letter-spacing:.01em!important}
.pp-cards td::before{text-transform:none!important;letter-spacing:.01em!important}
/* Item 11: names and titles wrap instead of being cut at 390 (branch / brand rows, Access rows, sheet titles, the laptop More list). */
:is(.cs-row-main strong,.cs-row-main span,.as-chip-name,.ae-chip-name,.hc-place-name strong,.cs-sheet-head strong,.ps-text strong,.nl-col-label){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
/* ===== end WD ===== */

/* ===== EMAIL SIGN-IN (Coi, Sun Nov 1, 2026, "A"): sign in with email, the link pages, "Add your email", invite chips ===== */
.auth-options .text-button,.auth-sent .text-button,.ae-step .text-button{min-height:44px;padding:8px 4px}
.auth-sent{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--surface-muted)}
.auth-sent h2{margin:0;font-size:1.15rem}
.auth-sent p{margin:0;overflow-wrap:anywhere}
.auth-sent .quiet-button,.auth-sent .primary-button,.ae-step .quiet-button,.ae-step .primary-button{min-height:44px;width:100%}
.ae-step{max-width:520px;margin:24px auto;display:flex;flex-direction:column;gap:12px;padding:20px}
.ae-step h1{margin:0}
.ae-step p{margin:0;overflow-wrap:anywhere}
.ae-step input{min-height:44px}
.ae-not-set-up{color:var(--review-yellow-text);background:var(--review-yellow-bg);border:1px solid var(--review-yellow-border);border-radius:10px;padding:10px 12px}
.rg-questions{max-width:640px;margin:24px auto;padding:20px}
.rg-confirmed{color:var(--review-green-text);font-weight:700}
.aa-chip{display:inline-flex;align-items:center;align-self:flex-start;min-height:28px;padding:3px 10px;border-radius:999px;font-size:.84rem;font-weight:800;border:1px solid var(--line);background:var(--surface-muted);color:var(--text);overflow-wrap:anywhere}
.aa-chip.is-active{background:var(--review-green-bg);border-color:var(--review-green-border);color:var(--review-green-text)}
.aa-chip.is-invited{background:var(--brand-blue-soft);border-color:var(--brand-blue-line);color:var(--brand-blue-strong)}
.aa-chip.is-noEmail,.aa-chip.is-inviteExpired,.aa-chip.is-ownerApproval,.aa-chip.is-ready{background:var(--review-yellow-bg);border-color:var(--review-yellow-border);color:var(--review-yellow-text)}
.aa-act{min-height:44px}
@media (max-width:520px){.ae-step,.rg-questions{margin:12px 0;padding:16px}.aa-row-actions{width:100%}.aa-row-actions .aa-act{width:100%}}
.install-app-slot{display:flex;width:100%}
.install-app-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;border:1.5px solid var(--brand-blue-strong);background:transparent;color:var(--brand-blue-strong);border-radius:12px;font-weight:800}
.install-app-button[hidden]{display:none}
.install-sheet h2{margin:0 0 8px}
.install-steps{margin:0;padding-left:22px;display:grid;gap:8px}
.install-done{font-weight:700}
.install-sheet-done{min-height:44px}
/* ===== end EMAIL SIGN-IN ===== */

/* ===== PRICE BANDS owner console (Coi, Mon Nov 2 2026): src/platform-prices-console-v1.js ===== */
.pr-body{display:grid;gap:12px;margin-top:12px}
.pr-empty,.pr-card{display:grid;gap:10px;padding:16px}
.pr-empty h2,.pr-card h2{margin:0;font-size:1.15rem}
.pr-empty p{margin:0;color:var(--text-soft)}
.pr-empty .pr-empty-text{color:var(--ink);font-size:1.05rem;font-weight:750}
.pr-card.is-draft{border-color:var(--review-yellow-border)}
.pr-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.pr-sub{margin:2px 0 0;color:var(--muted);font-size:.88rem}
.pr-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:var(--surface-muted);color:var(--text-soft);font-size:.78rem;font-weight:850;white-space:nowrap}
.pr-chip.is-draft{background:var(--review-yellow-bg);color:var(--review-yellow-text)}
.pr-chip.is-current{background:var(--brand-blue-soft);color:var(--brand-blue-strong)}
.pr-table{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.pr-tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;min-height:40px;padding:6px 12px;border-top:1px solid var(--line)}
.pr-tr:first-child{border-top:0}
.pr-th{color:var(--muted);font-size:.8rem;font-weight:850;background:var(--surface-muted)}
.pr-band{font-weight:750}
.pr-price{font-weight:800}
.pr-missing{color:var(--review-yellow-text);font-weight:700}
.pr-note{margin:0;color:var(--review-yellow-text);font-weight:700;font-size:.9rem}
.pr-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.pr-actions .primary-button,.pr-actions .quiet-button{min-height:44px;padding:10px 20px;border-radius:999px}
.pr-actions .primary-button[disabled]{opacity:.5;cursor:not-allowed}
.pr-history ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.pr-history li{display:grid;gap:2px;padding:8px 10px;border-left:3px solid var(--brand-blue-line);background:var(--surface-muted);border-radius:0 10px 10px 0}
.pr-history small{color:var(--muted)}
.pr-history p{margin:0;overflow-wrap:anywhere;color:var(--text-soft)}
.pr-history-bands{font-size:.9rem;overflow-wrap:anywhere}
.pr-rows{display:grid;gap:8px}
.pr-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 76px;align-items:center;gap:8px}
.pr-row-head{color:var(--muted);font-size:.8rem;font-weight:850}
.pr-range{display:flex;align-items:center;gap:6px;min-width:0}
.pr-from{min-width:3ch;font-weight:800;text-align:right}
.pr-dash{color:var(--muted)}
.pr-open{color:var(--text-soft);font-weight:750;white-space:nowrap}
.pr-to,.pr-amount,.pr-date{min-height:44px;width:100%;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-muted);color:var(--ink);font:inherit;font-size:16px}
.pr-to:focus,.pr-amount:focus,.pr-date:focus{outline:3px solid var(--focus);border-color:var(--brand-blue)}
.pr-remove{min-height:40px;padding:0 6px;border:0;background:transparent;color:var(--review-red-text);font:inherit;font-weight:750;cursor:pointer}
.pr-add-row{display:flex}
.pr-add-band{min-height:44px;padding:8px 16px;border-radius:999px}
.pr-date-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pr-date{width:auto}
.pr-day{color:var(--brand-blue-strong);font-weight:800}
.pa-size{color:var(--text-soft)!important;font-weight:700}
@media(max-width:520px){
  .pr-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px;gap:6px}
  .pr-card-head{flex-direction:column}
  .pr-actions{justify-content:stretch}.pr-actions>*{flex:1 1 0}
}
/* ===== end PRICE BANDS ===== */
/* ===== LOGO C1 and quiet status (Coi, Tue Nov 3 2026, 2:26 PM: "our logo is not consistent anywhere"; "loading and up to
   date, is this normal?") ===== */
/* Every NoypiHR mark in the old pages is the approved logo C1 (Nov 2 2026): the same files as the React app
   (/icons/noypihr-logo.svg; the Work side of a live company shows the teal NoypiHR Work logo). The old letter "N" and its
   yellow dashes are gone. Absolute paths: the published stylesheet lives under /assets/. */
.brand-mark{background:url(/icons/noypihr-logo.svg) center/100% 100% no-repeat!important;border:0!important;border-radius:22.5%!important;box-shadow:none!important;color:transparent!important;font-size:0!important;overflow:hidden}
.brand-mark::before{content:none!important;display:none!important}
body[data-side=work] .topbar .brand-mark{background-image:url(/icons/noypihr-work-logo.svg)!important}
/* The status line speaks only when it matters (errors, offline, a warning, an action being sent or saved): never the plain
   "Up to date" answer, and never a page "Loading…" (each page shows its own loading state). Rule: status() sets data-idle. */
.status-row:has(#status[data-idle=true]){display:none}
/* ===== end LOGO C1 and quiet status ===== */

/* ===== CAREERS page (Nov 3, 2026) ===== */
/* Coi "A", Tue Nov 3 2026 (mock-up section 4): Admin Center › Hiring › Careers page. The app's own tokens, so light and dark
   both follow the theme; the teal button is NoypiHR Work's colour (as in the mock-up). */
.ca-page{display:grid;gap:12px;max-width:720px}
.ca-card{display:flex;flex-direction:column;gap:10px;border-radius:20px;padding:16px}
.ca-lbl{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.ca-addr{display:flex;align-items:center;gap:8px;background:var(--surface-muted);border-radius:12px;padding:10px 12px;font-weight:600;font-size:15px;margin:0;min-width:0}
.ca-addr-text{flex:1;min-width:0;overflow-wrap:anywhere}
.ca-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ca-link{background:none;border:0;padding:6px 0;min-height:36px;color:var(--brand-blue-strong);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.ca-link.ca-strong{font-weight:700}
.ca-qr{display:flex;gap:14px;align-items:center}
.ca-qrbox{width:104px;height:104px;flex:none;border-radius:12px;background:#fff;padding:6px;border:1px solid var(--line);display:grid;place-items:center}
.ca-qrbox svg{width:100%;height:100%;display:block}
.ca-qr-text{display:grid;gap:2px}
.ca-qr-text p,.ca-card p{margin:0}
.ca-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.ca-thumb{width:64px;height:64px;border-radius:12px;object-fit:cover;background:var(--surface-muted);flex:none}
.ca-add{border:1.5px dashed var(--line);color:var(--muted);font-size:24px;display:grid;place-items:center;cursor:pointer}
.ca-preview{gap:10px}
.ca-mark{width:40px;height:40px;border-radius:11px;color:#fff;font-weight:800;display:grid;place-items:center;font-size:15px;flex:none}
.ca-preview-text{display:grid;min-width:0}
.ca-preview-text small{color:var(--muted)}
.ca-about{white-space:pre-line;color:var(--text-soft);font-size:14px}
.ca-teal{background:#0e7490;border-color:#0e7490;color:#fff;border-radius:12px;min-height:44px;font-weight:700;width:100%}
.ca-teal:hover{background:#0b5f76}
.ca-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;border:1.5px solid var(--line);border-radius:14px;padding:12px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.ca-opt strong{font-size:15px}
.ca-opt.is-on{border-color:#0e7490;background:rgba(14,116,144,.08)}
.ca-opt:disabled{cursor:default}
.ca-steps{margin:0;padding-left:20px;font-size:14px;display:grid;gap:4px}
.ca-soon{display:grid;gap:3px;border-radius:14px;padding:12px;background:var(--surface-muted);font-size:14px;color:var(--text-soft)}
.ca-soon strong{color:var(--text)}
.ca-soon-pill{justify-self:start;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7c2d12;background:#fff4e5;border-radius:6px;padding:1px 7px}
.ca-sheet .ca-edit-part{display:grid;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.ca-sheet .ca-edit-part:last-child{border-bottom:0}
.ca-sheet h3,.ca-edit-h{margin:0;font-size:16px;font-weight:700}
.ca-edit-thumbs{align-items:flex-start}
.ca-edit-photo{margin:0;display:grid;gap:4px;justify-items:center}
.ca-edit-photo .ca-thumb{width:84px;height:84px}
.ca-remove{min-height:32px;padding:4px 10px;font-size:13px}
.ca-file{display:none}
.ca-textarea{font-weight:400!important;width:100%;min-height:110px;border-radius:12px;border:1px solid var(--line);padding:10px 12px;font:inherit;font-size:15px;background:var(--surface);color:var(--text);resize:vertical}
.ca-counter{justify-self:end}
.ca-swatches{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ca-sw{width:36px;height:36px;border-radius:999px;border:3px solid var(--surface);box-shadow:0 0 0 1px var(--line);cursor:pointer;padding:0}
.ca-sw.is-on{box-shadow:0 0 0 3px #0e7490}
.ca-own{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--text-soft)}
.ca-own-colour{width:40px;height:36px;border:1px solid var(--line);border-radius:10px;padding:2px;background:var(--surface)}
.ca-slug-input{font-weight:400!important;width:100%;min-height:44px;border-radius:12px;border:1px solid var(--line);padding:10px 12px;font:inherit;font-size:16px;background:var(--surface);color:var(--text)}
.ca-addr-preview{font-size:14px}
@media (max-width:520px){.ca-card{padding:14px}.ca-qrbox{width:88px;height:88px}}
/* ===== end CAREERS ===== */

/* LIVE build (tools/live-site-settings.mjs): no environment badge on the live site. */
.environment-badge{display:none!important}
