/* Spotless Admin — Connecteam-style manager shell (left sidebar).
   Extends the inline styles already in index.html; only the layout shell +
   the new Dashboard / Time-Clock / Requests widgets live here. Brand: blue #2F86D6 + green. */

:root{
  --side:236px;
  --sidebg:#12233a;      /* deep navy rail, like Connecteam's manager side */
  --sideink:#c9d6e5;
}

/* ---- App shell: fixed sidebar + fluid content ---- */
body.shell{padding:0;background:var(--bg,#f2f4f7)}
.layout{display:flex;min-height:100vh;align-items:stretch}
.side{width:var(--side);flex-shrink:0;background:linear-gradient(180deg,#0e1c31 0%,#12233a 55%,#16305a 130%);color:var(--sideink);
  display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.05)}
.side-brand{display:flex;align-items:center;gap:10px;padding:14px 16px 10px;flex-shrink:0}
.side-brand img{height:34px;width:34px;object-fit:contain;border-radius:8px;background:#fff;padding:2px;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.side-brand .bn{font-size:15px;font-weight:800;color:#fff;line-height:1.1}
.side-brand .bt{font-size:10px;color:#7e93ad}
.side-nav{display:flex;flex-direction:column;gap:1px;padding:6px 8px;flex:1;min-height:0;overflow-y:auto}
.side-nav .navbtn{display:flex;align-items:center;gap:11px;width:100%;text-align:left;
  padding:7px 12px;border:none;background:transparent;color:var(--sideink);
  font-size:14px;font-weight:600;border-radius:9px;cursor:pointer;position:relative;
  transition:background .15s,color .15s,transform .13s,box-shadow .18s}
.side-nav .navbtn .ic{font-size:17px;width:20px;text-align:center;flex-shrink:0}
.side-nav .navbtn:hover{background:rgba(255,255,255,.07);color:#fff;transform:translateX(2px)}
.side-nav .navbtn:active{transform:scale(.97)}
.side-nav .navbtn.on{background:linear-gradient(135deg,#2F86D6,#2461ae);color:#fff;
  box-shadow:0 4px 14px rgba(47,134,214,.45),inset 0 1px 0 rgba(255,255,255,.16);transform:none}
.side-nav .navbtn.on::before{content:"";position:absolute;left:-8px;top:22%;bottom:22%;width:3px;
  border-radius:0 3px 3px 0;background:var(--green)}
.side-nav .navbtn .badge{margin-left:auto;background:#e0523f;color:#fff;font-size:11px;
  font-weight:800;border-radius:20px;padding:1px 7px;min-width:18px;text-align:center}
.side-nav .navbtn.on .badge{background:#fff;color:var(--blue)}
.badge.ping{animation:badgePing .8s cubic-bezier(.2,.8,.3,1) 2}
@keyframes badgePing{0%{box-shadow:0 0 0 0 rgba(224,82,63,.7)}100%{box-shadow:0 0 0 10px rgba(224,82,63,0)}}
.nav-group{font-size:10px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;
  color:#5f7898;padding:9px 12px 3px;margin-top:2px}
.side-foot{margin-top:auto;padding:8px;flex-shrink:0;display:flex;flex-direction:column;gap:1px;
  border-top:1px solid rgba(255,255,255,.08)}
.side-foot .navbtn{display:flex;align-items:center;gap:11px;width:100%;text-align:left;
  padding:7px 12px;border:none;background:transparent;color:#8fa2ba;position:relative;
  font-size:13px;font-weight:600;border-radius:9px;cursor:pointer;transition:background .15s,color .15s}
.side-foot .navbtn:hover{background:rgba(255,255,255,.07);color:#fff}
/* Docs lives in the foot now — it still gets an active state (violet, matching its hue) */
.side-foot .navbtn.on{background:linear-gradient(135deg,#7C5CD6,#5335B8);color:#fff;
  box-shadow:0 4px 14px rgba(109,74,207,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-foot .navbtn.on .nav-tile{background:rgba(255,255,255,.20);box-shadow:none}
.content{flex:1;min-width:0;padding:20px 24px}
.content .card:first-child{margin-top:0}
.page-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  flex-wrap:wrap;margin:0 0 14px}
.page-head h1{font-size:24px;font-weight:800;color:var(--ink);letter-spacing:-.015em}
.page-head .sub{font-size:12.5px;color:#888}

/* ---- View transitions (sidebar section switch) ---- */
@keyframes viewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.view-in{animation:viewIn .18s cubic-bezier(.2,.7,.3,1) both}

/* ---- Avatar chips: one base, deterministic per-person hue set inline ---- */
.av{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;
  font-weight:800;width:30px;height:30px;font-size:12px;flex-shrink:0;background:var(--grad);
  box-shadow:inset 0 -6px 12px rgba(0,0,0,.14),0 1px 2px rgba(16,24,40,.18)}

/* ---- Skeleton shimmer ---- */
.skel{border-radius:8px;margin:6px 0;background:linear-gradient(90deg,#edf0f4 25%,#f8fafc 45%,#edf0f4 65%);
  background-size:200% 100%;animation:skel 1.1s linear infinite}
@keyframes skel{from{background-position:170% 0}to{background-position:-70% 0}}

/* ---- Empty states ---- */
.empty{text-align:center;padding:26px 12px;animation:viewIn .3s ease}
.empty-ic{width:54px;height:54px;margin:0 auto 10px;border-radius:16px;font-size:26px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#eaf2fb,#eef7e6);box-shadow:inset 0 0 0 1px rgba(47,134,214,.16)}
.empty b{font-size:14.5px}

/* ---- Dashboard KPI strip + sparklines ---- */
.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.kpi{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--hair,#e3e7ee);
  border-radius:12px;background:linear-gradient(180deg,#fff,#fafbfd);
  transition:transform .15s,box-shadow .18s,border-color .18s}
.kpi:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(16,24,40,.09);border-color:#cfe0f2}
.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.kpi b{font-size:22px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.kpi>span{font-size:11px;color:#8892a2}
.spark{flex-shrink:0;opacity:.95}

/* ---- Engagement chart: draw-in + hover tooltip dots ---- */
#dash-engage .eg-line{stroke-dasharray:1;stroke-dashoffset:1;animation:egDraw .9s cubic-bezier(.3,.6,.3,1) .1s forwards}
@keyframes egDraw{to{stroke-dashoffset:0}}
#dash-engage .eg-area{opacity:0;animation:egFade .6s ease .5s forwards}
@keyframes egFade{to{opacity:1}}
.eg-pt .eg-dot{transition:r .15s}
.eg-pt .eg-tip{opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;transform:translateY(3px)}
.eg-pt:hover .eg-tip{opacity:1;transform:none}
.eg-pt:hover .eg-dot{r:5px}

/* ---- Dashboard ---- */
.qa-row{display:flex;gap:10px;flex-wrap:wrap}
.qa{flex:1;min-width:150px;display:flex;align-items:center;gap:10px;background:#fff;
  border:1px solid var(--hair,#e3e7ee);border-radius:12px;padding:13px 14px;cursor:pointer;
  font-weight:700;font-size:13.5px;color:var(--ink);text-align:left;
  transition:transform .15s,box-shadow .18s,border-color .18s}
.qa:hover{border-color:var(--blue);box-shadow:0 8px 18px rgba(47,134,214,.16);transform:translateY(-2px)}
.qa:active{transform:scale(.97)}
.qa .qic{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;
  justify-content:center;font-size:19px;background:linear-gradient(135deg,#2F86D6,#6FB23B);color:#fff;flex-shrink:0}
.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:820px){.dash-grid{grid-template-columns:1fr}}

/* ---- Dashboard hierarchy grid: act → check → monitor.
   3-col desktop grid; .dspan-2/.dspan-3 set the width of each card, section labels
   (.dash-sec) span the full row so they always force a new band. Stacks on narrow. ---- */
.dash-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.dash-layout>.card{margin-bottom:0}
.dspan-2{grid-column:span 2}
.dspan-3{grid-column:1/-1}
.dash-sec{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:2px 0 -6px;
  font-size:10.5px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#8a94a6}
.dash-sec::after{content:"";flex:1;height:1px;background:var(--hair,#e3e7ee)}
@media(max-width:900px){.dash-layout{grid-template-columns:1fr}.dash-layout>*{grid-column:auto}}

/* "This period at a glance" as a compact right rail: each KPI becomes one horizontal
   row — label left, gradient numeral + sparkline right-aligned. Markup untouched. */
#dash-kpis .kpi-row{display:flex;flex-direction:column;gap:8px}
#dash-kpis .kpi{flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px}
#dash-kpis .kpi:hover{transform:none;box-shadow:0 4px 12px rgba(16,24,40,.07)}
#dash-kpis .kpi b{font-size:18px}
#dash-kpis .kpi>span{font-size:11.5px;color:#66707f;font-weight:600;white-space:nowrap}
#dash-kpis .kpi-top{gap:8px}
#dash-kpis .spark{width:64px;height:22px}
@media(max-width:900px){#dash-kpis .kpi-row{gap:6px}}
.attn{display:flex;flex-direction:column;gap:8px}
.attn-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fafbfc;
  border:1px solid #edf0f4;border-radius:10px;cursor:pointer;transition:transform .13s,box-shadow .16s,border-color .16s}
.attn-row:hover{border-color:#bcd6f0;transform:translateY(-1px);box-shadow:0 4px 12px rgba(16,24,40,.08)}
.attn-row:active{transform:scale(.985)}
.attn-row .an{flex:1;font-weight:600;font-size:13.5px}
.attn-row .ac{background:var(--red);color:#fff;font-weight:800;font-size:12px;
  border-radius:20px;padding:2px 10px;min-width:22px;text-align:center}
.attn-row.zero .ac{background:var(--green)}
/* System status (owner): one line per robot / nightly step — green dot, red row when late or failing */
.sys-list{display:flex;flex-direction:column;gap:6px}
.sys-row{display:flex;align-items:flex-start;gap:10px;padding:7px 12px;background:var(--surface-2,#fafbfc);
  border:1px solid var(--hair,#edf0f4);border-radius:10px;font-size:13px;line-height:1.45}
.sys-dot{width:9px;height:9px;border-radius:50%;flex:none;margin-top:5px;background:#9aa3b2}
.sys-ok .sys-dot{background:var(--green)}
.sys-bad{border-color:rgba(192,57,43,.38);background:rgba(192,57,43,.07)}
.sys-bad .sys-dot{background:var(--red);box-shadow:0 0 0 3px rgba(192,57,43,.16)}
.sys-blocked,.sys-waiting,.sys-off{color:var(--ink-3,#7c8698)}
.sys-err{display:block;color:var(--red);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.sys-sub{display:block;color:var(--ink-3,#7c8698);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.sys-grp>summary{list-style:none;cursor:pointer}
.sys-grp>summary::-webkit-details-marker{display:none}
.sys-more{margin-left:auto;padding-left:10px;color:var(--ink-3,#7c8698);font-size:12px;white-space:nowrap}
.sys-more::after{content:" \25B8"}.sys-grp[open] .sys-more::after{content:" \25BE"}
.sys-steps{display:flex;flex-direction:column;gap:5px;margin:6px 0 2px 18px}
.sys-steps .sys-row{padding:6px 10px;font-size:12.5px}
.sys-foot{margin-top:4px;font-size:12px;color:var(--ink-3,#7c8698)}
.sys-foot.warn{color:var(--amber)}
.who-list{display:flex;flex-direction:column;gap:6px;max-height:280px;overflow-y:auto}
.who{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fafbfc;border:1px solid transparent;border-radius:9px;transition:transform .13s,border-color .15s,box-shadow .15s}
.who:hover{transform:translateY(-1px);border-color:#e3ecf6;box-shadow:0 3px 10px rgba(16,24,40,.07)}
.who .wn{font-weight:700;font-size:13px;display:block}
.who .ws{font-size:11px;color:#888;display:block}
.who .wr{margin-left:auto;font-size:11px}
.feed{display:flex;flex-direction:column;gap:2px;max-height:340px;overflow-y:auto}
.feed-row{display:flex;gap:10px;padding:9px 6px;border-bottom:1px solid #f2f2f2;font-size:13px;border-radius:7px;transition:background .13s}
.feed-row:hover{background:#f6f9fd}
.feed-row .fic{font-size:15px;width:22px;text-align:center;flex-shrink:0}
.feed-row .ft{font-size:11px;color:#aaa;margin-left:auto;white-space:nowrap;flex-shrink:0}

/* ---- sub-tabs (Time Clock: Today / Timesheets) ---- */
.subtabs{display:flex;gap:6px;border-bottom:2px solid #eee;margin-bottom:14px}
.subtab{padding:9px 16px;border:none;background:transparent;font-size:14px;font-weight:700;
  color:#888;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;
  transition:color .15s,border-color .15s,transform .12s}
.subtab:hover{color:var(--ink)}
.subtab:active{transform:scale(.96)}
.subtab.on{color:var(--blue);border-bottom-color:var(--blue)}
/* a person's profile has nine sub-tabs: in one row they made the page 904 px wide on a phone, and a
   dialog opened there (the face-photo crop) was centred off the screen */
@media(max-width:720px){.subtabs{flex-wrap:wrap}}

/* ---- Requests ---- */
.req-group{margin-bottom:16px}
.req-group h3{font-size:13px;text-transform:uppercase;letter-spacing:.4px;color:#888;margin-bottom:8px}
.req{display:flex;align-items:center;gap:12px;padding:11px 13px;background:#fff;
  border:1px solid #edf0f4;border-radius:11px;margin-bottom:7px;
  animation:viewIn .28s cubic-bezier(.2,.7,.3,1) backwards;
  transition:transform .13s,box-shadow .16s,border-color .16s}
.req:nth-child(2){animation-delay:30ms}.req:nth-child(3){animation-delay:60ms}.req:nth-child(4){animation-delay:90ms}
.req:nth-child(5){animation-delay:120ms}.req:nth-child(6){animation-delay:150ms}.req:nth-child(n+7){animation-delay:180ms}
.req:hover{transform:translateY(-1px);border-color:#cfe0f2;box-shadow:0 5px 14px rgba(16,24,40,.08)}
.req .ri{font-size:20px;flex-shrink:0}
.req .rb{flex:1;min-width:0}
.req .rt{font-weight:700;font-size:13.5px}
.req .rd{font-size:12px;color:#888;margin-top:1px}
/* the quoted note under a request. The staff app's brand.css (loaded here too) has its own .rn — a 34px gradient
   square — which squeezed every note into that square: undo each of its properties here */
.req .rn{font-size:12px;color:var(--red);margin-top:2px;font-style:italic;
  display:block;width:auto;height:auto;flex:0 1 auto;border-radius:0;background:none;font-family:inherit;font-weight:400}
.req .rx{display:flex;gap:6px;flex-shrink:0}

@media(max-width:720px){
  /* Phone: the nav is ONE horizontally-scrollable chip row (was a wrapped wall of 18 buttons
     that pushed the content below the fold). Group labels hide; badges stay; the active tab
     is auto-scrolled into view by tab(). Configure/footer buttons join a second slim row. */
  .layout{flex-direction:column}
  .side{width:100%;height:auto;position:static;flex-direction:column;overflow:visible}
  .side-brand{padding:10px 14px 4px}
  .side-nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:4px;
    padding:6px 10px;flex:none;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .side-nav::-webkit-scrollbar{display:none}
  .side-nav .navbtn{width:auto;flex:none;white-space:nowrap;padding:8px 12px}
  .nav-group{display:none}
  .side-foot{margin-top:0;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:4px;
    padding:0 10px 8px;scrollbar-width:none;align-items:center}
  .side-foot::-webkit-scrollbar{display:none}
  .side-foot .navbtn{width:auto;flex:none;white-space:nowrap;padding:8px 12px}
  .side-foot .ck-hintchip{flex:none;white-space:nowrap}
  .content{padding:14px}
}

/* ---- Timesheets: Connecteam-style pay-period board ---- */
.ts-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pp-nav{display:flex;align-items:center;gap:2px;border:1px solid #dfe3ea;border-radius:9px;padding:2px;background:#fff}
.pp-nav button{border:none;background:transparent;font-size:16px;font-weight:800;color:var(--blue);cursor:pointer;padding:3px 10px;border-radius:7px;line-height:1.2}
.pp-nav button:hover{background:#eaf2fb}
.pp-label{font-size:13.5px;padding:0 4px;min-width:100px;text-align:center;white-space:nowrap}
.req-pill{margin-left:auto;display:flex;align-items:center;gap:7px;border:1px solid #f3c98b;background:#fff8ec;color:#8a5a00;font-weight:700;font-size:13px;border-radius:20px;padding:6px 14px;cursor:pointer;transition:box-shadow .15s,transform .15s}
.req-pill b{background:#e67e22;color:#fff;border-radius:14px;padding:1px 8px;font-size:12px;min-width:20px;text-align:center}
.req-pill:hover{box-shadow:0 2px 10px rgba(230,126,34,.3);transform:translateY(-1px)}
.ts-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ts-summary .ts-sum b{font-size:21px;display:block;font-variant-numeric:tabular-nums}
.ts-summary .ts-sum span{font-size:11px;color:#888}
.ts-eq{font-size:18px;color:#bbb;font-weight:700}
.ts-pay{margin-left:auto;text-align:right}
.ts-pay b{font-size:21px;display:block;color:var(--ink);font-variant-numeric:tabular-nums}
.ts-pay span{font-size:11px;color:#888}
.ts-band th{background:#f4f7fb;color:#5a6b84;font-size:10.5px;letter-spacing:.5px;text-align:center;border-left:1px solid #e7ecf3;border-bottom:none;border-radius:6px 6px 0 0}
.ts-band th:first-child{background:transparent;border-left:none}
.ts-row{cursor:pointer;transition:background .15s}
.ts-row:hover{background:#f6f9fd}
.ts-row.sel{background:#eef5fc}
.ts-emp{display:flex;align-items:center;gap:9px}
.ts-emp .av,.rr-item .av{width:30px;height:30px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:11px;flex-shrink:0}
.ts-alert{color:var(--red);font-weight:800;cursor:help;font-size:14px}
.ts-openbtn{width:100%;padding:6px 10px;border:1px solid var(--blue);border-radius:8px;background:#fff;color:var(--blue);font-weight:700;font-size:12.5px;cursor:pointer;transition:background .15s,color .15s}
.ts-openbtn:hover,.ts-openbtn.on{background:var(--blue);color:#fff}
.ts-detpanel{background:#f8fafc;border:1px solid #e7ecf3;border-radius:10px;padding:8px 12px;margin:4px 0 10px;animation:tsDrop .25s ease both;overflow:hidden}
@keyframes tsDrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.ji-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:7px;flex-shrink:0;vertical-align:middle}
.ji-job{display:flex;align-items:center}

/* ---- Requests review: full-screen overlay ---- */
#rr-ov{position:fixed;inset:0;z-index:900;background:#f3f4f1;display:flex;flex-direction:column;animation:rrUp .28s ease both}
@keyframes rrUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
.rr-top{display:flex;justify-content:space-between;align-items:center;padding:11px 18px;background:#fff;border-bottom:1px solid #e7e9e4;flex-shrink:0}
.rr-shell{flex:1;display:flex;min-height:0}
.rr-rail{width:292px;flex-shrink:0;background:#fff;border-right:1px solid #e7e9e4;display:flex;flex-direction:column;min-height:0}
.rr-tabs{display:flex;border-bottom:2px solid #eee;flex-shrink:0}
.rr-tabs button{flex:1;padding:11px 4px;border:none;background:none;font-weight:700;font-size:13px;color:#888;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px}
.rr-tabs button.on{color:var(--blue);border-bottom-color:var(--blue)}
.rr-rail>input{margin:10px 10px 6px;width:auto}
.rr-list{flex:1;overflow-y:auto;padding:0 8px 8px}
.rr-date{font-size:10.5px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#99a3b0;padding:10px 6px 4px}
.rr-item{display:flex;gap:9px;align-items:center;padding:8px 9px;border-radius:10px;cursor:pointer;border:1px solid transparent;transition:background .12s,border-color .12s}
.rr-item:hover{background:#f6f9fd}
.rr-item.sel{background:#eaf2fb;border-color:#bcd6f0}
.rr-ib{min-width:0;flex:1}
.rr-ib b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rr-ib small{font-size:11px;color:#888;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rr-tip{padding:9px 12px;border-top:1px solid #eee;font-size:11px;flex-shrink:0}
.rr-main{flex:1;min-width:0;overflow-y:auto;padding:18px 22px}
.rr-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.rr-who{display:flex;gap:11px;align-items:center}
.rr-bigav{width:44px;height:44px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex-shrink:0}
.rr-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:880px){.rr-cards{grid-template-columns:1fr}}
.rr-card{background:#fff;border:1px solid #e7e9e4;border-radius:12px;padding:14px;animation:rrCard .3s ease both}
.rr-card.d2{animation-delay:.08s}
@keyframes rrCard{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.rr-cardtag{display:inline-block;font-size:11px;font-weight:800;border-radius:14px;padding:3px 10px;margin-bottom:10px}
.rr-kv{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #f4f4f2;font-size:13px}
.rr-kv>span{color:#888}
.rr-kv b{display:flex;align-items:center;text-align:right}
.rr-note{font-size:12.5px;color:var(--red);font-style:italic;margin-top:8px}
.rr-ph{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.rr-ph img{width:54px;height:54px;object-fit:cover;border-radius:8px;background:#eee;border:1px solid #e5e5e0}
.rr-tl{background:#fff;border:1px solid #e7e9e4;border-radius:12px;padding:14px;margin-top:14px;animation:rrCard .3s ease both;animation-delay:.14s}
.rr-tlh{display:block;margin-bottom:6px;font-size:13.5px}
.rr-tlrow{display:grid;grid-template-columns:86px 1fr 118px;align-items:center;gap:10px;margin:7px 0}
.rr-tll{font-size:12px;color:#666;font-weight:600}
.rr-tlt{font-size:12px;text-align:right;font-weight:700;white-space:nowrap}
.rr-axis{position:relative;height:14px}
.rr-tick{position:absolute;font-size:10px;color:#a7b0bc;transform:translateX(-50%);white-space:nowrap}
.rr-track{position:relative;height:22px;background:#f4f6f9;border-radius:7px;overflow:hidden}
.rr-gl{position:absolute;top:0;bottom:0;width:1px;background:#e6ebf1}
.rr-bar{position:absolute;top:3px;bottom:3px;border-radius:6px;animation:rrGrow .5s ease both;transform-origin:left}
@keyframes rrGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.rr-empty{padding:22px 14px;text-align:center;color:#888;font-size:13px}

@media(max-width:720px){.rr-shell{flex-direction:column}.rr-rail{width:100%;max-height:38vh;border-right:none;border-bottom:1px solid #e7e9e4}}

/* ---- Shift editor: Connecteam-style right side panel ---- */
#sp-bg{position:fixed;inset:0;z-index:940;background:rgba(13,26,44,.44);display:none;opacity:0;transition:opacity .28s ease}
#sp-bg.open{opacity:1}
#sp{position:fixed;top:0;right:0;bottom:0;z-index:950;width:min(430px,96vw);background:#fff;
  display:none;flex-direction:column;box-shadow:-14px 0 44px rgba(8,20,40,.28);
  transform:translateX(103%);transition:transform .3s cubic-bezier(.22,.9,.32,1)}
#sp.open{transform:none}
.sp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  padding:15px 18px 12px;border-bottom:1px solid #ecefe9;flex-shrink:0}
.sp-ht b{display:block;font-size:16.5px}
.sp-ht small{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.sp-tag{font-style:normal;font-size:10.5px;font-weight:800;border-radius:12px;padding:2px 9px}
.sp-tag.live{background:#e7f4e3;color:#3c7a1e}.sp-tag.draft{background:#fdf2df;color:#8a5a00}
.sp-tag.new{background:#eaf2fb;color:var(--blue)}.sp-tag.ct{background:#eef0f3;color:#5a6b84;cursor:help}
.sp-x{border:none;background:#f2f3f0;border-radius:9px;width:30px;height:30px;font-size:14px;cursor:pointer;color:#555;flex-shrink:0;transition:background .15s}
.sp-x:hover{background:#e4e6e1}
.sp-body{flex:1;overflow-y:auto;padding:4px 18px 16px;min-height:0}
.sp-sec{padding:13px 0;border-bottom:1px solid #f1f2ee;animation:spSec .34s ease both}
.sp-sec:nth-child(2){animation-delay:.05s}.sp-sec:nth-child(3){animation-delay:.1s}.sp-sec:nth-child(4){animation-delay:.15s}
@keyframes spSec{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}
.sp-row{display:flex;gap:8px;align-items:center;margin:8px 0}
.sp-row label{font-size:10.5px;color:#889;text-transform:uppercase;letter-spacing:.4px;width:70px;flex-shrink:0;font-weight:700}
.sp-row textarea{flex:1;font:inherit;padding:7px 9px;border:1px solid #ddd;border-radius:8px;resize:vertical;min-height:38px}
.sp-row input[type=time]{max-width:108px}
.sp-row input[type=color]{width:34px;height:32px;padding:2px;flex-shrink:0;cursor:pointer}
.sp-dash{color:#aaa}
.sp-dur{display:flex;align-items:baseline;gap:7px;margin:2px 0 4px 78px}
.sp-dur b{font-size:20px;font-variant-numeric:tabular-nums;color:var(--blue)}
.sp-dur b.pulse{animation:spPulse .45s ease}
@keyframes spPulse{35%{transform:scale(1.22);color:var(--green)}}
.sp-dur span{font-size:11px;color:#888}
.sp-tz{margin-left:auto}
.sp-seclabel{font-size:10.5px;color:#889;text-transform:uppercase;letter-spacing:.4px;font-weight:700;margin-bottom:8px}
.sp-jobbtn{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #ddd;
  border-radius:8px;background:#fff;font:inherit;font-weight:600;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}
.sp-jobbtn:hover{border-color:var(--blue);box-shadow:0 1px 6px rgba(47,134,214,.18)}
.sp-jobname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-car{color:#999;font-size:11px}
.sp-dot{display:inline-block;width:11px;height:11px;border-radius:4px;flex-shrink:0;background:#9aa4af;vertical-align:middle;margin-right:2px}
.sp-pop{border:1px solid #e2e5e0;border-radius:10px;margin:6px 0;background:#fff;box-shadow:0 8px 22px rgba(10,25,45,.12);animation:spDrop .18s ease both;overflow:hidden}
@keyframes spDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.sp-pop>input{border:none;border-bottom:1px solid #eee;border-radius:0;padding:8px 11px}
.sp-popopts{max-height:200px;overflow-y:auto;padding:4px}
.sp-opt{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:8px;cursor:pointer;transition:background .12s}
.sp-opt:hover{background:#f2f7fd}
.sp-opt.sel{background:#eaf2fb}
.sp-optb{flex:1;min-width:0}
.sp-optb b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-optb small{font-size:11px;color:#889;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-check{color:var(--green);font-weight:800}
.sp-addr{font-size:12.5px;color:#556;margin:7px 0 2px 78px}
.sp-details{margin:6px 0 0 78px;font-size:12.5px}
.sp-details summary{cursor:pointer;color:var(--blue);font-weight:700;font-size:12px}
.sp-kv{padding:7px 0 0}
.sp-kv>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}
.sp-kv span{color:#889}.sp-kv b{display:flex;align-items:center;gap:5px;text-align:right}
.sp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.sp-chip{display:inline-flex;align-items:center;gap:6px;background:#f2f5f9;border:1px solid #e2e7ee;
  border-radius:20px;padding:3px 7px 3px 4px;font-size:12.5px;font-weight:600;animation:spPop .18s ease both}
@keyframes spPop{from{opacity:0;transform:scale(.75)}to{opacity:1;transform:scale(1)}}
.sp-chip .av{width:22px;height:22px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:9.5px;font-weight:800;flex-shrink:0}
.sp-chip button{border:none;background:transparent;color:#98a2ae;font-size:15px;cursor:pointer;padding:0 3px;line-height:1;border-radius:50%}
.sp-chip button:hover{color:var(--red)}
.sp-chip.clash{border-color:#e67e22;background:#fdf3e7}
.sp-chip.off{border-color:#e5b5b0;background:#fdefed}
.sp-chip.tag{padding:3px 10px;background:#fdf6e3;border-color:#eadfb9;color:#7a5a00}
.sp-resp{font-style:normal;font-weight:800;font-size:11px;cursor:help}
.sp-resp.ok{color:var(--green)}.sp-resp.no{color:var(--red)}
.sp-openb{background:#fdf6e3;border:1.5px dashed #d9b44a;color:#7a5a00;border-radius:10px;
  padding:9px 12px;font-size:12.5px;margin:4px 0 8px;animation:spPop .2s ease both}
.sp-addu{border:1.5px dashed #c6cdd6;background:#fff;color:var(--blue);font-weight:700;font-size:12.5px;
  border-radius:20px;padding:6px 14px;cursor:pointer;transition:border-color .15s,background .15s}
.sp-addu:hover{border-color:var(--blue);background:#f4f9ff}
.sp-foot{display:flex;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid #ecefe9;
  background:#fbfbf9;flex-shrink:0}
.sp-ico{border:1px solid #ddd;background:#fff;border-radius:9px;width:36px;height:36px;font-size:15px;cursor:pointer;transition:border-color .15s,background .15s}
.sp-ico:hover{border-color:var(--red);background:#fdf1ef}
.sp-ico.sm{width:30px;height:30px;font-size:13px}
#sp-msg.shake{animation:spShake .35s ease}
@keyframes spShake{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
@media print{#sp,#sp-bg{display:none!important}}

/* ---- Updates: full-screen wizard (Create → Preview → Publish) ---- */
#uw-ov{position:fixed;inset:0;z-index:900;background:#f3f4f1;display:flex;flex-direction:column;animation:rrUp .28s ease both}
.uw-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 18px;
  background:#fff;border-bottom:1px solid #e7e9e4;flex-shrink:0;flex-wrap:wrap}
.uw-steps{display:flex;align-items:center;gap:8px}
.uw-step{display:flex;align-items:center;gap:7px;border:none;background:none;cursor:pointer;
  font-size:13px;font-weight:700;color:#98a2ae;padding:4px 2px;transition:color .15s}
.uw-step .uw-stepn{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#e8ebf0;color:#7c8698;font-size:11px;font-weight:800;transition:background .2s,color .2s,box-shadow .2s}
.uw-step.on{color:var(--ink)}
.uw-step.on .uw-stepn{background:var(--blue);color:#fff;box-shadow:0 0 0 4px rgba(47,134,214,.16)}
.uw-step.done{color:#3f7d1e}
.uw-step.done .uw-stepn{background:var(--green);color:#fff}
.uw-stepline{width:26px;height:2px;border-radius:2px;background:#dfe3ea}
.uw-shell{flex:1;display:flex;gap:22px;min-height:0;overflow-y:auto;padding:20px 24px;justify-content:center}
.uw-left{flex:1;max-width:560px;min-width:0}
.uw-lbl{display:flex;justify-content:space-between;font-size:11px;color:#889;text-transform:uppercase;
  letter-spacing:.4px;font-weight:700;margin:0 0 5px}
.uw-toolbar{display:flex;gap:5px;margin:0 0 6px;position:relative}
.uw-toolbar>button{border:1px solid #d6dce6;background:#fff;border-radius:8px;min-width:32px;height:30px;
  font-size:13px;cursor:pointer;transition:border-color .15s,background .15s;padding:0 8px}
.uw-toolbar>button:hover{border-color:var(--blue);background:#f4f9ff}
.uw-emojipop{position:absolute;top:34px;left:0;z-index:5;background:#fff;border:1px solid #e2e5e0;border-radius:10px;
  box-shadow:0 8px 22px rgba(10,25,45,.14);padding:6px;display:flex;flex-wrap:wrap;gap:2px;width:216px;animation:spDrop .18s ease both}
.uw-emojipop button{border:none;background:none;font-size:18px;cursor:pointer;border-radius:7px;padding:4px 6px}
.uw-emojipop button:hover{background:#eef4fb}
#uw-body{width:100%;min-height:180px;font:13.5px/1.55 -apple-system,'Segoe UI',Arial,sans-serif;
  border:1px solid #d6dce6;border-radius:10px;padding:10px;resize:vertical}
#uw-body:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,134,214,.14)}
.uw-themes{display:flex;gap:9px;flex-wrap:wrap}
.uw-theme{position:relative;width:58px;height:40px;border-radius:10px;border:2px solid transparent;cursor:pointer;
  display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(16,24,40,.14);
  transition:transform .13s,box-shadow .15s,border-color .15s}
.uw-theme:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(16,24,40,.2)}
.uw-theme.on{border-color:var(--ink);box-shadow:0 0 0 3px rgba(47,134,214,.25)}
.uw-thcheck{position:absolute;right:-5px;top:-7px;background:var(--green);color:#fff;border-radius:50%;
  width:18px;height:18px;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;
  box-shadow:0 1px 3px rgba(0,0,0,.3)}
.uw-right{flex-shrink:0;width:300px}
.uw-phone{width:280px;margin:0 auto;background:#0d1420;border-radius:38px;padding:10px;box-shadow:var(--e3);position:relative}
.uw-notch{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:86px;height:16px;background:#0d1420;border-radius:10px;z-index:2}
.uw-screen{background:#f2f4f7;border-radius:29px;min-height:430px;overflow:hidden;padding-bottom:16px}
.uw-appbar{background:#fff;padding:26px 14px 10px;font-weight:800;font-size:13.5px;border-bottom:1px solid #e8ebf0}
.uw-card{background:#fff;border-radius:14px;margin:12px 10px 0;overflow:hidden;box-shadow:0 1px 4px rgba(16,24,40,.09)}
.uw-banner{height:54px;transition:background .25s,height .25s}
.uw-cardbody{padding:11px 13px 12px}
.uw-cardbody>b{font-size:14px;display:block;margin-bottom:5px;overflow-wrap:break-word}
.uw-prevtext{font-size:12px;line-height:1.55;color:#3c4453;white-space:pre-wrap;overflow-wrap:break-word;max-height:220px;overflow-y:auto}
.uw-engage{display:flex;gap:14px;font-size:11px;color:#8892a2;font-weight:700;border-top:1px solid #f0f2f5;margin-top:10px;padding-top:9px}
.uw-dot{display:inline-block;width:14px;height:14px;border-radius:5px;vertical-align:middle;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
@media(max-width:860px){.uw-right{display:none}}

/* ---- Submissions: manager review fields ---- */
.rvw-cell{white-space:nowrap}
.rvw-note{width:150px;max-width:150px;font-size:12px;padding:5px 7px;margin-right:5px}
.rvw-status{width:auto;font-size:12px;padding:5px 6px}
.rvw-note.big{width:100%;max-width:none;font-size:13px;margin:0 0 7px}
.rvw-status.big{font-size:13px}
.rvw-cell.big{white-space:normal}
.rvw-tick{font-size:11px;margin-left:6px;font-weight:700;color:#98a2ae}
.rvw-tick.ok{color:var(--green)}
.rvw-tick.err{color:var(--red)}

/* ---- User profile ---- */
.up-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.up-bigav{width:56px;height:56px;font-size:19px}
.up-hbody{flex:1;min-width:140px}
.up-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:4px 22px;margin-top:14px;
  border-top:1px solid #f1f3f6;padding-top:10px}
.up-kv{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid #f6f7f9;font-size:13px}
.up-kv>span{color:#889}
.up-kv b{text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}

/* ---- Recognitions: badge library ---- */
.bdg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:9px}
.bdg{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 8px 11px;
  background:#fff;border:1.5px solid var(--hair,#e3e7ee);border-radius:12px;cursor:pointer;font:inherit;
  font-size:12.5px;transition:transform .14s,box-shadow .17s,border-color .17s,background .17s}
.bdg:hover{transform:translateY(-2px);border-color:#bcd6f0;box-shadow:0 7px 16px rgba(47,134,214,.14)}
.bdg:active{transform:scale(.96)}
.bdg.on{border-color:var(--blue);background:linear-gradient(180deg,#f3f9ff,#eaf3fc);box-shadow:0 4px 14px rgba(47,134,214,.2)}
.bdg .bdg-ic{width:42px;height:42px;border-radius:50%;font-size:22px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#eaf2fb,#eef7e6);box-shadow:inset 0 0 0 1px rgba(47,134,214,.14)}
.bdg.on .bdg-ic{background:linear-gradient(135deg,#2F86D6,#6FB23B);box-shadow:0 3px 9px rgba(47,134,214,.35)}
.bdg-check{position:absolute;top:-7px;right:-6px;background:var(--green);color:#fff;border-radius:50%;width:20px;height:20px;
  font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.25);animation:spPop .18s ease both}
.bdg-chip{display:inline-flex;align-items:center;gap:5px;background:#fdf6e3;border:1px solid #eadfb9;color:#7a5a00;
  border-radius:20px;padding:3px 10px;font-size:12px;font-weight:700;white-space:nowrap}

/* ---- Rewards: catalog tile preview (mirrors the cleaner-app reward tile) ---- */
.rw-tile{display:inline-flex;align-items:center;gap:9px;background:linear-gradient(180deg,#fff,#f7fafd);
  border:1px solid #e2e7ee;border-radius:12px;padding:7px 12px;padding-inline-start:8px;min-width:150px;
  box-shadow:0 1px 3px rgba(16,24,40,.07)}
.rw-tile .rw-ic{width:34px;height:34px;border-radius:9px;font-size:19px;display:flex;align-items:center;
  justify-content:center;background:linear-gradient(135deg,#eaf2fb,#eef7e6);flex-shrink:0}
.rw-tile .rw-tb b{display:block;font-size:12.5px;line-height:1.2}
.rw-tile .rw-tb small{font-size:11px;color:#889}

/* ---- Events: expandable RSVP panel ---- */
.ev-panel{display:flex;flex-direction:column;gap:8px}
.ev-grp>b{font-size:12px;display:block;margin-bottom:4px}
.ev-chips{display:flex;flex-wrap:wrap;gap:6px}
.ev-chip{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid #e2e7ee;border-radius:20px;
  padding:2px 9px 2px 3px;font-size:12px;font-weight:600;animation:spPop .18s ease both}

/* ═══════════════ 2026 VIVID GRADIENT PASS — same design language as the cleaner app ═══════════════
   Shared 8-hue gradient system (#g-* paint-servers live after <body> in index.html):
   vivid gradient squircle tiles w/ white duotone-weight icons, gradient nav pills w/ glow,
   gradient numerals, colorful empty states. Pure overrides layered on the shell above —
   handlers, tab()/loaders, drag-drop scheduler and the motion system are untouched. */

/* ---- inline SVG icon sizing (ico() emits svg.ic + a size class) ---- */
svg.ic{display:inline-block;flex:none;vertical-align:middle}
.ic--xs{width:14px;height:14px}
.ic--sm{width:18px;height:18px}
.ic--md{width:19px;height:19px}
.ic--xl{width:26px;height:26px}

/* ---- vivid gradient icon tile (gtile) — squircle, white glyph, soft hue glow.
   Hue rules are double-classed so they out-rank the older .qa .qic flat gradient. ---- */
.gtile{width:30px;height:30px;flex:none;border-radius:10px;display:inline-grid;place-items:center;color:#fff}
.gtile.gtile--blue  {background:linear-gradient(135deg,#4AA3E8,#1F5FA8);box-shadow:0 4px 10px rgba(47,134,214,.35)}
.gtile.gtile--green {background:linear-gradient(135deg,#7CC24A,#4E9A2A);box-shadow:0 4px 10px rgba(78,154,42,.32)}
.gtile.gtile--sky   {background:linear-gradient(135deg,#5BC8F5,#2F86D6);box-shadow:0 4px 10px rgba(47,134,214,.32)}
.gtile.gtile--amber {background:linear-gradient(135deg,#FFC24B,#E8890C);box-shadow:0 4px 10px rgba(232,137,12,.32)}
.gtile.gtile--pink  {background:linear-gradient(135deg,#FF8FB1,#E84393);box-shadow:0 4px 10px rgba(232,67,147,.32)}
.gtile.gtile--violet{background:linear-gradient(135deg,#A78BFA,#6D4ACF);box-shadow:0 4px 10px rgba(109,74,207,.32)}
.gtile.gtile--teal  {background:linear-gradient(135deg,#4FD1C5,#0E9488);box-shadow:0 4px 10px rgba(14,148,136,.32)}
.gtile.gtile--slate {background:linear-gradient(135deg,#94A3B8,#475569);box-shadow:0 4px 10px rgba(71,85,105,.28)}
.gtile.gtile--red   {background:linear-gradient(135deg,#F87171,#C0392B);box-shadow:0 4px 10px rgba(192,57,43,.32)}

/* ---- gradient-stroke utilities — CSS stroke:url(#g-*) for icons drawn in a hue ---- */
.ic--g-blue{stroke:url(#g-blue)}   .ic--g-green{stroke:url(#g-green)} .ic--g-sky{stroke:url(#g-sky)}
.ic--g-amber{stroke:url(#g-amber)} .ic--g-pink{stroke:url(#g-pink)}   .ic--g-violet{stroke:url(#g-violet)}
.ic--g-teal{stroke:url(#g-teal)}   .ic--g-slate{stroke:url(#g-slate)}

/* ---- SIDEBAR — the headline: per-section hue tiles + gradient active pill w/ glow ----
   Rows a touch taller (44px), 14px semibold labels. Inactive: vivid 26px tile on the navy
   rail. Active: the whole row becomes a gradient pill in its own hue (light stops darkened
   so the white 14px label stays ≥4.5:1 AA); the tile frosts to white-on-glass. */
.side-nav .navbtn{min-height:38px;font-size:14px;font-weight:600;gap:11px}
.side-nav .navbtn .nav-tile,.side-foot .navbtn .nav-tile{width:26px;height:26px;border-radius:9px;
  display:inline-grid;place-items:center;flex:none;font-size:0;text-align:center}
.side-nav .navbtn .nav-tile .ic,.side-foot .navbtn .nav-tile .ic{width:15px;height:15px}
.side-foot .navbtn{min-height:36px}
.side-nav .navbtn.on{color:#fff;transform:none}
.side-nav .navbtn.on::before{background:rgba(255,255,255,.85)}
.side-nav .navbtn.on .nav-tile{background:rgba(255,255,255,.20);box-shadow:none}
.side-nav .navbtn.on[data-hue="blue"]  {background:linear-gradient(135deg,#2B72B8,#1F5FA8);box-shadow:0 4px 14px rgba(47,134,214,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="violet"]{background:linear-gradient(135deg,#7C5CD6,#5335B8);box-shadow:0 4px 14px rgba(109,74,207,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="green"] {background:linear-gradient(135deg,#457F21,#2F5A12);box-shadow:0 4px 14px rgba(78,154,42,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="amber"] {background:linear-gradient(135deg,#A26305,#8A5200);box-shadow:0 4px 14px rgba(232,137,12,.42),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="pink"]  {background:linear-gradient(135deg,#D62F86,#B21D6C);box-shadow:0 4px 14px rgba(232,67,147,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="teal"]  {background:linear-gradient(135deg,#0D8578,#0A6B60);box-shadow:0 4px 14px rgba(14,148,136,.45),inset 0 1px 0 rgba(255,255,255,.16)}
.side-nav .navbtn.on[data-hue="sky"]   {background:linear-gradient(135deg,#2777C2,#1F5FA8);box-shadow:0 4px 14px rgba(47,134,214,.45),inset 0 1px 0 rgba(255,255,255,.16)}
/* Requests badge: red pill on the navy rail; flips to white-on-hue when its row is active.
   The ping pulse keeps working — only colors moved. */
.side-nav .navbtn.on[data-hue="pink"] .badge{background:#fff;color:#B21D6C}
/* Submissions "needs review — held from bonus" badge — same flip on the amber row */
.side-nav .navbtn.on[data-hue="amber"] .badge{background:#fff;color:#8A5200}

/* ---- section headers: matching gtile before the H1 / card title — instant orientation ---- */
.page-head h1{display:flex;align-items:center;gap:10px}
.page-head h1 .gtile{width:32px;height:32px;border-radius:11px}
.sec-title{display:inline-flex;align-items:center;gap:8px}
.sec-title .gtile{width:26px;height:26px;border-radius:9px}
.sec-title .gtile .ic{width:15px;height:15px}

/* ---- Dashboard quick actions: vivid gradient squircles + white icons ---- */
.qa .qic{border-radius:12px}
.qa .qic .ic{width:20px;height:20px}

/* ---- "Needs your attention": small hue tile per request kind ---- */
.attn-row .gtile{width:24px;height:24px;border-radius:8px}
.attn-row .gtile .ic{width:14px;height:14px}

/* ---- gradient numerals — blue→green ink (background-clip:text). Both stops ≥3:1 on
   white and every host numeral is ≥18px bold (AA large); plain --blue doubles as the
   fallback where background-clip:text is unsupported. ---- */
.grad-num{color:var(--blue,#2F86D6);background:linear-gradient(115deg,#2F86D6 30%,#4E9A2A);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#dash-kpis .topbar b{font-size:15.5px}

/* ---- Requests page rows + review-rail: kind tiles ---- */
.req .gtile{width:28px;height:28px;border-radius:9px}
.req .gtile .ic{width:16px;height:16px}
.rr-item .gtile{width:20px;height:20px;border-radius:7px}
.rr-item .gtile .ic{width:12px;height:12px}

/* ---- Timesheets: "Open" buttons → g-blue gradient fill, white text.
   Lightest stop #2B72B8 = 5.0:1 vs white → AA at 12.5px/700. ---- */
.ts-openbtn{border:none;background:linear-gradient(135deg,#2B72B8,#1F5FA8);color:#fff;
  box-shadow:0 3px 8px rgba(31,95,168,.28)}
.ts-openbtn:hover{background:linear-gradient(135deg,#2B72B8,#1F5FA8);color:#fff;filter:brightness(1.07)}
.ts-openbtn.on{background:linear-gradient(135deg,#1C4F8A,#153A66);color:#fff;filter:none}

/* ---- colorful empty states — the icon sits on a vivid tile, not a gray box ---- */
.empty-ic{color:#fff}
.empty-ic--sky   {background:linear-gradient(135deg,#5BC8F5,#2F86D6);box-shadow:0 6px 14px rgba(47,134,214,.30)}
.empty-ic--green {background:linear-gradient(135deg,#7CC24A,#4E9A2A);box-shadow:0 6px 14px rgba(78,154,42,.28)}
.empty-ic--amber {background:linear-gradient(135deg,#FFC24B,#E8890C);box-shadow:0 6px 14px rgba(232,137,12,.28)}
.empty-ic--violet{background:linear-gradient(135deg,#A78BFA,#6D4ACF);box-shadow:0 6px 14px rgba(109,74,207,.28)}
.empty-ic--teal  {background:linear-gradient(135deg,#4FD1C5,#0E9488);box-shadow:0 6px 14px rgba(14,148,136,.28)}
.empty-ic--slate {background:linear-gradient(135deg,#94A3B8,#475569);box-shadow:0 6px 14px rgba(71,85,105,.25)}
.empty-ic .ic--xl{width:26px;height:26px}

/* ═══════════════ 2026 POWER-TOOLS PASS — ⌘K palette · Live mode · print report ·
   photo lightbox · bulk schedule. All animations are transform/opacity only and the
   global prefers-reduced-motion guard at the bottom of this file neutralises them. ═══════════════ */

/* ---- ⌘K command palette ---- */
#ck-ov{position:fixed;inset:0;z-index:990;background:rgba(10,22,40,.45);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  display:flex;align-items:flex-start;justify-content:center;padding:11vh 16px 16px;animation:ckBg .16s ease both}
@keyframes ckBg{from{opacity:0}}
.ck-panel{width:min(580px,100%);background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:var(--e3,0 22px 48px rgba(16,24,40,.3));animation:ckIn .18s cubic-bezier(.2,.8,.3,1) both}
@keyframes ckIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
#ck-in{width:100%;border:none;border-bottom:1px solid var(--hair,#e3e7ee);border-radius:0;
  font-size:17px;padding:15px 18px;min-height:52px}
#ck-in:focus{box-shadow:none;border-color:var(--blue,#2F86D6)}
.ck-list{max-height:min(52vh,430px);overflow-y:auto;padding:6px}
.ck-it{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;cursor:pointer;
  min-height:42px;font-size:14px}
.ck-it.sel{background:#eaf2fb;box-shadow:inset 0 0 0 1px #bcd6f0}
.ck-lab{flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ck-kind{flex-shrink:0;font-size:10.5px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;
  color:#5a6b84;background:#eef2f7;border-radius:12px;padding:2px 8px}
.ck-rec{flex-shrink:0;font-size:10px;font-weight:700;color:#7a5a00;background:#fdf6e3;border-radius:10px;padding:2px 7px}
.ck-empty{padding:18px;text-align:center}
.ck-foot{padding:8px 14px;border-top:1px solid #f1f3f6;font-size:11px}
/* sidebar-foot hint chip */
.side-foot .ck-hintchip{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;
  margin:0 0 3px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);
  color:#9fb2c9;border-radius:9px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;
  text-align:start;transition:background .15s,color .15s}
.side-foot .ck-hintchip:hover{background:rgba(255,255,255,.1);color:#fff}
.side-foot .ck-hintchip kbd{font:inherit;font-weight:800;font-size:11px;letter-spacing:.5px;
  background:rgba(255,255,255,.12);border-radius:6px;padding:2px 7px}

/* ---- Live mode chip (dashboard header) + quiet-refresh feedback ---- */
.live-chip{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 13px;
  border:1px solid #cfe6d6;background:#f0f9f2;color:#1e6b38;font:inherit;font-size:12px;font-weight:800;
  border-radius:20px;cursor:pointer;transition:box-shadow .15s,border-color .15s,background .15s}
.live-chip:hover{border-color:#9fd0af;box-shadow:0 2px 8px rgba(39,174,96,.2)}
.live-chip .live-dot{position:relative;width:8px;height:8px;border-radius:50%;background:#1e8a4c;flex-shrink:0}
.live-chip .live-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;
  border:2px solid rgba(39,174,96,.55);animation:livePing 2s ease-out infinite}
@keyframes livePing{0%{transform:scale(.5);opacity:1}80%,100%{transform:scale(1.15);opacity:0}}
.live-cap{font-weight:600;font-size:11px;color:#4b7d5e}
.live-chip.off{border-color:#d8dde5;background:#f1f3f6;color:#5a6b84}
.live-chip.off .live-dot{background:#98a2ae}
.live-chip.off .live-dot::after{animation:none;opacity:0}
.live-chip.off .live-cap{color:#8892a2}
.who-new{animation:whoNew .9s cubic-bezier(.2,.7,.3,1) both}
@keyframes whoNew{0%{opacity:0;transform:translateY(6px) scale(.97)}55%{opacity:1;transform:scale(1.015)}100%{opacity:1;transform:none}}
.attn-row .ac.chg{animation:acPop .55s cubic-bezier(.2,.8,.3,1.2)}
@keyframes acPop{35%{transform:scale(1.3)}}

/* ---- Submissions lightbox + compare ---- */
#lb-ov{position:fixed;inset:0;z-index:980;background:rgba(6,12,22,.9);display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:18px;animation:ckBg .18s ease both}
.lb-stage{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.lb-img{max-width:min(92vw,1100px);max-height:72vh;border-radius:12px;background:#101722;
  transition:transform .18s ease;touch-action:none;user-select:none;-webkit-user-select:none}
.lb-cmp{display:flex;gap:16px;max-width:96vw;flex-wrap:wrap;justify-content:center}
.lb-cmp figure{margin:0;display:flex;flex-direction:column;gap:6px;max-width:min(46vw,540px)}
.lb-cmp figcaption{color:#cfe0f2;font-size:12.5px;font-weight:700}
.lb-cmp img{width:100%;max-height:62vh;object-fit:contain;border-radius:10px;background:#101722}
.lb-x{position:fixed;top:14px;inset-inline-end:14px;z-index:2;width:44px;height:44px;border:none;
  border-radius:12px;background:rgba(255,255,255,.14);color:#fff;font-size:17px;cursor:pointer;transition:background .15s}
.lb-x:hover{background:rgba(255,255,255,.28)}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:64px;border:none;
  border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-size:26px;cursor:pointer;transition:background .15s}
.lb-prev{inset-inline-start:12px}
.lb-next{inset-inline-end:12px}
.lb-nav:hover{background:rgba(255,255,255,.26)}
.lb-cap{flex-shrink:0;color:#fff;font-size:13.5px;text-align:center;max-width:min(92vw,760px);padding-top:10px}
.lb-cap .muted{color:#93a5bb}
.lb-note{font-size:12px;color:#c9d6e5;margin-top:4px}
.lb-caprow{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;flex-wrap:wrap}
@media(max-width:720px){.lb-cmp figure{max-width:88vw}.lb-cmp img{max-height:36vh}}

/* ---- Bulk schedule: selection ticks, floating action bar, per-day ⋯ menu ---- */
.blk.selmode{cursor:pointer;padding-inline-start:26px}
.blk.selmode .flag{display:none}
.blk.bsel{outline:2.5px solid var(--blue,#2F86D6);outline-offset:1px}
.blk-ck{position:absolute;top:4px;inset-inline-start:4px;width:18px;height:18px;border-radius:6px;
  background:rgba(255,255,255,.94);box-shadow:inset 0 0 0 1.5px #7c8698;color:#fff;font-size:12px;
  font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center}
.blk-ck.on{background:var(--blue,#2F86D6);box-shadow:inset 0 0 0 1.5px #fff}
#bulkbar{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:860;max-width:94vw;
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#12233a;color:#fff;
  border-radius:14px;padding:10px 16px;box-shadow:0 12px 34px rgba(8,20,40,.42);
  animation:bulkUp .22s cubic-bezier(.2,.8,.3,1) both}
@keyframes bulkUp{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
#bulkbar b{font-size:13.5px;font-variant-numeric:tabular-nums}
#bulkbar #bulk-status{font-size:12px;color:#9fb2c9}
#bulkbar .btn:disabled{opacity:.45;cursor:default}
.sg-more{border:none;background:transparent;color:inherit;opacity:.55;font-size:14px;font-weight:800;
  cursor:pointer;border-radius:7px;padding:2px 6px;min-width:28px;min-height:26px;
  margin-inline-start:2px;vertical-align:middle;transition:opacity .13s,background .13s}
.sg-more:hover{opacity:1;background:rgba(0,0,0,.08)}
.sg-head.today .sg-more:hover{background:rgba(255,255,255,.22)}
#daymenu{position:fixed;z-index:870;min-width:224px;background:#fff;border:1px solid var(--hair,#e3e7ee);
  border-radius:12px;padding:8px;box-shadow:var(--e3,0 12px 30px rgba(16,24,40,.2));animation:ckIn .16s ease both}
#daymenu b{display:block;font-size:12px;color:#5a6b84;padding:4px 8px 8px}
#daymenu .dm-it{display:block;width:100%;min-height:40px;text-align:start;border:none;background:none;
  font:inherit;font-size:13px;font-weight:600;padding:10px;border-radius:8px;cursor:pointer;transition:background .13s}
#daymenu .dm-it:hover{background:#f2f7fd}

/* ---- Branded print report — hidden on screen, the ONLY thing on paper ---- */
#print-report{display:none}
@media print{
  @page{size:A4;margin:14mm}
  body.printing{background:#fff!important;padding:0!important}
  body.printing>*:not(#print-report){display:none!important}
  body.printing #print-report{display:block!important;color:#1d1d1f;
    font:12px/1.5 -apple-system,'Segoe UI',Arial,sans-serif}
  .pr-head{display:flex;align-items:center;gap:14px;border-bottom:3px solid #2F86D6;
    padding-bottom:10px;margin-bottom:14px}
  .pr-head img{width:52px;height:52px;object-fit:contain}
  .pr-head h1{font-size:19px;margin:0;color:#2F86D6}
  .pr-sub{font-size:12px;color:#3c4453;font-weight:700}
  .pr-meta{margin-inline-start:auto;text-align:end;font-size:10.5px;color:#555}
  .pr-tot{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 14px}
  .pr-tot b{display:block;font-size:17px}
  .pr-tot span{font-size:9.5px;color:#555;text-transform:uppercase;letter-spacing:.4px}
  #print-report h2{font-size:13px;margin:16px 0 6px;color:#1F5FA8;
    border-inline-start:4px solid #6FB23B;padding-inline-start:8px}
  #print-report table{width:100%;border-collapse:collapse;font-size:10.5px}
  #print-report thead{display:table-header-group}
  #print-report th{text-align:start;background:#eef4fb;color:#1F5FA8;padding:5px 7px;
    border-bottom:1px solid #c9d9ec;text-transform:none;letter-spacing:0;font-size:10.5px}
  #print-report td{padding:4px 7px;border-bottom:1px solid #e8ecf2;vertical-align:top}
  #print-report tr{page-break-inside:avoid}
  .pr-sumrow td{font-weight:800;border-top:2px solid #2F86D6}
  .pr-q{font-size:11px}
  .pr-foot{margin-top:18px;border-top:1px solid #ccc;padding-top:6px;font-size:9.5px;color:#666}
}

/* Submissions: zone chip — the dossier zone the cleaner picked in the guided photo flow.
   Outline style (vs the solid grade pills) so a zone reads as a label, not a verdict. */
.zonechip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;
 color:#1d5c99;background:#eaf3fc;border:1px solid #b9d6f0;white-space:nowrap;max-width:220px;
 overflow:hidden;text-overflow:ellipsis;vertical-align:middle}

/* ═══════════════ KEYS — physical key custody (teal). The conflicts card is the hero:
   teal frame while clear, flips to a warm amber-framed alert when tomorrow's rota and the
   registry disagree. Logical properties throughout; all motion is transform/opacity and
   dies under the global prefers-reduced-motion guard below. ═══════════════ */
.rail-t{border-inline-start:3px solid #0E9488}
.kc-hero{position:relative;overflow:hidden;border:1px solid #bfe5df;background:linear-gradient(180deg,#f2fbf9,#fff 70%)}
.kc-hero::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,#4FD1C5,#0E9488)}
.kc-hero.kc-ok{border-color:#cbe7cf;background:linear-gradient(180deg,#f3faf1,#fff 70%)}
.kc-hero.kc-ok::before{background:linear-gradient(180deg,#7CC24A,#4E9A2A)}
.kc-hero.kc-bad{border-color:#f0d09c;background:linear-gradient(180deg,#fff9ee,#fff 78%);
  box-shadow:0 6px 18px rgba(232,137,12,.12)}
.kc-hero.kc-bad::before{background:linear-gradient(180deg,#FFC24B,#E8890C)}
.kc-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.kc-head b{font-size:15.5px}
.kc-zero{display:flex;align-items:center;gap:11px;padding:2px 0;font-size:13.5px}
.kc-row{display:flex;align-items:center;gap:11px;padding:10px 12px;margin-bottom:7px;cursor:pointer;
  background:#fffdf7;border:1px solid #f0d9ab;border-radius:10px;
  animation:viewIn .28s cubic-bezier(.2,.7,.3,1) backwards;
  transition:transform .13s,box-shadow .16s,border-color .16s}
.kc-row:nth-child(3){animation-delay:40ms}.kc-row:nth-child(4){animation-delay:80ms}.kc-row:nth-child(n+5){animation-delay:120ms}
.kc-row:hover{transform:translateY(-1px);border-color:#e2b563;box-shadow:0 5px 14px rgba(163,102,5,.14)}
.kc-row:focus-visible{outline:2px solid #0E9488;outline-offset:2px}
.kc-row .kct{flex:1;min-width:0;font-size:13.5px;color:#4a3a12}
.kc-row .kct b{color:var(--ink,#1d1d1f)}
/* holder cell: the office reads distinct from a person */
.holder-office{display:inline-flex;align-items:center;gap:5px;background:#eef2f7;border:1px solid #d5deea;
  color:#3c4a5e;border-radius:20px;padding:2px 9px;font-size:12px;font-weight:800;white-space:nowrap}
.key-hsel{width:auto;max-width:172px;font-size:12.5px;padding:5px 7px}
.key-hsel.off{background:#f4f7fb;font-weight:700;color:#3c4a5e}
/* chain (custody history) expander */
.key-chainbtn{border:1px solid #d6dce6;background:#fff;border-radius:8px;min-height:28px;padding:4px 9px;
  font:inherit;font-size:12px;font-weight:800;color:#3c4a5e;cursor:pointer;white-space:nowrap;
  transition:border-color .15s,background .15s,color .15s}
.key-chainbtn:hover{border-color:#0E9488;background:#f2fbf9}
.key-chainbtn[aria-expanded="true"]{background:#0A6B60;border-color:#0A6B60;color:#fff} /* 6.9:1 on white text — AA at 12px */
.key-chainrow td{background:#f6fbfa;border-bottom:1px solid #ddeeea;padding:10px 14px}
.key-ev{display:flex;gap:10px;align-items:baseline;font-size:12.5px;padding:3px 0}
.key-ev .kev{font-weight:800;min-width:92px;color:#0A6B60}
/* conflict row highlight in the registry + jump flash from the hero card */
tr.key-conf>td{background:#fffbf2}
@keyframes keyFlash{0%,60%{background:#fdf3da}100%{background:transparent}}
tr.key-flash>td{animation:keyFlash 1.6s ease both}
/* + Add key inline row */
.key-add{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-bottom:10px;padding:10px 12px;
  border:1.5px dashed #9fd3cb;background:#f2fbf9;border-radius:10px;animation:spDrop .18s ease both}
.key-add select,.key-add input{width:auto;min-width:150px;max-width:230px}

@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.001s!important;animation-delay:0s!important;
  animation-iteration-count:1!important;transition-duration:.001s!important}
 #dash-engage .eg-line{stroke-dasharray:none;stroke-dashoffset:0}
 #dash-engage .eg-area{opacity:1}
}

/* ── cross-links (names/sites/dates that jump to their detail view) ── */
.xlink{cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}
.xlink:hover{color:var(--blue,#2F86D6)}
@keyframes xflash{0%{box-shadow:0 0 0 3px rgba(47,134,214,.85)}100%{box-shadow:0 0 0 3px rgba(47,134,214,0)}}
.xflash{animation:xflash 1.2s ease-out 2}

/* ══ MONDAY GO-LIVE SCREEN FIXES (12 Nov 2026) ══ */
/* ---- the question sheet (askSheet): confirms, notes to a cleaner, the hours forms ---- */
dialog.sheet{width:min(470px,94vw);padding:18px;overflow:auto;
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
dialog.sheet h3{margin:0 0 10px;font-size:17px;line-height:1.3;outline:none}
#ask-body p{margin:0 0 8px;font-size:14px;line-height:1.45}
#ask-body p.big{font-size:15px;font-weight:700}
#ask-body .sheet-list{margin:4px 0 10px;padding:8px 10px;border:1px solid var(--hair,#e3e7ee);border-radius:10px;
  font-size:13px;line-height:1.5;max-height:170px;overflow:auto;background:rgba(127,150,180,.07)}
#ask-body .sheet-warn{margin:4px 0 10px;padding:9px 11px;border-radius:10px;font-size:13px;line-height:1.45;
  background:rgba(245,166,35,.14);border:1px solid rgba(245,166,35,.5)}
.sheet-row{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px}
.sheet-row>label{width:96px;flex-shrink:0;padding-top:9px;font-size:12.5px;font-weight:700;color:var(--ink-2,#4a5560)}
.sheet-f{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.sheet-f input[type=time],.sheet-f input[type=date]{width:auto;max-width:190px}
.sheet-f small{font-size:12px}
.sheet-lbl{display:block;font-size:12.5px;font-weight:700;color:var(--ink-2,#4a5560);margin:10px 0 4px}
dialog.sheet textarea{width:100%;font:inherit;font-size:14px;padding:9px 11px;border:1px solid #d6dce6;border-radius:10px;resize:vertical;
  background:var(--surface,#fff);color:inherit}
.sheet-check{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer;padding:6px 0}
.sheet-check input{width:auto}
.sheet-btns{justify-content:flex-end;margin-top:14px;gap:8px}
.sheet-btns .btn{min-height:40px}
.sheet-btns .btn.danger{background:var(--red,#c0392b);color:#fff}
#ask-msg:empty{display:none}
#ask-msg{margin:10px 0 0}
@media(max-width:520px){
  .sheet-row{flex-direction:column;align-items:stretch;gap:3px}
  .sheet-row>label{width:auto;padding-top:0}
  .sheet-btns .btn{flex:1 1 auto}
}
/* the Select bar clears the iPhone home bar now that it sits on the screen, not in the card */
#bulkbar{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
/* icon + word buttons (Refresh…): the page's own icon helper, never an emoji */
.btn .ic{margin-inline-end:5px;margin-top:-2px}
/* ---- Requests: "For your information" (nothing to decide) folds away under what needs an answer ---- */
.req-info{margin-top:8px;border-top:1px dashed var(--hair,#e3e7ee);padding-top:10px}
.req-info>summary{cursor:pointer;font-weight:700;font-size:13.5px;padding:6px 2px}
.req-info[open]>summary{margin-bottom:10px}
@media(max-width:720px){
  .req{flex-wrap:wrap}
  .req .rb{flex:1 1 200px}
  .req .rx{flex-wrap:wrap;margin-inline-start:auto;gap:10px}
  .req .rx .btn{min-height:40px}
}
/* ---- Schedule board: Connecteam mark, "late" outline, the editor's Connecteam banner ---- */
.blk-ct{font-style:normal;font-size:9px;font-weight:800;letter-spacing:.3px;padding:1px 4px;border-radius:5px;
  background:rgba(0,0,0,.16);margin-inline-start:5px;vertical-align:1px}
.blk.late{outline:2px solid #e6a23c}
.sp-ctnote{margin:0 0 12px;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.45;font-weight:600;
  background:rgba(245,166,35,.14);border:1px solid rgba(245,166,35,.5);color:inherit}
#sp-msg .btn{display:block}
/* the name column stays put when the week is scrolled sideways (phone: from Wednesday on there were no names) */
.sched-grid>div:first-child,.sched-grid>.sg-name,.sched-grid>.sg-openlane{position:sticky;left:0;z-index:6}
.sched-grid>div:first-child{background:var(--surface,#fff)}
.sched-grid>.sg-openlane{background-color:#fdf6e3}
html[data-theme="dark"] .sched-grid>.sg-name{background-color:var(--surface,#131F36);background-image:linear-gradient(rgba(148,184,235,.08),rgba(148,184,235,.08))}
html[data-theme="dark"] .sched-grid>.sg-openlane{background-color:var(--surface,#131F36);background-image:linear-gradient(rgba(255,194,75,.10),rgba(255,194,75,.10))}
@media(max-width:720px){
  #sched-grid{grid-template-columns:116px repeat(7,minmax(108px,1fr));min-width:900px}   /* the id beats the later aurora sheet's 190px */
  .sched-grid>.sg-name{padding:6px 26px 6px 7px;gap:0}
  .sg-name .sgn-av{display:none}
  .sg-name .sgn-n{font-size:12.5px;white-space:normal;overflow-wrap:anywhere}
  .sg-name small{font-size:10.5px}
  .sg-openlane{font-size:11.5px}
}
/* ---- the map sheet on a small phone: the map gives way and the sheet scrolls, so "Save location" is always reachable ---- */
#geo-dlg{overflow:auto;max-height:calc(100vh - 16px);
  max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
#geo-map{height:min(390px,calc(100vh - 300px));height:min(390px,calc(100dvh - 300px));min-height:170px}
/* a refusal next to the box it is about (sheetErrAt) */
.sheet-ferr{display:block;margin:2px 0 0;font-size:13px;font-weight:600}
.sp-jobbtn[aria-invalid="true"]{border-color:var(--red,#c0392b)!important;box-shadow:0 0 0 3px rgba(220,38,38,.14)}
