/* STATION #56 the bullseye — phone first, big text, light + dark, the rep app's clean look */
:root { --bg: #f2f6ef; --ink: #14301f; --muted: #5d6f62; --card: #ffffff; --line: #d9e3d6; --brand: #1f7a46; --shadow: 0 8px 28px rgba(20, 48, 31, .14); }
@media (prefers-color-scheme: dark) { :root { --bg: #0d1611; --ink: #e8efe9; --muted: #9db0a3; --card: #16231b; --line: #26382c; --brand: #36b36b; --shadow: 0 8px 28px rgba(0, 0, 0, .45); } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.be-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; min-height: 52px; }
.be-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.be-chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 600 14px system-ui, -apple-system, sans-serif; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.be-chip b { margin-left: 2px; }
.be-chip.late { border-color: #f0b44c; background: #fff4e0; color: #5a3a06; }
@media (prefers-color-scheme: dark) { .be-chip.late { background: #3a2a0c; color: #ffd893; border-color: #8a6420; } }
.be-more { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.be { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 16px 20px; }
.be-wait { margin: auto; text-align: center; color: var(--muted); }
.be-wait h1 { color: var(--ink); }
.be-btn { display: inline-block; margin-top: 12px; padding: 14px 24px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; }
.be-wrap { width: min(94vw, 58vh, 560px); aspect-ratio: 1; margin-top: 4px; }
.be-dial { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; overflow: visible; }
.be-dial text { text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.be-slice path { fill: var(--c); opacity: .8; stroke: var(--bg); stroke-width: 1.2; transition: opacity .2s, filter .2s; cursor: pointer; }
.be-slice .lb { fill: #10170f; font-weight: 700; }
.be-slice .ic { fill: #10170f; }
.be-slice.top path { opacity: .95; }
.be-slice.dim path { opacity: .38; }
.be-slice.lit path { opacity: 1; stroke: #fff; stroke-width: 2.4; filter: brightness(1.12) drop-shadow(0 0 5px var(--c)); }
.be-slice:focus-visible path, .be-center:focus-visible circle:first-child { stroke: var(--ink); stroke-width: 2.6; outline: none; }
.be-center > circle:first-of-type { fill: var(--c); stroke: var(--bg); stroke-width: 2; cursor: pointer; }
.be-center .lb { fill: #1b1608; font-weight: 800; }
.be-center.dim > circle:first-of-type { opacity: .45; }
.be-center.lit > circle:first-of-type { stroke: #fff; stroke-width: 3; filter: brightness(1.1) drop-shadow(0 0 7px var(--c)); }
.dot { fill: #e5383b; stroke: #fff; stroke-width: 1.6; }
/* the lit agent pulses while it talks and glows while it listens */
@keyframes be-pulse { 0%, 100% { filter: brightness(1.05) drop-shadow(0 0 3px var(--c)); } 50% { filter: brightness(1.35) drop-shadow(0 0 13px var(--c)); } }
@keyframes be-glow { 0%, 100% { filter: brightness(1.08) drop-shadow(0 0 5px var(--c)); } 50% { filter: brightness(1.15) drop-shadow(0 0 8px var(--c)); } }
@keyframes be-wait { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.be-slice.talking path, .be-center.talking > circle:first-of-type { animation: be-pulse .7s ease-in-out infinite; }
.be-slice.glow path, .be-center.glow > circle:first-of-type { animation: be-glow 2.4s ease-in-out infinite; }
.be-slice.connecting path, .be-center.connecting > circle:first-of-type { animation: be-wait 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .be-slice path, .be-center circle { animation: none !important; } }
.be-under { width: min(94vw, 560px); text-align: center; }
.be-status { font-size: 21px; font-weight: 700; margin: 10px 0 4px; }
.be-caption { min-height: 1.4em; color: var(--muted); margin: 0 0 10px; white-space: pre-wrap; max-height: 9.5em; overflow: auto; }
.be-ctrl { display: flex; gap: 12px; justify-content: center; }
.be-round { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 12px 20px; font: 600 16px system-ui, -apple-system, sans-serif; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .07); }
.be-round.on { background: #e5383b; color: #fff; border-color: #e5383b; }
.be-hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.be-type { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; text-align: left; }
.be-type[hidden] { display: none; }
.be-to { width: 100%; font-size: 13px; color: var(--muted); }
.be-type textarea { flex: 1; min-width: 0; font: 17px/1.35 system-ui, -apple-system, sans-serif; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); resize: vertical; }
.be-type button { border: 0; border-radius: 14px; padding: 0 18px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; }
.be-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(8, 16, 10, .45); display: flex; align-items: flex-end; justify-content: center; }
.be-sheet[hidden] { display: none; }
.be-sheet-in { background: var(--bg); width: 100%; max-width: 640px; max-height: 86vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--shadow); }
.be-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 18px; }
.be-x { border: 0; background: transparent; color: var(--ink); font-size: 22px; width: 44px; height: 44px; cursor: pointer; }
.be-menu { display: grid; gap: 6px; }
.be-menu a, .be-menu > button, .be-support button { display: block; width: 100%; text-align: left; padding: 14px 14px; border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--line); font: 600 17px system-ui, -apple-system, sans-serif; cursor: pointer; }
.be-late-it { padding: 10px 0; border-top: 1px solid var(--line); }
.be-late-it .sub { color: var(--muted); font-size: 13px; }
/* ACCESS #28 the list Gizzy can read: grouped by person, wraps, one link */
.be-late-it { white-space: normal; overflow-wrap: anywhere; }
.be-late-who { margin: 14px 0 2px; font-size: 15px; }
.be-late-who:first-child { margin-top: 2px; }
.be-late-what { font-weight: 600; }
.be-late-todo { margin-top: 2px; }
.be-late-go { display: inline-block; margin: 6px 0 2px; font-weight: 600; }
.be-late-old { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.be-late-old summary { cursor: pointer; color: var(--muted); }
.be-card { position: fixed; inset: 0; z-index: 60; background: rgba(8, 16, 10, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.be-card[hidden] { display: none; }
.be-card-in { background: var(--card); color: var(--ink); width: 100%; max-width: 440px; border-radius: 22px; padding: 18px 18px 12px; border-top: 6px solid var(--c); box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.be-card-ic { font-size: 34px; }
.be-card-in h2 { margin: 2px 0 2px; font-size: 22px; }
.be-card-who { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.be-card-in dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 0 10px; font-size: 15px; }
.be-card-in dt { color: var(--muted); text-transform: capitalize; }
.be-card-in dd { margin: 0; word-break: break-word; }
.be-card-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.be-card-btns { display: flex; gap: 10px; }
.be-card-btns button { flex: 1; border: 0; border-radius: 14px; padding: 16px 10px; font: 700 18px system-ui, -apple-system, sans-serif; cursor: pointer; }
.be-card-btns .yes { background: var(--brand); color: #fff; }
.be-card-btns .no { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.be-later { margin-top: 8px; width: 100%; border: 0; background: transparent; color: var(--muted); padding: 10px; font-size: 15px; cursor: pointer; }
.be-toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); opacity: 0; background: #14301f; color: #fff; padding: 10px 16px; border-radius: 12px; transition: all .25s; z-index: 70; pointer-events: none; max-width: 92vw; }
.be-toast.show { opacity: 1; transform: translateX(-50%); }
body[data-locked] .be-chips, body[data-locked] .be-more { visibility: hidden; }
@media (min-width: 900px) { .be-wrap { width: min(60vh, 600px); } }
/* STATION #56b a bad signal: a clear "Reconnecting…" (a bar over the dial, or the whole screen before the first load) — never blank */
.be-net { position: sticky; top: 0; z-index: 40; margin: 6px 14px 0; padding: 9px 14px; border-radius: 12px; background: #fff4e0; color: #5a3a06; border: 1px solid #f0b44c; font: 600 15px system-ui, -apple-system, sans-serif; text-align: center; }
.be-net[hidden] { display: none; }
@media (prefers-color-scheme: dark) { .be-net { background: #3a2a0c; color: #ffd893; border-color: #8a6420; } }
.be-recon h1 { margin: 14px 0 6px; font-size: 26px; }
.be-recon p { margin: 0 auto; max-width: 300px; }
.be-recon .be-btn { border: 0; font: 700 17px system-ui, -apple-system, sans-serif; cursor: pointer; }
.be-spin { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--brand); animation: be-turn 1s linear infinite; }
@keyframes be-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .be-spin { animation: none; } }
html, body { overflow-x: clip; }
/* STATION #56b the "Waiting on you" cards in the home screen's own look (hq-inbox.css speaks HQ's dark tokens; give it this page's) */
#beInboxSheet { --panel: var(--card); --text: var(--ink); --gold: #c99a1e; --gold-dim: rgba(201, 154, 30, .45); --up: #1f7a46; --down: #c23b3b; }
#beInboxSheet .hvi { padding: 0; margin-top: 0; }
#beInboxSheet .hvi-card { background: var(--card); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
#beInboxSheet .hvi-acts .hvi-yes, #beInboxSheet .hvi-boxrow .hvi-send { background: var(--brand); color: #fff; }
#beInboxSheet .hvi-opt { color: var(--ink); border-color: var(--line); }
#beInboxSheet .hvi-kind.rev { color: #8a6410; border-color: rgba(201, 154, 30, .6); }
#beInboxSheet .hvi-head { background: var(--card); border-color: var(--line); }
#beInboxSheet .hvi-badge { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { #beInboxSheet { --gold: #e8c55a; --gold-dim: rgba(232, 197, 90, .35); } #beInboxSheet .hvi-kind.rev { color: #e8c55a; } }

/* STATION #58 👎 "That's wrong" under the answer */
.be-wrongrow { margin: -6px 0 8px; text-align: center; }
.be-wrongrow:empty { display: none; }
/* STATION E a clear Station button on the home screen, always visible next to ⋯ */
.be-station { text-decoration: none; white-space: nowrap; }
body[data-locked] .be-station { visibility: hidden; }

/* MAIN ROOM #1 ⬇ + 📂 + 📎 on the home screen */
.be-files { display: grid; gap: 8px; margin: 2px 0 10px; }
.be-files:empty, .be-att:empty { display: none; }
.be-frow { display: flex; gap: 8px; align-items: stretch; }
.be-dl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; text-align: left; }
.be-dln { min-width: 0; overflow-wrap: anywhere; }
.be-view { display: flex; align-items: center; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.be-fall { justify-self: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 600 15px system-ui, -apple-system, sans-serif; cursor: pointer; }
.be-att { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 10px; }
.be-achip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 6px 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; overflow-wrap: anywhere; text-align: left; }
.be-achip.ok { border-color: var(--brand); }
.be-achip.bad { border-color: #c23b3b; }
.be-achip small { color: #c23b3b; }
.be-achip button { border: 0; background: transparent; color: var(--muted); font-size: 15px; padding: 4px 8px; cursor: pointer; }
.be-ahint { width: 100%; margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.be-clip { border: 1px solid var(--line) !important; background: var(--card) !important; color: var(--ink) !important; padding: 0 14px !important; font-size: 20px !important; }
.be-round[hidden] { display: none; }
.be-ctrl { flex-wrap: wrap; }
.be-fpills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.be-fpill { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 600 14px system-ui, -apple-system, sans-serif; cursor: pointer; }
.be-fpill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.be-fwhen { color: var(--muted); font-size: 13px; margin: 4px 0 12px 4px; }
.be-fnone { color: var(--muted); text-align: center; padding: 18px 0; }
