/* 青绿片场 — a paper-and-jade theme for the private review studio. */
:root {
  --paper: #f8f6ec;
  --paper-light: #fffef8;
  --jade-50: #edf4ed;
  --jade-100: #e0ece2;
  --jade-200: #cbded3;
  --jade-700: #276459;
  --jade-800: #214e46;
  --ink: #263f38;
  --ink-soft: #586c61;
  --cinnabar: #ac4738;
  --cinnabar-light: #f5e6db;
  --gold-light: #f1dca0;
  --bg: var(--paper);
  --surface: var(--paper-light);
  --soft: var(--jade-50);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: #d9dfd2;
  --primary: var(--jade-700);
  --focus: var(--cinnabar);
  --accent: var(--gold-light);
  --accent-fg: #3f432e;
  --danger: #a53d32;
  --success: var(--jade-700);
  --player: #193a34;
  --player-text: #fbf9ee;
  --player-muted: #c3d3c7;
  --radius: 20px;
  --title-font: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --card-shadow: 0 6px 24px #263f3806;
}

body { background-image: url('/assets/paper-grain.webp'); }
h1, h2, .wordmark { font-family: var(--title-font); }
h1, h2 { letter-spacing: .025em; }
.btn { border-radius: 13px; min-height: 42px; padding: 10px 17px; font-weight: 600; }
.btn:hover { filter: none; background: var(--jade-800); box-shadow: 0 3px 0 #143a2e16; }
.btn.secondary:hover { background: var(--jade-50); border-color: #a9c4b4; }
.btn.ghost:hover { background: var(--jade-100); color: var(--primary); }
.btn.danger:hover { background: #863329; }
.btn.accent:hover { background: #e9cf86; }
.btn.small { min-height: 36px; font-size: 12px; padding: 6px 12px; border-radius: 11px; }
.iconbtn { border-radius: 10px; }
input:not([type=checkbox]):not([type=range]):not([type=color]), select, textarea { border-radius: 11px; }
input:focus, select:focus, textarea:focus { border-color: #8bad9c; }
.note { font-size: 12px; }
.eyebrow { letter-spacing: .1em; font-size: 12px; }
.wordmark { gap: 10px; letter-spacing: .08em; font-weight: 800; }
.wordmark > span { color: var(--primary); font-weight: 600; }
.brand-icon { width: 46px; height: 46px; border-radius: 50%; background: #ecdfbd; border: 1px solid #dacb9f; overflow: hidden; }
.brand-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.seal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--cinnabar); margin-right: 6px; transform: rotate(-8deg); }

/* Quiet, illustrated navigation. */
.shell { grid-template-columns: 232px minmax(0, 1fr); }
.sidebar { background: #eaf0e6 url('/assets/paper-grain.webp'); padding: 28px 16px 18px; gap: 23px; border-color: #d5dfd1; }
.sidebar .wordmark { font-size: 22px; padding: 0 3px; gap: 9px; }
.workspace-tag { padding-left: 57px; margin-top: 7px; letter-spacing: .08em; font-size: 10px; }
.sidebar-heading { color: var(--fg); font-size: 12px; font-weight: 600; }
.sidebar-heading .iconbtn { border: 1px solid #b8cbbd; border-radius: 50%; width: 28px; height: 28px; min-height: 28px; min-width: 28px; }
.project-nav { gap: 8px; }
.project-link { padding: 13px 12px; border-radius: 14px; font-size: 13px; border: 1px solid transparent; }
.project-link.active { color: var(--jade-800); background: #d5e5d6; border-color: #b4cdb9; box-shadow: inset 3px 0 0 var(--jade-700); }
.project-link:hover { background: #e0e9db; }
.project-link svg { color: var(--primary); }
.project-link small { border-radius: 20px; background: var(--paper-light); color: var(--cinnabar); font-size: 11px; min-width: 20px; text-align: center; }
.sidebar-mascot { flex: none; min-height: 170px; position: relative; text-align: center; margin-top: auto; }
.sidebar-mascot::before { content: ''; position: absolute; width: 154px; height: 110px; left: calc(50% - 77px); top: 20px; border-radius: 48% 55% 40% 44%; background: #dee8d6; border: 1px solid #ccd9c4; transform: rotate(-5deg); }
.sidebar-mascot img { width: 142px; height: 142px; object-fit: contain; position: relative; z-index: 1; }
.sidebar-mascot > div { position: relative; z-index: 1; margin-top: -9px; }
.sidebar-mascot span { color: var(--primary); font: 700 15px var(--title-font); letter-spacing: .12em; }
.sidebar-mascot p { font-size: 11px; margin-top: 5px; color: var(--muted); }
.sidebar-help { margin-top: -8px; }
.storage-meter { font-size: 11px; padding-top: 17px; border-color: #cdd9c9; }
.meter { border-radius: 8px; height: 6px; background: #d4dfce; }
.meter i { border-radius: 8px; }
.avatar { background: #dae8dd; color: var(--jade-800); border: 1px solid #c6d8c9; font-size: 13px; }
.profile { font-size: 12px; }
.profile small { font-size: 10px; }
.sidebar #help { font-size: 12px; }

/* The work is the largest and darkest shape on the page. */
.topbar { background: #fffdf6d9; min-height: 106px; padding: 22px 28px; border-color: #dbe1d5; }
.breadcrumb { font-size: 12px; gap: 7px; margin-bottom: 7px; }
.breadcrumb > span:first-child { color: var(--cinnabar); }
.topbar h1 { font-size: 25px; font-weight: 800; }
.header-title { gap: 14px; }
.top-actions { gap: 9px; }
.top-actions #settingsButton { padding-inline: 12px; }
.badge { border-radius: 20px; padding: 4px 10px; font-size: 11px; }
.badge.reviewing { background: #f3e9c9; color: #665126; border-color: #e3d5a8; }
.badge.reviewing::before, .badge.approved::before, .badge.changes_requested::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.badge.approved { background: #e1ede0; color: #355a3e; border-color: #bed5bd; }
.badge.changes_requested { background: #f7e8db; color: #965035; border-color: #e6c7ad; }
.workspace { grid-template-columns: minmax(0, 1fr) 368px; gap: 20px; padding: 22px 24px 32px; min-height: calc(100dvh - 106px); }
.video-column { padding: 0; }
.viewerbar { margin-bottom: 15px; }
.viewerbar .label { font-size: 12px; }
.viewerbar select { background-color: var(--surface); border-color: #c7d3c5; border-radius: 12px; }
.viewer { border-radius: 21px; border: 1px solid #254c41; box-shadow: 0 8px 0 #284e3d09, 0 14px 32px #274f3910; background: var(--player); }
.canvasbar { padding: 8px 12px; border-color: #426259; background: #21483e; }
.tools .iconbtn { width: 36px; height: 36px; border-radius: 10px; color: var(--player-text); }
.tools .iconbtn[aria-pressed=true] { box-shadow: 0 2px 0 #0002; }
.tools .divider { background: #59786a; }
.viewer-hint { font-size: 11px; }
.screen-panes { padding: 13px; min-height: 250px; }
.video-surface { border-radius: 9px; background: #0e1d18; }
.video-surface:has(canvas) { isolation: isolate; }
.pane-label { font-size: 11px; }
.playback { border-color: #426259; padding: 11px 12px; gap: 7px; }
.playback .timecode { font-size: 12px; }
.playback select { background: #244c40; border-color: #688375; border-radius: 8px; }
.playback .iconbtn:hover { background: #426553; }
.playback .iconbtn { min-height: 34px; }
.below-player { font-size: 11px; padding: 14px 2px; }
.kbd { background: var(--surface); border-radius: 5px; padding: 2px 4px; }
.review-decision { padding: 18px; border-color: #d3ddcc; border-radius: 17px; background: #ecf2e7; margin-top: 15px; }
.review-decision h3 { font-family: var(--title-font); font-size: 17px; }
.review-decision p { font-size: 12px; margin-top: 6px; }
.versions-section { margin-top: 27px; }
.section-title { font-family: var(--title-font); font-size: 18px; font-weight: 700; margin-bottom: 13px; }
.section-title .btn, .section-title .count { font-family: var(--font); }
.version-cards { gap: 12px; padding: 2px 1px 8px; }
.version-card { border-radius: 15px; border-color: #d4dece; padding: 16px; background: var(--paper-light); box-shadow: 0 3px 0 #284d3706; }
.version-card:hover { background: #f0f5ea; border-color: #91b49a; }
.version-card.active { background: #e6efe1; border-color: #679276; box-shadow: inset 0 0 0 1px #679276; }
.version-card strong { font-size: 14px; }
.version-card span { font-size: 11px; margin-top: 7px; }
.version-top > svg { color: var(--primary); width: 22px; height: 22px; }
.version-top em { background: #f1dfd1; color: #8a493c; border-radius: 5px; font-size: 10px; padding: 2px 6px; }
.activity { border-color: #d6dece; }
.activity-line { font-size: 12px; line-height: 1.8; }
.activity-line span { font-size: 10px; }
.compare-controls { background: #e7efdf; border: 1px solid #cbdcc2; border-radius: 14px; padding: 13px; }
.compare-controls label { font-size: 12px; }

/* Feedback lives on its own small stack of paper. */
.comment-panel { background: var(--surface); border: 1px solid #d5ded0; border-radius: 22px; overflow: hidden; box-shadow: var(--card-shadow); }
.comment-panel-header { padding: 19px 19px 14px; }
.comment-panel-header h2 { font-size: 21px; font-weight: 800; }
.count { background: #e3ecdc; color: var(--primary); border-radius: 7px; font-family: var(--font); font-size: 12px; }
.comment-summary { font-size: 12px; margin-top: 7px; }
.filters { padding: 0 17px 15px; border-color: #dce4d4; }
.filter-pills { padding: 4px; gap: 2px; background: #edf1e5; border-radius: 12px; }
.filter-pills button { flex: 1; min-height: 32px; border-radius: 9px; font-size: 12px; padding: 5px 8px; }
.filter-pills button.active { background: var(--paper-light); color: var(--primary); box-shadow: 0 2px 6px #2546330d; }
.filters select, .filters input[type=search] { background: var(--paper-light); font-size: 12px; min-height: 35px; }
.filters input[type=search] { flex: 1; width: 0; }
.filters select { width: 108px; }
.comments { padding: 12px; background: #f0f4e9; }
.comment { border: 1px solid #dae4d3; border-radius: 16px; padding: 15px; margin-bottom: 12px; background: var(--paper-light); font-size: 13px; }
.comment:last-child { border-bottom: 1px solid #dae4d3; margin-bottom: 0; }
.comment.selected { background: #e5eedf; }
.comment-meta { font-size: 12px; }
.comment .avatar { width: 29px; height: 29px; font-size: 11px; }
.comment-date { font-size: 10px; }
.comment-author { gap: 6px; }
.timechip { background: #e5eddf; color: var(--jade-800); border: 1px solid #cddbc4; border-radius: 7px; font-size: 11px; padding: 4px 7px; margin-block: 12px 8px; }
.comment-body { line-height: 1.85; }
.comment-thumbnail { width: 136px; border-radius: 8px; }
.comment-actions select { font-size: 11px; border-radius: 8px; background: #f6f6ea; }
.tag { background: #f2eddb; border: 0; color: #736340; font-size: 10px; padding: 2px 6px; border-radius: 5px; }
.reply-btn { color: var(--primary); font-size: 12px; }
.replies { border-color: #cadbc8; }
.reply { font-size: 12px; }
.empty-comments { min-height: 170px; padding: 24px 14px; }
.empty-comments > svg { display: none; }
.empty-comments::before { content: ''; background: url('/assets/director-cat.webp') center / contain no-repeat; width: 100px; height: 100px; }
.empty-comments strong { font-family: var(--title-font); font-size: 17px; }
.composer { background: #eaf0e2; border-color: #cdddc4; padding: 17px; gap: 10px; }
.composer-title { font: 700 16px var(--title-font); }
.composer textarea { background: var(--paper-light); border-color: #c8d7c1; min-height: 78px; font-size: 13px; border-radius: 13px; }
.composer .field-row label { font-size: 11px; }
.composer .field-row input { background: #f9faf2; font-size: 12px; border-color: #cedac6; border-radius: 9px; }
.composer-tools label, .composer-tools select { font-size: 12px; }
.composer-tools input#commentTags { border-radius: 7px; }
.draft-details { font-size: 11px; }
.draft-details .reply-btn { font-size: 11px; }
.composer .btn { border-radius: 11px; }
.composer-extras { font-size: 12px; border-top: 1px dashed #ccdac0; padding-top: 9px; }
.composer-extras summary { cursor: pointer; color: var(--primary); }
.composer-extras summary span { float: right; font-size: 10px; color: var(--muted); }
.composer-extras[open] summary span { display: none; }
.extras-body { display: grid; gap: 10px; padding-top: 12px; }
.batchbar { background: #e5eddb; padding-inline: 17px; }

/* A picture-book cover for sign-in and the project shelf. */
.auth-layout { grid-template-columns: 1.12fr 1fr; background: var(--paper); }
.auth-story { min-height: 100dvh; padding: 40px 48px 30px; background: #f5f1df; color: var(--fg); isolation: isolate; border-right: 1px solid #dedecb; }
.auth-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #f8f4e5 2%, #f8f4e5cc 24%, transparent 53%); z-index: -1; pointer-events: none; }
.auth-landscape { position: absolute; z-index: -2; width: 100%; height: 73%; left: 0; bottom: 0; object-fit: cover; object-position: 65% 72%; }
.auth-story > div:not(.wordmark) { align-self: flex-start; margin-top: 46px; margin-bottom: auto; }
.auth-story .wordmark { font-size: 25px; }
.auth-story .wordmark > span { color: var(--primary); }
.auth-story .brand-icon { width: 51px; height: 51px; }
.auth-story .auth-eyebrow { color: var(--cinnabar); font-size: 12px; }
.auth-story h1 { font: 800 clamp(40px, 4.2vw, 66px)/1.4 var(--title-font); color: #284e41; max-width: 10em; letter-spacing: .05em; margin-top: 20px; }
.auth-story p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.auth-story footer { display: flex; gap: 13px; align-items: center; align-self: flex-start; color: #365347; font-size: 12px; z-index: 1; padding: 9px 14px; background: #fffaf0e6; border: 1px solid #dfdbc5; border-radius: 30px; margin-top: 28px; }
.auth-story footer i { width: 3px; height: 3px; background: #8fa68a; border-radius: 50%; }
.studio-stamp { position: absolute; right: 34px; bottom: 30px; border: 2px solid var(--cinnabar); border-radius: 8px; padding: 5px 7px; color: var(--cinnabar); font: 700 17px/1.1 var(--title-font); transform: rotate(7deg); }
.auth-form-side { padding: 42px; background: #eef2e6 url('/assets/paper-grain.webp'); position: relative; }
.auth-card { width: min(100%, 420px); gap: 23px; padding: 38px 34px 30px; background: #fffdf7; border: 1px solid #d8dfcd; border-radius: 27px; box-shadow: 0 10px 0 #dce5d536, 0 24px 60px #395e3b08; }
.auth-card .intro::before { content: ''; display: block; width: 54px; height: 54px; margin-bottom: 18px; background: url('/assets/director-cat.webp') center / contain; }
.auth-card .intro .eyebrow { color: var(--cinnabar); font-size: 12px; }
.auth-card h2 { font-size: 30px; line-height: 1.45; margin-top: 8px; }
.auth-card .intro p { line-height: 1.8; }
.auth-card input { background: #fafbf3; min-height: 46px; }
.auth-card .btn { min-height: 48px; font-size: 15px; }
.auth-foot { font-size: 12px; padding-top: 18px; }
.studio-welcome { height: 280px; margin: 26px 28px 30px; border-radius: 26px; position: relative; overflow: hidden; border: 1px solid #d5dcca; background: #f6f2e2; }
.welcome-landscape { position: absolute; width: 64%; height: 100%; right: 0; top: 0; object-fit: cover; object-position: 65% 67%; }
.studio-welcome::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f7f4e7 27%, #f7f4e7dd 41%, #f7f4e700 66%); pointer-events: none; }
.welcome-copy { position: relative; z-index: 1; padding: 35px; max-width: 64%; }
.welcome-copy .eyebrow { color: var(--cinnabar); }
.welcome-copy h2 { color: var(--jade-800); font-size: 34px; margin-top: 14px; font-weight: 800; }
.welcome-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 12px; }
.studio-stats { display: flex; gap: 23px; margin-top: 25px; font-size: 12px; color: var(--muted); }
.studio-stats b { font: 700 24px var(--title-font); color: var(--primary); margin-right: 4px; }
.welcome-seal { position: absolute; right: 19px; top: 18px; z-index: 1; font: 700 16px/1.2 var(--title-font); color: var(--cinnabar); padding: 6px; border: 1.5px solid; border-radius: 6px; transform: rotate(6deg); }
.projects-heading { padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.projects-heading h2 { font-size: 22px; }
.projects-heading > span { font-size: 12px; color: var(--muted); }
.workspace-cards { padding: 18px 28px 32px; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.project-card { padding: 24px; border-radius: 19px; border-color: #d0ddc7; box-shadow: 0 4px 0 #304b3005; position: relative; }
.project-card > svg { width: 33px; height: 33px; padding: 6px; border-radius: 10px; background: #e1eddd; color: var(--primary); }
.project-card:hover { background: #fbfcf4; border-color: #739f7e; box-shadow: 0 4px 0 #305b3d15; }
.project-card h2 { font-size: 21px; line-height: 1.45; }
.project-card p { margin-top: 7px; }
.project-card footer { border-top: 1px dashed #d7dfce; padding-top: 14px; }
.empty-workspace .empty-illustration { width: 220px; height: 220px; object-fit: contain; }
.empty-workspace h2 { font-size: 27px; }
.empty-workspace > .eyebrow { color: var(--cinnabar); }

/* Small sheets for actions, with the same visual language. */
dialog { border-radius: 23px; border-color: #cbdac4; background: var(--paper-light); box-shadow: 0 24px 90px #193e3530; }
dialog::backdrop { background: #18382e70; backdrop-filter: blur(5px); }
.dialog-header { background: #edf2e5; padding: 22px 24px; }
.dialog-header h2 { font-size: 24px; }
.dialog-header .iconbtn { border: 1px solid #d2dfc8; border-radius: 50%; }
.dialog-body { padding: 24px; }
.share-item { border-radius: 13px; background: #f5f7ee; padding: 15px; }
.progress-box { background: #f0f5e9; border-radius: 14px; border-color: #b9d1ac; }
.toast { border-radius: 15px; background: var(--jade-800); padding: 14px 21px; }

@media (min-width: 1600px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 394px; padding: 28px 32px; gap: 26px; }
  .video-column { padding: 0; }
  .screen-panes { padding: 18px; }
}
@media (min-width: 961px) {
  .comment-panel { height: calc(100dvh - 150px); min-height: 560px; position: sticky; top: 20px; }
  .comments { min-height: 110px; max-height: none; flex: 1; }
  .composer { max-height: calc(100% - 285px); overflow-y: auto; }
}
@media (max-height: 850px) and (min-width: 641px) {
  .sidebar { gap: 18px; padding-top: 20px; }
  .sidebar-mascot { min-height: 118px; }
  .sidebar-mascot img { width: 100px; height: 100px; }
  .sidebar-mascot::before { width: 116px; height: 82px; left: calc(50% - 58px); top: 7px; }
  .sidebar-mascot p { display: none; }
  .auth-story > div:not(.wordmark) { margin-top: 26px; }
  .comment-panel-header { padding-top: 15px; padding-bottom: 10px; }
  .composer { gap: 7px; padding-block: 13px; }
  .composer textarea { min-height: 68px; }
  .filter-pills button { min-height: 29px; }
}
@media (max-width: 1180px) {
  .shell { grid-template-columns: 196px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .sidebar .wordmark { font-size: 19px; gap: 7px; }
  .brand-icon { width: 37px; height: 37px; }
  .workspace-tag { padding-left: 47px; font-size: 9px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 324px; padding: 18px; gap: 16px; }
  .video-column { padding: 0; }
  .topbar { padding: 20px; }
  .topbar h1 { font-size: 23px; }
  .viewerbar { flex-wrap: wrap; gap: 9px; }
  .canvasbar { padding-inline: 8px; }
  .playback { gap: 3px; padding: 10px 7px; }
  .playback .duration { display: none; }
  .review-decision { padding: 15px; }
  .comment-panel-header { padding-inline: 16px; }
  .filters, .composer { padding-inline: 14px; }
  .studio-welcome { margin-inline: 20px; }
  .welcome-copy { padding: 30px; max-width: 70%; }
  .welcome-copy h2 { font-size: 30px; }
  .auth-story { padding-inline: 35px; }
  .auth-form-side { padding: 30px; }
  .auth-card { padding: 30px 28px; }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: 180px minmax(0, 1fr); }
  .workspace { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .sidebar .wordmark { font-size: 18px; }
  .sidebar .brand-icon { width: 33px; height: 33px; }
  .workspace-tag { padding-left: 42px; font-size: 9px; letter-spacing: .025em; }
  .sidebar-mascot img { width: 130px; height: 130px; }
  .sidebar-mascot { min-height: 150px; }
  .comment-panel { border: 1px solid #d5ded0; }
  .comments { max-height: 440px; min-height: 170px; }
  .topbar { flex-wrap: wrap; }
  .topbar h1 { font-size: 24px; }
  .auth-layout { grid-template-columns: 1fr 1fr; }
  .auth-story { padding-inline: 28px; }
  .auth-story h1 { font-size: 43px; }
  .auth-card { padding: 26px 22px; }
  .auth-card h2 { font-size: 27px; }
  .studio-welcome { height: 270px; }
  .welcome-copy { max-width: 83%; padding: 28px; }
  .welcome-copy h2 { font-size: 29px; }
  .projects-heading { padding-inline: 21px; flex-wrap: wrap; }
  .workspace-cards { padding-inline: 20px; }
}
@media (max-width: 640px) {
  .shell { display: block; }
  .sidebar { height: auto; position: relative; padding: 17px 18px 13px; gap: 14px; border-right: 0; }
  .sidebar .wordmark { font-size: 22px; gap: 8px; }
  .sidebar .brand-icon { width: 37px; height: 37px; }
  .sidebar .workspace-tag, .sidebar-mascot, .sidebar-heading, .sidebar-help, .storage-meter, .sidebar .profile { display: none; }
  .sidebar #help { top: 17px; right: 15px; font-size: 11px; }
  .project-nav { gap: 7px; }
  .project-link { padding: 8px 11px; font-size: 12px; border-radius: 10px; }
  .topbar { padding: 18px; min-height: 96px; gap: 14px; }
  .breadcrumb { font-size: 11px; }
  .topbar h1 { font-size: 23px; }
  .header-title { gap: 9px; }
  .top-actions { gap: 7px; }
  .top-actions .btn { min-height: 42px; font-size: 12px; }
  .top-actions #settingsButton { flex: 0 0 44px; }
  .badge { font-size: 10px; padding: 3px 8px; }
  .workspace { padding: 17px 12px 26px; gap: 22px; min-height: 0; }
  .viewerbar { flex-wrap: wrap; gap: 10px; }
  .viewerbar > .row:first-child { flex: 1 1 125px; }
  .viewerbar select { font-size: 12px; width: 100%; max-width: 100%; padding: 9px; }
  .viewerbar .btn { min-height: 37px; padding: 7px 10px; font-size: 11px; }
  .viewerbar .label { display: none; }
  .viewer { border-radius: 16px; }
  .canvasbar { padding: 7px; }
  .tools .iconbtn { width: 32px; min-width: 32px; height: 34px; }
  .tools { gap: 1px; }
  .tools .divider { margin-inline: 3px; }
  .viewer-hint { display: none; }
  .screen-panes { padding: 7px; min-height: 170px; }
  .video-surface { border-radius: 5px; }
  .playback { gap: 3px; padding: 9px 7px; flex-wrap: wrap; }
  .playback .iconbtn { min-width: 27px; }
  .playback select { max-width: 59px; padding: 4px; }
  .playback .timecode { font-size: 10px; }
  .seek-group { min-width: 72px; }
  .below-player { font-size: 10px; padding-block: 12px; }
  .review-decision { margin-top: 9px; padding: 15px; gap: 12px; }
  .review-decision h3 { font-size: 18px; }
  .review-decision p { font-size: 11px; }
  .review-decision .row { width: 100%; }
  .review-decision .btn { flex: 1; min-height: 39px; }
  .section-title { font-size: 19px; }
  .section-title .btn { font-size: 11px; }
  .version-card { min-width: 140px; padding: 14px; }
  .activity-line { font-size: 11px; }
  .comment-panel { border-radius: 19px; }
  .comment-panel-header { padding: 19px 17px 14px; }
  .comment-panel-header h2 { font-size: 23px; }
  .filters { padding: 0 15px 15px; }
  .comments { padding: 12px; }
  .comment-meta { font-size: 12px; }
  .composer { padding: 17px 15px; }
  .composer-title { font-size: 17px; }
  .auth-layout { display: block; }
  .auth-story { min-height: 370px; padding: 24px; border-right: 0; border-bottom: 1px solid #d7deca; }
  .auth-story .wordmark { font-size: 22px; }
  .auth-story .brand-icon { width: 40px; height: 40px; }
  .auth-story > div:not(.wordmark) { margin-top: 27px; }
  .auth-story .auth-eyebrow { font-size: 10px; }
  .auth-story h1 { font-size: 36px; margin-top: 13px; }
  .auth-story p { display: block; font-size: 12px; margin-top: 14px; max-width: 51%; }
  .auth-story footer { display: none; }
  .auth-landscape { width: 100%; height: 82%; object-position: 70% 70%; }
  .auth-story::after { background: linear-gradient(90deg, #f8f4e5 3%, #f8f4e5a8 40%, #f8f4e500 76%); }
  .auth-form-side { padding: 25px 19px 34px; }
  .auth-card { width: 100%; padding: 27px 24px; gap: 21px; border-radius: 23px; }
  .auth-card .intro::before { display: none; }
  .auth-card h2 { font-size: 28px; }
  .studio-welcome { height: 280px; margin: 17px 13px 26px; border-radius: 20px; }
  .welcome-landscape { width: 100%; opacity: .9; object-position: 70% 67%; }
  .studio-welcome::after { background: linear-gradient(90deg, #f7f4e7 2%, #f7f4e7d9 45%, #f7f4e711 100%); }
  .welcome-copy { padding: 26px 22px; max-width: 100%; }
  .welcome-copy h2 { font-size: 29px; margin-top: 16px; }
  .welcome-copy > p:not(.eyebrow) { max-width: 175px; font-size: 12px; line-height: 1.9; }
  .welcome-copy .eyebrow { font-size: 11px; }
  .studio-stats { gap: 15px; margin-top: 22px; font-size: 10px; flex-wrap: wrap; }
  .studio-stats b { font-size: 22px; }
  .welcome-seal { top: 17px; right: 15px; font-size: 13px; }
  .projects-heading { padding-inline: 18px; gap: 5px; }
  .projects-heading h2 { font-size: 23px; }
  .projects-heading > span { font-size: 10px; }
  .workspace-cards { padding: 17px 13px 28px; grid-template-columns: minmax(0, 1fr); }
  .project-card { border-radius: 18px; }
  .dialog-header { padding: 18px 20px; }
  .dialog-header h2 { font-size: 21px; }
  .dialog-body { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .empty-workspace h2 { font-size: 24px; }
  .empty-workspace .empty-illustration { width: 170px; height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
