:root { color-scheme: light; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px) }
body { margin: 0; font: 14px system-ui }
[hidden] { display: none !important }
img { max-width: 100% }
/* Layout: an Apple pro-app. Frosted bar on top, one step at a time while setting up, then a workspace: progress rings, a board or a week calendar, a wall of squares with an inspector, and a command box docked at the bottom. */
:root {
  --bg: #F2F2F7; --wash-1: rgba(0,113,227,.11); --wash-2: rgba(175,82,222,.09);
  --glass: rgba(255,255,255,.72); --hair: rgba(60,60,67,.18); --card: #FFFFFF; --lane: rgba(118,118,128,.10); --fill: #E5E5EA;
  --ink: #1D1D1F; --ink-2: #515154; --sep: #C7C7CC; --field: #8E8E93;
  --tint: #0071E3; --tint-text: #0066CC; --tint-soft: #E1EEFC; --on-tint: #FFFFFF;
  --good: #1D7A36; --good-soft: #E0F5E6; --warn: #9A4700; --warn-soft: #FFF0DC; --danger: #C4001A; --danger-soft: #FFE5E7;
  --seg-on: #FFFFFF; --toast-bg: #1D1D1F; --toast-fg: #FFFFFF;
  --sheet-bg: #000000; --sheet-fg: #FFFFFF; --scrim: rgba(0,0,0,.72); --logo-bg: #FFFFFF;
  --ai-1: #0A84FF; --ai-2: #5E5CE6; --ai-3: #FF375F; --ai-4: #FF9F0A; --ai-glow: rgba(94,92,230,.28);
  --av1: #0A6CD6; --av2: #248A3D; --av3: #5856D6; --av4: #C2410C; --av5: #C2255C; --av6: #8944AB; --av7: #0B7285; --av8: #B42318;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.07);
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #050507; --wash-1: rgba(10,132,255,.20); --wash-2: rgba(191,90,242,.14);
  --glass: rgba(30,30,34,.66); --hair: rgba(255,255,255,.14); --card: #1C1C1E; --lane: rgba(255,255,255,.06); --fill: #2C2C2E;
  --ink: #F5F5F7; --ink-2: #B4B4BA; --sep: #48484A; --field: #8E8E93;
  --tint: #0A84FF; --tint-text: #5AA9FF; --tint-soft: #0E2A47; --on-tint: #FFFFFF;
  --good: #30D158; --good-soft: #0F2E18; --warn: #FFAA2B; --warn-soft: #3A2606; --danger: #FF6961; --danger-soft: #3A1114;
  --seg-on: #636366; --toast-bg: #3A3A3C; --toast-fg: #FFFFFF;
  --sheet-bg: #000000; --sheet-fg: #FFFFFF; --scrim: rgba(0,0,0,.72); --logo-bg: #FFFFFF;
  --ai-1: #0A84FF; --ai-2: #5E5CE6; --ai-3: #FF375F; --ai-4: #FF9F0A; --ai-glow: rgba(94,92,230,.45);
  --av1: #0A6CD6; --av2: #248A3D; --av3: #5856D6; --av4: #C2410C; --av5: #C2255C; --av6: #8944AB; --av7: #0B7285; --av8: #B42318;
  --shadow: 0 0 0 rgba(0,0,0,0);
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #050507; --wash-1: rgba(10,132,255,.20); --wash-2: rgba(191,90,242,.14);
  --glass: rgba(30,30,34,.66); --hair: rgba(255,255,255,.14); --card: #1C1C1E; --lane: rgba(255,255,255,.06); --fill: #2C2C2E;
  --ink: #F5F5F7; --ink-2: #B4B4BA; --sep: #48484A; --field: #8E8E93;
  --tint: #0A84FF; --tint-text: #5AA9FF; --tint-soft: #0E2A47; --on-tint: #FFFFFF;
  --good: #30D158; --good-soft: #0F2E18; --warn: #FFAA2B; --warn-soft: #3A2606; --danger: #FF6961; --danger-soft: #3A1114;
  --seg-on: #636366; --toast-bg: #3A3A3C; --toast-fg: #FFFFFF;
  --sheet-bg: #000000; --sheet-fg: #FFFFFF; --scrim: rgba(0,0,0,.72); --logo-bg: #FFFFFF;
  --ai-1: #0A84FF; --ai-2: #5E5CE6; --ai-3: #FF375F; --ai-4: #FF9F0A; --ai-glow: rgba(94,92,230,.45);
  --av1: #0A6CD6; --av2: #248A3D; --av3: #5856D6; --av4: #C2410C; --av5: #C2255C; --av6: #8944AB; --av7: #0B7285; --av8: #B42318;
  --shadow: 0 0 0 rgba(0,0,0,0);
  color-scheme: dark }

