/* The app (revere/app.py), as drawn in the Claude Design canvas "HeyCube app (web)", page "Full-screen room" (round 13):
   the place where the agents sit fills the screen (after Hark, Rooms, Focus Friend, Focustown, Pokemon Sleep, Pocket
   Camp, AI Village, Pixel Agents: one world full screen, a diorama seen whole, what they do is the state, a place to
   choose, cards that float over the world, a look over one agent's shoulder). Only the corners hold buttons; Home's
   cards, a card, an agent's laptop and the account float over the place. The cards keep round 8's look: white cards
   with one soft shadow, colour only for a state and the one main action, the serif only for the big moments. The
   page's CSP allows no inline style. After the founder's word (2026-11-19, nothing may look like Hark): the greeting
   is centred over the place, the buttons are a dock at the bottom (round 8's floating bar), Home's cards make room beside the place rather than
   cover it (a solid side bar at the left, pushing the place right), and every surface is solid. */

@font-face { font-family: "Newsreader"; src: url("/app/fonts/newsreader.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/app/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --ground: #F4F2ED; --surf: #FFFFFF; --ink: #121318; --ink2: #565963; --ink3: #6B6E78; --hair: rgba(18, 19, 24, .08);
  --soft: #ECE9E2; --soft-hover: #E3DFD6; --primary: #121318; --primary-hover: #2A2C34; --on-primary: #FFFFFF;
  --blue: #2B44FF; --blue-bg: #ECEEFF; --amber: #94500A; --amber-bg: #FBEBD3; --green: #1B7343; --green-bg: #E2F1E7;
  --grey-bg: #EFEDE8; --danger: #B42318; --danger-bg: #FDECEA;
  --shadow: 0 1px 2px rgba(18, 19, 24, .05), 0 12px 32px -14px rgba(18, 19, 24, .16);
  --glass: rgba(255, 255, 255, .8); --tile: #FFFFFF;
  --wall-a: #F0EBE0; --wall-b: #EAE3D5; --floor-a: #E2D9C7; --floor-b: #DDD3BF; --frame: #F7F3EA;
  --tag: rgba(255, 255, 255, .78);
  --bar-done: #121318; --bar-told: #9AA0B4; --bar-pass: #D8D4CA; --bar-open: #EDB977;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  color-scheme: light;
}
/* Dark when the person chose it (Appearance: Dark), or left it to the device (System) and the device is dark */
:root[data-theme="dark"] {
  --ground: #0B0C10; --surf: #16171C; --ink: #F2F1EC; --ink2: #AEB1BA; --ink3: #8F929C; --hair: rgba(255, 255, 255, .08);
  --soft: #24262E; --soft-hover: #2D3039; --primary: #F2F1EC; --primary-hover: #FFFFFF; --on-primary: #0B0C10;
  --blue: #7D8CFF; --blue-bg: rgba(91, 108, 255, .16); --amber: #F0B467; --amber-bg: rgba(240, 170, 80, .14);
  --green: #7FD3A2; --green-bg: rgba(80, 190, 130, .14); --grey-bg: #22242B; --danger: #FF8A80; --danger-bg: #2A1515;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -18px rgba(0, 0, 0, .8); --glass: rgba(26, 27, 33, .8);
  --wall-a: #151826; --wall-b: #11131C; --floor-a: #0F1118; --floor-b: #0C0D12; --frame: #1E2130; --tag: rgba(22, 23, 28, .78);
  --bar-done: #F2F1EC; --bar-told: #5D6274; --bar-pass: #2C2F38; --bar-open: #8A6638;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0B0C10; --surf: #16171C; --ink: #F2F1EC; --ink2: #AEB1BA; --ink3: #8F929C; --hair: rgba(255, 255, 255, .08);
    --soft: #24262E; --soft-hover: #2D3039; --primary: #F2F1EC; --primary-hover: #FFFFFF; --on-primary: #0B0C10;
    --blue: #7D8CFF; --blue-bg: rgba(91, 108, 255, .16); --amber: #F0B467; --amber-bg: rgba(240, 170, 80, .14);
    --green: #7FD3A2; --green-bg: rgba(80, 190, 130, .14); --grey-bg: #22242B; --danger: #FF8A80; --danger-bg: #2A1515;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -18px rgba(0, 0, 0, .8); --glass: rgba(26, 27, 33, .8);
    --wall-a: #151826; --wall-b: #11131C; --floor-a: #0F1118; --floor-b: #0C0D12; --frame: #1E2130; --tag: rgba(22, 23, 28, .78);
    --bar-done: #F2F1EC; --bar-told: #5D6274; --bar-pass: #2C2F38; --bar-open: #8A6638;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
svg { flex: none; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 9; padding: 10px 14px; border-radius: 12px; background: var(--primary); color: var(--on-primary); }
.skip:focus { top: 12px; }
.noscript { padding: 40px 20px; text-align: center; }
.muted { color: var(--ink3); }
.fine { font-size: 12.5px; line-height: 1.4; color: var(--ink3); }
.loading, .empty { padding: 28px 4px; color: var(--ink3); font-size: 14px; }

/* pills: colour only for a state */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 var(--sans); white-space: nowrap; flex: none; background: var(--grey-bg); color: var(--ink2); }
.pill i { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.pill.blue { background: var(--blue-bg); color: var(--blue); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.green { background: var(--green-bg); color: var(--green); }
.pill.sm { height: 22px; padding: 0 8px; font-size: 11.5px; }
.live { animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(43, 68, 255, .45); } 70% { box-shadow: 0 0 0 7px rgba(43, 68, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 68, 255, 0); } }

/* the characters' motion: each loop is a state, never decoration only */
.bob { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.bounce { animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-5px); } 60% { transform: translateY(-1px); } }
.blink { animation: blink 4.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.scroll { animation: scroll 7s cubic-bezier(.3, .1, .2, 1) infinite; }
@keyframes scroll { 0%, 12% { transform: translateY(0); } 22%, 40% { transform: translateY(-15px); } 50%, 66% { transform: translateY(-30px); } 76%, 92% { transform: translateY(-45px); } 100% { transform: translateY(-60px); } }
.thumb { animation: thumb 7s ease-in-out infinite; }
@keyframes thumb { 0%, 12%, 40%, 66%, 92% { transform: translateY(0); } 17%, 45%, 71%, 96% { transform: translateY(-6px); } }
.wave { animation: wave 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes wave { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.type1 { animation: type 1.1s steps(2) infinite; } .type2 { animation: type 1.1s steps(2) infinite .55s; }
@keyframes type { 0% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.lines { animation: lines 2.4s steps(6) infinite; }
@keyframes lines { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.steam { animation: steam 3s ease-in-out infinite; opacity: 0; }
@keyframes steam { 0% { transform: translateY(2px); opacity: 0; } 40% { opacity: .7; } 100% { transform: translateY(-8px); opacity: 0; } }
.ask-q { animation: askq 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes askq { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
body.calm .bob, body.calm .scroll, body.calm .thumb { animation-duration: 9s; }
body.calm .bounce, body.calm .wave, body.calm .type1, body.calm .type2 { animation-duration: 3.2s; }
body.calm .fly { animation-duration: 9s; }
body.still .scene *, body.still .preview *, body.still .gate-fig * { animation: none !important; }
body.still .fly { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .fly { display: none; } }
/* The jelly cube: one transparent picture per state and colour; the platform's pin sits on its lower right */
/* The picture is 1.583 times the space the cube takes, placed so its body fills that space and its feet stand on the
   bottom: the body and arms span 0.148-0.725 of the picture's width, the feet end at 0.785 of its height */
.cube { position: relative; display: inline-block; line-height: 0; vertical-align: bottom; }
.cube img { position: absolute; left: -19.1%; top: -25.8%; width: 158.3%; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.cube .pin-over { position: absolute; right: 17%; bottom: 15%; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .18)); }
.bust { position: relative; display: block; line-height: 0; }
.bust img { display: block; border-radius: 999px; }
.bust .pin-over { position: absolute; right: -3px; bottom: -3px; }

/* ---------- for your go-ahead: one card at a time, the agent's own words, two or three big buttons */
.go { position: relative; }
.go-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 24px; background: var(--surf); box-shadow: var(--shadow); }
.go.stacked::before, .go.stacked::after { content: ""; position: absolute; height: 40px; border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); }
.go.stacked::after { left: 11px; right: 11px; bottom: -6px; opacity: .8; }
.go.stacked::before { left: 22px; right: 22px; bottom: -12px; opacity: .55; }
.go-src { display: flex; align-items: center; gap: 10px; }
.go-src .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.go-src .who b { font: 600 13.5px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-src .who span { font: 500 12.5px/1.25 var(--sans); color: var(--ink3); }
.go-title { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: 600 20px/1.28 var(--sans); letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; }
.go-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.go-detail { font-size: 15px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: 2px; margin-top: 18px; }
.pager button { width: 20px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pager button::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--ink3); opacity: .45; transition: width .2s; }
.pager button.on::before { width: 18px; background: var(--ink); opacity: 1; }
.pager button.on { width: 28px; }
.acts { display: flex; gap: 8px; align-items: center; }
.acts .btn { height: 50px; font-size: 16px; }
.acts .no { flex: 0 0 auto; }
.acts .later { flex: 1 1 0; }
.acts .yes { flex: 1.5 1 0; }
.also { border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); overflow: hidden; }
.also-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.also-row + .also-row { box-shadow: inset 0 1px 0 var(--hair); }
.also-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.also-row .t b { font: 600 14px/1.35 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.also-row .t span { font: 500 12.5px/1.2 var(--sans); color: var(--ink3); }
.clear { padding: 26px 22px; border-radius: 24px; background: var(--surf); box-shadow: var(--shadow); }
.clear h3 { font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; }
.clear p { margin-top: 8px; color: var(--ink2); }

/* ---------- buttons */
.btn { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: 600 15px/1 var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; background: var(--soft); color: var(--ink); white-space: nowrap; }
.btn:hover { background: var(--soft-hover); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.on { background: var(--primary); color: var(--on-primary); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink2); }
.btn:disabled { opacity: .45; cursor: default; }
.linky { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surf); box-shadow: var(--shadow); font: 600 13.5px/1 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.chip svg { width: 15px; height: 15px; }

/* ---------- the feed: grouped by day, one white list per day */
.feed { padding: 0 20px; }
@media (min-width: 1100px) { .feed { padding: 0; } }
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -2px -20px 6px; padding: 2px 20px; }
@media (min-width: 1100px) { .seg { margin: -2px 0 6px; padding: 2px 0; } }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; font: 600 13.5px/1 var(--sans); color: var(--ink2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--hair); }
.seg button span { color: var(--ink3); font-weight: 500; }
.seg button.on { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.seg button.on span { color: inherit; opacity: .7; }
.seg button.blue:not(.on) span { color: var(--blue); font-weight: 700; }
.day-h { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 12px; }
.day-h h3 { font: 600 19px/1.2 var(--sans); letter-spacing: -.01em; }
.day-h span { font: 500 13px/1.2 var(--sans); color: var(--ink3); }
.list { border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); overflow: hidden; }
.row { position: relative; display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.row + .row { box-shadow: inset 0 1px 0 var(--hair); }
.row:hover { background: rgba(127, 127, 127, .04); }
.row .b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row .hl { font: 600 15px/1.38 var(--sans); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row .reason { font-size: 13.5px; line-height: 1.4; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .dotn { position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border-radius: 8px; background: var(--blue); }
.relay { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.relay .rt { font: 500 13px/1.35 var(--sans); color: var(--ink3); min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rav { width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.rav.big { width: 30px; height: 30px; }
.more { display: block; width: 100%; margin: 18px 0 8px; }
.slept { margin: 0 12px 4px; padding: 18px; border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1100px) { .slept { margin: 0 0 24px; } }
.slept .k { font: 600 12.5px/1 var(--sans); color: var(--ink3); }
.slept h3 { font: 400 21px/1.25 var(--serif); letter-spacing: -.01em; }
.slept .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slept .row3 div { padding: 10px 12px; border-radius: 14px; background: var(--ground); }
.slept .row3 b { display: block; font: 600 22px/1 var(--sans); }
.slept .row3 span { font-size: 12.5px; color: var(--ink3); }

/* logos: a source's site's own icon in a rounded tile, an agent platform's; an initial when a site has none */
.tile, .slogo, .av { flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: var(--tile); }
.tile { width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(18, 19, 24, .08); }
.tile img { width: 28px; height: 28px; object-fit: contain; }
.tile.md { width: 36px; height: 36px; border-radius: 10px; }
.tile.md img { width: 23px; height: 23px; }
.tile.sm { width: 22px; height: 22px; border-radius: 6px; }
.tile.sm img { width: 16px; height: 16px; }
.slogo { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(18, 19, 24, .08); }
.slogo img { width: 16px; height: 16px; object-fit: contain; }
.av { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(18, 19, 24, .08); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av svg { width: 13px; height: 13px; color: #0C0D12; }
.letter { font: 700 12px var(--sans); color: #fff; box-shadow: none; }
.tile.letter { font-size: 16px; }
.letter.t0 { background: #2C2F39; } .letter.t1 { background: #2B44FF; } .letter.t2 { background: #C2410C; }
.letter.t3 { background: #0F766E; } .letter.t4 { background: #7A5BA8; } .letter.t5 { background: #B9812A; }

/* ---------- a card opened: the agent's words, the source, why, and how it got here */
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
@media (min-width: 1100px) { .card-top { padding: 30px 0 0; } }
.opened { padding: 26px 24px 40px; }
@media (min-width: 1100px) { .opened { padding: 30px 0 40px; } }
.eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eyebrow b { font: 600 13.5px/1.2 var(--sans); }
.card-title { margin-top: 16px; font: 400 33px/1.12 var(--serif); letter-spacing: -.018em; text-wrap: pretty; }
@media (min-width: 1100px) { .card-title { font-size: 40px; } }
.card-src { display: flex; align-items: center; gap: 8px; margin-top: 16px; font: 500 13.5px/1.3 var(--sans); color: var(--ink2); }
.block { padding: 22px 0; box-shadow: inset 0 1px 0 var(--hair); }
.block:first-of-type { margin-top: 24px; }
.block h2 { margin-bottom: 10px; font: 600 13.5px/1.3 var(--sans); color: var(--ink3); }
.block .said { font-size: 16.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; overflow-wrap: anywhere; }
.block .said + .chip, .block .said + .said { margin-top: 14px; }
.block .serif { font: italic 400 18px/1.5 var(--serif); color: var(--ink); }
.block .needs { display: flex; gap: 12px; align-items: flex-start; }
.block .needs .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--surf); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.block .needs .ic svg { width: 18px; height: 18px; }
.quote { font: italic 400 18px/1.5 var(--serif); color: var(--ink); }
.facts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 15px; color: var(--ink2); }
.facts li::before { content: "·"; margin-right: 8px; color: var(--ink3); }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: 73px; top: 10px; bottom: 26px; width: 2px; background: var(--hair); }
.tl .dayl { margin: 0 0 12px 74px; font: 600 12.5px/1 var(--sans); color: var(--ink3); }
.tl .dayl:not(:first-child) { margin-top: 6px; }
.ev { display: grid; grid-template-columns: 54px 20px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.ev time { font: 500 13px/20px var(--sans); color: var(--ink3); text-align: right; }
.ev .dot { display: flex; justify-content: center; padding-top: 5px; }
.ev .dot i { width: 10px; height: 10px; border-radius: 999px; background: var(--ink3); box-shadow: 0 0 0 4px var(--ground); }
.ev.strong .dot i { background: var(--ink); }
.ev.blue .dot i { background: var(--blue); }
.ev.warn .dot i { background: var(--amber); }
.ev .tx { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; min-width: 0; }
.ev .tx b { font: 600 15px/20px var(--sans); }
.ev.blue .tx b { color: var(--blue); }
.ev.warn .tx b { color: var(--amber); }
.ev .tx p { font-size: 14px; line-height: 1.45; color: var(--ink2); overflow-wrap: anywhere; }
.decide { position: sticky; bottom: 0; z-index: 4; margin: 0 -24px -40px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 var(--hair); display: flex; flex-direction: column; gap: 10px; }
.decide .fine { text-align: center; }
.decide .acts .btn { flex: 1 1 0; }
@media (min-width: 1100px) { .decide { margin: 8px 0 0; border-radius: 24px; padding: 16px; box-shadow: var(--shadow), inset 0 0 0 1px var(--hair); } }

/* ---------- the agents */
.agents { display: flex; flex-direction: column; gap: 16px; padding: 0 12px; }
@media (min-width: 1100px) { .agents { padding: 0; } }
.week-n { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 14px; }
.week-n b { font: 600 30px/1 var(--sans); letter-spacing: -.02em; }
.week-n span { font: 500 14px/1 var(--sans); color: var(--ink2); }
.bars { display: flex; gap: 8px; align-items: flex-end; }
.bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bars .stack { height: 84px; width: 100%; max-width: 22px; display: flex; flex-direction: column-reverse; border-radius: 6px; overflow: hidden; background: var(--ground); }
.bars .col > span { font: 500 11.5px/1 var(--sans); color: var(--ink3); }
.bars i { display: block; min-height: 2px; }
.k-done { background: var(--bar-done); } .k-prep { background: var(--blue); } .k-told { background: var(--bar-told); } .k-pass { background: var(--bar-pass); } .k-open { background: var(--bar-open); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 18px; font: 500 12.5px/1 var(--sans); color: var(--ink2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.legend .sent { color: var(--ink3); }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; box-shadow: inset 0 1px 0 var(--hair); font: 500 15px/1.3 var(--sans); color: var(--ink); }
.setting .v { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); }
.setting .v svg { width: 18px; height: 18px; color: var(--ink3); }
.step { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--ground); }
.step button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--surf); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.step button svg { width: 16px; height: 16px; }
.step output { min-width: 28px; text-align: center; font: 600 15px/1 var(--sans); }
/* ---------- dressing an agent */
.dresser { width: min(430px, 100vw); max-height: min(860px, 100dvh); padding: 0; border: 0; border-radius: 28px; background: var(--surf); color: var(--ink); box-shadow: 0 30px 80px rgba(12, 13, 18, .3); overflow: auto; }
.dresser::backdrop { background: rgba(12, 13, 18, .45); }
@media (max-width: 520px) { .dresser { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 28px 28px 0 0; } }
.dress { display: flex; flex-direction: column; }
.dress-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 0; }
.dress-top p { font: 600 14px/1 var(--sans); color: var(--ink2); }
.dress-top .linky { min-height: 44px; min-width: 44px; padding: 0 4px; font-size: 15px; color: var(--ink); font-weight: 500; }
.dress-top .linky.strong { color: var(--blue); font-weight: 700; }
.preview { overflow: hidden; height: 270px; display: flex; align-items: flex-end; justify-content: center; margin: 12px 14px 0; border-radius: 22px; background: linear-gradient(180deg, var(--wall-a), var(--wall-b)); padding-bottom: 18px; }
.dress-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 22px; }
.nameline { display: flex; align-items: center; gap: 10px; }
.nameline .nm { flex: 1; min-width: 0; }
.name-in { width: 100%; border: 0; border-bottom: 1px solid var(--hair); background: transparent; color: var(--ink); font: 400 28px/1.2 var(--serif); letter-spacing: -.02em; padding: 2px 0 4px; outline: none; }
.name-in:focus { border-bottom-color: var(--blue); }
.nameline .muted { font-size: 12.5px; margin-top: 4px; }
.ctabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ground); }
.ctabs button { flex: 1; border: 0; background: none; height: 36px; border-radius: 999px; font: 600 13.5px var(--sans); color: var(--ink2); cursor: pointer; }
.ctabs button.on { background: var(--surf); color: var(--ink); box-shadow: 0 1px 2px rgba(12, 13, 18, .08); }
.opts { min-height: 150px; display: flex; flex-direction: column; gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 6px; border: 0; border-radius: 16px; background: var(--ground); font: 600 11.5px var(--sans); color: var(--ink2); cursor: pointer; }
.opt.on { background: var(--blue-bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 2px; }
.sw { width: 40px; height: 40px; border-radius: 999px; border: 3px solid var(--surf); box-shadow: 0 0 0 1px var(--hair); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2.5px var(--blue); }
/* the cube's colours, as its jelly measures in the renders (app.js COLOURS) */
.c-mint { background: #89CDBD; } .c-lavender { background: #BDABD9; } .c-honey { background: #D2BC89; } .c-sky { background: #9EC0D6; }
.c-peach { background: #DDB5A1; } .c-rose { background: #D27F99; } .c-lime { background: #B4D595; } .c-smoke { background: #8F999E; }

/* ---------- account */
.groups { display: flex; flex-direction: column; gap: 28px; padding: 0 12px; }
@media (min-width: 1100px) { .groups { padding: 0; } }
.group h2 { margin: 0 8px 10px; font: 600 13.5px/1.3 var(--sans); color: var(--ink3); }
.cardlist { border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); overflow: hidden; }
.line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.line + .line { box-shadow: inset 0 1px 0 var(--hair); }
.line .mark { width: 22px; height: 22px; }
.line .what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line .what b { font-weight: 600; }
.line .what span { font-size: 13.5px; color: var(--ink3); }
.line .this { font: 600 12.5px/1 var(--sans); color: var(--ink3); }
.confirm { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; background: var(--danger-bg); font-size: 14px; }
.confirm .acts .btn { height: 40px; font-size: 14px; }
.note { padding: 22px 20px 30px; font-size: 13.5px; color: var(--ink3); }
.note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1100px) { .note { padding: 22px 0 30px; } }

/* ---------- signed out */
.gate { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 18px; }
.gate .box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.gate-fig { overflow: hidden; display: flex; justify-content: center; align-items: flex-end; height: 190px; border-radius: 28px; background: linear-gradient(180deg, var(--wall-a), var(--wall-b)); padding-bottom: 14px; }
.gate h1 { font: 400 36px/1.05 var(--serif); letter-spacing: -.02em; }
.gate .lede { color: var(--ink2); font-size: 16px; }
.gate .note { padding: 12px 14px; border-radius: 16px; background: var(--surf); box-shadow: var(--shadow); color: var(--ink2); }
.ways { display: flex; flex-direction: column; gap: 10px; }
.way { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 999px; background: var(--surf); box-shadow: var(--shadow), inset 0 0 0 1px var(--hair); color: var(--ink); font-weight: 600; }
.way:hover { background: var(--soft); }
.way svg { width: 20px; height: 20px; }
.gate .fine a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- toast */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 9; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px); padding: 12px 18px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 14px; box-shadow: 0 10px 30px rgba(12, 13, 18, .25); }
.toast button { border: 0; background: none; color: inherit; opacity: .75; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }


/* ---------- the theme switch: Light, Dark, System (app.js THEMES), on the account page */
.theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surf); box-shadow: var(--shadow); }
.theme button { width: 36px; height: 34px; border: 0; border-radius: 999px; background: none; color: var(--ink3); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 0; }
.theme button svg { width: 17px; height: 17px; }
.theme button.on { background: var(--soft); color: var(--ink); }
.theme.labelled { display: flex; box-shadow: none; background: var(--ground); }
.theme.labelled button { flex: 1 1 0; min-width: 0; width: auto; padding: 0 8px; font: 600 13px/1 var(--sans); }
.pad-in { padding: 10px; }

/* stepping through what waits; the action an agent holds out; the card just brought in */
.sec-head .steps { display: inline-flex; align-items: center; gap: 8px; }
.round.sm { width: 36px; height: 36px; }
.round.sm svg { width: 18px; height: 18px; }
.btn.wide { width: 100%; height: 48px; margin-top: 16px; }
.portrait button.figure { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 16px; }
.go-card.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(43, 68, 255, .55), var(--shadow); } 60% { box-shadow: 0 0 0 10px rgba(43, 68, 255, 0), var(--shadow); } 100% { box-shadow: var(--shadow); } }
#go { scroll-margin-top: 16px; }

/* ======================================================================================================== round 13 */
/* ---------- the frame: the place fills the screen; buttons only in the corners */
.shell { position: fixed; inset: 0; overflow: hidden; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 20px; height: 21px; fill: currentColor; }
.brand span { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.round { width: 40px; height: 40px; flex: none; border-radius: 999px; border: 0; background: var(--surf); color: var(--ink); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.round svg { width: 20px; height: 20px; }
.badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: #fff; font: 700 12px/20px var(--sans); justify-content: center; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { font: 600 19px/1.2 var(--sans); letter-spacing: -.012em; }
.sec-head .n { font: 500 13px/1.3 var(--sans); color: var(--ink3); }
.pad { padding: 0 20px; }
.k { font: 600 12.5px/1.3 var(--sans); color: var(--ink3); letter-spacing: .01em; }

/* the dock: Home, where they work, the account; ink on every place (round 8's floating bar, moved to the place) */
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 20; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: #121318; color: #fff; box-shadow: 0 14px 34px rgba(12, 13, 18, .28); }
body.scene-dark .dock { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 34px rgba(0, 0, 0, .4); }
.dock-btn { position: relative; height: 46px; min-width: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14.5px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.dock-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dock-btn svg { width: 21px; height: 21px; }
.dock-btn.on, .dock-btn[aria-expanded="true"] { background: #fff; color: #121318; }
.dock-btn .badge { box-shadow: 0 0 0 2px #121318; }
.dock-btn.on .badge, .dock-btn[aria-expanded="true"] .badge { box-shadow: none; }
.dock-btn.me { padding: 0; width: 46px; }
.dock-btn + .dock-btn { margin-left: 2px; }
.dock .place-btn::before { content: ""; position: absolute; left: -2px; top: 13px; bottom: 13px; width: 1px; background: rgba(255, 255, 255, .16); }
@media (max-width: 699px) { .dock-btn { padding: 0 14px; } }
body:not([data-view="home"]) .dock { display: none; }

/* ---------- the place: the picture of the place, its seats, the sky round it */
.scene { position: fixed; inset: 0; overflow: hidden; background: #E5E5E4; }
.sky-room_day { background: linear-gradient(180deg, #CBDFE9 0%, #E5E5E4 50%, #F8E6D3 100%); }
.sky-room_night { background: linear-gradient(180deg, #040E31 0%, #102550 55%, #33406B 100%); }
.sky-space { background: radial-gradient(120% 90% at 80% 100%, #1A1838 0%, rgba(26, 24, 56, 0) 60%), linear-gradient(180deg, #0F1129 0%, #101125 100%); }
.sky-meadow_day { background: linear-gradient(180deg, #AEC1D3 0%, #BDCFD7 50%, #E0CFBD 100%); }
.sky-meadow_night { background: linear-gradient(180deg, #051237 0%, #081539 50%, #071233 100%); }
.world { position: absolute; left: 0; top: 0; width: 1440px; height: 803px; container-type: inline-size; transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .3s, filter .3s; }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-composite: intersect; }
.scene.zoom .world { transform: scale(2.3); opacity: 0; }
body:not([data-view="home"]) .world { filter: blur(12px) saturate(.9); }
@media (prefers-reduced-motion: reduce) { .world { transition: none; } }

/* a seat: the agent at its bench; the button is the cube and its bench, the picture reaches past it */
.seat { position: absolute; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: 18px; color: inherit; font: inherit; }
.seat .sprite { position: absolute; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; transition: transform .2s; }
.seat:hover .sprite, .seat:focus-visible .sprite { transform: translateY(-1.2%); }
.seat.s-waiting .sprite, .seat.s-done .sprite { animation: sbob 2.8s ease-in-out infinite; }
@keyframes sbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.2%; } }
body.calm .seat .sprite { animation-duration: 6s; }
body.scene-dark .seat .sprite { filter: brightness(.9) saturate(.95); }
.seat.s-off .sprite { filter: grayscale(.7) brightness(.9); opacity: .8; }
.seat .count { position: absolute; transform: translate(-50%, -50%); min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--blue); color: #fff; font: 700 12.5px/24px var(--sans); text-align: center; box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(43, 68, 255, .35); }
.world > .tag { position: absolute; z-index: 150; margin-top: 2px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 4px; border-radius: 999px; white-space: nowrap; font: 600 12.5px/1 var(--sans);
  background: #fff; color: #121318; box-shadow: 0 4px 14px rgba(24, 28, 48, .14); pointer-events: none; }
.world > .tag .av { width: 20px; height: 20px; border-radius: 999px; }
.world > .tag span { font-weight: 500; opacity: .72; }
.world > .tag .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--blue); }
.world > .tag .dot.green { background: #1B7343; }
.world > .tag.blue { background: #2B44FF; color: #fff; box-shadow: 0 6px 18px rgba(43, 68, 255, .35); }
.world > .tag.blue span { opacity: .9; }
.world > .tag.late span { color: #94500A; opacity: 1; }
body.scene-dark .world > .tag:not(.blue) { background: #1D1F30; color: #F3F4F8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 14px rgba(0, 0, 0, .3); }
body.scene-dark .world > .tag.late span { color: #F0B467; }
.world > .tip { position: absolute; z-index: 160; transform: translate(-50%, 6px); width: 270px; padding: 12px 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 5px; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
  background: #fff; color: #121318; box-shadow: 0 10px 30px rgba(24, 28, 48, .18); z-index: 2; }
.world > .tip .tip-h { font: 600 12px/1.2 var(--sans); color: #2B44FF; }
.world > .tip .tip-t { font: 600 14.5px/1.3 var(--sans); }
.world > .tip .tip-f { font: 500 12px/1.3 var(--sans); color: #565963; }
@media (hover: hover) and (min-width: 900px) { .seat:hover + .tag + .tip, .seat:focus-visible + .tag + .tip { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 699px) { .world > .tag, .world > .tip { display: none; } .seat .count { min-width: 20px; height: 20px; font-size: 11px; line-height: 20px; } }
.chalk { position: absolute; z-index: 1; width: 6.2%; transform: translate(-50%, -50%) skewY(18deg); display: flex; flex-direction: column; align-items: center; text-align: center; color: rgba(255, 255, 255, .86); font: italic 400 .68cqw/1.15 var(--serif); pointer-events: none; }
.chalk b { font: italic 600 .86cqw/1.1 var(--serif); }
body.is-night .chalk { color: rgba(255, 244, 220, .72); }
.fly { position: absolute; left: 0; top: 0; z-index: 90; width: 26px; height: 18px; margin: -9px 0 0 -13px; border-radius: 3px; background: #fff; box-shadow: 0 4px 10px rgba(12, 13, 18, .22); offset-rotate: 0deg; opacity: 0; animation: flyp 5.6s cubic-bezier(.45, .05, .35, 1) infinite; pointer-events: none; }
.fly::before { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 9px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #E9E7E0; }
.fly::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 6px; border-radius: 999px; background: #1B2A9E; }
@keyframes flyp { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 82% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
body.calm .fly { animation-duration: 10s; }
body.still .fly { display: none; }
.empty-room { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); max-width: 280px; padding: 14px 18px; border-radius: 18px; text-align: center; font-size: 14px; background: rgba(255, 255, 255, .86); color: #121318; box-shadow: 0 10px 30px rgba(24, 28, 48, .14); }
.empty-room a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more-agents { position: absolute; right: 8%; bottom: 8%; z-index: 95; height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font: 600 13.5px/1 var(--sans); background: #fff; color: #121318; box-shadow: 0 4px 14px rgba(24, 28, 48, .14); }

/* ---------- the home: the greeting over the place; on a phone, a line for each agent under it */
.main { outline: none; }
body[data-view="home"] .main { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
body[data-view="home"] .main > * { pointer-events: auto; }
.hello { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: min(720px, calc(100vw - 48px)); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #121318; isolation: isolate; }
.hello::before { content: ""; position: absolute; z-index: -1; left: -40px; right: -40px; top: -40px; bottom: -30px; pointer-events: none; background: radial-gradient(closest-side, rgba(250, 245, 238, .6), rgba(250, 245, 238, 0)); }
body.scene-dark .hello { color: #F3F4F8; }
body.scene-dark .hello::before { background: radial-gradient(closest-side, rgba(10, 12, 32, .55), rgba(10, 12, 32, 0)); }
.hello .date { font: 600 13px/1.3 var(--sans); letter-spacing: .02em; opacity: .7; }
.hello h1 { font: 400 42px/1.05 var(--serif); letter-spacing: -.02em; }
.hello .hello-line { max-width: 620px; font-size: 15.5px; line-height: 1.45; opacity: .8; text-wrap: balance; }
.status { display: none; }
@media (max-width: 1099px) { .hello h1 { font-size: 38px; } }
@media (max-width: 699px) {
  .hello { top: calc(18px + env(safe-area-inset-top)); gap: 4px; }
  .hello h1 { font-size: 30px; }
  .hello .hello-line { font-size: 14px; }
  .status { display: block; position: absolute; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); max-height: 34vh; overflow-y: auto; padding: 2px 0; border-radius: 22px; background: var(--surf); box-shadow: var(--shadow); }
}
.st-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); }
.st-row + .st-row { box-shadow: inset 0 1px 0 var(--hair); }
.st-av { width: 38px; height: 38px; border-radius: 999px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.st-av svg { width: 18px; height: 18px; }
.st-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-tx b { font: 600 15px/1.2 var(--sans); }
.st-tx > span { font-size: 13px; line-height: 1.3; color: var(--ink2); }
.st-tx > span b { font: inherit; font-weight: 600; color: var(--ink); }

/* ---------- Home's cards: they make room rather than cover the place. On a computer one solid side bar along the left
   edge, where people expect it, the place moving right and shrinking to stay whole beside it; below 1100 px a sheet
   from the bottom, the place shrinking into what is left above it. */
.panel { position: fixed; top: 0; left: 0; bottom: 0; z-index: 15; width: 440px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 0 16px 20px; background: var(--ground); color: var(--ink); box-shadow: 1px 0 0 var(--hair), 24px 0 60px rgba(12, 13, 18, .14); scrollbar-width: thin; overscroll-behavior: contain; }
.panel-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 -16px; padding: 18px 16px 12px 22px; background: var(--ground); }
.panel-top h2 { font: 400 28px/1.1 var(--serif); letter-spacing: -.01em; }
.pcard { flex: none; padding: 18px; border-radius: 24px; background: var(--surf); color: var(--ink); box-shadow: var(--shadow); }
.pcard .status-in { margin: 0 -18px -12px; }
.pcard .status-in .st-row { padding: 10px 18px; }
body.panel-open .hello, body.panel-open .dock { left: calc(440px + (100vw - 440px) / 2); }
.scene.moving .world { transition: left .32s cubic-bezier(.4, 0, .2, 1), top .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1), height .32s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .scene.moving .world { transition: none; } }
.pcard .go-card { padding: 0; box-shadow: none; background: none; }
.pcard .go.stacked::before, .pcard .go.stacked::after { display: none; }
.pcard .pager { margin-top: 12px; }
.pcard .clear { padding: 4px 0 0; box-shadow: none; background: none; }
.pcard .clear h3 { font-size: 22px; }
.today .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.today .stat { padding: 10px 12px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.today .stat b { font: 600 24px/1 var(--sans); letter-spacing: -.02em; }
.today .stat span { font: 500 12px/1.25 var(--sans); color: var(--ink3); }
.today .stat.green b { color: var(--green); }
.today .stat.blue b { color: var(--blue); }
.slept-line { margin-top: 12px; font: italic 400 16px/1.4 var(--serif); color: var(--ink2); }
.pcard.feed { padding-bottom: 12px; }
.pcard.feed .seg { margin: 0 -18px 4px; padding: 2px 18px; }
.panel .pcard.feed { flex: 1 0 auto; }
.pcard.feed .day-h { margin: 18px 0 10px; }
.pcard.feed .day-h h3 { font-size: 16px; }
.pcard.feed .list { box-shadow: inset 0 0 0 1px var(--hair); }
.pcard.feed .row { padding: 13px 14px; }
.pcard.feed .tile { width: 38px; height: 38px; border-radius: 11px; }
.pcard.feed .tile img { width: 24px; height: 24px; }
.pcard .empty { padding: 14px 2px 6px; }
.go-card .go-src .rav.big { width: 36px; height: 36px; }
.go-from { display: flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--sans); color: var(--ink2); }
@media (max-width: 1099px) {
  .panel { top: auto; right: 0; width: auto; height: 60vh; height: 60dvh; border-radius: 28px 28px 0 0; padding: 0 12px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--hair), 0 -20px 60px rgba(12, 13, 18, .18); z-index: 25; }
  .panel-top { margin: 0 -12px; padding: 16px 12px 10px 20px; border-radius: 28px 28px 0 0; }
  body.panel-open .hello, body.panel-open .dock { left: 50%; }
  body.panel-open .dock, body.panel-open .status { display: none; }
  body.panel-open .hello .hello-line, body.panel-open .hello .hello-short { display: none; }
}

/* ---------- where they work: the dock's picker, and the account's */
.place-pop { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 24; transform: translateX(-50%); width: 400px; max-width: calc(100vw - 24px); padding: 16px 18px 14px; border-radius: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--ground); color: var(--ink); box-shadow: 0 20px 50px rgba(12, 13, 18, .28), inset 0 0 0 1px var(--hair); }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.place { display: flex; flex-direction: column; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; min-width: 0; }
.place .thumb { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); background: var(--soft); }
.place .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.place.on .thumb { box-shadow: 0 0 0 2.5px var(--blue); }
.place .nm { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; font: 600 13.5px/1.2 var(--sans); }
.place .nm svg { width: 15px; height: 15px; color: var(--blue); }
.pad-t { padding-top: 10px; }

/* ---------- a page over the place: a card, the agents, the account */
body:not([data-view="home"]) .main { position: fixed; inset: 0; z-index: 30; overflow-y: auto; overscroll-behavior: contain; background: rgba(10, 12, 20, .18); }
.sheet-wrap { min-height: 100%; display: flex; justify-content: center; align-items: flex-start; padding: 32px 20px 48px; }
.sheet { width: 100%; max-width: 760px; padding: 18px 28px 32px; border-radius: 30px; background: var(--ground); color: var(--ink); box-shadow: 0 30px 80px rgba(12, 13, 18, .28); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font: 600 14px/1 var(--sans); flex: none; }
.back:hover { background: var(--soft-hover); }
.back svg { width: 18px; height: 18px; }
.sheet-r { display: inline-flex; gap: 8px; align-items: center; }
.sheet-h { padding: 14px 0 24px; }
.sheet-h h1 { font: 400 40px/1.05 var(--serif); letter-spacing: -.02em; }
.sheet-h p { margin-top: 10px; font-size: 16px; color: var(--ink2); text-wrap: pretty; }
.card-sheet .opened { padding: 10px 0 0; }
.card-sheet .decide { position: sticky; bottom: 12px; margin: 16px 0 0; border-radius: 24px; padding: 14px 16px; box-shadow: var(--shadow), inset 0 0 0 1px var(--hair); }
.agent-line .go { width: 18px; height: 18px; color: var(--ink3); }
.agent-line .what > span { color: var(--ink2); }
.agent-line .what > span b { font-weight: 600; color: var(--ink); }
.groups { padding: 0; }
.note { padding: 22px 0 6px; }
@media (max-width: 699px) {
  .sheet-wrap { padding: 0; }
  .sheet { max-width: none; min-height: 100vh; min-height: 100dvh; border-radius: 0; padding: calc(12px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); box-shadow: none; }
  .sheet-h h1 { font-size: 34px; }
  .card-sheet .decide { margin: 16px -16px calc(-24px - env(safe-area-inset-bottom)); border-radius: 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--hair); bottom: 0; }
}

/* ---------- an agent's laptop: on a computer the screen of a laptop over the place; on a phone the whole screen */
.laptop-wrap { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 28px 40px 40px; }
.laptop { width: min(1280px, 100%); display: flex; flex-direction: column; align-items: center; }
.lid { width: 100%; padding: 14px; border-radius: 30px; background: #17181D; box-shadow: 0 40px 90px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.base { width: calc(100% + 80px); height: 18px; border-radius: 0 0 22px 22px; background: linear-gradient(#E6E7EB, #A7ABB4); box-shadow: 0 18px 30px rgba(0, 0, 0, .28); position: relative; }
.base::after { content: ""; position: absolute; left: 50%; top: 0; width: 140px; height: 8px; margin-left: -70px; border-radius: 0 0 10px 10px; background: #9A9EA8; }
.lp-screen { height: min(780px, calc(100vh - 120px)); min-height: 520px; border-radius: 18px; overflow: hidden; background: var(--ground); color: var(--ink); display: flex; flex-direction: column; }
.lp-top { flex: none; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 16px; box-shadow: inset 0 -1px 0 var(--hair); }
.lp-who { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lp-who h1 { font: 600 17px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-av { width: 36px; height: 36px; border-radius: 999px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lp-how { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.2 var(--sans); color: var(--ink3); max-width: 240px; }
.lp-how .av { border-radius: 999px; }
.lp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr) 268px; grid-template-areas: "list now side"; }
.lp-now { grid-area: now; overflow-y: auto; padding: 26px 32px; display: flex; flex-direction: column; gap: 18px; }
.lp-list-pane { grid-area: list; overflow-y: auto; padding: 18px 14px; box-shadow: inset -1px 0 0 var(--hair); }
.lp-side { grid-area: side; overflow-y: auto; padding: 24px 22px; box-shadow: inset 1px 0 0 var(--hair); display: flex; flex-direction: column; gap: 22px; }
.lp-list-pane > .k { padding: 0 4px; }
.lp-list-pane .day-h { margin: 14px 4px 8px; }
.lp-list-pane .day-h h3 { font-size: 14px; }
.lp-list-pane .list { box-shadow: inset 0 0 0 1px var(--hair); border-radius: 16px; }
.lp-list-pane .row { padding: 11px 12px; gap: 10px; }
.lp-list-pane .row .hl { font-size: 13.5px; -webkit-line-clamp: 2; }
.lp-list-pane .tile { width: 30px; height: 30px; border-radius: 9px; }
.lp-list-pane .tile img { width: 20px; height: 20px; }
.lp-list-pane .relay .rt { font-size: 12px; }
.lp-src { display: flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--sans); color: var(--ink3); }
.lp-title { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: var(--ink); font: 400 34px/1.12 var(--serif); letter-spacing: -.015em; text-wrap: pretty; }
.lp-title:not(.static):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lp-title.static { cursor: default; font-size: 30px; }
.lp-title.static b { font-weight: 400; }
.lp-sub { margin-top: -8px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.track { display: flex; gap: 8px; margin: 6px 0 2px; }
.track li { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.track li::before { content: ""; position: absolute; left: 22px; right: -8px; top: 12px; height: 2px; background: var(--hair); }
.track li.done::before { background: var(--ink); }
.track li:last-child::before { display: none; }
.track .mk { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 2px dashed rgba(127, 127, 127, .45); background: var(--ground); }
.track li.done .mk { border: 0; background: var(--ink); color: var(--ground); }
.track li.done .mk svg { width: 14px; height: 14px; }
.track li.now .mk { border: 0; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-bg); }
.track li.warn .mk { border: 0; background: var(--amber); }
.track b { font: 600 13.5px/1.25 var(--sans); }
.track li.now b { color: var(--blue); }
.track li.warn b { color: var(--amber); }
.track li.next b { color: var(--ink3); }
.track span { font: 500 12.5px/1.3 var(--sans); color: var(--ink3); }
.lp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-box { padding: 14px 16px; border-radius: 16px; background: var(--surf); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.45; }
.lp-box .quote { font-size: 16.5px; }
.lp-next { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--blue-bg); font-size: 14px; }
.lp-next .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--blue); flex: none; }
.lp-needs { display: flex; flex-direction: column; gap: 12px; }
.lp-needs .go-card { box-shadow: var(--shadow), inset 0 0 0 1px var(--hair); }
.lp-list { display: flex; flex-direction: column; border-radius: 16px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--hair); }
.lp-list li { padding: 12px 14px; font-size: 14.5px; }
.lp-list li + li { box-shadow: inset 0 1px 0 var(--hair); }
.lp-note { font-size: 14.5px; color: var(--amber); }
.lp-side .week-n { margin: 8px 0 12px; }
.lp-side .legend { margin: 12px 0 0; }
.lp-side .logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lp-side .step { margin-top: 10px; background: var(--soft); }
.lp-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 1099px) {
  .laptop-wrap { padding: 0; align-items: stretch; }
  .laptop { width: 100%; }
  .lid { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .base { display: none; }
  .lp-screen { height: auto; min-height: 100vh; min-height: 100dvh; border-radius: 0; overflow: visible; }
  .lp-top { position: sticky; top: 0; z-index: 2; background: var(--ground); padding-top: env(safe-area-inset-top); }
  .lp-how { display: none; }
  .lp-body { display: flex; flex-direction: column; }
  .lp-now, .lp-list-pane, .lp-side { overflow: visible; box-shadow: none; }
  .lp-now { padding: 22px 18px; }
  .lp-list-pane { padding: 4px 14px 10px; }
  .lp-side { padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--hair); }
  .lp-title { font-size: 28px; }
  .lp-who { justify-content: flex-start; }
}
@media (max-width: 699px) { .lp-who .pill { display: none; } .lp-top { gap: 10px; } }
@media (max-width: 699px) {
  .track { flex-direction: column; gap: 0; }
  .track li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 0 0 14px; }
  .track li::before { left: 10px; right: auto; top: 24px; bottom: 0; width: 2px; height: auto; }
  .track li span { flex-basis: 100%; padding-left: 32px; }
  .lp-two { grid-template-columns: minmax(0, 1fr); }
}

/* toasts over the place */
.toast { bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 40; }
body:not([data-view="home"]) .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
.lp-list-pane .rav { display: none; }
.lp-list-pane .pill { height: 22px; padding: 0 8px; font-size: 11.5px; }
.pcard .go-title { font: 400 23px/1.2 var(--serif); letter-spacing: -.01em; }
body:not([data-view="home"]) .panel { display: none; }
.card-sheet .decide { background: var(--surf); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hello .hello-short { display: none; font-size: 14.5px; line-height: 1.4; opacity: .8; }
@media (max-width: 699px) { .hello .hello-line { display: none; } .hello .hello-short { display: block; } }
.world.small > .tag, .world.small > .tip { display: none; }
.motion-seg { margin: 0; padding: 0; }
.go-title { padding: 4px 0; }
@media (min-width: 1100px) { body.panel-open .hello { width: min(620px, calc(100vw - 440px - 48px)); } }

/* ---------- Home's side bar as one sheet of paper (the founder, 2026-11-19: the plain bar was not premium enough).
   One floating sheet inset from the edges, its tone the place's own (warm paper on a light place, deep ink on a dark
   one), set like a page: small capital labels, hairlines, serif numerals, no boxes inside. What waits for the person
   is a letter, folded, sealed with the blue wax the agents' letters carry. */
.panel { left: 12px; top: 12px; bottom: 12px; width: 420px; border-radius: 30px; padding: 0 24px 24px; gap: 0;
  --ink: #16171C; --ink2: #575A63; --ink3: #7B7E87; --hair: rgba(60, 45, 20, .1); --soft: #F2EDE3; --soft-hover: #EAE3D6;
  --surf: #FFFDF8; --primary: #16171C; --primary-hover: #2A2C34; --on-primary: #FFFFFF; --grey-bg: #EFE9DE;
  --blue: #2B44FF; --blue-bg: #E8EBFF; --green: #1B7343; --green-bg: #E0EFE5; --amber: #94500A; --amber-bg: #F8E8D0;
  background: #FAF7F1; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(40, 30, 20, .06), 0 40px 90px -30px rgba(40, 30, 20, .38);
  animation: paperin .34s cubic-bezier(.2, .8, .2, 1); }
body.scene-dark .panel { --ink: #EEF0F6; --ink2: #B4B8C6; --ink3: #8D92A3; --hair: rgba(255, 255, 255, .09); --soft: #1F2338; --soft-hover: #272C45;
  --surf: #1A1E33; --primary: #EEF0F6; --primary-hover: #FFFFFF; --on-primary: #12152A; --grey-bg: #22273D;
  --blue: #8B98FF; --blue-bg: rgba(110, 125, 255, .16); --green: #7FD3A2; --green-bg: rgba(80, 190, 130, .14); --amber: #F0B467; --amber-bg: rgba(240, 170, 80, .14);
  background: #12152A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 90px -30px rgba(0, 0, 0, .7); }
@keyframes paperin { from { transform: translateX(-14px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } }
.panel-top { margin: 0 -24px; padding: 24px 24px 18px; background: inherit; border-radius: 30px 30px 0 0; align-items: flex-start; }
.panel-top h2 { font: 400 32px/1 var(--serif); letter-spacing: -.015em; }
.panel-top .round { width: 36px; height: 36px; background: var(--soft); box-shadow: none; color: var(--ink); }
.panel .pcard { padding: 22px 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--hair); }
.panel .sec-head { margin-bottom: 14px; align-items: center; }
.panel .sec-head h2 { font: 600 11.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }
.panel .sec-head .n { font-size: 12px; }
.panel .steps .round { width: 36px; height: 36px; background: var(--soft); box-shadow: none; }
.panel .steps .round svg { width: 15px; height: 15px; }
/* the agents, a row of faces; the ring says the state, colour only for a state */
.mate-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 2px 0; }
.mate-row::-webkit-scrollbar { display: none; }
.mate { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 16px; color: var(--ink); text-align: center; }
.mate:hover { background: var(--soft); }
.mate-av { width: 52px; height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); box-shadow: 0 0 0 2px var(--hair); }
.mate.s-waiting .mate-av, .mate.s-working .mate-av { box-shadow: 0 0 0 2px var(--blue); }
.mate.s-done .mate-av { box-shadow: 0 0 0 2px var(--green); }
.mate.s-late .mate-av { box-shadow: 0 0 0 2px var(--amber); }
.mate-nm { font: 600 12.5px/1.2 var(--sans); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mate-st { font: 500 11.5px/1.2 var(--sans); color: var(--ink3); }
.mate.s-waiting .mate-st, .mate.s-working .mate-st { color: var(--blue); }
.mate.s-done .mate-st { color: var(--green); }
/* what waits for the person: a letter */
.panel .go-card { position: relative; padding: 20px 20px 18px; border-radius: 18px; gap: 12px; overflow: hidden;
  --ink: #16171C; --ink2: #575A63; --ink3: #7B7E87; --soft: #F1EBDF; --soft-hover: #E9E1D2; --primary: #16171C; --on-primary: #FFFFFF; --hair: rgba(60, 45, 20, .1);
  background: linear-gradient(180deg, #FFFDF7 0%, #FBF6EA 100%); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(120, 90, 40, .1), 0 1px 1px rgba(60, 40, 10, .05), 0 14px 30px -14px rgba(60, 40, 10, .3); }
.panel .go-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 54px; pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(120, 90, 40, .13) 50%, transparent calc(50% + .5px)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .5px), rgba(120, 90, 40, .13) 50%, transparent calc(50% + .5px)) right / 50% 100% no-repeat; }
.panel .go-card::after { content: ""; position: absolute; right: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50% 46% 52% 48%; pointer-events: none;
  background: radial-gradient(circle at 36% 34%, #4A5BD8 0%, #1E2DA6 52%, #111A6E 100%); box-shadow: 0 2px 5px rgba(17, 26, 110, .35), inset 0 0 0 4px rgba(255, 255, 255, .07); }
.panel .go-card .go-src { padding-right: 40px; }
.panel .go-title { font: 400 24px/1.18 var(--serif); }
.panel .go-detail { font-size: 14.5px; }
.panel .go.stacked::before, .panel .go.stacked::after { display: none; }
.panel .pager { margin-top: 14px; }
/* today, in numerals */
.panel .today .stats { display: flex; gap: 0; }
.panel .today .stat { flex: 1; padding: 0 0 0 16px; border-radius: 0; background: none; box-shadow: inset 1px 0 0 var(--hair); }
.panel .today .stat:first-child { padding-left: 0; box-shadow: none; }
.panel .today .stat b { font: 400 40px/1 var(--serif); letter-spacing: -.02em; }
.panel .today .stat span { font-size: 12px; margin-top: 4px; }
.panel .slept-line { margin-top: 16px; font-size: 15.5px; }
/* the feed, on the page itself: hairlines, no boxes */
.panel .pcard.feed .seg { margin: 0 0 2px; padding: 2px 0; }
.panel .pcard.feed .seg button { height: 34px; font-size: 12.5px; }
.panel .pcard.feed .day-h { margin: 16px 0 4px; }
.panel .pcard.feed .day-h h3 { font: 600 11.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }
.panel .pcard.feed .list { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.panel .pcard.feed .row { padding: 13px 0; }
.panel .pcard.feed .row + .row { box-shadow: inset 0 1px 0 var(--hair); }
.panel .pcard.feed .tile { width: 34px; height: 34px; border-radius: 10px; background: #fff; }
.panel .pcard.feed .tile img { width: 21px; height: 21px; }
.panel .pcard.feed .row .hl { font-size: 14.5px; }
.panel .clear h3 { font-size: 24px; }
body.panel-open .hello, body.panel-open .dock { left: calc(432px + (100vw - 432px) / 2); }
@media (min-width: 1100px) { body.panel-open .hello { width: min(620px, calc(100vw - 432px - 48px)); } }
@media (max-width: 1099px) {
  .panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 28px 28px 0 0; padding: 0 20px calc(18px + env(safe-area-inset-bottom)); animation-name: sheetin; }
  .panel-top { margin: 0 -20px; padding: 18px 20px 12px; border-radius: 28px 28px 0 0; }
  body.panel-open .hello, body.panel-open .dock { left: 50%; }
}
@keyframes sheetin { from { transform: translateY(24px); opacity: 0; } }
