/* Dataplor Reviews — visual system lifted from the approved mockup (Aug 2026 rebrand).
   Tokens: blue #4152F3, chartreuse CTA #DFF114, warm ink #3F3C3A, off-white #F1EEEC. */
:root {
  color-scheme: light;
  --blue: #4152F3; --blue-dark: #2E3BD1; --chart: #DFF114; --chart-ink: #2E3000;
  --ink: #3F3C3A; --ink-soft: #6E6A66; --bg: #F1EEEC; --card: #ffffff;
  --line: #E5E1DD; --grad: linear-gradient(100deg, #4C63EE 0%, #7A80F0 100%);
  --ok: #0B7A3E; --warn: #B45309;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Roboto, "Segoe UI", -apple-system, "Helvetica Neue", sans-serif; }
.hidden { display: none !important; }

/* ---------- app shell ---------- */
.appbar { background: var(--grad); color: #fff; padding: 12px 26px; display: flex; align-items: center; gap: 26px; position: sticky; top: 0; z-index: 40; }
.appbar .wordmark svg { display: block; }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.wordmark .rev { background: rgba(255,255,255,.18); border-radius: 99px; padding: 2px 12px; font-size: 12px; font-weight: 600; }
/* Nav tabs — T1 floating pills (Katie 2026-08-18; T2 segmented is the fallback) */
.appnav { display: flex; gap: 6px; font-size: 14.5px; align-items: center; }
.appnav a { color: rgba(255,255,255,.8); text-decoration: none; padding: 5px 14px; cursor: pointer; border-radius: 99px; transition: background .12s, color .12s; }
.appnav a:hover { background: rgba(255,255,255,.13); color: #fff; }
.appnav a.on { background: #fff; color: var(--blue-dark); font-weight: 600; box-shadow: 0 2px 8px rgba(30,28,26,.18); }
/* User chip — C3 avatar menu (Katie 2026-08-18): chip opens a dropdown */
.userchip { margin-left: auto; background: rgba(255,255,255,.16); border-radius: 99px; padding: 4px 12px 4px 5px; font-size: 13px; display: flex; gap: 8px; align-items: center; cursor: pointer; user-select: none; font-weight: 700; color: #fff; }
.userchip:hover { background: rgba(255,255,255,.24); }
.userchip .av { width: 26px; height: 26px; border-radius: 99px; background: var(--chart); color: var(--chart-ink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; flex: none; }
.userchip .chev { font-size: 10px; opacity: .8; margin-left: 2px; }
/* Google profile photo in the chip (Katie 2026-08-18, option A): the photo fills the
   existing 26px disc; the chartreuse initials disc stays the fallback for anyone
   without a photo, and for any URL that fails to load. */
.userchip .av.photo { background: none; padding: 0; overflow: hidden; }
.userchip .av.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Hover-open (Katie 2026-08-18): an invisible bridge spans the gap between the
   chip and the menu so moving the pointer down doesn't drop the hover. */
.usermenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.usermenu { position: absolute; right: 26px; top: 52px; background: #fff; border-radius: 12px; box-shadow: 0 10px 34px rgba(30,28,26,.22); padding: 6px; z-index: 50; min-width: 180px; }
.usermenu .mi { padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 14px; cursor: pointer; }
.usermenu .mi:hover { background: #EDEFFE; color: var(--blue-dark); }
.usermenu .msep { height: 1px; background: var(--line); margin: 4px 8px; }
a.wordmark { color: inherit; text-decoration: none; cursor: pointer; }
.appbar a.wordmark { color: #fff; }
.wrap { max-width: 980px; margin: 0 auto; padding: 22px 20px 60px; }
section h2 { font-size: 19px; margin: 22px 0 4px; }

/* ---------- components ---------- */
/* inline-flex + nowrap: badge and label stay centered on ONE line even in
   tight table columns (Katie 2026-08-18 — pills were wrapping in Team view) */
.pill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; vertical-align: middle; border-radius: 99px; padding: 3px 12px; font-size: 13px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); margin: 2px 4px 2px 0; }
h3 .pill { margin-left: 6px; } /* breathing room between a heading and its pill */
.pill.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill.time { background: #EDEFFE; border-color: #C9CEFB; color: var(--blue-dark); font-weight: 600; }
.pill.ok { background: #EAF7EF; border-color: #BCE3CB; color: var(--ok); font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 14px 0; box-shadow: 0 1px 2px rgba(63,60,58,.04); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card.placeholder { color: var(--ink-soft); border-style: dashed; box-shadow: none; }
.muted { color: var(--ink-soft); font-size: 14.5px; }
.btn { display: inline-block; border-radius: 99px; border: 1.5px solid var(--chart); background: var(--chart); color: var(--chart-ink); padding: 8px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; margin: 6px 8px 0 0; }
.btn:hover { filter: brightness(.96); }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--ink-soft); color: var(--ink); font-weight: 500; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }

.stepper { display: flex; margin: 14px 0 6px; }
.step { flex: 1; text-align: center; font-size: 13.5px; color: var(--ink-soft); position: relative; padding-top: 18px; }
.step::after { content: ""; position: absolute; top: 6px; left: calc(50% + 8px); width: calc(100% - 16px); height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step::before { content: ""; display: block; width: 13px; height: 13px; border-radius: 99px; background: var(--line); position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.step.done::before, .step.done::after { background: var(--blue); }
.step.now::before { background: #fff; border: 3.5px solid var(--blue); width: 8px; height: 8px; }
.step.now { color: var(--ink); font-weight: 700; }

table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; }
th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); border-bottom: 1.5px solid var(--line); padding: 7px 8px; }
td { border-bottom: 1px solid #EFECE9; padding: 8px; font-size: 15px; }
tr:hover td { background: #FAF8F6; }

.q { margin: 16px 0 4px; font-weight: 600; font-size: 15px; }
.q .req { color: var(--blue-dark); }
.q .missing { color: var(--warn); font-weight: 500; font-size: 11.5px; margin-left: 6px; }
.scalehint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.sect { margin: 22px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-dark); font-weight: 700; }
textarea.real { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; min-height: 72px; resize: vertical; }
textarea.real:focus { outline: 2px solid #C9CEFB; }
.rating { display: flex; gap: 8px; margin: 8px 0; }
.rating span { width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer; background: #fff; user-select: none; }
.rating span.sel { background: var(--blue); border-color: var(--blue); color: #fff; }

.cols2 { display: flex; gap: 16px; flex-wrap: wrap; }
.cols2 > div { flex: 1; min-width: 300px; }
.bigcheck { width: 54px; height: 54px; border-radius: 99px; background: var(--chart); color: var(--chart-ink); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 6px auto 10px; }
.bigcheck.green { background: var(--ok); color: #fff; }
.center { text-align: center; }
select, input[type=search] { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 99px; padding: 10px 22px; font-size: 13px; opacity: 0; transition: opacity .3s; z-index: 70; pointer-events: none; }
.toast.show { opacity: 1; }
.pill.savestate { font-weight: 600; }
.pill.savestate.busy { background: #EDEFFE; border-color: #C9CEFB; color: var(--blue-dark); }
.pill.savestate.saved { background: #EAF7EF; border-color: #BCE3CB; color: var(--ok); }
.pill.savestate.err { background: #FDECEA; border-color: #F5C6C0; color: #b3261e; }
/* Saved confirmation is transient (Katie 2026-08-18): it appears, holds, then fades
   back to the resting "Autosaves as you type" copy so the pill stops shouting.
   The resting copy itself stays - it was an explicit M2 decision. */
.pill.savestate { transition: background .3s ease, border-color .3s ease, color .3s ease; }
@media (prefers-reduced-motion: reduce) { .pill.savestate { transition: none; } }
.btn.sm { padding: 5px 14px; font-size: 13.5px; }
.card.navcard { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.card.navcard:hover { border-color: #8A9BF7; box-shadow: 0 2px 10px rgba(65,82,243,.12); }

/* Home tiles (Variant 2-B: square, chartreuse header, disc icons) */
.tilegrid { display: grid; grid-template-columns: repeat(auto-fill, 272px); gap: 18px; justify-content: start; margin-top: 12px; }
.sq { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 17px; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sq:hover { border-color: #8A9BF7; box-shadow: 0 4px 14px rgba(65,82,243,.14); transform: translateY(-2px); }
.sqhead { background: var(--chart); color: var(--chart-ink); font-weight: 700; font-size: 17px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; }
.sqhead .arrow { font-weight: 800; }
.sqbody { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 11px 18px 18px; gap: 5px; }
.disc { width: 74px; height: 74px; border-radius: 50%; background: #EDEFFE; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--blue); }
.disc svg { width: 39px; height: 39px; }
.sqstatus { font-weight: 700; font-size: 16.5px; }
.sqstatus.ok { color: var(--ok); }
.sqsub { color: var(--ink-soft); font-size: 14px; line-height: 1.45; max-width: 225px; }
a.btn { text-decoration: none; }

/* User content vs directional copy (Katie 2026-08-17): answers read as content (full ink),
   system/directional copy sits in a tinted strip so it can't be mistaken for form input. */
.answer { color: var(--ink); font-size: 15px; white-space: pre-wrap; }
.noteb { background: #EDEFFE; border-left: 3px solid #C9CEFB; color: var(--blue-dark); font-size: 13.5px; padding: 8px 12px; border-radius: 0 8px 8px 0; margin-top: 12px; }

/* 1:1 banner at the top of the manager detail page (post-submission) */
.oobar { display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 20px; margin: 12px 0 4px; }
.oobar.attn { border-color: var(--blue); box-shadow: 0 2px 10px rgba(65,82,243,.12); }
.oobar.done { background: #EAF7EF; border-color: #BCE3CB; }
.oobar .t { font-weight: 700; font-size: 16px; }
.oobar .sub { color: var(--ink-soft); font-size: 14px; }
.oobar .act { margin-left: auto; }
.oobar .when { font-weight: 700; color: var(--ink); }
.oobar a.meet { color: var(--blue-dark); font-weight: 600; }
.oobar .act .btn { margin: 0; white-space: nowrap; }

/* Team list rows — approved C1 layout (Katie 2026-08-18): clean date column,
   buttons in a right rail, declined invite = red date + triangle + caption */
td .when { font-weight: 600; white-space: nowrap; }
td.actcell { text-align: right; white-space: nowrap; }
td.actcell .btn { margin: 0 0 0 8px; }
.btn.cam { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.dec-red { color: #B3261E; font-weight: 700; white-space: nowrap; }
.dec-red svg { display: inline; vertical-align: -2px; margin-right: 6px; }
.dec-red .cap { display: block; font-size: 12.5px; font-weight: 600; }

/* Loading skeletons (Katie-approved 2026-08-18): pages sketch their own
   shape while data loads instead of bare "Loading…" text */
.sk { background: linear-gradient(90deg, #EFECE9 25%, #F7F5F3 40%, #EFECE9 55%); background-size: 400% 100%; animation: skshimmer 1.3s infinite linear; border-radius: 8px; }
@keyframes skshimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.skrow { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid #EFECE9; }
.skrow:last-child { border-bottom: none; }

/* Shared completion badge (option D, Katie 2026-08-18): green disc + check.
   Inside pills, flex centering handles alignment; everywhere else the disc
   centers on the text line (Katie: checks must center on their word). */
/* Disc scales WITH its word (0.85em) and sits centered on cap height:
   center = baseline − capHeight/2 → vertical-align = 0.425em − 0.356em ≈ −0.07em.
   CSS size wins over the SVG width/height attributes, so one rule fits every context. */
.ckb { display: inline-block; width: .85em; height: .85em; vertical-align: -0.07em; }
h3 .ckb, .oobar .t .ckb, .oobar .sub .ckb, .sqstatus .ckb, .toast .ckb { margin-left: 4px; }

/* Calendar-style slot picker (from the approved mockup) */
.calgrid { display: flex; gap: 12px; margin: 14px 0 6px; }
.daycol { flex: 1; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.daycol:hover { border-color: #8A9BF7; }
.daycol.best { border-color: var(--blue); box-shadow: 0 2px 10px rgba(65,82,243,.14); }
.dayhead { padding: 9px 12px 7px; border-bottom: 1px solid var(--line); background: #FBFAF9; position: relative; min-height: 52px; }
.dayhead .dname { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.dayhead .dtime { font-weight: 700; font-size: 13.5px; }
.dayhead .best-tag { position: absolute; top: 8px; right: 10px; background: var(--blue); color: #fff; font-size: 9.5px; border-radius: 99px; padding: 2px 8px; }
.daybody { position: relative; height: 300px; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(100%/9 - 1px), #EFECE9 calc(100%/9 - 1px), #EFECE9 calc(100%/9)); }
.ev { position: absolute; left: 6px; right: 6px; border-radius: 7px; background: #E9E6E2; border-left: 3.5px solid #B8B2AC; color: #6E6A66; font-size: 10px; padding: 3px 7px; overflow: hidden; line-height: 1.25; }
.ev.proposed { background: var(--blue); border-left: 3.5px solid var(--chart); color: #fff; box-shadow: 0 3px 10px rgba(65,82,243,.35); z-index: 2; font-weight: 600; }
.ev.proposed b { display: block; font-weight: 700; }
.dayfoot { padding: 8px 12px; border-top: 1px solid var(--line); background: #FBFAF9; text-align: center; }

/* Deadline banner — C4-L: 68px progress ring (fills as reviews get written), amber at T-3 */
.deadline { display: flex; align-items: center; gap: 16px; background: #EDEFFE; border: 1.5px solid #C9CEFB; border-radius: 12px; padding: 12px 18px; margin: 10px 0 4px; }
.deadline .dlring { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.deadline .dlring .inner { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.deadline .dlring .n { font-size: 24px; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.deadline .dlring .l { font-size: 8.5px; text-transform: uppercase; color: var(--ink-soft); letter-spacing: .04em; }
.deadline .t1 { font-weight: 600; font-size: 16px; }
.deadline .t2 { font-size: 14.5px; color: var(--ink-soft); }
.deadline .cnt { margin-left: auto; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.deadline.amber { background: #FFF6E5; border-color: #F5D9A8; }
.deadline.amber .dlring .n { color: var(--warn); }
.deadline.done { background: #EAF7EF; border-color: #BCE3CB; }
.deadline.done .dlring .n.check { color: var(--ok); font-size: 26px; }
.pill.warn { background: #FFF6E5; border-color: #F5D9A8; color: var(--warn); font-weight: 600; }

/* Sign-in — approved design B2 (Katie 2026-08-18): floating rounded card with
   inset gradient panel, centered on the warm neutral. Copy: "Welcome!"
   SIZE Q2 (Katie 2026-08-18): every dimension scaled 1.11x from the original B2
   and the card narrowed to 890px; both panels are an even 50/50 split
   (calc(50% - 5px) each, the 10px gap shared). Do not resize piecemeal —
   the scale is proportional by design. */
.signin { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; }
.signin-float { width: min(890px, 92vw); background: var(--card); border-radius: 33px; padding: 13px; display: flex; gap: 10px; box-shadow: 0 22px 60px rgba(63,60,58,.16), 0 4px 12px rgba(63,60,58,.07); }
.signin-brand { flex: 0 0 calc(50% - 5px); min-width: 0; background: var(--grad); border-radius: 24px; display: flex; flex-direction: column; justify-content: center; padding: 71px 53px; gap: 15.5px; }
.signin-brand svg { width: 128.5px; height: 33.3px; }
.signin-tag { color: rgba(255,255,255,.92); font-size: 17.8px; font-weight: 500; line-height: 1.5; }
.signin-tiny { color: rgba(255,255,255,.55); font-size: 13.9px; }
.signin-side { flex: 0 0 calc(50% - 5px); min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 15.5px; padding: 58px 40px; }
.signin-hello { font-weight: 700; font-size: 25.5px; }
.signin-sub { color: var(--ink-soft); margin: -6.7px 0 6.7px; font-size: 17.8px; }
.gsi-center { display: flex; justify-content: center; }
.signin-error { color: #b3261e; font-size: 14.4px; max-width: 355px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .signin-float { flex-direction: column; } .signin-brand, .signin-side { flex: none; } .signin-brand { padding: 35.5px 31px; } .signin-side { padding: 40px 26.6px; } }

/* ---------- Profile page — design pass P2 (Katie-approved 2026-08-18) ----------
   Gradient identity banner echoing the appbar, preferences + reporting side by
   side, transient save pill. Replaces native radios with the app's pill language. */
.idbanner { display: flex; align-items: center; gap: 20px; background: var(--grad); color: #fff; border-radius: 14px; padding: 20px 24px; margin: 14px 0; }
.idbanner .big { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.idbanner .who .ttl, .idbanner .who .eml { color: rgba(255,255,255,.85); }
.idbanner .rosternote { margin-left: auto; text-align: right; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.75); max-width: 240px; }
.big { width: 76px; height: 76px; border-radius: 99px; background: var(--chart); color: var(--chart-ink); font-size: 27px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who .nm { font-size: 21px; font-weight: 700; line-height: 1.25; }
.who .ttl { color: var(--ink-soft); font-size: 15px; }
.who .eml { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }

.field { margin: 0 0 18px; }
.field:last-child { margin-bottom: 0; }
.field > .flabel { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 7px; }
.field .fhelp { color: var(--ink-soft); font-size: 13.5px; margin-top: 7px; }

/* Segmented control - native radios stay in the DOM for keyboard + screen readers */
.seg { display: inline-flex; background: #F1EEEC; border: 1px solid var(--line); border-radius: 99px; padding: 3px; gap: 2px; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label { padding: 6px 16px; border-radius: 99px; font-size: 14px; cursor: pointer; color: var(--ink-soft); white-space: nowrap; transition: background .12s, color .12s; }
.seg label:hover { color: var(--ink); }
.seg input:checked + label { background: #fff; color: var(--blue-dark); font-weight: 600; box-shadow: 0 1px 4px rgba(30,28,26,.14); }
.seg input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 1px; }

.drow { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid #F0EDEA; font-size: 15px; align-items: flex-start; }
.drow:last-child { border-bottom: none; }
.drow .dk { color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; width: 136px; flex: none; padding-top: 3px; display: flex; align-items: center; gap: 5px; }

.rolepills { display: flex; flex-wrap: wrap; gap: 6px; }
.rolepill { display: inline-flex; align-items: center; background: #EDEFFE; border: 1px solid #C9CEFB; color: var(--blue-dark); border-radius: 99px; padding: 3px 11px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }

/* Hint tooltip - new shared component; hover AND keyboard focus */
.hint { width: 19px; height: 19px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: help; padding: 0; flex: none; position: relative; }
.hint:hover, .hint:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; outline: none; }
.hint .tip { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); width: 290px; background: #3F3C3A; color: #fff; border-radius: 10px; padding: 11px 13px; font-family: inherit; font-size: 12.5px; font-weight: 400; line-height: 1.55; text-transform: none; letter-spacing: normal; text-align: left; box-shadow: 0 10px 30px rgba(30,28,26,.28); opacity: 0; visibility: hidden; transition: opacity .14s, visibility 0s linear .14s; z-index: 60; pointer-events: none; }
.hint .tip b { color: var(--chart); font-weight: 700; }
.hint .tip::before { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom-color: #3F3C3A; }
.hint:hover .tip, .hint:focus-visible .tip { opacity: 1; visibility: visible; transition: opacity .14s, visibility 0s; }
.hint .tip .r { display: block; margin: 0 0 5px; }
.hint .tip .r:last-child { margin-bottom: 0; }

/* Empty state - its own icon class; must NOT reuse the locked Home-tile .disc */
.empty { text-align: center; padding: 26px 20px; color: var(--ink-soft); }
.empty .eicon { width: 48px; height: 48px; border-radius: 99px; background: #EDEFFE; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--blue); }
.empty .eicon svg { width: 25px; height: 25px; }
.empty .et { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.empty .es { font-size: 14px; }

/* Transient save pill - nothing at rest, so the card is quiet until you change something */
.savepill { font-size: 12.5px; color: var(--ink-soft); background: #F1EEEC; border: 1px solid var(--line); border-radius: 99px; padding: 3px 11px; display: inline-flex; align-items: center; gap: 5px; opacity: 0; visibility: hidden; transform: translateY(-2px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.savepill.show { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.savepill.ok { background: #EAF6EF; border-color: #BFE3CE; color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .savepill { transition: none; } }
.cardhead { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.cardhead h3 { margin: 0; }
.cardhead .sp { margin-left: auto; }

/* Timezone control (T2) - searchable, shows region, offset and current local time */
.tzc { position: relative; min-width: 300px; max-width: 340px; }
.tzc .tzbtn { width: 100%; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .12s, box-shadow .12s; }
.tzc .tzbtn:hover { border-color: #C9CEFB; }
.tzc.open .tzbtn { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65,82,243,.15); }
.tzc .tzbtn .zone { font-weight: 600; }
.tzc .tzbtn .off { color: var(--ink-soft); font-size: 13.5px; margin-left: auto; }
.tzc .pop { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 34px rgba(30,28,26,.18); padding: 8px; }
.tzc.open .pop { display: block; }
.tzc .pop input { width: 100%; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; margin-bottom: 6px; }
.tzc .pop input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65,82,243,.13); }
.tzc .list { max-height: 230px; overflow: auto; }
.tzc .opt { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.tzc .opt:hover { background: #EDEFFE; color: var(--blue-dark); }
.tzc .opt .city { font-weight: 500; }
.tzc .opt .o2 { margin-left: auto; color: var(--ink-soft); font-size: 13px; }
.tzc .opt.sel { font-weight: 700; }
.tzc .none { padding: 12px; color: var(--ink-soft); font-size: 14px; text-align: center; }

/* Modal (slot picker pops up on submit — mockup behavior) */
.modalbg { position: fixed; inset: 0; background: rgba(30,28,26,.45); display: none; align-items: center; justify-content: center; z-index: 60; padding: 16px; }
.modalbg.show { display: flex; }
.modal { background: #fff; border-radius: 16px; max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.modal .mh { padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15.5px; display: flex; align-items: center; }
.modal .mh .x { margin-left: auto; cursor: pointer; color: var(--ink-soft); font-size: 20px; line-height: 1; padding: 0 4px; }
.modal .mb { padding: 16px 20px 20px; }
