/* revise-look v1 (the Boss chose "Taxi" with Johnny, 8 Nov 2026; spec handovers/revise-taxi-8nov/SPEC.md). LOOK ONLY.
   Scope: the Due Today app (.card.spot.due, any entry), its done and empty states, the Quick 10 that the Revise tab opens
   (body has #nav-today.active, i.e. the Revise flow), and the Revise tab's active state. Nothing else is restyled.
   Yellow #FFD400 with black #171816 ink; never white text on yellow, never yellow text on white. */
:root { --rv-y: #FFD400; --rv-k: #171816; --rv-g: var(--bg); --rv-mute: #343823; }

/* page ground: the normal page colour (v1.1, the Boss 8 Nov: "the sides white"); yellow only on the band, buttons, chips, the tab and Done */

/* 1. the band: the card's top, yellow, black ink */
html body .card.spot.due { background: var(--card); border: 0; border-radius: 18px 18px 0 0; box-shadow: inset 10px 0 0 var(--rv-g), inset -10px 0 0 var(--rv-g); overflow: visible; }
html body .card.spot.due > .apphead.spothead { position: relative; background: var(--rv-y); color: var(--rv-k); border: 0; border-radius: 0; margin-bottom: 18px; padding-bottom: 26px; }
html body .card.spot.due > .apphead.spothead::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 18px; background: var(--card); border-radius: 18px 18px 0 0; }
html body .card.spot.due .spothead h3 { color: var(--rv-k); font: 800 2.45rem/1.05 Manrope, system-ui, sans-serif !important; letter-spacing: -1.8px; }
html body .card.spot.due .spothead .spoteye { display: none; }
html body .card.spot.due .spothead .spotsub { color: var(--rv-k); }
html body .card.spot.due .spothead .spotico { background: var(--rv-k); color: var(--rv-y); border-radius: 10px; }
html body .card.spot.due .spothead .spotico svg { stroke: var(--rv-y); }
html body .card.spot.due .spothead .count { display: inline-block; background: var(--rv-k); color: var(--rv-y); border-radius: 4px; padding: 2px 8px; font-weight: 700; }
html body .card.spot.due .spothead .count b { color: var(--rv-y); }
html body .card.spot.due .spothead .closeapp, html body .card.spot.due .spothead .ht-q { background: transparent; color: var(--rv-k); border: 1px solid var(--rv-k); box-shadow: none; }

/* 2. the question card: the app's own colours; the why-pill black (yellow in dark mode) */
html body .card.spot.due .qmeta .pill { background: var(--rv-k); color: #fff; border-radius: 5px; border: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body .card.spot.due .qmeta .pill { background: var(--rv-y); color: var(--rv-k); } }
:root[data-theme="dark"] .card.spot.due .qmeta .pill { background: var(--rv-y); color: var(--rv-k); }

/* 3. done for today and the empty state: all yellow, left aligned, black tick tile */
html body .card.spot.due:not(:has(.qtext)) { background: var(--rv-y); box-shadow: none; border-radius: 18px; color: var(--rv-k); }
html body .card.spot.due:not(:has(.qtext)) > .apphead.spothead { margin-bottom: 0; padding-bottom: 12px; }
html body .card.spot.due:not(:has(.qtext)) > .apphead.spothead::after { display: none; }
html body .card.spot.due .duedone { display: block !important; text-align: left; color: var(--rv-k); font: 800 3.5rem/1.02 Manrope, system-ui, sans-serif; letter-spacing: -2.8px; margin: 8px 0 12px; }
html body .card.spot.due .duedone::before { content: ''; display: block; width: 88px; height: 88px; border-radius: 23px; margin: 0 0 22px; background: var(--rv-k) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD400' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 48px no-repeat; }
html body .card.spot.due .duenext { text-align: left; color: var(--rv-mute); }
html body .card.spot.due:not(:has(.qtext)) .navrow { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
html body .card.spot.due:not(:has(.qtext)) .navrow .btn { background: var(--rv-k); color: var(--rv-y); border: 1px solid var(--rv-k); }
html body .card.spot.due:not(:has(.qtext)) .navrow .btn.secondary { background: transparent; color: var(--rv-k); border: 1px solid var(--rv-k); }
html body .card.spot.due:not(:has(.qtext)) .appnote, html body .card.spot.due:not(:has(.qtext)) .muted, html body .card.spot.due:not(:has(.qtext)) p { color: var(--rv-mute); }
html body .card.spot.due:not(:has(.qtext)) .duedone { color: var(--rv-k); }
html body .card.spot.due:not(:has(.qtext)) .spothead .count { display: none; }   /* no "0 to revise" on the done and empty screens */

/* the Quick 10 the Revise tab opens: yellow ground, black note */
body:has(#nav-today.active) #main .revnote { background: var(--rv-k); color: #fff; border-color: var(--rv-k); }
body:has(#nav-today.active) #main .revnote .revplan { background: var(--rv-y); color: var(--rv-k); }

/* 4. the Revise tab, active in the Revise flow */
#nav-today.active { background: var(--rv-y) !important; color: var(--rv-k) !important; }
#nav-today.active svg { stroke: var(--rv-k) !important; }
#nav-today.active span, #nav-today.active b { color: var(--rv-k) !important; }

/* the site header on these screens stays as today (the real lockup is white and mint and does not read on yellow);
   html.rv-hdr-try shows the alternative for Johnny's look check only */
html.rv-hdr-try body:has(.card.spot.due) > header { background: var(--rv-y); color: var(--rv-k); }
html.rv-hdr-try body:has(.card.spot.due) > header .rl-lockup { filter: brightness(0); }

/* Johnny's look check (8 Nov): in the Revise flow only, Next is black with yellow text (dimmed when disabled), Skip stays neutral,
   the How-it-works "Got it" is black/yellow, and the "12 due today. Tracking ..." note is muted text with no green */
body:has(#nav-today.active) #anext, body:has(#nav-today.active) #nextbtn { background: var(--rv-k) !important; color: var(--rv-y) !important; border-color: var(--rv-k) !important; box-shadow: none; }
body:has(#nav-today.active) #anext:disabled, body:has(#nav-today.active) #nextbtn:disabled { opacity: .45; }
body:has(#nav-today.active) .ht-ok { background: var(--rv-k) !important; color: var(--rv-y) !important; border-color: var(--rv-k) !important; }
html body .card.spot.due .appnote, html body .card.spot.due .appnote b { color: var(--muted); }

/* v1.2 (the Boss, 8 Nov: "Top is green. SHOULD BE BLACK."): on the Revise screens the site's top bar is black in both modes; header-tint
   v1 copies the bar's --brand-deep into theme-color, so the phone's status bar follows. The lockup is white and mint, so it reads on black. */
html body:has(.card.spot.due) > header, html body:has(#nav-today.active):has(#main .card.scr) > header { --brand-deep: #171816; }
html:root body:has(.card.spot.due) > header::before, html:root body:has(#nav-today.active):has(#main .card.scr) > header::before { background: #171816 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
