/* ============================================================================
   SPOTLESS "AURORA" — additive premium reskin layer
   Loads AFTER app.css. Overrides existing selectors + adds decorative elements.
   Never renames/removes any class, id, or function. Field-first, AA-safe.
   Authoritative spec: judge-panel synthesis + adversarial review (2026-07-07).
   All new tokens namespaced --au-*. Decorative injected nodes are aria-hidden.
   ============================================================================ */

/* ═══════════ 1 · TOKENS ═══════════ */
:root{
  --au-blue:#2F86D6; --au-blue-d:#1F5FA8;
  --au-green:#6FB23B; --au-green-d:#4E9A2A;
  --au-gold:#F5A623;  --au-danger:#B93A2E;

  /* semantic button paints — keep blue=action / green=go SEPARATE (no blended teal) */
  --au-blue-grad:linear-gradient(135deg,#4AA3E8 0%,#1F5FA8 100%);
  --au-green-grad:linear-gradient(135deg,#7CC24A 0%,#4E9A2A 100%);
  /* reserved for a single hero/celebration surface only */
  --au-accent-grad:linear-gradient(135deg,#2F86D6 0%,#4FA0C8 48%,#6FB23B 100%);

  /* radii — align to base ramp (20/22/24), don't invent a parallel scale */
  --au-r-card:20px; --au-r-hero:22px; --au-r-sheet:24px;

  --au-e-spring:cubic-bezier(.34,1.4,.5,1);
  --au-e-glide:cubic-bezier(.16,.84,.44,1);
  --au-t-ring:1100ms; --au-t-count:900ms; --au-t-sweep:2600ms; --au-t-press:120ms;

  --au-drift-1:34s; --au-drift-2:46s; --au-drift-3:28s;
}

/* LIGHT — bright, matte, glare-proof (blur OFF) */
:root, html[data-theme="light"]{
  --app-bg:#F4F8FD; --au-bg-base:#EEF4FB;

  --au-aurora-1:rgba(47,134,214,.10);
  --au-aurora-2:rgba(111,178,59,.09);
  --au-aurora-3:rgba(47,134,214,.05);
  --au-aurora-blur:60px;

  --au-glass-bg:#FFFFFF; --au-glass-bg-2:#FCFDFF;
  --au-glass-border:rgba(31,95,168,.12);
  --au-glass-hi:rgba(255,255,255,.9);
  --au-glass-blur:0px;
  --au-glass-shadow:0 1px 2px rgba(16,42,74,.06), 0 8px 24px rgba(16,42,74,.08);

  --au-hairline:rgba(31,95,168,.14);
  --au-edge:rgba(31,95,168,.28);          /* stronger boundary for pressables (1.4.11) */
  --au-ring-track:rgba(31,95,168,.14);
  --au-ink-strong:#12233A;

  --au-glow-blue:0 6px 18px rgba(47,134,214,.22);
  --au-glow-green:0 6px 18px rgba(111,178,59,.22);
  --au-glow-gold:0 6px 18px rgba(245,166,35,.22);
  --au-ring-glow:0 0 3px rgba(111,178,59,.25);
}

/* DARK — the signature: frosted glass + luminous accent */
html[data-theme="dark"]{
  --app-bg:#0B1524; --au-bg-base:#0B1524;

  --au-aurora-1:rgba(47,134,214,.42);
  --au-aurora-2:rgba(111,178,59,.34);
  --au-aurora-3:rgba(84,166,255,.24);
  --au-aurora-blur:66px;

  --au-glass-bg:rgba(24,38,60,.66);
  --au-glass-bg-2:rgba(28,44,68,.74);
  --au-glass-border:rgba(120,170,225,.16);
  --au-glass-hi:rgba(150,190,240,.14);
  --au-glass-blur:18px;
  --au-glass-shadow:0 1px 0 rgba(150,190,240,.06) inset, 0 10px 30px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.35);

  --au-hairline:rgba(140,180,230,.14);
  --au-edge:rgba(150,190,240,.34);
  --au-ring-track:rgba(140,180,230,.16);
  --au-ink-strong:#F1F7FF;

  --au-glow-blue:0 0 0 1px rgba(74,163,232,.42), 0 10px 40px rgba(47,134,214,.40);
  --au-glow-green:0 0 0 1px rgba(111,178,59,.40), 0 10px 40px rgba(111,178,59,.34);
  --au-glow-gold:0 0 0 1px rgba(245,166,35,.36), 0 10px 40px rgba(245,166,35,.32);
  --au-ring-glow:0 0 10px rgba(111,178,59,.65);
}

/* Fallback: no backdrop-filter → solid opaque glass, still AA */
@supports not (backdrop-filter: blur(1px)){
  html[data-theme="dark"]{ --au-glass-bg:rgba(24,38,60,.94); --au-glass-bg-2:rgba(28,44,68,.96); }
  .card, .sheet, #me-menu .menu, header.topbar, nav.tabbar, .topbtn{ -webkit-backdrop-filter:none; backdrop-filter:none; }
}
/* Perf-lite: weak GPU → solid glass, NO backdrop passes, frozen aurora */
html.au-lite{ --au-glass-blur:0px; }
html.au-lite[data-theme="dark"]{ --au-glass-bg:rgba(24,38,60,.94); --au-glass-bg-2:rgba(28,44,68,.96); }
html.au-lite .au-blob, html.au-lite #au-aurora{ animation:none !important; will-change:auto; }
html.au-lite .card, html.au-lite .sheet, html.au-lite #me-menu .menu,
html.au-lite header.topbar, html.au-lite nav.tabbar, html.au-lite .topbtn{
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
}

/* ═══════════ 2 · AMBIENT AURORA ═══════════ */
html{ background:var(--app-bg); }
body{ background:transparent; }
#au-aurora{
  position:fixed; inset:-15%; z-index:-1; pointer-events:none;
  overflow:hidden; background:var(--au-bg-base); contain:strict;
}
.au-blob{
  position:absolute; display:block; border-radius:50%;
  filter:blur(var(--au-aurora-blur)); will-change:transform; transform:translateZ(0);
}
.au-blob--1{ width:60vw; height:60vw; top:-12%; left:-10%;
  background:radial-gradient(circle at 50% 50%, var(--au-aurora-1), transparent 68%);
  animation:auDrift1 var(--au-drift-1) var(--au-e-glide) infinite alternate; }
.au-blob--2{ width:66vw; height:66vw; bottom:-18%; right:-14%;
  background:radial-gradient(circle at 50% 50%, var(--au-aurora-2), transparent 68%);
  animation:auDrift2 var(--au-drift-2) var(--au-e-glide) infinite alternate; }
.au-blob--3{ width:48vw; height:48vw; top:34%; left:26%;
  background:radial-gradient(circle at 50% 50%, var(--au-aurora-3), transparent 70%);
  animation:auDrift3 var(--au-drift-3) var(--au-e-glide) infinite alternate; }
@keyframes auDrift1{ from{transform:translate3d(0,0,0) scale(1)}    to{transform:translate3d(6vw,4vh,0) scale(1.12)} }
@keyframes auDrift2{ from{transform:translate3d(0,0,0) scale(1.05)} to{transform:translate3d(-5vw,-4vh,0) scale(1)} }
@keyframes auDrift3{ from{transform:translate3d(0,0,0)}             to{transform:translate3d(4vw,-5vh,0)} }

#app-screen, #login-screen, .app, .tab-panel{ background:transparent; }

/* ═══════════ 3 · GLASS ATOM (explicit selectors only; green cards excluded) ═══════════ */
.card:not(.card--green), .sheet, #me-menu .menu{
  background:linear-gradient(180deg, var(--au-glass-hi), transparent 42px), var(--au-glass-bg);
  border:1px solid var(--au-glass-border);
  border-radius:var(--au-r-card);
  box-shadow:var(--au-glass-shadow);
  -webkit-backdrop-filter:blur(var(--au-glass-blur)) saturate(1.25);
          backdrop-filter:blur(var(--au-glass-blur)) saturate(1.25);
}
/* green cards keep their status surface, layered under the glass highlight */
.card--green{
  background:linear-gradient(180deg, var(--au-glass-hi), transparent 42px), var(--success-bg);
  border:1px solid var(--au-glass-border); border-radius:var(--au-r-card);
  box-shadow:var(--au-glass-shadow);
}

/* ═══════════ 4 · COMPONENTS ═══════════ */

/* 4.1 topbar */
header.topbar{
  background:var(--au-glass-bg-2);
  -webkit-backdrop-filter:blur(20px) saturate(1.3); backdrop-filter:blur(20px) saturate(1.3);
  border-bottom:1px solid var(--au-hairline);
}
html[data-theme="dark"] header.topbar{ box-shadow:0 4px 20px rgba(0,0,0,.18); }
html[data-theme="dark"] .topbar img.lg{ filter:drop-shadow(0 1px 4px rgba(47,134,214,.35)); }
.topbar .nm{ color:var(--au-ink-strong); letter-spacing:-.01em; }
.topbtn{
  border:1px solid var(--au-edge); border-radius:14px; background:var(--au-glass-bg);
  -webkit-backdrop-filter:blur(var(--au-glass-blur)); backdrop-filter:blur(var(--au-glass-blur));
}
.topbtn__badge{ box-shadow:0 0 0 2px var(--app-bg), 0 0 10px rgba(185,58,46,.6); }
/* au-lite / no-filter reset for the two always-on blur bars */
html.au-lite header.topbar, html.au-lite nav.tabbar{ background:var(--au-glass-bg-2); }

/* 4.2 tabbar / tabs — keep the base per-tab colour pills as the single indicator */
nav.tabbar{
  background:var(--au-glass-bg-2);
  -webkit-backdrop-filter:blur(22px) saturate(1.3); backdrop-filter:blur(22px) saturate(1.3);
  border-top:1px solid var(--au-hairline);
}
html[data-theme="dark"] nav.tabbar{ box-shadow:0 -8px 30px rgba(0,0,0,.35); }
.tab[aria-selected="true"]{ color:var(--au-ink-strong); }
.tab[aria-selected="true"] .tab-label{ font-weight:700; }
.tab[aria-selected="true"] .ic{ transform:translateY(-2px); }

/* 4.3 greeting .hello — brand blue, living, white tagline (AA on blue) */
.hello{
  border-radius:var(--au-r-hero);
  background:
    radial-gradient(120% 120% at 100% -30%, rgba(111,178,59,.22), transparent 55%),
    linear-gradient(135deg,#2F86D6,#1F5FA8 70%);
  border:1px solid rgba(255,255,255,.14);
}
html[data-theme="dark"] .hello{ box-shadow:var(--au-glow-blue); }
.hello__hi{ color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.25); }
.hello__sub{ color:#fff; opacity:1; font-weight:700; text-shadow:0 1px 2px rgba(0,0,0,.35); }
.hello-ava{ border:2px solid rgba(255,255,255,.55); box-shadow:0 4px 14px rgba(0,0,0,.3); }

/* 4.4 on-shift card — keep the base green gradient FRAME, add a soft green glow only */
.onshift{
  box-shadow:var(--au-glass-shadow), 0 10px 34px rgba(111,178,59,.22);
}
.onshift__timer, html[data-theme="dark"] .onshift__timer{
  font-size:48px; font-variant-numeric:tabular-nums;
  background:none; -webkit-text-fill-color:var(--au-ink-strong); color:var(--au-ink-strong);
}
html[data-theme="dark"] .onshift__timer{ text-shadow:0 0 18px rgba(111,178,59,.28); }

/* 4.5 next-shift .card--accent — flat rail by default; glow reserved for the Home next-shift */
.card--accent{ position:relative; border-inline-start:1px solid var(--au-glass-border); }
.card--accent::after{ content:""; position:absolute; inset-inline-start:0; top:14px; bottom:14px; width:4px;
  border-radius:4px; background:var(--au-accent-grad); box-shadow:none; }
#home-state .card--accent::after{ box-shadow:2px 0 12px rgba(47,134,214,.4); }
#home-count{ font-variant-numeric:tabular-nums; }

/* 4.6 quality score card — the signature: score number lives INSIDE a big glowing ring */
#home-score .card{ box-shadow:var(--au-glass-shadow), var(--au-glow-blue);
  position:relative; overflow:visible; min-height:138px; padding-inline-end:132px; }
@supports not ((-webkit-background-clip:text) or (background-clip:text)){
  #hs-n.grad-num{ color:var(--ink)!important; -webkit-text-fill-color:var(--ink)!important; }
  #me-score-n.grad-num--onblue{ color:#fff!important; -webkit-text-fill-color:#fff!important; }
}
.au-ring-wrap{ position:absolute; right:14px; top:50%; transform:translateY(-50%);
  width:110px; height:110px; display:grid; place-items:center; z-index:1; pointer-events:none; }
.au-ring{ position:absolute; inset:0; width:110px; height:110px; }
.au-ring__track{ stroke:var(--au-ring-track); }
.au-ring__fill{ filter:drop-shadow(var(--au-ring-glow)); }   /* JS strips this during the draw */
.au-ring-num{ position:relative; z-index:2; font-family:var(--display); font-weight:800;
  font-size:16px; line-height:1; letter-spacing:-.02em; text-align:center; }
.au-ring-num #hs-n{ display:block; font-size:32px; letter-spacing:-.04em; }
/* narrow phones (360px): shrink the ring + reserved gutter so the rank/eligibility text isn't crushed */
@media (max-width:380px){
  #home-score .card{ padding-inline-end:112px; }
  .au-ring-wrap, .au-ring{ width:92px; height:92px; right:12px; }
}
.au-ring-num .grade__denom{ font-size:12px; opacity:.55; }