* { box-sizing: border-box }
body { background: radial-gradient(1100px 620px at 8% -8%, var(--wash-1), transparent 62%), radial-gradient(900px 560px at 100% 0%, var(--wash-2), transparent 60%), var(--bg); background-repeat: no-repeat; color: var(--ink); font-family: var(--ui); font-size: 19px; line-height: 1.4; -webkit-font-smoothing: antialiased; min-height: 100% }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 45; background: var(--bg) }
.wrap { max-width: 1120px; margin: 0 auto; padding-block: 26px 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
button, input, textarea, select { font: inherit; color: inherit }
button { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 2px }
.glass { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border: 1px solid var(--hair) }

.topband { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border-bottom: 1px solid var(--hair) }
.top { max-width: 1120px; margin: 0 auto; padding-block: 6px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; min-height: 52px }
.mark { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px }
.mark i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--ai-1), var(--ai-2) 55%, var(--ai-3)); display: block }
.tag { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--fill); color: var(--ink-2) }
.steps { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: 600; color: var(--ink-2); flex-wrap: wrap }
.steps .now { color: var(--ink) }
.steps .sepr { color: var(--field); font-weight: 400 }
@media (max-width: 700px) { .mark { flex: 1 1 auto } .mark .tag { display: none } .steps { order: 3; width: 100%; padding-bottom: 4px } }

.stage { max-width: 640px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 22px }
.stage.wide { max-width: none }
.narrow { max-width: 640px; width: 100% }
h1 { font-weight: 700; font-size: clamp(34px, 6.4vw, 54px); line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance }
h1.mid { font-size: clamp(30px, 5vw, 42px) }
h1:focus { outline: none }
h2.sub { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 8px 0 -8px }
.lede { font-size: 21px; color: var(--ink-2); margin: 0; max-width: 32em }
.note { font-size: 16px; color: var(--ink-2); margin: 0 }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin: 0 }
.err { font-size: 18px; font-weight: 600; background: var(--warn-soft); color: var(--warn); border-radius: 14px; padding: 14px 16px; margin: 0 }

.btn { min-height: 54px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--fill); color: var(--tint-text); font-weight: 600; font-size: 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s ease, filter .12s ease }
.btn:hover { filter: brightness(.96) }
.btn:active { transform: scale(.98) }
.btn.go { background: var(--tint); color: var(--on-tint) }
.btn.go:hover { filter: brightness(1.08) }
.btn.small { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 17px }
.btn.text { background: transparent; padding: 0 8px; min-height: 44px; font-size: 18px }
.btn.block { width: 100% }
.cap { flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--tint-soft); color: var(--tint-text); font-weight: 700; font-size: 17px; cursor: pointer }
.cap.go { background: var(--tint); color: var(--on-tint) }
.cap.gray { background: var(--fill) }
.cap.danger { background: var(--fill); color: var(--danger) }
.cap:active { transform: scale(.97) }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fill); color: var(--tint-text); cursor: pointer; display: grid; place-items: center; font-size: 22px; font-weight: 600; line-height: 1 }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.row.split { justify-content: space-between }

.ai { border-radius: 24px; padding: 2px; background: linear-gradient(100deg, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), var(--ai-1)); background-size: 300% 100% }
.ai.live { animation: flow 2.6s linear infinite; box-shadow: 0 10px 34px var(--ai-glow) }
@keyframes flow { to { background-position: 300% 0 } }

