/* Venue workspaces: one destination per job, with room for the work itself. */
.container { width: min(1480px, calc(100% - 64px)); }
.site-nav { background: var(--felt-950); border-bottom-color: var(--line); }
.page-header { padding: 30px 0 24px; }
.page-header h1 { font-size: 2.65rem; }
.page-header p { font-size: .88rem; }
.venue-bar { padding: 12px 16px; margin-bottom: 24px; }
.venue-bar select { flex: 0 1 440px; }
.console-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; padding-bottom: 48px; scroll-margin-top: 88px; }
.workspace-nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.workspace-nav-label { font-size: .66rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); padding: 0 14px 14px; }
.workspace-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: .85rem; }
.workspace-nav a > span:last-child { opacity: 0; }
.workspace-nav a:hover { background: rgba(243,235,215,.05); color: var(--chalk); }
.workspace-nav a[aria-current] { background: rgba(212,175,55,.12); color: var(--cue-gold); border-color: var(--line); font-weight: 600; }
.workspace-nav a[aria-current] > span:last-child { opacity: 1; }
.workspace-nav-note { margin: 20px 14px; border-top: 1px solid var(--line); padding-top: 18px; font-size: .74rem; line-height: 1.65; color: var(--muted); }
.workspace-main, .workspace-section, .panel, .slides-add-column, .slides-playlist-column { min-width: 0; }
.workspace-section { scroll-margin-top: 90px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px; }
.workspace-heading h2 { margin: 0 0 6px; font-size: 1.65rem; font-weight: 600; letter-spacing: -.7px; }
.workspace-heading p { margin: 0; color: var(--muted); font-size: .85rem; }
.workspace-heading h2:focus { outline: none; }
.panel { box-shadow: 0 8px 28px rgba(0,0,0,.12); background: rgba(24,71,52,.36); }
.panel-head { padding: 18px 22px; }
.panel-body { padding: 22px; }
.panel-head-label { font-family: 'Sora', sans-serif; font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--chalk); }
.field-hint { color: var(--muted); line-height: 1.5; }
.btn:focus-visible, .workspace-nav a:focus-visible, select:focus-visible { outline: 2px solid var(--cue-gold); outline-offset: 3px; }
#slides-panel > .panel-body { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.3fr); gap: 28px; align-items: start; }
.slides-add-column, .slides-playlist-column { display: flex; flex-direction: column; gap: 16px; }
.slides-playlist-column { border-left: 1px solid var(--line); padding-left: 28px; }
.slide-list-head { border-top: 0; padding-top: 0; margin: 0; }
.slide-list-title { padding-top: 0; }
.slides-empty { padding: 36px 18px; border: 1px dashed var(--line); border-radius: 12px; margin: 0; }
.tv-status { margin-top: 12px; }
#venue-display-panel > .panel-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.tv-connection { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.tv-connection p { max-width: 80ch; }
.tv-connection .url-box { margin: 0; }
.url-value { overflow-wrap: anywhere; }
#venue-display-panel > .panel-body > div:not(.tv-connection) { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
.competition-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.tier-free .competition-workspace { grid-template-columns: minmax(0, 1fr); }
.tier-free #comp-create-panel { max-width: 800px; }
#floor-section { padding-bottom: 0; }
#floor-setup-panel { max-width: 900px; }
#floor-panel .floor-map { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.auth-gate { max-width: 760px; }
@media (max-width: 1150px) {
  .container { width: calc(100% - 40px); }
  .console-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  #slides-panel > .panel-body, .competition-workspace { grid-template-columns: minmax(0, 1fr); }
  .slides-playlist-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 760px) {
  .nav-inner { gap: 10px; }
  .brand { flex: 1; gap: 8px; }
  .brand-text { font-size: 10px; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; }
  .nav-right { flex-shrink: 0; gap: 6px; }
  .nav-right .btn { white-space: nowrap; }
  .container { width: calc(100% - 32px); }
  .console-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .workspace-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .workspace-nav-label, .workspace-nav-note { display: none; }
  .workspace-nav a { border-color: var(--line); font-size: .8rem; padding: 10px 12px; }
  .workspace-heading { margin-bottom: 16px; }
  .workspace-heading h2 { font-size: 1.45rem; }
  .workspace-heading p { line-height: 1.6; }
  .panel-head, .panel-body { padding: 16px; }
  #venue-display-panel > .panel-body { grid-template-columns: minmax(0, 1fr); }
  .venue-bar { margin-bottom: 18px; }
  .venue-bar select { min-width: 0; flex: 1; }
  .page-header { padding: 24px 0 20px; }
}
/* ── Phone app shell parts: hidden on wider screens ── */
.app-title, .app-menu-btn, .app-menu, .app-skeleton, .workspace-nav .ws-icon, .workspace-nav .ws-short { display: none; }