/* 4.7 buttons — blue=action, green=go kept distinct; visible focus */
.btn{ transition:transform var(--au-t-press) var(--au-e-spring), box-shadow var(--t-fast,140ms); }
.pressable:active, .btn:active{ transform:scale(.96); }
.btn--primary, .btn--hero{ background:var(--au-blue-grad); box-shadow:0 6px 18px rgba(47,134,214,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--go{ background:var(--au-green-grad); box-shadow:0 6px 18px rgba(111,178,59,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--danger{ background:var(--au-danger); box-shadow:none; border:1px solid rgba(255,255,255,.15); }
.btn--ghost{ background:transparent; border:1px solid var(--au-edge); }
.btn--ghost:active{ background:var(--au-glass-bg); }
.btn:focus-visible, .pressable:focus-visible{ outline:3px solid var(--focus); outline-offset:2px; box-shadow:0 0 0 1px var(--app-bg); }

/* 4.8 base card discipline — no accent glow on plain cards; flat green rail on --green */
.card--green{ position:relative; }
.card--green::after{ content:""; position:absolute; inset-inline-start:0; top:14px; bottom:14px; width:4px;
  border-radius:4px; background:var(--au-green-grad); box-shadow:none; }
.thumb{ -webkit-backdrop-filter:none; backdrop-filter:none; }

/* 4.9 pills / status chips — opaque backings so ink stays AA */
.pill{ border-radius:999px; border:1px solid var(--au-glass-border); font-weight:700; }
.pill--go{ background:rgba(111,178,59,.16); color:var(--au-green-d); border-color:rgba(111,178,59,.3); }
html[data-theme="dark"] .pill--go{ color:#B9E58C; }
.pill--wait{ background:var(--warn-bg); color:var(--warn-ink); border-color:rgba(245,166,35,.32); }

/* 4.10 grade badges — semantic colours + dark glow */
html[data-theme="dark"] .grade--pass{ text-shadow:0 0 10px rgba(111,178,59,.4); }
html[data-theme="dark"] .grade--mid{ text-shadow:0 0 10px rgba(245,166,35,.4); }
html[data-theme="dark"] .grade--low{ text-shadow:0 0 10px rgba(185,58,46,.4); }
.grade__denom{ opacity:.6; }

/* 4.11 ME hero / wins / menu rows */
#me-hero .hero{
  border-radius:var(--au-r-hero); border:1px solid rgba(255,255,255,.14); position:relative; overflow:hidden;
  background:
    radial-gradient(120% 120% at 100% -30%, rgba(111,178,59,.20), transparent 55%),
    linear-gradient(135deg,#2F86D6,#1F5FA8 72%);
}
html[data-theme="dark"] #me-hero .hero{ box-shadow:var(--au-glow-blue); }
.hero__avatar{ border:2px solid rgba(255,255,255,.55); box-shadow:0 4px 14px rgba(0,0,0,.3); }
.menu__row .ic{ border:1px solid var(--au-edge); }
.menu__row{ transition:transform var(--au-t-press) var(--au-e-spring), background var(--t-fast,140ms); }
.menu__row:active{ transform:translateX(2px); }
.menu__row .chev{ opacity:.4; }

/* 4.12 sheets */
.scrim.open, .scrim{ background:rgba(6,14,26,.55); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.sheet{ border-radius:var(--au-r-sheet) var(--au-r-sheet) 0 0; border-top:1px solid var(--au-hairline);
  transition:transform 320ms var(--au-e-spring); }
html[data-theme="dark"] .sheet{ box-shadow:0 -16px 50px rgba(0,0,0,.45); }
.sheet__grip{ background:rgba(180,205,245,.55); height:6px; }

/* 4.13 skeletons — match new radius (keep base shimmer) */
.skel{ border-radius:var(--au-r-card); }

/* 4.14 login — signature first impression: photo hero + legibility scrim + glass plate.
   Text sits ONLY on the plate, so contrast is measured against the plate, never the photo. */
#login-screen{ position:relative; overflow:hidden; --au-login-photo:url('login-maastricht.jpg'); }
#login-screen::before{                          /* hero: real photo (var set by JS) with gradient fallback */
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(9,17,30,.32) 0%, rgba(9,17,30,.72) 100%),
    var(--au-login-photo, radial-gradient(120% 90% at 80% -10%, #3f9e6a 0%, transparent 55%)),
    linear-gradient(150deg,#2F86D6 0%,#1F5FA8 55%,#123f73 100%);
  background-size:cover; background-position:center;
}
html[data-theme="light"] #login-screen::before{
  background:
    linear-gradient(180deg, rgba(9,17,30,.28) 0%, rgba(9,17,30,.60) 100%),
    var(--au-login-photo, radial-gradient(120% 90% at 80% -10%, #3f9e6a 0%, transparent 55%)),
    linear-gradient(150deg,#2F86D6 0%,#1F5FA8 55%,#123f73 100%);
  background-size:cover; background-position:center;
}
#login-screen .login{
  position:relative; z-index:1; margin-top:14vh;
  background:linear-gradient(180deg, rgba(255,255,255,.14), transparent 60px), var(--au-glass-bg);
  border:1px solid var(--au-glass-border); border-radius:var(--au-r-hero);
  box-shadow:0 30px 70px -30px rgba(0,0,0,.6), var(--au-glass-shadow);
  -webkit-backdrop-filter:blur(20px) saturate(1.3); backdrop-filter:blur(20px) saturate(1.3);
  padding-top:calc(env(safe-area-inset-top,0px) + 30px);
}
/* the plate is dark glass in BOTH themes (it floats on a dark hero) so text stays light-on-dark */
#login-screen .login{ --plate-ink:#F1F7FF; }
.login h1{ color:var(--plate-ink); }
.login__sub{ color:rgba(241,247,255,.82); }
.login__privacy{ color:rgba(241,247,255,.62); }
#login-screen .login, html[data-theme="light"] #login-screen .login{
  background:linear-gradient(180deg, rgba(150,190,240,.14), transparent 60px), rgba(20,32,52,.72);
  border-color:rgba(150,190,240,.18);
}
.login__logo{ box-shadow:0 10px 30px -8px rgba(47,134,214,.7), 0 0 0 1px rgba(255,255,255,.12); }
.login .field label{ color:rgba(241,247,255,.9); }
.login .input{ background:rgba(9,17,30,.35); border-color:rgba(150,190,240,.28); color:#fff; }
.login .help{ color:rgba(241,247,255,.7); }
.login__lang .lang-lbl, .login .login-lang-lbl{ color:rgba(241,247,255,.8) !important; }

/* ═══════════ 5 · SIGNATURE MOTION ═══════════ */
/* hero shimmer sweep (once on enter) */
.au-sheen{ position:absolute; inset:0; overflow:hidden; border-radius:inherit; pointer-events:none; z-index:1; }
.au-sheen::after{ content:""; position:absolute; top:-20%; left:0; width:45%; height:140%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform:translateX(-160%) skewX(-18deg); }
.au-sheen.au-run::after{ animation:auSheen 900ms var(--au-e-glide) 1; }
@keyframes auSheen{ to{ transform:translateX(240%) skewX(-18deg) } }

/* clock-in bloom (one green ring) */
.au-bloom{ position:absolute; border-radius:50%; border:2.5px solid var(--au-green);
  pointer-events:none; z-index:2; opacity:.5; }
.au-bloom.au-run{ animation:auBloom 620ms var(--au-e-glide) 1 forwards; }
@keyframes auBloom{ from{ transform:scale(.6); opacity:.5 } to{ transform:scale(1.5); opacity:0 } }

/* pass-mark halo flare on the ring */
.au-ring.au-flare{ animation:auFlare 700ms var(--au-e-glide) 1; }
@keyframes auFlare{ 0%{ filter:drop-shadow(0 0 0 rgba(111,178,59,0)) } 40%{ filter:drop-shadow(0 0 16px rgba(111,178,59,.8)) } 100%{ filter:drop-shadow(var(--au-ring-glow)) } }

/* card stagger (reuse cardIn via existing .anim-in) */
.tab-panel.anim-in > *{ animation-delay:calc(var(--au-i,0) * 45ms); }

/* ═══════════ 5.5 · BOLDER PASS (dark-forward drama) ═══════════ */

/* Home stat duo — glanceable "hours today / photos this month", big gradient numerals */
.au-stats{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0 2px; }
.au-stat{ position:relative; overflow:hidden; padding:15px 16px;
  background:linear-gradient(180deg, var(--au-glass-hi), transparent 42px), var(--au-glass-bg);
  border:1px solid var(--au-glass-border); border-radius:var(--au-r-card); box-shadow:var(--au-glass-shadow);
  -webkit-backdrop-filter:blur(var(--au-glass-blur)) saturate(1.25); backdrop-filter:blur(var(--au-glass-blur)) saturate(1.25); }
html[data-theme="dark"] .au-stat{ box-shadow:var(--au-glass-shadow), 0 0 26px rgba(47,134,214,.14); }
html[data-theme="dark"] .au-stat--green{ box-shadow:var(--au-glass-shadow), 0 0 26px rgba(111,178,59,.16); }
.au-stat__n{ font-family:var(--display); font-weight:800; font-size:32px; line-height:1; letter-spacing:-.04em;
  background:var(--au-blue-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-stat--green .au-stat__n{ background:var(--au-green-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-stat__k{ font-size:12px; color:var(--ink-2); font-weight:600; margin-top:7px; display:flex; align-items:center; gap:6px; }
.au-stat__k svg{ width:14px; height:14px; opacity:.85; }
.au-stat::after{ content:""; position:absolute; top:-40px; right:-40px; width:90px; height:90px; border-radius:50%;
  background:radial-gradient(circle, rgba(74,163,232,.22), transparent 70%); pointer-events:none; }
.au-stat--green::after{ background:radial-gradient(circle, rgba(111,178,59,.24), transparent 70%); }

/* site building photo — banner at the top of the on-shift / next-shift card */
.au-sitephoto{ position:relative; display:block; margin:-18px -18px 16px; height:130px; overflow:hidden;
  border-radius:var(--au-r-card) var(--au-r-card) 0 0; background:#0e1c31; }
.au-sitephoto img{ width:100%; height:100%; object-fit:cover; display:block; }
.au-sitephoto::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 52%, rgba(6,12,22,.58) 100%); }
.au-sitephoto .lbl{ position:absolute; left:14px; bottom:10px; z-index:1; color:#fff;
  font-family:var(--display,inherit); font-weight:800; font-size:15px; letter-spacing:-.01em;
  display:inline-flex; align-items:center; gap:6px; text-shadow:0 1px 6px rgba(0,0,0,.6); }
.au-sitephoto--sheet{ margin:2px 0 14px; height:160px; border-radius:16px; }
.au-sitephoto .tag{ position:absolute; right:12px; top:12px; z-index:1; font-size:10.5px; font-weight:800;
  letter-spacing:.08em; text-transform:uppercase; color:#eaf2fb; background:rgba(6,12,22,.55);
  border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:4px 10px; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }

/* score ring — breathing halo, colour matched to pass state (var set by JS) */
.au-ring-wrap::before{ content:""; position:absolute; inset:-6px; border-radius:50%; z-index:0;
  background:radial-gradient(circle, var(--au-ring-c, rgba(111,178,59,.45)) 0%, transparent 66%); opacity:.5; }
@media (prefers-reduced-motion:no-preference){
  html[data-theme="dark"] .au-ring-wrap::before{ animation:auBreathe 3.4s ease-in-out infinite; }
}
@keyframes auBreathe{ 0%,100%{ opacity:.3; transform:scale(.94) } 50%{ opacity:.72; transform:scale(1.06) } }

/* greeting hero — a real moment: bigger glow + soft title glow in dark */
html[data-theme="dark"] .hello{ box-shadow:var(--au-glow-blue), 0 20px 50px -20px rgba(31,95,168,.6); }
html[data-theme="dark"] .hello__hi{ text-shadow:0 2px 18px rgba(10,20,40,.5); }

/* working-now card — living green glow */
html[data-theme="dark"] .onshift{ box-shadow:var(--au-glass-shadow), 0 0 44px rgba(111,178,59,.30); }
@media (prefers-reduced-motion:no-preference){
  html[data-theme="dark"] .onshift__timer{ animation:auTimerGlow 3.6s ease-in-out infinite; }
}
@keyframes auTimerGlow{ 0%,100%{ text-shadow:0 0 14px rgba(111,178,59,.22) } 50%{ text-shadow:0 0 26px rgba(111,178,59,.45) } }

/* area icons — colourful gradient tile prepended to every task/zone chip */
.au-ai{ flex:none; width:36px; height:36px; border-radius:11px; display:inline-grid; place-items:center;
  margin-inline-end:8px; box-shadow:0 4px 12px -2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.28); }
.au-ai svg{ width:21px; height:21px; stroke:#fff; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
#home-tasks .chip[data-au-ai], #photos-take .chip[data-au-ai]{ padding:8px 16px 8px 8px; font-size:15px; }
.au-ai--blue{ background:linear-gradient(135deg,#4AA3E8,#1F5FA8); }
.au-ai--sky{ background:linear-gradient(135deg,#5BC8F5,#2F86D6); }
.au-ai--teal{ background:linear-gradient(135deg,#4FD1C5,#0E9488); }
.au-ai--green{ background:linear-gradient(135deg,#7CC24A,#4E9A2A); }
.au-ai--amber{ background:linear-gradient(135deg,#FFC24B,#E8890C); }
.au-ai--violet{ background:linear-gradient(135deg,#A78BFA,#6D4ACF); }
.au-ai--slate{ background:linear-gradient(135deg,#94A3B8,#475569); }
.chip[data-au-ai], .zchip[data-au-ai]{ align-items:center; padding-inline-start:6px; }
/* the plain empty checkbox is redundant once an area icon leads the chip (keep the ✓ on done chips) */
.chip[data-au-ai]:not(.chip--done) .chip__box{ display:none; }

/* ═══════════ 5.6 · MY HOURS ═══════════ */
.au-hrs-head{ display:flex; align-items:center; gap:8px; margin:6px 0 14px; }
.au-hrs-arrow{ width:38px; height:38px; flex:none; border-radius:12px; border:1px solid var(--au-edge);
  background:var(--au-glass-bg); color:var(--ink); display:grid; place-items:center; cursor:pointer; transition:.2s; }
.au-hrs-arrow:hover{ background:var(--au-glass-bg-2); } .au-hrs-arrow[disabled]{ opacity:.35; cursor:default; }
.au-hrs-arrow svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2; }
.au-hrs-month{ flex:1; text-align:center; font-family:var(--display); font-weight:800; font-size:18px; letter-spacing:-.02em; }

.au-hrs-hero{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2px; border-radius:var(--au-r-card); overflow:hidden;
  background:linear-gradient(135deg,#2F86D6,#1F5FA8 75%); border:1px solid rgba(255,255,255,.14); }
html[data-theme="dark"] .au-hrs-hero{ box-shadow:var(--au-glow-blue); }
.au-hrs-stat{ padding:15px 14px; text-align:center; }
.au-hrs-stat:not(:first-child){ background:rgba(255,255,255,.06); }
.au-hrs-stat__n{ font-family:var(--display); font-weight:800; font-size:30px; line-height:1; letter-spacing:-.04em; color:#fff; }
.au-hrs-stat__n small{ font-size:15px; font-weight:800; opacity:.8; margin-inline-start:1px; }
.au-hrs-stat__k{ font-size:11.5px; color:rgba(255,255,255,.82); font-weight:600; margin-top:6px; }

.au-hrs-chart-wrap{ margin-top:16px; }
.au-hrs-chart-t{ font-size:12px; font-weight:800; letter-spacing:.02em; color:var(--ink-2); margin-bottom:9px; text-transform:uppercase; }
.au-hrs-chart{ display:flex; align-items:flex-end; gap:2px; height:78px; padding:0 1px; }
.au-hrs-bar{ flex:1; min-width:0; display:flex; align-items:flex-end; height:100%; }
.au-hrs-bar__fill{ width:100%; border-radius:3px 3px 2px 2px; min-height:2px; background:var(--surface-sunk);
  transition:height .5s var(--au-e-glide, cubic-bezier(.16,.84,.44,1)); }
.au-hrs-bar--on .au-hrs-bar__fill{ background:linear-gradient(180deg,#5BC8F5,#2F86D6); }
.au-hrs-bar--today .au-hrs-bar__fill{ background:linear-gradient(180deg,#8FD65A,#4E9A2A); box-shadow:0 0 10px rgba(111,178,59,.5); }
.au-hrs-xlabels{ display:flex; justify-content:space-between; font-size:10px; color:var(--ink-2); font-weight:700; margin-top:6px; }

.au-hrs-wk{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); margin:18px 2px 6px; }
.au-hrs-day{ display:flex; align-items:center; gap:12px; padding:12px 14px; margin-top:8px;
  background:var(--au-glass-bg); border:1px solid var(--au-glass-border); border-radius:var(--au-r-card); }
.au-hrs-day__cal{ width:44px; flex:none; text-align:center; }
.au-hrs-day__cal .d{ font-family:var(--display); font-weight:800; font-size:20px; line-height:1; }
.au-hrs-day__cal .w{ font-size:10px; font-weight:700; color:var(--ink-2); text-transform:uppercase; margin-top:2px; }
.au-hrs-day--today .au-hrs-day__cal .d{ color:var(--au-green-d); }
.au-hrs-day__mid{ flex:1; min-width:0; }
.au-hrs-day__site{ font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.au-hrs-day__sub{ font-size:12px; color:var(--ink-2); margin-top:2px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.au-hrs-day__h{ font-family:var(--display); font-weight:800; font-size:18px; letter-spacing:-.02em; flex:none;
  background:var(--au-blue-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-hrs-gchip{ font-size:11px; font-weight:800; padding:2px 8px; border-radius:999px; }
.au-hrs-empty{ text-align:center; padding:36px 16px; color:var(--ink-2); }
.au-hrs-empty .big{ width:64px; height:64px; margin:0 auto 12px; border-radius:18px; display:grid; place-items:center; background:var(--surface-sunk); }

/* My Hours — extras */
.au-hrs-topbar{ display:flex; justify-content:center; margin:2px 0 12px; }
.au-hrs-yearbtn{ display:inline-flex; align-items:center; gap:7px; font-family:var(--body); font-weight:800; font-size:12.5px;
  color:var(--action); background:var(--info-bg); border:1px solid rgba(47,134,214,.28); border-radius:999px; padding:8px 15px; cursor:pointer; }
.au-hrs-yearbtn svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; }
.au-hrs-delta{ text-align:center; font-size:13px; font-weight:700; margin:11px 2px 0; color:var(--ink-2); }
.au-hrs-delta b{ font-family:var(--display); }
.au-hrs-delta .up{ color:var(--au-green-d,#4E9A2A); }
.au-hrs-chips{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:12px; }
.au-hrs-chip{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:800; padding:7px 13px; border-radius:999px;
  background:var(--au-glass-bg); border:1px solid var(--au-glass-border); }
.au-hrs-chip svg{ width:15px; height:15px; }
.au-hrs-seg{ display:flex; gap:4px; background:var(--surface-sunk); border-radius:999px; padding:4px; margin:20px 0 2px; }
.au-hrs-seg button{ flex:1; font-family:var(--body); font-weight:800; font-size:13px; border:0; background:transparent; color:var(--ink-2); border-radius:999px; padding:9px; cursor:pointer; transition:.2s; }
.au-hrs-seg button.on{ background:var(--surface); color:var(--action); box-shadow:var(--e-1); }
html[data-theme="dark"] .au-hrs-seg button.on{ background:var(--au-glass-bg-2); color:#8FD6FF; }
.au-hrs-site{ display:flex; align-items:center; gap:12px; padding:13px 14px; margin-top:8px; background:var(--au-glass-bg); border:1px solid var(--au-glass-border); border-radius:var(--au-r-card); }
.au-hrs-site__mid{ flex:1; min-width:0; }
.au-hrs-site__name{ font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.au-hrs-site__sub{ font-size:12px; color:var(--ink-2); margin-top:1px; }
.au-hrs-site__bar{ height:7px; border-radius:6px; background:var(--surface-sunk); overflow:hidden; margin-top:7px; }
.au-hrs-site__bar i{ display:block; height:100%; border-radius:6px; background:var(--au-blue-grad); }
.au-hrs-site__h{ font-family:var(--display); font-weight:800; font-size:17px; flex:none; background:var(--au-blue-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-auto{ display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:800; color:var(--warn-ink,#8A5000); background:var(--warn-bg); border-radius:999px; padding:2px 8px; }
html[data-theme="dark"] .au-auto{ color:#F2C879; }

/* day row → tappable to check/fix; status chip when a request is open */
.au-hrs-day{ cursor:pointer; }
.au-hrs-day__chk{ flex:none; color:var(--ink-3); }
.au-hrs-day__chk svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; }
.au-hrs-status{ display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:800; padding:2px 8px; border-radius:999px; }
.au-hrs-status--wait{ color:var(--warn-ink,#8A5000); background:var(--warn-bg); }
.au-hrs-status--ok{ color:var(--au-green-d,#4E9A2A); background:var(--success-bg); }
html[data-theme="dark"] .au-hrs-status--wait{ color:#F2C879; }
.au-hrs-addbtn{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:14px; padding:14px;
  border:1.5px dashed var(--au-edge); border-radius:var(--au-r-card); background:transparent; color:var(--action);
  font-family:var(--body); font-weight:800; font-size:14px; cursor:pointer; }
.au-hrs-addbtn svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2; }

/* fix sheet */
.au-fix-shift{ display:flex; align-items:center; gap:12px; padding:13px 14px; margin:10px 0 4px; border-radius:var(--au-r-card);
  background:var(--surface-sunk); }
.au-fix-shift__d{ font-family:var(--display); font-weight:800; font-size:19px; text-align:center; width:44px; flex:none; line-height:1; }
.au-fix-shift__d small{ display:block; font-size:10px; font-weight:700; color:var(--ink-3); text-transform:uppercase; margin-top:2px; }
.au-fix-shift__mid b{ font-size:14px; } .au-fix-shift__mid div{ font-size:12.5px; color:var(--ink-2); margin-top:2px; }
.au-fix-lbl{ font-size:12.5px; font-weight:800; color:var(--ink-2); margin:16px 2px 8px; }
.au-fix-reasons{ display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.au-fix-reason{ display:flex; align-items:center; gap:9px; padding:13px 12px; border-radius:var(--au-r-card); text-align:start;
  border:1.5px solid var(--au-glass-border); background:var(--au-glass-bg); color:var(--ink); font-family:var(--body); font-weight:700; font-size:13px; cursor:pointer; transition:.15s; }
.au-fix-reason.on{ border-color:var(--action); background:var(--info-bg); color:var(--action); }
.au-fix-reason .e{ width:30px; height:30px; flex:none; border-radius:9px; display:grid; place-items:center; }
.au-fix-reason .e svg{ width:17px; height:17px; stroke:#fff; fill:none; stroke-width:1.9; }
.au-fix-fields{ margin-top:6px; }
.au-fix-time{ display:flex; gap:10px; }
.au-fix-time .f{ flex:1; }
.au-fix-time label, .au-fix-note label{ display:block; font-size:12px; font-weight:700; color:var(--ink-2); margin-bottom:5px; }
.au-fix input[type=time], .au-fix input[type=date], .au-fix .select, .au-fix textarea{ width:100%; font:inherit; font-weight:700;
  padding:12px; border:1px solid var(--line-strong); border-radius:var(--r-md,14px); background:var(--surface); color:var(--ink); min-height:50px; }
.au-fix textarea{ min-height:70px; resize:none; font-weight:500; }
.au-fix-note{ margin-top:12px; }
.au-fix-send{ margin-top:16px; }
/* no-typing time stepper */
.au-step{ margin-top:16px; }
.au-step > label{ display:block; font-size:12.5px; font-weight:700; color:var(--ink-2); margin-bottom:6px; text-align:center; }
.au-step__val{ font-family:var(--display); font-weight:800; font-size:38px; letter-spacing:-.02em; text-align:center; line-height:1;
  background:var(--au-blue-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-step__chips{ display:flex; gap:7px; justify-content:center; margin-top:10px; flex-wrap:wrap; }
.au-step__chips button{ font-family:var(--body); font-weight:800; font-size:13.5px; padding:10px 13px; border-radius:999px;
  border:1px solid var(--line-strong); background:var(--surface); color:var(--action); cursor:pointer; min-width:54px; transition:transform .1s; }
.au-step__chips button:active{ transform:scale(.92); }
.au-fix-recorded{ text-align:center; font-size:11.5px; color:var(--ink-2); font-weight:700; margin-top:14px; }
.au-fix-readback{ text-align:center; font-size:13.5px; font-weight:700; margin-top:6px; color:var(--ink-2); line-height:1.6; }
.au-fix-readback b{ font-family:var(--display); }
.au-fix-readback .up{ color:var(--au-green-d,#4E9A2A); } .au-fix-readback .dn{ color:var(--warn-ink,#8A5000); }
html[data-theme="dark"] .au-fix-readback .dn{ color:#F2C879; }
.au-fix-reassure{ display:flex; gap:8px; align-items:flex-start; text-align:start; font-size:12.5px; color:var(--ink-2);
  background:var(--info-bg); border-radius:var(--au-r-card); padding:11px 13px; margin-top:16px; line-height:1.45; }

/* Year heatmap ("Your Year") */
.au-yr-back{ display:inline-flex; align-items:center; gap:6px; font-family:var(--body); font-weight:800; font-size:13.5px; color:var(--action); background:none; border:0; cursor:pointer; padding:6px 0; }
.au-yr-back svg{ width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:2.2; }
.au-yr-total{ text-align:center; margin:6px 0 16px; }
.au-yr-total .n{ font-family:var(--display); font-weight:800; font-size:36px; letter-spacing:-.03em; background:var(--au-blue-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.au-yr-total .n small{ font-size:17px; }
.au-yr-total .k{ font-size:12.5px; color:var(--ink-2); font-weight:600; margin-top:2px; }
.au-yr-mon{ margin-bottom:16px; }
.au-yr-mon__head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:7px; cursor:pointer; }
.au-yr-mon__m{ font-family:var(--display); font-weight:800; font-size:15px; }
.au-yr-mon__h{ font-size:12.5px; font-weight:800; color:var(--action); }
.au-yr-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.au-yr-cell{ aspect-ratio:1; border-radius:4px; background:var(--surface-sunk); }
.au-yr-cell.pad{ background:transparent; }
.au-yr-cell.l1{ background:rgba(47,134,214,.32); }
.au-yr-cell.l2{ background:rgba(47,134,214,.58); }
.au-yr-cell.l3{ background:linear-gradient(135deg,#4AA3E8,#1F5FA8); }
.au-yr-cell.l4{ background:linear-gradient(135deg,#8FD65A,#4E9A2A); }
.au-yr-legend{ display:flex; align-items:center; justify-content:center; gap:6px; font-size:11px; color:var(--ink-2); font-weight:700; margin-top:6px; }
.au-yr-legend i{ width:12px; height:12px; border-radius:3px; display:inline-block; }

/* ═══════════ 5.7 · PRODUCT TOUR (spotlight walkthrough) ═══════════ */
.au-tour-dim{ position:fixed; inset:0; z-index:3000; background:transparent; }
.au-tour-hole{ position:fixed; z-index:3001; border-radius:16px; pointer-events:auto; cursor:pointer;
  box-shadow:0 0 0 9999px rgba(6,12,22,.74), 0 0 0 2px rgba(120,200,255,.55), 0 0 26px 4px rgba(47,134,214,.35);
  transition:top .38s var(--au-e-glide), left .38s var(--au-e-glide), width .38s var(--au-e-glide), height .38s var(--au-e-glide); }
.au-tour-card{ position:fixed; z-index:3003; width:min(330px,88vw);
  background:linear-gradient(180deg, rgba(150,190,240,.12), transparent 60px), rgba(18,30,50,.9);
  border:1px solid rgba(150,190,240,.2); border-radius:20px; color:#F1F7FF;
  box-shadow:0 24px 60px rgba(0,0,0,.55); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  padding:18px 18px 16px; transition:top .38s var(--au-e-glide), left .38s var(--au-e-glide); }
.au-tour-card .au-tour-step{ font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#7fb0e0; margin-bottom:7px; }
.au-tour-card h4{ font-family:var(--display,inherit); font-weight:800; font-size:19px; letter-spacing:-.02em; margin:0 0 6px; }
.au-tour-card p{ margin:0 0 15px; font-size:14px; line-height:1.5; color:rgba(241,247,255,.82); }
.au-tour-foot{ display:flex; align-items:center; gap:9px; }
.au-tour-dots{ display:flex; gap:5px; margin-right:auto; }
.au-tour-dots i{ width:6px; height:6px; border-radius:50%; background:rgba(150,190,240,.28); transition:.3s; }
.au-tour-dots i.on{ background:#5BC8F5; width:17px; border-radius:3px; }
.au-tour-btn{ font-family:inherit; font-weight:800; font-size:13px; border-radius:11px; padding:10px 16px; cursor:pointer;
  border:1px solid rgba(150,190,240,.34); background:transparent; color:#F1F7FF; transition:.2s; }
.au-tour-btn:hover{ background:rgba(150,190,240,.12); }
.au-tour-btn--pri{ background:linear-gradient(135deg,#4AA3E8,#1F5FA8); color:#fff; border:0; box-shadow:0 8px 20px -8px rgba(47,134,214,.9); }
.au-tour-skip{ position:fixed; z-index:3003; top:calc(env(safe-area-inset-top,0px) + 16px); right:16px;
  font-family:inherit; font-weight:800; font-size:13.5px; color:#eaf2fb; background:rgba(18,30,50,.9); border:1.5px solid rgba(150,190,240,.4);
  border-radius:999px; padding:10px 17px; cursor:pointer; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  box-shadow:0 8px 22px -8px rgba(0,0,0,.6); display:inline-flex; align-items:center; gap:7px; }
.au-tour-skip:hover{ background:rgba(30,46,72,.95); }
.au-tour-card, .au-tour-hole, .au-tour-skip{ animation:auTourIn .3s var(--au-e-glide) both; }
@keyframes auTourIn{ from{ opacity:0 } to{ opacity:1 } }
@media (prefers-reduced-motion:reduce){ .au-tour-hole, .au-tour-card{ transition:none } }

/* ═══════════ 7 · VIVID (owner-picked direction 2, 2026-07-08) ═══════════
   Glossy candy-3D language: deep indigo ground, specular gloss on every icon
   tile, glossy gradient buttons, gradient timer + ring. Light mode stays
   bright + matte (blur off) — tiles/buttons carry the colour there. */

/* 7.1 ground — deep indigo + a third (pink) aurora hue in dark */
html[data-theme="dark"]{
  --app-bg:#0C102A; --au-bg-base:#0C102A;
  --au-aurora-1:rgba(84,140,255,.44);
  --au-aurora-2:rgba(64,220,150,.30);
  --au-aurora-3:rgba(255,110,190,.30);
  --au-glass-bg:rgba(28,36,70,.62);
  --au-glass-bg-2:rgba(32,42,80,.72);
  --au-glass-border:rgba(150,170,255,.17);
  --au-hairline:rgba(160,180,255,.15);
  --au-ring-track:rgba(160,180,255,.17);
}
html[data-theme="dark"] header.topbar, html[data-theme="dark"] nav.tabbar{
  background:rgba(19,25,55,.88); border-color:rgba(160,180,255,.14);
}
html.au-lite[data-theme="dark"] header.topbar, html.au-lite[data-theme="dark"] nav.tabbar{
  background:rgba(19,25,55,.97);
}

/* 7.2 candy gradients — richer 3-stop paints over the base 2-stop tiles */
.ic--tint-blue,   .gtile--blue,   .au-ai--blue  { background:linear-gradient(165deg,#6BB7F7,#2F86D6 55%,#1B5C9F); }
.ic--tint-green,  .gtile--green,  .au-ai--green { background:linear-gradient(165deg,#8CD65B,#62A930 55%,#47821F); }
.ic--tint-amber,  .gtile--amber,  .au-ai--amber { background:linear-gradient(165deg,#FFCB5C,#F0980F 55%,#C4770A); }
.ic--tint-teal,   .gtile--teal,   .au-ai--teal  { background:linear-gradient(165deg,#56E0D0,#14B8A8 55%,#0B7C72); }
.ic--tint-indigo, .ic--tint-violet, .gtile--violet, .au-ai--violet{ background:linear-gradient(165deg,#B39BFF,#7C5CFF 55%,#5334D8); }
.ic--tint-pink,   .gtile--pink                  { background:linear-gradient(165deg,#FF9DD0,#F0509E 55%,#C42B78); }
.ic--tint-slate,  .gtile--slate,  .au-ai--slate { background:linear-gradient(165deg,#A9B7CC,#64748B 55%,#43536B); }
.ic--tint-danger                                { background:linear-gradient(165deg,#F98A8D,#D63A3F 55%,#A82227); }
.gtile--sky, .au-ai--sky                        { background:linear-gradient(165deg,#7CD9FF,#38A8EE 55%,#1D7BC0); }

/* 7.3 gloss atom — specular top light + inset depth on EVERY icon tile */
.gtile, [class*="ic--tint-"], .au-ai, .au-tab-tile, .au-stat__t, .au-fix-reason .e{
  position:relative; overflow:hidden;
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.5), inset 0 -3px 5px rgba(0,0,0,.32), 0 6px 14px -5px rgba(0,0,0,.5);
}
.gtile::before, [class*="ic--tint-"]::before, .au-ai::before, .au-tab-tile::before,
.au-stat__t::before, .au-fix-reason .e::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(130% 62% at 50% -6%, rgba(255,255,255,.4), transparent 58%);
}
.gtile > *, [class*="ic--tint-"] > *, .au-ai > *, .au-tab-tile > *, .au-stat__t > *, .au-fix-reason .e > *{ position:relative; }
.menu__row .ic{ border:0; border-radius:12px; }
.au-ai{ border-radius:12px; }
/* area artwork (real photo / 3D icon) fills the whole tile, clipped to its rounded corners.
   Bigger than a plain glyph tile so the real room photos are readable at a glance. */
.au-ai.au-haspix{ position:relative; overflow:hidden; width:80px; height:80px; border-radius:18px; }
.au-pix-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; z-index:2; }
/* the zone rail is a tight horizontal strip — keep those a touch smaller */
.zchip .au-ai.au-haspix{ width:56px; height:56px; border-radius:15px; }

/* zone hero — a BIG photo of the area to shoot, right above the capture button in the zone-guided
   flow, so "what to photograph" is unmissable (the strip chips stay small as a progress tracker). */
.zhero{ position:relative; display:block; width:100%; aspect-ratio:16/10; border:0; padding:0; margin:6px 0 12px;
  border-radius:20px; overflow:hidden; background:var(--surface-sunk); cursor:pointer; -webkit-tap-highlight-color:transparent; }
.zhero__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.zhero__ov{ position:absolute; left:0; right:0; bottom:0; display:flex; flex-direction:column; gap:2px; align-items:flex-start;
  padding:16px 16px 16px; text-align:left; color:#fff;
  background:linear-gradient(180deg, rgba(11,20,14,0) 0%, rgba(11,20,14,.36) 46%, rgba(11,20,14,.86) 100%); }
.zhero__k{ font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; opacity:.92; }
.zhero__t{ font-size:21px; font-weight:800; line-height:1.15; }
.zhero__cam{ position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; background:rgba(255,255,255,.94); color:var(--action); box-shadow:0 2px 9px rgba(0,0,0,.28); }
.zhero__cam svg{ width:21px; height:21px; }
.zhero:active{ transform:scale(.99); }

/* 7.4 tab bar — glossy jewel tiles ARE the navigation (base pill retired) */
nav.tabbar .tab::before{ display:none; }
.au-tab-tile{
  width:38px; height:38px; border-radius:13px; display:grid; place-items:center; margin-top:2px;
  transition:transform .28s var(--au-e-spring), opacity .2s ease, filter .2s ease, box-shadow .2s ease;
}
.au-tab-tile .ic{ width:21px; height:21px; color:#fff; stroke-width:2; transform:none; }
.tab[aria-selected="true"] .au-tab-tile .ic{ transform:none; }
.au-tab-tile .ic .duo{ opacity:1; }
.au-tab-tile--blue  { background:linear-gradient(165deg,#6BB7F7,#2F86D6 55%,#1B5C9F); }
.au-tab-tile--violet{ background:linear-gradient(165deg,#B39BFF,#7C5CFF 55%,#5334D8); }
.au-tab-tile--green { background:linear-gradient(165deg,#8CD65B,#62A930 55%,#47821F); }
.au-tab-tile--gold  { background:linear-gradient(165deg,#FFCB5C,#F0980F 55%,#C4770A); }
.au-tab-tile--pink  { background:linear-gradient(165deg,#FF9DD0,#F0509E 55%,#C42B78); }
.tab:not([aria-selected="true"]) .au-tab-tile{ opacity:.6; filter:saturate(.45); }
.tab[aria-selected="true"] .au-tab-tile{
  transform:translateY(-2px) scale(1.14);
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.32), 0 10px 20px -6px rgba(0,0,0,.65);
}
.tab{ gap:3px; }
.tab[aria-selected="true"] .tab-label{ color:var(--au-ink-strong); }

/* 7.5 buttons — glossy candy pills (text zone kept on the darker half → AA) */
.btn--go{
  background:linear-gradient(180deg,#8CD65B 0%,#5DA02C 46%,#47821F 100%);
  box-shadow:inset 0 2px 2px rgba(255,255,255,.42), inset 0 -3px 6px rgba(18,52,8,.4), 0 10px 22px -8px rgba(111,178,59,.65);
}
.btn--primary, .btn--hero{
  background:linear-gradient(180deg,#5FAEF0 0%,#2A78C4 46%,#1B5C9F 100%);
  box-shadow:inset 0 2px 2px rgba(255,255,255,.45), inset 0 -3px 6px rgba(10,38,74,.45), 0 10px 22px -8px rgba(47,134,214,.65);
}
.btn--danger{
  background:linear-gradient(180deg,#F5787C 0%,#CF3338 46%,#A82227 100%); border:0;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.38), inset 0 -3px 6px rgba(74,10,12,.45), 0 10px 22px -8px rgba(207,51,56,.55);
}

/* 7.6 on-shift timer — living gradient numerals (dark only; light stays solid ink) */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  html[data-theme="dark"] .onshift__timer{
    background:linear-gradient(115deg,#C4F5A6 0%,#7FE6A8 45%,#7CC4FF 100%);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:#9BD86B;
  }
}

/* 7.7 greeting + Me hero — blue deepens into violet, violet under-glow in dark */
.hello, #me-hero .hero{
  background:
    radial-gradient(130% 140% at 100% -20%, rgba(124,92,255,.48), transparent 55%),
    radial-gradient(110% 120% at -10% 115%, rgba(111,178,59,.24), transparent 55%),
    linear-gradient(140deg,#2E7EC9 0%,#1F5AA5 55%,#38307F 100%);
}
html[data-theme="dark"] .hello{ box-shadow:var(--au-glow-blue), 0 22px 55px -18px rgba(124,92,255,.5); }
html[data-theme="dark"] #me-hero .hero{ box-shadow:var(--au-glow-blue), 0 22px 55px -18px rgba(124,92,255,.5); }

/* 7.8 Home stat duo — glossy icon tile + solid strong numeral (was gradient text) */
.au-stat{ display:flex; align-items:center; gap:12px; padding:13px 14px; }
.au-stat__t{ width:44px; height:44px; border-radius:14px; flex:none; color:#fff; display:grid; place-items:center; }
.au-stat__t--blue{ background:linear-gradient(165deg,#6BB7F7,#2F86D6 55%,#1B5C9F); }
.au-stat__t--gold{ background:linear-gradient(165deg,#FFCB5C,#F0980F 55%,#C4770A); }
.au-stat__t svg{ width:22px; height:22px; }
.au-stat__n, .au-stat--green .au-stat__n{
  font-size:26px; background:none;
  -webkit-text-fill-color:var(--au-ink-strong); color:var(--au-ink-strong);
}
.au-stat__k{ margin-top:3px; }
.au-stat::after, .au-stat--green::after{ display:none; }

/* ═══════════ 8 · REAL 3D ICONS (Recraft set, same family as the website) ═══════════
   A tile with .au-3d holds an <img> 3D icon; the icon brings the colour, so the
   tile itself calms down to soft glass (website .cc-ic pattern). The stock svg
   glyph stays in the DOM as an instant fallback (au3dMount removes .au-3d on error). */
:root{ --au-3d-tile:#EDF3FB; }
html[data-theme="dark"]{ --au-3d-tile:rgba(160,180,255,.13); }
.au-3d{
  background:var(--au-3d-tile);
  border:1px solid var(--au-glass-border);
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.16), 0 6px 14px -6px rgba(0,0,0,.35);
}
.au-3d svg{ display:none; }
.au-3di{ object-fit:contain; display:block; pointer-events:none; }
.au-tab-tile .au-3di{ width:30px; height:30px; }
.au-ai .au-3di{ width:29px; height:29px; }
.au-stat__t .au-3di{ width:41px; height:41px; }
.menu__row .ic.au-3d .au-3di{ width:27px; height:27px; }
/* 3D tabs: gentler resting state (heavy desat reads as "disabled" on real 3D icons) */
.tab:not([aria-selected="true"]) .au-tab-tile.au-3d{ opacity:.8; filter:saturate(.62); }
.tab[aria-selected="true"] .au-tab-tile.au-3d{
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.4), inset 0 -2px 4px rgba(0,0,0,.16),
    0 10px 20px -6px rgba(0,0,0,.5), 0 0 0 1.5px rgba(120,180,255,.35);
}

/* ═══════════ 9 · CANDY PRESS (v3 — ONE idea: every touchable thing is a physical
   3D candy key that presses down, resting on liquid glass. References: Duolingo's
   solid-edge press button, Airbnb Lava's tap-bounce icons, iOS 26 floating dock. */

/* 9.0 key tokens */
:root{
  --au-gloss-in:inset 0 1.5px 2px rgba(255,255,255,.5), inset 0 -2px 4px rgba(0,0,0,.22);
  --au-key-cast:0 8px 16px -8px rgba(0,0,0,.45);
  --au-key-edge:rgba(31,95,168,.22);
  --au-dock-bg:rgba(255,255,255,.94);
  --au-dock-border:rgba(31,95,168,.14);
}
html[data-theme="dark"]{
  --au-key-edge:rgba(4,8,24,.9);
  --au-dock-bg:rgba(22,28,60,.74);
  --au-dock-border:rgba(160,180,255,.2);
}

/* 9.1 THE BUTTON — solid-edge press physics: the face travels down ONTO its edge */
.btn{
  border-radius:18px; position:relative; overflow:hidden;
  transition:transform .09s ease-out, box-shadow .09s ease-out;
  will-change:transform;
}
.btn--go{
  background:linear-gradient(180deg,#8CD65B 0%,#54962B 58%,#4A8722 100%);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.45), 0 5px 0 #38660F, 0 15px 24px -10px rgba(111,178,59,.55);
}
.btn--go:active{
  transform:translateY(4px);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.45), 0 1px 0 #38660F, 0 6px 10px -7px rgba(111,178,59,.45);
}
.btn--primary, .btn--hero{
  background:linear-gradient(180deg,#5FAEF0 0%,#2A78C4 58%,#2069B2 100%);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.5), 0 5px 0 #14477E, 0 15px 24px -10px rgba(47,134,214,.55);
}
.btn--primary:active, .btn--hero:active{
  transform:translateY(4px);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.5), 0 1px 0 #14477E, 0 6px 10px -7px rgba(47,134,214,.45);
}
.btn--danger{
  background:linear-gradient(180deg,#F0777B 0%,#C92F35 58%,#B62329 100%); border:0;
  box-shadow:inset 0 2px 1px rgba(255,255,255,.38), 0 5px 0 #7C1216, 0 15px 24px -10px rgba(201,47,53,.5);
}
.btn--danger:active{
  transform:translateY(4px);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.38), 0 1px 0 #7C1216, 0 6px 10px -7px rgba(201,47,53,.4);
}
.btn--ghost{
  background:var(--au-glass-bg); border:1px solid var(--au-edge);
  box-shadow:0 4px 0 var(--au-key-edge);
}
.btn--ghost:active{ transform:translateY(3px); box-shadow:0 1px 0 var(--au-key-edge); background:var(--au-glass-bg); }

/* the "go" CTA breathes: a shine sweeps across every ~4s */
.btn--go::after{
  content:""; position:absolute; top:-30%; bottom:-30%; left:0; width:34%; pointer-events:none;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform:translateX(-220%) skewX(-16deg);
  animation:auBtnShine 4.4s ease-in-out infinite;
}
@keyframes auBtnShine{ 0%,74%{ transform:translateX(-220%) skewX(-16deg) } 90%,100%{ transform:translateX(480%) skewX(-16deg) } }

/* 9.2 THE DOCK — the tab bar becomes a floating liquid-glass tray */
nav.tabbar, html[data-theme="dark"] nav.tabbar, html.au-lite nav.tabbar{
  background:linear-gradient(180deg, rgba(244,248,253,0) 0%, rgba(244,248,253,.88) 46%, #F4F8FD 100%);
  border-top:0; box-shadow:none;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
html[data-theme="dark"] nav.tabbar, html[data-theme="dark"].au-lite nav.tabbar{
  background:linear-gradient(180deg, rgba(12,16,42,0) 0%, rgba(12,16,42,.9) 46%, #0C102A 100%);
}
.tabbar .rail{
  margin:4px 12px 6px; padding:4px 6px; border-radius:26px;
  background:var(--au-dock-bg);
  border:1px solid var(--au-dock-border);
  box-shadow:0 22px 44px -16px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4);
}
html.au-lite .tabbar .rail, html[data-theme="light"] .tabbar .rail{
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
html[data-theme="dark"].au-lite .tabbar .rail{ background:rgba(22,28,60,.97); }
.tab{ min-height:56px; padding:5px 2px 4px; }
.tab .au-tab-tile{ margin-top:0; }
.tab-label{ font-size:10.5px; }

/* 9.3 CANDY KEYS — icon tiles are pressable keys with a solid edge */
.au-tab-tile{ width:40px; height:40px; border-radius:14px; }
.au-tab-tile .au-3di{ width:36px; height:36px; }
/* photos 'Take photo | My photos' switcher — icon + label, clear active pill */
.seg button{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.seg .seg-ic{ width:19px; height:19px; flex:none; }
.seg button:not(.on) .seg-ic{ opacity:.8; }

/* ── live camera + coaching overlay ── */
.cam{ position:fixed; inset:0; z-index:9999; background:#000; display:flex; flex-direction:column; overscroll-behavior:contain; }
.cam__v{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cam__top{ position:relative; z-index:2; display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:calc(env(safe-area-inset-top,0px) + 12px) 14px 0; }
.cam__topr{ display:flex; align-items:center; gap:10px; flex:none; }
.cam__x{ width:44px; height:44px; border-radius:50%; border:0; background:rgba(0,0,0,.5); color:#fff; font-size:19px; line-height:1; cursor:pointer; }
.cam__area{ background:rgba(0,0,0,.5); color:#fff; padding:9px 15px; border-radius:999px; font-weight:700; font-size:15px; }
/* brand badge — logo + product name + live date/time, upper-left of the camera view */
.cam__brand{ display:flex; align-items:center; gap:9px; min-width:0; background:rgba(0,0,0,.5); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); padding:7px 13px 7px 8px; border-radius:16px; }
.cam__logo{ width:32px; height:32px; border-radius:9px; display:block; flex:none; background:#fff; object-fit:contain; }
.cam__brandtxt{ display:flex; flex-direction:column; line-height:1.15; color:#fff; min-width:0; }
.cam__brandtxt b{ font-size:15px; font-weight:800; letter-spacing:-.01em; }
.cam__clock{ font-size:11.5px; opacity:.85; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cam__hint{ position:relative; z-index:2; margin:14px auto 0; max-width:88%; text-align:center; color:#fff; font-weight:700; font-size:16px;
  background:rgba(20,30,45,.62); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); padding:11px 16px; border-radius:14px;
  box-shadow:0 6px 20px rgba(0,0,0,.35); transition:background .2s, color .2s; }
.cam__hint--bad{ background:rgba(200,50,45,.85); }
.cam__hint--warn{ background:rgba(210,140,20,.88); }
.cam__hint--good{ background:rgba(45,150,70,.92); }
.cam__bar{ position:relative; z-index:2; margin-top:auto; padding:0 0 calc(env(safe-area-inset-bottom,0px) + 30px); display:flex; justify-content:center; }
.cam__shot{ width:78px; height:78px; border-radius:50%; border:0; background:rgba(255,255,255,.28); display:grid; place-items:center; cursor:pointer; }
.cam__ring{ width:62px; height:62px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(255,255,255,.55) inset; transition:transform .15s; }
.cam__shot:active .cam__ring{ transform:scale(.9); }
.cam__shot--ready .cam__ring{ box-shadow:0 0 0 4px #48b357 inset, 0 0 18px 3px rgba(72,179,87,.7); animation:camPulse 1.1s ease-in-out infinite; }
@keyframes camPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.07); } }
@media (prefers-reduced-motion:reduce){ .cam__shot--ready .cam__ring{ animation:none; } }

/* auto-detected area chip on the grade result (idea #3) */
.au-detect{ display:inline-flex; align-items:center; gap:10px; margin:0 auto 8px; padding:6px 15px 6px 6px; border-radius:999px;
  background:rgba(255,255,255,.07); box-shadow:0 2px 9px rgba(0,0,0,.16); animation:auDetectIn .42s cubic-bezier(.2,.9,.3,1.25) both; }
.au-detect__ic{ width:34px; height:34px; border-radius:10px; overflow:hidden; flex:none; background:#0b1220; display:grid; place-items:center; }
.au-detect__ic img{ width:100%; height:100%; object-fit:cover; }
.au-detect__t{ display:flex; flex-direction:column; line-height:1.15; text-align:left; }
.au-detect__k{ font-size:11px; font-weight:800; letter-spacing:.03em; color:var(--ink-2,#93a4bd); text-transform:uppercase; }
.au-detect__t b{ font-size:15px; }
@keyframes auDetectIn{ 0%{ transform:scale(.55) translateY(7px); opacity:0; } 100%{ transform:scale(1) translateY(0); opacity:1; } }
@media (prefers-reduced-motion:reduce){ .au-detect{ animation:none; } }

/* customer complaint card — pinned to the top of the cleaner's photo list */
.complaint{ border:1px solid rgba(224,80,70,.5); box-shadow:0 0 0 1px rgba(224,80,70,.22), 0 8px 22px rgba(180,40,35,.18);
  background:linear-gradient(180deg, rgba(224,80,70,.12), rgba(224,80,70,.03)); }
.complaint__hd{ display:flex; align-items:center; gap:8px; color:#ff6a5e; font-weight:800; font-size:14px; }
.complaint__from{ margin-inline-start:auto; color:var(--ink-2,#93a4bd); font-weight:600; font-size:12px; }
.complaint__row{ display:flex; gap:14px; align-items:center; margin:12px 0 14px; text-align:left; }
.complaint__pic{ width:92px; height:92px; flex:none; border-radius:16px; overflow:hidden; background:#0b1220; box-shadow:0 4px 14px rgba(0,0,0,.28); }
.complaint__pic img{ width:100%; height:100%; object-fit:cover; display:block; }
.complaint__txt{ display:flex; flex-direction:column; gap:4px; }
.complaint__txt b{ font-size:16px; }
.complaint__txt span{ color:var(--ink-2,#aab7c9); font-size:14px; line-height:1.4; }
.complaint .btn--danger{ width:100%; }
.au-tab-tile--blue  { box-shadow:var(--au-gloss-in), 0 3px 0 #164A80, var(--au-key-cast); }
.au-tab-tile--violet{ box-shadow:var(--au-gloss-in), 0 3px 0 #3A24A0, var(--au-key-cast); }
.au-tab-tile--green { box-shadow:var(--au-gloss-in), 0 3px 0 #35610F, var(--au-key-cast); }
.au-tab-tile--gold  { box-shadow:var(--au-gloss-in), 0 3px 0 #9C5F05, var(--au-key-cast); }
.au-tab-tile--pink  { box-shadow:var(--au-gloss-in), 0 3px 0 #98195C, var(--au-key-cast); }
.au-tab-tile.au-3d, .menu__row .ic.au-3d, .au-ai.au-3d, .au-stat__t.au-3d{
  box-shadow:inset 0 1.5px 2px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.14),
    0 3px 0 var(--au-key-edge), var(--au-key-cast);
}
.tab[aria-selected="true"] .au-tab-tile,
.tab[aria-selected="true"] .au-tab-tile.au-3d{
  transform:translateY(-3px) scale(1.1);
}
.tab:not([aria-selected="true"]) .au-tab-tile{ transform:translateY(1px); }
/* hue edges on every other candy tile in the app */
.au-ai--blue,   .ic--tint-blue,   .gtile--blue,  .au-stat__t--blue{ box-shadow:var(--au-gloss-in), 0 3px 0 #164A80, var(--au-key-cast); }
.au-ai--sky,    .gtile--sky   { box-shadow:var(--au-gloss-in), 0 3px 0 #135F95, var(--au-key-cast); }
.au-ai--green,  .ic--tint-green,  .gtile--green { box-shadow:var(--au-gloss-in), 0 3px 0 #35610F, var(--au-key-cast); }
.au-ai--amber,  .ic--tint-amber,  .gtile--amber, .au-stat__t--gold{ box-shadow:var(--au-gloss-in), 0 3px 0 #9C5F05, var(--au-key-cast); }
.au-ai--teal,   .ic--tint-teal,   .gtile--teal  { box-shadow:var(--au-gloss-in), 0 3px 0 #085F57, var(--au-key-cast); }
.au-ai--violet, .ic--tint-indigo, .ic--tint-violet, .gtile--violet{ box-shadow:var(--au-gloss-in), 0 3px 0 #3A24A0, var(--au-key-cast); }
.ic--tint-pink, .gtile--pink  { box-shadow:var(--au-gloss-in), 0 3px 0 #98195C, var(--au-key-cast); }
.au-ai--slate,  .ic--tint-slate,  .gtile--slate { box-shadow:var(--au-gloss-in), 0 3px 0 #2E3A4D, var(--au-key-cast); }
.ic--tint-danger{ box-shadow:var(--au-gloss-in), 0 3px 0 #7C1216, var(--au-key-cast); }
.au-ai{ width:38px; height:38px; border-radius:13px; }
.au-ai .au-3di{ width:31px; height:31px; }

/* 9.4 LAVA BOUNCE — icons squish alive when tapped (Airbnb Lava behaviour) */
.au-bounce{ animation:auSquish .5s var(--au-e-spring); transform-origin:50% 88%; }
.tab[aria-selected="true"] .au-tab-tile.au-bounce{ animation:auSquishUp .5s var(--au-e-spring); }
@keyframes auSquish{
  0%{ transform:scale(1) } 30%{ transform:scale(1.2,.8) }
  55%{ transform:scale(.9,1.12) } 75%{ transform:scale(1.05,.96) } 100%{ transform:scale(1) }
}
@keyframes auSquishUp{
  0%{ transform:translateY(-3px) scale(1.1) } 30%{ transform:translateY(0) scale(1.3,.85) }
  60%{ transform:translateY(-4px) scale(1,1.2) } 100%{ transform:translateY(-3px) scale(1.1) }
}

/* ═══════════ 10 · ALIVE (v4 — "make it breathe") ═══════════
   ONE calm ambient story (floating tiles + breathing dock + heartbeat) plus a
   coherent CAMERA language end-to-end (idle lens → shutter → AI scan → focus reveal
   → grade-drop). All compositor-only transforms/opacity, reduced-motion + au-lite
   safe. Design panel synthesis, 2026-07-08. */

/* 10.1 weightless icon float — 3D icons bob on their own rhythm (JS sets per-icon
   duration/delay so the screen never pulses in unison). */
@media (prefers-reduced-motion:no-preference){
  .au-3di{ animation:auFloat 5s ease-in-out infinite both; }
  .au-3di.au-tilt{ animation:auFloatTilt 5.4s ease-in-out infinite both; }
}
@keyframes auFloat{ 0%,100%{ transform:translate3d(0,0,0) } 50%{ transform:translate3d(0,-2.5px,0) } }
@keyframes auFloatTilt{ 0%,100%{ transform:translate3d(0,0,0) rotate(-.7deg) } 50%{ transform:translate3d(0,-2.5px,0) rotate(.7deg) } }
html.au-lite .au-3di{ animation:none !important; }

/* 10.2 the dock breathes + the active key hovers a touch higher (de-phased) */
@media (prefers-reduced-motion:no-preference){
  .tabbar .rail{ animation:auDockBreathe 5s ease-in-out infinite; }
  .tab[aria-selected="true"] .au-tab-tile{ animation:auKeyHover 3.4s ease-in-out infinite; }
}
@keyframes auDockBreathe{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-1.5px) } }
@keyframes auKeyHover{ 0%,100%{ transform:translateY(-3px) scale(1.1) } 50%{ transform:translateY(-4.5px) scale(1.11) rotate(.5deg) } }
html.au-lite .tabbar .rail, html.au-lite .tab[aria-selected="true"] .au-tab-tile{ animation:none !important; }

/* 10.3 THE LIVING CAMERA — the capture button's lens is awake.
   .au-cam / .au-cam-on live on the #photos-take .btn--hero BUTTON (HTML el, so ::after
   renders); the lens + LED are the inline camera SVG's children. */
.au-cam .ic > circle{ transform-box:fill-box; transform-origin:center; }
@media (prefers-reduced-motion:no-preference){
  .au-cam.au-cam-on .ic > circle{ animation:auLens 5s ease-in-out infinite; }          /* lens hunts focus + blinks */
  .au-cam.au-cam-on .ic > path:last-of-type{ animation:auCamLed 5s ease-in-out infinite; } /* the little indicator light */
  .au-cam.au-cam-on::after{ animation:auCamGlint 6s ease-in-out infinite; }              /* light sweeps the button glass */
}
@keyframes auLens{
  0%{ transform:scale(.9); opacity:.86 } 38%{ transform:scale(1.14); opacity:1 }
  60%{ transform:scale(1.06); opacity:1 } 84%{ transform:scale(1.06,1.06); opacity:1 }
  88%{ transform:scale(1.06,.16); opacity:1 } 92%{ transform:scale(1.06,1.06); opacity:1 }
  100%{ transform:scale(.9); opacity:.86 }
}
@keyframes auCamLed{ 0%,72%,100%{ opacity:.5 } 80%{ opacity:1 } 86%{ opacity:.4 } }
.au-cam{ position:relative; }
.au-cam::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:2;
  background:linear-gradient(100deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform:translateX(-120%); opacity:0; }
@keyframes auCamGlint{ 0%,68%{ transform:translateX(-120%); opacity:0 } 76%{ opacity:1 } 100%{ transform:translateX(120%); opacity:0 } }

/* 10.4 SHUTTER — tap fires an iris snap + a soft flash bloom over the button */
.au-cam.au-iris .ic > circle{ animation:auIris .19s ease-out; }
@keyframes auIris{ 0%{ transform:scale(1.06) } 42%{ transform:scale(.58) } 100%{ transform:scale(1.06) } }
.au-flashbloom{ position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:3;
  background:radial-gradient(circle at 50% 46%, rgba(255,255,255,.9), rgba(255,255,255,.35) 40%, transparent 72%);
  opacity:0; }
.au-flashbloom.au-run{ animation:auFlash .26s ease-out forwards; }
@keyframes auFlash{ 0%{ opacity:0; transform:scale(.7) } 30%{ opacity:.55 } 100%{ opacity:0; transform:scale(1.15) } }

/* 10.5 AI SCAN — a green scanner sweeps the loading card while the AI reads the photo */
.grade-load .gl-img{ position:relative; overflow:hidden; }
.grade-load .gl-img::after{ content:""; position:absolute; left:0; right:0; height:38px; top:0; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(111,178,59,.42) 78%, rgba(159,225,93,.9) 100%);
  box-shadow:0 1px 8px rgba(111,178,59,.6); }
@media (prefers-reduced-motion:no-preference){ .grade-load .gl-img::after{ animation:auScan 1.5s cubic-bezier(.5,0,.5,1) infinite; } }
@media (prefers-reduced-motion:reduce){ .grade-load .gl-img::after{ opacity:.4; top:45%; } }
@keyframes auScan{ 0%{ transform:translateY(-120%) } 100%{ transform:translateY(560%) } }

/* 10.6 FOCUS-PULL — the graded photo + number resolve from blur into sharp focus */
.au-focus{ animation:auFocusIn .55s var(--au-e-glide) both; }
.au-focus--num{ animation:auFocusIn .55s var(--au-e-glide) .12s both; }
@keyframes auFocusIn{ 0%{ filter:blur(7px); opacity:.35; transform:scale(1.04) } 100%{ filter:blur(0); opacity:1; transform:scale(1) } }
html.au-lite .au-focus, html.au-lite .au-focus--num{ animation-name:auFocusInLite; }
@keyframes auFocusInLite{ 0%{ opacity:.2; transform:translateY(6px) } 100%{ opacity:1; transform:none } }

/* 10.7 THE GRADE DROP — a passing grade lands with a shockwave + spark burst (sparks via WAAPI in JS) */
.au-shock{ position:absolute; left:50%; top:50%; width:60px; height:60px; margin:-30px 0 0 -30px; border-radius:50%;
  border:2.5px solid var(--au-green); pointer-events:none; z-index:1; opacity:0; }
.au-shock.au-run{ animation:auShock .64s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes auShock{ 0%{ transform:scale(.5); opacity:.75 } 100%{ transform:scale(2.1); opacity:0 } }
.au-spark{ position:absolute; left:50%; top:50%; width:8px; height:8px; margin:-4px 0 0 -4px; border-radius:50%;
  pointer-events:none; z-index:2; will-change:transform,opacity; }

/* 10.8 HEARTBEAT — the live pip beats a calm lub-dub while on shift */
@media (prefers-reduced-motion:no-preference){
  .onshift .live-pip{ animation:auHeartbeat 2.6s ease-in-out infinite; }
  .onshift .live-pip::after{ content:""; position:absolute; inset:-3px; border-radius:50%; border:1.5px solid var(--au-green);
    opacity:0; animation:auHeartRing 2.6s ease-in-out infinite; pointer-events:none; }
}
.onshift .live-pip{ position:relative; }
@keyframes auHeartbeat{ 0%,55%,100%{ transform:scale(1) } 8%{ transform:scale(1.28) } 16%{ transform:scale(1) } 24%{ transform:scale(1.18) } 32%{ transform:scale(1) } }
@keyframes auHeartRing{ 0%,55%,100%{ transform:scale(.7); opacity:0 } 8%{ opacity:.55 } 40%{ transform:scale(1.8); opacity:0 } }
html.au-lite .onshift .live-pip{ animation:none !important; }
html.au-lite .onshift .live-pip::after{ display:none; }
/* perf-lite: also stop the always-on camera idle animation on weak devices (reduced-motion already does) */
html.au-lite .au-cam.au-cam-on .ic > circle,
html.au-lite .au-cam.au-cam-on .ic > path:last-of-type,
html.au-lite .au-cam.au-cam-on::after,
html.au-lite .btn--go::after{ animation:none !important; }
html.au-lite .au-cam.au-cam-on::after{ display:none; }

/* 10.9 CONTACT RIPPLE — a soft ring blooms from where the finger lands */
.au-rippleable{ position:relative; overflow:hidden; }
.au-rippleable::before{ content:""; position:absolute; left:var(--au-rx,50%); top:var(--au-ry,50%); width:12px; height:12px;
  margin:-6px 0 0 -6px; border-radius:50%; pointer-events:none; z-index:0; opacity:0;
  background:radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }
html[data-theme="light"] .au-rippleable::before{ background:radial-gradient(circle, rgba(47,134,214,.4), rgba(47,134,214,0) 70%); }
.au-rippleable.au-ripple::before{ animation:auRipple .5s ease-out; }
@keyframes auRipple{ 0%{ opacity:.6; transform:scale(1) } 100%{ opacity:0; transform:scale(9) } }
html.au-lite .au-rippleable.au-ripple::before{ animation:none; }

/* 10.10 TASK CHECK-OFF POP — finishing a task springs the check in + a green wash */
.chip.au-checked .chip__box{ animation:auCheckPop .5s var(--au-e-spring); }
@keyframes auCheckPop{ 0%{ transform:scale(.4) } 55%{ transform:scale(1.25) } 100%{ transform:scale(1) } }
.chip.au-checked::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(100deg, transparent 40%, rgba(111,178,59,.4) 50%, transparent 60%);
  transform:translateX(-120%); animation:auGreenWash .6s ease-out; }
@keyframes auGreenWash{ to{ transform:translateX(120%) } }

/* ═══════════ 11 · BIG (owner ask 2026-07-08: "icons bigger, buttons way bigger") ═══════════
   One size-class up across every touchable: chunkier buttons, larger 3D icon keys,
   taller dock. --tabbar-h feeds the base layout var, so content clearance follows. */
:root{ --tabbar-h:96px; }

/* buttons — WAY bigger */
.btn{ min-height:64px; font-size:17px; border-radius:20px; }
.btn--primary, .btn--hero, .btn--go, .btn--danger{ font-size:19px; }
.btn--xl{ min-height:82px; font-size:21px; }
.btn--sm{ min-height:50px; font-size:15.5px; }
.btn--link{ min-height:48px; }
.btn .ic{ width:26px; height:26px; }
.btn--hero .ic, .btn--xl .ic{ width:31px; height:31px; }

/* tab dock — bigger keys, bigger labels */
.tab{ min-height:74px; padding:6px 2px 5px; }
.au-tab-tile{ width:52px; height:52px; border-radius:16px; }
.au-tab-tile .au-3di{ width:44px; height:44px; }
.au-tab-tile .ic{ width:28px; height:28px; }
.tab-label{ font-size:12px; }
.tabbar .rail{ padding:5px 8px; }

/* area chips — bigger icon keys + roomier chips */
.au-ai{ width:48px; height:48px; border-radius:15px; }
.au-ai .au-3di{ width:40px; height:40px; }
.au-ai svg{ width:26px; height:26px; }
#home-tasks .chip[data-au-ai], #photos-take .chip[data-au-ai]{ font-size:16px; }

/* Take-photo screen: the real area photos are the whole point here, so make them
   BIG and unmissable — a large photo tile per row, roomy card, bigger bold label. */
#photos-take .chip[data-au-ai]{ padding:12px 18px 12px 12px; font-size:17.5px; font-weight:800; line-height:1.25; gap:14px; border-radius:22px; }
#photos-take .chip .au-ai.au-haspix{ width:132px; height:132px; border-radius:20px; }
@media (max-width:360px){ #photos-take .chip .au-ai.au-haspix{ width:112px; height:112px; } }

/* home stat tiles — bigger icon + numeral */
.au-stat__t{ width:58px; height:58px; border-radius:17px; }
.au-stat__t .au-3di{ width:48px; height:48px; }
.au-stat__t svg{ width:28px; height:28px; }
.au-stat__n, .au-stat--green .au-stat__n{ font-size:32px; }
.au-stat__k{ font-size:13px; }

/* Me menu — bigger row tiles */
.menu__row > .ic{ width:48px; height:48px; }
.menu__row .ic svg, .menu__row .ic .ic{ width:25px; height:25px; }
.menu__row .ic.au-3d .au-3di{ width:39px; height:39px; }

/* shared gradient tiles (home cards / sheet headers) */
.gtile{ width:38px; height:38px; border-radius:12px; }
.gtile .ic{ width:22px; height:22px; }

/* ═══════════ 6 · REDUCED MOTION GUARD ═══════════ */
@media (prefers-reduced-motion:reduce){
  .au-sheen{ display:none !important; }
  .au-blob, .au-ring__fill, .au-ring.au-flare, .au-bloom{ animation:none !important; transition:none !important; }
  .tab-panel.anim-in > *{ animation-delay:0 !important; }
  .au-tab-tile{ transition:none !important; }
  .au-bounce{ animation:none !important; }
  .btn--go::after{ animation:none !important; display:none; }
  .au-3di, .tabbar .rail, .tab[aria-selected="true"] .au-tab-tile,
  .au-cam .ic > circle, .au-cam .ic > path:last-of-type, .au-cam::after,
  .onshift .live-pip{ animation:none !important; }
  .au-cam::after{ display:none; }
  .au-flashbloom, .au-shock, .au-spark{ display:none !important; }
  .au-checked .chip__box, .au-checked::after{ animation:none !important; }
}

/* ═══════════ 12 · LOGIN ELEVATION — Vivid/Candy/Alive first impression ═══════════
   Additive over §4.14. All text still sits on the dark glass plate, so every
   contrast ratio is measured against the plate (never the photo/aurora) → AA holds. */

/* 12.1 warmer, more branded hero — reveal more of the city + a brand-tinted scrim */
#login-screen::before{
  background:
    linear-gradient(180deg, rgba(11,15,38,.46) 0%, rgba(12,16,42,.50) 42%, rgba(9,13,30,.86) 100%),
    radial-gradient(130% 80% at 80% 4%, rgba(47,134,214,.40), transparent 58%),
    radial-gradient(90% 60% at 15% 12%, rgba(64,180,120,.20), transparent 60%),
    var(--au-login-photo, radial-gradient(120% 90% at 80% -10%, #3f9e6a 0%, transparent 55%)),
    linear-gradient(150deg,#2F86D6 0%,#1F5FA8 55%,#123f73 100%);
  background-size:cover; background-position:center 72%;
}

/* 12.2 ambient FX layer behind the plate (injected by JS; never intercepts taps) */
.au-login-fx{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.au-login-aurora{ position:absolute; inset:-22%;
  background:
    radial-gradient(38% 30% at 22% 24%, var(--au-aurora-1,rgba(84,140,255,.44)), transparent 60%),
    radial-gradient(34% 28% at 80% 34%, var(--au-aurora-2,rgba(64,220,150,.30)), transparent 60%),
    radial-gradient(40% 30% at 60% 82%, var(--au-aurora-3,rgba(255,110,190,.26)), transparent 62%);
  filter:blur(16px); animation:auLoginDrift 22s ease-in-out infinite alternate;
}
@keyframes auLoginDrift{ 0%{ transform:translate3d(-3%,-2%,0) scale(1.02) } 100%{ transform:translate3d(4%,3%,0) scale(1.09) } }
.au-bubble{ position:absolute; bottom:-8%; border-radius:50%;
  background:radial-gradient(circle at 32% 28%, rgba(255,255,255,.68), rgba(185,222,255,.16) 44%, rgba(120,180,255,.05) 72%);
  box-shadow:inset 0 0 6px rgba(255,255,255,.5), 0 0 10px rgba(120,180,255,.20);
  opacity:0; animation:auBubbleRise var(--dur,14s) linear infinite; animation-delay:var(--dl,0s); }
@keyframes auBubbleRise{
  0%{ transform:translateY(0) translateX(0) scale(.8); opacity:0 }
  12%{ opacity:.5 } 84%{ opacity:.32 }
  100%{ transform:translateY(-118vh) translateX(var(--dx,10px)) scale(1); opacity:0 }
}

/* 12.3 richer candy plate — specular top edge + brand inner glow + deeper lift */
#login-screen .login, html[data-theme="light"] #login-screen .login{
  background:
    linear-gradient(180deg, rgba(172,208,255,.20), transparent 76px),
    radial-gradient(120% 60% at 50% 0%, rgba(47,134,214,.16), transparent 60%),
    rgba(18,29,50,.74);
  border-color:rgba(162,197,255,.24);
  box-shadow:0 34px 82px -30px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(120,160,255,.06);
  -webkit-backdrop-filter:blur(24px) saturate(1.5); backdrop-filter:blur(24px) saturate(1.5);
}

/* 12.4 living candy logo — glossy, glowing, gently afloat */
#login-screen .login__logo{
  width:96px; height:96px; border-radius:24px;
  box-shadow:0 16px 34px -10px rgba(47,134,214,.75), 0 0 0 1px rgba(255,255,255,.16), inset 0 2px 6px rgba(255,255,255,.5);
  animation:auLogoFloat 5.5s ease-in-out infinite;
}
@keyframes auLogoFloat{ 0%,100%{ transform:translateY(0) rotate(-.5deg) } 50%{ transform:translateY(-7px) rotate(.5deg) } }

/* 12.5 headline glow + tactile input focus */
#login-screen .login h1{ font-size:34px; letter-spacing:-.02em; text-shadow:0 2px 22px rgba(47,134,214,.38); }
#login-screen .login .input{ transition:border-color .2s, box-shadow .25s, background .2s; }
#login-screen .login .input:focus{
  outline:none; border-color:rgba(120,190,255,.85);
  box-shadow:0 0 0 4px rgba(47,134,214,.22), 0 6px 18px -8px rgba(47,134,214,.6);
  background:rgba(9,17,30,.5);
}

/* 12.6 sign-in — brand glow + a slow recurring shine sweep */
#login-screen #login-btn{ position:relative; overflow:hidden;
  box-shadow:0 12px 26px -10px rgba(47,134,214,.8), inset 0 2px 0 rgba(255,255,255,.32); }
#login-screen #login-btn::after{ content:""; position:absolute; top:-30%; left:0; width:38%; height:160%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform:translateX(-190%) skewX(-18deg); animation:auLoginShine 4.6s ease-in-out 1.4s infinite; pointer-events:none; }
@keyframes auLoginShine{ 0%,74%{ transform:translateX(-190%) skewX(-18deg) } 88%,100%{ transform:translateX(330%) skewX(-18deg) } }

/* 12.7 entrance choreography — plate fades, its contents rise in sequence */
.login.au-in{ animation:auFadeIn .5s ease both; }
.login.au-in > *:nth-child(n+2){ animation:auLoginRise .55s cubic-bezier(.2,.75,.25,1) both; }
.login.au-in > *:nth-child(2){ animation-delay:.06s }
.login.au-in > *:nth-child(3){ animation-delay:.12s }
.login.au-in > *:nth-child(4){ animation-delay:.19s }
.login.au-in > *:nth-child(5){ animation-delay:.27s }
.login.au-in > *:nth-child(6){ animation-delay:.35s }
.login.au-in > *:nth-child(7){ animation-delay:.41s }
@keyframes auFadeIn{ from{opacity:0} to{opacity:1} }
@keyframes auLoginRise{ from{ opacity:0; transform:translateY(16px) } to{ opacity:1; transform:none } }

/* 12.8 calm it all down for reduced-motion / weak devices */
@media (prefers-reduced-motion:reduce){
  .au-login-aurora, .au-bubble, #login-screen .login__logo,
  #login-screen #login-btn::after, .login.au-in, .login.au-in > *{ animation:none !important; }
  .login.au-in > *{ opacity:1 !important; transform:none !important; }
}
html.au-lite .au-bubble{ display:none; }
html.au-lite .au-login-aurora, html.au-lite #login-screen .login__logo,
html.au-lite #login-screen #login-btn::after{ animation:none; }

/* ═══════════ 13 · GOOGLE TRANSLATE — hide ALL injected chrome ═══════════
   Kills the top "This page was translated" banner AND the hover/tap tooltip popup,
   and undoes the body offset the banner forces. Our own translation is cookie-driven,
   so none of Google's UI is needed. Classes cover old + new (VIpgJd*) widget builds. */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, iframe.goog-te-banner-frame{ display:none !important; }
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover{ display:none !important; }
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-l4eHX-hSRGPd, .VIpgJd-ZVi9od-ORHb-OEVmcd{ display:none !important; visibility:hidden !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; color:inherit !important; }
body{ top:0 !important; }

/* ═══════════ 13 · ME CARDS — My Pay (hours) · First 90 days · Refer a friend ═══════════ */
.au-me-cards{ display:flex; flex-direction:column; gap:14px; margin:2px 0 18px; }
.au-mecard{ position:relative; border-radius:20px; padding:16px 17px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), transparent 72px), var(--au-glass-bg, rgba(20,32,52,.66));
  border:1px solid var(--au-glass-border, rgba(150,190,240,.16));
  box-shadow:var(--au-glass-shadow, 0 16px 36px -20px rgba(0,0,0,.55)); }
html[data-theme="light"] .au-mecard{ background:#fff; border-color:#e7edf6; box-shadow:0 10px 26px -16px rgba(20,50,90,.20); }
.au-mecard__h{ display:flex; align-items:center; gap:10px; }
.au-mecard__t{ font-weight:800; font-size:16px; letter-spacing:-.01em; }

/* — My Pay — */
.au-pay__pill{ margin-left:auto; font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:#B4740E; background:rgba(245,166,35,.16); padding:3px 9px; border-radius:999px; }
.au-pay__big{ display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; margin-top:12px; }
.au-pay__n{ font-family:var(--au-f-disp, "Bricolage Grotesque", inherit); font-weight:800; font-size:40px; line-height:1;
  color:var(--au-green,#6FB23B); letter-spacing:-.02em; }
.au-pay__u{ font-size:19px; font-weight:800; color:var(--au-green,#6FB23B); }
.au-pay__lab{ font-size:13.5px; color:var(--ink-2,#8398ad); margin-left:6px; }
.au-pay__eur{ font-size:15px; font-weight:700; color:var(--ink-2,#8398ad); margin-top:3px; }
.au-pay__eurk{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; opacity:.7; }
.au-pay__pay{ display:flex; align-items:center; gap:7px; font-size:13.5px; color:var(--ink-2,#8398ad); margin-top:11px; }
.au-pay__ic{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.8; opacity:.7; flex:0 0 auto; }
.au-pay__pay b{ color:inherit; font-weight:700; }
.au-pay__check{ display:block; width:100%; margin-top:13px; padding:11px; border-radius:12px; min-height:46px;
  border:1px solid var(--au-glass-border, rgba(150,190,240,.22)); background:rgba(47,134,214,.12);
  color:var(--au-blue,#2F86D6); font-weight:700; font-size:14px; cursor:pointer; }
html[data-theme="light"] .au-pay__check{ background:#eef5fd; border-color:#d7e6f7; }
.au-pay__check:active{ transform:translateY(1px); }
.au-pay__fine{ font-size:11.5px; color:var(--ink-2,#8398ad); opacity:.8; margin-top:9px; text-align:center; }

/* — First 90 days — */
.au-90__day{ margin-left:auto; font-weight:800; font-size:14px; color:var(--au-blue,#2F86D6); }
.au-90__track{ height:9px; border-radius:999px; background:rgba(47,134,214,.16); overflow:hidden; margin-top:13px; }
.au-90__track i{ display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#4AA3E8,#2F86D6);
  box-shadow:0 0 10px rgba(47,134,214,.5); transition:width .8s cubic-bezier(.2,.7,.2,1); }
.au-90__msrow{ display:flex; align-items:flex-start; margin-top:14px; }
.au-90__ms{ flex:0 0 auto; }
.au-90__line{ flex:1 1 auto; height:2px; background:rgba(150,190,240,.22); margin:15px 3px 0; border-radius:2px; }
.au-90__dot{ width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-size:12.5px; font-weight:800;
  background:rgba(150,190,240,.14); color:var(--ink-2,#8398ad); border:1.5px solid transparent; }
.au-90__ms.done .au-90__dot{ background:linear-gradient(135deg,#5FA330,#6FB23B); color:#fff; box-shadow:0 4px 12px rgba(111,178,59,.4); }
.au-90__ms.next .au-90__dot{ border-color:var(--au-blue,#2F86D6); color:var(--au-blue,#2F86D6); background:rgba(47,134,214,.12);
  animation:au90pulse 2s ease-in-out infinite; }
@keyframes au90pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(47,134,214,.35) } 50%{ box-shadow:0 0 0 6px rgba(47,134,214,0) } }
.au-90__hint{ font-size:13px; color:var(--ink-2,#8398ad); margin-top:13px; line-height:1.5; }
.au-90__hint b{ color:inherit; font-weight:800; }
.au-90__welcome{ font-size:14px; color:var(--ink-2,#8398ad); margin-top:10px; line-height:1.55; }

/* — Refer a friend — */
.au-refer__copy{ font-size:14px; color:var(--ink-2,#8398ad); margin-top:10px; line-height:1.55; }
.au-refer__copy b{ color:var(--au-gold,#E8951A); font-weight:800; font-size:15px; }
.au-refer__btn{ display:inline-flex; align-items:center; gap:8px; margin-top:13px; padding:11px 18px; border-radius:12px;
  border:none; cursor:pointer; min-height:46px; background:linear-gradient(135deg,#F5A623,#E8890C); color:#fff;
  font-weight:800; font-size:14.5px; box-shadow:0 8px 18px -6px rgba(232,149,26,.5); }
.au-refer__btn .ic{ stroke:#fff; }
.au-refer__btn:active{ transform:translateY(1px); }

@media (prefers-reduced-motion:reduce){
  .au-90__ms.next .au-90__dot{ animation:none } .au-90__track i{ transition:none }
  .au-pay__check:active,.au-refer__btn:active{ transform:none }
}

/* ═══════════ 14 · AVAILABILITY — monthly, opens 20th / locks 26th (beats Connecteam) ═══════════ */
.au-av__sub{ font-size:13.5px; color:var(--ink-2,#8398ad); margin-top:9px; line-height:1.45; }
.au-av__sub b{ color:inherit; font-weight:800; }
.au-av-pill{ margin-left:auto; display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:800; letter-spacing:.04em;
  padding:4px 10px; border-radius:999px; white-space:nowrap; }
.au-av-pill.open{ background:rgba(47,134,214,.18); color:#7FC0F5; }
.au-av-pill.ok{ background:rgba(95,163,48,.20); color:#9FE06B; }
.au-av-pill.wait{ background:rgba(255,255,255,.09); color:var(--ink-2,#9db0c4); text-transform:uppercase; font-size:10px; }
html[data-theme="light"] .au-av-pill.open{ background:#e3f0fb; color:#1E5FA0; }
html[data-theme="light"] .au-av-pill.ok{ background:#eaf4e0; color:#3F7817; }
html[data-theme="light"] .au-av-pill.wait{ background:#eef2f7; color:#5b6b7f; }
.au-av-pill.no{ background:rgba(185,58,46,.20); color:#F0998D; }
html[data-theme="light"] .au-av-pill.no{ background:#fbe8e6; color:#9A2F27; }

/* ── agreed-plan change requests: the cleaner asks, a manager decides ── */
.au-plan-reqs{ margin:4px 0 14px; }
.au-plan-reqs>b{ font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-2,#8398ad); }
.au-plan-req{ display:flex; gap:10px; align-items:flex-start; margin-top:8px; padding:10px 12px; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid var(--au-glass-border,rgba(150,180,225,.16)); font-size:13.5px; }
.au-plan-req.ok{ border-color:rgba(95,163,48,.4); } .au-plan-req.no{ border-color:rgba(185,58,46,.36); }
.au-plan-req.wait{ border-color:rgba(245,166,35,.4); }
.au-plan-req__r{ color:var(--ink-2,#8398ad); font-size:12.5px; margin-top:3px; }
html[data-theme="light"] .au-plan-req{ background:#f7fafd; }

.au-plan-days{ display:grid; grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:8px; margin-top:10px; max-height:46vh; overflow-y:auto; padding:2px; }
.au-plan-day{ text-align:left; padding:10px 11px; border-radius:12px; cursor:pointer; font:inherit;
  background:rgba(255,255,255,.05); border:1px solid var(--au-glass-border,rgba(150,180,225,.16)); color:inherit; }
.au-plan-day b{ display:block; font-size:14px; } .au-plan-day span{ font-size:11.5px; color:var(--ink-2,#8398ad); }
.au-plan-day i{ display:block; font-size:10.5px; font-style:normal; font-weight:800; color:#F5C97B; margin-top:3px; text-transform:uppercase; }
.au-plan-day.waiting{ border-color:rgba(245,166,35,.5); }
html[data-theme="light"] .au-plan-day{ background:#fff; }

.au-plan-form h3{ margin:10px 0 0; font-size:19px; }
.au-plan-back{ background:none; border:0; color:var(--ink-2,#8398ad); font:700 13.5px/1 inherit; cursor:pointer; padding:4px 0; }
.au-plan-l{ display:block; font-weight:800; font-size:13px; margin:16px 0 7px; }
.au-plan-opts{ display:grid; gap:8px; }
.au-plan-opt{ text-align:left; padding:13px 14px; border-radius:12px; cursor:pointer; font:800 14px/1.3 inherit;
  background:rgba(255,255,255,.05); border:1.5px solid var(--au-glass-border,rgba(150,180,225,.16)); color:inherit; }
.au-plan-opt.on{ background:linear-gradient(180deg,#3B93E0,#2F86D6); border-color:transparent; color:#fff; }
html[data-theme="light"] .au-plan-opt{ background:#fff; }
.au-plan-times{ display:grid; grid-template-columns:auto 1fr auto 1fr; gap:8px; align-items:center; margin-top:10px; font-size:13px; }
.au-plan-times input{ font:inherit; padding:9px 10px; border-radius:10px; width:100%;
  border:1.5px solid var(--au-glass-border,rgba(150,180,225,.16)); background:rgba(255,255,255,.05); color:inherit; }
html[data-theme="light"] .au-plan-times input{ background:#fff; }
.au-plan-form textarea{ width:100%; font:inherit; font-size:15px; padding:11px 12px; border-radius:12px; resize:vertical;
  border:1.5px solid var(--au-glass-border,rgba(150,180,225,.16)); background:rgba(255,255,255,.05); color:inherit; }
html[data-theme="light"] .au-plan-form textarea{ background:#fff; }
.au-plan-note{ font-size:12.5px; color:var(--ink-2,#8398ad); margin:9px 0 0; }
.au-plan-err{ color:#F0998D; font-weight:700; font-size:13px; margin:9px 0 0; }
html[data-theme="light"] .au-plan-err{ color:#9A2F27; }
.au-av-cardbtn{ margin-top:13px; width:100%; padding:12px 16px; border-radius:13px; border:0; cursor:pointer;
  font:800 15px/1 inherit; color:#fff; background:linear-gradient(180deg,#3B93E0,#2F86D6); box-shadow:0 8px 20px -8px rgba(47,134,214,.7); }
.au-av-cardbtn.ghost{ background:rgba(255,255,255,.08); color:var(--ink,#e8f0f8); box-shadow:none; border:1px solid rgba(150,190,240,.18); }
html[data-theme="light"] .au-av-cardbtn.ghost{ background:#f2f6fb; color:#26405a; border-color:#e2eaf3; }
.au-av-cardbtn:active{ transform:translateY(1px); }

/* sheet body */
#au-av-body .au-av-banner{ border-radius:13px; padding:11px 14px; font-size:14px; line-height:1.45; margin-bottom:14px; }
#au-av-body .au-av-banner.open{ background:linear-gradient(135deg,rgba(47,134,214,.20),rgba(47,134,214,.08)); border:1px solid rgba(47,134,214,.30); color:var(--ink,#eaf1f9); }
#au-av-body .au-av-banner.wait{ background:rgba(255,255,255,.06); border:1px solid rgba(150,190,240,.16); color:var(--ink-2,#9db0c4); }
html[data-theme="light"] #au-av-body .au-av-banner.open{ background:#eaf3fc; border-color:#cfe4f7; color:#1c3a54; }
html[data-theme="light"] #au-av-body .au-av-banner.wait{ background:#f5f8fc; border-color:#e6edf5; color:#5b6b7f; }
.au-av-banner b{ font-weight:800; }
.au-av-quick{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.au-av-chip{ display:inline-flex; align-items:center; gap:6px; padding:9px 14px; border-radius:999px; cursor:pointer;
  font:700 13px/1 inherit; background:rgba(255,255,255,.07); color:var(--ink,#e8f0f8); border:1px solid rgba(150,190,240,.18); min-height:40px; }
.au-av-chip.on{ background:rgba(232,149,26,.18); border-color:rgba(232,149,26,.4); color:#FFC658; }
html[data-theme="light"] .au-av-chip{ background:#f2f6fb; color:#26405a; border-color:#e2eaf3; }
html[data-theme="light"] .au-av-chip.on{ background:#fbeed4; border-color:#f0d59a; color:#8a5a12; }
.au-av-lbl{ font-size:11.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-2,#8398ad); margin:4px 0 9px; }
.au-av-wkrow{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:16px; }
.au-av-wk{ aspect-ratio:1/1; min-height:40px; border-radius:11px; border:1px solid rgba(150,190,240,.18); cursor:pointer;
  font:800 14px/1 inherit; color:var(--ink,#e8f0f8); background:rgba(255,255,255,.05); }
.au-av-wk.on{ background:rgba(214,80,60,.22); border-color:rgba(214,80,60,.5); color:#FF9C8A; }
html[data-theme="light"] .au-av-wk{ background:#f7fafd; color:#33475e; border-color:#e6edf5; }
html[data-theme="light"] .au-av-wk.on{ background:#fbe7e3; border-color:#eeb4a9; color:#b23a28; }
.au-av-caltap{ font-size:12.5px; color:var(--ink-2,#8398ad); margin-bottom:8px; text-align:center; }
.au-av-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.au-av-cah{ text-align:center; font-size:10.5px; font-weight:800; color:var(--ink-2,#7f93a6); letter-spacing:.04em; padding-bottom:2px; }
.au-av-cell{ position:relative; aspect-ratio:1/1; min-height:40px; border-radius:12px; border:1px solid transparent; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font:700 14px/1 inherit; padding:0; transition:transform .12s ease; }
.au-av-cell.pad{ background:transparent; border:0; cursor:default; }
.au-av-cell.on{ background:rgba(95,163,48,.18); border-color:rgba(95,163,48,.34); color:#B7E58B; }
.au-av-cell.part{ background:rgba(232,149,26,.18); border-color:rgba(232,149,26,.4); color:#FFCB6B; }
.au-av-cell.off{ background:rgba(255,255,255,.04); border-color:rgba(150,190,240,.14); color:var(--ink-2,#8095a8); }
.au-av-cell:not(.pad):active{ transform:scale(.92); }
.au-av-cell[disabled]{ opacity:.55; cursor:default; }
html[data-theme="light"] .au-av-cell.on{ background:#eaf4e0; border-color:#c3e0a6; color:#3f7817; }
html[data-theme="light"] .au-av-cell.part{ background:#fbeed4; border-color:#f0d59a; color:#8a5a12; }
html[data-theme="light"] .au-av-cell.off{ background:#f5f8fc; border-color:#e6edf5; color:#8095a8; }
.au-av-cdot{ position:absolute; bottom:5px; left:50%; transform:translateX(-50%); width:5px; height:5px; border-radius:50%; }
.au-av-cdot.part{ background:#E8951A; } .au-av-cdot.off{ background:#D6503C; }
.au-av-legend{ display:flex; gap:16px; justify-content:center; margin:14px 0 4px; font-size:12px; color:var(--ink-2,#8398ad); }
.au-av-legend span{ display:inline-flex; align-items:center; gap:6px; }
.au-av-legend i{ width:11px; height:11px; border-radius:4px; display:inline-block; }
.au-av-legend i.on{ background:rgba(95,163,48,.5); } .au-av-legend i.part{ background:rgba(232,149,26,.6); } .au-av-legend i.off{ background:rgba(150,190,240,.22); }
.au-av-sum{ margin-top:14px; padding:14px; border-radius:14px; background:rgba(47,134,214,.10); border:1px solid rgba(47,134,214,.22); }
html[data-theme="light"] .au-av-sum{ background:#eef5fc; border-color:#d7e6f6; }
.au-av-sum1{ font-size:15px; color:var(--ink,#e8f0f8); line-height:1.5; } .au-av-sum1 b{ font-weight:800; }
.au-av-sum2{ font-size:13px; color:var(--ink-2,#8398ad); margin-top:5px; } .au-av-sum2 b{ color:inherit; font-weight:800; }
.au-av-submit{ width:100%; margin-top:16px; }

/* day editor */
.au-av-back{ display:inline-flex; align-items:center; gap:5px; background:none; border:0; cursor:pointer; color:var(--au-blue,#2F86D6); font:800 14px/1 inherit; padding:4px 0; margin-bottom:8px; }
.au-av-daytitle{ font-family:var(--au-f-disp,"Bricolage Grotesque",inherit); font-weight:800; font-size:20px; letter-spacing:-.01em; margin-bottom:16px; }
.au-av-opts{ display:flex; flex-direction:column; gap:10px; }
.au-av-opt{ display:flex; align-items:center; gap:10px; text-align:left; padding:15px 16px; border-radius:14px; cursor:pointer;
  font-size:15px; color:var(--ink,#e8f0f8); background:rgba(255,255,255,.05); border:1.5px solid rgba(150,190,240,.16); }
.au-av-opt b{ font-weight:700; }
.au-av-opt.on{ background:rgba(47,134,214,.16); border-color:var(--au-blue,#2F86D6); box-shadow:0 0 0 3px rgba(47,134,214,.14); }
html[data-theme="light"] .au-av-opt{ background:#f7fafd; color:#26405a; border-color:#e6edf5; }
html[data-theme="light"] .au-av-opt.on{ background:#eaf3fc; border-color:#2F86D6; }
.au-av-times{ display:flex; gap:12px; margin-top:14px; }
.au-av-times .au-step{ flex:1; }
.au-av-reasons{ display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-bottom:12px; }
.au-av-reason{ display:flex; align-items:center; gap:8px; padding:12px 13px; border-radius:12px; cursor:pointer; font-size:14px;
  color:var(--ink,#e8f0f8); background:rgba(255,255,255,.05); border:1.5px solid rgba(150,190,240,.16); }
.au-av-reason.on{ background:rgba(47,134,214,.16); border-color:var(--au-blue,#2F86D6); }
html[data-theme="light"] .au-av-reason{ background:#f7fafd; color:#26405a; border-color:#e6edf5; }
html[data-theme="light"] .au-av-reason.on{ background:#eaf3fc; border-color:#2F86D6; }
.au-av-note{ width:100%; padding:13px 15px; border-radius:12px; font:inherit; font-size:15px; color:var(--ink,#e8f0f8);
  background:rgba(9,17,30,.35); border:1px solid rgba(150,190,240,.22); }
html[data-theme="light"] .au-av-note{ background:#fff; color:#1a2b3d; border-color:#dce6f0; }
@media (prefers-reduced-motion:reduce){ .au-av-cell,.au-av-cardbtn{ transition:none } }

/* Monthly hours sign-off. Only ever drawn for the month the server nominates, so it appears once,
   at the bottom of the month just ended, and never while browsing history. */
.au-hrs-sign{ margin:18px 0 4px; padding:16px; border-radius:16px; background:var(--surface-sunk);
  border:1px solid var(--line); text-align:center; }
.au-hrs-sign p{ margin:0 0 12px; font-size:14px; line-height:1.5; color:var(--muted); }
.au-hrs-sign__btn{ width:100%; min-height:48px; border:0; border-radius:12px; cursor:pointer;
  font:700 15px/1 var(--body,system-ui); color:#fff;
  background:linear-gradient(135deg,#4AA3E8,#1F5FA8); }
.au-hrs-sign__btn:disabled{ opacity:.55; cursor:default; }
.au-hrs-sign__btn:focus-visible{ outline:3px solid var(--blue-d,#1F5FA8); outline-offset:2px; }
.au-hrs-sign.is-done{ display:flex; align-items:center; justify-content:center; gap:8px;
  color:var(--green-d,#2E7D32); font-weight:700; font-size:14.5px; }
.au-hrs-sign__ic{ font-size:17px; }
.au-hrs-sign.is-done small{ color:var(--muted); font-weight:600; }