.zone { position: relative; border-radius: 24px; background: var(--card); border: 2px dashed var(--field); padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; box-shadow: var(--shadow) }
.zone:hover, .zone.over { border-color: var(--tint); background: var(--tint-soft) }
.zone .ic { width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg, var(--ai-1), var(--ai-2)); color: var(--on-tint); display: grid; place-items: center; margin-bottom: 6px }
.zone .ic svg { width: 34px; height: 34px }
.zone strong { font-weight: 600; font-size: 23px; letter-spacing: -0.01em }
.zone span { color: var(--tint-text); font-size: 18px; font-weight: 600 }
.zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none }
details.paste summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--tint-text); padding: 8px 0 }
textarea, input[type="text"], input[type="date"], select { width: 100%; min-height: 50px; border: 1.5px solid var(--field); border-radius: 12px; background: var(--card); padding: 10px 14px; font-size: 19px }
textarea:focus, input[type="text"]:focus, input[type="date"]:focus, select:focus { outline: 3px solid var(--tint); outline-offset: 0; border-color: var(--tint) }
textarea { min-height: 150px; resize: vertical; margin: 8px 0 12px }
.f { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 16px; color: var(--ink-2); align-items: stretch }
.f input, .f select { color: var(--ink); font-weight: 400 }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 18px; box-shadow: var(--shadow) }
.form .seg { align-self: flex-start }
.rowi .form { flex: 1 1 auto; min-width: 0; border: 0; box-shadow: none; padding: 6px; background: transparent }

.doc { border-radius: 22px; background: var(--card); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 230px }
.doc b { font-size: 18px; overflow-wrap: anywhere }
.doc p { margin: 0; font-size: 16px; color: var(--ink-2); overflow-wrap: anywhere }
.spin { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 3.5px solid var(--sep); border-top-color: var(--tint); margin-right: 14px; vertical-align: -2px; animation: spin .8s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

.group { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow) }
.rowi { min-height: 62px; width: 100%; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 20px; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--hair) }
.group > li:first-child > .rowi { border-top: 0 }
button.rowi { cursor: pointer }
button.rowi:hover { background: var(--lane) }
.rowi > span { min-width: 0; overflow-wrap: anywhere }
.rowi[aria-pressed="true"] { font-weight: 600 }
.rowi svg { flex: none; width: 26px; height: 26px; color: var(--tint-text) }
.rowi.link { color: var(--tint-text); font-weight: 600 }
.rowi.pad { padding: 12px }
.rowi.rise { animation: rise .4s ease backwards }
.two { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto }
.two small { font-size: 16px; font-weight: 400; color: var(--ink-2); overflow-wrap: anywhere }
.x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink-2); cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center }
.pv { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--fill); object-fit: cover; display: block }
.pv.fit { object-fit: contain; background: var(--logo-bg); padding: 4px }
.tb { flex: none; padding: 0; border: 0; background: transparent; border-radius: 12px; cursor: pointer }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; color: var(--on-tint); font-family: var(--round); font-weight: 700; font-size: 16px; display: grid; place-items: center }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } }

.bar { height: 6px; border-radius: 99px; background: var(--fill); overflow: hidden }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ai-1), var(--ai-2)); transition: width .3s ease }

