:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --surface: #fffefa;
  --ink: #172537;
  --muted: #5e6769;
  --line: #e6e4db;
  --navy: #192a3f;
  --navy-light: #233b52;
  --orange: #b74629;
  --orange-soft: #f8e5db;
  --teal: #246a5d;
  --teal-soft: #e6f1eb;
  --ring: #326d9e;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.55; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; visibility: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.app-shell { display: grid; grid-template-columns: 226px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 31px 18px 22px; background: #fbfaf5; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 3px 43px; padding: 0; background: none; border: 0; text-align: left; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 41px; border-radius: 11px; background: var(--navy); color: #fbf1df; }
.brand-mark svg { width: 35px; height: 35px; }
.brand-word { font-size: 18px; font-weight: 780; line-height: 1.15; letter-spacing: -.06em; }
.brand-word > span { color: var(--orange); }
.brand-word small { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: .035em; color: var(--muted); white-space: nowrap; }
.navigation { display: grid; gap: 6px; }
.navigation button { display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 11px; width: 100%; position: relative; padding: 0 11px; text-align: left; white-space: nowrap; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #465561; font-size: 14px; font-weight: 650; }
.navigation button:hover { background: #f1efe7; }
.navigation button[aria-current="page"] { border-color: #e9dfd2; background: #f4ece2; color: #9b3b23; }
.navigation .nav-count { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: #eddad0; color: #8a381f; font-size: 10px; font-weight: 780; }
.sidebar-foot { margin-top: auto; padding-top: 21px; border-top: 1px solid var(--line); }
.bot-link { display: flex; align-items: center; gap: 10px; padding: 10px 7px; color: #415766; text-decoration: none; font-size: 13px; font-weight: 650; }
.bot-link .icon:last-child { margin-left: auto; width: 16px; height: 16px; }
.bot-link:hover { color: var(--orange); }

.main-pane { width: 100%; max-width: 1400px; margin-inline: auto; padding: 28px clamp(24px, 3.25vw, 54px) 48px; }
.utility-bar { min-height: 28px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.utility-date { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 620; }
.utility-date .icon { width: 16px; height: 16px; }
.demo-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #785534; background: #f5ece1; border: 1px solid #ead8c5; border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 720; white-space: nowrap; }
.demo-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #ab6138; }
.page-heading { display: flex; align-items: flex-end; gap: 18px; justify-content: space-between; margin-bottom: 25px; }
.page-heading h1 { font-size: clamp(30px, 4.2vw, 53px); line-height: 1.06; font-weight: 775; letter-spacing: -.06em; overflow-wrap: anywhere; }
.page-heading p { margin-top: 7px; font-weight: 550; color: var(--muted); }
.page-heading > a, .page-heading > button { margin-bottom: 2px; flex-shrink: 0; }
.page-section { display: grid; gap: 18px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; min-width: 0; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; background: var(--orange); color: #fff; text-decoration: none; text-align: center; font-weight: 680; font-size: 13px; line-height: 1.35; }
.button .icon { width: 17px; height: 17px; }
.button:hover:not(:disabled) { background: #9b3b23; }
.button.secondary { border-color: #deded5; background: var(--surface); color: var(--ink); }
.button.secondary:hover:not(:disabled) { background: #efede5; }
.button.ghost { min-height: 36px; padding: 5px 0; border: 0; background: transparent; color: var(--teal); }
.button.ghost:hover:not(:disabled) { color: #184f44; text-decoration: underline; background: transparent; }
.button.pause { background: #f7ebe3; color: #8b402a; }
.button.pause:hover:not(:disabled) { background: #f0dacd; }
.button.approve { background: var(--teal); }
.button.approve:hover:not(:disabled) { background: #195347; }

.hero { isolation: isolate; min-height: 251px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr); gap: clamp(16px, 3vw, 50px); position: relative; align-items: center; color: #f8f3e9; padding: 30px 32px; overflow: hidden; border-radius: 17px; background: linear-gradient(110deg, #17283e 8%, #21364e 64%, #2d465a 100%); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; width: 370px; height: 370px; border: 1px solid rgba(201,224,218,.14); border-radius: 50%; pointer-events: none; }
.hero::before { top: -244px; right: -48px; box-shadow: 0 0 0 24px rgba(201,224,218,.038), 0 0 0 51px rgba(201,224,218,.027), 0 0 0 82px rgba(201,224,218,.023); }
.hero::after { right: 96px; bottom: -337px; box-shadow: 0 0 0 25px rgba(201,224,218,.045), 0 0 0 50px rgba(201,224,218,.027); }
.hero-lead { display: flex; align-items: center; gap: 8px; color: #e5af92; font-size: 11px; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; }
.hero-lead .icon { width: 15px; height: 15px; }
.hero-time { margin-top: 9px; font-size: clamp(48px, 7vw, 77px); font-weight: 760; letter-spacing: -.075em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-time small { margin-inline-start: 12px; color: #becad2; font-size: 13px; font-weight: 650; letter-spacing: .03em; }
.hero-time.paused { max-width: 410px; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.045em; line-height: 1.12; }
.hero-date { min-height: 22px; margin-top: 9px; color: #d3dbe0; font-weight: 560; }
.hero .button { margin-top: 21px; border-color: rgba(246,241,231,.16); background: #f3e8db; color: #263d4f; }
.hero .button:hover:not(:disabled) { background: #fff7e9; }
.hero-process { display: grid; gap: 13px; padding: 23px 20px; border: 1px solid #466077; border-radius: 12px; background: rgba(22, 40, 61, .6); }
.hero-process h2 { font-size: 14px; color: #f8f0e4; font-weight: 720; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: flex; align-items: center; gap: 10px; position: relative; color: #d2dce2; min-height: 32px; font-size: 12px; }
.process-list li + li { margin-top: 4px; }
.process-list li + li::before { content: ""; position: absolute; width: 1px; height: 11px; top: -7px; left: 12px; background: #647789; }
.process-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #5b7284; border-radius: 50%; color: #dce6ea; }
.process-icon .icon { width: 14px; height: 14px; }
.process-list .is-current { color: #fff2e4; font-weight: 690; }
.process-list .is-current .process-icon { background: #f1a075; border-color: #f1a075; color: #2b2525; }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric-card { align-items: center; display: flex; gap: 11px; min-height: 85px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; text-align: left; color: var(--ink); }
.metric-card:hover { border-color: #c2c8bd; }
.metric-icon { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 10px; color: var(--teal); background: var(--teal-soft); flex: 0 0 41px; }
.metric-icon.rust { color: var(--orange); background: var(--orange-soft); }
.metric-icon.ink { color: #3b5d72; background: #e7edf1; }
.metric-card strong { display: block; line-height: 1; font-size: 23px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metric-copy { min-width: 0; }
.metric-label { display: block; margin-top: 5px; font-weight: 620; font-size: 12px; color: var(--muted); line-height: 1.2; }
.metric-arrow { width: 15px; height: 15px; margin-left: auto; color: #5c6d74; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; padding: 14px 18px; }
.panel-head h2 { font-size: 20px; font-weight: 735; letter-spacing: -.04em; overflow-wrap: anywhere; }
.panel-head .button { white-space: nowrap; }
.slot-list { margin: 0; padding: 0 17px; list-style: none; }
.slot { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; min-height: 71px; gap: 12px; padding: 12px 1px; border-top: 1px solid var(--line); }
.slot-time strong, .slot-time span { display: block; line-height: 1.25; font-variant-numeric: tabular-nums; }
.slot-time strong { font-size: 17px; font-weight: 740; letter-spacing: -.04em; }
.slot-time span { margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.slot-copy { min-width: 0; }
.slot-title { display: block; font-weight: 700; font-size: 14px; line-height: 1.32; overflow-wrap: anywhere; }
.slot-reason { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.slot-action { display: flex; align-items: flex-end; gap: 4px; flex-direction: column; }
.slot-action a, .slot-action button { min-width: 0; background: none; border: 0; padding: 3px 0; font-size: 11px; line-height: 1.25; font-weight: 690; color: var(--teal); text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 730; color: #4c5962; background: #ebecea; text-align: left; }
.status::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.status.waiting { background: #f6e7d6; color: #7b4921; }
.status.approved, .status.published { background: var(--teal-soft); color: #215b4c; }
.status.preparing, .status.sending { color: #34596f; background: #e7eef4; }
.status.uncertain, .status.rejected { color: #8b3629; background: #f7e4dd; }
.status.skipped, .status.cancelled { color: #5c5b54; background: #eeece5; }
.row-empty { padding: 6px 18px 22px; color: var(--muted); font-size: 13px; }

.review-summary { padding: 0 17px 17px; }
.review-image { width: 100%; aspect-ratio: 2.25; object-fit: cover; border-radius: 8px; background: #dbe3dc; }
.photo-placeholder { position: relative; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 6px; min-height: 83px; background: #e2e9e0; color: #53716b; font-size: 12px; text-align: center; }
.photo-placeholder::before { content: ""; position: absolute; left: 12%; top: 60%; height: 105px; width: 135%; pointer-events: none; transform: rotate(-9deg); border: 1px solid #b9cdc0; border-radius: 45%; box-shadow: 0 0 0 15px #cadbcf, 0 0 0 31px #d3e2d7; }
.photo-placeholder > * { position: relative; }
.review-summary h3 { margin-top: 11px; font-size: 17px; font-weight: 740; letter-spacing: -.03em; line-height: 1.25; overflow-wrap: anywhere; }
.review-summary p { margin: 5px 0 10px; color: var(--muted); font-size: 12px; }
.review-summary .button { width: 100%; }

.setting-band { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 19px; }
.setting-band > div, .source-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.setting-band h2 { font-size: 17px; }
.setting-band p { font-size: 13px; color: var(--muted); }
.setting-band .button { flex: none; }
.source-list { margin: 0; padding: 0 17px; list-style: none; }
.source-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; padding: 12px 0; border-top: 1px solid var(--line); }
.source-row p { color: var(--muted); font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.source-row h3 { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.source-row .metric-icon { width: 34px; height: 34px; flex-basis: 34px; }
.source-row .icon { width: 17px; height: 17px; }
.source-row .button { flex: 0 0 auto; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.review-grid > .panel { height: 100%; }
.review-grid .review-summary { padding-top: 17px; }
.review-grid .review-image { aspect-ratio: 2.45; }
.empty-state { padding: 31px 21px; text-align: center; display: grid; justify-items: center; gap: 9px; }
.empty-state h2 { font-size: 23px; letter-spacing: -.035em; }
.empty-state p { max-width: 49ch; color: var(--muted); }
.empty-state .button { margin-top: 5px; }
.loading-state { min-height: 310px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.spinner { width: 20px; height: 20px; border: 2px solid #e0dbd0; border-top-color: var(--orange); border-radius: 50%; animation: turn .8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

body:has(.dialog[open]) { overflow: hidden; }
.dialog { width: min(570px, calc(100% - 32px)); max-height: min(83dvh, 875px); overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 15px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: 0 25px 85px rgba(21,32,39,.24); }
.dialog::backdrop { background: rgba(21,32,43,.55); }
.dialog:not([open]) { display: none; }
.dialog-fallback-open { overflow: hidden; }
.dialog-fallback-open .app-shell { pointer-events: none; }
.dialog-fallback-open .dialog[open] { display: block; position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; max-height: min(83vh, 875px); overflow-y: auto; z-index: 50; box-shadow: 0 0 0 100vmax rgba(21,32,43,.55); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 24px; padding: 20px 0 16px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 24px; font-weight: 750; letter-spacing: -.044em; }
.dialog-head p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; color: var(--muted); }
.icon-button:hover { background: #eeece5; }
.dialog-body { padding: 16px 24px 23px; }
.dialog-body .review-image { max-height: 330px; aspect-ratio: 1.85; }
.photo-credit { color: var(--muted); font-size: 11px; margin-top: 6px; }
.draft-text { margin-top: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft-sources { margin: 13px 0 0; padding-left: 19px; color: var(--teal); font-size: 13px; overflow-wrap: anywhere; }
.draft-sources li + li { margin-top: 4px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dialog-actions .button { flex: 1 1 auto; }
.time-label { display: grid; gap: 7px; width: min(76%, 185px); color: var(--muted); font-size: 13px; font-weight: 650; }
.time-label input { border: 1px solid #d4d7cb; border-radius: 8px; padding: 9px 13px; background: #fff; color: var(--ink); min-height: 52px; font-size: 22px; width: 100%; }
.dialog-copy { color: var(--muted); font-size: 13px; margin-top: 9px; }
.dialog-error { color: #8d3526; background: #fae8e1; border-radius: 7px; font-size: 13px; padding: 8px 10px; margin-top: 12px; }
.notice { position: fixed; z-index: 1; right: 22px; bottom: 24px; max-width: min(350px, calc(100vw - 32px)); color: #fcf8ef; background: var(--navy); border-radius: 9px; box-shadow: 0 9px 23px rgba(25,37,47,.24); padding: 12px 15px; font-size: 13px; line-height: 1.45; }
.notice-error { background: #823522; }

.channel-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-inline: 17px; padding-block: 11px 15px; border-top: 1px solid var(--line); }
.channel-name { display: flex; min-width: 0; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--ink); text-align: left; }
.channel-name > span:nth-child(2), .channel-picker > div { min-width: 0; }
.channel-name strong, .channel-picker strong { display: block; font-size: 15px; line-height: 1.27; overflow-wrap: anywhere; }
.channel-name:hover strong { text-decoration: underline; }
.channel-name small, .channel-picker p { display: block; font-size: 12px; font-weight: 560; margin-top: 4px; color: var(--muted); }
.channel-name .channel-arrow { width: 15px; height: 15px; margin-left: 3px; color: var(--teal); }
.channel-icon { display: grid; place-items: center; border-radius: 9px; width: 37px; height: 37px; flex: 0 0 37px; color: #a34428; background: var(--orange-soft); }
.channel-icon .icon { width: 19px; height: 19px; }
.channel-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.channel-switch { width: 46px; height: 28px; display: flex; justify-content: flex-start; align-items: center; padding: 3px; background: #e6e6dc; border: 1px solid #c5c8bb; border-radius: 21px; }
.channel-switch[aria-checked="true"] { justify-content: flex-end; background: var(--teal); border-color: #1d6054; }
.channel-switch span { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #fffefa; box-shadow: 0 1px 3px #17253733; }
.plus-button { color: var(--teal); }
.trash-button { color: #935239; }
.trash-button .icon { width: 17px; height: 17px; }
.channel-picker { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; }
.channel-picker > div { flex: 1; }
.profile-list { margin: 0 17px; }
.profile-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.profile-list dt { color: var(--muted); font-size: 13px; }
.profile-list dd { margin: 0; text-align: right; font-weight: 680; overflow-wrap: anywhere; }
.menu-list { margin-inline: 17px; }
.menu-list button { width: 100%; min-height: 68px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 0; border-top: 1px solid var(--line); background: none; padding: 10px 0; color: var(--ink); text-align: left; }
.menu-list button:hover strong { color: var(--teal); text-decoration: underline; }
.menu-list button small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.menu-list button > .icon { color: var(--teal); }
.draft-source .icon, .slot-link .icon { display: inline-block; width: 13px; height: 13px; vertical-align: text-bottom; }

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 192px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .brand { margin-inline: 0; gap: 8px; }
  .brand-word { font-size: 16px; }
  .main-pane { padding-inline: 23px; }
  .two-col { grid-template-columns: minmax(0, 1.4fr) minmax(205px, .92fr); }
  .slot { grid-template-columns: 57px minmax(0, 1fr) auto; gap: 8px; }
  .status { padding-inline: 6px; }
}

@media (max-width: 780px) {
  .app-shell { display: block; }
  .sidebar { position: relative; height: auto; display: block; border: 0; border-bottom: 1px solid var(--line); padding: 11px clamp(14px, 3vw, 24px); }
  .brand { margin: 0; }
  .brand-mark { width: 33px; height: 33px; flex-basis: 33px; border-radius: 9px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand-word { font-size: 17px; }
  .brand-word small { display: none; }
  .sidebar-foot { display: none; }
  .navigation { position: fixed; z-index: 5; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #fbfaf5; padding: 5px max(8px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); }
  .navigation button { flex-direction: column; justify-content: center; gap: 3px; min-height: 50px; padding: 4px 2px; text-align: center; font-size: clamp(10px, 2.85vw, 12px); }
  .navigation .nav-count { position: absolute; top: 2px; left: calc(50% + 6px); margin: 0; padding: 1px 4px; }
  .main-pane { padding: 16px clamp(14px, 3vw, 24px) calc(82px + env(safe-area-inset-bottom)); }
  .utility-bar { min-height: 22px; margin-bottom: 12px; }
  .page-heading { margin-bottom: 19px; }
  .page-heading h1 { font-size: clamp(29px, 6vw, 48px); }
  .notice { bottom: calc(69px + env(safe-area-inset-bottom)); right: 13px; }
}

@media (max-width: 560px) {
  .page-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .page-heading > .button { min-height: 35px; padding-block: 5px; }
  .hero { grid-template-columns: 1fr; padding: 23px 19px; min-height: 0; gap: 18px; border-radius: 13px; }
  .hero-lead { font-size: 10px; }
  .hero-date { font-size: 13px; }
  .hero .button { margin-top: 16px; }
  .hero-process { padding: 11px 12px; gap: 8px; }
  .hero-process h2 { font-size: 12px; }
  .process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .process-list li { flex-direction: column; gap: 4px; min-height: 0; align-items: flex-start; font-size: 10px; line-height: 1.3; }
  .process-list li + li { margin-top: 0; }
  .process-list li + li::before { display: none; }
  .process-icon { width: 23px; height: 23px; }
  .metric-grid { gap: 7px; }
  .metric-card { display: flex; min-height: 76px; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px; }
  .metric-icon { width: 29px; height: 29px; flex-basis: 29px; border-radius: 7px; }
  .metric-icon .icon { width: 16px; height: 16px; }
  .metric-card strong { font-size: 19px; }
  .metric-label { font-size: 10px; margin-top: 3px; overflow-wrap: anywhere; }
  .metric-arrow { display: none; }
  .two-col, .review-grid { grid-template-columns: 1fr; }
  .panel-head { padding-inline: 12px; min-height: 54px; }
  .panel-head h2 { font-size: 18px; }
  .slot-list, .source-list { padding-inline: 11px; }
  .slot { grid-template-columns: 53px minmax(0, 1fr); gap: 3px 9px; padding-block: 9px; }
  .slot-time { grid-row: span 2; align-self: center; }
  .slot-title { font-size: 13px; }
  .slot-action { flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
  .review-summary { padding-inline: 12px; }
  .channel-row { margin-inline: 11px; gap: 7px; }
  .channel-name { gap: 7px; }
  .channel-name .channel-arrow { display: none; }
  .channel-actions { gap: 6px; }
  .source-main { gap: 7px; }
  .source-row { gap: 6px; }
  .source-row .metric-icon { display: none; }
  .source-row .button { padding-inline: 0; }
  .setting-band { align-items: flex-start; flex-direction: column; padding: 13px; }
  .dialog-head { margin-inline: 15px; padding-top: 15px; }
  .dialog-head h2 { font-size: 21px; }
  .dialog-body { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

@media (pointer: coarse) {
  .icon-button { width: 44px; height: 44px; flex-basis: 44px; }
  .channel-switch { height: 36px; min-width: 44px; }
  .slot-action button, .slot-action a { padding-block: 6px; }
}