/* ══ Phone app shell (up to 700px) ═════════════════════════════════════
   One sticky app bar (monogram, venue, overflow), one fixed tab bar, and the
   tab's content as full-width rows. Same spec as the league console. */
@media (max-width: 700px) {
  :root {
    --app-bar-h: 56px;
    --tab-bar-h: 64px;
    --hair: rgba(216, 174, 85, 0.16);
    --gutter: 16px;
    --app-chrome: #0c241c;
  }
  html { scroll-behavior: auto; scroll-padding-top: calc(var(--app-bar-h) + 8px); }
  body { -webkit-tap-highlight-color: transparent; }

  /* ── Top app bar ── */
  .site-nav, .site-nav.nav-solid {
    background: var(--app-chrome); backdrop-filter: none;
    border-bottom: 1px solid var(--hair);
    padding-top: env(safe-area-inset-top);
  }
  .site-nav .container {
    width: 100%;
    padding: 0 max(4px, env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  }
  .nav-inner { height: var(--app-bar-h); padding: 0; gap: 8px; }
  .brand { flex: 0 0 auto; gap: 0; }
  .brand img { width: 30px; height: 30px; filter: none; }
  .brand-text, .plan-pill, .plan-pill.is-visible, .nav-league-link, .nav-user-label,
  #auth-sign-in-btn, #auth-sign-out-btn { display: none !important; }
  .nav-right { flex: 0 0 auto; gap: 0; position: relative; }

  .app-title {
    display: flex; align-items: center; gap: 6px;
    flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 6px; margin: 0;
    border: 0; border-radius: 10px; background: none; color: var(--chalk);
    font: 600 1.02rem/1.2 'Sora', sans-serif; letter-spacing: -0.01em; text-align: left;
    cursor: default;
  }
  .app-title:disabled { opacity: 1; color: var(--chalk); }
  .app-title.is-switcher { cursor: pointer; }
  .app-title.is-switcher:active { background: rgba(243,235,215,0.06); }
  .app-title-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-title-caret { display: none; flex: 0 0 auto; color: var(--muted); }
  .app-title.is-switcher .app-title-caret { display: block; }
  .app-plan-chip {
    flex: 0 0 auto; margin-left: 2px;
    font: 700 0.62rem/1 'Sora', sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--cue-gold); padding: 4px 7px; border-radius: 6px;
    background: rgba(212,175,55,0.12);
  }
  .app-plan-chip[hidden] { display: none; }

  .app-menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: none; color: var(--chalk); cursor: pointer;
  }
  .app-menu-btn[hidden] { display: none; }
  .app-menu-btn:active, .app-menu-btn[aria-expanded="true"] { background: rgba(243,235,215,0.08); }
  .app-menu-btn:focus-visible, .app-title:focus-visible, .app-menu-item:focus-visible, .app-sheet-row:focus-visible {
    outline: 2px solid var(--cue-gold); outline-offset: -2px;
  }
  .app-menu {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 2px); right: 4px; z-index: 60;
    min-width: 232px; padding: 6px 0;
    background: #163d2e; border: 1px solid var(--hair); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    transform-origin: top right; animation: app-pop 160ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .app-menu[hidden] { display: none; }
  .app-menu-account { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 12px; border-bottom: 1px solid var(--hair); margin-bottom: 4px; }
  .app-menu-user { font-size: 0.85rem; color: var(--chalk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
  .app-menu-plan { font-size: 0.74rem; color: var(--cue-gold); }
  .app-menu-plan:empty, .app-menu-user:empty { display: none; }
  .app-menu-account:has(> :empty + :empty) { display: none; }
  .app-menu-item {
    display: flex; align-items: center; min-height: 48px; padding: 0 16px;
    border: 0; background: none; color: var(--chalk); text-align: left;
    font: 500 0.95rem 'Sora', sans-serif; cursor: pointer;
  }
  .app-menu-item[hidden] { display: none; }
  .app-menu-item:active { background: rgba(243,235,215,0.06); }
  #app-menu-signout { color: var(--muted); border-top: 1px solid var(--hair); margin-top: 4px; }
  @keyframes app-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

  /* No page H1, no intro, no bordered venue picker (the app bar is the picker). */
  .page-header, .venue-bar, .site-footer { display: none !important; }

  main > .container {
    width: 100%;
    padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  }
  .pending-banner, .preview-strip { margin: 12px 0 0; border-radius: 12px; }

  /* ── Bottom tab bar ── */
  .console-shell { display: block; padding-bottom: calc(var(--tab-bar-h) + env(safe-area-inset-bottom) + 24px); }
  .workspace-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
    height: calc(var(--tab-bar-h) + env(safe-area-inset-bottom));
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: var(--app-chrome); border-top: 1px solid var(--hair);
  }
  .workspace-nav-label, .workspace-nav-note { display: none; }
  .workspace-nav a, .workspace-nav a[aria-current] {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: var(--tab-bar-h); padding: 6px 2px 4px; margin: 0;
    border: 0; border-radius: 0; background: none;
    color: var(--muted); font: 500 0.7rem/1.1 'Sora', sans-serif; letter-spacing: 0.01em;
  }
  .workspace-nav a:hover { background: none; }
  .workspace-nav a[aria-current] { color: var(--cue-gold); font-weight: 600; }
  .workspace-nav a > span:last-child, .workspace-nav a[aria-current] > span:last-child { display: none; }
  .workspace-nav .ws-icon { display: block; width: 24px; height: 24px; }
  .workspace-nav .ws-short { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .workspace-nav .ws-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .workspace-nav a:focus-visible { outline: 2px solid var(--cue-gold); outline-offset: -4px; border-radius: 12px; }

  /* ── Inside a tab: no big H2 + intro; the tab bar already names it ── */
  .workspace-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .intro-copy { display: none !important; }
  .workspace-section { scroll-margin-top: 0; }

  /* Panels become plain sections of rows: no box, a small-caps label. */
  .panel, .tier-free #comp-create-panel {
    border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
    margin: 0 calc(-1 * var(--gutter)); max-width: none;
  }
  .competition-workspace { display: block; }
  .workspace-section .panel ~ .panel, .competition-workspace > .panel + .panel { border-top: 8px solid rgba(0,0,0,0.16); }
  .panel-head, .panel-head.panel-head-stack { padding: 18px var(--gutter) 6px; border-bottom: 0; }
  .panel-head-label {
    font: 600 0.7rem/1.2 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted);
  }
  .panel-body { padding: 6px var(--gutter) 20px; gap: 14px; }
  .field-hint { font-size: 0.8rem; }

  /* Tap targets */
  .btn, .btn-sm { min-height: 44px; }
  .btn-sm { padding: 0 16px; font-size: 0.85rem; }
  .btn-solid { box-shadow: none; }
  .btn-solid:hover:not(:disabled) { transform: none; }

  /* Lists: rows with hairlines, not cards in a card. */
  .slide-list, .screen-list, .comp-list, .comp-toggle-list { gap: 0; border-top: 1px solid var(--hair); }
  .comp-toggle-list { border-top: 0; }
  .slide-row, .slide-row.is-open, .screen-row, .screen-row.is-over, .comp-card,
  .comp-toggle-item, .comp-toggle-item.enabled {
    border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: none;
  }
  .slide-row.is-open { background: rgba(0,0,0,0.14); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .slide-row-main { padding: 10px 0; }
  .screen-row, .comp-card, .comp-toggle-item { padding: 12px 0; min-height: 56px; }
  .empty-state, .slides-empty { border: 0; border-radius: 0; padding: 28px 8px; background: none; }
  .url-box { background: none; border: 0; border-radius: 0; padding: 0; }
  .url-actions { gap: 4px 8px; }

  /* ── Slides: the plan meter and TV state are the status line ── */
  #slides-panel > .panel-head { flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; }
  #slides-panel .panel-head-label { display: none; }
  #slides-panel .cap-meter { flex-direction: row; align-items: center; gap: 12px; min-width: 0; }
  #slides-panel .cap-meter-text { text-align: left; order: 2; }
  #slides-panel .cap-bar { flex: 1 1 auto; order: 1; }
  .tv-status { margin-top: 12px; padding: 12px 0 2px; border-top: 1px solid var(--hair); font-size: 0.85rem; }
  /* The dot sits inline before the words; the words take the rest of the
     row and stop at two lines, so the dot never lands alone on a line. */
  .tv-status { flex-wrap: wrap; align-items: flex-start; column-gap: 8px; row-gap: 10px; }
  .tv-dot { margin-top: calc((1.4em - 8px) / 2); }
  .tv-status-text {
    flex: 1 1 0; min-width: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .tv-actions { margin-left: 0; width: 100%; gap: 4px; }
  .tv-status .btn { min-height: 44px; }
  /* Tonal, so it never competes with the tab's one solid button. */
  .tv-btn-sheet, .tv-btn-sheet:hover:not(:disabled) {
    flex: 1 1 auto; background: rgba(212,175,55,0.14); color: var(--cue-gold);
    box-shadow: none; border-color: transparent;
  }
  #slides-panel .cap-meter.is-unlimited .cap-bar { display: none; }
  .tv-btn-open { border-color: transparent; background: none; }
  #slides-panel > .panel-body { display: block; }
  .slides-add-column, .slides-playlist-column { gap: 12px; }
  .slides-playlist-column { border: 0; padding: 22px 0 0; }
  .slide-list-head { flex-wrap: nowrap; gap: 4px; }
  .slide-list-title { flex: 1 1 auto; min-width: 0; }
  #slides-preview-link { flex: 0 0 auto; padding: 0 0 0 8px; color: var(--cue-gold); }
  .slide-list-title { font: 600 0.7rem/1.2 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

  /* ── TV: the link is the task; the rest are settings rows ── */
  #venue-display-panel .panel-head-label { display: none; }
  #venue-display-panel > .panel-head { padding: 8px var(--gutter) 0; }
  #venue-display-panel > .panel-body { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .tv-connection { padding: 0 0 18px; border-bottom: 0; gap: 10px; }
  #venue-display-panel > .panel-body > div:not(.tv-connection) {
    margin: 0 calc(-1 * var(--gutter)) !important;
    padding: 18px var(--gutter) !important;
    border-top: 1px solid var(--hair) !important;
  }
  #display-comp-controls { gap: 10px !important; }
  #venue-display-panel .toggle-title { font-size: 0.95rem; font-weight: 600; color: var(--chalk); }
  #venue-display-panel .toggle-meta { font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
  #venue-display-panel > .panel-body > div > .toggle-title {
    font: 600 0.7rem/1.2 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
  }
  /* Settings rows put the switch on the right, like a phone's settings. */
  #venue-display-panel .toggle-switch { order: 2; flex: 0 0 auto; }

  /* One prominent action per task; the rest read as text buttons. */
  .btn-sm.btn-outline, .url-actions .btn-outline {
    border-color: transparent; background: none; color: var(--cue-gold); padding: 0 12px;
  }
  .btn-sm.btn-outline:hover:not(:disabled) { border-color: transparent; color: var(--chalk); }

  .url-label, .field label {
    font: 600 0.7rem/1.2 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  }

  /* Body sans in the task UI; the condensed face stays on the TV previews. */
  .wizard-step-title, .wizard-type-option-title, .dropzone-title, .modal-title {
    font-family: 'Sora', sans-serif; letter-spacing: -0.01em; font-weight: 600;
  }
  .wizard-step-title { font-size: 1.15rem; }
  .wizard-type-option-title, .modal-title { font-size: 1rem; }
  /* Step chips scroll sideways instead of wrapping into a second row. */
  .wizard-breadcrumb {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter);
  }
  .wizard-breadcrumb::-webkit-scrollbar { display: none; }
  .wizard-breadcrumb > * { flex: 0 0 auto; }

  /* ── Signed out: one centered sign-in screen ── */
  body:not(.app-on) .auth-gate {
    max-width: 420px; margin: 0 auto !important;
    min-height: calc(100dvh - var(--app-bar-h) - env(safe-area-inset-top));
    justify-content: center; gap: 18px;
    border: 0; background: none; box-shadow: none;
    padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  }
  .auth-gate #gate-signin { display: flex; flex-direction: column; gap: 14px; text-align: center; }
  .auth-gate #gate-signin[hidden] { display: none; }
  .auth-gate-title {
    font: 600 1.45rem/1.25 'Sora', sans-serif; letter-spacing: -0.01em; text-transform: none; color: var(--chalk);
  }
  /* Signed out, sign-in is the one solid button; the claim offer steps back. */
  #gate-signin:not([hidden]) ~ .gate-offer .gate-pill {
    background: rgba(212,175,55,0.14); color: var(--cue-gold); box-shadow: none;
  }
  .auth-row { flex-direction: column; align-items: stretch; gap: 12px; }
  #gate-sign-in-btn {
    min-height: 52px; font-size: 1rem; border: 0; color: #1e1200;
    background: linear-gradient(120deg, var(--cue-gold-dark), var(--cue-gold));
  }
  .auth-status { font-size: 0.85rem; line-height: 1.5; }
  .gate-divider { margin: 10px 0 6px; }
  .gate-offer { text-align: center; align-items: center; }
  .gate-offer-title { font-size: 1.3rem; }
  .gate-offer-line { font-size: 0.88rem; }
  .gate-offer-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .gate-pill { width: 100%; min-height: 48px; }
  .gate-offer-link { justify-content: center; }

  /* ── Loading: skeleton rows inside the shell ── */
  body.app-booting .auth-gate, body.app-booting .pending-banner { display: none !important; }
  body.app-booting .app-skeleton { display: flex; }
  body.app-booting .app-title-name { visibility: hidden; }
  .app-skeleton { flex-direction: column; gap: 14px; padding: 18px 0; }
  .sk { display: block; border-radius: 8px; background: rgba(243,235,215,0.07); animation: sk-pulse 1.4s ease-in-out infinite; }
  .sk-line { height: 14px; width: 70%; }
  .sk-short { width: 36%; height: 10px; }
  .sk-mid { width: 52%; }
  .sk-block { height: 48px; border-radius: 999px; }
  .sk-row { height: 56px; border-radius: 0; background: none; border-bottom: 1px solid var(--hair); position: relative; animation: none; }
  .sk-row::before, .sk-row::after { content: ''; position: absolute; left: 0; border-radius: 6px; background: rgba(243,235,215,0.07); animation: sk-pulse 1.4s ease-in-out infinite; }
  .sk-row::before { top: 12px; height: 12px; width: 58%; }
  .sk-row::after { top: 32px; height: 10px; width: 34%; }
  .loading-row { min-height: 48px; font-size: 0; color: transparent; }
  .loading-row .spinner { display: none; }
  .loading-row::before { content: ''; flex: 0 0 42%; height: 12px; border-radius: 6px; background: rgba(243,235,215,0.07); animation: sk-pulse 1.4s ease-in-out infinite; }
  @keyframes sk-pulse { 50% { opacity: 0.45; } }

  /* ── Venue switcher sheet ── */
  body.app-sheet-open { overflow: hidden; }
  .app-sheet-backdrop {
    position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end;
    background: rgba(3, 12, 8, 0.6); animation: sk-fade 180ms ease-out;
  }
  .app-sheet {
    width: 100%; max-height: 75dvh; overflow-y: auto;
    background: #133528; border-radius: 18px 18px 0 0; border-top: 1px solid var(--hair);
    padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
    animation: sheet-up 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .app-sheet-grip { display: block; width: 36px; height: 4px; border-radius: 2px; margin: 0 auto 10px; background: rgba(243,235,215,0.25); }
  .app-sheet-title { margin: 0; padding: 4px var(--gutter) 10px; font: 600 0.7rem/1.2 'Sora', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .app-sheet-list { border-top: 1px solid var(--hair); }
  .app-sheet-row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px;
    padding: 0 var(--gutter); border: 0; border-bottom: 1px solid var(--hair);
    background: none; color: var(--chalk); font: 500 0.98rem 'Sora', sans-serif; text-align: left; cursor: pointer;
  }
  .app-sheet-row:active { background: rgba(243,235,215,0.05); }
  .app-sheet-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-sheet-role { flex: 0 0 auto; font-size: 0.78rem; color: var(--muted); }
  .app-sheet-row[aria-current] { color: var(--cue-gold); font-weight: 600; }
  .app-sheet-row[aria-current]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cue-gold); flex: 0 0 auto; }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sk-fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sk, .sk-row::before, .sk-row::after, .loading-row::before { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