/* workspace */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.head > div:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.seg { display: inline-flex; background: var(--fill); border-radius: 12px; padding: 3px; gap: 2px }
.seg button { min-height: 42px; padding: 0 18px; border-radius: 9px; border: 0; background: transparent; font-weight: 600; font-size: 17px; cursor: pointer; color: var(--ink) }
.seg button[aria-pressed="true"] { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0,0,0,.16) }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px }
.tile { border-radius: 22px; padding: 16px; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; box-shadow: var(--shadow); min-width: 0; transition: transform .12s ease }
.tile:hover { transform: translateY(-2px) }
@media (max-width: 700px) { .bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none } .bento .tile { flex: 0 0 80%; scroll-snap-align: center } }
.tile .two b { font-size: 19px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere }
.tile .big-n { font-family: var(--round); font-weight: 700; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums }
.ring { flex: none; width: 64px; height: 64px; transform: rotate(-90deg) }
.ring circle { fill: none; stroke-width: 5.5; stroke-linecap: round }
.ring .t { stroke: var(--fill) }
.ring .a { stroke: var(--tint) }
.ring .b { stroke: var(--good) }
.tile .ic { flex: none; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--ai-3), var(--ai-4)); color: var(--on-tint); display: grid; place-items: center }
.tile .ic svg { width: 30px; height: 30px }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.wk { display: flex; align-items: center; gap: 8px }
.wk b { font-size: 20px; font-weight: 700; min-width: 7.5em; text-align: center; letter-spacing: -0.01em }
.who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--fill); font-size: 17px; font-weight: 600; cursor: pointer }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg) }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start }
.days { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; align-items: start }
@media (max-width: 900px) { .lanes, .days { grid-template-columns: minmax(0, 1fr) } }
.lane { border-radius: 22px; padding: 12px; background: var(--lane); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 10px; min-height: 130px; outline: 2px solid transparent; transition: outline-color .12s ease }
.lane.tray { background: var(--tint-soft) }
.lane.today { border-color: var(--tint) }
.lane.over { outline-color: var(--tint) }
.lane h2 { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 2px 6px 4px; display: flex; justify-content: space-between; gap: 8px }
.lane h2 em { font-style: normal; font-weight: 600; color: var(--ink-2); font-family: var(--round); font-variant-numeric: tabular-nums }
.empty { font-size: 16px; color: var(--ink-2); margin: 0 6px 6px }
.card { border-radius: 16px; background: var(--card); border: 1px solid var(--hair); box-shadow: var(--shadow); padding: 12px 12px 12px 6px; display: flex; align-items: center; gap: 8px; user-select: none; -webkit-user-select: none }
.card.fixed { padding-left: 14px }
.card.can { cursor: grab }
.card.lifting { opacity: .3 }
.card.ghost { position: fixed; z-index: 50; pointer-events: none; box-shadow: 0 22px 48px rgba(0,0,0,.3); cursor: grabbing }
.card .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start }
.card .open { background: transparent; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 19px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; border-radius: 6px }
.card .open::after { content: " \203A"; color: var(--field); font-weight: 400 }
.card .c { font-size: 16px; color: var(--ink-2); margin: 0; overflow-wrap: anywhere }
.card .pv { width: 46px; height: 46px; border-radius: 10px }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px }
.days .card { padding: 10px 10px 10px 4px }
.days .card .open { font-size: 17px }
.days .card .c { font-size: 15px }
.grip { flex: none; width: 28px; height: 44px; display: grid; place-items: center; color: var(--field); touch-action: none; cursor: grab }
.grip svg { width: 20px; height: 20px }
.pill { font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap }
.pill.wait { background: var(--warn-soft); color: var(--warn) }
.pill.ok { background: var(--good-soft); color: var(--good) }
.pill.due { background: var(--fill); color: var(--ink-2) }
.pill.late { background: var(--danger-soft); color: var(--danger) }
.pill.blue { background: var(--tint-soft); color: var(--tint-text) }
.big { font-weight: 700; font-size: clamp(24px, 4.2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; margin: 0; max-width: 22em; text-wrap: balance }

/* command box */
.dock { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 6px }
.say { font-size: 17px; font-weight: 600; padding: 8px 8px 8px 18px; min-height: 58px; border-radius: 20px; margin: 0; max-width: 640px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px }
.say span { min-width: 0; padding: 4px 10px 4px 0 }
.ask { width: 100%; max-width: 640px; border-radius: 999px; box-shadow: 0 10px 34px var(--ai-glow) }
.ask form { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 18px; margin: 0 }
.ask svg { flex: none; width: 24px; height: 24px; color: var(--ai-2) }
.ask input[type="text"] { border: 0; background: transparent; min-height: 46px; padding: 0 6px; font-size: 19px; border-radius: 0 }
.ask input[type="text"]:focus { outline: none }
.ask .send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tint); color: var(--on-tint); cursor: pointer; display: grid; place-items: center }
.ask .send svg { color: var(--on-tint) }
.ask .send .spin { margin: 0; width: 22px; height: 22px; border-color: rgba(255,255,255,.4); border-top-color: var(--on-tint) }

