:root {
  color-scheme: light;
  font-family: Graphik, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20231f;
  background: #f6f6f3;
  font-synthesis: none;
  --ink: #20231f;
  --muted: #5d635c;
  --soft-muted: #747b73;
  --line: #e8e9e5;
  --paper: #fff;
  --canvas: #f6f6f3;
  --accent: #f56906;
  --accent-strong: #933f04;
  --accent-ink: #121212;
  --accent-soft: #fde1cd;
  --green: #23804e;
  --green-soft: #e4f3e9;
  --green-line: #91c6a2;
  --red: #b12d38;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input { font: inherit; }
button, .file-button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible, .file-button:focus-within { outline: 3px solid #7b91c8; outline-offset: 3px; }
a { color: inherit; }
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 246px; flex: 0 0 246px; display: flex; flex-direction: column; padding: 30px 20px 20px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 7px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: -.045em; }
.brandmark { display: inline-grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: #fff; background: var(--ink); }
.portal-label { margin: 15px 7px 28px; color: var(--soft-muted); font-size: 12px; }
.side-section { margin: 0 12px 9px; color: #a0a3b4; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: var(--ink); background: #f1f1f6; font-size: 12px; font-weight: 700; }
.account { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 16px 7px 0; border-top: 1px solid var(--line); }
.avatar { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #555965; background: #e5e6ea; font-size: 11px; font-weight: 800; }
.account strong, .account small { display: block; }
.account strong { color: var(--ink); font-size: 11px; }
.account small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.main { width: 100%; min-width: 0; padding: 35px clamp(20px, 5vw, 74px) 40px; }
.topbar, .between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar { max-width: 1080px; margin: 0 auto 27px; }
.top-title { color: var(--soft-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 6px; color: var(--chip-amber-text); background: var(--chip-amber-bg); font-size: 11px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.page { width: 100%; max-width: 900px; margin: 0 auto; }
.intro { margin-bottom: 22px; }
.eyebrow { margin: 0; color: var(--soft-muted); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
h1 { margin: 16px 0 8px; color: var(--ink); font-size: 36px; line-height: 1.12; letter-spacing: -.045em; }
.intro > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
h2, h3, p { margin-top: 0; }
h2 { color: var(--ink); font-size: 16px; }
h3 { margin-bottom: 8px; color: var(--ink); font-size: 14px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 3px 12px #20204008; }
.progress { margin: 25px 0 27px; padding: 21px 23px; }
.progress strong { color: var(--ink); font-size: 13px; }
.muted { color: var(--soft-muted); font-size: 11px; }
.bar { height: 8px; overflow: hidden; margin: 15px 0 11px; border-radius: 9px; background: #eef0f4; }
.fill { height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.progress-note { margin: 0; color: var(--muted); font-size: 11px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 10px; }
.section-head h2 { margin: 0; }
.task-list { display: grid; gap: 11px; }
.task-card { transition: border-color .18s ease, background .18s ease; }
.task-card.complete { border-color: var(--green-line); background: #f7fcf9; }
.task-heading { margin: 0; }
.task-toggle { display: flex; width: 100%; min-height: 93px; align-items: center; gap: 14px; padding: 18px 20px; border: 0; color: inherit; background: transparent; text-align: left; }
.symbol { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 11px; color: var(--ink); background: #f2f2f8; font-size: 21px; }
.complete .symbol { color: var(--green); background: var(--green-soft); }
.headtext { display: grid; flex: 1; gap: 4px; }
.task-title { color: var(--ink); font-size: 14px; font-weight: 750; }
.task-summary { color: #84899e; font-size: 11px; }
.task-range { color: #a0a4b4; font-size: 10px; }
.task-status { padding: 6px 9px; border-radius: 20px; color: #626984; background: #f2f2f8; font-size: 10px; white-space: nowrap; }
.chevron { color: #8d92a6; }
.task-body { padding: 20px 24px 23px; border-top: 1px solid #eee; background: white; }
.task-body[hidden] { display: none; }
.body-copy { max-width: 720px; margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.required-pills { margin: 12px 0 14px; }
.pill { display: inline-block; margin: 0 6px 0 0; padding: 6px 10px; border-radius: 20px; color: #565f7d; background: #f2f2f8; font-size: 10px; font-weight: 650; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 9px 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; }
.row strong, .row small { display: block; }
.row strong { color: var(--ink); font-size: 12px; }
.row small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.action, .file-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 8px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.action:hover, .file-button:hover { opacity: .88; }
.action.secondary { color: var(--ink); border-color: #d9dce5; background: #fff; }
.status { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.note { margin: 15px 0; padding: 14px 16px; border-radius: 11px; color: #555f7c; background: #f5f6fa; font-size: 11px; line-height: 1.65; }
.upload-heading { margin: 17px 0 8px; }
.upload-heading strong { color: var(--ink); font-size: 12px; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 11px 16px; margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.upload-row--locked, .upload-row--paused, .upload-row--missed, .upload-row--needs-link { background: #fafafd; }
.upload-row-main, .upload-info, .upload-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.upload-row-main { grid-column: 1; }
.upload-info { display: block; flex: 1; }
.upload-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.upload-info strong { color: var(--ink); font-size: 11px; }
.upload-info small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.upload-guidance { display: block; margin-top: 4px; color: #626984; font-size: 9px; }
.upload-icon { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 8px; color: #616a84; background: #f2f2f8; }
.upload-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.upload-icon--submitted { color: #26704c; background: #e7f4ec; }
.upload-icon--locked, .upload-icon--paused, .upload-icon--missed, .upload-icon--needs-link { color: #747b8f; background: #eef0f4; }
.upload-state { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 8px; border-radius: 20px; color: #565f7d; background: #f2f2f8; font-size: 9px; font-weight: 700; }
.upload-state--submitted { color: #216c48; background: #e7f4ec; }
.upload-state--uploading { color: #364b7d; background: #e9edf8; }
.upload-state--locked, .upload-state--paused, .upload-state--missed { color: #626984; background: #eef0f4; }
.upload-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; flex-wrap: wrap; }
.upload-picker { position: relative; display: inline-flex; }
.upload-input[hidden] { display: none; }
.upload-preview { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px; border-radius: 9px; background: #f7f8fb; }
.upload-preview img, .upload-preview video { width: 86px; height: 64px; flex: none; border: 1px solid #e1e4ed; border-radius: 6px; background: #fff; object-fit: contain; }
.calendar-form-card .field-hint { display:block; margin:0 0 10px; color:var(--muted, #7e8497); font-size:10px; }
.optional-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #f1f2f6; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .02em; vertical-align: middle; }
.upload-preview span, .upload-preview strong, .upload-preview small { display: block; min-width: 0; }
.upload-preview strong { max-width: 440px; color: var(--ink); font-size: 10px; overflow-wrap: anywhere; }
.upload-preview small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.upload-error { grid-column: 1 / -1; margin: 0; }
.uploading-indicator { display: inline-flex; align-items: center; gap: 8px; color: #364b7d; font-size: 10px; font-weight: 700; }
.upload-spinner { width: 14px; height: 14px; border: 2px solid #cbd3e8; border-top-color: #364b7d; border-radius: 50%; animation: upload-spin .75s linear infinite; }
@keyframes upload-spin { to { transform: rotate(360deg); } }
.action:disabled { cursor: not-allowed; opacity: .58; }
.field { display: block; margin-top: 14px; }
.field span { display: block; margin-bottom: 7px; color: #35394a; font-size: 11px; font-weight: 700; }
.field input { width: 100%; padding: 11px 12px; border: 1px solid #dce0e9; border-radius: 9px; color: var(--ink); background: #fff; font-size: 12px; }
.field input[aria-invalid="true"] { border-color: #d47d78; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.field-error { color: var(--red); font-size: 10px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 17px 0 12px; }
.day { min-width: 0; padding: 11px 6px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #f8f8fb; }
.day span, .day strong { display: block; }
.day span { margin-bottom: 6px; color: #858aa0; font-size: 9px; }
.day strong { font-size: 10px; }
.day.selected { border-color: var(--ink); background: #e9ebf3; }
.day.done { border-color: #a9d8bb; }
.brief { padding: 16px; border-radius: 12px; background: #f6f7fa; }
.brief > .between strong { color: var(--ink); font-size: 12px; }
.brief-placeholder { margin: 12px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.brief-status { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.done-banner { margin-top: 13px; padding: 16px 18px; border: 1px solid var(--green-line); border-radius: 13px; color: var(--green); background: #f7fcf9; }
.done-banner p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.prototype-note { margin: 20px 2px 0; color: #a0a3b4; font-size: 9px; line-height: 1.6; }
.site-footer { max-width: 900px; margin: 28px auto 0; color: #a0a3b4; font-size: 10px; }
@media (max-width: 740px) {
  .shell { display: block; }
  .sidebar { width: auto; min-height: 0; padding: 14px 16px; flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-label, .side-section, .nav-item { display: none; }
  .account { margin: 0; padding: 0; border: 0; }
  .avatar { width: 30px; height: 30px; }
  .account small { display: none; }
  .main { padding: 22px 16px 30px; }
  .topbar { margin-bottom: 20px; }
  .top-title { font-size: 8px; }
  h1 { font-size: 30px; }
  .progress { padding: 17px; }
  .task-toggle { min-height: 83px; gap: 10px; padding: 14px; }
  .symbol { width: 39px; height: 39px; flex-basis: 39px; }
  .task-title { font-size: 12px; }
  .task-summary { font-size: 10px; }
  .task-status { padding: 5px 7px; font-size: 8px; }
  .task-body { padding: 17px 15px 19px; }
  .days { gap: 4px; }
  .day { padding: 9px 3px; }
  .day strong { font-size: 9px; }
  .upload-row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
  .upload-row-main, .upload-actions, .upload-preview, .upload-error { grid-column: 1; }
  .upload-actions { grid-row: auto; justify-content: flex-start; }
  .upload-actions .action { flex: 1 1 auto; }
  .upload-preview img, .upload-preview video { width: 76px; height: 58px; }
  .upload-info small { max-width: 160px; }
}
@media (max-width: 380px) {
  .task-status { display: none; }
  .topbar { align-items: flex-start; }
  .badge { padding: 7px 9px; font-size: 9px; }
  .upload-info small { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Shared Trial and Creator shell */
.auth-shell { min-height:100vh; background:#faf9f7; }
.auth-main { display:grid; place-items:center; min-height:calc(100vh - 73px); padding:24px; }
.auth-card { width:min(100%,500px); padding:30px; }
.auth-card h1 { margin:0 0 10px; font-size:clamp(26px,4vw,34px); }
.auth-card .body-copy { color:var(--muted); line-height:1.6; margin:0 0 20px; }
.auth-card form { display:grid; gap:16px; margin-top:22px; }
.auth-card .field { display:grid; gap:7px; }
.auth-card .field input { width:100%; }
.auth-card .field input[readonly] { background:#f1f2f5; color:#596070; }
.password-control { position:relative; display:block; }
.password-control input { padding-right:46px !important; }
.password-toggle { position:absolute; top:50%; right:8px; display:grid; place-items:center; width:32px; height:32px; padding:6px; border:0; border-radius:7px; color:#777d91; background:transparent; transform:translateY(-50%); }
.password-toggle:hover { color:var(--ink); background:#f1f2f5; }
.password-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.auth-switch { margin:18px 0 0; text-align:center; }
.text-button { padding:4px; border:0; background:transparent; color:#4653a2; text-decoration:underline; cursor:pointer; }
.account-identity { display:grid; gap:2px; font-size:11px; line-height:1.25; }
.account-identity small { color:var(--muted); }
.portal-signout { white-space:nowrap; }
.notice.error { margin:14px 0; }
.trial-shell { min-height: 100vh; }
.trial-topbar, .program-header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px clamp(18px,5vw,72px); border-bottom:1px solid var(--line); background:#fff; }
.trial-top-meta, .program-account { display:flex; align-items:center; gap:14px; }
.trial-main { padding:32px clamp(18px,5vw,72px) 40px; }
.trial-main .page { max-width:900px; }
.trial-main .site-footer { max-width:900px; }
.role-switcher { display:inline-flex; align-items:center; gap:8px; color:#777d91; font-size:10px; }
.role-switcher select { padding:7px 9px; border:1px solid #dfe1e8; border-radius:8px; color:var(--ink); background:#fff; font-size:10px; }
.program-shell { min-height:100vh; background:var(--canvas); }
.program-header { min-height:67px; padding-top:13px; padding-bottom:13px; }
.program-role { padding:6px 10px; border-radius:99px; color:#526087; background:#f1f2f7; font-size:10px; font-weight:700; }
.program-nav { position:sticky; z-index:3; top:0; display:flex; gap:4px; overflow-x:auto; padding:0 clamp(18px,5vw,72px); border-bottom:1px solid var(--line); background:#fff; scrollbar-width:thin; }
.program-tab { min-height:51px; flex:none; padding:0 14px; border:0; border-bottom:2px solid transparent; color:#74798b; background:transparent; font-size:11px; font-weight:650; white-space:nowrap; }
.program-tab:hover { color:var(--ink); background:#fafafd; }
.program-tab.active { border-bottom-color:#505d8c; color:var(--ink); }
.program-page { width:min(100% - 40px, 1080px); margin:0 auto; padding:35px 0 20px; }
.program-intro { margin-bottom:25px; }
.program-intro h1 { margin-top:12px; }
.program-intro > p:last-child { max-width:680px; }
.program-footer { display:flex; justify-content:space-between; gap:12px; width:min(100% - 40px,1080px); max-width:none; margin:20px auto 0; padding:18px 0 28px; }
.program-footer span { color:#a0a3b4; }
.section-kicker { color:#9397a8; font-size:9px; font-weight:800; letter-spacing:.11em; }
.demo-tag { display:inline-flex; align-items:center; padding:6px 8px; border:1px solid #dedced; border-radius:99px; color:#5a5580; background:#f7f6fb; font-size:8px; font-weight:800; letter-spacing:.06em; white-space:nowrap; }
.overview-progress { padding:21px 23px; }
.overview-progress-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.overview-progress h2 { margin:9px 0 0; font-size:24px; }
.overview-progress h2 span { color:#878b9c; font-size:13px; font-weight:500; }
.overview-progress .bar { margin:16px 0 10px; }
.overview-progress .between { color:#72788d; font-size:10px; }
.hint { color:#8b90a1; font-size:10px; line-height:1.55; }
.overview-progress .hint { margin:10px 0 0; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:14px 0; }
.metric { min-height:115px; padding:16px; }
.metric > p { margin-bottom:10px; color:#777d91; font-size:10px; }
.metric > strong { display:block; color:var(--ink); font-size:23px; letter-spacing:-.04em; }
.metric > small { display:block; margin-top:6px; color:#9a9eae; font-size:9px; line-height:1.4; }
.earnings-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:17px; }
.program-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:15px 0; }
.program-panel, .chart-card, .tier-card, .table-card { padding:20px; }
.program-panel h2, .chart-card h2, .tier-card h2, .table-card h2 { margin:8px 0; }
.program-panel > p { color:#7c8194; font-size:11px; line-height:1.55; }
.program-panel .between h2 { margin:0; }
.trial-active-summary { margin-bottom:16px; }
.trial-active-summary .pill { max-width:50%; overflow-wrap:anywhere; }
.trial-calendar-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.trial-calendar-heading h2 { margin:4px 0 0; }
.trial-calendar-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:7px; margin:12px 0 14px; }
.trial-calendar-day { display:flex; min-width:0; min-height:126px; flex-direction:column; align-items:center; padding:10px 6px 8px; border:0; border-radius:10px; background:#f6f6f3; text-align:center; }
.trial-calendar-day.warmup-day { background:#fff5e8; }
.trial-calendar-day.publish-day { background:#f4f1ff; }
.trial-calendar-day.current-day { box-shadow:inset 0 0 0 2px var(--chip-blue-text); }
.trial-calendar-day-label { color:#626984; font-size:10px; font-weight:500; letter-spacing:.08em; }
.trial-calendar-day-number { margin:2px 0 5px; color:var(--ink); font-size:23px; font-weight:500; line-height:1.1; letter-spacing:-.035em; }
.trial-calendar-day time { min-height:14px; color:#565f7d; font-size:10px; font-weight:400; line-height:1.35; }
.trial-calendar-deadline { color:#626984; font-size:10px; font-weight:400; line-height:1.35; }
.trial-calendar-today { margin:2px 0 4px; color:var(--chip-blue-text); font-size:10px; font-weight:600; }
.trial-calendar-chips { display:grid; width:100%; gap:5px; margin-top:auto; padding-top:7px; }
.trial-calendar-chip { display:flex; min-height:25px; align-items:center; justify-content:center; padding:5px 6px; border-radius:6px; font-size:10px; font-weight:500; line-height:1.3; overflow-wrap:anywhere; }
.trial-calendar-chip.setup, .trial-calendar-chip.warmup { color:#85440f; background:#ffead4; }
.trial-calendar-chip.publish { color:#5140a3; background:#e8e2ff; }
.trial-calendar-note { margin:14px 0 0 !important; padding-top:0; border-top:0; color:#555f7c !important; font-size:12px !important; line-height:1.6 !important; }
.trial-active-summary, .trial-schedule-panel { border:0; }
.trial-schedule-panel > .hint { margin-bottom:0; }
.program-panel .field { margin:12px 0 16px; }
.program-panel .field small { display:block; margin-top:6px; color:#8b90a1; font-size:10px; line-height:1.5; }
.program-panel > ul { padding-left:20px; color:#555c72; font-size:11px; line-height:1.7; }
.program-panel > ul li { padding-left:3px; }
.attention-item { display:flex; width:100%; align-items:center; gap:11px; margin-top:9px; padding:12px; border:1px solid var(--line); border-radius:10px; color:inherit; background:#fff; text-align:left; }
.attention-item > span:nth-child(2) { flex:1; }
.attention-item strong, .attention-item small { display:block; }
.attention-item strong { color:var(--ink); font-size:11px; }
.attention-item small { margin-top:4px; color:#9195a5; font-size:9px; }
.attention-icon { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; color:#765d36; background:#f8efdd; font-size:12px; font-weight:800; }
.attention-icon.violet { color:#5c5c83; background:#f0eff8; }
.btn { min-height:35px; padding:8px 12px; border:1px solid #dfe1e8; border-radius:8px; font-size:10px; font-weight:700; }
.btn.primary { border-color:var(--ink); color:#fff; background:var(--ink); }
.btn.soft { color:var(--ink); background:#fff; }
.btn.danger { border-color:#efd5d5; color:#964b4b; background:#fff; }
.btn:disabled { cursor:not-allowed; color:#a6a9b4; background:#f4f4f6; }
.btn.small { min-height:29px; padding:6px 9px; font-size:9px; }
.content-sections { display:flex; gap:20px; overflow-x:auto; margin:0 0 17px; border-bottom:1px solid var(--line); }
.content-section { flex:none; padding:11px 2px; border:0; border-bottom:2px solid transparent; color:#7d8294; background:transparent; font-size:11px; font-weight:650; }
.content-section.selected { border-bottom-color:var(--ink); color:var(--ink); }
.library-toolbar { align-items:flex-start; margin:15px 0; }
.category-filters { display:flex; flex-wrap:wrap; gap:7px; }
.filter-chip { min-height:31px; padding:7px 10px; border:1px solid #e5e6ed; border-radius:99px; color:#74798b; background:#fff; font-size:9px; white-space:nowrap; }
.filter-chip.active { border-color:#535e89; color:#313d69; background:#f0f1f7; }
.filter-chip span { margin-left:3px; color:#868aa0; }
.ideas-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.idea-card { overflow:hidden; }
.idea-open { position:relative; display:flex; width:100%; flex-direction:column; align-items:flex-start; gap:8px; padding:17px 42px 17px 17px; border:0; color:inherit; background:#fff; text-align:left; }
.idea-open strong { color:var(--ink); font-size:13px; }
.idea-open > span:nth-of-type(2) { color:#82879a; font-size:10px; line-height:1.5; }
.idea-category { color:#767b91; font-size:9px; font-weight:750; }
.idea-chevron { position:absolute; top:14px; right:16px; color:#74798b; font-size:20px; }
.idea-details { padding:0 17px 17px; }
.idea-details p { margin:0 0 12px; color:#70768b; font-size:10px; line-height:1.7; }
.idea-actions, .idea-form-actions { display:flex; justify-content:flex-end; gap:7px; }
.idea-form { margin:14px 0; padding:17px; }
.idea-form h3 { margin:0; }
.field textarea { width:100%; padding:11px 12px; border:1px solid #dce0e9; border-radius:9px; color:var(--ink); resize:vertical; font:inherit; font-size:12px; }
.field span small { color:#969aaa; font-weight:400; }
.text-button { border:0; color:#777d91; background:transparent; font-size:10px; }
.empty-panel { display:flex; flex-direction:column; align-items:center; margin:16px 0; padding:40px 24px; text-align:center; }
.empty-panel h2 { margin:12px 0 5px; font-size:16px; }
.empty-panel p { max-width:480px; margin-bottom:16px; color:#868b9d; font-size:11px; line-height:1.6; }
.empty-mark { display:grid; width:42px; height:42px; place-items:center; border-radius:50%; color:#686d87; background:#f1f1f6; font-size:19px; }
.prototype-note { color:#989cad; }
.activity-title { margin:0 0 10px; }
.activity-title h2, .activity-title p { margin:0; }
.activity-title p { margin-top:5px; color:#898e9f; font-size:10px; }
.activity-card { padding:21px; }
.activity-total { display:flex; align-items:center; gap:12px; }
.activity-total strong { color:var(--ink); font-size:32px; }
.activity-total span { color:#84899b; font-size:11px; line-height:1.4; }
.activity-card .bar { max-width:100%; }
.activity-card .hint { margin-bottom:0; }
.weekly-activity { display:grid; grid-template-columns:repeat(4,1fr); gap:11px; margin:20px 0 12px; }
.week { padding:12px; border:1px solid var(--line); border-radius:10px; }
.week > span, .week > strong { display:block; color:#73798e; font-size:9px; }
.week > strong { margin-top:8px; color:var(--ink); }
.week-bars { display:flex; height:65px; align-items:flex-end; gap:5px; margin-top:10px; border-bottom:1px solid var(--line); }
.week-bars i { width:10px; min-height:7px; border-radius:4px 4px 0 0; background:#a9afc9; }
.performance-toolbar { margin:0 0 12px; }
.select-label { display:flex; align-items:center; gap:6px; color:#818699; font-size:9px; }
.select-label select { padding:8px 9px; border:1px solid #dfe1e8; border-radius:8px; color:#40465b; background:#fff; font:inherit; font-size:10px; }
.chart-card h2, .table-card h2 { font-size:14px; }
.chart-card p, .table-card > .between p { margin:0; color:#878c9e; font-size:9px; }
.trend-chart { width:100%; height:auto; margin-top:20px; overflow:visible; }
.chart-gridline { fill:none; stroke:#ececf1; stroke-width:1; }
.chart-line { fill:none; stroke:#626f9e; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.chart-dot { fill:#626f9e; }
.chart-labels { display:flex; justify-content:space-between; color:#969aaa; font-size:8px; }
.tier-card h2 span { vertical-align:middle; font-size:9px; }
.tier-card > p { color:#7c8194; font-size:10px; }
.tier-card .between { color:#73798e; font-size:9px; }
.tier-card .between strong { color:#555d7f; }
.tier-card .hint { margin:14px 0 0; }
.table-card { margin:15px 0; }
.table-scroll { overflow-x:auto; margin-top:15px; }
table { width:100%; border-collapse:collapse; text-align:left; white-space:nowrap; }
th { padding:10px 9px; color:#9498a8; font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
td { padding:12px 9px; border-top:1px solid #eff0f4; color:#697086; font-size:9px; }
td strong { color:#363d57; font-size:10px; }
.table-card .prototype-note { margin:13px 0 0; }
.demo-notice { display:flex; align-items:center; gap:10px; margin:0 0 14px; padding:12px; border:1px solid #e7e3f0; border-radius:10px; color:#767288; background:#faf9fc; font-size:10px; }
.earnings-total { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); color:#74798d; font-size:10px; }
.earnings-total strong { color:var(--ink); font-size:16px; }
.bonus-row { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:10px; padding:12px 0; border-top:1px solid #eff0f4; }
.bonus-row strong { color:#41475f; font-size:10px; }
.bonus-row small { display:block; margin-top:4px; color:#9195a5; font-size:8px; }
.bonus-row .pill { margin:0; font-size:8px; }
.resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.resource-card { padding:18px; }
.resource-card h2 { margin:8px 0 12px; font-size:14px; }
.resource-card ul { margin:0; padding:0; list-style:none; }
.resource-card li { border-top:1px solid #eff0f4; }
.resource-card li button { display:flex; width:100%; justify-content:space-between; gap:12px; padding:11px 0; border:0; color:#454b62; background:transparent; text-align:left; font-size:10px; }
.resource-card li button:disabled { cursor:default; }
.resource-card li button span:last-child { flex:none; color:#aaaebb; font-size:8px; }
.resource-card .hint { margin:10px 0 0; }
.profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:12px 0; }
.profile-grid div span, .profile-grid div strong { display:block; }
.profile-grid div span { margin-bottom:5px; color:#969aaa; font-size:9px; }
.profile-grid div strong { color:#444b63; font-size:11px; }
.connection-row { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:8px; padding:12px; border:1px solid var(--line); border-radius:9px; }
.connection-row strong, .connection-row small { display:block; }
.connection-row strong { color:#424960; font-size:10px; }
.connection-row small { margin-top:4px; color:#9a9ead; font-size:9px; }
.disabled-panel { padding:13px; border-radius:9px; color:#8b90a1; background:#f7f7f9; font-size:10px; }

/* My Content calendar */
.calendar-summary { grid-template-columns:repeat(3,minmax(0,1fr)); margin:12px 0 9px; }
.calendar-summary .metric { min-height:95px; }
.calendar-demo-note { display:flex; align-items:center; gap:9px; margin:0 0 13px; color:#858a9c; font-size:9px; }
.calendar-card { padding:18px 20px 13px; }
.calendar-toolbar, .calendar-panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.calendar-toolbar { margin-bottom:13px; }
.calendar-toolbar h2, .calendar-panel-head h2 { margin:5px 0 0; font-size:16px; }
.calendar-controls { display:flex; gap:7px; }
.calendar-controls .btn { min-width:36px; font-size:18px; line-height:1; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.calendar-weekday { padding:7px 2px; color:#9297a8; text-align:center; font-size:9px; font-weight:700; }
.calendar-day { position:relative; display:flex; min-width:0; min-height:68px; flex-direction:column; align-items:flex-start; padding:9px; border:1px solid transparent; border-radius:10px; color:#444b61; background:#f9f9fb; text-align:left; }
.calendar-day:hover:not(:disabled) { border-color:#cdd3e6; }
.calendar-date-number { font-size:12px; font-weight:700; }
.calendar-day.submitted { border-color:#d5eadc; color:#276c4e; background:#eff8f2; }
.calendar-status-icon { position:absolute; right:8px; bottom:7px; display:grid; width:19px; height:19px; place-items:center; border-radius:50%; color:#fff; background:#358b62; font-size:11px; font-weight:800; }
.calendar-day.past-empty { color:#73798d; background:#f7f7f9; }
.calendar-minus { color:#9ba0ae; background:#eceef2; }
.calendar-day.future { cursor:not-allowed; color:#b8bbc5; background:#f3f3f5; }
.calendar-lock { color:#a9adba; background:#e8e9ed; }
.calendar-day.missed, .calendar-day.voided { color:#8a8f9e; background:#ececef; }
.calendar-day.upcoming { cursor:not-allowed; color:#b8bbc5; background:#f3f3f5; }
.calendar-day.not-in-program { cursor:not-allowed; color:#c9ccd4; background:transparent; border-color:#eef0f3; }
.optional-tag { margin-left:4px; color:var(--muted, #7e8497); font-size:.85em; font-weight:500; }
.missed-label { margin-top:4px; color:#8a8f9e; font-size:8px; font-weight:700; }
.calendar-confirm-copy { margin:0 0 12px; color:var(--ink, #343b52); font-size:12px; font-weight:600; }
.calendar-confirm .submission-links { margin-bottom:12px; }
.calendar-submit-error { margin:0 0 10px; }
.calendar-day.today { border-color:#c9d7f1; color:#315a9c; background:#eff5ff; }
.calendar-day.selected { box-shadow:inset 0 0 0 2px #647cac; }
.calendar-day.submitted.is-today { box-shadow:inset 0 0 0 2px #7c9acf; }
.today-label { margin-top:4px; color:#5474ab; font-size:8px; font-weight:700; }
.calendar-legend { display:flex; flex-wrap:wrap; gap:14px; padding:13px 2px 0; color:#777d90; font-size:9px; }
.calendar-legend > span { display:inline-flex; align-items:center; gap:5px; }
.legend-dot { display:inline-grid; width:16px; height:16px; place-items:center; border-radius:50%; color:#fff; background:#358b62; font-size:9px; font-style:normal; font-weight:700; }
.empty-dot { color:#858b9b; background:#eceef2; }
.today-dot { border:2px solid #8ca8d8; background:#eff5ff; }
.future-dot { background:#e8e9ed; }
.calendar-form-card, .calendar-detail, .calendar-empty-detail { margin-top:13px; padding:19px 20px; }
.calendar-panel-head { margin-bottom:15px; }
.today-pill, .submission-status { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; border-radius:99px; color:#456a9f; background:#edf3ff; font-size:9px; font-weight:700; white-space:nowrap; }
.submission-status { color:#28704f; background:#e8f5ed; }
.submission-links { display:grid; gap:12px; margin:0; }
.submission-links > div { min-width:0; }
.submission-links dt { margin-bottom:4px; color:#858a9d; font-size:9px; font-weight:650; }
.submission-links dd { margin:0; overflow-wrap:anywhere; color:#48516d; font-size:10px; }
.submission-links a { color:#4e679d; }
.submission-note { margin:15px 0 0; padding-top:12px; border-top:1px solid #eff0f4; }
.calendar-detail .hint, .calendar-empty-detail > p:last-child { margin-bottom:0; }
.calendar-empty-detail { border-style:dashed; }
.calendar-empty-detail h2 { margin:5px 0 7px; }
.calendar-empty-detail > p:last-child { color:#7e8497; font-size:11px; }
.calendar-form-card form { display:grid; }
.calendar-form-card .field { display:grid; gap:6px; margin:0 0 5px; color:#545b72; font-size:10px; font-weight:650; }
.calendar-form-card input { width:100%; min-height:42px; padding:10px 12px; border:1px solid #dfe1e8; border-radius:8px; color:#343b52; background:#fff; font-size:11px; }
.calendar-form-card input::placeholder { color:#a3a7b4; }
.field-error { min-height:14px; margin:0 0 8px; color:#a34848; font-size:9px; }
.calendar-submit-row { display:flex; align-items:center; gap:12px; margin-top:2px; }
.calendar-submit-row .btn { min-height:42px; font-size:10px; }
.prototype-note { color:#8b90a1; font-size:9px; line-height:1.55; }

@media (max-width: 760px) {
  .trial-topbar { padding:14px 16px; }
  .trial-top-meta { gap:8px; }
  .trial-top-meta .top-title { display:none; }
  .trial-main { padding:23px 16px 30px; }
  .program-header { padding:12px 16px; }
  .program-nav { padding:0 10px; }
  .program-tab { min-height:46px; padding:0 11px; font-size:10px; }
  .program-page { width:calc(100% - 32px); padding-top:24px; }
  .program-columns { grid-template-columns:1fr; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .earnings-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .metric { min-height:105px; padding:13px; }
  .metric > strong { font-size:20px; }
  .ideas-grid, .resource-grid { grid-template-columns:1fr; }
  .library-toolbar { display:block; }
  .library-toolbar > .btn { margin-top:12px; }
  .category-filters { flex-wrap:nowrap; overflow-x:auto; padding:1px 1px 8px; }
  .weekly-activity { grid-template-columns:repeat(2,1fr); }
  .program-footer { display:block; width:calc(100% - 32px); }
  .program-footer span { display:block; margin-top:5px; }
  .calendar-day { min-height:58px; padding:7px; }
  .calendar-grid { gap:4px; }
  .trial-calendar-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
  .trial-calendar-day { min-height:118px; }
}
@media (max-width: 420px) {
  .trial-calendar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trial-calendar-day { min-height:112px; }
  .trial-calendar-chip { font-size:10px; }
}
@media (max-width: 420px) {
  .role-switcher { gap:4px; font-size:0; }
  .role-switcher select { max-width:116px; }
  .program-role { font-size:9px; }
  .program-header .avatar { width:29px; height:29px; }
  .program-account { gap:7px; }
  h1 { font-size:28px; }
  .overview-progress { padding:16px; }
  .overview-progress .between { align-items:flex-start; font-size:9px; }
  .earnings-metrics { grid-template-columns:1fr; }
  .bonus-row { grid-template-columns:1fr auto; }
  .bonus-row .pill { grid-column:1 / -1; justify-self:start; }
  .profile-grid { grid-template-columns:1fr; }
  .demo-notice { align-items:flex-start; }
  .calendar-summary { gap:6px; }
  .calendar-summary .metric { min-height:88px; padding:11px 9px; }
  .calendar-summary .metric > p { min-height:24px; margin-bottom:6px; font-size:9px; }
  .calendar-summary .metric > strong { font-size:18px; }
  .calendar-summary .metric > small { font-size:8px; }
  .calendar-card { padding:13px 10px 11px; }
  .calendar-day { min-height:49px; padding:6px; border-radius:8px; }
  .missed-label { display:none; }
  .calendar-date-number { font-size:11px; }
  .calendar-status-icon { right:4px; bottom:4px; width:16px; height:16px; font-size:9px; }
  .calendar-legend { gap:8px; font-size:8px; }
  .calendar-form-card, .calendar-detail, .calendar-empty-detail { padding:15px; }
  .calendar-submit-row { align-items:flex-start; flex-direction:column; }
  .calendar-submit-row .btn { width:100%; }
}

@media (max-width: 760px) {
  .auth-main { min-height:calc(100vh - 60px); padding:18px; }
  .auth-card { padding:21px 17px; }
  .trial-top-meta .account-identity { display:none; }
}

/* Verified TikTok connection state in Trial account setup. */
.connection-indicator { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: #16803d; font-size: 12px; font-weight: 700; }
.connection-indicator-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a653; box-shadow: 0 0 0 3px rgba(34, 166, 83, .12); }

/* Shared Toonshow interface language, adapted to the Creator Dashboard's task flows. */
@font-face {
  font-family: Graphik;
  src: url("./assets/fonts/graphik-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Graphik;
  src: url("./assets/fonts/graphik-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Graphik;
  src: url("./assets/fonts/graphik-semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Graphik;
  src: url("./assets/fonts/graphik-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  scrollbar-color: #d9dbd5 transparent;
}
* {
  scrollbar-width: thin;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { border: 2px solid var(--canvas); border-radius: 8px; background: #d9dbd5; }
body {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, .file-button { transition: background-color .14s ease, border-color .14s ease, color .14s ease; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, .file-button:focus-within {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.brand { font-weight: 700; letter-spacing: -.02em; }
.brandmark { border-radius: 8px; color: var(--accent-ink); background: var(--accent); }
h1 { font-size: 29px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
h3 { font-size: 15px; font-weight: 600; }
.card { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: none; }
.eyebrow, .section-kicker { color: var(--soft-muted); font-weight: 600; letter-spacing: .07em; }
.intro { margin-bottom: 22px; }
.intro h1 { margin-top: 8px; }
.intro > p:last-child { max-width: 70ch; color: var(--muted); font-size: 14px; line-height: 1.55; }
.muted, .hint, .body-copy { color: var(--muted); }
.pill, .task-status, .upload-state, .demo-tag, .program-role, .today-pill, .submission-status {
  border-radius: 5px;
  font-weight: 500;
}
.btn, .action, .file-button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d9dbd5;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}
.btn:hover, .action:hover, .file-button:hover { border-color: #aeb2aa; background: #eceee9; opacity: 1; }
.btn.primary, .action:not(.secondary), .file-button.upload-primary {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 600;
}
.btn.primary:hover, .action:not(.secondary):hover, .file-button.upload-primary:hover { border-color: #e8880d; background: #f39212; }
.btn.soft, .action.secondary { border-color: transparent; color: var(--muted); background: transparent; }
.btn.soft:hover, .action.secondary:hover { border-color: var(--line); color: var(--ink); background: #eceee9; }
.btn.danger, .action.danger { border-color: transparent; color: var(--red); background: transparent; }
.btn:disabled, .action:disabled, .file-button:has(input:disabled) { cursor: not-allowed; color: #747b73; background: #e9ebe6; opacity: .7; }
.field span, .field { color: var(--ink); font-size: 12px; font-weight: 500; }
.field input, .field select, .field textarea, .calendar-form-card input {
  min-height: 38px;
  border: 1px solid #d9dbd5;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}
.field input::placeholder, .field textarea::placeholder, .calendar-form-card input::placeholder { color: var(--soft-muted); }
.field input[readonly] { background: #e9ebe6; }
.progress, .overview-progress, .activity-card, .calendar-card { padding: 18px; }
.progress { margin-top: 22px; margin-bottom: 22px; }
.progress .bar, .overview-progress .bar, .activity-card .bar { height: 7px; border-radius: 4px; background: #e9ebe6; }
.fill { border-radius: 4px; background: var(--accent); }
.progress-note, .status, .hint, .prototype-note, .site-footer { font-size: 12px; line-height: 1.55; }
.section-head { margin-bottom: 8px; }
.task-list { gap: 8px; }
.task-card { transition: border-color .14s ease, background-color .14s ease; }
.task-card.complete { border-color: var(--green-line); background: #f5faf6; }
.task-toggle { min-height: 82px; gap: 12px; padding: 14px 16px; }
.symbol { width: 38px; height: 38px; flex-basis: 38px; border-radius: 7px; color: var(--accent-strong); background: var(--accent-soft); font-size: 18px; }
.complete .symbol { color: var(--green); background: var(--green-soft); }
.task-title { color: var(--ink); font-size: 13px; font-weight: 600; }
.task-summary { color: var(--muted); font-size: 12px; }
.task-range { color: var(--soft-muted); font-size: 11px; }
.task-status { padding: 4px 7px; color: var(--muted); background: #e9ebe6; font-size: 11px; }
.chevron { color: var(--muted); }
.task-body { padding: 18px 20px 20px; border-top-color: var(--line); }
.body-copy { font-size: 13px; line-height: 1.6; }
.row, .upload-row, .connection-row, .attention-item, .creator-profile-stats > div, .week {
  border-color: var(--line);
  border-radius: 7px;
  box-shadow: none;
}
.row strong, .upload-info strong, .attention-item strong { color: var(--ink); font-size: 12px; font-weight: 600; }
.row small, .upload-info small, .attention-item small, .status { color: var(--muted); font-size: 11px; }
.note, .brief, .disabled-panel, .upload-row--locked, .upload-row--paused, .upload-row--missed, .upload-row--needs-link { background: #e9ebe6; }
.pill, .required-pills .pill, .upload-state, .demo-tag, .program-role {
  padding: 4px 7px;
  color: var(--muted);
  background: #e9ebe6;
  font-size: 11px;
}
.upload-icon { border-radius: 6px; background: #e9ebe6; }
.upload-preview { border-radius: 6px; background: #f6f6f3; }
.field-error, .notice.error { color: var(--red); }
.done-banner { border-color: var(--green-line); border-radius: 8px; color: var(--green); background: #f5faf6; }
.trial-topbar, .program-header {
  min-height: 56px;
  padding: 10px clamp(18px, 3vw, 42px);
  border-color: var(--line);
  background: var(--paper);
}
.trial-main { padding: 28px clamp(18px, 3vw, 42px) 38px; }
.top-title { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.badge { border: 0; border-radius: 6px; color: var(--chip-amber-text); background: var(--chip-amber-bg); font-size: 12px; }
.badge-dot { background: var(--accent); }
.program-header { min-height: 56px; }
.program-role { color: var(--accent-ink); background: var(--accent-soft); }
.program-nav { gap: 2px; padding: 0 clamp(18px, 3vw, 42px); border-color: var(--line); background: var(--paper); }
.program-tab { min-height: 44px; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.program-tab:hover { color: var(--ink); background: #f6f6f3; }
.program-tab.active { border-bottom-color: var(--accent); color: var(--ink); font-weight: 600; }
.program-page { width: min(100% - 40px, 1180px); padding-top: 28px; }
.program-intro { margin-bottom: 20px; }
.program-intro h1 { margin-top: 8px; }
.program-footer { width: min(100% - 40px, 1180px); border-top: 1px solid var(--line); color: var(--muted); }
.metric-grid { gap: 10px; margin: 12px 0; }
.metric { min-height: 108px; padding: 14px; }
.metric > p { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.metric > strong { color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.metric > small { color: var(--soft-muted); font-size: 11px; }
.program-columns { gap: 12px; }
.program-panel, .chart-card, .tier-card, .table-card { padding: 16px; }
.program-panel h2, .chart-card h2, .tier-card h2, .table-card h2 { margin: 4px 0 8px; }
.program-panel > p, .program-panel > ul { color: var(--muted); font-size: 13px; line-height: 1.55; }
.attention-item { min-height: 56px; margin-top: 7px; padding: 10px; background: var(--paper); }
.attention-icon { border-radius: 6px; color: var(--accent-strong); background: var(--accent-soft); }
.attention-icon.violet { color: #5746ae; background: #eeeafd; }
.overview-progress h2 { color: var(--ink); font-size: 23px; }
.overview-progress h2 span { color: var(--muted); font-size: 13px; }
.overview-progress .between { color: var(--muted); font-size: 12px; }
.section-kicker { font-size: 10px; }
.content-sections { gap: 14px; border-color: var(--line); }
.content-section { min-height: 42px; color: var(--muted); font-size: 12px; font-weight: 500; }
.content-section.selected { border-bottom-color: var(--accent); color: var(--ink); font-weight: 600; }
.filter-chip { min-height: 32px; padding: 6px 10px; border-color: var(--line); border-radius: 6px; color: var(--muted); background: var(--paper); font-size: 11px; }
.filter-chip.active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.idea-open { background: var(--paper); }
.idea-open strong, .idea-category { color: var(--ink); }
.idea-open > span:nth-of-type(2), .idea-details p { color: var(--muted); font-size: 12px; }
.idea-chevron { color: var(--muted); }
.week { background: var(--paper); }
.week > span, .week > strong { color: var(--muted); font-size: 11px; }
.week-bars i { border-radius: 2px 2px 0 0; background: #e8880d; }
.chart-line, .chart-dot { stroke: var(--accent-strong); fill: var(--accent-strong); }
.calendar-day { border-radius: 6px; color: var(--ink); background: #f6f6f3; }
.calendar-day:hover:not(:disabled) { border-color: var(--accent-strong); }
.calendar-day.selected, .calendar-day.submitted.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.calendar-day.today { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }
.calendar-day.submitted { border-color: #c4dfcc; color: var(--green); background: #edf6ef; }
.calendar-day.future { color: #747b73; background: #e9ebe6; }
.calendar-day.upcoming { color: #747b73; background: #e9ebe6; }
.calendar-day.missed, .calendar-day.voided { color: #8b8f88; background: #ecedea; }
.calendar-day.not-in-program { color: #b3b6b0; background: transparent; border-color: #ecedea; }
.calendar-day.missed .calendar-status-icon, .calendar-day.voided .calendar-status-icon { color: #6f746c; background: #d9dbd6; }
.calendar-status-icon { background: var(--green); }
.today-pill { color: var(--accent-ink); background: var(--accent-soft); }
.submission-status { color: var(--green); background: var(--green-soft); }
.calendar-legend, .calendar-demo-note { color: var(--muted); font-size: 11px; }
.calendar-submit-row .btn { min-height: 36px; }
.auth-shell { background: var(--canvas); }
.auth-main { min-height: calc(100vh - 56px); }
.auth-card { padding: 28px; }
.auth-card h1 { font-size: clamp(26px, 4vw, 32px); }
.auth-card form { gap: 14px; }
.text-button { color: var(--accent-strong); font-size: 12px; }
.password-toggle:hover { color: var(--ink); background: #e9ebe6; }
.prototype-note, .site-footer { color: var(--soft-muted); }

@media (max-width: 760px) {
  .trial-main { padding: 22px 16px 30px; }
  .program-header { padding: 11px 16px; }
  .program-nav { padding: 0 10px; }
  .program-tab { min-height: 43px; padding: 0 10px; font-size: 11px; }
  .program-page { width: calc(100% - 32px); padding-top: 22px; }
  .program-columns { grid-template-columns: 1fr; }
  .program-footer { width: calc(100% - 32px); }
  .trial-calendar-day { min-height: 112px; }
}
@media (max-width: 420px) {
  .trial-topbar { padding: 12px 16px; }
  .program-header { gap: 10px; }
  .program-account { min-width: 0; gap: 7px; }
  .program-account .account-identity { display: none; }
  .program-account .portal-signout { min-height: 32px; padding: 5px 8px; }
  .program-header .avatar { width: 30px; height: 30px; }
  .program-role { font-size: 10px; }
  h1 { font-size: 27px; }
  .task-toggle { min-height: 76px; gap: 9px; padding: 12px; }
  .task-status { padding: 3px 6px; font-size: 10px; }
  .trial-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Accessible light and dark state colors shared with the Team Platform. */
:root {
  --chip-neutral-bg: #e9ebe6;
  --chip-neutral-text: #5d635c;
  --chip-green-bg: #e4f3e9;
  --chip-green-text: #17603b;
  --chip-amber-bg: #fff0dc;
  --chip-amber-text: #774400;
  --chip-red-bg: #fbe5e6;
  --chip-red-text: #8c1e2a;
  --chip-blue-bg: #e4f0f8;
  --chip-blue-text: #174c70;
  --chip-purple-bg: #eee9ff;
  --chip-purple-text: #4e3a87;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #fafafa;
  --muted: #a3a3a3;
  --soft-muted: #8f8f8f;
  --line: #262626;
  --paper: #171717;
  --canvas: #121212;
  --accent: #f56906;
  --accent-strong: #f9a56a;
  --accent-ink: #121212;
  --accent-soft: #311501;
  --green: #83d4a1;
  --green-soft: #24362a;
  --green-line: #3f624c;
  --red: #ff9ca4;
  --chip-neutral-bg: #282d2e;
  --chip-neutral-text: #c0c6c0;
  --chip-green-bg: #24362a;
  --chip-green-text: #a5d9b4;
  --chip-amber-bg: #3b2b19;
  --chip-amber-text: #f1c16d;
  --chip-red-bg: #3d272a;
  --chip-red-text: #f2a0a5;
  --chip-blue-bg: #253641;
  --chip-blue-text: #9fcdf2;
  --chip-purple-bg: #352950;
  --chip-purple-text: #d7c9ff;
  scrollbar-color: #3a3a3a transparent;
}
:root[data-theme="dark"] *,
:root[data-theme="dark"] *::before,
:root[data-theme="dark"] *::after { scrollbar-color: #3a3a3a transparent; }
:root[data-theme="dark"] *::-webkit-scrollbar-thumb { border-color: var(--canvas); background: #3a3a3a; }
:root[data-theme="dark"] body,
:root[data-theme="dark"] .auth-shell,
:root[data-theme="dark"] .program-shell { color: var(--ink); background: var(--canvas); }
:root[data-theme="dark"] .trial-topbar,
:root[data-theme="dark"] .program-header,
:root[data-theme="dark"] .program-nav,
:root[data-theme="dark"] .auth-card,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .attention-item,
:root[data-theme="dark"] .idea-open,
:root[data-theme="dark"] .week { color: var(--ink); background: var(--paper); border-color: var(--line); }
:root[data-theme="dark"] .program-tab:hover,
:root[data-theme="dark"] .btn.soft:hover,
:root[data-theme="dark"] .action.secondary:hover,
:root[data-theme="dark"] .password-toggle:hover { color: var(--ink); background: #292f30; }
:root[data-theme="dark"] .btn,
:root[data-theme="dark"] .action,
:root[data-theme="dark"] .file-button,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .calendar-form-card input,
:root[data-theme="dark"] .role-switcher select { color: var(--ink); background: var(--paper); border-color: #3a3a3a; }
:root[data-theme="dark"] .btn.primary,
:root[data-theme="dark"] .action:not(.secondary),
:root[data-theme="dark"] .file-button.upload-primary,
:root[data-theme="dark"] .btn.primary:hover,
:root[data-theme="dark"] .action:not(.secondary):hover,
:root[data-theme="dark"] .file-button.upload-primary:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .btn:disabled,
:root[data-theme="dark"] .action:disabled,
:root[data-theme="dark"] .field input:disabled,
:root[data-theme="dark"] .field select:disabled { color: #8f8f8f; background: #212121; border-color: #262626; }
:root[data-theme="dark"] .field input[readonly] { color: var(--muted); background: #212121; }
:root[data-theme="dark"] .field input[aria-invalid="true"] { border-color: var(--red); }
:root[data-theme="dark"] .field span,
:root[data-theme="dark"] .field,
:root[data-theme="dark"] .row strong,
:root[data-theme="dark"] .task-title,
:root[data-theme="dark"] .headtext,
:root[data-theme="dark"] .metric > strong,
:root[data-theme="dark"] .program-panel h2,
:root[data-theme="dark"] .overview-progress h2,
:root[data-theme="dark"] .week > strong,
:root[data-theme="dark"] .profile-grid div strong,
:root[data-theme="dark"] .connection-row strong,
:root[data-theme="dark"] .resource-card li button { color: var(--ink); }
:root[data-theme="dark"] .portal-label,
:root[data-theme="dark"] .side-section,
:root[data-theme="dark"] .top-title,
:root[data-theme="dark"] .muted,
:root[data-theme="dark"] .hint,
:root[data-theme="dark"] .body-copy,
:root[data-theme="dark"] .task-summary,
:root[data-theme="dark"] .task-range,
:root[data-theme="dark"] .chevron,
:root[data-theme="dark"] .row small,
:root[data-theme="dark"] .upload-info small,
:root[data-theme="dark"] .upload-guidance,
:root[data-theme="dark"] .progress-note,
:root[data-theme="dark"] .status,
:root[data-theme="dark"] .intro > p:last-child,
:root[data-theme="dark"] .program-panel > p,
:root[data-theme="dark"] .program-panel > ul,
:root[data-theme="dark"] .metric > p,
:root[data-theme="dark"] .metric > small,
:root[data-theme="dark"] .overview-progress .between,
:root[data-theme="dark"] .overview-progress h2 span,
:root[data-theme="dark"] .activity-total span,
:root[data-theme="dark"] .week > span,
:root[data-theme="dark"] .tier-card > p,
:root[data-theme="dark"] .tier-card .between,
:root[data-theme="dark"] .chart-card p,
:root[data-theme="dark"] .table-card > .between p,
:root[data-theme="dark"] .earnings-total,
:root[data-theme="dark"] .bonus-row strong,
:root[data-theme="dark"] .bonus-row small,
:root[data-theme="dark"] .profile-grid div span,
:root[data-theme="dark"] .connection-row small,
:root[data-theme="dark"] .disabled-panel,
:root[data-theme="dark"] .idea-open > span:nth-of-type(2),
:root[data-theme="dark"] .idea-details p,
:root[data-theme="dark"] .empty-panel p,
:root[data-theme="dark"] .calendar-demo-note,
:root[data-theme="dark"] .calendar-legend,
:root[data-theme="dark"] .submission-links dt,
:root[data-theme="dark"] .submission-links dd,
:root[data-theme="dark"] .calendar-empty-detail > p:last-child,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .prototype-note { color: var(--muted); }
:root[data-theme="dark"] .account-identity small,
:root[data-theme="dark"] .field-help,
:root[data-theme="dark"] .field span small { color: var(--soft-muted); }
:root[data-theme="dark"] .task-card.complete,
:root[data-theme="dark"] .done-banner { border-color: var(--green-line); background: #1d2921; }
:root[data-theme="dark"] .done-banner,
:root[data-theme="dark"] .complete .symbol { color: var(--green); }
:root[data-theme="dark"] .complete .symbol,
:root[data-theme="dark"] .upload-icon--submitted,
:root[data-theme="dark"] .upload-state--submitted,
:root[data-theme="dark"] .submission-status { color: var(--chip-green-text); background: var(--chip-green-bg); }
:root[data-theme="dark"] .task-status,
:root[data-theme="dark"] .upload-state,
:root[data-theme="dark"] .upload-state--locked,
:root[data-theme="dark"] .upload-state--paused,
:root[data-theme="dark"] .upload-state--missed,
:root[data-theme="dark"] .upload-icon--locked,
:root[data-theme="dark"] .upload-icon--needs-link,
:root[data-theme="dark"] .upload-icon--paused,
:root[data-theme="dark"] .upload-icon--missed,
:root[data-theme="dark"] .pill.gray,
:root[data-theme="dark"] .disabled-panel,
:root[data-theme="dark"] .program-role { color: var(--chip-neutral-text); background: var(--chip-neutral-bg); }
:root[data-theme="dark"] .trial-calendar-chip.setup,
:root[data-theme="dark"] .trial-calendar-chip.warmup,
:root[data-theme="dark"] .attention-icon { color: var(--chip-amber-text); background: var(--chip-amber-bg); }
:root[data-theme="dark"] .trial-calendar-chip.publish,
:root[data-theme="dark"] .attention-icon.violet,
:root[data-theme="dark"] .demo-tag { color: var(--chip-purple-text); background: var(--chip-purple-bg); border-color: #4b3b6b; }
:root[data-theme="dark"] .program-role,
:root[data-theme="dark"] .today-pill,
:root[data-theme="dark"] .calendar-day.today { color: var(--chip-blue-text); background: var(--chip-blue-bg); }
:root[data-theme="dark"] .upload-state--uploading,
:root[data-theme="dark"] .upload-icon--uploading { color: var(--chip-blue-text); background: var(--chip-blue-bg); }
:root[data-theme="dark"] .notice.error,
:root[data-theme="dark"] .field-error,
:root[data-theme="dark"] .btn.danger { color: var(--chip-red-text); }
:root[data-theme="dark"] .notice.error { border-color: #6e4148; background: var(--chip-red-bg); }
:root[data-theme="dark"] .note,
:root[data-theme="dark"] .brief,
:root[data-theme="dark"] .disabled-panel,
:root[data-theme="dark"] .upload-row--locked,
:root[data-theme="dark"] .upload-row--paused,
:root[data-theme="dark"] .upload-row--missed,
:root[data-theme="dark"] .upload-row--needs-link,
:root[data-theme="dark"] .upload-preview,
:root[data-theme="dark"] .bar,
:root[data-theme="dark"] .progress .bar,
:root[data-theme="dark"] .overview-progress .bar,
:root[data-theme="dark"] .activity-card .bar { color: var(--muted); background: #212121; }
:root[data-theme="dark"] .upload-icon,
:root[data-theme="dark"] .symbol,
:root[data-theme="dark"] .task-status,
:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .upload-state { border-color: transparent; }
:root[data-theme="dark"] .upload-preview img, :root[data-theme="dark"] .upload-preview video { border-color: #3a3a3a; background: #171717; }
:root[data-theme="dark"] .optional-tag { background: #262626; }
:root[data-theme="dark"] .trial-calendar-day { color: var(--ink); border-color: #262626; background: #1f1f1f; }
:root[data-theme="dark"] .trial-calendar-day.warmup-day { border-color: #59452d; background: #211f1b; }
:root[data-theme="dark"] .trial-calendar-day.publish-day { border-color: #44385f; background: #211f2a; }
:root[data-theme="dark"] .trial-calendar-day-label,
:root[data-theme="dark"] .trial-calendar-day time,
:root[data-theme="dark"] .trial-calendar-deadline { color: var(--muted); }
:root[data-theme="dark"] .trial-calendar-today { color: var(--chip-blue-text); }
:root[data-theme="dark"] .trial-calendar-note,
:root[data-theme="dark"] .submission-note { border-color: var(--line); color: var(--muted) !important; }
:root[data-theme="dark"] .trial-calendar-note { border: 0; font-size: 12px !important; }
:root[data-theme="dark"] .content-sections,
:root[data-theme="dark"] .earnings-total,
:root[data-theme="dark"] .bonus-row,
:root[data-theme="dark"] .resource-card li,
:root[data-theme="dark"] .calendar-detail .submission-note { border-color: var(--line); }
:root[data-theme="dark"] .filter-chip { color: var(--muted); border-color: var(--line); background: var(--paper); }
:root[data-theme="dark"] .filter-chip.active { color: var(--accent-strong); border-color: #80541e; background: var(--accent-soft); }
:root[data-theme="dark"] .content-section.selected { color: var(--ink); border-bottom-color: var(--accent); }
:root[data-theme="dark"] .calendar-day,
:root[data-theme="dark"] .calendar-day.past-empty { color: var(--muted); background: #171717; }
:root[data-theme="dark"] .calendar-day.today { border-color: #45617a; }
:root[data-theme="dark"] .calendar-day.submitted { color: var(--chip-green-text); border-color: #355944; background: var(--chip-green-bg); }
:root[data-theme="dark"] .calendar-day.future { color: #8f8f8f; background: #212121; }
:root[data-theme="dark"] .calendar-day.upcoming { color: #8f8f8f; background: #212121; }
:root[data-theme="dark"] .calendar-day.missed, :root[data-theme="dark"] .calendar-day.voided { color: #8a8a8a; background: #191919; border-color: #2c2c2c; }
:root[data-theme="dark"] .calendar-day.missed .calendar-status-icon, :root[data-theme="dark"] .calendar-day.voided .calendar-status-icon { color: #bdbdbd; background: #3a3a3a; }
:root[data-theme="dark"] .calendar-day.not-in-program { color: #555; background: transparent; border-color: #222; }
:root[data-theme="dark"] .missed-label { color: #7a7a7a; }
:root[data-theme="dark"] .calendar-status-icon { color: #17221b; background: var(--green); }
:root[data-theme="dark"] .calendar-minus,
:root[data-theme="dark"] .calendar-lock,
:root[data-theme="dark"] .empty-dot,
:root[data-theme="dark"] .future-dot { color: var(--muted); background: #3b4243; }
:root[data-theme="dark"] .today-dot { border-color: #9fcdf2; background: var(--chip-blue-bg); }
:root[data-theme="dark"] .legend-dot { color: #17221b; background: var(--green); }
:root[data-theme="dark"] .chart-gridline { stroke: #262626; }
:root[data-theme="dark"] .chart-line,
:root[data-theme="dark"] .chart-dot { stroke: var(--accent-strong); fill: var(--accent-strong); }
:root[data-theme="dark"] .week-bars { border-color: var(--line); }
:root[data-theme="dark"] .week-bars i { background: var(--accent-strong); }
:root[data-theme="dark"] .demo-notice { color: var(--chip-purple-text); border-color: #4b3b6b; background: var(--chip-purple-bg); }
:root[data-theme="dark"] .text-button,
:root[data-theme="dark"] .submission-links a { color: var(--accent-strong); }
:root[data-theme="dark"] .connection-indicator { color: var(--green); }
:root[data-theme="dark"] .connection-indicator-dot { background: var(--green); box-shadow: 0 0 0 3px rgb(131 212 161 / 16%); }
:root[data-theme="dark"] .theme-icon-sun { color: var(--soft-muted); }
:root[data-theme="dark"] .theme-icon-moon { color: var(--accent-strong); }

.theme-toggle {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
}
.theme-toggle:hover { border-color: transparent; color: var(--ink); background: #eceee9; }
.theme-icon { width: 14px; height: 14px; flex: none; color: var(--soft-muted); }
.theme-icon-sun { color: var(--accent-strong); }
.theme-switch-track {
  position: relative;
  width: 30px;
  height: 17px;
  flex: none;
  border: 1px solid #d9dbd5;
  border-radius: 999px;
  background: #dfe1da;
  transition: background-color .15s ease, border-color .15s ease;
}
.theme-switch-track > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #747b73;
  transition: transform .15s ease, background-color .15s ease;
}
.theme-toggle[aria-checked="true"] .theme-switch-track { border-color: var(--accent); background: var(--accent); }
.theme-toggle[aria-checked="true"] .theme-switch-track > span { transform: translateX(13px); background: var(--accent-ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
:root[data-theme="dark"] .theme-toggle:hover { color: var(--ink); background: #292f30; }
:root[data-theme="dark"] .theme-switch-track { border-color: #3a3a3a; background: #2a2a2a; }
:root[data-theme="dark"] .theme-switch-track > span { background: #8f8f8f; }
.auth-title-product { white-space: nowrap; }
@media (max-width: 760px) {
  .trial-top-meta { gap: 7px; }
}
@media (max-width: 420px) {
  .trial-top-meta { gap: 5px; }
  .trial-top-meta .theme-toggle { gap: 5px; padding-inline: 2px; }
  .trial-top-meta .theme-icon { width: 12px; height: 12px; }
  .program-account .theme-toggle { gap: 5px; padding-inline: 2px; }
  .program-account .theme-icon { width: 12px; height: 12px; }
}

:root[data-theme="dark"] .task-body,
:root[data-theme="dark"] .row,
:root[data-theme="dark"] .upload-row,
:root[data-theme="dark"] .day,
:root[data-theme="dark"] .brief { color: var(--ink); border-color: var(--line); background: var(--paper); }
:root[data-theme="dark"] .row small,
:root[data-theme="dark"] .upload-row small,
:root[data-theme="dark"] .upload-guidance { color: var(--muted); }
:root[data-theme="dark"] .pill { color: var(--chip-neutral-text); background: var(--chip-neutral-bg); }
:root[data-theme="dark"] .day { color: var(--muted); background: #212121; }
:root[data-theme="dark"] .day.selected { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-soft); }
:root[data-theme="dark"] .day.done { color: var(--chip-green-text); border-color: #355944; background: var(--chip-green-bg); }
:root[data-theme="dark"] .uploading-indicator { color: var(--chip-blue-text); }
:root[data-theme="dark"] .upload-spinner { border-color: #465051; border-top-color: var(--chip-blue-text); }
@media (max-width: 420px) {
  .trial-top-meta .account-identity { display: none; }
}
:root[data-theme="dark"] .badge { color: var(--chip-amber-text); background: var(--chip-amber-bg); }
@media (max-width: 420px) {
  .trial-topbar { padding-right: 12px; padding-left: 12px; }
  .trial-topbar .brand { gap: 7px; padding-right: 3px; padding-left: 3px; font-size: 14px; }
  .trial-top-meta { gap: 3px; }
  .trial-top-meta .badge { padding: 6px 8px; font-size: 10px; }
  .trial-top-meta .portal-signout { min-height: 32px; padding: 5px 8px; font-size: 11px; }
}

/* Let the schedule sit on its surface without an extra frame. */
.trial-schedule-panel,
.trial-active-summary { border: 0; }

/* Publishing day states use quiet, borderless surfaces in both themes. */
:root {
  --day-selected-bg: #d5e8f6;
  --day-selected-text: #143f5e;
}
:root[data-theme="dark"] {
  --day-selected-bg: #304d60;
  --day-selected-text: #b8ddf7;
}
.day,
.day.scheduled {
  border: 0;
  color: var(--chip-blue-text);
  background: var(--chip-blue-bg);
}
.day span { color: var(--muted); font-size: 10px; }
.day strong { color: inherit; font-size: 12px; font-weight: 500; }
.day.selected:not(.done):not(.missed) {
  color: var(--day-selected-text);
  background: var(--day-selected-bg);
}
.day:focus-visible { outline-color: var(--chip-blue-text); }
.day.done {
  border: 0;
  color: var(--chip-green-text);
  background: var(--chip-green-bg);
}
.day.missed {
  border: 0;
  color: var(--chip-amber-text);
  background: var(--chip-amber-bg);
}
.brief.brief--submitted {
  border: 0;
  color: var(--chip-neutral-text);
  background: var(--chip-neutral-bg);
  box-shadow: none;
}
.brief--submitted .between strong { color: var(--ink); }
.brief--submitted p { color: var(--chip-neutral-text); }
.brief--submitted .pill {
  padding: 4px 7px;
  color: var(--chip-green-text);
  background: var(--chip-green-bg);
}
:root[data-theme="dark"] .day,
:root[data-theme="dark"] .day.scheduled {
  border: 0;
  color: var(--chip-blue-text);
  background: var(--chip-blue-bg);
}
:root[data-theme="dark"] .day.selected:not(.done):not(.missed) {
  color: var(--day-selected-text);
  background: var(--day-selected-bg);
}
:root[data-theme="dark"] .day.done {
  border: 0;
  color: var(--chip-green-text);
  background: var(--chip-green-bg);
}
:root[data-theme="dark"] .day.missed {
  border: 0;
  color: var(--chip-amber-text);
  background: var(--chip-amber-bg);
}
:root[data-theme="dark"] .brief.brief--submitted {
  color: var(--chip-neutral-text);
  background: var(--chip-neutral-bg);
}
:root[data-theme="dark"] .brief--submitted .pill {
  color: var(--chip-green-text);
  background: var(--chip-green-bg);
}
:root[data-theme="dark"] .day:focus-visible { outline-color: var(--chip-blue-text); }
@media (max-width: 760px) {
  .day strong { font-size: 11px; }
}

/* Checklist controls share an aligned edge and semantic status colors. */
.task-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-right: 12px;
}
.task-status { border-radius: 999px; }
.task-status--ready { color: var(--chip-blue-text); background: var(--chip-blue-bg); }
.task-status--failed { color: var(--chip-red-text); background: var(--chip-red-bg); }
.task-status--in-progress { color: var(--chip-amber-text); background: var(--chip-amber-bg); }
.task-status--complete { color: var(--chip-green-text); background: var(--chip-green-bg); }
.task-status--locked { color: var(--chip-neutral-text); background: var(--chip-neutral-bg); }
.chevron-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}
:root[data-theme="dark"] .task-status--ready { color: var(--chip-blue-text); background: var(--chip-blue-bg); }
:root[data-theme="dark"] .task-status--failed { color: var(--chip-red-text); background: var(--chip-red-bg); }
:root[data-theme="dark"] .task-status--in-progress { color: var(--chip-amber-text); background: var(--chip-amber-bg); }
:root[data-theme="dark"] .task-status--complete { color: var(--chip-green-text); background: var(--chip-green-bg); }
:root[data-theme="dark"] .task-status--locked { color: var(--chip-neutral-text); background: var(--chip-neutral-bg); }

/* Trial tutorial tab */
.trial-tabs { margin: 0 0 22px; }
.tutorial-steps { display: grid; gap: 12px; }
.tutorial-step { padding: 20px 22px; scroll-margin-top: 16px; }
.tutorial-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tutorial-step-head h2 { margin: 0; font-size: 16px; }
.tutorial-step-head h2:focus { outline: none; }
.tutorial-step-number { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 13px; font-weight: 700; }
.tutorial-step-body { max-width: 720px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.tutorial-step-body p { margin: 0 0 10px; }
.tutorial-step-body ul { margin: 0 0 10px; padding-left: 20px; }
.tutorial-step-body li { margin: 0 0 6px; }
.tutorial-step-body strong { color: var(--ink); font-weight: 600; }
.tutorial-step-body > :last-child { margin-bottom: 0; }
.tutorial-step-body .note { margin: 12px 0; font-size: 12px; }
.tutorial-task-link { margin-top: 14px; border-color: var(--line); color: var(--ink); }
.instagram-creator-note { margin: 0 0 12px; font-size: 12px; }
.instagram-creator-note .text-button { padding: 0; font-size: 12px; }
@media (max-width: 740px) {
  .trial-tabs { margin-bottom: 16px; }
  .tutorial-step { padding: 16px; }
  .tutorial-step-body { font-size: 12px; }
}

/* Toonshow brand lockup */
.brand { gap: 10px; }
.brand-mark { display: block; width: 30px; height: 30px; flex: none; border-radius: 8px; }
.brand-wordmark { display: block; width: 100px; height: auto; filter: brightness(0); opacity: .9; }
:root[data-theme="dark"] .brand-wordmark { filter: none; opacity: 1; }
@media (max-width: 420px) {
  .brand-mark { width: 26px; height: 26px; }
  .brand-wordmark { width: 84px; }
}

/* Contextual Trial guidance */
.guide-highlight { position: relative; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); animation: guide-pulse-ring 2.4s ease-in-out infinite; }
.task-card.guide-highlight { border-color: var(--accent); }
.trial-calendar-day.guide-highlight { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
@keyframes guide-pulse-ring {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
  50% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 9px color-mix(in srgb, var(--accent) 8%, transparent); }
}
.trial-calendar-day.guide-highlight { animation: none; }
.guide-tag { margin: 2px 0 4px; padding: 2px 7px; border-radius: 20px; color: var(--accent-ink); background: var(--accent); font-size: 10px; font-weight: 600; white-space: nowrap; }
.guide-callout { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 12px; color: var(--ink); background: var(--accent-soft); animation: guide-fade-in .4s ease-out both; }
.guide-callout-icon { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 14px; font-weight: 700; }
.guide-callout-text strong { display: block; margin-bottom: 3px; font-size: 14px; }
.guide-callout-text p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.55; }
.guide-callout-text .guide-callout-missed { margin-top: 6px; color: var(--muted); }
.guide-callout--day_done .guide-callout-icon, .guide-callout--complete .guide-callout-icon { color: #fff; background: var(--green); }
:root[data-theme="dark"] .guide-callout--day_done .guide-callout-icon, :root[data-theme="dark"] .guide-callout--complete .guide-callout-icon { color: #121212; }
.intro + .guide-callout { margin: -6px 0 18px; }
.guide-progress-callout { display: flex; gap: 10px; align-items: center; margin: -16px 0 22px; padding: 10px 14px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; color: var(--ink); background: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.guide-progress-callout.is-visible { opacity: 1; transform: none; }
.guide-progress-callout p { margin: 0; font-size: 12px; line-height: 1.5; }
.guide-progress-callout .guide-callout-icon { width: 22px; height: 22px; flex-basis: 22px; font-size: 12px; }
.section-head.guide-pulse { animation: guide-heading-pulse 1.6s ease-out 2; border-radius: 8px; }
@keyframes guide-heading-pulse { 0% { background: transparent; } 40% { background: var(--accent-soft); } 100% { background: transparent; } }
@keyframes guide-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.guide-float { position: fixed; bottom: 20px; left: 50%; z-index: 30; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; color: var(--accent-ink); background: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); font-size: 13px; font-weight: 600; transform: translateX(-50%); animation: guide-float-in .35s ease-out both; }
.guide-float[hidden] { display: none; }
.guide-float span { animation: guide-bounce 1.4s ease-in-out infinite; }
@keyframes guide-float-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes guide-bounce { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }

/* Info tips */
.with-info { display: inline-flex; align-items: center; gap: 6px; }
.info-tip { position: relative; display: inline-flex; align-items: center; vertical-align: middle; }
.info-tip-button { display: grid; width: 20px; height: 20px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--paper); font: 600 11px/1 Georgia, serif; font-style: italic; }
.info-tip-button:hover, .info-tip.open .info-tip-button { border-color: var(--accent); color: var(--accent-strong); }
.info-tip-panel { position: absolute; top: calc(100% + 8px); left: 50%; z-index: 40; display: none; width: min(280px, 80vw); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); box-shadow: 0 10px 30px rgba(0, 0, 0, .16); font-size: 12px; font-weight: 400; line-height: 1.55; letter-spacing: normal; text-align: left; white-space: normal; transform: translateX(-50%); }
.info-tip:hover .info-tip-panel, .info-tip:has(.info-tip-button:focus-visible) .info-tip-panel, .info-tip:has(.info-tip-more:focus-visible) .info-tip-panel, .info-tip.open .info-tip-panel { display: block; }
.info-tip-panel::before { content: ""; position: absolute; top: -10px; right: 0; left: 0; height: 10px; }
.info-tip-more { display: inline; padding: 0; font-size: 12px; }
.task-heading-row { display: flex; align-items: center; }
.task-heading-row .task-heading { flex: 1; min-width: 0; }
.task-heading-row > .info-tip { padding-right: 16px; }
.task-heading-row > .info-tip .info-tip-panel { top: 50%; right: calc(100% + 10px); left: auto; transform: translateY(-50%); }
.task-heading-row > .info-tip .info-tip-panel::before { top: 0; right: -12px; bottom: 0; left: auto; width: 12px; height: auto; }
.trial-calendar-heading h2 { display: flex; align-items: center; gap: 8px; }
:root[data-theme="dark"] .info-tip-panel { box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* Notifications */
.notify { position: relative; }
.notify-button { position: relative; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); }
.notify-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notify-badge { position: absolute; top: -4px; right: -4px; display: grid; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border-radius: 999px; color: var(--accent-ink); background: var(--accent); font-size: 10px; font-weight: 700; }
.notify-button--urgent .notify-badge { color: #fff; background: var(--red); }
:root[data-theme="dark"] .notify-button--urgent .notify-badge { color: #121212; }
.notify-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; width: min(340px, calc(100vw - 32px)); padding: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.notify-panel[hidden] { display: none; }
.notify-head { display: grid; gap: 2px; margin-bottom: 10px; }
.notify-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notify-item { padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--canvas); }
.notify-item--urgent { border-left-color: var(--red); }
.notify-item strong { display: block; color: var(--ink); font-size: 13px; }
.notify-item p { margin: 3px 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.notify-item .text-button { padding: 0; font-size: 12px; }
.notify-empty { margin: 0; color: var(--muted); font-size: 12px; }
@media (max-width: 420px) {
  .notify-panel { position: fixed; top: 60px; right: 16px; left: 16px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-highlight, .guide-callout, .guide-float, .guide-float span, .section-head.guide-pulse { animation: none !important; }
  .guide-progress-callout { transition: none; }
}

/* Task cards let info tips overflow; inner sections keep the rounded corners. */
.task-card { overflow: visible; }
.task-card .task-body { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.task-card:has(.info-tip.open, .info-tip:hover, .info-tip-button:focus-visible) { position: relative; z-index: 5; }

/* Mainline brand pass: charts, tables and selects use the brand tokens in both themes. */
.chart-gridline { stroke: var(--line); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 3; }
.chart-dot { fill: var(--accent); stroke: var(--paper); stroke-width: 2; }
:root[data-theme="dark"] .chart-gridline { stroke: var(--line); }
:root[data-theme="dark"] .chart-line { fill: none; stroke: var(--accent); }
:root[data-theme="dark"] .chart-dot { fill: var(--accent); stroke: var(--paper); }
.chart-labels, .chart-card p, .table-card > .between p { color: var(--soft-muted); font-size: 11px; }
.select-label { color: var(--soft-muted); font-size: 11px; }
.select-label select, .role-switcher select { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 12px; }
:root[data-theme="dark"] .select-label select { border-color: #3a3a3a; color: var(--ink); background: var(--paper); }
th { padding: 10px 9px; border-bottom: 1px solid var(--line); color: var(--soft-muted); font-size: 10px; letter-spacing: .06em; }
td { padding: 12px 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
td strong { color: var(--ink); font-size: 12px; font-weight: 600; }
:root[data-theme="dark"] th { border-color: var(--line); color: var(--soft-muted); }
:root[data-theme="dark"] td { border-color: var(--line); color: var(--muted); }
:root[data-theme="dark"] td strong { color: var(--ink); }

/* Minimal tabs everywhere: no background fill, only text colour and the orange underline. */
.program-tab, .program-tab:hover, .program-tab.active,
:root[data-theme="dark"] .program-tab:hover,
.content-section, .content-section:hover, .content-section.selected { background: transparent; }
.program-tab:hover, .content-section:hover { color: var(--ink); }

/* Instagram Creator account notice with the Instagram logo on the left. */
.instagram-creator-note { display: flex; align-items: flex-start; gap: 10px; }
.instagram-logo { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }

/* Review round 2 */
/* Schedule plan: one line per phase with a bold label, then the deadline rule. */
.trial-plan { display: grid; gap: 8px; max-width: 72ch; margin: 28px 0 8px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.6; }
.trial-plan strong { color: var(--ink); font-weight: 600; }
.trial-plan + .trial-calendar-note { margin-top: 0; }

/* How the trial works: sticky step navigation with an underline for the step being read. */
.tutorial-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; margin: 0 0 18px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--canvas); scrollbar-width: none; }
.tutorial-nav::-webkit-scrollbar { display: none; }
.tutorial-nav ol { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tutorial-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tutorial-nav a:hover { color: var(--ink); }
.tutorial-nav a[aria-current="step"] { border-bottom-color: var(--accent); color: var(--ink); font-weight: 600; }
.tutorial-nav-number { color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.tutorial-step { scroll-margin-top: 64px; }

/* Minimal sign-in: no card chrome, a narrow centred column under the Toonshow mark. */
.auth-topbar { border-bottom-color: transparent; background: transparent; }
:root[data-theme="dark"] .auth-topbar { border-bottom-color: transparent; background: transparent; }
.auth-card, :root[data-theme="dark"] .auth-card { width: min(100%, 380px); padding: 0; border: 0; background: transparent; box-shadow: none; }
.auth-card h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; }
.auth-card .body-copy { margin: 0; font-size: 14px; }
.auth-card form { margin-top: 24px; }
.auth-main { align-content: center; min-height: calc(100vh - 140px); }
/* Room after the last guide step so every step can settle at eye level. */
.tutorial-steps { padding-bottom: 40vh; }
.program-panel > .trial-plan { padding: 0; }
.program-panel > .trial-plan li { padding-left: 0; }
.auth-card .body-copy { text-wrap: balance; }

/* Review round 3 */
/* Start Trial with its 6 PM rule beside it. */
.start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.start-row .start-hint { margin: 0; flex: 1 1 220px; }

/* How the trial works: on wide screens the step nav is a floating panel on the left that follows the reader. */
@media (min-width: 900px) {
  .tutorial-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }
  .tutorial-nav { top: calc(env(safe-area-inset-top, 0px) + 20px); margin: 0; padding: 8px; overflow: visible; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  .tutorial-nav ol { flex-direction: column; gap: 2px; }
  .tutorial-nav a { display: flex; min-height: 36px; padding: 6px 10px; border-bottom: 0; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; white-space: normal; line-height: 1.3; }
  .tutorial-nav a:hover { background: var(--canvas); }
  .tutorial-nav a[aria-current="step"] { border-left-color: var(--accent); background: var(--canvas); }
  .tutorial-step { scroll-margin-top: 20px; }
}
.hint .text-button { padding: 0; font-size: inherit; }

/* Review round 4: one link field per platform, logo beside each label, Submit to the right. */
.platform-logo { width: 20px; height: 20px; flex: 0 0 20px; }
.brief .video-row { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.brief .video-row:first-of-type { border-top: 0; padding-top: 4px; }
.video-label-wrap, .video-label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.video-input-row { display: flex; align-items: center; gap: 16px; }
.video-input-row input { flex: 1 1 auto; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); font-size: 13px; }
.video-input-row input[aria-invalid="true"] { border-color: var(--red); }
.video-input-row .btn { flex: none; min-width: 96px; min-height: 42px; }
.video-submitted { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.video-submitted span { color: var(--green); font-weight: 700; }
.brief .video-row .notice { margin: 0; }
@media (max-width: 420px) { .video-input-row { gap: 10px; } .video-input-row .btn { min-width: 84px; } }

/* Session 2 review */
/* Sign-in: one compact block, logo on top with the theme switch beside it, borderless fields. */
.auth-main { min-height: 100vh; padding-block: 48px; }
.auth-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 32px; }
.auth-card-head .brand { padding: 0; }
.auth-card .field input, :root[data-theme="dark"] .auth-card .field input { border: 0; background: var(--paper); box-shadow: none; }
:root[data-theme="dark"] .auth-card .field input { background: #1f1f1f; }
.auth-card .field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-card form .btn.primary { margin-top: 10px; }
.auth-switch .text-button, :root[data-theme="dark"] .auth-switch .text-button { padding: 0; color: var(--accent-strong); font-size: 13px; font-weight: 600; text-decoration: none; }
.auth-switch .text-button:hover, .auth-switch .text-button:focus-visible { color: var(--ink); }
/* Account setup: platform logos beside each connection. */
.connect-name { display: inline-flex; align-items: center; gap: 8px; }
.inline-link { padding: 0; font-size: inherit; }
/* Step 2: nested warm-up details. */
.tutorial-step-body li > ul { margin: 8px 0 0; }
.row.connect-row .connect-name { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; line-height: 1.2; }
.row.connect-row .connect-name .platform-logo { margin: 0; }
.action:disabled { border-color: var(--line); }

/* Trial briefs */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.briefs-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.briefs-brand-label { padding-left: 12px; border-left: 1px solid var(--line); color: var(--soft-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.briefs-intro h1 { margin-top: 10px; }
.briefs-lead { max-width: 60ch; color: var(--ink) !important; font-size: 16px !important; font-weight: 600; line-height: 1.5 !important; }
.briefs-sections { display: grid; gap: 12px; }
.briefs-sections > section { padding: 20px 22px; scroll-margin-top: 64px; }
.briefs-sections h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.01em; }
.brief-samples p { max-width: 70ch; margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.brief-samples p:last-child { margin-bottom: 0; }
.brief-label { color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brief-hook-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brief-hook { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--canvas); }
.brief-number { color: var(--accent-strong); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.brief-hook h3 { margin: 0 0 6px; font-size: 15px; }
.brief-hook p { margin: 0 0 4px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.brief-hook .brief-visual { margin: 0; color: var(--muted); }
.brief-hook .brief-label { margin-right: 6px; }
.brief-library-label { margin: 14px 2px 0; }
.brief-script-number { margin: 0; color: var(--accent); font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.brief-script h2 { margin: 8px 0 14px; font-size: 20px; text-wrap: balance; }
.brief-onscreen { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--canvas); }
.brief-onscreen p { margin: 0; }
.brief-onscreen p + p { margin-top: 4px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.brief-voiceover-label { margin: 0 0 8px; color: var(--soft-muted); }
.brief-voiceover { max-width: 70ch; }
.brief-voiceover p { margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 1.6; }
.brief-voiceover p:last-child { margin-bottom: 0; }
.briefs-sections .briefs-nav a { white-space: normal; }
@media (max-width: 740px) {
  .briefs-sections > section { padding: 16px; }
  .brief-script h2 { font-size: 18px; }
  .briefs-lead { font-size: 15px !important; }
}

/* Mainline review: platform logos on My Content labels; Resources titles with the Toonshow mark. */
.field-label-logo { display: inline-flex; align-items: center; gap: 8px; }
.field .field-label-logo .platform-logo { width: 18px; height: 18px; flex-basis: 18px; }
dt.field-label-logo .platform-logo { width: 16px; height: 16px; flex-basis: 16px; }
.resource-title { display: flex; align-items: center; gap: 10px; }
.resource-mark { width: 22px; height: 22px; flex: none; border-radius: 6px; }
label.field > .field-label-logo, .submission-links dt.field-label-logo { display: flex; flex-direction: row; align-items: center; gap: 8px; }
label.field > .field-label-logo .platform-logo, .submission-links dt.field-label-logo .platform-logo { display: block; margin: 0; }

.link-first-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
