/* Quiet neutrals, restrained accents and an adaptive analytics workspace. */
:root{--bg:#f5f6f8;--paper:#fff;--ink:#242b34;--muted:#727c89;--green:#416e69;--line:#e5e8ed;--soft:#f0f3f5;--lime:#e2ece8;--orange:#987d65;--performance-red:#b44951;--performance-soft:#fcf1f1}
body{background:var(--bg);color:var(--ink);font-weight:450;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-weight:550}button{border-radius:9px}button:hover{background:#f4f6f8;border-color:#bdc9c8}button.primary{background:#343e49;border-color:#343e49;box-shadow:none}button.primary:hover{background:#222c37;border-color:#222c37;transform:none}button.lime{background:#e3ece8;border-color:#e3ece8;color:#334e49}a{color:#416e69}input,select,textarea{accent-color:#416e69}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #416e69;outline-offset:3px}
.main :is(h1,h2,h3,h4){color:var(--ink)}.main :is(.work-title,.record-card h3,.idea-card h3,.idea-inbox-card h3,.idea-direction h4,.idea-highlight-grid h4),.analytics-video-title,.highlight-card b{color:#343e49}
.main :is(.subtitle,.meta,.help,.detail-meta,.detail-tools,.stat-top,.stat-bottom,.panel-title small,.footer,.eyebrow,.small-empty,.empty,.rail-card .overline,.idea-item p,.tip p,.tip-label,.flow-item){color:#707a87}
.main :is(.notice,.analysis-lead,.analysis-card p,.analysis-card ul,.transcript,.idea-card p,.author-card p){color:#525e6b}.main :is(.analysis-lead small,.phase b,.analysis-card b,.board-col h3,.idea-execution b){color:#43515e}
.main :is(.chip,.tab,.panel-head button,.detail-actions button,.idea-workspace-tools button){color:#65707c}.main :is(.chip.active,.tab.active){color:#345b55}.main :is(.notice,.analysis-lead){background:#f3f6f7;border-color:#e4e9ed}.main :is(.idea-detail-meta,.idea-inbox-card p,.idea-inbox-card small,.idea-detail-heading p,.idea-stage-tile small,.idea-data-caption,.idea-data-caption small,.idea-metrics small,.idea-section-title,.idea-highlight-grid p,.idea-highlight-grid small,.idea-direction p,.idea-direction small,.idea-direction header>span,.idea-execution p,.idea-analysis-empty p){color:#687580}
.sidebar{background:#fff;border-right:1px solid var(--line);box-shadow:none}.sidebar .brand strong{color:#27313b;letter-spacing:.2px}.sidebar .brand small,.sidebar .nav-label,.sidebar .local-note{color:#7b8692}.sidebar .brand-mark{background:#343e49;color:#e4eee9;transform:none;box-shadow:none}.sidebar .nav-btn{color:#697480;font-weight:550}.sidebar .nav-btn:hover{background:#f6f7f9;color:#343e49}.sidebar .nav-btn.active{background:#eef3f1;color:#345d56;box-shadow:none;font-weight:650}.sidebar .nav-btn .count,.sidebar .nav-btn.active .count{background:#edf0f3;color:#737f8c}.sidebar .local-note{border-color:#edf0f3;background:#fafbfc}.sidebar .local-note b{color:#5b6874}.sidebar .idea-subnav button{color:#74808c}.sidebar .idea-subnav button.active{background:#eef3f1;color:#416e69}
.topbar{background:rgba(255,255,255,.96);border-color:var(--line);box-shadow:none}.top-actions>small{color:#788490}.global-grab{background:#f8f9fb;border-color:#e5e8ed}.global-grab input{color:#45515e}.member-switch{background:#f6f7f9;color:#57636f;border-color:#e6eaee}.dot{background:#688f81}
.panel,.stat,.tip,.record-card,.idea-card,.idea-inbox-card,.author-card{border-color:var(--line);box-shadow:0 2px 4px #25324602;border-radius:13px}.panel-head,.table td{border-color:#edf0f3}.panel-head,.table th,.table tbody tr:hover{background:#fafbfc}.table th,.table td{color:#62707d}.table .work-title{color:#354250}.icon-box{background:#f0f4f3;color:#6a8a80}.stat-bottom b{color:#668276}.stat-value{letter-spacing:-1px;font-weight:650}.hero{background:#2e3943;box-shadow:none}.hero:before{background:radial-gradient(ellipse at 86% 90%,#6f8c851f,transparent 60%)}.hero h2{color:#fff}.hero p,.hero .small-tag,.hero .outline{color:#d1dcd9}.hero .outline{border-color:#ffffff40}.tip,.analysis-lead,.analysis-card blockquote{background:#f1f5f3;border-color:#e4eae7}.badge{background:#edf3ef;color:#60786d}.badge.gray{background:#f0f2f5;color:#77818c}.badge.warm{background:#f7f1e8;color:#9c7b51}.record-list{background:#fafbfc}.record-card.active{background:#f1f6f3;border-color:#c1d2c9;box-shadow:inset 3px 0 #7b9b8b}.chip.active,.tab.active{background:#eef4f1;border-color:#dce8e2}.tabs,.library{border-color:var(--line)}.tab.active{border-bottom-color:#6c9080}.jobbar{background:#f3f6f7;border-color:#e0e7eb;color:#5e707d}.jobbar.error{background:#fcf3f3;color:#a25359}.modal :is(label,.settings-section h3){color:#536270}.modal :is(.help,.capture-guide p,.mobile-steps){color:#78848e}.member-login{background:#f5f6f8}.member-login-card,.member-gate-card{border-color:var(--line);box-shadow:0 14px 65px #28343c08}.member-login button,.member-choice{border-color:#e3e8ec}.shooting-plan,.production-script-tools,.production-brief{border-color:#e5e9ed}
.dashboard{--dash-accent:#416e69}.dashboard .page-title{margin-bottom:24px}.dashboard .page-title h1{font-size:29px;font-weight:650;letter-spacing:-.5px;margin-bottom:7px}.dashboard .page-title .eyebrow{font-size:10px;color:#8c949e;font-weight:550;letter-spacing:2px}.dashboard .eyebrow:before{display:none}.dashboard .page-title .subtitle{font-size:13px;color:#79838f}.dashboard .page-title>button{background:#fff;font-size:12px;min-height:40px}
.platform-picker{margin-bottom:27px}.platform-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.platform-category{position:relative;justify-content:flex-start;gap:11px;padding:15px 14px;min-height:78px;border:1px solid #e4e8ed;border-radius:12px;background:#fff;text-align:left}.platform-category:hover,.platform-category.expanded{background:#fafbfc;border-color:#a6b7b3}.platform-category.selected:after{content:'';position:absolute;bottom:-1px;left:20px;right:20px;height:2px;background:var(--platform-tone);border-radius:2px}.platform-monogram{display:grid;place-items:center;background:color-mix(in srgb,var(--platform-tone) 9%,white);color:var(--platform-tone);border:1px solid color-mix(in srgb,var(--platform-tone) 12%,white);width:34px;height:34px;border-radius:10px;font-size:14px;font-weight:700;flex-shrink:0}.platform-name{font-size:13px;font-weight:650;color:#3b4652;min-width:0}.platform-name small{display:block;font-size:11px;color:#8a94a0;font-weight:450;margin-top:5px}.platform-chevron{margin-left:auto;color:#8b949e;font-size:16px;transition:transform .15s}.platform-category.expanded .platform-chevron{transform:rotate(180deg)}.platform-account-options{margin-top:10px;padding:15px;background:#fff;border:1px solid #dce4e2;border-radius:12px;box-shadow:0 8px 25px #263e3406}.platform-options-heading{display:flex;justify-content:space-between;align-items:center;margin:0 3px 12px;color:#667481;font-size:12px}.platform-options-heading button{font-size:11px;min-height:32px}.platform-account-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:9px}.platform-account-option{justify-content:flex-start;text-align:left;padding:11px;border-color:#e8ecf0;min-height:61px}.platform-account-option.active{background:#f2f6f4;border-color:#c8d7cf}.account-initial{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eef2f3;color:#5f7478;font-weight:650;flex-shrink:0}.platform-account-option b{display:block;font-size:13px;color:#44515d}.platform-account-option small{display:block;color:#8c96a0;font-size:11px;margin-top:4px}.account-check{margin-left:auto;color:#749080}.platform-add-account{border-style:dashed;background:#fcfdfd;color:#7b898d;font-size:12px;min-height:56px}.platform-no-account{margin:8px;font-size:13px;color:#8c96a0}
.dashboard-account-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.dashboard-account-heading{display:flex;align-items:center;gap:12px;min-width:0}.dashboard-account-heading>.account-initial{width:44px;height:44px;border:1px solid #e3e9e8;background:white}.dashboard-account-heading h2{font-size:21px;font-weight:650;line-height:1.4}.dashboard-platform-label{font-size:11px;color:#8b939f;font-weight:500;margin-left:8px}.account-header-links{display:flex;align-items:center;gap:10px;margin-top:4px;min-height:28px;font-size:11px}.account-header-links a{color:#87939c}.account-header-links .ghost{padding:3px;min-height:28px;color:#8b959f}.account-header-links .icon{width:14px;height:14px}.account-header-links .danger{color:#aa7276}.dashboard-account-actions{display:flex;align-items:center;gap:9px}.dashboard-account-actions>select{min-height:40px;background:#fff;font-size:12px;max-width:150px;border-color:var(--line)}.dashboard-account-actions>.primary{min-height:40px;font-size:12px;padding:9px 15px}.dashboard-more{position:relative}.dashboard-more>summary{display:grid;place-items:center;width:36px;height:40px;background:white;border:1px solid var(--line);border-radius:9px;cursor:pointer;list-style:none;color:#7a8592;font-weight:650}.dashboard-more summary::-webkit-details-marker{display:none}.dashboard-more>div{position:absolute;right:0;top:45px;z-index:15;min-width:172px;padding:5px;border-radius:10px;background:#fff;box-shadow:0 8px 30px #21303b16;border:1px solid var(--line)}.dashboard-more button{border:0;justify-content:flex-start;min-height:40px;width:100%;font-size:12px}
.dashboard-monitor{margin-bottom:24px;border-bottom:1px solid #e5e9ee;padding:0 0 12px}.dashboard-monitor>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:12px;font-size:12px;min-height:34px;color:#6e7c88}.dashboard-monitor>summary::-webkit-details-marker{display:none}.dashboard-monitor>summary>span:first-child{display:flex;align-items:center;gap:7px}.dashboard-monitor summary small{font-size:11px;font-weight:450;color:#98a0aa;margin-left:5px}.status-dot{width:6px;height:6px;background:#a4adb6;border-radius:50%;display:inline-block}.status-dot.on{background:#78a18d}.monitor-summary-time{font-size:11px;color:#8c97a1}.monitor-expanded{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;padding:15px 0 2px;color:#7b8793;line-height:1.9}.monitor-expanded>.help,.monitor-expanded>.notice{flex-basis:100%;margin:0;font-size:12px}.dashboard .jobbar{margin:10px 0 18px;display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.7}.dashboard .jobbar>span:nth-last-child(2){flex:1}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.dashboard-kpi{border:1px solid #e4e8ed;background:#fff;border-radius:12px;padding:20px 22px;text-align:left;display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;box-shadow:0 2px 4px #25324602}.dashboard-kpi>span{font-size:12px;color:#7b8792;font-weight:500}.dashboard-kpi>strong{font-size:32px;line-height:1.4;letter-spacing:-1.1px;color:#2f3c47;font-weight:650;font-variant-numeric:tabular-nums}.dashboard-kpi>strong small{margin-left:7px;font-size:12px;font-weight:450;color:#8c98a2;letter-spacing:0}.dashboard-kpi>small{font-size:10px;color:#9aa3ad;font-weight:450}.dashboard-kpi.active{border-color:#b5c9c0}.dashboard-kpi.active>strong{color:#416e69}.kpi-track{height:3px;border-radius:5px;background:#f0f3f5;overflow:hidden}.kpi-track i{display:block;height:100%;background:#b6cac0;border-radius:5px}
.dashboard-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:18px;margin-bottom:18px}.dashboard .panel{border-radius:13px;border-color:#e4e8ed}.dashboard-history,.dashboard-engagement,.dashboard-ranking,.dashboard-works{padding:23px 24px}.dashboard-chart-head,.dashboard-ranking>header,.dashboard-works>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard :is(.dashboard-chart-head,.dashboard-ranking>header,.dashboard-works>header,.dashboard-engagement>header) h2{font-size:16px;font-weight:650;letter-spacing:.2px}.section-overline{display:block;font-size:9px;letter-spacing:1.6px;color:#9ba3ad;font-weight:500;margin-bottom:8px}.chart-controls{display:flex;gap:9px;align-items:center}.chart-controls select{max-width:92px;font-size:11px;padding:7px 8px;min-height:33px;background:white;border-color:#e8ebef}.chart-type-controls{display:flex;padding:3px;border:1px solid #edf0f3;border-radius:7px;background:#f7f8fa}.chart-type-controls button{font-size:10px;border:0;min-height:27px;padding:5px 8px;color:#8d97a1;background:transparent;border-radius:5px}.chart-type-controls button.active{color:#416e69;background:white;box-shadow:0 1px 3px #233b300a}.chart-readout{display:flex;justify-content:space-between;align-items:center;margin-top:24px;font-size:11px;color:#7f8b95;gap:10px}.chart-readout small{color:#9ca5ae;font-size:10px;font-weight:450}.chart-readout b{font-size:16px;font-weight:650;color:#416e69;font-variant-numeric:tabular-nums}.performance-svg{display:block;width:100%;height:auto;min-height:180px;overflow:visible;margin-top:5px}.performance-svg text{font:10px -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;fill:#9aa4ae}.chart-point{cursor:pointer}.chart-point:hover rect:not(.chart-hit){fill:#416e69}.chart-point:hover circle{r:5}.chart-footnote{color:#96a0aa;font-size:10px;line-height:1.7;margin:0;font-weight:450}.dashboard-chart-empty{min-height:225px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;color:#97a2ac;font-size:12px}.dashboard-chart-empty>b{font-weight:550;color:#6d7b88}.dashboard-chart-empty>.icon{height:28px;width:28px;color:#b4c5c0}.engagement-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin-top:8px}.engagement-visual>svg{width:160px;height:160px}.engagement-visual svg text{font-size:10px;fill:#98a2ac}.engagement-visual svg .donut-value{font-size:23px;font-weight:650;letter-spacing:-.5px;fill:#344651}.engagement-legend{display:grid;grid-template-columns:1fr 1fr;gap:11px 24px;width:100%;max-width:300px;margin-bottom:14px}.engagement-legend>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:7px}.engagement-legend>div>span{display:flex;gap:7px;align-items:center;color:#89939f}.engagement-legend i{width:7px;height:7px;border-radius:2px}.engagement-legend b{color:#586b75;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.dashboard-engagement>.chart-footnote{text-align:center}
.dashboard-ranking{margin-bottom:18px}.dashboard-ranking>header{margin-bottom:13px}.ranking-row{display:flex;align-items:center;gap:13px;width:100%;padding:12px 0;border:0;border-bottom:1px solid #f0f2f5;border-radius:0;background:white;text-align:left;min-width:0}.ranking-row:last-child{border:0}.ranking-row:hover{background:#fafcfc}.ranking-position{font-size:12px;color:#9ca5ad;width:22px;text-align:left;flex-shrink:0;font-variant-numeric:tabular-nums}.ranking-row .analytics-cover{flex:0 0 40px;width:40px;height:48px;border-radius:6px}.ranking-row .analytics-cover-fallback{font-size:8px;padding:4px}.ranking-content{min-width:0;flex:1}.ranking-content>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px}.ranking-content b{font-weight:500;font-size:12px;color:#536572;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ranking-content strong{font-size:12px;color:#586e78;white-space:nowrap;font-weight:600}.ranking-track{display:block;height:5px;background:#f1f4f5;border-radius:6px;overflow:hidden}.ranking-track i{display:block;height:100%;background:#a2bab1;border-radius:6px}
.dashboard-works>header{margin-bottom:18px}.dashboard-works h2>small{margin-left:7px;font-size:12px;color:#9aa5ae;font-weight:450}.dashboard .analytics-table-tools{gap:8px}.dashboard .analytics-search{max-width:165px;border-radius:7px;border-color:#e6ebef;background:#fafbfc}.dashboard .analytics-search input{font-size:12px;min-height:36px}.dashboard .analytics-table-tools select{font-size:11px;border-color:#e6ebef}.works-view-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.dashboard .analytics-metric-tabs{padding:3px;background:#f3f5f7;flex:none;justify-content:flex-start;border-radius:7px}.dashboard .analytics-metric-tabs button{font-size:11px;padding:6px 14px;color:#929ca6;border:0;min-height:30px;flex:none}.dashboard .analytics-metric-tabs button.active{color:#416e69;background:white;box-shadow:0 1px 4px #293e3707}.standout-short{color:#9aa4ac;font-size:10px;white-space:nowrap}.standout-short i{width:5px;height:5px;display:inline-block;border-radius:50%;background:#b44951;margin-right:5px}.dashboard .analytics-table{min-width:900px;font-size:12px}.dashboard .analytics-table thead th{background:#fafbfc;color:#929eaa;font-size:10px;font-weight:500;padding:13px 10px}.dashboard .analytics-table th,.dashboard .analytics-table td{border-color:#f0f2f5;padding:14px 10px}.dashboard .analytics-table tbody th:first-child{min-width:260px;max-width:300px;box-shadow:none}.dashboard .analytics-table tbody tr:hover td,.dashboard .analytics-table tbody tr:hover th:first-child{background:#fafcfc}.dashboard .analytics-video-title{max-width:300px;gap:10px;color:#556773}.dashboard .analytics-cover{background:#f1f4f6;flex-basis:48px;width:48px;height:64px;border-radius:6px}.dashboard .analytics-cover img{background:#f1f4f6;object-fit:contain}.dashboard .analytics-cover-fallback{font-size:9px;padding:5px;color:#98a4ad}.dashboard .analytics-video-copy b{font-size:12px;color:#536571;font-weight:550;-webkit-line-clamp:2}.dashboard .analytics-video-copy small,.dashboard .analytics-table small{font-size:10px;color:#9ba5ae}.dashboard .analytics-table td{color:#667884;font-variant-numeric:tabular-nums}.dashboard .analytics-table td:last-child{min-width:160px}.dashboard .analytics-table td:last-child button{font-size:10px;color:#7d9693}.dashboard .rate-pill{background:#f0f5f2;color:#6e8c7b}.dashboard .analytics-data-notes{font-size:10px;color:#9da6af}.dashboard .analytics-data-notes summary{min-height:36px;display:flex;align-items:center}.dashboard .analytics-data-notes p{font-size:11px}.mobile-works-cards{display:none}.dashboard-empty-inline{padding:22px 4px;font-size:12px;color:#96a1ac}
.dashboard-report{border:1px solid #e4e8ed;background:white;border-radius:12px;margin-top:18px}.dashboard-report>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 23px;min-height:64px;cursor:pointer;list-style:none;color:#546a75;font-size:14px;font-weight:600}.dashboard-report summary::-webkit-details-marker{display:none}.dashboard-report>summary>span:first-child{display:flex;align-items:center;gap:9px}.dashboard-report summary small{font-size:11px;color:#98a3ad;font-weight:450;margin-left:8px}.dashboard-report>div{padding:0 20px 20px}.dashboard-report .analytics-report{border-color:#edf0f3;padding:20px;box-shadow:none}.dashboard-report .analytics-report .eyebrow{display:none}.dashboard-report .analytics-report h2{font-size:17px}.dashboard-report .analytics-summary{color:#607783;font-size:14px}.dashboard-report .analytics-report-grid p{color:#7f8d98;font-size:12px}.dashboard-data-note{margin-top:18px;color:#97a1aa;font-size:11px;line-height:1.9}.dashboard-data-note>summary{min-height:40px;cursor:pointer;list-style:none}.dashboard-data-note p{font-size:12px;color:#81909b;max-width:880px}.dashboard-data-note .analytics-performance-legend{display:block}.metric-standout,.dashboard .metric-standout{color:#b44951}.dashboard .analytics-performance-key{background:#fcf1f1;color:#b44951}
@media(min-width:1500px){.dashboard-chart-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}.engagement-visual{flex-direction:row;gap:20px;min-height:215px}.engagement-legend{grid-template-columns:1fr;max-width:150px;gap:15px;margin:0}.engagement-visual>svg{flex-shrink:0}}
@media(max-width:1150px){.platform-category{padding:13px 10px;gap:8px}.platform-chevron{display:none}.dashboard-chart-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.7fr)}.dashboard-history,.dashboard-engagement,.dashboard-ranking,.dashboard-works{padding:20px}.chart-controls{gap:5px}.chart-type-controls button{padding:5px 6px}.dashboard-kpi{padding:18px}.dashboard-kpi strong{font-size:29px}.platform-name{font-size:12px}.dashboard-account-actions{gap:6px}}
@media(max-width:960px){.dashboard-chart-grid{grid-template-columns:1fr}.engagement-visual{flex-direction:row;justify-content:flex-start;gap:28px;margin:5px 0}.engagement-visual>svg{flex-shrink:0}.engagement-legend{max-width:360px;margin:0}.dashboard-engagement>.chart-footnote{text-align:left}.platform-category{gap:6px}.platform-monogram{width:29px;height:29px;font-size:12px}.dashboard-kpis{gap:10px}.dashboard-kpi{padding:16px}.dashboard-kpi strong{font-size:27px}}
@media(max-width:700px){
 body .sidebar{top:auto!important;bottom:0;background:#fff;border-top:1px solid #e3e8ed;padding-bottom:calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #2a3b4603}.sidebar .nav-btn{color:#8895a0;font-size:10px}.sidebar .nav-btn.active{background:#f0f5f2;color:#416e69}.sidebar .nav-btn:hover{background:#f5f7f8}.sidebar .nav-btn .icon{width:19px;height:19px}.main{padding:24px 14px 22px}.topbar{padding:0 14px;gap:8px;height:66px}.topbar .top-actions{gap:1px}.topbar .top-actions>button[data-action=settings]{display:none}.topbar .member-switch{padding:7px 8px;gap:5px;font-size:11px;min-height:36px}.topbar .member-switch .icon{width:14px;height:14px}.global-grab{padding-left:9px;max-width:none;min-width:0;border-radius:8px}.global-grab input{font-size:11px;padding-right:3px}.global-grab button{font-size:11px;padding:8px 9px;white-space:nowrap;min-height:34px}.global-grab .icon{display:none}.page-title h1{font-size:25px}.hero{padding:25px;border-radius:12px}.hero h2{font-size:23px}.stats{gap:10px}.stat{padding:16px}.stat-value{font-size:27px}.library .detail-head{padding:20px 17px}.library .detail-body{padding:20px 17px}.detail-actions{gap:7px}.detail-actions button{min-height:40px}.overlay{padding:12px}.modal{max-width:100%;max-height:calc(100dvh - 24px)}.modal input,.modal textarea,.modal select{font-size:16px}.main .footer{padding-bottom:8px}
 .dashboard .page-title{margin-bottom:20px;gap:8px}.dashboard .page-title h1{font-size:25px;margin-bottom:5px}.dashboard .page-title .eyebrow{font-size:9px}.dashboard .page-title .subtitle{font-size:11px;max-width:240px;line-height:1.7}.dashboard .page-title>button{font-size:11px;padding:8px 10px;min-height:40px;flex-shrink:0;margin-top:20px}.dashboard .page-title>button .icon{width:14px;height:14px}
 .platform-picker{margin-bottom:22px}.platform-categories{gap:5px}.platform-category{flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:95px;padding:10px 2px;text-align:center;border-radius:10px}.platform-monogram{width:29px;height:29px;border-radius:9px;font-size:11px}.platform-name{font-size:10px;white-space:nowrap;line-height:1.2}.platform-name small{font-size:9px;margin-top:5px}.platform-category.selected:after{left:12px;right:12px}.platform-account-options{padding:10px}.platform-account-grid{grid-template-columns:1fr}.platform-account-option{min-height:58px}.platform-add-account{min-height:45px;font-size:12px}.platform-options-heading{margin:0 3px 8px}
 .dashboard-account-header{display:block;margin-bottom:8px}.dashboard-account-heading{gap:10px}.dashboard-account-heading h2{font-size:20px}.dashboard-account-heading>.account-initial{width:40px;height:40px}.dashboard-platform-label{font-size:10px}.account-header-links{gap:9px;font-size:11px}.account-header-links .ghost{min-width:32px;min-height:32px}.dashboard-account-actions{margin-top:12px;display:flex;gap:8px}.dashboard-account-actions>select{min-height:42px;flex:1;max-width:none;font-size:12px;padding:8px 10px}.dashboard-account-actions>.primary{min-height:42px;flex:1;padding:9px 12px;font-size:12px}.dashboard-more>summary{height:42px;width:40px}.dashboard-more>div{top:48px}.dashboard-monitor{padding-bottom:9px;margin-bottom:18px}.dashboard-monitor>summary{min-height:42px;font-size:11px}.dashboard-monitor summary small{font-size:10px;margin-left:2px}.monitor-summary-time{font-size:10px}.monitor-expanded{font-size:11px}.monitor-expanded button{min-height:42px}.dashboard .jobbar{padding:12px;font-size:11px;flex-wrap:wrap}.dashboard .jobbar button{min-height:40px}
 .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}.dashboard-kpi{padding:16px;gap:7px;border-radius:11px}.dashboard-kpi>span{font-size:11px}.dashboard-kpi>strong{font-size:29px;line-height:1.3}.dashboard-kpi>small{font-size:10px}.kpi-track{margin:3px 0 1px;height:3px}.dashboard-chart-grid{gap:14px;margin-bottom:14px}.dashboard-history,.dashboard-engagement,.dashboard-ranking,.dashboard-works{padding:18px 15px}.dashboard :is(.dashboard-chart-head,.dashboard-ranking>header,.dashboard-works>header,.dashboard-engagement>header) h2{font-size:15px}.section-overline{font-size:8px;letter-spacing:1.4px;margin-bottom:6px}.dashboard-chart-head{gap:8px;flex-wrap:wrap}.chart-controls{gap:6px}.chart-controls select{min-height:36px;padding:7px 6px;font-size:11px}.chart-type-controls button{min-height:30px;font-size:10px;padding:6px}.chart-readout{margin-top:20px;font-size:10px}.chart-readout b{font-size:15px}.performance-svg{min-height:155px;width:100%;margin:10px 0 2px}.performance-svg text{font-size:12px}.chart-footnote{font-size:10px}.engagement-visual{gap:14px;margin:8px 0 10px}.engagement-visual>svg{width:128px;height:128px}.engagement-legend{grid-template-columns:1fr;gap:10px;max-width:none;flex:1}.engagement-legend>div{font-size:11px}.engagement-legend b{font-size:12px}.dashboard-ranking{margin-bottom:14px}.dashboard-ranking>header{margin-bottom:8px}.ranking-row{gap:9px;padding:11px 0;min-height:64px}.ranking-position{width:17px;font-size:10px}.ranking-row .analytics-cover{flex-basis:36px;width:36px;height:44px}.ranking-content b{font-size:11px}.ranking-content strong{font-size:11px}.ranking-content>span:first-child{gap:10px}.ranking-track{height:4px}
 .desktop-works-table{display:none}.mobile-works-cards{display:grid;gap:11px}.dashboard-works>header{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:13px}.dashboard .analytics-table-tools{display:flex;flex-wrap:nowrap;width:100%;gap:7px}.dashboard .analytics-search{flex:1;max-width:none;min-width:0;padding:0 10px}.dashboard .analytics-search input{font-size:12px;min-height:40px;min-width:0}.dashboard .analytics-search .icon{width:14px}.dashboard .analytics-table-tools select{font-size:11px;max-width:112px;min-height:40px}.works-view-controls{gap:5px;margin-bottom:13px}.dashboard .analytics-metric-tabs{padding:3px;flex:none}.dashboard .analytics-metric-tabs button{min-height:33px;padding:7px 13px;font-size:11px}.standout-short{font-size:9px;white-space:normal;max-width:95px;text-align:right;line-height:1.6}.mobile-work-card{border:1px solid #e9edf0;border-radius:10px;padding:13px}.mobile-work-title{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-width:0;text-align:left;padding:0;border:0;background:transparent}.mobile-work-title:hover{background:transparent}.dashboard .mobile-work-title .analytics-cover{flex-basis:49px;width:49px;height:63px;border-radius:6px}.mobile-work-title>span:last-child{min-width:0;flex:1}.mobile-work-title b{font-size:12px;font-weight:550;color:#4b5d6a;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-work-title small{font-size:10px;color:#9aa6b0;display:flex;align-items:center;justify-content:space-between;margin-top:7px}.mobile-work-title .icon{width:13px;height:13px}.mobile-work-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 8px;border-top:1px solid #f0f3f5;padding-top:12px;margin-top:12px}.mobile-work-metrics>div{min-width:0}.mobile-work-metrics span{display:block;font-size:10px;color:#99a4af;margin-bottom:5px}.mobile-work-metrics b{font-size:13px;color:#5a6d7a;font-weight:600;font-variant-numeric:tabular-nums}.mobile-work-metrics .metric-standout{display:inline;font-size:13px}.mobile-work-metrics .metric-standout-arrow{display:inline;font-size:10px;margin:0 2px 0 0}.mobile-work-metrics .metric-standout span{display:inline}
 .dashboard-report{margin-top:14px}.dashboard-report>summary{padding:17px 15px;font-size:13px;min-height:60px}.dashboard-report summary small{display:none}.dashboard-report>div{padding:0 10px 10px}.dashboard-report .analytics-report{padding:15px}.dashboard-report .analytics-report h2{font-size:16px}.dashboard-report .analytics-report button{min-height:42px;font-size:12px}.dashboard-data-note{margin-top:12px}.dashboard-data-note>summary{min-height:44px}.dashboard-data-note p{font-size:11px;line-height:1.9}.dashboard .analytics-performance-legend{font-size:11px;line-height:1.9}.dashboard .analytics-report-grid{grid-template-columns:1fr}
}
@media(max-width:360px){.main{padding-left:11px;padding-right:11px}.dashboard .page-title .subtitle{max-width:190px;font-size:10px}.platform-categories{gap:4px}.platform-name{font-size:9px}.dashboard-kpi{padding:14px}.dashboard-kpi>strong{font-size:27px}.dashboard-history{padding:16px 12px}.chart-controls{gap:3px}.chart-type-controls button{padding:5px}.dashboard .analytics-metric-tabs button{padding:7px 10px}.standout-short{max-width:76px}}
@media(prefers-reduced-motion:reduce){.platform-chevron{transition:none}}
/* Keep controls horizontal even when the base forms use full-width selects. */
.dashboard-account-actions{flex-shrink:0}.dashboard-account-actions>select,.chart-controls>select{width:auto;flex-shrink:0}.dashboard-account-actions>button,.chart-type-controls,.chart-type-controls button{flex-shrink:0;white-space:nowrap}.dashboard-account-actions>button{min-width:110px}.chart-type-controls button{min-width:38px}.dashboard .chart-controls select{min-width:62px}.platform-name small,.dashboard-kpi>small,.dashboard .chart-footnote,.section-overline,.standout-short,.dashboard .analytics-video-copy small,.dashboard .analytics-table small,.dashboard .analytics-table thead th,.account-header-links a,.monitor-summary-time,.dashboard-monitor summary small,.dashboard-platform-label,.chart-readout small,.engagement-legend>div>span,.dashboard-data-note{color:#71808f}.performance-svg text{fill:#74818f}.engagement-visual svg text{fill:#71808f}.sidebar .local-note.local-note,.sidebar .nav-label.nav-label{color:#798793}.global-grab input::placeholder{color:#77818c}.dashboard-load-more{display:none}.dashboard-report summary small{color:#71808f}
@media(max-width:700px){.dashboard-account-actions>select{flex:1;min-width:0;width:0}.dashboard-account-actions>button{flex:0 0 auto;min-width:110px;white-space:nowrap}.dashboard-account-actions>.dashboard-more{flex-shrink:0}.dashboard-load-more{display:flex;width:100%;min-height:44px;margin-top:2px;background:#f8fafb;border-color:#e5ebef;color:#6b808a;font-size:12px}.mobile-work-metrics>div>span,.mobile-work-title small{color:#758391}.platform-name small{font-size:9px}.dashboard .page-title .subtitle{color:#73808d}}
/* The home radar uses compositor animation; interactions stay local to its DOM. */
.radar-interactive{display:flex;flex-direction:column;justify-content:center;align-items:center;perspective:700px;min-width:0}
.radar-stage{transform:rotateX(var(--radar-y,0deg)) rotateY(var(--radar-x,0deg));transition:transform .3s ease;max-width:100%;line-height:0}
.radar-interactive .radar-stage svg{width:260px;height:230px;max-width:100%;overflow:visible}
.radar-sweep{transform-origin:125px 112px;animation:radar-scan 6s linear infinite;opacity:.85;transition:opacity .3s}
.radar-stage:hover .radar-sweep{opacity:1}
.radar-wave{transform-origin:125px 112px;animation:radar-wave 6s ease-out infinite;opacity:0;pointer-events:none}
.radar-wave-late{animation-delay:3s}
.radar-core{transform-origin:125px 112px;animation:radar-core 3s ease-in-out infinite}
.radar-node{cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}
.radar-node-halo{opacity:.1;animation:radar-blip 6s ease-out infinite;animation-delay:var(--blip-delay)}
.radar-node-ring{opacity:0;transition:opacity .25s}
.radar-node-dot{transition:fill .25s,filter .25s}
.radar-node text{transition:fill .25s;font-family:inherit}
.radar-node:hover .radar-node-ring,.radar-node:focus-visible .radar-node-ring,.radar-node[aria-pressed=true] .radar-node-ring{opacity:.7}
.radar-node:hover .radar-node-dot,.radar-node:focus-visible .radar-node-dot,.radar-node[aria-pressed=true] .radar-node-dot{fill:#e5f5e9;filter:drop-shadow(0 0 4px #bde5ce88)}
.radar-node:hover text,.radar-node:focus-visible text,.radar-node[aria-pressed=true] text{fill:#e6f3e9}
.radar-caption{display:flex;align-items:center;justify-content:center;gap:10px;min-height:35px;width:100%;color:#a6c0b2;font-size:9px;letter-spacing:1.4px;margin-top:0;text-align:center}
.radar-caption>span{min-width:0;max-width:270px;line-height:1.7}
.radar-interactive.has-selection .radar-caption{font-size:11px;letter-spacing:.3px;color:#c6dcd0}
.radar-toggle{width:30px;height:30px;min-height:30px;flex:0 0 30px;padding:0;border-radius:50%;border:1px solid #b7cfbe30;background:#ffffff04;color:#b5cdbf;font-size:11px;letter-spacing:0}
.radar-toggle:hover{background:#ffffff12;border-color:#c3ddcb77;color:#e0efe4}
.radar-toggle:focus-visible{outline:2px solid #c5e4d0;outline-offset:3px}
.radar-interactive.is-paused :is(.radar-sweep,.radar-wave,.radar-core,.radar-node-halo){animation-play-state:paused}
@keyframes radar-scan{to{transform:rotate(360deg)}}
@keyframes radar-wave{0%{transform:scale(.25);opacity:0}12%{opacity:.35}80%,100%{transform:scale(4.7);opacity:0}}
@keyframes radar-core{0%,100%{opacity:.75}50%{opacity:1}}
@keyframes radar-blip{0%{opacity:.12}5%{opacity:.42}30%,100%{opacity:.1}}
@media(max-width:700px){.radar-interactive .radar-toggle{width:40px;height:40px;flex-basis:40px}.radar-caption{min-height:44px}}
@media(prefers-reduced-motion:reduce){.radar-interactive :is(.radar-sweep,.radar-wave,.radar-core,.radar-node-halo){animation:none!important}.radar-stage{transform:none!important;transition:none}.radar-wave{display:none}.radar-node-dot,.radar-node text,.radar-node-ring{transition:none}}
@media(max-width:700px){.hero .radar-interactive{margin-top:18px}.radar-interactive .radar-stage svg{width:210px;height:185px}.radar-node>circle:first-child{r:26}.radar-caption>span{max-width:230px}}
.top-actions > [data-action="new-script"]{display:none}
.storyboard-table.has-venues{min-width:860px}
.shot-venue-content{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;font-size:12px}
.shot-venue-content strong,.shot-venue-content p{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.8;margin:0}
.shot-venue-content p{color:#788579;font-size:11px}
.shot-venue-empty{color:#94a08f}
.shot-venue-map{font-size:11px;color:#657e59;text-decoration:none}
.shot-venue-content button{font-size:11px;padding:8px 10px;min-height:36px}
.shot-venue-options{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}
.shot-venue-options button{font-size:12px;max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){.storyboard-table.has-venues{min-width:800px}.shot-venue-content button{min-height:44px}.shot-venue-content{gap:10px}}
.shot-inline-field+.shot-inline-field{margin-top:14px}
.shot-inline-field>label{display:block;font-size:10px;letter-spacing:.04em;color:#899381;margin:0 0 6px}
.shot-inline-input{display:block;width:100%;box-sizing:border-box;min-height:76px;max-height:460px;resize:vertical;padding:9px 10px;border:1px solid transparent;border-radius:7px;background:transparent;font:inherit;font-size:13px;line-height:1.9;color:#3c5038;transition:background .15s,border-color .15s}
.shot-inline-input::placeholder{color:#a3ac9d;font-size:11px}
.shot-inline-input:hover{border-color:#e2e7dc;background:#fcfdf9}
.shot-inline-input:focus{outline:0;border-color:#a7b99a;background:#fff;box-shadow:0 0 0 3px #eef3e8}
.shot-inline-toolbar{min-height:18px;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:10px;color:#91a087;margin-top:4px}
.shot-inline-toolbar .error{color:#b04a3d;overflow-wrap:anywhere}
.shot-inline-toolbar button{padding:3px 6px;font-size:10px;white-space:nowrap}
.shot-inline-toolbar [hidden]{display:none}
@media(max-width:760px){.shot-inline-input{font-size:16px}.shot-inline-toolbar button{min-height:36px}}

.source-upload-status{display:inline-block;margin-left:8px;font-size:11px;color:#6c8075}.original-board .reference-replace{cursor:pointer;font-size:12px;white-space:nowrap}.original-board .shot-edit{margin-top:10px;min-height:36px}.original-board .reference-replace input,.original-board .board-upload input{display:none}
@media(max-width:760px){.original-board .reference-replace{padding:8px 6px;min-height:40px;display:inline-flex;align-items:center}.original-board .shot-edit{min-height:44px}}

.team-top-button{gap:6px;white-space:nowrap;background:#eef4f1;border-color:#dce7e0;color:#416e69;font-size:12px;min-height:38px;padding:8px 12px;flex-shrink:0}
.team-top-button .icon{width:16px;height:16px}.team-space-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#608275}.team-space-status .icon{width:17px;height:17px}.team-option{padding-top:18px;border-top:1px solid #e6ebe8;margin-top:8px}.team-option h4{margin:0 0 12px;font-size:14px}.team-panel form{display:grid;gap:9px}.team-panel .help{margin:0;line-height:1.8}.team-code-row{display:flex;gap:8px;min-width:0}.team-code-row .team-code{flex:1;min-width:0;width:0}.team-code-row button{flex-shrink:0;font-size:12px}.team-create-fold{margin:8px 0}.team-create-fold summary{cursor:pointer;font-size:12px;color:#6c8075;margin-bottom:12px}
@media(max-width:760px){body .topbar{min-width:0;gap:6px;padding-left:12px;padding-right:12px}body .topbar .global-grab{flex:1;min-width:0;gap:4px;padding-left:6px}body .topbar .global-grab input{min-width:0;width:0;flex:1}body .topbar .global-grab>button{font-size:10px;padding:7px 6px}body .topbar .top-actions{flex:0 0 auto;gap:4px}body .topbar .top-actions>small,body .topbar .top-actions>[data-action=settings],body .topbar .top-actions>[data-action=mobile]{display:none}body .topbar .team-top-button{display:inline-flex;min-height:38px;padding:7px;font-size:11px}body .topbar .team-top-button .icon{display:none}body .topbar .member-switch{max-width:64px;min-width:0;padding:7px 6px}body .topbar .member-switch .icon{display:none}body .topbar .member-switch>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-code-row{flex-wrap:wrap}.team-code-row .team-code{flex-basis:140px}.team-panel button{min-height:44px}}

/* Preserve primary-action contrast after muted detail toolbar rules. */
.main .detail-actions button.primary{color:#fff}
.main .detail-actions button.primary:disabled{color:#f0f2f5}
.production-job-error{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}
.production-job-error>div:first-child{flex:1 1 280px;min-width:0}
.production-job-error p{margin:6px 0 0;line-height:1.7;overflow-wrap:anywhere}
.production-recovery-actions{display:flex;flex-wrap:wrap;gap:8px}
.production-job-error>details{flex-basis:100%;min-width:0}
.production-job-error summary{cursor:pointer;font-size:12px}

/* Reference editing is an explicit action, not muted metadata. */
.main button.source-edit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;padding:10px 15px;min-height:44px;border:1px solid #3c625b;border-radius:9px;background:#3c625b;color:#fff;font-size:13px;font-weight:650;box-shadow:0 2px 5px #203b3410}
.main button.source-edit-button:hover{background:#2f504a;border-color:#2f504a}
.source-edit-button .icon{width:16px;height:16px}
.source-edit-hint{display:block;margin-top:8px;color:#52645f;font-size:11px;font-weight:500;line-height:1.6}
.main .source-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid #a4bcb5;border-radius:8px;background:#edf4f1;color:#31584f;font-size:12px;font-weight:600;cursor:pointer}
.main .source-upload-button:hover{background:#dfece6;border-color:#6e9487}
@media(max-width:680px){.main button.source-edit-button{padding:9px 11px;font-size:12px;max-width:100%}.source-edit-hint{font-size:10px}.main .source-upload-button{min-height:44px}}

.production-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.production-header-actions button{white-space:nowrap}
@media(max-width:700px){.production-header-actions{width:100%;gap:6px}.production-header-actions button{flex:1;min-height:40px;padding:8px 9px;font-size:11px}}

.production-topic-heading{display:flex;align-items:center;gap:10px;min-width:0}.production-topic-heading h2{min-width:0}.production-topic-heading button{flex:0 0 auto;font-size:11px;color:#668475}

/* Compact storyboard row actions: keep edit, insert and delete visually grouped. */
.storyboard-table .shot-row-action{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:30px;margin:8px 5px 0 0;padding:6px 9px;border:1px solid #d9e3dc;border-radius:7px;background:#f8faf8;color:#4b6d64;font-size:10px;font-weight:650;line-height:1;white-space:nowrap;box-shadow:none;vertical-align:middle}
.storyboard-table .shot-row-action:hover{background:#edf5f0;border-color:#b8d0c4;color:#315d52}
.storyboard-table .shot-row-action.danger{color:#a85d5b;border-color:#ead8d8;background:#fffafa}
.storyboard-table .shot-row-action.danger:hover{background:#fff1f1;border-color:#dfbcbc;color:#974644}
@media(max-width:760px){.storyboard-table .shot-row-action{min-height:28px;padding:5px 7px;font-size:10px;margin-top:7px}.storyboard-table .source-edit-button{margin-top:12px}}

.storyboard-group .shot-number{font-size:15px;font-weight:750;letter-spacing:1.8px;color:#78946c;margin-bottom:9px}.storyboard-group .shot-scene{font-size:18px;line-height:1.5;font-weight:750;color:#294f39;letter-spacing:.2px}.board-reference-grid[data-storyboard-paste]{outline:0;border-radius:8px;padding:2px}.board-reference-grid[data-storyboard-paste]:focus,.board-reference-grid[data-storyboard-paste]:focus-within{box-shadow:0 0 0 2px #a8c8b8;background:#fbfdf9}.board-reference-grid[data-storyboard-paste]::after{content:'点击此区域后可粘贴图片';display:block;margin-top:8px;color:#8ca392;font-size:10px}@media(max-width:760px){.storyboard-group .shot-number{font-size:14px}.storyboard-group .shot-scene{font-size:16px}}
