/* Channel studio: presentation of existing channels, episodes and six stages. */
#dashboard{--kk-bg:#070c16;--kk-sidebar:#080f1c;--kk-surface:#0b1422;--kk-raised:#121d30;--kk-primary:#cf9dff;--kk-tint:#bd83ff16;--kk-line:#526b9638;background:radial-gradient(ellipse at 95% 12%,#57348c28,transparent 38%),radial-gradient(ellipse at 50% 100%,#142b452a,transparent 50%),#070c16;min-height:100dvh}
#dashboard .topbar{min-height:76px;padding:0 30px;background:#070c16e8;border-bottom:1px solid #526b9629;position:relative;z-index:30}
#dashboard .topbar .brand{font-size:19px;letter-spacing:4px}
#dashboard .topbar .brand small{font-size:9px}
#dashboard .workspace{grid-template-columns:300px minmax(0,1fr);gap:0}
#dashboard .sidebar{top:0;padding:26px 18px;gap:18px;background:linear-gradient(180deg,#0b1422cf,#080f1ce8);min-height:calc(100dvh - 76px);max-height:100dvh;border-right:1px solid var(--kk-line)}
#dashboard .studio-sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px 12px;color:#bfcbe5;font-size:10px;font-weight:600;letter-spacing:1.8px}
#dashboard #studio-add-channel{width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#e7d7ff;font-size:27px;font-weight:300;line-height:1}
#dashboard #studio-add-channel:hover{background:#bd83ff22}
#dashboard .sidebar-bottom{display:none}
#dashboard #studio-channel-tree{display:grid;gap:12px;min-width:0}
#dashboard .studio-tree-empty{display:grid;gap:6px;padding:24px 10px;border-top:1px solid var(--kk-line);font-size:12px;color:var(--kk-secondary)}
#dashboard .studio-tree-empty small{font-size:11px;color:var(--kk-quiet)}
#dashboard .studio-channel-group{min-width:0;border-bottom:1px solid #526b9620;padding-bottom:12px}
#dashboard .studio-channel-row{display:flex;align-items:stretch;border:1px solid transparent;border-radius:10px}
#dashboard .studio-channel-group.is-active>.studio-channel-row{background:linear-gradient(110deg,#bd83ff25,#bd83ff13);border-color:#bd83ff26}
#dashboard .studio-channel-select{display:flex;align-items:center;flex:1;gap:12px;min-height:66px;min-width:0;border:0;background:none;color:#f2ecff;padding:12px 10px;text-align:left}
#dashboard .studio-channel-icon{display:grid;place-items:center;flex:0 0 32px;height:34px;border:1px solid #bd83ff30;background:#080f1c;border-radius:8px;color:#cf9dff;font-size:22px}
#dashboard .studio-tree-copy{display:grid;min-width:0;gap:3px}
#dashboard .studio-tree-copy strong{font-size:13px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboard .studio-tree-copy small{font-size:11px;color:#a9b9d5}
#dashboard .studio-tree-toggle{flex:0 0 32px;border:0;background:none;color:#d0b5f1;font-size:20px;padding:0 6px}
#dashboard .studio-tree-toggle:disabled{opacity:1;cursor:default}
#dashboard .studio-channel-stages{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px 8px 20px}
#dashboard .studio-channel-stage{min-height:34px;border:1px solid var(--kk-line);border-radius:8px;background:#0b1422;color:#b9c7df;font-size:11px;text-align:left;padding:6px 10px}
#dashboard .studio-channel-stage.is-active{color:#e2bcff;border-color:#bd83ff60;background:var(--kk-tint)}
#dashboard .studio-episode-list{display:grid;gap:4px;padding:4px 0 0 14px}
#dashboard .studio-episode{min-width:0}
#dashboard .studio-episode-select{display:grid;grid-template-columns:16px minmax(0,1fr);gap:4px 6px;border:0;background:transparent;text-align:left;width:100%;color:#d1daec;padding:12px 8px;min-height:62px;border-radius:8px}
#dashboard .studio-episode-select:hover{background:#bd83ff0c}
#dashboard .studio-episode-title{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:36px}
#dashboard .studio-episode-select small{grid-column:2;font-size:10px;color:#98aac9}
#dashboard .studio-episode-dot{font-size:14px;color:#9caac2;line-height:1.5}
#dashboard .studio-episode-dot.is-published{color:#7de9c8}
#dashboard .studio-episode-stages{display:grid;gap:2px;border-left:1px solid #536b9755;margin:0 0 12px 15px;padding:4px 0 4px 15px}
#dashboard .studio-tree-stage{display:flex;align-items:center;gap:10px;min-height:36px;background:none;color:#a8b9d5;border:0;border-radius:8px;text-align:left;padding:5px 9px;font-size:12px;position:relative}
#dashboard .studio-tree-stage::before{position:absolute;content:'';left:-16px;width:15px;height:1px;background:#536b9755}
#dashboard .studio-tree-stage b{display:grid;place-items:center;width:22px;height:22px;border:1px solid #7892bc77;border-radius:50%;font-size:10px;font-weight:500}
#dashboard .studio-tree-stage b:has(+span){flex-shrink:0}
#dashboard .studio-tree-stage.is-active{background:linear-gradient(90deg,#b772fa30,#c78dff13);color:#e6c1ff}
#dashboard .studio-tree-stage.is-active b{background:#d1a3ff;color:#211130;border-color:#d1a3ff;box-shadow:0 0 14px #b873ff20}
#dashboard .studio-add-episode{min-height:42px;text-align:left;border:1px dashed #a282c34d;background:none;border-radius:9px;margin:6px 8px 4px;color:#c9b2e3;padding:8px 12px;font-size:11px}
#dashboard .workspace>main{padding:26px 34px 32px;max-width:1640px;position:relative;isolation:isolate}
#dashboard .workspace>main::before{content:'';position:absolute;top:0;right:0;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle at 25% 15%,#bc9cf72a,#474f8522 26%,#1526431b 50%,transparent 69%);box-shadow:inset 7px 12px 15px #b38cf10c;z-index:-1;pointer-events:none}
#dashboard .studio-contextbar{display:flex;align-items:center;gap:16px;justify-content:space-between;min-height:46px;margin:0 0 24px}
#dashboard #studio-breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;font-size:13px;color:#bbcae4}
#dashboard #studio-breadcrumb button{border:0;background:none;color:#bbcae4;padding:4px 0;min-height:32px;font-size:13px}
#dashboard #studio-breadcrumb strong{font-size:13px;font-weight:600;color:#f1eafa}
#dashboard .studio-separator{color:#6c809f}
#dashboard .studio-context-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
#dashboard #studio-new-episode{background:linear-gradient(110deg,#c796ff,#dba4ff);border:1px solid #dab0ff;min-height:44px;white-space:nowrap;display:flex;align-items:center;gap:10px;font-size:12px;padding:10px 18px;box-shadow:0 0 20px #b875ff12}
#dashboard #studio-new-episode>span{font-size:20px;line-height:1}
#dashboard .studio-tools,#dashboard .studio-crew{position:relative}
#dashboard .studio-context-actions details>summary{list-style:none;cursor:pointer;min-height:42px;padding:10px 13px;border:1px solid var(--kk-line);border-radius:10px;color:#b4c4e1;font-size:11px;background:#0b1422a8}
#dashboard .studio-context-actions summary::-webkit-details-marker{display:none}
#dashboard .studio-tools .deck-nav{position:absolute;z-index:45;right:0;top:50px;min-width:220px;padding:10px;background:#0b1422;border:1px solid var(--kk-line);border-radius:12px;box-shadow:0 16px 45px #0008;display:grid;grid-template-columns:1fr;gap:4px}
#dashboard .studio-tools .nav{display:flex;flex-direction:row;min-height:46px;text-align:left;font-size:12px;padding:8px 12px}
#dashboard .studio-tools .nav small{display:block;margin-left:auto}
#dashboard .studio-tools .nav-icon{display:grid;width:24px;height:24px;font-size:18px}
#dashboard .studio-tools .nav.active{box-shadow:none}
#dashboard .studio-crew>.ship-panel.ship-hero{position:absolute;z-index:45;right:0;top:50px;width:min(460px,calc(100vw - 36px));max-height:80dvh;overflow:auto;padding:18px;background:#0b1422;box-shadow:0 18px 60px #0009;border-radius:14px}
#dashboard .studio-crew .ship-hero .ship-scene{display:block}
#dashboard .studio-crew .vessel-chart{max-width:400px;margin:0 auto}
#dashboard .studio-crew .ship-hero .crew{grid-template-columns:repeat(3,minmax(0,1fr))}
#dashboard .studio-crew .ship-hull{padding:0}
#dashboard .studio-crew .station-detail{display:block;min-height:0}
#dashboard .studio-crew .station{min-height:52px}
#dashboard #studio-mobile-menu{display:none}
#dashboard #studio-menu-backdrop{position:fixed;inset:66px 0 0;border:0;background:#0009;z-index:44;width:100%;height:calc(100dvh - 66px)}
#dashboard .studio-tools #deck-motion{min-height:44px;text-align:left;background:none;border:0;border-top:1px solid var(--kk-line);color:var(--kk-secondary);font-size:12px;padding:10px 12px}
#dashboard .pipeline-map{padding:0 0 22px;border:0;margin-bottom:24px}
#dashboard .pipeline-map button{min-height:74px;gap:9px;font-size:12px}
#dashboard .pipeline-map small{display:none}
#dashboard .pipeline-map b{flex-basis:36px;width:36px;height:36px;font-size:12px;background:#080e19;border-color:#576c93}
#dashboard .pipeline-map button::before{top:22px}
#dashboard .pipeline-map span{font-size:12px;font-weight:500}
#dashboard .pipeline-map button.completed b{background:#7de9c8;color:#09201e;border-color:#7de9c8;box-shadow:0 0 14px #7de9c819}
#dashboard .pipeline-map button.active b{background:linear-gradient(135deg,#e5b6ff,#b88cfa);border-color:#d8a5ff;box-shadow:0 0 18px #bd83ff30}
#dashboard .page-heading,#dashboard .mission-brief,#dashboard .flight-stats,#dashboard .telemetry{display:none}
#dashboard #refresh{position:static}
#dashboard .radar-panel{padding:0;margin:0;min-height:0;scroll-margin-top:18px}
#dashboard .radar-panel>.panel-heading{padding:0 0 8px;margin:0 0 6px;align-items:center}
#dashboard .radar-panel h2{font-size:clamp(32px,3.2vw,48px);line-height:1.15;letter-spacing:-1.8px;font-weight:700;margin:12px 0}
#dashboard .radar-panel h2 .studio-title-accent{color:#ce9dff}
#dashboard .radar-panel>.panel-heading .eyebrow{font-size:10px;letter-spacing:2.4px;color:#b2bbd5}
#dashboard .radar-intro{font-size:15px;color:#b4c2de;line-height:1.6;margin:0 0 25px;max-width:820px}
#dashboard .radar-panel>.panel-heading .pill{font-size:10px;max-width:160px}
#dashboard .telemetry-footer{margin-top:40px;padding-top:18px;border-top:1px solid var(--kk-line);font-size:9px;opacity:.8}
#dashboard .primary{background:linear-gradient(110deg,#c899ff,#dfaaff);border-color:#d7acff;color:#20132e;box-shadow:none}
#dashboard .primary:hover{background:linear-gradient(110deg,#d6b0ff,#e6bdff)}
#dashboard .studio-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
#dashboard .studio-editor-main{min-width:0}
#dashboard .studio-inspector{display:grid;gap:16px;min-width:0}
#dashboard .studio-card{min-width:0;background:linear-gradient(135deg,#101b2b7d,#0a1320c9);border:1px solid var(--kk-line);border-radius:16px;padding:24px}
#dashboard .studio-card>h3{font-size:24px;font-weight:650;line-height:1.35;letter-spacing:-.5px;margin:0 0 18px}
#dashboard .studio-card>p{font-size:14px;line-height:1.8;color:#bdcbe1}
#dashboard .studio-inspector .studio-card{padding:20px}
#dashboard .studio-inspector .studio-card>h3{font-size:16px;letter-spacing:0;margin-bottom:18px}
#dashboard .studio-inspector .studio-card>strong{display:block;font-size:17px;line-height:1.55}
#dashboard .studio-inspector .studio-card>p{font-size:12px;color:#acbbd5;line-height:1.8}
#dashboard .studio-inspector .studio-card>.artifact-link{font-size:11px;padding:8px 10px;min-height:40px}
#dashboard .studio-kicker{display:block;font-size:10px;letter-spacing:.6px;color:#b896e2;margin-bottom:7px}
#dashboard .studio-inspector .primary{width:100%;min-height:50px;font-size:12px}
#dashboard .studio-inspector .studio-cost{font-size:27px!important;color:#e2c4ff}
#dashboard .studio-concept{font-size:16px!important;line-height:1.8!important;margin-bottom:24px}
#dashboard .studio-storyboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
#dashboard .studio-scene{min-width:0}
#dashboard .studio-scene-visual{aspect-ratio:1.2;border:1px solid #6782b33b;border-radius:12px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 20% 20%,#674a8e3b,transparent 75%),linear-gradient(135deg,#15263a,#0c1527);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
#dashboard .studio-scene-visual img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
#dashboard .studio-scene-visual>span{font-size:31px;line-height:1;font-weight:300;color:#d3b1f8}
#dashboard .studio-scene-visual>small{font-size:9px;color:#a3b4d1;letter-spacing:.5px}
#dashboard .studio-scene h4{font-size:12px;line-height:1.6;margin:12px 0 6px;font-weight:600}
#dashboard .studio-scene p{font-size:11px;line-height:1.8;color:#a7b7d1;margin:0}
#dashboard .studio-script{padding:14px 0;border:0;border-top:1px solid var(--kk-line);border-radius:0;background:none;margin-top:8px}
#dashboard .studio-script summary{font-size:13px;min-height:40px;color:#d7d6ec;cursor:pointer;align-content:center}
#dashboard .studio-script>p{white-space:pre-wrap;font-size:14px;line-height:1.9;color:#b9c9e1}
#dashboard .studio-timeline{display:grid;gap:0;border-left:1px solid #8b65b54d;margin:24px 0 24px 12px;padding-left:20px}
#dashboard .studio-beat{position:relative;border:1px solid #526b9630;border-radius:10px;background:#0a1320;margin:0 0 12px;padding:14px 16px}
#dashboard .studio-beat::before{content:'';width:7px;height:7px;border-radius:50%;background:#cd9cff;position:absolute;left:-25px;top:25px;box-shadow:0 0 10px #cd9cff30}
#dashboard .studio-beat summary{display:flex;gap:12px;align-items:center;cursor:pointer;min-height:28px;font-size:13px}
#dashboard .studio-beat summary>b{color:#cd9cff;font:10px ui-monospace,monospace}
#dashboard .studio-beat summary>small{margin-left:auto;color:#91a5c8;font-size:10px;white-space:nowrap}
#dashboard .studio-beat>p{font-size:12px;line-height:1.8;color:#b9c8df}
#dashboard .studio-beat>small{font-size:10px;color:#94a6c6}
#dashboard .studio-episode-stage[data-stage="4"]>.secondary:first-child,#dashboard .studio-episode-stage[data-stage="4"] .pipeline-heading,#dashboard .studio-episode-stage[data-stage="4"] .pipeline-route,#dashboard .studio-episode-stage[data-stage="4"] .pipeline-panels{display:none}
#dashboard .studio-episode-stage[data-stage="4"] .pipeline-workspace{padding-top:0}
#dashboard .studio-episode-stage[data-stage="4"] .pipeline-next{margin:0}
#dashboard .studio-has-episode #results>.secondary:first-child{display:none}
#dashboard .launch-guide{border:1px solid var(--kk-line);background:linear-gradient(125deg,#141a2c90,#0a1320a8);border-radius:18px;padding:36px}
#dashboard .launch-guide h3{font-size:34px;line-height:1.3;letter-spacing:-.8px}
#dashboard .launch-guide>p{font-size:15px;color:#aebfdc;line-height:1.8}
#dashboard .channel-row,#dashboard .episode-row{background:#0b1422aa;border-color:var(--kk-line);border-radius:12px}
#dashboard .hunter-v2 .hunter-opportunity{background:linear-gradient(150deg,#101c2cc9,#0b1422dd);border-color:#627da240}
#dashboard .hunter-v2 .opportunity-grid{gap:22px}
#dashboard .hunter-v2 .hunter-opportunity h3{font-size:25px}
#dashboard .hunter-v2 .hunter-thumb{border-radius:12px;background:#152138}
#dashboard .hunter-v2 .reference-available-card{padding:18px;background:#0b1422bb;border-color:#627da240}
#dashboard .hunter-v2 .reference-available-card .hunter-proof-copy>.hunter-link{font-size:21px}
#dashboard .hunter-v2 .creator-research-card{background:#0b1422aa}
#dashboard .notice:empty{display:none}
@media(min-width:1700px){#dashboard .workspace{grid-template-columns:320px minmax(0,1fr)}#dashboard .studio-editor-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1200px){#dashboard .workspace{grid-template-columns:260px minmax(0,1fr)}#dashboard .workspace>main{padding:24px}#dashboard .studio-editor-layout{grid-template-columns:minmax(0,1fr)}#dashboard .studio-inspector{grid-template-columns:1fr 1fr}#dashboard .studio-inspector>.primary{grid-column:1/-1}#dashboard .studio-context-actions{gap:6px}#dashboard .studio-context-actions details>summary{font-size:10px;padding:10px}#dashboard #studio-new-episode{padding:10px 12px;font-size:11px}}
@media(max-width:1000px){#dashboard .pipeline-map{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}#dashboard .pipeline-map span{font-size:10px;overflow-wrap:anywhere}#dashboard .pipeline-map button:nth-child(4)::before{display:block}}
@media(max-width:900px){
 #dashboard .workspace{display:block}
 #dashboard .topbar{min-height:66px;padding:0 18px}
 #dashboard .topbar .brand{font-size:16px;letter-spacing:3px}
 #dashboard .live-status,#dashboard #account{display:none}
 #dashboard .sidebar{position:fixed;z-index:50;left:0;top:66px;bottom:0;max-height:calc(100dvh - 66px);min-height:0;width:min(320px,88vw);padding:24px 18px;display:flex;transform:translateX(-105%);transition:transform .2s;background:#0a1220;border-right:1px solid #61759366;box-shadow:24px 0 80px #000a}
 #dashboard.studio-menu-open .sidebar{transform:translateX(0)}
 #dashboard #studio-mobile-menu{display:block;min-width:40px;min-height:40px;padding:7px;font-size:18px;background:#0b1422}
 #dashboard .studio-contextbar{gap:12px;margin-bottom:20px;flex-wrap:wrap}
 #dashboard #studio-breadcrumb{flex:1;font-size:11px;gap:8px}
 #dashboard #studio-breadcrumb button,#dashboard #studio-breadcrumb strong{font-size:11px}
 #dashboard .studio-context-actions{margin-left:auto;gap:8px;flex-basis:100%;justify-content:flex-end}
 #dashboard .studio-context-actions details>summary{font-size:11px}
 #dashboard .workspace>main{padding:20px 18px 30px;overflow:hidden}
 #dashboard .workspace>main::before{right:-170px;top:70px;width:320px;height:320px}
 #dashboard .pipeline-map{margin:0 0 18px;padding:0;gap:0}
 #dashboard .pipeline-map button{min-height:68px;padding:4px 0;gap:7px}
 #dashboard .pipeline-map b{width:28px;height:28px;flex-basis:28px;font-size:10px}
 #dashboard .pipeline-map span{font-size:8px;line-height:1.5;font-weight:400}
 #dashboard .pipeline-map button::before{top:18px;left:calc(-50% + 16px);width:calc(100% - 32px)}
 #dashboard .radar-panel h2{font-size:34px;letter-spacing:-1.1px;margin:10px 0}
 #dashboard .radar-intro{font-size:14px;line-height:1.7;margin-bottom:22px}
 #dashboard .studio-editor-layout{display:block}
 #dashboard .studio-inspector{display:grid;grid-template-columns:1fr;margin-top:18px;gap:14px}
 #dashboard .studio-card{padding:20px 18px;border-radius:14px}
 #dashboard .studio-card>h3{font-size:23px}
 #dashboard .studio-concept{font-size:14px!important}
 #dashboard .studio-storyboard{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
 #dashboard .studio-scene-visual{aspect-ratio:.9;border-radius:8px}
 #dashboard .studio-scene-visual>span{font-size:23px}
 #dashboard .studio-scene h4{font-size:10px}
 #dashboard .studio-scene p{font-size:10px;line-height:1.7}
 #dashboard .studio-crew>.ship-panel.ship-hero{right:-80px;width:min(430px,calc(100vw - 36px))}
 #dashboard .studio-tools .deck-nav{position:absolute;bottom:auto;left:auto;right:0;top:48px;display:grid;grid-template-columns:1fr;min-width:230px;gap:4px;border-radius:12px;padding:8px}
 #dashboard .studio-tools .nav{min-height:44px;flex-direction:row;justify-content:flex-start;gap:12px;padding:8px 12px;font-size:12px}
 #dashboard .studio-tools .nav-icon{display:grid}
 #dashboard .launch-guide{padding:24px 20px}
 #dashboard .launch-guide h3{font-size:28px}
}
@media(max-width:360px){#dashboard .workspace>main{padding-inline:12px}#dashboard .studio-contextbar{gap:8px}#dashboard .radar-panel h2{font-size:30px}#dashboard .studio-storyboard{grid-template-columns:1fr}#dashboard .studio-scene{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:12px}#dashboard .studio-scene-visual{grid-row:1/3;aspect-ratio:1}#dashboard .studio-scene p{font-size:11px}#dashboard .studio-crew>.ship-panel.ship-hero{right:-80px}}
@media(prefers-reduced-motion:reduce){#dashboard .sidebar{transition:none}}
