/* Praveen ji's app v3: the approved look, split out of deliverables/praveen/prototypes/v3/final.template.html.
   Unchanged, apart from the score line on People (.sky::after), which now takes its value from the page.
   What the live app adds is at the bottom, under "Live app additions". */
/* Final · "Obsidian" (Option A), with four ideas from Option D redrawn in A's colours and fonts:
   severity marks (seal, diamond, tick), "who ticked them", score rings with pills, and "TVs made, of planned". */
:root {
  --bg: #050608;
  --s1: #0D0F12; --s2: #13151A; --s3: #1B1E24;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .13);
  --ink: #F4F2ED; --ink2: #B9BBC1; --mute: #80848E; --dim: #4B4F58;
  --red: #FF524D; --hot: #FF2F2F; --r: 255, 58, 54;
  --amber: #E0A848; --a: 224, 168, 72;
  --ok: #5FD0A1;
  --ui: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  --xc: "Sofia Sans Extra Condensed", "Sofia Sans Condensed", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
html, body { margin: 0; color: var(--ink); }
body { font: 400 15px/1.45 var(--ui); -webkit-font-smoothing: antialiased; background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; padding: max(14px, env(safe-area-inset-top)) 20px 136px; position: relative;
  background: radial-gradient(520px 300px at 50% -140px, rgba(120, 130, 150, .20) 0%, rgba(120, 130, 150, 0) 70%); }
@media (min-width: 700px) { body { background: #020203; } .app { background-color: var(--bg); box-shadow: 0 0 0 1px var(--line); } }
.n { font-family: var(--cond); font-variant-numeric: tabular-nums lining-nums; }

/* ---------- header: the live instrument strip ---------- */
.top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.live { display: inline-flex; align-items: center; gap: 9px; font: 600 11.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 208, 161, .15), 0 0 12px rgba(95, 208, 161, .8); animation: pulse 2.6s ease-in-out infinite; }
.live span { font: 400 13px/1 var(--ui); letter-spacing: 0; text-transform: none; color: var(--mute); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.me { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--ui); letter-spacing: .06em; text-decoration: none;
  background: linear-gradient(180deg, #1D2026, #101216); border: 1px solid var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.me.on { border-color: rgba(255, 255, 255, .5); }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-weight: 500; text-decoration: none; height: 40px; margin-left: -5px; padding-right: 10px; }
.back svg { width: 19px; height: 19px; }
.watching { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.watching div { padding: 10px 0 10px 14px; }
.watching div + div { border-left: 1px solid var(--line); }
.watching b { display: block; font: 500 22px/1 var(--cond); letter-spacing: .01em; }
.watching span { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; white-space: nowrap; }

.eyebrow { font: 400 13.5px/1 var(--ui); color: var(--mute); margin-top: 24px; }
.h1 { font: 500 30px/1.1 var(--ui); letter-spacing: -.022em; margin: 9px 0 0; text-wrap: balance; }
.h1 .q { color: var(--mute); }
.lede { color: var(--ink2); font-size: 14.5px; margin: 10px 0 0; max-width: 36ch; }

/* the day's state: 10 blades, 2 red */
.meter { display: grid; gap: 12px; margin-top: 18px; }
.meter .g { min-width: 0; }
.meter .g.c { min-width: max-content; }
.meter .mk { margin-right: 5px; }
.meter .bl { display: flex; gap: 3px; align-items: flex-end; height: 20px; border-bottom: 1px solid var(--line2); }
.meter .bl i { flex: 1; border-radius: 2px 2px 0 0; }
.meter .c .bl i { height: 20px; background: linear-gradient(180deg, #FF8B84, var(--hot)); box-shadow: 0 0 16px rgba(var(--r), .7); }
.meter .w .bl i { height: 11px; background: var(--amber); opacity: .78; }
.meter .f .bl i { height: 5px; background: var(--ink); opacity: .26; }
.meter .g > span { display: block; font: 400 12.5px/1 var(--ui); color: var(--mute); margin-top: 9px; white-space: nowrap; }
.meter .g > span b { font-weight: 600; color: var(--ink); }
.meter .c > span b { color: var(--red); }

/* ---------- surfaces ---------- */
.card { background: linear-gradient(180deg, #111318 0%, #0C0E11 100%); border: 1px solid var(--line); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045); }
.pad { padding: 18px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 32px 2px 12px; }
.sec h3 { font: 600 17px/1.25 var(--ui); letter-spacing: -.005em; margin: 0; }
.sec span { font: 400 12.5px/1.2 var(--ui); color: var(--mute); white-space: nowrap; }
.rows { overflow: hidden; }
.row { display: flex; gap: 13px; align-items: center; padding: 14px 16px; text-decoration: none; color: inherit; position: relative; }
.row + .row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; border-top: 1px solid var(--line); }
.row .body { flex: 1; min-width: 0; }
.row .t { font: 600 15.5px/1.3 var(--ui); overflow-wrap: anywhere; }
.row .s { color: var(--mute); font-size: 13px; line-height: 1.4; margin-top: 2px; overflow-wrap: anywhere; }
.row .end { text-align: right; flex: none; }
.chev { width: 15px; height: 15px; color: var(--dim); flex: none; }
.note { color: var(--mute); font-size: 13px; line-height: 1.45; }

/* ---------- the three marks: seal = critical, diamond = watch, tick = fine (a level reads by shape, not only colour) ---------- */
.seal { flex: none; display: block; overflow: visible; filter: drop-shadow(0 0 5px rgba(var(--r), .6)); }
.dia { width: 8px; height: 8px; flex: none; display: inline-block; border-radius: 1.5px; background: var(--amber); transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(var(--a), .14); }
.dia.dim { background: none; border: 1.5px solid var(--mute); box-shadow: none; }
.okm { width: 13px; height: 13px; flex: none; color: var(--ok); }
/* a mark set inside a line of text: one fixed box, so the three shapes sit on the same line */
.mk { display: inline-block; position: relative; width: 14px; height: 14px; vertical-align: -2.5px; margin-right: 6px; flex: none; }
.mk > * { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mk .seal { filter: drop-shadow(0 0 3px rgba(var(--r), .5)); }
.mk .dia { width: 7px; height: 7px; box-shadow: none; transform: translate(-50%, -50%) rotate(45deg); }
.mk .okm { width: 12px; height: 12px; }
.pill { display: inline-block; flex: none; font: 600 11.5px/1 var(--ui); letter-spacing: .01em; padding: 6px 9px; border-radius: 99px; white-space: nowrap; color: #FF9A94; background: rgba(var(--r), .11); box-shadow: inset 0 0 0 1px rgba(255, 104, 100, .36); }
.foot { color: var(--dim); font-size: 12.5px; text-align: center; margin-top: 26px; }

/* ---------- critical: the hero ---------- */
.crit { display: block; position: relative; border-radius: 26px; padding: 16px 18px 18px; margin-top: 22px; overflow: hidden; text-decoration: none; color: inherit;
  background: radial-gradient(130% 320px at 0% 0%, rgba(var(--r), .23) 0%, rgba(var(--r), 0) 62%), linear-gradient(180deg, #151011 0%, #0B0A0B 100%);
  border: 1px solid rgba(255, 96, 92, .26);
  box-shadow: 0 30px 70px -34px rgba(255, 40, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.crit::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(255, 120, 116, 0), rgba(255, 140, 136, .95), rgba(255, 120, 116, 0)); }
.crit.two { margin-top: 12px; background: radial-gradient(110% 240px at 0% 0%, rgba(var(--r), .13) 0%, rgba(var(--r), 0) 60%), linear-gradient(180deg, #131012 0%, #0B0A0B 100%); border-color: rgba(255, 96, 92, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.crit.two::before { opacity: .55; }
.tag { display: flex; align-items: center; gap: 9px; font: 600 11.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--red); height: 24px; }
.tag > span { margin-left: auto; font: 400 12.5px/1 var(--ui); letter-spacing: 0; text-transform: none; color: var(--mute); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tag > span .pill { margin-left: 6px; }
.heroN { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 12px; }
.big { font: 500 138px/1 var(--xc); letter-spacing: -.01em; margin: -.17em 0 -.165em -.02em; padding-right: .03em; display: inline-block;
  background: linear-gradient(180deg, #FFFFFF 30%, #FFC8C3 76%, #FF8F87 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(var(--r), .42)); font-variant-numeric: lining-nums; }
.big small { font: 500 .42em/1 var(--xc); margin-left: .04em; }
.big.m { font-size: 104px; }
.big.w { font-size: min(104px, 26.6vw); } /* a four-digit number: eases down on phones narrower than 390px */
.crit h2 { font: 600 22px/1.16 var(--ui); letter-spacing: -.012em; margin: 16px 0 0; text-wrap: balance; }
.crit .why { color: var(--ink2); font-size: 14.5px; line-height: 1.45; margin: 8px 0 0; }
/* four days, climbing */
.trend { display: flex; align-items: flex-end; gap: 7px; flex: none; }
.trend .c { width: 31px; text-align: center; }
.trend .c span { display: block; font: 500 15px/1 var(--cond); color: var(--ink2); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.trend .c i { display: block; border-radius: 4px 4px 1px 1px; background: rgba(var(--r), .2); box-shadow: inset 0 1.5px 0 rgba(255, 110, 106, .75); }
.trend .c em { display: block; font: 400 11.5px/1 var(--ui); font-style: normal; color: var(--mute); margin-top: 7px; }
.trend .c.now span { color: #fff; font-weight: 600; }
.trend .c.now i { background: linear-gradient(180deg, #FF7C75, var(--hot)); box-shadow: 0 0 18px rgba(var(--r), .65); }
.trend .c.now em { color: var(--ink); }
.trend .c.ghost i { background: none; box-shadow: none; border: 1px dashed rgba(255, 110, 106, .6); border-bottom: 0; position: relative; }
.trend.tvb .c i { background: rgba(255, 255, 255, .16); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .55); }
.trend.tvb .c.now i { background: linear-gradient(180deg, #fff, #CFCBC3); box-shadow: none; }
.trend.tvb .c { width: 38px; }
.trend.tvb .c span { font-size: 14px; }

/* claim against reality */
.proof { display: block; text-decoration: none; color: inherit; margin-top: 16px; border-radius: 18px; padding: 14px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .075); }
.lbl { display: flex; align-items: center; justify-content: space-between; font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.lbl .chev { width: 13px; height: 13px; display: block; }
.pf-n { font: 600 15.5px/1.25 var(--ui); margin-top: 9px; overflow-wrap: anywhere; }
.pf-w { color: var(--mute); font-size: 13px; margin-top: 2px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; position: relative; }
.side { border-radius: 14px; padding: 11px 12px 12px; min-width: 0; }
.side small { display: block; font: 400 12px/1 var(--ui); color: var(--mute); }
.side .st { display: flex; align-items: center; gap: 9px; height: 36px; margin-top: 9px; }
.side b { font: 600 15.5px/1.08 var(--ui); }
.side span { display: block; font-size: 12.5px; line-height: 1.3; color: var(--ink2); margin-top: 7px; }
.side .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.side.claim { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .11); }
.side.claim .ic { background: var(--ink); color: #07080A; }
.side.claim .ic svg { width: 17px; height: 17px; }
.side.real { background: rgba(var(--r), .075); border: 1px dashed rgba(255, 104, 100, .55); }
.side.real strong { font: 500 44px/.8 var(--cond); letter-spacing: -.01em; color: #FF8179; text-shadow: 0 0 22px rgba(var(--r), .55); }
.side.real b { color: #FF8F89; font-size: 14px; }
.vs::after { content: "≠"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #0A090A; border: 1px solid rgba(255, 104, 100, .5); color: var(--red); font: 600 14px/1 var(--ui); }
.since { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.since b { font: 500 46px/.85 var(--cond); color: #FF8179; letter-spacing: -.01em; text-shadow: 0 0 22px rgba(var(--r), .5); }
.since span { font-size: 13.5px; line-height: 1.35; color: var(--ink2); }
.since span em { font-style: normal; color: var(--mute); display: block; }
/* who ticked them: a name, one red pip per sheet, the count */
.who { margin-top: 18px; }
.who .lbl { padding: 0 2px 10px; }
.wrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px 13px; align-items: center; column-gap: 10px; min-height: 46px; padding: 0 2px; text-decoration: none; color: inherit; border-top: 1px solid var(--line); }
.wrow .nm { font: 600 15px/1.2 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .nm small { font: 400 12.5px/1 var(--ui); color: var(--mute); margin-left: 7px; }
.pips { display: flex; gap: 3px; justify-content: flex-end; }
.pips i { width: 5px; height: 14px; border-radius: 1.5px; background: linear-gradient(180deg, #FF8B84, var(--hot)); box-shadow: 0 0 8px rgba(var(--r), .5); }
.wrow b { font: 500 22px/1 var(--cond); color: #FF8179; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.wrow .chev { width: 13px; height: 13px; }
.who .others { font-size: 13px; line-height: 1.4; color: var(--mute); padding: 12px 2px 0; border-top: 1px solid var(--line); }
.cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; margin-top: 16px; border-radius: 14px; text-decoration: none; font: 600 14.5px/1 var(--ui); background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); }
.cta .chev { color: var(--ink2); }
/* made, of planned: white is what was made, the red hatch is what is short */
.mop { position: relative; height: 12px; border-radius: 6px; margin-top: 16px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 104, 100, .62) 0 1.5px, rgba(255, 104, 100, 0) 1.5px 6px), rgba(var(--r), .08); box-shadow: inset 0 0 0 1px rgba(255, 104, 100, .45); }
.mop i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px 0 0 6px; background: linear-gradient(180deg, #FFFFFF, #CFCBC3); box-shadow: 2px 0 0 #0C0A0B; }
.mop-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; line-height: 1.35; color: var(--mute); margin-top: 9px; }
.mop-l b { color: var(--ink); font-weight: 600; }
.mop-l em { font-style: normal; font-weight: 600; color: #FF8F89; white-space: nowrap; }
.gauge-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); margin-top: 14px; }
.gauge-l b { color: var(--ink); font-weight: 600; }

/* meeting card */
.meet { display: flex; align-items: center; gap: 15px; padding: 15px 16px; margin-top: 12px; text-decoration: none; }
.meet .clock { font: 500 34px/1 var(--cond); letter-spacing: .005em; }
.meet .t { font: 600 15.5px/1.25 var(--ui); }
.meet .s { color: var(--mute); font-size: 13px; margin-top: 2px; }
.meet .chev { margin-left: auto; }
.meet .sep { width: 1px; align-self: stretch; background: var(--line2); }

/* fine: quiet */
.fine { list-style: none; margin: 0; padding: 0; }
.fine li { display: flex; align-items: center; gap: 11px; padding: 9px 2px; font-size: 13.5px; color: var(--mute); }
.fine li + li { border-top: 1px solid var(--line); }
.fine svg { width: 13px; height: 13px; color: var(--ok); opacity: .8; flex: none; }

/* ---------- the week: register against sheet ---------- */
.wk { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); column-gap: 4px; margin-top: 12px; }
.wk-l, .wk-c { display: grid; grid-template-rows: 13px 24px 24px; row-gap: 4px; align-items: center; padding: 4px 0; }
.wk-l { font: 400 12px/1 var(--ui); color: var(--mute); }
.wk-c { justify-items: center; border-radius: 9px; border: 1px solid transparent; }
.wk-c em { font: 500 10.5px/1 var(--ui); font-style: normal; color: var(--dim); }
.wk-c.lie { background: rgba(var(--r), .10); border-color: rgba(255, 104, 100, .36); }
.wk-c.lie em { color: var(--red); }
.cell { width: 22px; height: 22px; border-radius: 6.5px; display: grid; place-items: center; flex: none; }
.cell.nil::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .17); }
.cell.tick { background: var(--ink); color: #07080A; }
.cell.tick svg { width: 13px; height: 13px; }
.cell.empty { border: 1.5px dashed var(--red); background: rgba(var(--r), .05); }
.cell.written { background: rgba(255, 255, 255, .1); }
.cell.written::after { content: ""; width: 10px; height: 6px; border-top: 1.5px solid rgba(255, 255, 255, .6); border-bottom: 1.5px solid rgba(255, 255, 255, .6); }
.cell.missed::after { content: ""; width: 8px; height: 1.5px; border-radius: 1px; background: var(--amber); opacity: .85; }
.key { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--mute); margin: 14px 2px 0; }
.key span { display: inline-flex; gap: 7px; align-items: center; }
.key .cell { width: 16px; height: 16px; border-radius: 5px; }
.key .cell.tick svg { width: 10px; height: 10px; }
.key .cell.written::after { width: 8px; height: 5px; }

.ev { padding: 16px; }
.ev + .ev { border-top: 1px solid var(--line); }
.ev-h { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; }
.ev-t { min-width: 0; }
.ev-t b { display: block; font: 600 15px/1.28 var(--ui); overflow-wrap: anywhere; }
.ev-t span { display: block; color: var(--mute); font-size: 13px; margin-top: 3px; }
.ev-t a { text-decoration: none; color: var(--ink2); }
.ev-n { text-align: right; flex: none; }
.ev-n b { display: block; font: 500 30px/.9 var(--cond); color: var(--ink); }
.ev-n.hot b { color: #FF8179; text-shadow: 0 0 18px rgba(var(--r), .5); }
.ev-n span { display: block; font-size: 11.5px; line-height: 1.2; color: var(--mute); margin-top: 5px; }
.ev-f { color: var(--mute); font-size: 12.5px; margin-top: 10px; }
.ev.top1 { background: radial-gradient(120% 160px at 100% 0%, rgba(var(--r), .13), rgba(var(--r), 0) 70%); }
.ev.top1 .ev-n b { font-size: 46px; }
.btn { appearance: none; border: 1px solid var(--line2); background: rgba(255, 255, 255, .045); color: var(--ink); font: 500 13.5px/1 var(--ui); padding: 10px 13px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: transform .08s ease, background-color .12s, color .12s; }
.btn svg { width: 11px; height: 11px; }
.btn.on { background: var(--ink); color: #07080A; border-color: var(--ink); }
.btn.wide { display: flex; width: 100%; justify-content: center; height: 46px; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 600; font-size: 14.5px; }

/* all sheets, one line each */
.code { display: block; width: 100%; height: auto; margin-top: 16px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 16px; }
.legend div { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--mute); }
.legend b { font: 500 20px/1 var(--cond); color: var(--ink); min-width: 30px; }
.legend i { width: 3px; height: 13px; border-radius: 1px; flex: none; align-self: center; }
.statrow { display: flex; align-items: flex-end; gap: 10px; }
.stat { font: 500 58px/.82 var(--cond); letter-spacing: -.01em; }
.stat small { font: 400 20px/1 var(--cond); color: var(--mute); margin-left: 6px; letter-spacing: 0; }
.bar { height: 3px; background: rgba(255, 255, 255, .09); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: 2px; background: var(--ink); opacity: .8; }
.bar i.red { background: var(--red); opacity: 1; } .bar i.amber { background: var(--amber); opacity: 1; }
.line-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.line-h .k { font: 600 15px/1.3 var(--ui); }
.line-h .v { font: 500 21px/1 var(--cond); white-space: nowrap; }
.line-h .v small { font-size: 15px; color: var(--mute); }
.flag { color: #FF8F89; }

/* ---------- people ---------- */
.sky { display: flex; align-items: flex-end; gap: 4px; height: 76px; margin-top: 4px; position: relative; }
.sky a { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255, 255, 255, .22); display: block; }
.sky a.red { background: linear-gradient(180deg, #FF7C75, var(--hot)); box-shadow: 0 0 12px rgba(var(--r), .45); }
.sky a.amber { background: var(--amber); opacity: .8; }
.sky { margin-right: 22px; }
.sky::after { content: attr(data-low); position: absolute; left: 0; right: -22px; bottom: calc(var(--low, 60%) - 6px); height: 12px; background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)) 0 50% / calc(100% - 20px) 1px no-repeat; font: 400 11px/12px var(--ui); color: var(--mute); text-align: right; pointer-events: none; }
.sky a.ok { background: rgba(95, 208, 161, .36); }
/* a small score ring: the same dial as the person page */
.ring { position: relative; width: 46px; height: 46px; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.ring b { position: relative; font: 500 20px/1 var(--cond); font-variant-numeric: lining-nums; }
.ring.red .v { filter: drop-shadow(0 0 3px rgba(var(--r), .8)); }
.prow .t { display: flex; align-items: center; gap: 8px; }
.prow .t span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .t .pill { margin-left: auto; }
@media (max-width: 374px) { .prow .t { flex-wrap: wrap; row-gap: 5px; } .prow .t .pill { margin-left: 0; } .tag > span .d { display: none; } }
.sec h3 .seal { display: inline-block; vertical-align: -2.5px; margin-right: 8px; }

.dialw { display: flex; align-items: center; gap: 16px; }
.dial { width: 112px; height: 112px; flex: none; position: relative; }
.dial svg { width: 100%; height: 100%; display: block; }
.dial div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding-top: 2px; }
.dial b { font: 500 46px/.9 var(--cond); }
.dial span { font-size: 11.5px; color: var(--mute); margin-top: 4px; }
.dialw p { margin: 0; font: 500 17px/1.32 var(--ui); letter-spacing: -.005em; }
.part { padding: 14px 16px; }
.part + .part { border-top: 1px solid var(--line); }
.part .s { color: var(--mute); font-size: 13px; margin-top: 8px; }
.part.bad .v, .part.bad .s { color: #FF8F89; }
.part .k .mk { margin-right: 8px; }
.flag .mk { margin-right: 4px; }
.strip { padding: 15px 16px 14px; }
.strip + .strip { border-top: 1px solid var(--line); }
.strip .nm { font: 600 14.5px/1.3 var(--ui); overflow-wrap: anywhere; }
.strip .ls { color: var(--mute); font-size: 12.5px; margin-top: 3px; }
.strip .ls b { color: #FF8F89; font-weight: 500; }

/* ---------- factory ---------- */
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.mini div { padding: 14px 0 0; }
.mini div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.mini b, .split b { display: block; font: 500 27px/1 var(--cond); }
.mini span, .split span { display: block; color: var(--mute); font-size: 12.5px; line-height: 1.35; margin-top: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 16px; }
.split > div + div { border-left: 1px solid var(--line); }
.planbars { display: flex; align-items: flex-end; gap: 4px; height: 84px; margin-top: 16px; }
.planbars div { flex: 1; text-align: center; }
.planbars i { display: block; border-radius: 2px 2px 0 0; background: rgba(255, 255, 255, .2); }
.planbars .now i { background: var(--ink); }
.planbars .peak i { background: rgba(255, 255, 255, .42); }
.planbars em { display: block; height: 12px; font: 400 11px/1 var(--ui); font-style: normal; color: var(--mute); margin-top: 6px; }
.planbars .now em { color: var(--ink); font-weight: 600; }
.planbars .peak em { color: var(--ink2); }

/* ---------- meeting, more, tasks ---------- */
.whoq { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.whoq + .whoq { border-top: 1px solid var(--line); }
.whoq .no { font: 500 26px/1 var(--cond); color: var(--dim); width: 20px; flex: none; text-align: center; padding-top: 1px; }
.whoq .nm { font: 600 16px/1.25 var(--ui); }
.whoq .nm span { font-weight: 400; font-size: 13px; color: var(--mute); }
.whoq .ab { margin-top: 5px; font-size: 14.5px; color: var(--ink2); }
.whoq .ab.flag { color: #FF9A94; }
.whoq .ab { display: flex; align-items: flex-start; }
.whoq .ab .mk { margin: 3.5px 8px 0 0; }
.whoq .nmr { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.whoq .see { flex: none; color: var(--mute); font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; align-self: center; }
.btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink2); flex: none; }
.ico svg { width: 18px; height: 18px; }
.cnt { font: 500 20px/1 var(--cond); color: var(--ink2); }
.cnt.red { color: #FF8179; }
.cnt.amber { color: var(--amber); }
.late { width: 52px; flex: none; }
.late b { display: block; font: 500 30px/.9 var(--cond); }
.late span { display: block; font-size: 11px; color: var(--mute); margin-top: 4px; }
.late.red b { color: #FF8179; } .late.amber b { color: var(--amber); }

/* ---------- tab bar ---------- */
.scrim { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(440px, 100%); height: 128px; background: linear-gradient(180deg, rgba(5, 6, 8, 0) 0%, rgba(5, 6, 8, .82) 42%, #050608 80%); pointer-events: none; z-index: 8; }
.tabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(12px, env(safe-area-inset-bottom)); width: min(404px, calc(100% - 20px)); display: grid; grid-template-columns: 1fr 1fr 78px 1fr 1fr; align-items: end; height: 64px; padding: 0 6px; border-radius: 24px;
  background: rgba(18, 20, 24, .84); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07); z-index: 9; }
.tabs a { display: grid; justify-items: center; gap: 5px; padding: 0 0 10px; color: #6E727C; text-decoration: none; font: 500 10.5px/1 var(--ui); letter-spacing: .02em; position: relative; transition: color .12s; }
.tabs a svg { width: 22px; height: 22px; }
.tabs a.on { color: var(--ink); }
.tabs a.on::before { content: ""; position: absolute; top: -11px; width: 18px; height: 2px; border-radius: 0 0 2px 2px; background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.tabs .b { position: absolute; top: -5px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4.5px; border-radius: 9px; background: var(--hot); color: #fff; font: 700 11px/17px var(--cond); letter-spacing: .01em; text-align: center; box-shadow: 0 0 0 2px #121418, 0 0 12px rgba(var(--r), .7); }
.tabs a.aib { color: var(--ink2); }
.tabs a.aib::before { display: none; }
.orb { width: 60px; height: 60px; margin-top: -32px; border-radius: 50%; display: grid; place-items: center; color: #07080A;
  background: radial-gradient(120% 120% at 30% 18%, #FFFFFF 0%, #EDEAE3 52%, #B9B5AC 100%);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(255, 255, 255, .17), 0 10px 34px -4px rgba(255, 255, 255, .26), inset 0 -4px 8px rgba(0, 0, 0, .14); transition: transform .08s ease; }
.orb svg { width: 26px; height: 26px; }
.tabs a.aib.on { color: var(--ink); }
.tabs a.aib.on .orb { box-shadow: 0 0 0 5px var(--bg), 0 0 0 6.5px rgba(255, 255, 255, .6), 0 10px 38px -2px rgba(255, 255, 255, .36), inset 0 -4px 8px rgba(0, 0, 0, .14); }
.tabs a.aib.down { transform: none; filter: none; }
.tabs a.aib.down .orb { transform: scale(.93); }

/* ---------- ask ---------- */
.chat { display: grid; gap: 12px; margin-top: 20px; }
.vn { justify-self: end; max-width: 86%; background: linear-gradient(180deg, #23262D, #1A1D23); border: 1px solid var(--line2); border-radius: 20px 20px 6px 20px; padding: 11px 13px 11px; }
.vn .wave { display: flex; align-items: center; gap: 10px; }
.vn .play { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #07080A; display: grid; place-items: center; flex: none; }
.vn .play svg { width: 12px; height: 12px; margin-left: 1px; }
.vn .bars { display: flex; align-items: center; gap: 2.5px; height: 26px; }
.vn .bars i { width: 2.5px; border-radius: 2px; background: rgba(244, 242, 237, .8); }
.vn .dur { font: 500 13px var(--cond); color: var(--mute); margin-left: 3px; }
.vn .said { font-size: 13.5px; color: var(--ink2); margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.ans { border-radius: 6px 22px 22px 22px; padding: 16px 16px 15px; }
.ans .src { display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.ans .src svg { width: 15px; height: 15px; }
.ans .src em { font: 400 12.5px/1 var(--ui); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--mute); margin-left: auto; }
.ans .lead { font: 600 22px/1.18 var(--ui); margin-top: 13px; letter-spacing: -.012em; text-wrap: balance; }
.ans p { margin: 9px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.5; }
.ans p b { color: var(--ink); font-weight: 600; }
.ans ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 9px; }
.ans ol li { counter-increment: a; display: flex; gap: 12px; font-size: 14.5px; color: var(--ink2); line-height: 1.45; }
.ans ol li::before { content: counter(a); font: 500 19px/1.15 var(--cond); color: var(--mute); width: 12px; flex: none; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.srcs span { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1 var(--ui); color: var(--ink2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px 6px 8px; }
.srcs span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.acts { display: flex; gap: 8px; margin-top: 14px; }
.thinking { display: flex; align-items: center; gap: 9px; color: var(--mute); font-size: 14px; padding: 14px 16px; border-radius: 6px 22px 22px 22px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite ease-in-out; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 104px); width: min(404px, calc(100% - 20px)); z-index: 8; }
.dock::before { content: ""; position: absolute; left: -18px; right: -18px; top: -34px; bottom: -40px; background: linear-gradient(180deg, rgba(5, 6, 8, 0) 0, var(--bg) 34px); z-index: -1; pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; appearance: none; border: 1px solid var(--line2); background: #121419; color: var(--ink); font: 500 13.5px/1 var(--ui); padding: 11px 14px; border-radius: 99px; cursor: pointer; transition: transform .08s ease; }
.compose { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 30px; background: #121419; border: 1px solid var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.compose input { flex: 1; border: 0; outline: 0; background: transparent; font: 400 15.5px var(--ui); color: var(--ink); min-width: 0; }
.compose input::placeholder { color: var(--mute); }
.hold { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #07080A; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .08s ease; touch-action: none; }
.hold svg { width: 20px; height: 20px; }
.hold.down { transform: scale(.92); }
.listen { position: fixed; inset: 0; z-index: 20; display: none; place-items: center; background: radial-gradient(60% 40% at 50% 46%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 70%), rgba(5, 6, 8, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.listen.on { display: grid; }
.listen .box { text-align: center; }
.listen .lv { display: flex; gap: 5px; align-items: center; justify-content: center; height: 96px; }
.listen .lv i { width: 4px; border-radius: 3px; height: 14px; background: var(--ink); animation: lv .9s infinite ease-in-out; }
@keyframes lv { 0%, 100% { height: 12px; opacity: .5; } 50% { height: 84px; opacity: 1; } }
.listen .t { font: 500 30px/1.15 var(--ui); letter-spacing: -.02em; margin-top: 22px; }
.listen .s { color: var(--mute); font-size: 14.5px; margin-top: 8px; }
.app.asking { padding-bottom: 262px; }

/* ---------- motion: one entrance, instant press ---------- */
.in > * { animation: rise .3s cubic-bezier(.2, .7, .2, 1) both; }
.in > *:nth-child(2) { animation-delay: .03s; } .in > *:nth-child(3) { animation-delay: .06s; } .in > *:nth-child(4) { animation-delay: .09s; }
.in > *:nth-child(5) { animation-delay: .12s; } .in > *:nth-child(n+6) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.press { transition: transform .08s ease, filter .12s ease; }
.press.down { transform: scale(.985); filter: brightness(1.28); }
.btn.down, .chip.down { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .in > *, .live i, .thinking i, .listen .lv i { animation: none; } .listen .lv i { height: 44px; } * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================================================
   Live app additions (17 Nov 2026). Nothing above this line changes the approved design.
   ===================================================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { touch-action: manipulation; }
button { font-family: inherit; }
.tabs a, .btn, .chip, .row, .wrow, .cta, .meet, .me, .back, .hold, .see, .proof { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a.btn { text-decoration: none; }
.compose input, .noteed textarea { font-size: 16px; } /* under 16px an iPhone zooms the page when the box is tapped */

/* the green dot goes grey when the last refresh did not reach the server */
.live.off i { background: var(--mute); box-shadow: none; animation: none; }

/* before the first data arrives */
.wait { display: flex; align-items: center; gap: 9px; color: var(--mute); font-size: 14px; margin-top: 28px; }
.wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite ease-in-out; }
.wait i:nth-child(2) { animation-delay: .15s; } .wait i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }

/* the same hero card when its number is not critical: no red */
.hero { position: relative; border-radius: 26px; padding: 16px 18px 18px; margin-top: 22px; }
.hero h2 { font: 600 22px/1.16 var(--ui); letter-spacing: -.012em; margin: 16px 0 0; text-wrap: balance; }
.hero .why { color: var(--ink2); font-size: 14.5px; line-height: 1.45; margin: 8px 0 0; }
.hero .big { background-image: linear-gradient(180deg, #FFFFFF 30%, #E9E6DF 100%); filter: none; }
.hero .mop { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .34) 0 1.5px, rgba(255, 255, 255, 0) 1.5px 6px), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hero .mop i { box-shadow: 2px 0 0 #0E1013; }
.hero .mop-l em { color: var(--ink2); }
.hero .pill { color: var(--ink2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); }
.hero.watch .mop { background: repeating-linear-gradient(135deg, rgba(var(--a), .7) 0 1.5px, rgba(var(--a), 0) 1.5px 6px), rgba(var(--a), .07); box-shadow: inset 0 0 0 1px rgba(var(--a), .45); }
.hero.watch .mop-l em { color: var(--amber); }
.hero.watch .pill { color: var(--amber); background: rgba(var(--a), .1); box-shadow: inset 0 0 0 1px rgba(var(--a), .36); }
.tag.watch { color: var(--amber); } .tag.fine { color: var(--ok); } .tag.plain { color: var(--ink2); }
.tag > .dia { margin: 0 3px 0 5px; }
.crit > h2:first-of-type { overflow-wrap: anywhere; }

/* rows on More that open in place: the detail sits under the row, in line with its text */
.rowb { appearance: none; -webkit-appearance: none; border: 0; background: none; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rowb > .chev { transition: transform .12s ease; }
.rowb[aria-expanded="true"] > .chev { transform: rotate(90deg); }
.xtra { margin: -3px 16px 0 65px; padding: 10px 0 15px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink2); overflow-wrap: anywhere; }
.xtra b { font-weight: 600; color: var(--ink); }
.xtra div + div { margin-top: 7px; }
.xtra + .row { position: relative; }
.xtra + .row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; border-top: 1px solid var(--line); }

/* ask: a typed question, an answer that failed, the hint line, the send arrow, what the phone is hearing */
.vn.typed { padding: 10px 14px; }
.vn.typed .said { margin: 0; padding: 0; border: 0; color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.vn .said { overflow-wrap: anywhere; }
.ans { overflow-wrap: anywhere; }
.ans ol li > span { min-width: 0; }
.ans ol li b, .ans .lead b { color: var(--ink); font-weight: 600; }
.ans.err .src { color: var(--amber); }
.acts:empty, .srcs:empty { display: none; }
.btn .stop { width: 9px; height: 9px; border-radius: 2px; background: currentColor; display: inline-block; }
.hint { font-size: 12.5px; line-height: 1.35; color: var(--ink2); padding: 0 6px 9px; }
.hint:empty { display: none; }
.hold .mic, .hold .snd { display: grid; place-items: center; }
.hold .snd { display: none; }
.hold.send .mic { display: none; }
.hold.send .snd { display: grid; }
.hold:disabled { opacity: .5; }
.listen { touch-action: none; -webkit-user-select: none; user-select: none; }
.listen .box { position: relative; }
.listen .heard { position: absolute; left: 50%; top: calc(100% + 22px); transform: translateX(-50%); width: min(330px, 86vw); font: 400 17px/1.4 var(--ui); color: var(--ink2); text-wrap: balance; }
.listen .heard:empty { display: none; }

/* meeting: what was saved, and the note box */
.mst { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; line-height: 1.4; color: var(--mute); margin-top: 10px; }
.mst svg { width: 12px; height: 12px; color: var(--ok); flex: none; margin-top: 2.5px; }
.mst.bad { color: #FF8F89; }
.mst q { color: var(--ink2); quotes: "\201C" "\201D"; overflow-wrap: anywhere; }
.noteed { margin-top: 12px; }
.noteed textarea { display: block; width: 100%; min-height: 86px; resize: none; border-radius: 14px; border: 1px solid var(--line2); background: #121419; color: var(--ink); font-family: var(--ui); line-height: 1.4; padding: 11px 13px; outline: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.noteed textarea::placeholder { color: var(--mute); }
.noteed .btns { margin-top: 8px; }

/* the key screen */
body.locked .scrim, body.locked .tabs { display: none; }
body.locked .app { padding-bottom: 28px; }
.gate { min-height: calc(100vh - 56px); min-height: calc(100dvh - 56px); display: flex; flex-direction: column; }
.gate-b { margin: auto 0; padding: 24px 0 72px; }
.gate .ico { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 22px; }
.gate .ico svg { width: 21px; height: 21px; }
.keyf { margin-top: 24px; }
.keyf input { font-size: 16px; letter-spacing: .02em; }
.gate-e { min-height: 20px; margin: 12px 6px 0; font-size: 13.5px; line-height: 1.4; color: #FF8F89; }
.gate .foot { margin-top: 0; }
