:root {
  color-scheme: light;
  --canvas: #F5F2EA;
  --surface: #FFFDF8;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --line: #E2DACB;
  --plum: #25503D;
  --pink: #F576A5;
  --blush: #F9C6D9;
  --accent: #25503D;
  --frame: #EFEAE0;
  --road: #2B2B2B;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141414;
  --surface: #1E1E1E;
  --ink: #F5F2EA;
  --muted: #A8A39A;
  --line: #34312C;
  --plum: #1F4535;
  --pink: #F576A5;
  --blush: #F576A540;
  --accent: #9CC3AE;
  --frame: #262626;
  --road: #0B0B0B;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.6 'Poppins', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, textarea { font: inherit; }
button { cursor: pointer; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: .55rem .9rem; }
button:hover { border-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(20px, 5vw, 76px); min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.monogram { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: var(--pink); font: italic 25px Georgia, serif; }
nav { display: flex; gap: clamp(15px, 4vw, 48px); align-self: stretch; }
nav a { position: relative; display: flex; align-items: center; gap: 6px; font-weight: 650; color: var(--muted); }
nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"]::after { position: absolute; content: ''; background: var(--accent); height: 2px; bottom: 0; left: 0; right: 0; }
.badge { border-radius: 20px; padding: 0 6px; background: var(--pink); color: var(--plum); font-size: .75rem; }
main { max-width: 1440px; margin: auto; padding: 0 clamp(20px, 5vw, 76px) 45px; }
.preview-label { font-size: .75rem; color: var(--muted); text-align: right; margin: 16px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 25px; background: var(--plum); color: #fff4f9; padding: clamp(26px, 5vw, 70px); border-radius: 2px 42px 2px 2px; }
.hero .eyebrow { color: var(--pink); }
h1, h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.eyebrow { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; margin: 0 0 12px; }
.hero-focus { min-width: 155px; border-left: 1px solid #a56c91; padding-left: clamp(16px, 3vw, 46px); }
.hero-focus strong { display: block; color: var(--pink); font: 3.6rem/.9 Georgia, serif; }
.hero-focus p { margin: .45rem 0 .7rem; }
.hero-link { color: var(--pink); font-weight: 750; }
.crew, .review { margin: clamp(24px, 4vw, 52px) 0 0; }
.roster { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); margin: 24px 0 0; padding: 0 0 20px; gap: 12px; list-style: none; border-bottom: 1px solid var(--line); }
.roster li { display: grid; justify-items: center; text-align: center; align-content: start; font-size: .84rem; }
.roster small, .row small { color: var(--muted); }
.avatar { --shell: #fac4da; position: relative; display: grid; place-items: center; width: 53px; height: 46px; margin: 6px 0 10px; border: 1px solid #553049; border-radius: 45% 45% 38% 38%; background: var(--shell); color: #452543; box-shadow: 2px 3px 0 #452543; }
.roster li:nth-child(3n+2) .avatar { --shell: #f6d391; }
.roster li:nth-child(3n) .avatar { --shell: #c9c5f0; }
.bot-eyes { font-weight: 950; letter-spacing: 2px; }
.bot-symbol { position: absolute; top: -10px; right: -6px; font-size: 1rem; }
.standalone { padding: 32px 0 12px; }
.standalone p { color: var(--muted); }
.queue { margin-top: 18px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(8px, 3vw, 30px); padding: 17px 0; border-bottom: 1px solid var(--line); }
.row small { display: block; }
.status, #feedback { color: var(--muted); font-size: .86rem; }
dialog { width: min(740px, calc(100% - 24px)); max-height: 90vh; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 2px 28px 2px 2px; padding: clamp(16px, 4vw, 35px); }
dialog::backdrop { background: #211522a6; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.frame { padding: 13px 0; border-top: 1px solid var(--line); }
textarea { display: block; width: 100%; margin-top: 6px; padding: 8px; resize: vertical; color: var(--ink); background: var(--frame); border: 1px solid var(--line); border-radius: 5px; }
#actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.primary { background: var(--pink); border-color: var(--pink); color: var(--plum); }
@media (max-width: 850px) { .roster { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 550px) {
  .masthead { flex-wrap: wrap; padding-top: 12px; gap: 12px; }
  nav { flex-basis: 100%; order: 1; gap: 25px; }
  nav a { padding: 6px 0 10px; }
  .hero { grid-template-columns: 1fr; }
  .hero-focus { border-left: 0; border-top: 1px solid #a56c91; padding: 15px 0 0; }
  .hero-focus strong { font-size: 2.6rem; }
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chief-toggle { border-color: var(--accent); color: var(--accent); font-weight: 750; }
.chief-toggle span { margin-right: 3px; }
#chief { position: fixed; inset: auto clamp(12px, 3vw, 44px) 18px auto; margin: 0; width: min(470px, calc(100% - 24px)); max-height: calc(100dvh - 36px); }
.chief-intro { margin-bottom: 4px; }
.chief-mode { color: var(--muted); margin: 0 0 14px; font-size: .78rem; }
.chief-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.chief-shortcuts button { font-size: .78rem; }
#chief-log { max-height: min(37vh, 320px); overflow-y: auto; display: grid; gap: 12px; margin: 16px 0; }
#chief-log:empty { display: none; }
.chief-message { margin: 0; padding-left: 12px; border-left: 2px solid var(--line); overflow-wrap: anywhere; }
.chief-message strong { display: block; color: var(--accent); font-size: .75rem; }
#chief-form { margin-top: 16px; }
#chief-form label { font-size: .8rem; font-weight: 650; }
.chief-compose { display: flex; gap: 8px; margin-top: 5px; }
.chief-compose input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 6px; padding: 8px; background: var(--frame); color: var(--ink); font: inherit; }

.settings-form { display: grid; gap: 18px; max-width: 740px; }
.settings-form > label { display: block; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 650; }
.settings-form button { justify-self: start; }
.settings-form fieldset { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 0; padding: 0; margin: 0; }
.settings-form legend { font-weight: 650; margin-bottom: 5px; }
.settings-form input[type="checkbox"] { accent-color: var(--accent); margin-right: 5px; }
.settings-form input[type="time"] { display: block; margin-top: 6px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 5px; font: inherit; }
@media (max-width: 880px) {
  .masthead { flex-wrap: wrap; padding-top: 12px; gap: 12px; }
  nav { flex-basis: 100%; order: 1; gap: clamp(12px, 4vw, 30px); flex-wrap: wrap; }
  nav a { padding: 6px 0 10px; }
}

[hidden] { display: none !important; }
#cloud-link { color: var(--accent); font-size: .85rem; }
.auth-form { max-width: 430px; margin-top: 15px; }
.auth-form input { display: block; width: 100%; margin-top: 6px; padding: 9px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font: inherit; }

.brain-import { max-width: 740px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; }
.brain-import summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.brain-import input { display: block; max-width: 100%; margin-top: 8px; }
.brain-import form p { margin: 0; }

.stories-runner { max-width: 740px; padding: 8px 0 28px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.stories-runner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.runner-note, .run-history small { color: var(--muted); font-size: .82rem; }
.run-history article { border-top: 1px solid var(--line); padding: 12px 0; }
.run-history small { display: block; }
.run-history p { margin: 5px 0 0; }
button:disabled { cursor: wait; opacity: .65; }

.studio-heading { padding: 30px 0 24px; }
.studio-heading h1 { font-style: italic; }
.studio-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-bottom: 34px; gap: 14px; }
.studio-tools button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 0 0 18px; text-align: left; }
.studio-tools button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.studio-tools strong { display: block; font-size: 1rem; }
.studio-tools small { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; font-weight: 400; }
.studio-workspace { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.65fr); gap: clamp(24px, 5vw, 64px); }
.studio-workspace h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); letter-spacing: -.035em; margin: 0 0 20px; }
.studio-brief > label, .studio-output > label, .studio-day label { display: block; margin: 0 0 18px; font-size: .8rem; font-weight: 700; }
.studio-workspace input, .studio-workspace select { display: block; width: 100%; color: var(--ink); background: transparent; font: inherit; font-weight: 400; border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; border-radius: 0; }
.studio-workspace select { color-scheme: inherit; }
.studio-workspace select option { background: var(--canvas); }
.studio-workspace textarea { background: var(--surface); font-weight: 400; padding: 12px; }
.studio-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.studio-connection { color: var(--muted); font-size: .78rem; max-width: 35ch; margin: 12px 0 0; }
.studio-frame-rail { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.studio-frame-rail button { min-width: 32px; padding: 3px 8px; font-size: .8rem; }
.studio-frame-rail button[aria-pressed="true"], .studio-swatches button[aria-pressed="true"] { background: var(--plum); color: var(--pink); border-color: var(--plum); }
.studio-story-spread { display: grid; grid-template-columns: minmax(150px, .95fr) minmax(150px, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.studio-story-preview { width: 100%; aspect-ratio: 9 / 16; display: flex; align-items: center; justify-content: center; padding: 12%; box-shadow: 0 10px 30px #31173117; transform: rotate(-1.5deg); }
.studio-story-preview p { white-space: pre-wrap; overflow-wrap: anywhere; text-align: center; font: 400 clamp(16px, 2vw, 29px)/1.2 Georgia, serif; margin: 0; }
.studio-look-cream { background: #fbf5ef; color: #311731; border: 1px solid #ddd0d6; }
.studio-look-plum { background: #351831; color: #fff4f9; }
.studio-look-blush { background: #f4abc6; color: #311731; }
.studio-frame-controls label { display: block; font-size: .8rem; font-weight: 700; }
.studio-frame-controls .eyebrow { margin-bottom: 10px; }
.studio-swatches { display: flex; gap: 5px; flex-wrap: wrap; margin: 10px 0; }
.studio-swatches button { text-transform: capitalize; font-size: .72rem; padding: 3px 8px; }
.studio-frame-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.studio-frame-actions button { padding: 4px 8px; font-size: .72rem; }
.studio-library { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.studio-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.studio-library h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.studio-library > h2 { margin-top: 35px; }
.studio-library .row { grid-template-columns: 1fr auto; }
.studio-text-entry { border-top: 1px solid var(--line); padding: 12px 0; }
.studio-text-entry label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 7px; }
.studio-day { padding: 15px 0; border-top: 1px solid var(--line); }
.studio-day summary { cursor: pointer; font-weight: 750; margin-bottom: 10px; }
#studio-feedback { color: var(--accent); font-size: .9rem; }
@media (max-width: 1050px) {
  .studio-story-spread { grid-template-columns: 1fr; }
  .studio-story-preview { width: min(240px, 100%); justify-self: center; }
}
@media (max-width: 650px) {
  .studio-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .studio-tools button { padding-bottom: 10px; }
  .studio-workspace { grid-template-columns: 1fr; }
  .studio-output { border-top: 1px solid var(--line); padding-top: 22px; }
  .studio-story-preview p { font-size: 22px; }
}
.studio-heading h1 { letter-spacing: -.025em; }

.studio-composition { display: block; }
.studio-direction { border-bottom: 1px solid var(--line); margin: 0 0 25px; padding-bottom: 16px; }
.studio-direction > summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.studio-direction .studio-brief { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 25px; margin-top: 24px; }
.studio-direction .studio-brief h2 { grid-column: 1 / -1; }
.studio-composition .studio-output { padding-top: 0; border-top: 0; }
.studio-slide-strip { display: flex; gap: 16px; overflow-x: auto; padding: 5px 2px 18px; margin: 18px 0; scroll-snap-type: x proximity; }
.studio-slide-choice { flex: 0 0 155px; border: 0; border-radius: 0; padding: 0 0 8px; border-bottom: 3px solid transparent; scroll-snap-align: start; }
.studio-slide-choice[aria-pressed="true"] { border-bottom-color: var(--accent); }
.studio-slide-choice span { display: block; text-align: left; font-size: .72rem; margin-bottom: 8px; color: var(--muted); }
.studio-slide-choice canvas { width: 100%; display: block; box-shadow: 0 3px 12px #31173115; }
.studio-full-preview { width: min(235px,100%); height: auto; box-shadow: 0 8px 25px #3117311c; }
.studio-edit-spread { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 30px; margin: 24px 0; align-items: start; }
.studio-design-controls { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-design-controls label { font-size: .8rem; font-weight: 650; display: block; }
.studio-design-controls input[type="range"] { border: 0; padding: 10px 0; accent-color: var(--accent); }
.studio-color-control { grid-column: span 2; border: 0; padding: 0; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.studio-color-control legend { font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.studio-color-control button { width: 27px; min-width: 27px; height: 27px; border: 1px solid var(--line); padding: 0; font-size: .63rem; }
.studio-color-control button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.studio-color-control input[type="color"] { width: 28px; height: 28px; padding: 0; border: 0; }
.studio-color-control > label { display: flex; align-items: center; gap: 5px; font-size: .7rem; }
.studio-photo-controls { grid-column: 1 / -1; display: flex; align-items: end; flex-wrap: wrap; gap: 14px 20px; }
.studio-file-control { display: grid; font-size: .78rem; font-weight: 650; gap: 6px; max-width: 100%; }
.studio-file-control input { width: min(270px,100%); font-size: .73rem; padding: 7px 0; border: 0; }
.studio-photo-controls > label:has(input[type="range"]) { width: 160px; }
.studio-copy-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.studio-copy-list label { font-size: .8rem; font-weight: 700; }
.studio-revisions { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.studio-revisions > label { display: block; font-size: .85rem; font-weight: 650; margin: 18px 0; }
.studio-revisions .studio-actions button { font-size: .8rem; }
.studio-look { margin: 20px 0; }
.studio-look summary { cursor: pointer; color: var(--accent); font-weight: 650; margin-bottom: 10px; }
.studio-look label { display: block; font-size: .8rem; font-weight: 650; }
.studio-reference { display: flex; gap: 15px; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: .8rem; }
.studio-actions button[aria-pressed="true"] { background: var(--plum); color: var(--pink); }
@media (max-width: 700px) {
  .studio-direction .studio-brief { grid-template-columns: 1fr; }
  .studio-edit-spread { grid-template-columns: minmax(0,1fr); }
  .studio-full-preview { justify-self: center; }
  .studio-design-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-color-control, .studio-photo-controls { grid-column: 1 / -1; }
  .studio-copy-list { grid-template-columns: 1fr; }
}


/* ================= Her Lane HQ theme (Claude, 19 Nov 2026) ================= */
.masthead { background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 5; border-bottom: 2px dashed var(--line); }
.brand { gap: 12px; font-size: 1.02rem; }
.brand em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: var(--pink); font-size: 1.15em; }
.brand-rig { display: block; width: 46px; transform: translateY(2px); }
.brand-rig svg { display: block; }
.brand:hover { text-decoration: none; }
.brand:hover .bot-wheel { animation: spin .6s linear infinite; }
nav a { font-weight: 500; font-size: .92rem; white-space: nowrap; }
.header-actions { flex-wrap: nowrap; }
.header-actions button, #cloud-link { white-space: nowrap; }
nav a[aria-current="page"]::after { height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--pink) 0 14px, transparent 14px 22px); }
.badge { background: var(--pink); color: #1A1A1A; font-weight: 700; padding: 1px 8px; }
button { border-radius: 999px; transition: transform .15s ease, background .15s ease; }
button:hover { transform: translateY(-1px); }
.primary { background: var(--pink); border-color: var(--pink); color: #1A1A1A; font-weight: 600; box-shadow: 0 3px 0 #1A1A1A; }
.primary:hover { box-shadow: 0 4px 0 #1A1A1A; }
.chief-toggle { border: 2px solid var(--ink); color: var(--ink); background: var(--surface); font-weight: 600; box-shadow: 0 3px 0 var(--ink); }
.chief-toggle span { color: var(--pink); }
.preview-label { opacity: .7; }

/* Hero: a highway at golden hour */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 0%, #3E7A5E 0%, #25503D 55%, #1C3F30 100%); color: #F5F2EA; border-radius: 36px; padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 64px) 128px; box-shadow: 0 18px 40px #25503D2e; }
.hero::before { content: ''; position: absolute; width: 260px; height: 260px; right: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle, #F9C6D9 0%, #F576A5 45%, transparent 70%); opacity: .45; }
.hero .eyebrow { color: var(--blush); }
.hero h1 { position: relative; }
.hero-sub { margin: 14px 0 0; color: #F5F2EAcc; max-width: 46ch; }
.hero-focus { position: relative; border: 0; padding: 18px 24px; border-radius: 26px; background: #F5F2EA; color: #1A1A1A; min-width: 190px; box-shadow: 0 5px 0 #1A1A1A; }
.hero-focus strong { color: var(--pink); font-family: 'DM Serif Display', Georgia, serif; }
.hero-link { color: #25503D; font-weight: 600; }
.hero-road { position: absolute; left: 0; right: 0; bottom: 0; }

/* Road + truck */
.road { position: relative; height: 70px; background: var(--road); }
.road-lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #F5F2EA 0 34px, transparent 34px 64px); opacity: .85; animation: lane 1.4s linear infinite; }
.road-truck { position: absolute; bottom: 24px; left: -120px; animation: drive 9s cubic-bezier(.45,.05,.55,.95) .4s forwards; }
.road-truck .bot-wheel { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
@keyframes drive { to { left: calc(100% - 210px); } }
@keyframes lane { to { background-position: -64px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.bot-wheel { transform-box: fill-box; transform-origin: center; }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: 2px; }
.section-head .eyebrow { color: var(--pink); margin: 0; }

/* Crew: trucks parked in a row, no boxes */
.roster { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 18px; border-bottom: 0; margin-top: 28px; }
.roster li { padding: 18px 8px 14px; border-radius: 28px; transition: background .2s ease, transform .2s ease; }
.roster li:hover { background: var(--surface); transform: translateY(-3px); }
.roster li:hover .bot-wheel { animation: spin .6s linear infinite; }
.roster li:hover .bot-antenna { animation: blink .8s ease-in-out infinite; }
@keyframes blink { 50% { fill: #F9C6D9; } }
.rig { display: block; margin-bottom: 8px; }
.rig svg { display: block; margin: auto; filter: drop-shadow(0 2px 0 #1A1A1A14); }
.roster strong { font-weight: 600; font-size: .92rem; }
.roster small { font-size: .78rem; }

/* Review list: lane markings instead of boxes */
.queue { border-top: 0; margin-top: 22px; }
.row { border-bottom: 2px dashed var(--line); padding: 20px 6px; border-radius: 0; transition: background .2s ease; }
.row:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.row strong { font-weight: 600; }
.row button, .row a { border: 2px solid var(--ink); font-weight: 600; }
.empty-note { color: var(--muted); }

/* Page headings */
.standalone h1, .studio-heading h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }

/* Sign-in: the truck stop */
.auth-screen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(18px, 4vw, 48px) 0; }
.auth-panel h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.auth-panel .eyebrow { color: var(--pink); }
.auth-note { color: var(--muted); margin: 12px 0 0; }
.auth-form { margin-top: 22px; gap: 14px; }
.auth-form > label { border-top: 0; padding-top: 0; font-size: .85rem; }
.auth-form input { border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--surface); }
.auth-form input:focus { border-color: var(--pink); outline: none; }
.auth-form .primary { justify-self: stretch; padding: .8rem 1rem; font-size: 1rem; }
.truck-stop { position: relative; overflow: hidden; height: clamp(320px, 42vw, 460px); border-radius: 36px; background: linear-gradient(180deg, #F9C6D9 0%, #FBE3D6 45%, #F5F2EA 70%); box-shadow: 0 18px 40px #F576A52a; }
:root[data-theme="dark"] .truck-stop { background: linear-gradient(180deg, #3A2233 0%, #2A2420 60%, #1E1E1E 80%); }
.stop-sun { position: absolute; width: 150px; height: 150px; border-radius: 50%; left: 50%; top: 18%; transform: translateX(-50%); background: radial-gradient(circle, #FFF3D1 0%, #F2D58A 55%, #F576A5 100%); opacity: .9; animation: rise 3s ease-out both; }
@keyframes rise { from { transform: translate(-50%, 40px); opacity: 0; } }
.stop-hills { position: absolute; left: 0; right: 0; bottom: 120px; width: 100%; height: 110px; }
.stop-sign { position: absolute; left: 7%; top: 12%; background: #25503D; color: #F5F2EA; border: 3px solid #1A1A1A; border-radius: 14px; padding: 8px 16px; text-align: center; box-shadow: 0 4px 0 #1A1A1A; transform: rotate(-4deg); font: 700 .95rem/1.1 'Poppins', sans-serif; letter-spacing: .14em; }
.stop-sign small { display: block; font-size: .62rem; letter-spacing: .2em; opacity: .8; margin-top: 3px; }
.stop-sign::after { content: ''; position: absolute; left: 50%; top: 100%; width: 6px; height: 120px; background: #1A1A1A; transform: translateX(-50%); z-index: -1; }
.stop-lot { position: absolute; left: 0; right: 0; bottom: 58px; display: flex; justify-content: center; gap: clamp(4px, 2vw, 22px); }
.stop-truck { animation: pullin 1.1s cubic-bezier(.2,.8,.3,1.1) both; }
.stop-truck-0 { animation-delay: .2s; } .stop-truck-1 { animation-delay: .45s; } .stop-truck-2 { animation-delay: .7s; }
.stop-truck:hover .bot-wheel { animation: spin .6s linear infinite; }
@keyframes pullin { from { transform: translateX(-60vw); } }
.truck-stop::after { content: ''; position: absolute; left: 0; right: 0; bottom: 64px; height: 58px; background: repeating-linear-gradient(90deg, transparent 0 70px, #FFFDF8 70px 74px), #E9E2D3; z-index: -1; }
:root[data-theme="dark"] .truck-stop::after { background: repeating-linear-gradient(90deg, transparent 0 70px, #3a3a3a 70px 74px), #232323; }
.truck-stop .road { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; }

/* Dialogs + cards softened */
dialog { border-radius: 28px; border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.hero, .truck-stop { isolation: isolate; }

@media (max-width: 850px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-screen { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-bottom: 116px; border-radius: 28px; }
  @keyframes drive { to { left: calc(100% - 120px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .road-truck { left: auto; right: 24px; }
}


/* ================= Ready to Roll: every kind of load ================= */
.load-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.load-tab { border: 2px solid var(--line); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.load-tab[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--canvas); }
.load-tab[aria-pressed="true"] .badge { background: var(--pink); }
.load-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { border: 0; background: var(--frame); font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }
.chip[aria-pressed="true"] { background: var(--blush); color: #1A1A1A; font-weight: 600; }
.chip-count { opacity: .6; font-size: .75rem; }
.row-title { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.row-title > strong, .row-title > small { grid-column: 2; }
.row-rig { grid-row: 1 / span 3; width: 54px; }
.row-rig svg { display: block; }
.row-note { color: var(--accent); font-style: italic; }
dialog.wide { width: min(1040px, calc(100% - 24px)); }
.load-editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.load-editor:has(.load-preview) { grid-template-columns: minmax(240px, .9fr) minmax(0, 1.2fr); align-items: start; }
.load-preview { position: sticky; top: 0; display: grid; gap: 14px; }
.load-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.load-tools button { font-size: .85rem; }
.load-foot { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; width: 100%; }
.load-foot select, .load-field select { font: inherit; padding: 8px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); }
.load-fields { display: grid; gap: 14px; }
.load-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.load-field input, .load-field textarea { width: 100%; font: inherit; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); }
.load-field input:focus, .load-field textarea:focus, .load-field select:focus { outline: none; border-color: var(--pink); }
.load-hint { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.load-info { padding: 10px 14px; border-radius: 16px; background: var(--frame); }
.load-info p { margin: 0; white-space: pre-wrap; }
.load-info a { color: var(--accent); overflow-wrap: anywhere; text-decoration: underline; }
.frame + .load-editor { margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line); }

/* quote previews (match the downloads) */
.qprev { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; padding: 12% 10% 18%; display: flex; flex-direction: column; justify-content: center; overflow: hidden; box-shadow: 0 10px 30px #1A1A1A22; }
.qprev-tea.qprev-dark { background: #1A1A1A; color: #F5F2EA; text-align: center; }
.qprev-tea.qprev-light { background: #F5F2EA; color: #1A1A1A; border: 1px solid var(--line); }
.qprev-tea .qprev-quote { font: 400 clamp(20px, 2.4vw, 30px)/1.12 'DM Serif Display', Georgia, serif; margin: 0; }
.qprev-tea .qprev-quote em { color: #F576A5; }
.qprev-tea.qprev-light .qprev-quote em { color: #25503D; }
.qprev-label { position: absolute; top: 7%; left: 0; right: 0; text-align: center; font: 700 9px/1 'Poppins', sans-serif; letter-spacing: .3em; text-transform: uppercase; margin: 0; }
.qprev-tea.qprev-light .qprev-label { text-align: left; left: 10%; }
.qprev-foot { position: absolute; bottom: 7%; left: 0; right: 0; display: grid; gap: 2px; text-align: center; }
.qprev-name { font: italic 15px 'DM Serif Display', serif; }
.qprev-site { font: 500 8px 'Poppins', sans-serif; opacity: .6; letter-spacing: .08em; }
.qprev-t2p { background: #000; color: #fff; text-align: center; }
.qprev-t2p.qprev-light { background: #fff; color: #000; border: 1px solid var(--line); }
.qprev-t2p .qprev-quote { font: 400 clamp(22px, 2.6vw, 34px)/1.1 'Anton', Impact, sans-serif; text-transform: uppercase; margin: 0; }
.qprev-t2p .qprev-quote em { font-style: normal; background: #BC0008; color: #fff; padding: 0 .12em; }
.qprev-hf { background: #000; color: #fff; }
.qprev-hf .qprev-quote { font: 700 clamp(16px, 1.9vw, 22px)/1.25 'Poppins', sans-serif; margin: 0; }
.qprev-hf .qprev-quote em { font-style: normal; color: #BC0008; }
.qprev-t2p .qprev-label, .qprev-hf .qprev-label { color: #D4D4D4; font-family: 'Inter', 'Poppins', sans-serif; font-weight: 800; }
.qprev-hf .qprev-label { text-align: left; left: 10%; }
.qprev-logo { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); width: 38%; }

/* pin previews (match the downloads) */
.pprev { position: relative; aspect-ratio: 2 / 3; border-radius: 18px; padding: 16% 10% 18%; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; box-shadow: 0 10px 30px #1A1A1A22; }
.pprev-light { background: #F5F2EA; color: #1A1A1A; border: 1px solid var(--line); }
.pprev-dark { background: #1A1A1A; color: #F5F2EA; }
.pprev-bar { position: absolute; top: 0; left: 0; right: 0; height: 2.2%; background: #F576A5; }
.pprev-head { font: 400 clamp(22px, 2.6vw, 32px)/1.06 'DM Serif Display', Georgia, serif; margin: 0; }
.pprev-sub { margin: 0; font-weight: 600; font-size: .9rem; color: #6B6B6B; }
.pprev-dark .pprev-sub { color: #F576A5; }
.pprev-handle { position: absolute; bottom: 6%; left: 10%; margin: 0; font-size: .68rem; letter-spacing: .14em; font-weight: 700; color: #25503D; }
.pprev-dark .pprev-handle { color: #F576A5; }
.pprev-make { background: #1A1A1A; color: #F5F2EA; border: 2px dashed #F576A5; justify-content: flex-start; }
.pprev-kicker { margin: 0; font-weight: 700; color: #F576A5; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pprev-idea { margin: 0; font-size: .85rem; line-height: 1.45; }
.pprev-overlay { margin: 0; color: #F576A5; font-size: .82rem; }
.pprev-make .pprev-handle { color: #F5F2EAaa; letter-spacing: .02em; }

@media (max-width: 760px) {
  .load-editor:has(.load-preview) { grid-template-columns: 1fr; }
  .load-preview { position: static; max-width: 340px; }
}


/* ================= The Booking Room (Te-a's ChatGPT design, 19 Nov 2026) =================
   Brand-safe palette: Cream canvas, Charcoal type, Pink #F576A5 for actions (dark text on it),
   Blush panels, Evergreen as a small accent. Hot pink #F62D93 is retired. */
:root {
  --canvas: #F5F2EA; --surface: #FFFFFF; --ink: #1A1A1A; --muted: #6B6B6B; --line: #E6DDD0;
  --pink: #F576A5; --blush: #FBE3EC; --green: #25503D; --accent: #25503D; --frame: #EFEAE0; --plum: #1A1A1A;
  --radius: 18px; --serif: 'DM Serif Display', Georgia, serif;
}
:root[data-theme="dark"] {
  --canvas: #161514; --surface: #201F1D; --ink: #F5F2EA; --muted: #B5AFA5; --line: #36332F;
  --blush: #3A2630; --green: #9CC3AE; --accent: #9CC3AE; --frame: #2A2826; --plum: #F5F2EA;
}
body { background: var(--canvas); color: var(--ink); font: 15px/1.6 'Poppins', system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }

/* shell */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 30px 16px 22px; border-right: 1px solid var(--line); background: var(--canvas); }
.logo { display: grid; justify-items: center; gap: 2px; text-decoration: none !important; padding: 0 8px; }
.logo span { font: 400 2rem/1 var(--serif); white-space: nowrap; }
#workspace-navigation { display: flex; flex-direction: column; gap: 6px; align-self: auto; }
#workspace-navigation a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 14px; border-radius: 14px; color: var(--ink); font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; text-decoration: none; }
#workspace-navigation a:hover { background: var(--frame); }
#workspace-navigation a[aria-current="page"] { background: var(--blush); }
#workspace-navigation a[aria-current="page"]::after { display: none; }
.nav-icon { flex: 0 0 auto; }
#workspace-navigation .badge { margin-left: auto; background: var(--pink); color: #1A1A1A; border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 1px 8px; }
#workspace-navigation .badge:empty, #workspace-navigation .badge:is([data-zero]) { display: none; }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.profile { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 10px; font-weight: 500; }
.sidebar-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px; }
.sidebar-actions button, #cloud-link { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px clamp(18px, 3vw, 40px) 18px; }
.topbar h1 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; }
.topbar p { margin: 6px 0 0; font-size: 1.15rem; color: var(--ink); max-width: 60ch; }
body:not([data-route="today"]) .topbar p { font-size: 1rem; color: var(--muted); }
main { max-width: none; margin: 0; padding: 0 clamp(18px, 3vw, 40px) 48px; }
.preview-label { margin: 0 0 10px; text-align: right; font-size: .72rem; color: var(--muted); }
#feedback { margin-top: 16px; }

/* buttons */
button { border-radius: 10px; transform: none !important; box-shadow: none; }
.btn-dark, .chief-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 10px; border: 0; background: #1A1A1A; color: #F5F2EA; font: 600 1.05rem 'Poppins', sans-serif; box-shadow: none; white-space: nowrap; }
:root[data-theme="dark"] .btn-dark, :root[data-theme="dark"] .chief-toggle { background: #F5F2EA; color: #1A1A1A; }
.chief-toggle { padding-left: 14px; background: #1A1A1A; }
.chief-toggle .phone-icon { margin-right: 4px; }
.btn-pink, .primary { min-height: 44px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--pink); color: #1A1A1A; font-weight: 600; box-shadow: none; }
.btn-pink:hover, .primary:hover { background: #F38DB4; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border-radius: 10px; border: 1.5px solid var(--pink); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.btn-outline:hover { background: var(--blush); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; justify-self: start; width: fit-content; }
.text-link:hover { text-decoration: none; background: var(--blush); }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); }
.panel-title { margin: 0 0 18px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; }
.section-title { margin: 0 0 16px; font-size: 2rem; }
.mini-title { margin: 0 0 6px; font: 600 .78rem 'Poppins', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--green); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin: 0 0 8px; }
.empty-note { color: var(--muted); }
.tag { background: var(--frame); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 500; }

/* The Booking Room */
.booking-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 190px; border-radius: var(--radius); overflow: hidden; background: var(--blush); margin-bottom: 20px; }
.booking-banner-copy { padding: 26px clamp(20px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.booking-banner-copy h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.booking-banner-copy p { margin: 0 0 8px; }
.booking-banner-art { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; min-height: 190px; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
.review-list { display: grid; gap: 12px; margin-bottom: 14px; }
.review-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface); }
.review-title { margin: 0; font: 600 1.05rem/1.3 'Poppins', sans-serif; letter-spacing: 0; }
.review-who { margin: 0; padding-left: 18px; border-left: 1px solid var(--line); color: var(--ink); white-space: nowrap; font-size: .95rem; }
.crew-mini { list-style: none; margin: 0 0 16px; padding: 0; display: grid; }
.crew-mini li { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.crew-mini li:last-child { border-bottom: 0; }
.crew-mini strong { display: block; font-size: 1.05rem; }
.crew-mini span { color: var(--muted); font-size: .9rem; }
.bot-pic { object-fit: contain; display: block; flex: 0 0 auto; }

/* Review Queue */
.load-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.load-tab { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-weight: 600; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; }
.load-tab[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.load-tab .badge { background: var(--pink); color: #1A1A1A; border-radius: 999px; padding: 0 7px; font-size: .72rem; }
.load-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { border: 0; background: var(--frame); border-radius: 999px; min-height: 34px; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }
.chip[aria-pressed="true"] { background: var(--blush); font-weight: 600; }
.queue { display: grid; gap: 12px; border: 0; margin: 0; }
.queue-row { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
.queue-title small { display: block; color: var(--muted); font-size: .82rem; }
.queue-title .row-note { color: var(--green); font-style: italic; }
.row-pic .bot-pic { width: 48px; height: 48px; }
.status-pill { border-radius: 999px; padding: 3px 12px; font-size: .78rem; font-weight: 600; background: var(--frame); white-space: nowrap; }
.status-waiting { background: var(--blush); color: var(--ink); }
.status-approved, .status-done { background: #25503D; color: #F5F2EA; }
.status-changes { background: #EFEAE0; color: #1A1A1A; }

/* Review editor + story slides */
dialog { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px #1A1A1A33; background: var(--surface); }
dialog::backdrop { background: #1A1A1A8c; }
.dialog-header h2 { font-size: 2rem; margin: 0; }
.dialog-header button { border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; padding: 0; }
.frame { border-top: 1px solid var(--line); }
textarea { border-radius: 10px; background: var(--canvas); }
.story-frame { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: start; }
.story-frame label { font-weight: 600; font-size: .85rem; }
.slide { position: relative; aspect-ratio: 9 / 16; display: flex; align-items: center; justify-content: center; padding: 10%; overflow: hidden; border-radius: 8px; }
.slide-words { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; text-align: center; font: 400 13px/1.2 var(--serif); }
.slide-num { position: absolute; top: 6%; left: 8%; font: 700 8px 'Poppins', sans-serif; letter-spacing: .14em; opacity: .7; }
.slide-ink { background: #1A1A1A; color: #F5F2EA; }
.slide-blush { background: #FBE3EC; color: #1A1A1A; }
.slide-green { background: #25503D; color: #F5F2EA; }
.slide-cream { background: #F5F2EA; color: #1A1A1A; border: 1px solid #1A1A1A22; }
#actions .primary { min-height: 44px; }
#actions button:not(.primary) { border: 1px solid var(--line); min-height: 44px; border-radius: 10px; }

/* Chief of Staff */
#chief { border-radius: var(--radius); }
#chief h2 { font-size: 2rem; }
.chief-shortcuts button { border: 1.5px solid var(--pink); border-radius: 999px; background: var(--surface); }
.chief-message { border-left: 0; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--blush); }
.chief-message strong { color: var(--green); }
.chief-compose input { border-radius: 10px; min-height: 44px; }

/* My Brain + settings */
.settings-form.panel { max-width: 820px; }
.settings-form > label { border-top: 1px solid var(--line); }
.settings-form > label:first-of-type { border-top: 0; padding-top: 0; }
.settings-form textarea { background: var(--canvas); }
.settings-form button[type="submit"] { justify-self: start; }
.brain-import { max-width: 820px; }

/* AI Crew */
.crew-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 26px; }
.crew-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 18px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.crew-card img { width: 100%; max-width: 170px; height: 180px; object-fit: contain; margin-bottom: 8px; }
.crew-card h3 { margin: 0; font-size: 1.45rem; line-height: 1.1; }
.crew-role { margin: 0; color: var(--green); font-weight: 600; font-size: .9rem; }
.crew-count { margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.crew-card.is-moving { border-style: dashed; border-color: var(--pink); background: transparent; }
.crew-moving-badge { width: 132px; height: 132px; border-radius: 50%; background: var(--blush, #FBE3EC); display: grid; place-items: center; margin: 24px 0 32px; }
.crew-moving-badge svg { stroke: var(--ink, #1A1A1A); }
.stories-runner.panel { max-width: 820px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.stories-runner h2 { font-size: 2rem; }

/* Studio */
.studio-heading h1 { display: none; }
.studio-heading { padding: 0 0 8px; }
.studio-tools { border-bottom: 1px solid var(--line); }
.studio-tools button { border-radius: 0; }
.studio-tools button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--pink); }

/* Money & Waitlists */
.mw-body { display: grid; gap: 34px; }
.mw-money { max-width: 980px; }
.mw-ledger { display: grid; gap: 20px; }
.mw-ledger-main { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.mw-ring { position: relative; width: 170px; height: 170px; flex: 0 0 auto; }
.mw-ring-pct { position: absolute; inset: 0; display: grid; place-items: center; font: 400 2rem var(--serif); }
.mw-big { font: 400 clamp(2.8rem, 5vw, 4rem)/1 var(--serif); margin: 0; font-variant-numeric: tabular-nums; }
.mw-of { margin: 6px 0 0; color: var(--muted); font-weight: 500; }
.mw-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mw-stats div { background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; min-width: 130px; }
.mw-stats b { display: block; font: 400 1.5rem var(--serif); font-variant-numeric: tabular-nums; }
.mw-stats span { font-size: 12px; color: var(--muted); }
.mw-offers { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding-top: 4px; }
.mw-form label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; }
.mw-form input, .mw-form select { font: inherit; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); width: 140px; }
.mw-form .mw-grow { flex: 1 1 220px; }
.mw-form .mw-grow input { width: 100%; }
.mw-form select { width: 180px; }
.mw-form button { min-height: 44px; }
.mw-form button:not(.btn-pink) { border: 1px solid var(--line); }
.mw-recent { display: grid; gap: 2px; }
.mw-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mw-line b { font-variant-numeric: tabular-nums; }
.mw-none { margin: 0; color: var(--muted); font-size: .9rem; }
.mw-goal summary { cursor: pointer; font-weight: 600; border-bottom: 2px solid var(--pink); width: fit-content; margin-bottom: 12px; }
.mw-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.mw-list { display: grid; gap: 10px; justify-items: start; }
.mw-list .panel-title { margin: 0; font-size: 1.6rem; }
.mw-meta, .mw-next { margin: 0; font-size: .9rem; }
.mw-next { color: var(--muted); }
.mw-count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mw-spots { display: flex; flex-wrap: wrap; gap: 6px; }
.mw-spots span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--surface); }
.mw-spots .is-in { background: var(--pink); border-color: var(--pink); }
.mw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mw-actions button { min-height: 44px; }
.mw-actions button:not(.btn-pink) { border: 1px solid var(--line); }
.mw-link { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--pink); text-decoration: none; }

/* Sunrise sign-in */
body.signed-out .shell { display: block; }
body.signed-out .sidebar, body.signed-out .topbar, body.signed-out .preview-label { display: none; }
body.signed-out main { padding: 0; }
.auth-screen { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); min-height: 100vh; margin: 0; padding: 0; border-radius: 0; overflow: hidden; position: static; }
.gate-scene { position: relative; overflow: hidden; background: #3a1f1a; min-height: 100vh; }
.gate-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 60%; animation: arrive 1.6s cubic-bezier(.2,.7,.2,1) both; }
.gate-hello { position: absolute; left: clamp(120px, 20%, 280px); bottom: 58%; margin: 0; background: #F5F2EA; color: #1A1A1A; border-radius: 16px 16px 16px 4px; padding: 10px 16px; font: 400 1.25rem var(--serif); box-shadow: 0 10px 30px #1A1A1A40; opacity: 0; animation: hello 3.4s ease .9s 1 both; }
@keyframes arrive { from { transform: scale(1.07); filter: brightness(.82); } }
@keyframes hello { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
.auth-panel { background: var(--canvas); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); margin: 0; width: auto; border: 0; border-radius: 0; box-shadow: none; color: var(--ink); }
.auth-logo { display: grid; justify-items: center; gap: 0; margin-bottom: clamp(24px, 6vh, 60px); }
.auth-logo span { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); }
.auth-panel h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 0 0 22px; }
.auth-form { display: grid; gap: 18px; max-width: 460px; margin: 0; }
.auth-form label { display: grid; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); border: 0; padding: 0; }
.auth-form input { min-height: 52px; border-radius: 10px; border: 1.5px solid #1A1A1A59; background: var(--surface); color: var(--ink); padding: 10px 14px; font: inherit; margin: 0; }
.auth-form input:focus { outline: 2px solid var(--pink); outline-offset: 2px; border-color: var(--ink); }
.auth-form .btn-dark { justify-content: center; margin-top: 10px; width: 100%; }
.auth-note { color: var(--muted); }

@media (max-width: 1100px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .review-row { grid-template-columns: minmax(0, 1fr) auto; }
  .review-who { grid-column: 1; grid-row: 2; border: 0; padding: 0; color: var(--muted); }
  .review-row .btn-outline { grid-column: 2; grid-row: 1 / span 2; }
  .queue-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .queue-row .row-pic { grid-row: 1 / span 3; }
  .queue-row .review-who { grid-column: 2; grid-row: 2; }
  .queue-row .status-pill { grid-column: 2; grid-row: 3; justify-self: start; }
  .queue-row .btn-outline { grid-column: 3; grid-row: 1 / span 3; }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: sticky; top: 0; z-index: 5; height: auto; flex-direction: column; gap: 10px; padding: 12px 16px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .logo { justify-items: start; grid-template-columns: auto auto; align-items: center; gap: 8px; padding: 0; }
  .logo span { font-size: 1.6rem; }
  .logo svg { width: 70px; height: 24px; }
  #workspace-navigation { flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  #workspace-navigation a { min-height: 40px; padding: 0 12px; gap: 8px; font-size: .9rem; white-space: nowrap; flex: 0 0 auto; }
  #workspace-navigation .nav-icon { width: 18px; height: 18px; }
  .sidebar-foot { margin: 0; border: 0; padding: 0; }
  .profile { display: none; }
  .sidebar-actions { padding: 0; }
  .topbar { flex-direction: column; gap: 12px; padding-top: 18px; }
  .chief-toggle { min-height: 46px; }
  .booking-banner { grid-template-columns: 1fr; }
  .booking-banner-art { min-height: 0; height: 130px; order: -1; }
  .story-frame { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .auth-screen { grid-template-columns: 1fr; }
  .gate-scene { min-height: 0; height: 30vh; }
  .gate-scene img { object-position: 15% 70%; }
  .gate-hello { display: none; }
  .auth-panel { justify-content: flex-start; padding: 24px 20px 40px; }
  .auth-logo { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .gate-scene img, .gate-hello { animation: none; }
  .gate-hello { opacity: 0; }
}
.chief-toggle span { color: inherit; margin: 0; }
@media (max-width: 820px) {
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; }
  #workspace-navigation { grid-column: 1 / -1; flex-wrap: nowrap; }
  .sidebar-foot { grid-column: 2; grid-row: 1; }
  .sidebar-actions { flex-wrap: nowrap; }
  .sidebar-actions button, #cloud-link { padding: 4px 10px; font-size: .72rem; white-space: nowrap; }
}
@media (max-width: 820px) {
  .logo svg { display: none; }
  .queue-row { grid-template-columns: minmax(0, 1fr) auto; }
  .queue-row .row-pic { display: none; }
  .queue-row .queue-title { grid-column: 1; grid-row: 1; }
  .queue-row .review-who { grid-column: 1; grid-row: 2; }
  .queue-row .status-pill { grid-column: 1; grid-row: 3; }
  .queue-row .btn-outline { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- Polish pass (20 Nov 2026): Review Queue + Studio ---------- */
/* Review Queue: filters in one panel, scannable rows */
.queue-filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 14px; margin-bottom: 14px; }
.queue-filters .load-tabs, .queue-filters .load-chips { margin: 0; }
.load-tab { min-height: 42px; }
.load-tab .badge { margin-left: 2px; }
.load-tab[aria-pressed="false"] .badge { background: var(--frame); color: var(--ink); }
.load-chips { align-items: center; }
.filter-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.chip { padding: 0 12px 0 6px; border: 1px solid transparent; }
.chip:first-of-type { padding-left: 12px; }
.chip[aria-pressed="true"] { border-color: var(--pink); }
.chip-face { display: inline-grid; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: var(--surface); place-items: center; }
.chip-face .bot-pic { width: 24px; height: 24px; object-fit: contain; }
.queue-count { margin: 4px 2px 10px; font-size: .85rem; color: var(--muted); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: var(--muted); }
.status-dot-waiting { background: var(--pink); }
.status-dot-changes { background: var(--ink); }
.status-dot-approved { background: var(--green); }
.status-dot-done { background: var(--muted); }
.load-tab[aria-pressed="true"] .status-dot-changes { background: var(--canvas); }
.status-pill { display: inline-flex; align-items: center; background: transparent; border: 1px solid var(--line); }
.status-pill .status-dot { margin-right: 6px; }
.status-pill.status-waiting { background: var(--blush); border-color: var(--blush); }
.queue-row { align-items: center; gap: 18px; padding: 14px 18px; grid-template-columns: auto minmax(0, 1fr) 150px 120px auto; }
.queue-row .status-pill { justify-self: start; }
.queue-row .review-title { font-size: 1.08rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.queue-title small { margin-top: 2px; }
.queue-row .review-who { display: grid; justify-items: start; gap: 4px; min-width: 120px; }
.kind-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 2px 8px; background: var(--frame); color: var(--ink); }
.kind-story { background: var(--blush); }
.kind-pin { background: var(--ink); color: var(--canvas); }
.kind-trend { background: var(--green); color: #F5F2EA; }
:root[data-theme="dark"] .kind-trend { color: #1A1A1A; }
.review-agent { font-size: .85rem; color: var(--muted); }

/* Studio: obvious tool tabs */
.studio-tools { border-bottom: 0; gap: 12px; margin-bottom: 26px; }
.studio-tools button { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px 16px; text-align: left; position: relative; }
.studio-tools button:hover { border-color: var(--pink); }
.studio-tools button[aria-pressed="true"] { background: #1A1A1A; border-color: #1A1A1A; color: #F5F2EA; }
.studio-tools button[aria-pressed="true"] small { color: #D9D3C8; }
.studio-tools button[aria-pressed="true"]::after { content: ''; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
:root[data-theme="dark"] .studio-tools button[aria-pressed="true"] { background: #F5F2EA; color: #1A1A1A; }
:root[data-theme="dark"] .studio-tools button[aria-pressed="true"] small { color: #6B6B6B; }

/* Studio: step 1 brief + step 2 slides */
.studio-step { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--blush); color: #1A1A1A; border-radius: 999px; padding: 2px 10px; }
.studio-direction { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 28px; }
.studio-direction > summary { list-style: none; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 4px 12px; color: var(--ink); }
.studio-direction > summary::-webkit-details-marker { display: none; }
.studio-direction > summary::after { content: 'Open'; font-size: .8rem; font-weight: 600; border: 1.5px solid var(--pink); border-radius: 8px; padding: 2px 10px; }
.studio-direction[open] > summary::after { content: 'Close'; }
.studio-direction > summary strong { font: 400 1.3rem var(--serif); }
.studio-direction > summary small { color: var(--muted); font-weight: 400; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-direction .studio-brief { margin-top: 18px; }
.studio-brief-head { grid-column: 1 / -1; }
.studio-brief-head h2 { margin: 0 0 4px !important; font-size: clamp(1.3rem, 2.2vw, 1.8rem) !important; }
.studio-hint { margin: 0; color: var(--muted); font-size: .88rem; max-width: 62ch; }
.studio-direction .studio-idea { grid-column: span 2; grid-row: span 2; }
.studio-brief-actions { grid-column: 1 / -1; margin: 6px 0 0; }
.studio-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.studio-step-head h2 { margin: 0 !important; }
.studio-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.studio-segmented { display: inline-flex; background: var(--frame); border-radius: 10px; padding: 4px; gap: 2px; }
.studio-segmented button { border: 0; background: transparent; border-radius: 8px; min-height: 36px; padding: 0 16px; font-weight: 600; color: var(--ink); }
.studio-segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px #1A1A1A1F; }
.studio-length { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; font-size: .8rem; }
.studio-length select { width: auto !important; min-width: 120px; }
.studio-slide-choice canvas.is-example, .studio-full-preview.is-example { outline: 1px dashed var(--line); }

/* Studio: roomier writing area */
.studio-edit-spread { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.studio-full-preview { width: 260px; }
.studio-frame-controls { display: grid; gap: 10px; }
.studio-edit-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.studio-edit-head .eyebrow { margin: 0 !important; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--green); }
.studio-frame-actions { display: inline-flex; background: var(--frame); border-radius: 10px; padding: 3px; gap: 2px; }
.studio-frame-actions button { border: 0; background: transparent; border-radius: 8px; padding: 6px 12px; font-size: .78rem; font-weight: 600; }
.studio-frame-actions button:hover { background: var(--surface); }
.studio-words { font-size: .8rem; font-weight: 700; }
.studio-words textarea { display: block; width: 100%; min-height: 300px; margin-top: 8px; font-size: 1.1rem; line-height: 1.55; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; resize: vertical; }
.studio-words textarea::placeholder, .studio-workspace textarea::placeholder, .studio-workspace input::placeholder { color: var(--muted); opacity: .75; }
.studio-words textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }

/* Studio: grouped actions */
.studio-actionbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 22px 0; position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 8px 24px #1A1A1A14; }
.studio-action-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.studio-actionbar .btn-dark { min-height: 44px; font-size: .95rem; padding: 0 20px; }
.studio-actionbar .btn-outline { min-height: 38px; padding: 0 14px; font-size: .85rem; }
.studio-group-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }

@media (max-width: 1100px) {
  .studio-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queue-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .queue-row .row-pic { grid-row: 1 / span 2; }
  .queue-row .queue-title { grid-column: 2; grid-row: 1; }
  .queue-row .review-who { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 8px; justify-self: start; min-width: 0; }
  .queue-row .status-pill { grid-column: 2; grid-row: 2; justify-self: end; }
  .queue-row .btn-outline { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 820px) {
  .queue-filters { padding: 12px; }
  .load-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .load-tab { flex: 0 0 auto; }
  .load-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .chip { flex: 0 0 auto; }
  .queue-row { padding: 12px 14px; gap: 6px 12px; }
  .queue-row { grid-template-columns: minmax(0, 1fr) auto; }
  .queue-row .row-pic, .queue-row .status-pill { display: none; }
  .queue-row .queue-title { grid-column: 1; grid-row: 1; }
  .queue-row .review-who { grid-column: 1; grid-row: 2; }
  .queue-row .btn-outline { grid-column: 2; grid-row: 1 / span 2; min-width: 88px; }
  .studio-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .studio-tools button { padding: 10px 12px; }
  .studio-tools small { display: none; }
  .studio-direction { padding: 14px; }
  .studio-direction > summary { grid-template-columns: auto 1fr auto; }
  .studio-direction > summary small { grid-column: 1 / -1; grid-row: 2; }
  .studio-direction .studio-idea { grid-column: auto; grid-row: auto; }
  .studio-toolbar { padding: 10px 12px; }
  .studio-edit-spread { grid-template-columns: 1fr; }
  .studio-full-preview { width: min(220px, 70%); justify-self: center; }
  .studio-words textarea { min-height: 220px; }
  .studio-actionbar { position: static; }
}

/* Call the Chief: pink phone picture */
.chief-toggle { padding-left: 8px; }
.chief-phone { width: 40px; height: 40px; border-radius: 50%; display: block; flex: 0 0 auto; }

/* Sidebar footer: private My Brain link */
.foot-link { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; }
.foot-link[aria-current="page"] { background: var(--blush); color: #1A1A1A; border-color: var(--blush); }

/* Overview banner: crew instead of the phone photo */
.booking-banner-crew { display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 2vw, 22px); padding: 18px 20px 0; background: radial-gradient(ellipse at 50% 92%, #1A1A1A14 0 40%, transparent 41%), var(--blush); }
.booking-banner-crew img { height: clamp(120px, 15vw, 172px); width: auto; display: block; }
.booking-banner-crew img:nth-child(2) { height: clamp(134px, 17vw, 190px); }

/* Brand Kit */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card { display: grid; gap: 8px; align-content: start; }
.brand-card .panel-title { margin: 0; }
.brand-use { margin: 0 0 6px; color: var(--muted); }
.brand-card .mini-title { margin: 10px 0 2px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: 'Poppins', sans-serif; }
.brand-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-swatch { display: grid; justify-items: start; gap: 2px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 8px; width: 104px; text-align: left; cursor: copy; }
.brand-swatch:hover { border-color: var(--pink); }
.brand-chip { width: 100%; height: 44px; border-radius: 8px; border: 1px solid #1A1A1A1F; display: block; margin-bottom: 4px; }
.brand-swatch strong { font-size: .8rem; }
.brand-swatch small { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.brand-fonts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.brand-fonts li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 4px 0 8px; }
.brand-font-sample { font-size: 1.5rem; line-height: 1.1; }
.brand-fonts small { color: var(--muted); font-size: .8rem; }
.brand-rules { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .92rem; }

/* Money: hero + two panels */
.mw-money { max-width: none; display: grid; gap: 20px; }
.mw-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 36px; align-items: center; background: var(--blush); border-color: var(--blush); }
.mw-hero .eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mw-hero .mw-of { color: #1A1A1A; opacity: .75; }
.mw-bar { height: 14px; border-radius: 999px; background: var(--surface); margin: 18px 0 6px; overflow: hidden; }
.mw-bar span { display: block; height: 100%; background: var(--pink); border-radius: 999px; }
.mw-pct { margin: 0; font-size: .85rem; font-weight: 600; }
.mw-hero .mw-stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.mw-stat { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--surface) !important; border: 0 !important; min-width: 0 !important; padding: 14px 18px !important; }
.mw-stat span { font-size: .85rem !important; color: var(--muted); }
.mw-stat b { font: 400 1.7rem var(--serif) !important; }
.mw-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mw-log, .mw-side { display: grid; gap: 14px; align-content: start; }
.mw-log .panel-title, .mw-side .panel-title { margin: 0; }
.mw-log .mw-form input, .mw-log .mw-form select { width: 100%; }
.mw-log .mw-form { display: grid; grid-template-columns: 1fr 1fr; }
.mw-log .mw-form .mw-grow { grid-column: 1 / -1; }
.mw-log .mw-form .btn-pink { grid-column: 1 / -1; justify-self: start; }
.mw-log .mini-title { margin: 6px 0 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) {
  .brand-grid { grid-template-columns: 1fr; }
  .mw-hero, .mw-cols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .booking-banner-crew { order: -1; padding-top: 12px; }
  .booking-banner-crew img { height: 104px; }
  .booking-banner-crew img:nth-child(2) { height: 116px; }
  .chief-phone { width: 34px; height: 34px; }
  .brand-swatch { width: calc(50% - 5px); }
  .mw-log .mw-form { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .sidebar { grid-template-columns: auto minmax(0, 1fr); }
  .logo span { font-size: 1.35rem; white-space: nowrap; }
  .sidebar-foot { min-width: 0; justify-self: end; max-width: 100%; }
  .sidebar-actions { overflow-x: auto; scrollbar-width: none; }
  .sidebar-actions::-webkit-scrollbar { display: none; }
  .foot-link { padding: 4px 10px; font-size: .72rem; white-space: nowrap; flex: 0 0 auto; }
}

/* ===== Story + carousel cards, back to the Agent Room look (Te-a, 20 Nov 2026). Drawn as HTML; PNG downloads match. ===== */
.studio-strip-hint { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.studio-slide-strip { gap: 12px; }
.studio-slide-choice { flex: 0 0 170px; padding: 4px; border: 2px solid transparent; border-radius: 16px; background: none; cursor: pointer; }
.studio-slide-strip.is-carousel .studio-slide-choice { flex-basis: 210px; }
.studio-slide-choice[aria-pressed="true"] { border-color: var(--pink, #F576A5); border-bottom-color: var(--pink, #F576A5); }
.studio-slide-choice:hover { border-color: var(--line); }
.studio-slide-choice[aria-pressed="true"]:hover { border-color: var(--pink, #F576A5); }
.studio-full-preview { width: min(300px, 100%); box-shadow: none; }
.studio-edit-spread { grid-template-columns: 300px minmax(0,1fr); }
@media (max-width: 820px) { .studio-edit-spread { grid-template-columns: minmax(0,1fr); } .studio-full-preview { justify-self: center; width: min(280px, 100%); } }

.sframe { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; position: relative; overflow: hidden; container-type: inline-size; background: var(--fbg, #F5F2EA); border: 1px solid #DDD5C8; text-align: center; }
.sframe.film { background: repeating-linear-gradient(135deg,#1c1c1c 0 10px,#232323 10px 20px); }
.sframe-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sframe.has-photo::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--cover, .5); z-index: 0; }
.sframe .n { position: absolute; top: 4%; left: 6%; z-index: 2; background: #1A1A1Acc; color: #F5F2EA; border-radius: 999px; padding: 1.4cqw 3.4cqw; font: 700 5cqw/1 Poppins, sans-serif; max-width: 88%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sframe .stack { position: absolute; left: 7%; right: 7%; top: 47%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.sframe .stack-left { align-items: flex-start; text-align: left; }
.sframe .stack-right { align-items: flex-end; text-align: right; }
.sframe .ln { font-family: var(--sf, 'DM Serif Display', Georgia, serif), "Apple Color Emoji", "Segoe UI Emoji", serif; font-weight: var(--sfw, 400); font-size: var(--fs, 7.4cqw); line-height: 1.16; padding: 2.4cqw 4cqw; max-width: 100%; overflow-wrap: break-word; }
.sframe .ln.is-plain { padding: .6cqw 0; }
.sframe.has-photo .ln.is-plain { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sframe .shot { width: 86%; background: #fffffff2; border: 1.5px dashed #25503D; border-radius: 3cqw; padding: 4cqw; margin-bottom: 3cqw; font: 600 4.4cqw/1.3 Poppins, sans-serif; color: #25503D; }
.sframe .filmnote { color: #F5F2EA; font: 600 5cqw/1.3 Poppins, sans-serif; margin-bottom: 3cqw; }
.sframe .stk { margin-top: 4cqw; background: #fff; color: #1A1A1A; border-radius: 999px; padding: 2.4cqw 4.6cqw; font: 600 4.8cqw/1.3 Poppins, sans-serif; box-shadow: 0 1cqw 3cqw #0002; max-width: 100%; white-space: pre-line; }
.sframe .stk.poll { border-radius: 3cqw; }
.sframe.is-example .stack { opacity: .5; }
.sframe.is-example { border-style: dashed; }

.cslide { width: 100%; aspect-ratio: 4 / 5; background: #F5F2EA; color: #1A1A1A; border-radius: 10px; padding: 9%; display: flex; flex-direction: column; justify-content: center; gap: 4cqw; position: relative; border: 1px solid #DDD5C8; container-type: inline-size; text-align: left; box-sizing: border-box; }
.cslide.cover { background: #1A1A1A; color: #F5F2EA; border-color: #1A1A1A; }
.cslide .cn { position: absolute; top: 5%; right: 6%; font: 700 5cqw/1 Poppins, sans-serif; opacity: .6; }
.cslide .ch { font-family: 'DM Serif Display', Georgia, serif; font-size: 9cqw; line-height: 1.15; overflow-wrap: break-word; }
.cslide.cover .ch { font-size: 11cqw; }
.cslide.cover .ch::first-letter { color: #F576A5; }
.cslide .cb { font: 400 5.6cqw/1.4 Poppins, sans-serif; }
.cslide.is-example .ch, .cslide.is-example .cb { opacity: .5; }
.cslide.is-example { border-style: dashed; }
.studio-full-preview .cslide { width: min(340px, 100%); }
.studio-look-tools { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--surface, #fff); }
.studio-look-tools summary { margin-bottom: 0; }
.studio-look-tools[open] summary { margin-bottom: 12px; }
.story-card-preview { width: 100%; }
@media (max-width: 600px) { .studio-slide-choice { flex-basis: 128px; } .studio-slide-strip.is-carousel .studio-slide-choice { flex-basis: 160px; } }
.studio-sora { display: grid; gap: 6px; margin-top: 10px; }
.studio-sora.is-waiting, .studio-sora.is-done { border: 1px solid var(--line); border-left: 4px solid var(--pink, #F576A5); border-radius: 10px; padding: 10px 14px; background: var(--surface, #fff); }
.studio-sora.is-done { border-left-color: var(--accent, #25503D); }
.studio-sora-line { margin: 0; font-weight: 600; }
.studio-sora .studio-connection { margin: 0; }
.studio-sora-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Classic Studio (the old Agent Room Studio, 20 Nov 2026) ---------- */
.sc { display: grid; gap: 22px; }
.sc-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sc-tab { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 16px; }
.sc-tab b { display: block; font-size: 16px; }
.sc-tab span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.sc-tab.on { border: 2px solid var(--pink); background: var(--frame); }
.sc-ic { font-style: normal; font-size: 26px; line-height: 1; }
.sc-box, .sc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; }
.sc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 99px; background: var(--frame); width: fit-content; }
.sc-seg button { border: 0; padding: 8px 16px; font-weight: 600; }
.sc-seg button.on { background: var(--ink); color: var(--canvas); }
.sc textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--canvas); color: var(--ink); font-size: 16px; resize: vertical; }
.sc select { border: 1px solid var(--line); border-radius: 99px; padding: 10px 14px; background: var(--surface); color: var(--ink); font: inherit; }
.sc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sc-btn { font-weight: 600; padding: 10px 18px; background: var(--surface); }
.sc-btn.ghost { background: transparent; }
.sc-btn.sc-go { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.sc-btn:disabled { opacity: .55; cursor: not-allowed; }
.sc-wrap { white-space: normal; text-align: left; }
.sc-mini { padding: 4px 12px; font-size: 13px; }
.sc-link { color: var(--accent); font-weight: 600; border: 0; padding: 4px 0; }
.sc-label { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sc-hint { color: var(--muted); font-size: 13px; margin: 0; }
.sc-feedback { margin: 0; min-height: 1.2em; color: var(--accent); font-weight: 600; }
.sc-riders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sc-rider { display: flex; gap: 10px; align-items: center; text-align: left; border-radius: 16px; padding: 12px 14px; }
.sc-rider b { display: block; font-size: 15px; }
.sc-rider small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.sc-rider.on { border: 2px solid var(--pink); background: var(--frame); }
.sc-stack { display: grid; gap: 14px; }
.sc-title { font: 400 24px/1.25 'DM Serif Display', Georgia, serif; }
.sc-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-fact { background: var(--frame); border-radius: 14px; padding: 10px 16px; }
.sc-fact .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.sc-fact .v { font-weight: 700; }
.sc-frames { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.sc-fwrap { flex: 0 0 230px; display: grid; gap: 8px; scroll-snap-align: start; }
.sc-frames.is-carousel .sc-fwrap { flex-basis: 260px; }
.sc-fbtns { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.sc-fbtn { padding: 6px 10px; font-size: 16px; line-height: 1; background: var(--surface); }
.sc-fbtn.on { border-color: var(--pink); background: var(--frame); }
.sc-file { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--line); border-radius: 99px; }
.sc-file.sc-btn { font-weight: 600; }
.sc-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sc-file:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.sc-editor { border: 2px solid var(--pink); border-radius: 16px; padding: 14px; display: grid; gap: 10px; background: var(--canvas); }
.sc-look { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; background: var(--frame); border-radius: 16px; padding: 12px 14px; }
.sc-swatches { display: flex; gap: 6px; align-items: center; }
.sc-swatches span { font-size: 13px; font-weight: 600; margin-right: 4px; }
.sc-sw { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid #00000033; font-size: 11px; font-weight: 700; color: #1A1A1A; }
.sc-sw.on { outline: 3px solid var(--pink); outline-offset: 2px; }
.sc-size { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; }
.sc-prompt { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sc-prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--frame); }
.sc-prompt pre { margin: 0; padding: 14px; white-space: pre-wrap; font: 13px/1.55 'Courier New', monospace; }
.sc-fbf { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.sc-fbf small { display: block; color: var(--muted); }
.sc-fbf-line { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sc-body { white-space: pre-wrap; margin: 0; }
.sc-score { font: 400 48px/1 'DM Serif Display', Georgia, serif; }
.sc-hk { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; background: var(--surface); }
.sc-hk-h { display: flex; justify-content: space-between; align-items: center; }
.sc-num { font: 400 26px/1 'DM Serif Display', Georgia, serif; }
.sc-pill { background: var(--frame); border-radius: 99px; padding: 2px 10px; font-weight: 700; font-size: 13px; }
.sc-htext { font-weight: 700; font-size: 18px; line-height: 1.35; }
.sc-htext mark { background: none; color: #BC0008; }
:root[data-theme="dark"] .sc-htext mark { color: var(--pink); }
.sc-kv { font-size: 14px; }
.sc-hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sc-abt { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); }
.sc-beats { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.sc-hooklist { margin: 0; padding-left: 26px; display: grid; gap: 10px; }
.sc-hooklist li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.sc-hooklist li span { flex: 1 1 260px; font-weight: 600; }
.sc-week { display: grid; gap: 10px; }
.sc-wday { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.sc-wday input { width: 20px; height: 20px; accent-color: var(--accent); }
.sc-wday .t { font-weight: 700; }
.sc-wday .d { color: var(--muted); font-size: 13px; }
.sc-wres { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sc-res { padding: 6px 12px; font-size: 13px; }
.sc-res.on { background: var(--frame); border-color: var(--ink); font-weight: 700; }
.sc-redo { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.sc-redo-label { font-weight: 700; font-size: 14px; }
.sc-talk { display: grid; gap: 10px; background: var(--frame); border-radius: 16px; padding: 14px; }
.sc-waiting { background: var(--surface); border: 2px dashed var(--pink); border-radius: 20px; padding: 22px; display: grid; gap: 10px; }
.sc-thinking { margin: 0; font: 400 22px/1.3 'DM Serif Display', Georgia, serif; }
.sc-done { margin: 0; color: var(--accent); font-weight: 600; }
.sc-note { background: var(--frame); border-radius: 14px; padding: 12px 16px; }
.sc-library { display: grid; gap: 8px; }
.sc-library h2 { margin: 10px 0 4px; font: 400 22px/1.3 'DM Serif Display', Georgia, serif; }
.sc-lib-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
.sc-lib-row strong { display: block; }
.sc-lib-row small { color: var(--muted); }
@media (max-width: 900px) { .sc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .sc-tab { padding: 12px; gap: 8px; }
  .sc-tab span { font-size: 12px; }
  .sc-box, .sc-card { padding: 14px; }
  .sc-fwrap { flex-basis: 64vw; }
  .sc-wday { grid-template-columns: auto 1fr; }
  .sc-wres { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Competitors and Pitch Room */
.rm { display: grid; gap: 26px; }
.rm-section { display: grid; gap: 12px; }
.rm-h { margin: 0; font: 400 24px/1.25 'DM Serif Display', Georgia, serif; }
.rm-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.rm-head > div { flex: 1 1 200px; }
.rm-head strong, .rm-name { display: block; font-size: 17px; }
.rm-head small, .rm-meta { display: block; color: var(--muted); font-size: 13px; }
.rm-rank { font: 400 30px/1 'DM Serif Display', Georgia, serif; color: var(--accent); }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rm-field p { margin: 2px 0 0; }
.rm-mine { background: var(--frame); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.rm-mhook { margin: 0; font-weight: 700; font-size: 17px; }
.rm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rm-status { border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 700; background: var(--frame); }
.rm-won { background: var(--accent); color: var(--canvas); }
.rm-sent { border: 1px solid var(--pink); }
@media (max-width: 560px) { .rm-cards, .rm-grid { grid-template-columns: 1fr; } }

/* Booking Room top, from Te-a's mockup (20 Nov 2026) */
.chief-toggle { position: relative; }
.chief-cord { display: none; }
@media (min-width: 900px) {
  .topbar { padding-right: clamp(110px, 9vw, 150px); }
  .chief-toggle { padding: 0 30px; min-height: 60px; font-size: 1.35rem; border-radius: 12px; }
  .chief-toggle .chief-phone { display: none; }
  .preview-label { position: relative; top: 46px; padding-right: clamp(18px, 3vw, 40px); }
  .chief-cord { display: block; position: absolute; left: calc(100% + 6px); top: -24px; width: auto; height: 172px; pointer-events: none; }
}
.booking-banner:has(.booking-truck) { position: relative; overflow: visible; container-type: inline-size; background: #FED7E4; color: #1A1A1A; margin-top: 7.6%; grid-template-columns: minmax(0, 1fr); }
.booking-banner:has(.booking-truck) .booking-banner-copy { min-height: 18cqw; max-width: 44cqw; position: relative; z-index: 1; }
.booking-banner:has(.booking-truck) .booking-banner-copy h2 { font-size: clamp(1.9rem, 3.6cqw, 3rem); }
.booking-banner:has(.booking-truck) .text-link { color: #1A1A1A; }
.booking-art { position: absolute; right: 3cqw; bottom: 0; width: 53cqw; transform: translateY(5%); pointer-events: none; container-type: inline-size; aspect-ratio: 690 / 355; }
.booking-truck { display: block; width: 100%; height: auto; }
.load-board { position: absolute; inset: 0; font-family: 'Poppins', sans-serif; color: #1A1A1A; }
.lb-title { position: absolute; left: 29.2%; top: 12.96%; transform: translateY(-50%); font-size: 2.5cqw; font-weight: 600; line-height: 1; }
.lb-row { position: absolute; left: 27%; width: 23.3%; top: calc((23.66% + var(--r) * 7.89%)); transform: translateY(-50%); display: flex; align-items: center; gap: 1.2cqw; font-size: 1.32cqw; line-height: 1; white-space: nowrap; }
.lb-lane { font-weight: 600; flex: 1; }
.lb-type { font-style: normal; font-weight: 600; font-size: 1.12cqw; background: #F9C6D9; color: #1A1A1A; border-radius: 99px; padding: .45cqw 1.1cqw; }
.lb-rate { font-weight: 700; min-width: 5.4cqw; text-align: right; }
@media (max-width: 700px) {
  .booking-banner:has(.booking-truck) { margin-top: 0; overflow: hidden; }
  .booking-banner:has(.booking-truck) .booking-banner-copy { min-height: 0; max-width: none; }
  .booking-art { position: relative; right: auto; width: 100%; transform: none; order: -1; }
  .booking-banner:has(.booking-truck) .booking-banner-copy { order: 1; }
}
:root[data-theme="dark"] .topbar .chief-toggle { background: #F5F2EA; color: #1A1A1A; }

/* Floating crew row (old Agent Room) and the morning brief */
.crew-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin: 4px 0 22px; }
.crew-float { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--ink); }
.crew-float:hover { text-decoration: none; }
.crew-float img { width: min(96px, 100%); height: auto; animation: crew-bob 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 8px 6px #1A1A1A22); }
.crew-float:hover img, .crew-float:focus-visible img { animation-play-state: paused; transform: translateY(-6px) scale(1.04); }
.crew-name { font: italic 400 1rem/1.1 'DM Serif Display', Georgia, serif; text-align: center; }
.crew-role { font-size: .8rem; font-weight: 600; }
@keyframes crew-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .crew-float img { animation: none; } }
@media (max-width: 1000px) { .crew-row { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 14px; } }
@media (max-width: 560px) {
  .crew-row { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .crew-float { flex: 0 0 82px; scroll-snap-align: start; }
}
.morning-brief { margin-top: 20px; border-left: 5px solid var(--accent); display: grid; gap: 8px; padding: 22px clamp(18px, 3vw, 30px); }
.morning-brief .eyebrow { margin: 6px 0 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.brief-hi { margin: 0; font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 'DM Serif Display', Georgia, serif; }
.brief-focus { margin: 0; font-size: 1.05rem; }
.brief-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 30px; }
.brief-cols ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.brief-note { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.booking-banner:has(.booking-truck) + .crew-row { margin-top: calc(2.4% + 12px); }
.crew-float img { width: auto; height: 96px; max-width: 100%; object-fit: contain; }

/* Studio lives on the page, not in boxes (Te-a, 20 Nov) */
.sc-tab { background: transparent; border: 0; border-bottom: 3px solid var(--line); border-radius: 0; padding: 12px 6px 14px; }
.sc-tab.on { border: 0; border-bottom: 3px solid var(--pink); background: transparent; }
.sc-tab:hover { border-color: var(--line); border-bottom-color: var(--pink); }
.sc-box, .sc-card { background: transparent; border: 0; border-radius: 0; padding: 0; }
.sc-out > .sc-card, .sc-out > .sc-stack { border-top: 1px solid var(--line); padding-top: 22px; }
.sc-rider { background: transparent; }
.sc-rider.on { background: var(--blush); border-color: var(--pink); }
.sc-look, .sc-talk { background: transparent; border: 1px solid var(--line); }
.sc-waiting { background: transparent; }
.sc-hk, .sc-wday, .sc-hooklist li { background: transparent; }
/* AI Crew schedule */
.crew-when { margin: 0 0 4px; font-size: .82rem; font-weight: 600; color: var(--accent); }
.crew-schedule { display: grid; gap: 10px; }
.crew-schedule .panel-title { margin: 0; }
.crew-schedule-note { margin: 0; color: var(--muted); }
.crew-schedule-list { display: grid; }
.crew-sched-row { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.crew-sched-row img { width: 56px; height: 56px; object-fit: contain; }
.crew-sched-who, .crew-sched-when { display: grid; }
.crew-sched-who span, .crew-sched-when span { color: var(--muted); font-size: .9rem; }
.crew-sched-when .crew-sched-extra { color: var(--accent); font-weight: 600; }
.crew-sched-last { color: var(--muted); font-size: .85rem; text-align: right; }
@media (max-width: 700px) {
  .crew-sched-row { grid-template-columns: 48px 1fr; gap: 6px 14px; }
  .crew-sched-row img { width: 48px; height: 48px; grid-row: span 3; }
  .crew-sched-last { text-align: left; }
}
/* Pitch Room and Competitors: each item is its own card, and cards fill the width */
.rm .sc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.rm-cards { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

/* ---------- Post Calendar, Overview clock + week, mic (20 Nov 2026) ---------- */
.hq-clock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.hq-time { color: var(--ink); font: 400 26px/1 'DM Serif Display', Georgia, serif; }
.cal { display: grid; gap: 18px; }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cal-month { margin: 0; font: 400 30px/1.2 'DM Serif Display', Georgia, serif; }
.cal-nav { display: flex; gap: 8px; }
.cal-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--muted); font-size: 13px; }
.cal-key span { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-wd { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 118px; padding: 8px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.cal-cell.is-past { opacity: .62; }
.cal-cell.is-today { background: color-mix(in srgb, var(--pink) 10%, transparent); }
.cal-date { display: flex; align-items: center; gap: 6px; }
.cal-num { font-weight: 600; font-size: 14px; }
.cal-long { display: none; }
.cal-today { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--ink); color: var(--canvas); }
.cal-chip { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; text-align: left; font-size: 12.5px; line-height: 1.3; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); border-left: 4px solid var(--muted); background: var(--surface); }
.cal-chip:hover { border-color: var(--ink); text-decoration: underline; }
.cal-chip-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cal-ico { flex: none; }
.cal-waiting, .cal-dot.cal-waiting { border-left-color: var(--pink); }
.cal-dot.cal-waiting { background: var(--pink); }
.cal-changes { border-left-color: var(--ink); }
.cal-dot.cal-changes { background: var(--ink); }
.cal-approved { border-left-color: var(--green, #25503D); }
.cal-dot.cal-approved { background: var(--green, #25503D); }
.cal-done { border-left-color: var(--muted); opacity: .75; }
.cal-dot.cal-done { background: var(--muted); }
.cal-loose { display: grid; gap: 10px; }
.cal-loose-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.cal-loose-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cal-loose-row .cal-chip { flex: 1; font-size: 13.5px; padding: 8px 10px; }
.cal-pick { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex: none; }
.cal-pick input, .post-on input { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.post-on { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-weight: 600; }
.cal-week { margin-top: 20px; }
.cal-week-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cal-week-top .panel-title { margin: 0; }
.cal-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal-day { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.cal-day.is-today { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 8%, transparent); }
.cal-day p { margin: 0; }
.cal-day-name { font-weight: 600; }
.cal-day-num, .cal-none { color: var(--muted); font-size: 12.5px; }
.cal-more { font-size: 12px; text-decoration: underline; }
.hq-mic { position: fixed; z-index: 60; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; font-size: 15px; line-height: 1; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--pink); box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.hq-mic.is-on { background: var(--pink); border-color: var(--pink); animation: hq-mic-pulse 1.2s ease-in-out infinite; }
@keyframes hq-mic-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--pink) 30%, transparent); } }
@media (prefers-reduced-motion: reduce) { .hq-mic.is-on { animation: none; } }
@media (max-width: 1100px) { .cal-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .cal-grid { display: block; border: 0; }
  .cal-wd, .cal-cell.is-blank, .cal-cell.is-empty:not(.is-today) { display: none; }
  .cal-cell { min-height: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); }
  .cal-cell.is-today { padding: 12px 10px; border-radius: 10px; }
  .cal-num { display: none; }
  .cal-long { display: inline; font-weight: 600; }
  .cal-chip { font-size: 14px; padding: 9px 10px; }
  .cal-strip { grid-template-columns: minmax(0, 1fr); }
  .cal-day { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cal-day .cal-chip { flex-basis: 100%; }
  .cal-loose-list { grid-template-columns: minmax(0, 1fr); }
  .cal-loose-row { flex-wrap: wrap; }
}

/* ---------- Template Shelf (20 Nov 2026) ---------- */
.shelf { display: grid; gap: 22px; }
.shelf-add { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 6px 20px; }
.shelf-add > summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 16px; }
.shelf-add[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.shelf-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding-bottom: 18px; align-items: end; }
.shelf-form label, .shelf-fill label { display: grid; gap: 6px; min-width: 0; }
.shelf-form .shelf-wide { grid-column: 1 / -1; }
.shelf-form .sc-hint, .shelf-form button { grid-column: 1 / -1; justify-self: start; }
.shelf-form input, .shelf-form select, .shelf-form textarea, .shelf-fill textarea, .shelf-fill select { font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; min-width: 0; }
.shelf-form textarea, .shelf-fill textarea { resize: vertical; }
.shelf-list { display: grid; gap: 16px; }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.shelf-card { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); min-width: 0; }
.shelf-pics { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shelf-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--frame); }
.shelf-pics img:first-child { grid-column: 1 / -1; aspect-ratio: 1; }
.is-sticker .shelf-pics { grid-template-columns: 1fr; }
.is-sticker .shelf-pics img { aspect-ratio: 1; object-fit: contain; background: repeating-conic-gradient(var(--frame) 0 25%, transparent 0 50%) 0 0 / 18px 18px; }
.shelf-more { position: absolute; right: 8px; bottom: 8px; padding: 2px 10px; border-radius: 99px; background: var(--ink); color: var(--canvas); font-size: 12px; font-weight: 600; }
.shelf-meta { display: grid; gap: 2px; min-width: 0; }
.shelf-meta strong { font-size: 16px; overflow-wrap: anywhere; }
.shelf-meta small { color: var(--muted); }
.shelf-notes { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.shelf-card .sc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.shelf-fill { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.shelf-fill[hidden] { display: none; }
.shelf-fill button { justify-self: start; }
@media (max-width: 720px) {
  .shelf-form { grid-template-columns: minmax(0, 1fr); }
  .shelf-add { padding: 4px 14px; }
}

/* ---------- Quick Review + bigger review slides (21 Nov 2026) ---------- */
.quick-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 14px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--pink) 12%, transparent); }
.quick-go { font-weight: 700; padding: 10px 20px; background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.quick-hint { color: var(--ink); font-size: 14px; }
.quick-later { margin-left: auto; }
#editor .story-frame { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px; padding: 18px 0; }
#editor .story-frame textarea { min-height: 150px; font-size: 16px; }
#editor.wide { width: min(1100px, calc(100% - 24px)); }
@media (max-width: 720px) {
  #editor .story-frame { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #editor .story-card-preview { width: min(78vw, 300px); margin: 0 auto; }
  .quick-later { margin-left: 0; }
}
#editor #actions { position: sticky; bottom: calc(-1 * clamp(16px, 4vw, 35px)); z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px calc(-1 * clamp(16px, 4vw, 35px)) calc(-1 * clamp(16px, 4vw, 35px)); padding: 14px clamp(16px, 4vw, 35px); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgb(0 0 0 / .06); }
.queue-title .row-stale { color: var(--muted); }
.leads-section { display: grid; gap: 12px; margin-bottom: 30px; }

/* ---------- Focus: word for today, Today's 3, grouped menu (21 Nov 2026) ---------- */
#workspace-navigation { gap: 2px; }
#workspace-navigation a { min-height: 44px; }
.nav-group { margin: 12px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-group:first-child { margin-top: 0; }
.sidebar { overflow-y: auto; scrollbar-width: thin; }
.focus-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; margin-bottom: 20px; align-items: stretch; }
.word-panel { display: grid; }
.word-card { display: grid; gap: 14px; align-content: start; min-width: 0; }
.word-card .eyebrow { margin: 0; }
.word-verse { margin: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--pink); }
.word-verse p { margin: 0; font: 400 clamp(20px, 2vw, 26px)/1.35 'DM Serif Display', Georgia, serif; }
.word-verse cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.word-block { display: grid; gap: 4px; }
.word-block p { margin: 0; }
.word-mine, .word-prayer { font-size: 16px; }
.word-aff { font-size: 17px; font-weight: 600; }
.word-card .sc-row { gap: 8px; }
.word-card .is-saved { background: var(--blush); border-color: var(--blush); color: #1A1A1A; }
.word-card.is-big .word-verse p { font-size: clamp(24px, 3vw, 34px); }
.today3 { display: grid; gap: 12px; align-content: start; }
.today3-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.today3-top .panel-title { margin: 0; }
.streak { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--frame); color: var(--ink); }
.streak.is-on { background: color-mix(in srgb, var(--pink) 22%, transparent); }
.today3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.today3-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.today3-list li > div { display: grid; min-width: 0; }
.today3-list small { color: var(--muted); }
.today3-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; color: #F5F2EA; }
.today3-list li.is-done .today3-check { background: var(--green, #25503D); border-color: var(--green, #25503D); }
.today3-list li.is-done strong { text-decoration: line-through; text-decoration-color: var(--muted); }
.faith { display: grid; gap: 28px; }
.faith > .word-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.faith-saved { display: grid; gap: 14px; }
.faith-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.faith-grid .word-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
@media (max-width: 1000px) { .focus-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .nav-group { display: none; }
  .sidebar { overflow: visible; }
  .faith-grid { grid-template-columns: minmax(0, 1fr); }
  .today3-list li { grid-template-columns: 28px minmax(0, 1fr); }
  .today3-list li .text-link { grid-column: 2; }
}
.rm-sub { margin: 18px 0 0; font-size: 17px; }
.reel-age { flex: none; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: color-mix(in srgb, var(--green, #25503D) 15%, transparent); }
.reel-age.is-old { background: var(--frame); color: var(--muted); }
.reel-idea.is-old { opacity: .72; }
.reel-idea .rm-head { justify-content: space-between; align-items: flex-start; gap: 10px; }
.reel-ideas { margin-bottom: 34px; }
.reel-ideas .rm-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.load-copy { justify-self: start; margin-top: 6px; font-size: 13px; padding: 5px 14px; }
