/* HelloBusy owner-dashboard mockups — shared tokens.
   Palette and type are the LIVE approved theme (atlas/pwa/theme.css): Daylight + Night
   shift, one type set for both modes so switching changes colour only.
   Nothing here touches the live dashboard. */

@font-face{font-family:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations"),
      url(/fonts/fraunces-latin-full-normal.woff2) format("woff2")}
@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:400 900;font-display:swap;
  src:url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations"),
      url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2")}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400;font-display:swap;
  src:url(/fonts/dm-mono-latin-400-normal.woff2) format("woff2")}

html[data-theme="day"]{
  color-scheme:light;
  --bg:#FBF2D9;--panel:#F4E9C8;--card:#FFFBEF;--hover:#EFE2BF;
  --line:#E2D5B3;--line2:#CBBD95;--text:#231F1A;--dim:#625B4F;--faint:#6B6355;
  --accent:#FFB01F;--on-accent:#231F1A;--accent2:#1F4D3A;--link:#1F4D3A;
  --good:#1B6B43;--warn:#7A4F00;--bad:#B3261E;
  --clarice:#5E35B5;--harold:#2856B3;
  --good-tint:rgba(27,107,67,.12);--good-line:rgba(27,107,67,.35);
  --warn-tint:rgba(255,176,31,.18);--warn-line:rgba(255,176,31,.6);
  --overlay:rgba(35,31,26,.45);--shadow:0 20px 50px -24px rgba(35,31,26,.35);
}
html[data-theme="night"]{
  color-scheme:dark;
  --bg:#15130F;--panel:#1A1813;--card:#1E1B16;--hover:#2A2620;
  --line:#3C3730;--line2:#4A443B;--text:#EDE6D6;--dim:#B5AB98;--faint:#9A9283;
  --accent:#F2B84B;--on-accent:#231F1A;--accent2:#F2B84B;--link:#F2B84B;
  --good:#7CAB94;--warn:#F2B84B;--bad:#DA8088;
  --clarice:#BBA6DD;--harold:#88A9DD;
  --good-tint:rgba(62,90,76,.40);--good-line:rgba(62,90,76,.85);
  --warn-tint:rgba(242,184,75,.12);--warn-line:rgba(242,184,75,.4);
  --overlay:rgba(5,4,3,.66);--shadow:0 24px 60px -24px rgba(0,0,0,.7);
}
html{
  --sans:"Schibsted Grotesk",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --display:"Fraunces",Georgia,"Times New Roman",serif;
  --mono:"DM Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --safe-b:env(safe-area-inset-bottom,0px);
}

*,*::before,*::after{box-sizing:border-box}
/* A `hidden` attribute has to win over a component's own `display`. */
[hidden]{display:none!important}
html,body{margin:0;padding:0}
body{
  background:var(--bg);color:var(--text);font-family:var(--sans);
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:100%;
}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:600;letter-spacing:-.015em;
  font-variation-settings:"SOFT" 100,"WONK" 1}
p{margin:0}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
a{color:var(--link)}
:focus-visible{outline:2px solid var(--accent2);outline-offset:2px;border-radius:6px}
.mono{font-family:var(--mono);letter-spacing:0;font-variant-numeric:tabular-nums}

/* The neutral wordmark. The logo redraw is still open, so this is type only:
   no tile, no initials, no mark. */
.wordmark{font-family:var(--display);font-weight:600;font-size:17px;letter-spacing:-.02em;
  font-variation-settings:"SOFT" 100,"WONK" 1}

/* 44px minimum on everything tappable. */
.tap{min-height:44px;display:inline-flex;align-items:center;justify-content:center}

.btn{min-height:44px;padding:0 18px;border-radius:999px;display:inline-flex;align-items:center;
  justify-content:center;gap:8px;font-size:15px;font-weight:600;border:1px solid transparent;
  transition:background .12s ease,border-color .12s ease}
.btn.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.btn.primary:hover{filter:brightness(1.04)}
.btn.quiet{border-color:var(--line2);color:var(--text)}
.btn.quiet:hover{background:var(--hover)}
.btn.bare{color:var(--dim);padding:0 10px}
.btn.bare:hover{color:var(--text)}
.btn.sm{min-height:38px;font-size:14px;padding:0 14px}

/* A visible honesty tag on illustrative data (an aria-label is not enough). */
.eg{font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--faint);border:1px solid var(--line);border-radius:5px;padding:1px 5px;white-space:nowrap}

.who{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--dim)}
.dot{width:7px;height:7px;border-radius:50%;flex:none}
.dot.clarice{background:var(--clarice)}
.dot.harold{background:var(--harold)}

/* App chrome shared by the three concepts. */
.bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;
  height:56px;padding:0 14px;background:var(--bg);border-bottom:1px solid var(--line)}
.bar .sp{flex:1}
.iconbtn{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:var(--dim)}
.iconbtn:hover{background:var(--hover);color:var(--text)}

/* The menu everything else tucks into. */
.sheet{position:fixed;inset:0;z-index:40;background:var(--overlay);display:none}
.sheet[open]{display:block}
.sheet .panel{position:absolute;left:0;right:0;bottom:0;max-height:88dvh;overflow:auto;
  background:var(--panel);border-top:1px solid var(--line2);border-radius:20px 20px 0 0;
  padding:8px 0 calc(16px + var(--safe-b));box-shadow:var(--shadow)}
@media (min-width:720px){
  .sheet .panel{left:auto;right:12px;bottom:auto;top:62px;width:340px;border-radius:16px;
    border:1px solid var(--line2);max-height:80dvh}
}
.sheet h2{font-size:13px;font-family:var(--sans);font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--faint);padding:14px 18px 6px}
.sheet a,.sheet .row{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 18px;
  color:var(--text);text-decoration:none;font-size:15px}
.sheet a:hover,.sheet .row:hover{background:var(--hover)}
.sheet .row .sp{flex:1}
.grab{width:40px;height:4px;border-radius:999px;background:var(--line2);margin:8px auto 2px}

.foot{padding:22px 16px calc(28px + var(--safe-b));text-align:center;color:var(--faint);font-size:12px}
.foot .mono{font-size:11px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
