/* advisory. check-in — the app's light "Day" look (globals.css, 2026-11-03):
   the DS light tokens, then the Day overrides the mockup's root div carried
   (cool sky, near-opaque white glass, #d8dfe9 hairline, 18px radius, no card
   shadow, warm corner glow), Lato only. Lato is self-hosted (OFL). */
@font-face { font-family: Lato; src: url("fonts/lato-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* design-system light tokens */
  --background: #eef4fe; --foreground: #14233c; --muted-foreground: #5d6b86; --faint-foreground: #8a96ac;
  --glass-bg-strong: #ffffff8c; --glass-shadow: 0 10px 30px -12px #14233c33; --hairline: #14233c1a;
  --card: #fff; --card-foreground: #14233c; --surface: #f3f7fe; --border: #dbe3f0; --input: #fff;
  --ring: #0d9488; --primary: #0d9488; --primary-foreground: #fff;
  --positive: #15a06b; --negative: #e5484d;
  --negative-subtle: #fee2e2; --negative-subtle-foreground: #991b1b;
  --info-subtle: #dbeafe; --info-subtle-foreground: #1e40af;
  --radius-control: .625rem; --radius-pill: 9999px;
  --menu-active: #566171; --menu-idle: #5D6B86; --ink-strong: #000;
  /* Day overrides (the mockup's root style) */
  --sky: linear-gradient(180deg, #edf1f7 0%, #e5eaf2 45%, #d9e0eb 100%);
  --sky-top: #edf1f7;
  --glass-bg: #fffffff2;
  --glass-border: #d8dfe9;
  --radius-card: 18px;
  --stick-bg: rgba(248, 250, 253, .95);
  --font-sans: Lato, sans-serif;
  --font-display: Lato, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font-family: Lato, sans-serif;
  color: var(--foreground);
  background-color: #e5eaf2;
  background-image: radial-gradient(ellipse 70% 55% at 100% 0%, #fff1da88 0%, #fff1da33 35%, transparent 65%), var(--sky);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; }
h1, p { margin: 0; }
a { color: #0f766e; }
a:hover { color: #0d9488; }

/* App Day view: cards are near-opaque white with a hairline and no drop shadow. */
.glass-card { box-shadow: none; }

/* The mockup's 390px phone frame, as a centred column: wordmark + nav on top,
   main scrolls, footer stays put. */
#app { height: 100%; }
.shell {
  width: 100%; max-width: 420px; height: 100vh; height: 100dvh; margin: 0 auto;
  display: flex; flex-direction: column; overflow: hidden;
}
.main {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 16px;
}
.main > * { flex: none; }

/* The app's edit ring: a focused field outlines in the neutral ink. */
input:focus, select:focus, textarea:focus { border-color: var(--ink-strong) !important; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
button:disabled { cursor: default; }

/* iOS zooms the page into any field under 16px; on touch screens draw fields at 16px. */
@media (hover: none) and (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
}

/* Desktop: the column floats on the sky with a little air above it. */
@media (min-width: 700px) {
  .shell { height: calc(100dvh - 32px); margin-top: 16px; border-radius: 28px; border: 1px solid var(--glass-border); background: #ffffff40; }
}
