/* Youture: liquid glass app styles. Colours and sizes live in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
p, h1, h2, span, label { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Page background: four soft colour patches behind everything */
.bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bg i { position: absolute; border-radius: 50%; filter: blur(70px); }
.bg i:nth-child(1) { left: -90px; top: 120px; width: 300px; height: 300px; background: #9fe7ff; opacity: .55; }
.bg i:nth-child(2) { right: -110px; top: 40px; width: 320px; height: 320px; background: #ffc2e6; opacity: .6; }
.bg i:nth-child(3) { left: 20%; top: 470px; width: 280px; height: 220px; background: #d6c8ff; opacity: .55; }
.bg i:nth-child(4) { right: -60px; bottom: -40px; width: 260px; height: 220px; background: #fff0a8; opacity: .55; }

#app { position: relative; z-index: 1; max-width: 430px; margin: 0 auto; min-height: 100dvh; }
.screen {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  padding: calc(24px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
  animation: in .28s ease both;
}
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.spacer { flex: 1; }

/* ---------- Liquid glass ---------- */
.lg {
  position: relative; overflow: hidden;
  border: 1.5px solid transparent;
  background: var(--glass-over) padding-box, var(--glass-rim) border-box;
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 -5px 10px rgba(255,255,255,.4), inset 0 0 14px rgba(255,255,255,.22),
              0 12px 24px -10px var(--glow, rgba(120,110,200,.35)), 0 26px 36px -24px rgba(40,40,90,.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.9) brightness(1.04);
  backdrop-filter: blur(18px) saturate(1.9) brightness(1.04);
}
/* top sheen */
.lg::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 46%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, var(--sheen, rgba(255,255,255,.8)), rgba(255,255,255,0));
}
.lg > * { position: relative; }
/* tinted glass keeps its colour: thinner white layer */
.lg.tint { background: var(--glass-over-tint) padding-box, linear-gradient(var(--tint), var(--tint)) padding-box, var(--glass-rim) border-box; --sheen: rgba(255,255,255,.65); }
.lg.tint::after {
  content: ""; position: absolute; left: 15%; right: 15%; bottom: -3px; height: 45%; border-radius: 999px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, var(--caustic, rgba(200,180,255,.9)) 0%, transparent 70%); filter: blur(2px);
}
.violet { --tint: var(--violet); --glow: rgba(139,108,240,.6); color: #fff; text-shadow: 0 1px 2px rgba(60,30,140,.35); }
.red { --tint: rgba(210,59,78,.92); --glow: rgba(210,59,78,.5); --caustic: rgba(255,190,200,.8); color: #fff; }
.teal { --tint: rgba(20,184,170,.92); --glow: rgba(20,184,170,.5); --caustic: rgba(200,255,245,.7); color: #fff; }
.orange { --tint: rgba(242,153,74,.92); --glow: rgba(242,153,74,.5); --caustic: rgba(255,230,200,.7); color: #fff; }
.rose { --tint: rgba(226,96,122,.92); --glow: rgba(226,96,122,.5); --caustic: rgba(255,210,220,.7); color: #fff; }
.blue { --tint: rgba(111,134,214,.92); --glow: rgba(111,134,214,.5); --caustic: rgba(210,220,255,.7); color: #fff; }
.smoky { --tint: rgba(112,100,168,.34); --glow: rgba(90,80,150,.2); color: rgba(255,255,255,.9); text-shadow: 0 1px 2px rgba(40,35,80,.3); }
.smoky::after { display: none; }
/* coloured rims (focused or filled fields, errors, popovers) */
.lg.rim-brand { background: var(--glass-over) padding-box, var(--glass-fill) padding-box, var(--brand-rim) border-box;
  box-shadow: 0 0 0 4px rgba(251,81,164,.12), inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 -5px 10px rgba(255,255,255,.4), 0 12px 24px -10px rgba(120,110,200,.35); }
.lg.rim-red { background: var(--glass-over) padding-box, var(--glass-fill) padding-box, linear-gradient(90deg,#e2566a,#d23b4e 50%,#e2566a) border-box;
  box-shadow: 0 0 0 4px rgba(210,59,78,.14), inset 0 1.5px 1px rgba(255,255,255,.95), 0 12px 24px -10px rgba(210,59,78,.3); }
.lg.solid { background: var(--glass-over) padding-box, var(--glass-fill) padding-box, var(--glass-rim) border-box; }
.lg.solid.rim-brand { background: var(--glass-over) padding-box, var(--glass-fill) padding-box, var(--brand-rim) border-box; }

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; padding: 0 20px;
  border-radius: 28px; font-size: 16px; font-weight: 600; cursor: pointer; color: #1f2440; }
.btn.violet, .btn.red { font-weight: 700; }
.btn:disabled { cursor: default; }
.btn:active:not(:disabled), .icon-btn:active, .chip:active { transform: scale(.97); }
.icon-btn { flex-shrink: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.pill { height: 34px; padding: 0 16px; border-radius: 17px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: #3a3f55; cursor: pointer; }
.row-btns { display: flex; gap: 14px; width: 100%; }

/* Header */
.top { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; margin: -8px 0 16px; }
.top h1 { margin: 0; min-width: 0; font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); line-height: 0; }
.top .right { margin-left: auto; }
.badge { position: absolute; right: -5px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--brand-accent); border: 1.5px solid #fff; color: #fff; font-size: 10px; font-weight: 800; line-height: 15px; text-align: center;
  box-shadow: 0 3px 8px rgba(255,74,146,.55); z-index: 2; }
.burger { overflow: visible; }
.burger i { position: absolute; left: 11px; width: 16px; height: 2px; border-radius: 1px; background: var(--ink); }
.burger i:nth-of-type(1) { top: 13px; } .burger i:nth-of-type(2) { top: 18px; } .burger i:nth-of-type(3) { top: 23px; }
.large-title { margin: -6px 0 12px; font-size: 32px; font-weight: 800; letter-spacing: -.6px; line-height: 1.1; }

/* Text */
.h-lg { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.4px; }
.lead { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.center { text-align: center; }
.caps { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* Fields */
.fields { display: flex; flex-direction: column; gap: 12px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.box { height: 52px; padding: 0 22px; border-radius: 26px; display: flex; align-items: center; font-size: 15px; color: #2a2f45; cursor: text; }
.box input, .box select { width: 100%; border: 0; padding: 0; background: none; outline: none; font: inherit; color: inherit; appearance: none; -webkit-appearance: none; min-width: 0; }
.box input::placeholder { color: #8a8fa3; }
.box select.empty { color: #8a8fa3; }
.box .value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box .placeholder { color: #8a8fa3; }
button.box { width: 100%; text-align: left; font: inherit; font-size: 15px; cursor: pointer; }

/* Orb + rings */
.orb { position: relative; flex-shrink: 0; }
.orb video, .orb img.poster { position: absolute; display: block; object-fit: cover; pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 50% 53% at 49.5% 50%, #000 62%, transparent 100%); mask: radial-gradient(ellipse 50% 53% at 49.5% 50%, #000 62%, transparent 100%); }
.orb .track { position: absolute; left: 0; top: 0; border-radius: 50%; background: rgba(255,255,255,.45); }
.orb .ring > div { pointer-events: none; }
.orb .score { position: absolute; left: 0; top: 0; margin: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; letter-spacing: -1px;
  text-shadow: 0 1px 0 rgba(255,255,255,.8), 0 0 14px rgba(255,255,255,.6); }

/* Ask flow top block (same on every ask screen so nothing moves) */
.ask-top { height: 368px; display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.ask-top .headline { margin: 0; font-size: 18px; font-weight: 600; text-align: center; }
.ask-top .headline.error { color: var(--red); font-weight: 700; }
.ask-top .sub { margin: 0; max-width: 300px; font-size: 13px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.wavy { text-decoration: underline wavy var(--red); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* Popovers (calendar, suggestions) open upward from their field */
.pop { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 20; }
.cal { padding: 16px 14px; border-radius: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; height: 30px; font-size: 15px; font-weight: 600; }
.cal-head .icon-btn { width: 28px; height: 28px; font-size: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 0; margin-top: 8px; text-align: center; }
.cal-grid .wd { font-size: 11px; color: var(--ink-3); padding-bottom: 6px; }
.cal-day { justify-self: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; font-size: 14px; color: var(--ink); cursor: pointer; padding: 0; }
.cal-day:disabled { color: #c3c6d2; cursor: default; }
.cal-day.lg { color: #fff; font-weight: 700; }
.sugg { list-style: none; margin: 0; padding: 6px; border-radius: 24px; }
.sugg li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; font-size: 14px; color: #2a2f45; cursor: pointer; }
.sugg li.lg { --glow: rgba(120,110,200,.25); }

/* Onboarding */
.dots { display: flex; gap: 8px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(138,143,163,.45); }
.dots i.on { width: 22px; background: linear-gradient(90deg,#ff4a92,#9a7bd8); }
.brand-block { position: absolute; left: 0; right: 0; top: 196px; display: flex; flex-direction: column; align-items: center; }
.brand-block .tag { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }
.grid-card { position: relative; width: 308px; height: 308px; margin: 28px auto 0; border-radius: 36px; font-family: 'Frank Ruhl Libre','Noto Serif Hebrew',serif;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(244,246,252,.4)); border: 1px solid rgba(150,163,190,.45);
  box-shadow: inset 0 1.5px 0 #fff, 0 24px 40px -28px rgba(60,70,120,.5); }
.grid-card span { position: absolute; display: flex; align-items: center; justify-content: center; line-height: 1; font-size: 17px; }
.chip-card { position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 8px 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,246,252,.75)); box-shadow: inset 0 1px 0 #fff, 0 10px 18px -12px rgba(60,70,120,.45); }
.chip-card b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip-card small { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.loadbar { position: relative; width: 120px; height: 3px; border-radius: 2px; background: rgba(138,143,163,.25); overflow: hidden; }
.loadbar span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 2px; background: linear-gradient(90deg,#ffc21f,#ff4a92,#9a7bd8,#12d8c6); animation: load 1.4s ease-in-out infinite; }
@keyframes load { 0% { left: -30%; } 100% { left: 100%; } }

/* History */
.chips { display: flex; gap: 8px; margin-bottom: 10px; }
.chip { width: 46px; height: 46px; flex-shrink: 0; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chip.all { flex: 1; width: auto; border-radius: 23px; gap: 8px; font-size: 16px; font-weight: 700; color: #3a3f55; }
.chip.on:not(.all) { --rim: 1; box-shadow: 0 0 0 3px rgba(139,108,240,.35), inset 0 1.5px 1px rgba(255,255,255,.95), 0 12px 24px -10px var(--glow); }
.list { margin: 0 -24px; padding-bottom: 110px; }
.row { position: relative; height: 92px; overflow: hidden; }
.row .acts { position: absolute; top: 0; bottom: 0; display: flex; opacity: 0; transition: opacity .15s; }
.row .acts.left { left: 0; } .row .acts.right { right: 0; }
.row.open-l .acts.left, .row.open-r .acts.right, .row.dragging .acts { opacity: 1; }
.act { position: relative; width: 76px; height: 100%; padding: 0; border: 0; border-right: 1px solid rgba(255,255,255,.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.15; text-align: center; white-space: pre-line; cursor: pointer; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.06) 45%, rgba(255,255,255,0) 60%, rgba(255,255,255,.14) 100%), var(--c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 16px -8px rgba(0,0,0,.18); }
.act::before { content: ""; position: absolute; inset: 6px; border-radius: 16px; border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 46%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); pointer-events: none; }
.act::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -4px; height: 45%; border-radius: 999px; background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.55) 0%, transparent 70%); filter: blur(2px); pointer-events: none; }
.act > * { position: relative; }
.act.current::before { border-width: 2px; border-color: rgba(255,255,255,.95); }
.card { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding-left: 12px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: pointer;
  transition: transform .28s cubic-bezier(.2,.9,.3,1); }
.row.dragging .card { transition: none; }
.row.open-l .card, .row.open-r .card, .row.dragging .card { background: linear-gradient(180deg, rgba(250,251,254,.97), rgba(243,245,251,.97)); }
.dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; }
.dot.on { background: var(--brand-accent); box-shadow: 0 0 6px rgba(255,74,146,.6); }
.bead { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bead svg { width: 20px; height: 20px; }
.row-text { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; gap: 3px; padding: 13px 20px 12px 0; border-bottom: 1px solid rgba(120,128,160,.22); }
.row-text .l1 { display: flex; align-items: baseline; gap: 8px; }
.row-text .t { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text .pct { flex-shrink: 0; font-size: 15px; font-weight: 800; }
.row-text .l2 { font-size: 14.5px; color: #2a2f45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text .l2.wait { color: #c2306e; font-weight: 600; }
.row-text .l3 { font-size: 14px; color: #7a7f92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { width: 8px; height: 13px; flex-shrink: 0; align-self: center; }
.tip { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 9px 8px 9px 14px; border-radius: 18px; background: rgba(255,255,255,.28); border: 1px dashed rgba(138,143,163,.5); }
.tip p { margin: 0; flex: 1; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.tip .icon-btn { width: 30px; height: 30px; }
.toolbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 30; width: min(398px, calc(100% - 32px));
  height: 64px; padding: 0 10px; border-radius: 32px; display: flex; align-items: center; justify-content: space-between; }
.toolbar .icon-btn { width: 44px; height: 44px; }
.toolbar .status { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.toolbar .status b { font-size: 12.5px; font-weight: 600; }
.toolbar .status span { font-size: 12px; color: #c2306e; }
.toolbar .status span.calm { color: var(--ink-3); }
.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 16px 120px; text-align: center; }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 60; width: min(398px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(23,23,28,.88); color: #fff; font-size: 13px;
  box-shadow: 0 12px 24px -10px rgba(20,20,45,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.toast span { flex: 1; }
.toast button { padding: 0; border: 0; background: none; color: #ffc0da; font-size: 13px; font-weight: 700; cursor: pointer; }

/* Detail */
.verdict { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.4px; line-height: 1.15; color: var(--ink); }
.facts { display: flex; flex-direction: column; gap: 14px; padding: 0 4px; }
.facts h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.facts p { margin: 0; font-size: 14px; line-height: 1.45; color: #5f6377; }

/* Time Trend */
.trend-top { display: flex; align-items: center; gap: 18px; }
.gauge { position: relative; width: 300px; height: 130px; margin: 0 auto; }
.gauge .lbl { position: absolute; font-size: 11.5px; font-weight: 600; color: #3a3f55; }
.tl-card { padding: 14px 14px 12px; border-radius: 24px; }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: 18px; }
.seg button { height: 28px; padding: 0 14px; border: 0; border-radius: 15px; font-size: 12px; font-weight: 600; color: #3a3f55; background: transparent; cursor: pointer; }
.seg button.lg { color: #fff; }
.tl { position: relative; width: 100%; height: 116px; }
.tl .band { position: absolute; left: 30px; right: 0; }
.tl .tdot { position: absolute; border-radius: 50%; z-index: 2; }
.ticks { position: relative; height: 14px; margin-top: 6px; }
.ticks button { position: absolute; top: 0; width: 28px; padding: 0; border: 0; background: none; font-size: 10px; color: var(--ink-3); text-align: center; cursor: pointer; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 10.5px; color: #4f5368; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini { padding: 12px 10px; border-radius: 20px; display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: default; }
.mini b { font-size: 20px; font-weight: 800; }
.mini span { font-size: 11px; line-height: 1.3; color: #5f6377; }
a.mini { cursor: pointer; }

/* Menu */
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 22px; font-weight: 500; color: #3a3f55; }
.menu-nav a.current { font-weight: 700; color: var(--ink); }
.menu-nav .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--brand-accent); color: #fff; font-size: 12px; font-weight: 800; line-height: 24px; text-align: center; }
.socials { display: flex; gap: 14px; }
.socials a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.socials img { width: 24px; height: 24px; object-fit: contain; }

/* Settings */
.section-label { margin: 4px 0 -8px 6px; }
.set-card { border-radius: 24px; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid rgba(150,163,190,.28); cursor: pointer; }
.set-row:last-child { border-bottom: 0; }
.set-row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.set-row .tx b { font-size: 15.5px; font-weight: 600; }
.set-row .tx span { font-size: 12.5px; color: var(--ink-3); }
.switch { width: 56px; height: 34px; flex-shrink: 0; padding: 0; border-radius: 17px; cursor: pointer; overflow: visible; }
.switch .knob { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(180deg,#fff,#f1f3f9);
  box-shadow: 0 2px 5px rgba(20,20,45,.3), inset 0 1px 0 #fff; transition: left .2s; }
.switch.on .knob { left: 24px; }
.doc { display: flex; flex-direction: column; gap: 16px; padding: 4px 4px 0; }
.doc h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.doc p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4f5368; }
.draft { padding: 3px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #a06a00; background: rgba(255,194,31,.22); border: 1px solid rgba(255,194,31,.5); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.28); border: 1px dashed rgba(138,143,163,.5); }
.note p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }

/* Sheet */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(30,32,52,.28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 51; width: min(406px, calc(100% - 24px));
  padding: 26px 22px 22px; border-radius: 32px; display: flex; flex-direction: column; gap: 12px; }
.sheet h2 { margin: 4px 0 0; font-size: 20px; font-weight: 800; text-align: center; }
.sheet p { margin: 0; font-size: 14px; line-height: 1.5; color: #4f5368; text-align: center; }

/* text on tinted glass always reads white */
.lg.violet, .lg.red, .lg.teal, .lg.orange, .lg.rose, .lg.blue { color: #fff; }
.lg.smoky { color: rgba(255,255,255,.92); }

/* birthdate: our own label, with the phone's date picker laid invisibly over the whole field */
.box:has(input.overlay) { position: relative; cursor: pointer; }
.box input.overlay { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 3; cursor: pointer; font-size: 16px; }

/* iPhone zooms into fields under 16px: keep them at 16 */
.box input, .box select, .box .value { font-size: 16px; }