/* wall of squares + inspector */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr) } .insp { order: -1 } }
.insp { border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)) }
@media (max-width: 900px) { .insp { position: static } }
.insp h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 }
.pvbig { position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 2px dashed var(--field); background: var(--card); display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--ink-2); font-size: 17px; font-weight: 600; text-align: center }
.pvbig.full { border: 1px solid var(--hair) }
.pvbig.over { border-color: var(--tint); background: var(--tint-soft) }
.pvbig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.pvbig .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--scrim); color: var(--sheet-fg); font-size: 26px; display: grid; place-items: center; padding-left: 5px }
.pvbig .add { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px }
.pvbig .add svg { width: 34px; height: 34px; color: var(--tint-text) }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px }
.slot { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 18px; border: 2px dashed var(--field); background: var(--card); color: var(--ink-2); cursor: pointer; overflow: hidden; display: grid; place-items: center; padding: 0; font-size: 16px; font-weight: 600 }
.slot.full { border: 1px solid var(--hair); box-shadow: var(--shadow) }
.slot:hover, .slot.over { border-color: var(--tint); background: var(--tint-soft) }
.slot.sel { outline: 4px solid var(--tint); outline-offset: 2px }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.slot .add { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; text-align: center }
.slot .add svg { width: 30px; height: 30px; color: var(--tint-text) }
.slot .fname { padding: 12px; text-align: center; overflow-wrap: anywhere; font-size: 15px }
.slot .num { position: absolute; top: 8px; left: 8px; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: var(--toast-bg); color: var(--toast-fg); font-family: var(--round); font-size: 15px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums }
.slot .okb { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--good); color: var(--on-tint); display: grid; place-items: center }
.slot .okb svg { width: 18px; height: 18px }
.slot .play { position: absolute; bottom: 8px; left: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--scrim); color: var(--sheet-fg); font-size: 13px; display: grid; place-items: center; padding-left: 2px }
.slot .spin { margin: 0 }

.sheet { position: fixed; inset: 0; z-index: 80; background: var(--sheet-bg); color: var(--sheet-fg); display: flex; flex-direction: column; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)) }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; font-weight: 600 }
.sheet-bar span { min-width: 0; overflow-wrap: anywhere; font-weight: 400 }
.sheet-body { flex: 1 1 auto; min-height: 0; display: grid; place-items: center }
.sheet-body video, .sheet-body img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px }

.hero { position: relative; overflow: hidden; border-radius: 26px; background: var(--lane) center / cover no-repeat; border: 1px solid var(--hair); min-height: 170px; display: flex; align-items: flex-end }
.hero.photo { min-height: 280px; color: var(--sheet-fg) }
.hero.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim), transparent 75%) }
.hero-in { position: relative; padding: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap }
.hero-in > div { min-width: 0 }
.hero .logo { width: 84px; height: 84px; border-radius: 20px; background: var(--logo-bg); object-fit: contain; padding: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.2) }
.hero.photo .lede { color: var(--sheet-fg) }

.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 90; background: var(--toast-bg); color: var(--toast-fg); border-radius: 999px; padding: 8px 10px 8px 22px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.25) }
.toast:not(:has(button)) { padding: 14px 22px }
.toast button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.22); color: var(--toast-fg); font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.insp .rowi { min-height: 52px; font-size: 18px; padding: 8px 12px }
.box { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--field); display: grid; place-items: center }
.box.on { background: var(--good); border-color: var(--good) }
.rowi .box svg { width: 20px; height: 20px; color: var(--on-tint) }
.score { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px }
.score button { min-height: 46px; border-radius: 12px; border: 0; background: var(--fill); color: var(--ink); font-family: var(--round); font-weight: 700; font-size: 19px; cursor: pointer; font-variant-numeric: tabular-nums }
a.btn, a.cap { text-decoration: none }
a.cap { display: inline-flex; align-items: center }
.dlink { color: var(--tint-text); font-weight: 600; font-size: 17px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere }
.slot .drv { position: absolute; bottom: 8px; right: 8px; padding: 3px 9px; border-radius: 999px; background: var(--scrim); color: var(--sheet-fg); font-size: 13px; font-weight: 700 }
.sheet-act { display: flex; justify-content: center }
.sheet-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 720px; align-self: center }
.sheet-list .cap { align-self: center }
.said { margin: 0; font-size: 18px; font-weight: 400; color: var(--ink) }
.score button[aria-pressed="true"] { background: var(--tint); color: var(--on-tint) }
.tag.on { background: var(--good-soft); color: var(--good) }
.ring.sm { width: 48px; height: 48px }
.chev { flex: none; color: var(--field); font-size: 28px; line-height: 1 }
.btn.text.danger { color: var(--danger) }
.away { margin: 0; align-self: center; font-size: 17px; text-align: center; max-width: 30em; color: var(--sheet-fg) }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

.foot { max-width: 1120px; margin: 0 auto; padding-block: 8px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 17px; color: var(--ink-2) }
.foot span { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere }
.card .said2 { color: var(--warn); font-weight: 600 }
