/* ============================================================================
   SPOTLESS "SHINE" — the new look (owner, 10 Nov 2026: "the logo and design of spotless should be
   much cooler it looks cheap" → Spotless New Look report, look 1 "Shine" + logo A "Spark").
   Loads LAST (after app.css, app-aurora.css, app-refresh.css). Everything is scoped to html.shine
   (set pre-paint in index.html's head), so removing that one class brings the old look back.
   One colour for actions, quiet cards, wide bold numbers; green / amber / red only mean
   pass / warning / fail. Dark at night and light by day: it follows the phone (Auto / Light / Dark).
   Fonts: Archivo (display, width 115%) + Inter (text), self-hosted under fonts/ with
   unicode-range, so a phone only fetches the alphabets it shows. Arabic and Tigrinya fall back to
   the phone's own fonts, as before.
   ============================================================================ */
@font-face{font-family:'Archivo';font-style:normal;font-weight:600 900;font-stretch:100% 125%;font-display:swap;src:url(fonts/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-weight:600 900;font-stretch:100% 125%;font-display:swap;src:url(fonts/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}

/* ═══════════ 1 · TOKENS — light (day) ═══════════ */
html.shine{
  --sh-page:#F4F6FA;
  --sh-glow:radial-gradient(120% 520px at 88% -140px, rgba(47,107,255,.10), rgba(47,107,255,0) 70%);
  --sh-surface:#FFFFFF; --sh-surface-2:#F8F9FC; --sh-sunk:#ECEFF5;
  --sh-line:#E2E6EE; --sh-line-strong:#CDD3DF;
  --sh-ink:#0C1424; --sh-ink-2:#5A6579; --sh-ink-3:#646E82;
  --sh-accent:#2E66F7;              /* fills (white text on it 4.8:1) */
  --sh-accent-ink:#2456E0;          /* accent text and icons on the page */
  --sh-soft:#EAF0FF;                /* icon tiles, active tab pill */
  --sh-pass:#0A7F4F; --sh-pass-bg:#E7F6EE; --sh-pass-line:#BFE6D2;
  --sh-bar:rgba(255,255,255,.94);
  --sh-shadow:0 1px 2px rgba(12,20,36,.05), 0 6px 18px -10px rgba(12,20,36,.16);
  --sh-btn-shadow:0 6px 16px -8px rgba(47,107,255,.55);
  /* the redesigned screens (12 Nov 2026): the hero card is night blue in both themes; amber means "needs
     your answer / again", red means "a problem" — nothing else */
  --sh-hero:#0C1424; --sh-hero-glow:radial-gradient(130% 90% at 100% 0%, rgba(46,102,247,.55), rgba(46,102,247,0) 62%);
  --sh-hero-ink:#FFFFFF; --sh-hero-ink-2:#C9D6F2; --sh-hero-lbl:#A9C4FF; --sh-hero-btn:rgba(255,255,255,.12); --sh-hero-stop:#FFB4A8;
  --sh-live:#3DDC97;
  --sh-warn:#8A5200; --sh-warn-bg:#FBEBCF; --sh-bad:#C4321F; --sh-bad-bg:#FBE6E2;

  /* the app's own tokens (brand.css + app.css), pointed at Shine */
  --display:'Archivo','Bricolage Grotesque',system-ui,-apple-system,sans-serif;
  --body:'Inter','Hanken Grotesk',system-ui,-apple-system,sans-serif;
  --sans:var(--body);
  --blue:var(--sh-accent); --blue-d:#1F4FD6; --blue-dd:#173DA8;
  --action:var(--sh-accent-ink); --focus:var(--sh-accent-ink); --info:var(--sh-accent); --info-ink:var(--sh-accent-ink); --info-bg:var(--sh-soft);
  --grad:linear-gradient(var(--sh-accent),var(--sh-accent));
  --grad-blue:linear-gradient(var(--sh-accent),var(--sh-accent));
  --grad-green:linear-gradient(var(--sh-accent),var(--sh-accent));
  --app-bg:var(--sh-page); --bg:var(--sh-page); --surface:var(--sh-surface); --surface-2:var(--sh-surface-2); --surface-sunk:var(--sh-sunk);
  --ink:var(--sh-ink); --ink-2:var(--sh-ink-2); --ink-3:var(--sh-ink-3); --muted:var(--sh-ink-2);
  --line:var(--sh-line); --line-strong:var(--sh-line-strong);
  --success:var(--sh-pass); --success-bg:var(--sh-pass-bg); --grade-pass:var(--sh-pass);
  --e-1:var(--sh-shadow); --e-2:var(--sh-shadow); --e-blue:var(--sh-btn-shadow); --e-green:var(--sh-btn-shadow);
  --r-hero:20px;

  /* the aurora layer's tokens: solid cards, no blobs, no glass glare */
  --au-bg-base:var(--sh-page);
  --au-aurora-1:transparent; --au-aurora-2:transparent; --au-aurora-3:transparent;
  --au-glass-bg:var(--sh-surface); --au-glass-bg-2:var(--sh-bar);
  --au-glass-border:var(--sh-line); --au-glass-hi:transparent; --au-glass-blur:0px;
  --au-glass-shadow:var(--sh-shadow);
  --au-hairline:var(--sh-line); --au-edge:var(--sh-line-strong);
  --au-ring-track:var(--sh-sunk); --au-ring-glow:none; --au-ink-strong:var(--sh-ink);
  --au-blue-grad:linear-gradient(var(--sh-accent),var(--sh-accent));
  --au-green-grad:linear-gradient(var(--sh-accent),var(--sh-accent));
  --au-accent-grad:linear-gradient(var(--sh-accent),var(--sh-accent));
  --au-glow-blue:none; --au-glow-green:none; --au-glow-gold:none;
  --au-r-card:18px; --au-r-hero:20px; --au-r-sheet:24px;
}
/* ═══════════ 1b · TOKENS — dark (night) ═══════════ */
html.shine[data-theme="dark"]{
  --sh-page:#090E1A;
  --sh-glow:radial-gradient(120% 560px at 88% -160px, rgba(28,58,122,.95), rgba(28,58,122,0) 72%);
  --sh-surface:#111A2B; --sh-surface-2:#142036; --sh-sunk:#0C1322;
  --sh-line:rgba(255,255,255,.08); --sh-line-strong:rgba(255,255,255,.16);
  --sh-ink:#EEF3FF; --sh-ink-2:#9AA8C1; --sh-ink-3:#8190AB;
  --sh-accent:#2E66F7; --sh-accent-ink:#7EAEFF; --sh-soft:rgba(77,141,255,.15);
  --sh-pass:#3DDC97; --sh-pass-bg:rgba(61,220,151,.09); --sh-pass-line:rgba(61,220,151,.28);
  --sh-bar:rgba(9,14,26,.92);
  --sh-shadow:none;
  --sh-btn-shadow:0 8px 22px -10px rgba(47,107,255,.85);
  --sh-hero:#15233D;
  --sh-warn:#F2C14E; --sh-warn-bg:rgba(242,193,78,.14); --sh-bad:#FF8A7A; --sh-bad-bg:rgba(255,138,122,.14);
  --blue-d:#3A78FF;
  --danger:#F08575; --danger-bg:rgba(240,133,117,.12);
  --warn-bg:rgba(245,190,90,.12); --warn-ink:#F5C97B;
  --grade-gold:#F2C14E; --grade-mid:#F0A45B; --grade-low:#F08575;
}

/* ═══════════ 2 · PAGE ═══════════ */
html.shine{ background:var(--sh-glow) no-repeat, var(--sh-page); background-color:var(--sh-page); }
html.shine body{ font-family:var(--body); }
html.shine #au-aurora, html.shine .au-login-fx, html.shine .au-bubble{ display:none !important; }
html.shine :is(h1,h2,h3,.page-title,.card__title,.hello__hi,.topbar .nm,.sheet__title,.hero__name,.weekchip b,.au-ring-num,#hs-n,.onshift__timer,.tour-h,.intro__h){
  font-family:var(--display); font-stretch:112%; letter-spacing:-.015em;
}
html.shine ::selection{ background:var(--sh-soft); }

/* ═══════════ 3 · TOP BAR + TAB BAR ═══════════ */
html.shine header.topbar{ background:var(--sh-bar); border-bottom:1px solid var(--sh-line); box-shadow:none; }
html.shine .topbar .lg{ width:30px; height:30px; border-radius:8px; filter:none; box-shadow:none; flex:none; }
html.shine .topbar .nm{ font-weight:800; font-size:18px; text-transform:lowercase; color:var(--sh-ink); }
html.shine .topbtn{ background:transparent; border:1px solid var(--sh-line); color:var(--sh-ink); border-radius:12px; box-shadow:none; }
html.shine .topbtn__badge{ background:var(--sh-accent); box-shadow:0 0 0 2px var(--sh-page); }
/* the tab bar is solid (12 Nov 2026): through the see-through bar the page's own buttons and text showed
     behind the tabs. --sh-ring is the bar's colour — the raised Chat button's ring is cut from the same. */
html.shine nav.tabbar, html.shine[data-theme="dark"] nav.tabbar{ background:var(--sh-ring); -webkit-backdrop-filter:none; backdrop-filter:none; border-top:1px solid var(--sh-line); box-shadow:none; }
html.shine nav.tabbar .tab, html.shine[data-theme="dark"] nav.tabbar .tab{ color:var(--sh-ink-3); }
html.shine nav.tabbar .tab[aria-selected="true"], html.shine[data-theme="dark"] nav.tabbar .tab[aria-selected="true"],
html.shine nav.tabbar .tab[aria-selected="true"] .tab-label, html.shine[data-theme="dark"] nav.tabbar .tab[aria-selected="true"] .tab-label{ color:var(--sh-accent-ink); }
html.shine nav.tabbar .tab[aria-selected="true"] .ic, html.shine[data-theme="dark"] nav.tabbar .tab[aria-selected="true"] .ic{ background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine[data-theme="dark"] :is(#tab-home,#tab-schedule,#tab-clock,#tab-photos,#tab-me):not([aria-selected="true"]){ color:var(--sh-ink-3); }
html.shine nav.tabbar .tab .badge{ background:var(--sh-accent); color:#fff; }
/* a tab's count sits on the icon's top corner, ringed in the bar's colour: clear of the selected tab's
   pill and of the raised Chat button next door, whichever tab is selected */
html.shine nav.tabbar .tab:not(.tab--chat) .badge:not(.badge--dot){ top:4px; inset-inline-start:calc(50% + 6px); box-shadow:0 0 0 2px var(--sh-ring); }

/* ═══════════ 4 · GREETING — plain type on the page, no blue slab ═══════════ */
html.shine .hello, html.shine[data-theme="dark"] .hello{ background:none; border:0; box-shadow:none; padding-inline:2px 72px; }
html.shine .hello__hi{ color:var(--sh-ink); text-shadow:none; font-weight:800; }
html.shine .hello__sub{ color:var(--sh-ink-2); text-shadow:none; font-weight:500; }
html.shine .hello-ava{ border:1px solid var(--sh-line-strong); box-shadow:none; background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine .hello__date, html.shine[data-theme="dark"] .hello__date{ color:var(--sh-ink-2); text-shadow:none; }

/* ═══════════ 5 · CARDS ═══════════ */
html.shine .card:not(.card--green), html.shine .sheet, html.shine #me-menu .menu{
  background:var(--sh-surface); border:1px solid var(--sh-line); box-shadow:var(--sh-shadow);
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
html.shine .card--green{ background:var(--sh-pass-bg); border:1px solid var(--sh-pass-line); box-shadow:none; }
html.shine .card--accent::after, html.shine .card--green::after{ display:none; }
html.shine .card--accent{ border-inline-start:1px solid var(--sh-line); }
html.shine #home-score .card{ box-shadow:var(--sh-shadow); }
/* the "You are working now" card: a solid surface with a green tint and hairline. It was the old look's
   green gradient frame behind a tint that is see-through at night: bright green under pale text (1.2:1). */
html.shine .onshift, html.shine[data-theme="dark"] .onshift{ background:linear-gradient(var(--sh-pass-bg),var(--sh-pass-bg)), var(--sh-surface); border:1px solid var(--sh-pass-line); box-shadow:none; }
html.shine .onshift__t{ color:#1F5A3C; }
html.shine[data-theme="dark"] .onshift__t{ color:#9BE8C4; }
html.shine .onshift__timer, html.shine[data-theme="dark"] .onshift__timer{ text-shadow:none; }
html.shine .hub__tile, html.shine[data-theme="dark"] .hub__tile{ background:var(--sh-surface); border-color:var(--sh-line); color:var(--sh-ink); box-shadow:var(--sh-shadow); }

/* ═══════════ 6 · ICON TILES — one colour, not a rainbow ═══════════ */
html.shine :is([class*="ic--tint-"],[class*="gtile--"],[class*="au-ai--"]):not(.ic--tint-danger){
  background:var(--sh-soft) !important; color:var(--sh-accent-ink) !important; box-shadow:none !important;
}
html.shine :is([class*="ic--tint-"],[class*="gtile--"],[class*="au-ai--"]) :is(svg,.ic){ color:inherit; stroke:currentColor; }
html.shine .ic--tint-danger{ background:var(--danger-bg) !important; color:var(--danger) !important; box-shadow:none !important; }
html.shine .hub__ic .ic{ color:var(--sh-accent-ink); }

/* ═══════════ 7 · BUTTONS — flat, one colour, no gloss ═══════════ */
html.shine :is(.btn--primary,.btn--hero,.btn--go){
  background:var(--sh-accent); color:#fff; border:0; box-shadow:var(--sh-btn-shadow);
  font-family:var(--body); font-weight:700; letter-spacing:0;
}
html.shine :is(.btn--primary,.btn--hero,.btn--go):active{ background:var(--blue-d); }
html.shine .btn--ghost, html.shine[data-theme="dark"] .btn--ghost{ background:transparent; color:var(--sh-accent-ink); border:1px solid var(--sh-line-strong); box-shadow:none; }
html.shine .btn--danger{ box-shadow:none; }
html.shine .input, html.shine .select, html.shine[data-theme="dark"] .input, html.shine[data-theme="dark"] .select{
  background:var(--sh-surface); border:1px solid var(--sh-line-strong); color:var(--sh-ink); border-radius:14px;
}
html.shine .input:focus, html.shine .select:focus{ border-color:var(--sh-accent-ink); box-shadow:0 0 0 3px var(--sh-soft); outline:none; }

/* ═══════════ 8 · SIGN-IN ═══════════ */
html.shine #login-screen::before{ background:var(--sh-glow), var(--sh-page) !important; opacity:1 !important; filter:none !important; }
html.shine #login-screen .login, html.shine[data-theme="light"] #login-screen .login{
  background:none !important; border:0 !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  text-align:start; --plate-ink:var(--sh-ink);
  padding-top:calc(env(safe-area-inset-top,0px) + 76px);
}
html.shine .login__brand{ display:grid; justify-items:start; gap:12px; margin:0 0 30px; }
html.shine .login__mark{ width:64px; height:64px; display:block; }
html.shine #login-screen .login .login__wm{
  margin:0; font-family:var(--display); font-weight:800; font-stretch:115%; font-size:44px; line-height:1;
  letter-spacing:-.03em; color:var(--sh-ink); text-shadow:none; text-align:start;
}
html.shine .login__tag{ margin:-4px 0 0; font-size:15px; color:var(--sh-ink-2); }
html.shine .login__sub{ text-align:start; color:var(--sh-ink-2); margin:0 0 18px; }
html.shine #login-screen .login .field label{ color:var(--sh-ink-2); font-weight:600; }
html.shine #login-screen .login .input{ background:var(--sh-surface); border-color:var(--sh-line-strong); color:var(--sh-ink); height:52px; font-size:17px; }
html.shine #login-screen .login .help, html.shine .login__privacy{ color:var(--sh-ink-3); text-align:start; }
html.shine .login__lang .lang-lbl, html.shine .login .login-lang-lbl{ color:var(--sh-ink-2) !important; }
html.shine .login .btn{ height:54px; border-radius:14px; font-size:17px; }

/* ═══════════ 9 · CAMERA HEADER LOGO ═══════════ */
html.shine .cam__logo{ border-radius:8px; }

/* ═══════════ 9b · LEFTOVERS OF THE OLD LOOK — glows, sweeps, rainbow tiles ═══════════ */
html.shine .hello::before, html.shine .hello::after, html.shine .au-sheen{ display:none !important; }
html.shine :is(.btn--primary,.btn--hero,.btn--go,.btn--onetap)::after{ display:none !important; }
html.shine .btn__tile{ background:rgba(255,255,255,.16); border:0; box-shadow:none; }
html.shine .pill--violet, html.shine[data-theme="dark"] .pill--violet{ background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine .seg button.on{ background:var(--sh-accent); color:#fff; box-shadow:none; }
html.shine .weekchip, html.shine[data-theme="dark"] .weekchip{ background:var(--sh-surface); color:var(--sh-ink); border:1px solid var(--sh-line); box-shadow:none; }
html.shine .weekchip b{ color:var(--sh-accent-ink); font-stretch:112%; }
html.shine .row--today, html.shine[dir=rtl] .row--today{ background:var(--sh-soft); }
html.shine .row--today .row__lead>div:first-child{ background:none; -webkit-text-fill-color:var(--sh-accent-ink); color:var(--sh-accent-ink); }
html.shine .row--open{ background:var(--warn-bg); }
/* the "Area done — send a photo" card: a quiet card with one blue icon */
html.shine .qcard::before, html.shine .qcard::after{ display:none !important; }
html.shine .qcard{ background:var(--sh-surface); color:var(--sh-ink); border:1px solid var(--sh-line); box-shadow:var(--sh-shadow); }
html.shine .qcard__ic{ background:var(--sh-soft); color:var(--sh-accent-ink); border:0; box-shadow:none; }
html.shine .qcard .qcard__txt span, html.shine .qcard small{ color:var(--sh-ink-2); }
html.shine .qcard .chev, html.shine .qcard > .ic:last-child{ color:var(--sh-ink-3); }
/* empty states: one tile colour (green stays for "all done") */
html.shine .empty :is(.big--amber,.big--violet,.big--pink,.big--slate,.big--blue,.big--sky){ background:var(--sh-soft); color:var(--sh-accent-ink); box-shadow:none; }
html.shine .empty .big--green{ background:var(--sh-pass-bg); color:var(--sh-pass); box-shadow:none; }
html.shine .empty [class*="big--"] .ic{ color:inherit; }
/* Me: the profile card is the one brand panel — the app icon's night blue, in both themes */
html.shine #me-hero .hero, html.shine .hero, html.shine[data-theme="dark"] #me-hero .hero{
  background:radial-gradient(110% 120% at 100% -30%, rgba(77,141,255,.26), rgba(77,141,255,0) 55%), linear-gradient(140deg,#163172,#0B1633);
  color:#fff; border:0; box-shadow:none;
}
html.shine #me-hero .hero--empty .muted{ color:rgba(255,255,255,.82); }
html.shine .hero__avatar{ border:2px solid rgba(255,255,255,.4); box-shadow:none; }
html.shine .hero__tier{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.24); }
html.shine .menu-ava{ background:var(--sh-accent); box-shadow:none; }
html.shine .au-mecard{ background:var(--sh-surface); }
/* sign-in: a small language switch at the top, not a full-width box */
html.shine .login__lang--top{ justify-content:flex-start; gap:8px; }
html.shine .login__lang--top .select{ width:auto; min-width:0; height:38px; padding-block:0; font-size:14.5px; border-radius:99px; }

/* ═══════════ 10 · INTRODUCTION (shown after every sign-in) ═══════════ */
.intro{ position:fixed; inset:0; z-index:9000; display:flex; flex-direction:column;
  background:var(--sh-glow) no-repeat, var(--sh-page, #090E1A); color:var(--sh-ink, #EEF3FF);
  padding:calc(env(safe-area-inset-top,0px) + 18px) max(22px, env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 18px) max(22px, env(safe-area-inset-left,0px));
  touch-action:pan-y; }
.intro__skip{ align-self:flex-end; min-height:44px; padding:0 14px; border:0; background:none; color:var(--sh-ink-2); font:600 15px/1 var(--body); cursor:pointer; border-radius:12px; }
.intro__art{ flex:1; display:grid; place-items:center; min-height:0; position:relative; }
.intro__body{ width:100%; max-width:440px; margin:0 auto; display:grid; gap:10px; }
.intro__h{ margin:0; font-weight:800; font-size:30px; line-height:1.08; text-wrap:balance; }
.intro__p{ margin:0; font-size:17px; line-height:1.5; color:var(--sh-ink-2); text-wrap:pretty; }
.intro__foot{ width:100%; max-width:440px; margin:22px auto 0; display:grid; gap:18px; }
.intro__dots{ display:flex; gap:7px; }
.intro__dots i{ width:7px; height:7px; border-radius:99px; background:var(--sh-line-strong); transition:width .25s var(--e-std, ease), background-color .25s; }
.intro__dots i.on{ width:24px; background:var(--sh-accent); }
.intro__btns{ display:grid; gap:10px; }
.intro__next{ height:56px; border:0; border-radius:16px; background:var(--sh-accent); color:#fff; font:700 17px/1 var(--body); cursor:pointer; box-shadow:var(--sh-btn-shadow); }
.intro__next:active{ transform:scale(.98); }
.intro :focus-visible{ outline:3px solid var(--sh-accent-ink); outline-offset:3px; }
.intro__glow{ position:absolute; width:260px; height:260px; border-radius:50%; background:radial-gradient(closest-side, rgba(77,141,255,.38), rgba(77,141,255,0)); }
.intro__mark{ width:132px; height:132px; position:relative; }
.intro__pin{ display:grid; justify-items:center; gap:16px; }
.intro__pulse{ width:96px; height:96px; border-radius:50%; display:grid; place-items:center; background:var(--sh-soft); color:var(--sh-accent-ink);
  box-shadow:0 0 0 14px color-mix(in srgb, var(--sh-accent) 9%, transparent), 0 0 0 30px color-mix(in srgb, var(--sh-accent) 5%, transparent); }
.intro__pulse svg{ width:42px; height:42px; }
.intro__here{ display:inline-flex; align-items:center; gap:8px; padding:12px 16px; border-radius:16px; background:var(--sh-surface); border:1px solid var(--sh-line);
  font:700 15px/1.2 var(--body); color:var(--sh-pass); }
.intro__photo{ width:210px; height:244px; border-radius:22px; position:relative; overflow:hidden; border:1px solid var(--sh-line);
  background:linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,.20) 58.5%, rgba(0,0,0,.05) 100%), linear-gradient(90deg,#C9CED3 0 14%,#D8DCE0 14% 52%,#CBD0D5 52% 100%); }
.intro__photo::before{ content:""; position:absolute; left:22px; right:22px; top:92px; height:44px; border-radius:5px; background:linear-gradient(#B9C0C7,#A9B1B9); }
.intro__photo::after{ content:""; position:absolute; left:95px; top:64px; width:20px; height:28px; border:5px solid #8D969F; border-bottom:0; border-radius:12px 12px 0 0; }
.intro__badge{ position:absolute; inset-inline-end:12px; bottom:12px; z-index:1; display:grid; justify-items:end; gap:2px; padding:9px 11px; border-radius:14px;
  background:var(--sh-page); color:var(--sh-ink); box-shadow:0 8px 20px rgba(0,0,0,.28); }
.intro__badge b{ font:800 26px/1 var(--display); font-stretch:112%; }
.intro__badge span{ font:700 11px/1 var(--body); color:var(--sh-pass); }
.intro__ex{ position:absolute; inset-inline-start:12px; top:12px; z-index:1; width:58px; height:68px; border-radius:11px; border:2px solid #fff; overflow:hidden;
  background:linear-gradient(180deg,#E2E6EA 0 55%,#C4CBD2 55%); box-shadow:0 6px 14px rgba(0,0,0,.25); }
.intro__ex span{ position:absolute; inset:auto 0 0; padding:3px 0; text-align:center; font:700 9px/1 var(--body); color:#fff; background:rgba(0,0,0,.58); }
.intro__stats{ display:grid; gap:10px; width:min(100%, 280px); }
.intro__stat{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-radius:16px; background:var(--sh-surface); border:1px solid var(--sh-line); }
.intro__stat span{ font:500 15px/1.25 var(--body); color:var(--sh-ink-2); }
.intro__stat b{ font:800 22px/1 var(--display); font-stretch:112%; color:var(--sh-ink); white-space:nowrap; }
.intro__stat b.acc{ color:var(--sh-accent-ink); }
@media (prefers-reduced-motion:no-preference){
  .intro__body, .intro__art > *{ animation:shIn .42s var(--e-out, ease) both; }
  .intro__art > *{ animation-delay:.04s; }
}
@keyframes shIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
@media (max-height:640px){ .intro__mark{ width:96px; height:96px; } .intro__photo{ width:170px; height:198px; } .intro__h{ font-size:26px; } }

/* ═══════════ 12 · TEAM CHAT — the raised Chat button in the middle of the tab bar (11 Nov 2026) ═══════════ */
html.shine{ --sh-ring:#FFFFFF; }
html.shine[data-theme="dark"]{ --sh-ring:#0B111E; }
html.shine nav.tabbar .rail .tab.tab--chat .ic,
html.shine nav.tabbar .rail .tab.tab--chat[aria-selected="true"] .ic{ width:26px; height:26px; padding:12px; border-radius:50%; margin-top:-22px;
  background:var(--sh-accent); color:#FFFFFF; box-shadow:0 0 0 5px var(--sh-ring), var(--sh-btn-shadow); }
html.shine nav.tabbar .rail .tab.tab--chat .ic .duo{ opacity:0; }
html.shine nav.tabbar .rail .tab.tab--chat .badge{ top:-16px; inset-inline-start:calc(50% + 12px); background:#D92D20; color:#FFFFFF; box-shadow:0 0 0 2px var(--sh-ring); }
html.shine nav.tabbar .rail .tab.tab--chat:active .ic{ transform:scale(.94); }

/* ═══════════ 13 · FIRST-DAY SETUP (12 Nov 2026) — the Shine touches; the layout is in app.css ═══════════ */
html.shine .setup{ background:var(--sh-glow) no-repeat, var(--sh-page); }
html.shine .setup__h{ font-size:28px; }
html.shine .setup__go{ background:var(--sh-accent); box-shadow:var(--sh-btn-shadow); font-family:var(--body); font-size:17px; }
html.shine .setup__go:active{ background:var(--blue-d); }
html.shine .setup__lang, html.shine .setup__later{ font-family:var(--body); }
html.shine .setupcard__n{ border:0; }
@media (max-height:620px){ html.shine .setup__h{ font-size:24px; } }
@media (max-width:340px){ html.shine .setup__h{ font-size:24px; } }
@media (max-height:600px){ html.shine .setup__h{ font-size:22px; } }

/* ═════════════════════════════════════════════════════════════════════════════════════════════
   REDESIGN 2026-11 — the four new worker screens (their structure is in app.css, R0 to R4).
   Here: the look — the --sh-* tokens (new ones are in the two token blocks at the top), shadows,
   fonts. Every selector starts with html.shine, also inside @media. Use tokens and nothing needs
   a dark twin; a hard-coded colour needs a html.shine[data-theme="dark"] twin in the same section.
   Colour means something: one blue for actions · green only for passed / confirmed · amber only
   for "needs your answer / again" · red only for a problem or clocking out. No "left" / "right",
   no --safe-* custom property, no emoji. A package writes ONLY between its own header and the next.
   ═════════════════════════════════════════════════════════════════════════════════════════════ */
/* ═══════════ 13.0 · REDESIGN shared (ui-) ═══════════ */
/* owner: Step 0 (foundation) — final. The packages use these classes as they are. */
html.shine .ui-sect{ color:var(--sh-ink-3); }
html.shine .ui-sect__n, html.shine .ui-li__n{ background:var(--sh-accent); color:var(--sh-hero-ink); }
html.shine .ui-list{ box-shadow:var(--sh-shadow); }
html.shine .ui-li:focus-visible{ outline-color:var(--sh-accent-ink); }
html.shine .ui-li__tile{ background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine .ui-li__tile--ok{ background:var(--sh-pass-bg); color:var(--sh-pass); }
html.shine .ui-li__tile--warn{ background:var(--sh-warn-bg); color:var(--sh-warn); }
html.shine .ui-li__tile--bad{ background:var(--sh-bad-bg); color:var(--sh-bad); }
html.shine .ui-li__tile--mute{ background:var(--sh-sunk); color:var(--sh-ink-3); }
/* pills: grey (plain) · blue "go" · green "ok" · amber "wait" · red "bad". Only together with ui-pill:
   the app's own pill--go stays green everywhere else. */
html.shine .ui-pill{ border:0; background:var(--sh-sunk); color:var(--sh-ink-2); font-family:var(--body); }
html.shine .ui-pill.pill--go{ background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine .ui-pill.pill--ok{ background:var(--sh-pass-bg); color:var(--sh-pass); }
html.shine .ui-pill.pill--wait{ background:var(--sh-warn-bg); color:var(--sh-warn); }
html.shine .ui-pill.pill--bad{ background:var(--sh-bad-bg); color:var(--sh-bad); }
/* the hero: night blue with a glow in its far top corner, in both themes */
html.shine .ui-hero{ background:var(--sh-hero-glow), var(--sh-hero); color:var(--sh-hero-ink); box-shadow:none; }
html.shine .ui-hero__lbl{ color:var(--sh-hero-lbl); }
html.shine .ui-hero__dot{ background:var(--sh-live); box-shadow:0 0 0 3px color-mix(in srgb, var(--sh-live) 25%, transparent); }
html.shine .ui-hero__big{ font-family:var(--display); font-stretch:112%; letter-spacing:-.015em; }
html.shine .ui-hero__meta, html.shine .ui-hero__with, html.shine .ui-hero__prog{ color:var(--sh-hero-ink-2); }
html.shine .ui-hero__with i{ background:var(--sh-accent); color:var(--sh-hero-ink); box-shadow:0 0 0 2px var(--sh-hero); }
html.shine .ui-hero .ui-hero__ghost{ background:var(--sh-hero-btn); color:var(--sh-hero-ink); border:0; box-shadow:none; font-family:var(--body); font-weight:600; }
html.shine .ui-hero .ui-hero__ghost:active{ background:var(--sh-hero-btn); opacity:.8; }
html.shine .ui-prog > i{ background:var(--sh-sunk); }
html.shine .ui-prog > i.on{ background:var(--sh-pass); }
html.shine .ui-hero .ui-prog > i{ background:var(--sh-hero-btn); }
html.shine .ui-hero .ui-prog > i.on{ background:var(--sh-live); }
html.shine .ui-hero .act3 .act{ background:var(--sh-hero-btn); color:var(--sh-hero-ink); border:0; box-shadow:none; font-family:var(--body); }
html.shine .ui-hero .act3 :is(.act--stop,.btn--danger){ color:var(--sh-hero-stop); }
html.shine .ui-hero :focus-visible{ outline:3px solid var(--sh-hero-ink); outline-offset:2px; }
html.shine .ui-err{ box-shadow:var(--sh-shadow); }

/* ═══════════ 13.1 · TODAY (td-) ═══════════ */
/* owner: package A (Today) — write only between this header and the next one */
/* the greeting sits on the page as plain type; the avatar has its own column, so no room is kept free for it */
html.shine .td-hello, html.shine[data-theme="dark"] .td-hello{ padding-inline:2px; }
html.shine .td-hello .hello__date, html.shine[data-theme="dark"] .td-hello .hello__date{ color:var(--sh-ink-2); font-weight:500; }
html.shine .td-note{ color:var(--sh-ink-2); }
html.shine .td-hero__until, html.shine .td-hero__link{ color:var(--sh-hero-ink-2); }
html.shine .td-hero__info:active, html.shine .td-hero__link:active, html.shine .td-hero__map:active{ opacity:.8; }
html.shine .td-late{ color:var(--sh-bad); }
html.shine .td-more .ui-li__t, html.shine .td-link{ color:var(--sh-accent-ink); }
html.shine .td-link{ font-family:var(--body); }
/* the score ring: green from 7.75, amber from 6.0, red below; grey while there is no score */
html.shine .td-ring{ font-family:var(--display); font-stretch:112%; letter-spacing:-.015em; color:var(--sh-ink); --td-c:var(--sh-line-strong); }
html.shine .td-ring--ok{ --td-c:var(--sh-pass); }
html.shine .td-ring--mid{ --td-c:var(--sh-warn); }
html.shine .td-ring--low{ --td-c:var(--sh-bad); }


/* ═══════════ 13.2 · SCHEDULE (sc-) ═══════════ */
/* owner: package B (Schedule) — write only between this header and the next one */
/* the week strip. Today is the one filled day: the action blue with white on it, by day and by night */
html.shine .sc-day{ font-family:var(--body); }
html.shine .sc-day > b{ font-family:var(--display); font-stretch:112%; }
html.shine .sc-day.has-shift > i{ background:var(--sh-accent); }
html.shine .sc-day.is-past.has-shift > i{ background:var(--sh-ink-3); }
html.shine .sc-day.is-today{ background:var(--sh-accent); border-color:var(--sh-accent); color:var(--sh-hero-ink); }
html.shine .sc-day.is-today > b{ color:var(--sh-hero-ink); }
html.shine .sc-day.is-today.has-shift > i{ background:var(--sh-hero-ink); }
html.shine .sc-day:focus-visible, html.shine .sc-shift__main:focus-visible, html.shine .sc-earlier > summary:focus-visible{ outline-color:var(--sh-accent-ink); }
html.shine .sc-lead .sc-lead__n{ background:var(--sh-accent); color:var(--sh-hero-ink); }
/* the shift cards: the list card's quiet shadow, the times in the display face */
html.shine .sc-shift{ box-shadow:var(--sh-shadow); }
html.shine .sc-shift__tm b{ font-family:var(--display); font-stretch:112%; letter-spacing:-.01em; }
/* Yes is the one blue button of a card; "I can't" is quiet: the card's own surface, ink, a line */
html.shine .sc-yn .btn{ font-family:var(--body); font-weight:700; }
html.shine .sc-yn .btn--go{ box-shadow:none; }
html.shine .sc-yn:not(.sc-yn--one) .btn--ghost{ background:var(--sh-surface); color:var(--sh-ink); border:1px solid var(--sh-line-strong); box-shadow:none; }
html.shine .sc-next > b{ font-family:var(--display); font-stretch:112%; letter-spacing:-.015em; }
html.shine .sc-none{ border-color:var(--sh-line-strong); }
/* "My requests" in the look of the cards around it (its markup is the app's own, see app.css R2). The id is
   there for weight: the rule that gives every card title the display face counts as an id rule. */
html.shine #sched-body .sc-req .card__title{ font-family:var(--body); font-stretch:normal; letter-spacing:.12em; color:var(--sh-ink-3); }
html.shine[dir=rtl] #sched-body .sc-req .card__title{ letter-spacing:0; }
html.shine .sc-req .row{ box-shadow:var(--sh-shadow); }
html.shine .sc-req .row__lead{ font-family:var(--display); font-stretch:112%; }
html.shine .sc-req .row__lead .tiny{ font-family:var(--body); font-stretch:normal; }
html.shine .sc-req .st--wait{ background:var(--sh-warn-bg); color:var(--sh-warn); }
/* the page fades out under "Yes to all" and stays plain down to the tab bar, so no row shows through around the button */
html.shine #sc-yesall::before{ content:""; position:absolute; z-index:-1; inset-inline:calc(var(--page-x) * -1);
  inset-block:0 calc(-1 * (var(--tabbar-h) + env(safe-area-inset-bottom,0px) + 10px));
  background:linear-gradient(to bottom, transparent, var(--sh-page) 30px); pointer-events:none; }
html.shine #sc-yesall .btn{ box-shadow:var(--sh-btn-shadow); }


/* ═══════════ 13.3 · MY JOB (mj-) ═══════════ */
/* owner: package C (My job and My photos) — write only between this header and the next one */
html.shine .mj-title__date{ color:var(--sh-ink-2); }
/* the drawn place panel: the page's quiet blue, the circle and pin in the action colour */
html.shine .mj-place{ border-color:var(--sh-line); background:var(--sh-surface); box-shadow:var(--sh-shadow); }
html.shine .mj-map{ background:radial-gradient(closest-side, var(--sh-soft) 0%, var(--sh-soft) 46%, transparent 100%), var(--sh-sunk); }
html.shine .mj-map__ring{ border-color:var(--sh-accent); background:color-mix(in srgb, var(--sh-accent) 13%, transparent); }
html.shine .mj-map .mj-map__pin{ border-color:var(--sh-hero-ink); background:var(--sh-accent); color:var(--sh-hero-ink); box-shadow:0 2px 6px rgba(12,20,36,.35); }
html.shine .mj-map__zone{ stroke:var(--sh-accent); stroke-width:2; stroke-dasharray:6 5; fill:var(--sh-accent); fill-opacity:.14; }
html.shine .mj-map__by{ background:var(--sh-surface); color:var(--sh-ink-2); }
html.shine[data-theme="dark"] .mj-map .leaflet-tile-pane{ filter:invert(1) hue-rotate(180deg) brightness(.9) contrast(.9) saturate(.6); }
html.shine .mj-place__map > span{ border-color:var(--sh-line); background:var(--sh-surface); color:var(--sh-ink); box-shadow:var(--sh-shadow); }
html.shine .mj-place__map .ic{ color:var(--sh-accent-ink); }
html.shine .mj-place__map:focus-visible > span{ outline-color:var(--sh-accent-ink); }
html.shine .mj-check{ border-top-color:var(--sh-line); }
html.shine .mj-check__c{ color:var(--sh-ink-2); }
html.shine .mj-check__c .ic{ color:var(--sh-accent-ink); }
html.shine .mj-check__c--ok, html.shine .mj-check__c--ok .ic{ color:var(--sh-pass); }
html.shine .mj-check__c--far, html.shine .mj-check__c--far .ic{ color:var(--sh-warn); }
html.shine .mj-entr{ border-color:var(--sh-surface); box-shadow:0 1px 2px rgba(12,20,36,.08), 0 6px 16px -10px rgba(12,20,36,.3); }
html.shine .mj-job__name{ font-stretch:112%; letter-spacing:-.015em; color:var(--sh-ink); }
html.shine .mj-job__sub{ color:var(--sh-ink-2); }
html.shine .mj-job__hint{ color:var(--sh-ink-3); }
/* the round Start button: the one blue, a soft ring around it */
html.shine .mj-job .mj-start{ font-family:var(--display); font-stretch:112%; font-weight:800; letter-spacing:-.01em; box-shadow:0 0 0 10px var(--sh-soft), 0 18px 30px -14px color-mix(in srgb, var(--sh-accent) 85%, transparent); }
html.shine .mj-job .mj-start[disabled]{ box-shadow:0 0 0 10px var(--sh-soft); }
html.shine .mj-start[disabled]::before{ border-color:var(--sh-accent); }
html.shine .mj-start__wait{ font-family:var(--body); font-weight:700; }
html.shine .mj-none__ic{ background:var(--sh-soft); color:var(--sh-accent-ink); }
html.shine .mj-none__next{ color:var(--sh-ink-2); }
html.shine .mj-shift [role=button]:focus-visible{ border-radius:4px; }
/* on the dark card the photo-gate and break lines keep their amber, a shade that reads on night blue */
html.shine .mj-shift .gatebar{ background:rgba(242,193,78,.16); border-color:rgba(242,193,78,.32); color:#F2C14E; }
html.shine .mj-alldone__ic{ background:var(--sh-pass-bg); color:var(--sh-pass); }
html.shine .mp-back{ color:var(--sh-accent-ink); }
html.shine .mp-back:focus-visible{ outline-color:var(--sh-accent-ink); }
html.shine .mj-notes .instr, html.shine .mj-notes .mj-team{ border:1px solid var(--sh-line); border-radius:16px; background:var(--sh-surface); box-shadow:var(--sh-shadow); }


/* ═══════════ 13.4 · ME (mm-) ═══════════ */
/* owner: package D (Me) — write only below this header, to the end of the file */
html.shine .mm-prof__ava{ background:var(--sh-accent); color:var(--sh-hero-ink); }
html.shine .mm-prof__name{ font-family:var(--display); font-stretch:112%; letter-spacing:-.015em; color:var(--sh-ink); }
html.shine .mm-foot__who{ color:var(--sh-ink-2); }
/* Sign out is a quiet button, not a red one: red is kept for a problem and for clocking out */
html.shine .mm-foot__out, html.shine[data-theme="dark"] .mm-foot__out{ background:var(--sh-surface); border:1px solid var(--sh-line); color:var(--sh-ink); box-shadow:var(--sh-shadow); font-family:var(--body); }
html.shine .mm-foot__out .ic{ color:var(--sh-ink-3); }
html.shine .mm-lang__on{ color:var(--sh-accent-ink); }
