/* UI V3. Scoped to the authenticated workspace; login/policy styles are untouched. */
#dashboard.kk-ui{--kk-text-3:#9DAAC3;position:fixed;inset:0;z-index:1;background:var(--kk-bg);color:var(--kk-text);font-family:var(--kk-font);font-size:var(--kk-fs-body);line-height:var(--kk-lh-body)}
#dashboard.kk-ui[hidden],#dashboard.kk-ui [hidden]{display:none!important}
#dashboard.kk-ui *{min-width:0;box-sizing:border-box}
#dashboard.kk-ui button,#dashboard.kk-ui input,#dashboard.kk-ui select,#dashboard.kk-ui textarea{font-family:inherit}
#dashboard.kk-ui button{cursor:pointer}
#dashboard.kk-ui a{color:var(--kk-primary);text-decoration:none}
#dashboard.kk-ui :focus-visible{outline:2px solid var(--kk-primary-text);outline-offset:3px;box-shadow:none}
#dashboard.kk-ui .workspace{height:100%;min-height:0;display:grid;grid-template-columns:var(--kk-sidebar-w) minmax(0,1fr);grid-template-rows:minmax(0,1fr);max-width:none;margin:0;gap:0;padding:0}
#dashboard.kk-ui .workspace>main{padding:0;margin:0;min-height:0;height:100%;max-height:100%;max-width:none;align-self:stretch;display:flex;flex-direction:column;overflow:hidden;position:relative;background:var(--kk-bg)}
#dashboard.kk-ui .workspace>main:before{content:'';position:absolute;z-index:0;top:-180px;right:-120px;width:420px;height:420px;pointer-events:none;border-radius:50%;background:radial-gradient(circle at 30% 70%,rgba(140,120,255,.22),rgba(40,40,110,.10) 45%,transparent 70%)}
#dashboard.kk-ui .kk-skip{position:absolute;top:-80px;left:280px;z-index:200;background:var(--kk-primary);color:var(--kk-primary-ink);padding:12px 20px;border-radius:var(--kk-radius-sm)}
#dashboard.kk-ui .kk-skip:focus{top:8px}
#dashboard.kk-ui .sidebar{width:auto;position:relative;inset:auto;display:flex;flex-direction:column;gap:0;height:100%;min-height:0;max-height:none;padding:0;overflow:hidden;border:0;border-right:1px solid var(--kk-line);border-radius:0;transform:none;background:var(--kk-sidebar);box-shadow:none}
#dashboard.kk-ui .kk-brand{display:flex;align-items:center;gap:10px;min-height:80px;padding:18px 20px 14px;color:var(--kk-text)}
#dashboard.kk-ui .kk-brand-star{font-size:25px}
#dashboard.kk-ui .kk-brand strong{display:block;font-size:15px;letter-spacing:.28em;line-height:24px}
#dashboard.kk-ui .kk-brand small{display:block;font:9px var(--kk-font-mono);letter-spacing:.18em;color:var(--kk-text-3)}
#dashboard.kk-ui .studio-sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 20px 12px;font:10px var(--kk-font-mono);letter-spacing:.13em;color:var(--kk-text-3);margin:0;border:0}
#dashboard.kk-ui #studio-add-channel{border:0;background:none;color:var(--kk-text-2);font-size:20px;width:28px;height:28px;min-height:0;padding:0}
#dashboard.kk-ui #studio-channel-tree{display:block;flex:1;overflow:auto;min-height:0;padding:0 10px;scrollbar-width:thin;scrollbar-color:var(--kk-line-strong) transparent}
#dashboard.kk-ui .studio-channel-group{padding:0;margin:0 0 4px;border:0}
#dashboard.kk-ui .studio-channel-row{display:flex;align-items:center;gap:0;border-radius:var(--kk-radius-md);background:none;padding:0}
#dashboard.kk-ui .studio-channel-group.is-active>.studio-channel-row{background:var(--kk-surface-raised)}
#dashboard.kk-ui .studio-channel-select{display:flex;align-items:center;gap:10px;border:0;background:none;padding:8px 10px;flex:1;min-height:48px;text-align:left;color:var(--kk-text)}
#dashboard.kk-ui .studio-channel-select:hover{background:var(--kk-row-hover)}
#dashboard.kk-ui .studio-channel-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:var(--kk-radius-sm);background:var(--kk-primary-tint);color:var(--kk-primary-text);font-size:11px;font-weight:700}
#dashboard.kk-ui .studio-tree-copy{display:flex;flex-direction:column;gap:1px;overflow:hidden}
#dashboard.kk-ui .studio-tree-copy strong{font-size:13px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboard.kk-ui .studio-tree-copy small{font-size:10px;line-height:15px;color:var(--kk-text-3);white-space:nowrap}
#dashboard.kk-ui .studio-tree-toggle{width:26px;min-height:42px;border:0;padding:0;background:none;color:var(--kk-text-2)}
#dashboard.kk-ui .studio-channel-stages{padding:3px 10px 5px 48px;display:flex;gap:10px}
#dashboard.kk-ui .studio-channel-stage{border:0;background:none;color:var(--kk-text-3);font-size:10px;min-height:24px;padding:0}
#dashboard.kk-ui .studio-channel-stage.is-active{color:var(--kk-primary)}
#dashboard.kk-ui .studio-episode-list{margin:2px 4px 6px 24px;padding:0 0 0 10px;border-left:1px solid var(--kk-line)}
#dashboard.kk-ui .studio-episode-select{display:grid;grid-template-columns:8px minmax(0,1fr);column-gap:5px;row-gap:1px;background:none;border:0;padding:6px;color:var(--kk-text);width:100%;text-align:left;border-radius:var(--kk-radius-sm);min-height:40px}
#dashboard.kk-ui .studio-episode-select:hover{background:var(--kk-row-hover)}
#dashboard.kk-ui .studio-episode-title{font-size:11.5px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dashboard.kk-ui .studio-episode-select small{grid-column:2;font-size:10px;line-height:14px;color:var(--kk-warning)}
#dashboard.kk-ui .studio-episode-dot{font-size:8px;color:var(--kk-warning);line-height:16px}
#dashboard.kk-ui .studio-episode-dot.is-published,#dashboard.kk-ui .studio-episode:has(.is-published) small{color:var(--kk-success)}
#dashboard.kk-ui .studio-episode-stages{display:grid;gap:1px;padding:2px 0 6px 2px}
#dashboard.kk-ui .studio-tree-stage{display:flex;align-items:center;gap:8px;min-height:26px;padding:3px 7px;background:none;border:0;border-radius:var(--kk-radius-sm);font-size:11.5px;color:var(--kk-text-2);text-align:left}
#dashboard.kk-ui .studio-tree-stage b{font:9px var(--kk-font-mono);display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border:1px solid var(--kk-line-outline);border-radius:50%;color:var(--kk-text-2);background:none;box-shadow:none}
#dashboard.kk-ui .studio-tree-stage.is-complete b{background:var(--kk-success);color:var(--kk-primary-ink);border-color:transparent}
#dashboard.kk-ui .studio-tree-stage.is-active{background:var(--kk-primary-tint);color:var(--kk-primary-text)}
#dashboard.kk-ui .studio-tree-stage.is-active b{background:var(--kk-primary);color:var(--kk-primary-ink);border-color:transparent}
#dashboard.kk-ui .studio-add-episode{width:100%;min-height:34px;border:0;background:none;color:var(--kk-text-3);font-size:11px;text-align:left;padding:6px 8px}
#dashboard.kk-ui .studio-tree-empty{padding:20px 10px;color:var(--kk-text-2);font-size:12px}
#dashboard.kk-ui .studio-tree-empty small{display:block;margin-top:6px;color:var(--kk-text-3)}
#dashboard.kk-ui .deck-nav{display:flex;flex-direction:column;position:static;inset:auto;gap:2px;border:0;border-top:1px solid var(--kk-line);border-radius:0;background:none;box-shadow:none;padding:10px;margin:10px 0 0}
#dashboard.kk-ui .deck-nav .nav{display:flex;align-items:center;gap:10px;text-align:left;height:32px;min-height:32px;padding:0 10px;width:100%;border:0;border-radius:var(--kk-radius-sm);background:none;color:var(--kk-text-2);font-size:12px;box-shadow:none}
#dashboard.kk-ui .deck-nav .nav.active{background:var(--kk-primary-tint);color:var(--kk-primary-text)}
#dashboard.kk-ui .deck-nav .nav-icon{display:grid;font-size:13px;width:16px}
#dashboard.kk-ui .deck-nav .nav small{display:block;margin-left:auto;font:10px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-account{display:flex;align-items:center;gap:8px;padding:12px 16px 6px;margin:0;border-top:1px solid var(--kk-line);font-size:11px;flex-shrink:0}
#dashboard.kk-ui .kk-commander-avatar{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;background:var(--kk-primary);color:var(--kk-primary-ink);border-radius:50%;font-size:11px;font-weight:600}
#dashboard.kk-ui #account{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:var(--kk-text-2);flex:1}
#dashboard.kk-ui #logout{border:0;padding:4px 0;background:none;color:var(--kk-text-3);font-size:10px;white-space:nowrap;min-height:28px}
#dashboard.kk-ui .kk-privacy{font-size:9px;color:var(--kk-text-3);padding:0 16px 12px}
#dashboard.kk-ui .studio-contextbar{display:flex;align-items:center;flex:none;height:64px;min-height:64px;gap:12px;margin:0;padding:0 var(--kk-gutter);border:0;border-bottom:1px solid var(--kk-line-divider);background:transparent;position:relative;z-index:3}
#dashboard.kk-ui #studio-breadcrumb{display:flex;flex:1;gap:8px;align-items:center;overflow:hidden;white-space:nowrap;font-size:12px;line-height:18px;color:var(--kk-text-2)}
#dashboard.kk-ui #studio-breadcrumb button{border:0;background:none;color:var(--kk-text-2);font-size:12px;padding:0;min-height:32px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dashboard.kk-ui #studio-breadcrumb strong{font-size:12px;font-weight:600;color:var(--kk-text);overflow:hidden;text-overflow:ellipsis}
#dashboard.kk-ui .studio-separator{color:var(--kk-text-faint)}
#dashboard.kk-ui .studio-context-actions{display:flex;gap:8px;align-items:center;margin-left:auto;flex-shrink:0}
#dashboard.kk-ui #connection{font:9px var(--kk-font-mono);color:var(--kk-text-3);white-space:nowrap}
#dashboard.kk-ui #deck-motion{font-size:11px;border:0;background:none;color:var(--kk-text-3);padding:5px;white-space:nowrap}
#dashboard.kk-ui #refresh{position:static;background:none;border:0;min-width:30px;width:30px;padding:0;color:var(--kk-text-2)}
#dashboard.kk-ui #studio-new-episode{font-size:11px;min-height:34px;height:34px;padding:0 12px}
#dashboard.kk-ui #kk-history-button{height:32px;min-height:32px;font-size:11px;padding:0 10px}
#dashboard.kk-ui .pipeline-map{display:flex;flex:none;align-items:center;min-height:60px;height:60px;padding:10px var(--kk-gutter);margin:0;gap:6px;border:0;border-bottom:1px solid var(--kk-line-divider);position:relative}
#dashboard.kk-ui .pipeline-map button{flex:1;min-height:32px;height:32px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;border:0;padding:4px 5px;border-radius:var(--kk-radius-pill);background:none;box-shadow:none;color:var(--kk-text-2);font-size:11px}
#dashboard.kk-ui .pipeline-map button:not(:last-child):after{content:'';flex:1;min-width:8px;height:1px;background:var(--kk-line-strong);margin-left:5px}
#dashboard.kk-ui .pipeline-map button:before{display:none}
#dashboard.kk-ui .pipeline-map b{font:10px var(--kk-font-mono);flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:none;border:1px solid var(--kk-line-outline);box-shadow:none;display:grid;place-items:center;color:var(--kk-text-2)}
#dashboard.kk-ui .pipeline-map span{font-size:10.5px;font-weight:500;white-space:nowrap}
#dashboard.kk-ui .pipeline-map small{display:none}
#dashboard.kk-ui .pipeline-map .active{background:var(--kk-primary-tint);color:var(--kk-primary-text)}
#dashboard.kk-ui .pipeline-map .active b{background:var(--kk-primary);color:var(--kk-primary-ink);border-color:transparent}
#dashboard.kk-ui .pipeline-map .completed b{background:var(--kk-success);color:var(--kk-primary-ink);border-color:transparent}
#dashboard.kk-ui .kk-page-scroll{position:relative;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--kk-line-strong) transparent;padding:24px var(--kk-gutter)}
#dashboard.kk-ui .bridge,#dashboard.kk-ui .radar-panel{display:block;padding:0;margin:0;border:0;background:none;box-shadow:none;min-height:0;max-width:none}
#dashboard.kk-ui .radar-panel>.panel-heading{padding:0;margin:0 0 8px;display:flex;align-items:center;gap:12px}
#dashboard.kk-ui .radar-panel h2{font-size:var(--kk-fs-display);line-height:var(--kk-lh-display);letter-spacing:var(--kk-ls-display);font-weight:700;margin:8px 0}
#dashboard.kk-ui .studio-title-accent{color:var(--kk-primary)}
#dashboard.kk-ui .radar-panel .eyebrow,#dashboard.kk-ui .kk-kicker,#dashboard.kk-ui .studio-kicker{font:10px/16px var(--kk-font-mono);letter-spacing:.13em;color:var(--kk-text-3);text-transform:uppercase}
#dashboard.kk-ui #root-count{font:10px var(--kk-font-mono);color:var(--kk-text-3);border:1px solid var(--kk-line);background:none;padding:5px 9px;border-radius:var(--kk-radius-pill);max-width:140px}
#dashboard.kk-ui .radar-intro{font-size:13px;line-height:20px;color:var(--kk-text-2);margin:0 0 22px;max-width:740px}
#dashboard.kk-ui .primary,#dashboard.kk-ui .secondary,#dashboard.kk-ui .outline,#dashboard.kk-ui .mission-action,#dashboard.kk-ui button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--kk-radius-md);border:1px solid var(--kk-line-strong);padding:0 15px;min-height:38px;font-size:12px;font-weight:500;line-height:18px;color:var(--kk-text);background:transparent;box-shadow:none;text-align:center;white-space:normal}
#dashboard.kk-ui .primary,#dashboard.kk-ui .mission-action,#dashboard.kk-ui button.primary[type=submit]{background:var(--kk-primary);border-color:transparent;color:var(--kk-primary-ink);font-weight:600}
#dashboard.kk-ui .primary:hover,#dashboard.kk-ui .mission-action:hover{background:var(--kk-primary-hover)}
#dashboard.kk-ui .secondary:hover{background:var(--kk-surface-raised)}
#dashboard.kk-ui button:disabled{opacity:.45;cursor:not-allowed}
#dashboard.kk-ui .kk-home{display:none}
#dashboard.kk-ui[data-kk-screen=home] .kk-home{display:block;margin-bottom:28px}
#dashboard.kk-ui[data-kk-screen=home] .radar-panel>.panel-heading,#dashboard.kk-ui[data-kk-screen=home] .radar-intro{display:none}
#dashboard.kk-ui .kk-home-top{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}
#dashboard.kk-ui .kk-home-hero{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid var(--kk-line);border-radius:var(--kk-radius-2xl);align-items:center;min-height:330px;overflow:hidden;background:var(--kk-surface-sunken)}
#dashboard.kk-ui .kk-home-welcome{padding:28px 0 28px 28px}
#dashboard.kk-ui .page-heading{display:block;padding:0;margin:0}
#dashboard.kk-ui .page-heading h1{font-size:32px;line-height:38px;letter-spacing:-.03em;font-weight:700;margin:12px 0}
#dashboard.kk-ui .page-heading h1 span{color:var(--kk-primary)}
#dashboard.kk-ui .page-heading p{font-size:13px;line-height:20px;color:var(--kk-text-2);margin:0}
#dashboard.kk-ui .mission-brief{display:flex;flex-direction:column;align-items:flex-start;gap:12px;border:0;background:none;padding:0;margin:18px 0 0;box-shadow:none}
#dashboard.kk-ui .brief-icon,#dashboard.kk-ui .mission-brief>div{display:none}
#dashboard.kk-ui .mission-action{height:auto;min-height:42px;text-align:left;font-size:12px;padding:10px 14px}
#dashboard.kk-ui .studio-crew{display:block;padding:0;min-width:0;position:static;inset:auto}
#dashboard.kk-ui .studio-crew .ship-panel.ship-hero{display:block;position:static;inset:auto;width:100%;padding:0;margin:0;border:0;background:none;border-radius:0;box-shadow:none;max-height:none;overflow:visible}
#dashboard.kk-ui .studio-crew .panel-heading,#dashboard.kk-ui .studio-crew .ship-caption,#dashboard.kk-ui .studio-crew .station-detail,#dashboard.kk-ui .studio-crew .ship-legend{display:none}
#dashboard.kk-ui .studio-crew .ship-scene{display:block;padding:0;background:none;min-height:0}
#dashboard.kk-ui .studio-crew .vessel-chart{display:block;width:100%;max-width:560px;margin:0;padding:0;background:none;aspect-ratio:1.5;position:relative}
#dashboard.kk-ui .vessel-art{display:block;width:100%;height:100%;object-fit:contain}
#dashboard.kk-ui .ship-helmet-correction{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#dashboard.kk-ui .vessel-caption,#dashboard.kk-ui .orbit-spark{display:none}
#dashboard.kk-ui .studio-crew .ship-hull{display:none}
#dashboard.kk-ui .ship-port{position:absolute;width:24px;height:24px;min-height:24px;padding:0;background:var(--kk-primary-tint);border:1px solid var(--kk-primary-ring);box-shadow:none;color:var(--kk-text);border-radius:50%;transform:translate(-50%,-50%)}
#dashboard.kk-ui .ship-port span{display:grid;place-items:center;font:10px var(--kk-font-mono);width:100%;height:100%;background:none}
#dashboard.kk-ui .ship-port i{display:none}
#dashboard.kk-ui .kk-home-telemetry{border:1px solid var(--kk-line);border-radius:var(--kk-radius-2xl);padding:20px;background:var(--kk-surface-sunken)}
#dashboard.kk-ui .telemetry{display:flex;flex-direction:column;gap:0;padding:6px 0 0;margin:0;background:none;border:0;box-shadow:none}
#dashboard.kk-ui .telemetry>div{padding:13px 0;display:grid;grid-template-columns:1fr auto;gap:3px 10px;background:none;border:0;border-radius:0;border-bottom:1px solid var(--kk-line-soft)}
#dashboard.kk-ui .telemetry>div:last-child{border:0}
#dashboard.kk-ui .telemetry span{font-size:10px;color:var(--kk-text-2);letter-spacing:0}
#dashboard.kk-ui .telemetry strong{font-size:12px;color:var(--kk-success);line-height:17px;white-space:nowrap}
#dashboard.kk-ui .telemetry small{grid-column:1/-1;color:var(--kk-text-3);font-size:10px;line-height:15px}
#dashboard.kk-ui .kk-home-lower{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:24px}
#dashboard.kk-ui .kk-home-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
#dashboard.kk-ui .kk-home-section-heading h2{font-size:15px;margin:0}
#dashboard.kk-ui #kk-progress-context{font-size:11px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-progress-row{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 140px 68px;align-items:center;gap:12px;padding:15px 0;min-height:70px;border:0;border-bottom:1px solid var(--kk-line-soft);background:none;text-align:left;color:var(--kk-text)}
#dashboard.kk-ui .kk-episode-number{font:11px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-progress-copy{display:grid;gap:3px}
#dashboard.kk-ui .kk-progress-copy strong{font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboard.kk-ui .kk-progress-copy small,#dashboard.kk-ui .kk-progress-state small{font-size:10px;color:var(--kk-text-3);line-height:15px}
#dashboard.kk-ui .kk-progress-segments{display:flex;gap:3px;margin-bottom:4px}
#dashboard.kk-ui .kk-progress-segments span{flex:1;height:4px;border-radius:2px;background:var(--kk-surface-hover)}
#dashboard.kk-ui .kk-progress-segments .is-done{background:var(--kk-success)}
#dashboard.kk-ui .kk-progress-segments .is-current{background:var(--kk-primary)}
#dashboard.kk-ui .kk-progress-link{font-size:11px;color:var(--kk-primary);text-align:right}
#dashboard.kk-ui .flight-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;background:none;align-content:start;border:0}
#dashboard.kk-ui .flight-stats>div{padding:16px;border:1px solid var(--kk-line);border-radius:var(--kk-radius-xl);display:flex;flex-direction:column;gap:4px;background:none;align-items:flex-start;min-height:94px}
#dashboard.kk-ui .flight-stats>div>span:first-child{display:none}
#dashboard.kk-ui .flight-stats strong{font-size:26px;line-height:32px;color:var(--kk-text);font-weight:700}
#dashboard.kk-ui .flight-stats>div>span:last-child{font-size:11px;color:var(--kk-text-2)}
#dashboard.kk-ui .telemetry-footer{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:18px 0 0;margin:32px 0 0;border-top:1px solid var(--kk-line);font-size:9px;color:var(--kk-text-3);opacity:1}
#dashboard.kk-ui .telemetry-footer>span:nth-child(2){display:none}
#dashboard.kk-ui .notice{font-size:12px;color:var(--kk-warning);border-radius:var(--kk-radius-md)}
#dashboard.kk-ui .notice:empty{display:none}
#dashboard.kk-ui #results:empty:before{content:'Se încarcă spațiul de lucru…';display:block;padding:28px 0;color:var(--kk-text-3);font-size:13px}
#dashboard.kk-ui:has(#notice:not(:empty)) #results:empty:before{content:'Datele nu sunt disponibile. Reîncearcă folosind Actualizează datele.'}
#dashboard.kk-ui .notice:not(:empty){padding:14px 16px;margin-top:18px;background:var(--kk-warning-tint);border:1px solid var(--kk-warning-line);line-height:20px}
#dashboard.kk-ui .kk-bottom-tabs,#dashboard.kk-ui #kk-drawer-close,#dashboard.kk-ui #studio-mobile-menu{display:none}
#dashboard.kk-ui .kk-quiet-empty{padding:28px 16px;color:var(--kk-text-2);border:1px dashed var(--kk-line-strong);border-radius:var(--kk-radius-xl)}
#dashboard.kk-ui .kk-quiet-empty h3{font-size:18px;margin:10px 0}
#dashboard.kk-ui .kk-quiet-empty p{font-size:13px;line-height:20px;margin:8px 0;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-empty-symbol{color:var(--kk-primary);font-size:24px}
#dashboard.kk-ui .kk-subtle{color:var(--kk-text-3);font-size:12px;line-height:19px}
#dashboard.kk-ui .kk-mono{font-family:var(--kk-font-mono);font-variant-numeric:tabular-nums}
#dashboard.kk-ui .kk-history-dialog{background:var(--kk-bg);color:var(--kk-text);border:1px solid var(--kk-line-strong);border-radius:var(--kk-radius-xl);padding:24px;width:min(920px,calc(100vw - 48px));max-height:85dvh;box-shadow:var(--kk-shadow-overlay)}
#dashboard.kk-ui .kk-history-dialog::backdrop{background:rgba(3,5,12,.75)}
#dashboard.kk-ui .kk-dialog-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--kk-line);padding-bottom:18px;margin-bottom:20px}
#dashboard.kk-ui .kk-dialog-header h2{font-size:18px;margin:0}
#dashboard.kk-ui .kk-dialog-header button{width:36px;height:36px;border:1px solid var(--kk-line-strong);background:none;color:var(--kk-text);border-radius:var(--kk-radius-sm)}
#dashboard.kk-ui .kk-history-row{display:grid;grid-template-columns:22px 140px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--kk-line-soft);font-size:12px}
#dashboard.kk-ui .kk-history-row small{display:block;color:var(--kk-text-3);font-size:11px}
#dashboard.kk-ui .kk-history-mark{color:var(--kk-primary)}
/* Existing Hunter controls and reference lifecycle, with the kit's list/media hierarchy. */
#dashboard.kk-ui #results,#dashboard.kk-ui #filters{padding:0;margin:0}
#dashboard.kk-ui .hunter-surface{border:0;background:none;padding:0;margin:0;max-width:none;box-shadow:none;gap:10px}
#dashboard.kk-ui .hunter-command{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0;margin:0 0 12px;background:none;border:0;flex-wrap:wrap}
#dashboard.kk-ui .hunter-command>.field{max-width:155px}
#dashboard.kk-ui .hunter-command>.field{margin:0;gap:0;position:relative}
#dashboard.kk-ui .hunter-command>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#dashboard.kk-ui .hunter-controls{display:flex;gap:12px;flex-wrap:wrap}
#dashboard.kk-ui .format-run{display:flex;align-items:center;gap:9px;border:1px solid var(--kk-line);border-radius:var(--kk-radius-md);padding:5px 9px;background:var(--kk-surface-sunken)}
#dashboard.kk-ui .format-run>span{font-size:11px;font-weight:600;color:var(--kk-text)}
#dashboard.kk-ui .format-run small{font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui .format-run button{font-size:10px;min-height:26px;padding:0 9px}
#dashboard.kk-ui .hunter-status{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:9px 12px;border:1px solid var(--kk-success-line);border-radius:var(--kk-radius-sm);background:var(--kk-success-tint);margin:0 0 14px;min-height:0}
#dashboard.kk-ui .hunter-status>strong{font-size:12px;color:var(--kk-success)}
#dashboard.kk-ui .hunter-status-detail{font-size:10px;color:var(--kk-text-2);line-height:16px}
#dashboard.kk-ui .hunter-beacon{width:6px;height:6px;background:var(--kk-text-3);box-shadow:none}
#dashboard.kk-ui .hunter-beacon.active{background:var(--kk-success)}
#dashboard.kk-ui .hunter-quest{display:flex;gap:24px;border:0;border-bottom:1px solid var(--kk-line);margin:0 0 8px;padding:0 0 12px;background:none}
#dashboard.kk-ui .hunter-quest .hunter-stat{display:flex;flex-direction:row;align-items:center;gap:9px}
#dashboard.kk-ui .hunter-quest .hunter-stat small{display:none}
#dashboard.kk-ui .hunter-stat{display:flex;flex-direction:column;gap:2px;padding:0;border:0;background:none}
#dashboard.kk-ui .hunter-stat strong{font-size:23px;line-height:29px;color:var(--kk-text);font-weight:600}
#dashboard.kk-ui .hunter-stat span{font-size:11px;color:var(--kk-text-2)}
#dashboard.kk-ui .hunter-stat small{font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui input:not([type=checkbox]),#dashboard.kk-ui select,#dashboard.kk-ui textarea{width:100%;border:1px solid var(--kk-line-strong);border-radius:var(--kk-radius-md);padding:9px 12px;background:var(--kk-surface);color:var(--kk-text);font-size:13px;line-height:20px;box-shadow:none}
#dashboard.kk-ui input:focus,#dashboard.kk-ui textarea:focus,#dashboard.kk-ui select:focus{outline:2px solid var(--kk-primary-ring);outline-offset:1px;border-color:var(--kk-primary)}
#dashboard.kk-ui .field>span,#dashboard.kk-ui .field>label{font-size:11px;color:var(--kk-text-2);margin-bottom:6px}
#dashboard.kk-ui .field small{font-size:11px;line-height:17px;color:var(--kk-text-3)}
#dashboard.kk-ui .discovery-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:10px;margin:0 0 12px;padding:0;background:none;border:0}
#dashboard.kk-ui .hunter-worlds{display:flex;gap:6px;flex-wrap:wrap;border:0;padding:0 0 14px;margin:0;background:none}
#dashboard.kk-ui .hunter-worlds button{display:flex;align-items:center;gap:6px;min-height:32px;height:auto;padding:6px 10px;background:none;border:1px solid var(--kk-line);border-radius:var(--kk-radius-pill);font-size:10px;color:var(--kk-text-2);box-shadow:none;width:auto;flex:none}
#dashboard.kk-ui .hunter-worlds button[aria-pressed=true]{background:var(--kk-primary-tint);color:var(--kk-primary-text);border-color:var(--kk-primary-ring)}
#dashboard.kk-ui .hunter-worlds strong{font-size:10px;font-weight:500}
#dashboard.kk-ui .hunter-world-icon{display:none}
#dashboard.kk-ui .hunter-world-state{position:static;font:9px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .hunter-results{display:block;margin:0;padding:0;border:0;background:none}
#dashboard.kk-ui .kk-discovery-filters{border:0;border-bottom:1px solid var(--kk-line);padding:0 0 8px;margin:0;background:none}
#dashboard.kk-ui .kk-discovery-filters>summary{font-size:12px;color:var(--kk-text-2);cursor:pointer;min-height:36px;line-height:36px}
#dashboard.kk-ui .kk-discovery-filters[open]>summary{margin-bottom:12px}
#dashboard.kk-ui .kk-discovery-filters .hunter-controls{margin-bottom:14px}
#dashboard.kk-ui .kk-current-pool-control{margin-left:auto;flex-shrink:0;min-height:32px;padding:0 12px;font-size:11px}
#dashboard.kk-ui .kk-discovery-featured>.opportunity-economics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border:0;border-top:1px solid var(--kk-line);background:none;padding:12px 0;margin:10px 0}
#dashboard.kk-ui .kk-discovery-featured>.opportunity-economics>div{display:flex;flex-direction:column;gap:4px;border:0;padding:0;background:none}
#dashboard.kk-ui .kk-discovery-featured>.opportunity-economics strong{font-size:23px;line-height:28px}
#dashboard.kk-ui .kk-discovery-featured>.opportunity-economics small{font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui .hunter-shortlist-heading{display:flex;justify-content:space-between;align-items:center;border:0;margin:16px 0 8px;padding:0}
#dashboard.kk-ui .hunter-shortlist-heading h3{font-size:15px;margin:0;color:var(--kk-text)}
#dashboard.kk-ui .hunter-count{font:10px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .hunter-note,#dashboard.kk-ui .root-note,#dashboard.kk-ui .surface-note{font-size:12px;line-height:19px;color:var(--kk-text-2);background:none;border:0;border-radius:0;padding:0;margin:8px 0 12px;overflow-wrap:anywhere}
#dashboard.kk-ui .hunter-note{color:var(--kk-text-3);font-size:11px;line-height:18px}
#dashboard.kk-ui .hunter-angle{font-size:13px;line-height:20px;color:var(--kk-text-2);margin:8px 0 12px}
#dashboard.kk-ui .kk-discovery-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:26px;border-top:1px solid var(--kk-line);padding:16px 0;margin:0}
#dashboard.kk-ui .kk-discovery-list{display:flex;flex-direction:column;border-right:1px solid var(--kk-line);padding-right:20px}
#dashboard.kk-ui .kk-discovery-list .hunter-opportunity{border:0;border-bottom:1px solid var(--kk-line);border-radius:0;background:none;padding:12px 0;box-shadow:none}
#dashboard.kk-ui .kk-discovery-list .hunter-opportunity:first-child{padding-top:0}
#dashboard.kk-ui .kk-discovery-list .hunter-opportunity h3{font-size:15px;line-height:20px;margin:7px 0}
#dashboard.kk-ui .hunter-card-eyebrow{font:9px/15px var(--kk-font-mono);color:var(--kk-text-3);letter-spacing:.04em}
#dashboard.kk-ui .kk-discovery-list .hunter-angle{font-size:11px;line-height:18px;margin:6px 0}
#dashboard.kk-ui .kk-discovery-list .hunter-preview-list{padding:0;margin:12px 0;border:0}
#dashboard.kk-ui .kk-discovery-list .hunter-preview-label{font:9px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-discovery-list .hunter-proof{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;border:0;padding:8px 0;background:none}
#dashboard.kk-ui .kk-discovery-list .hunter-proof:not(:first-of-type){display:none}
#dashboard.kk-ui .kk-discovery-list .hunter-proof-copy>.hunter-link{font-size:12px;line-height:17px}
#dashboard.kk-ui .kk-discovery-list .hunter-proof-copy>.video-entity-label,#dashboard.kk-ui .kk-discovery-list .hunter-video-stats,#dashboard.kk-ui .kk-discovery-list .hunter-source-time{display:none}
#dashboard.kk-ui .kk-discovery-list .opportunity-fit,#dashboard.kk-ui .kk-discovery-list .briefing-cost,#dashboard.kk-ui .kk-discovery-list .niche-cost-strip{display:none}
#dashboard.kk-ui .kk-discovery-list .hunter-card-actions{margin:10px 0 0;gap:6px;flex-wrap:wrap}
#dashboard.kk-ui .kk-discovery-list .hunter-card-actions button{font-size:10px;min-height:30px;padding:4px 9px}
#dashboard.kk-ui .kk-discovery-list .hunter-card-actions .primary{background:none;color:var(--kk-primary);border:0;padding-left:0}
#dashboard.kk-ui .kk-discovery-featured{min-width:0;padding:0;background:none;border:0}
#dashboard.kk-ui .kk-discovery-featured>.hunter-proof{display:block;border:0;padding:0;margin:10px 0 18px;background:none}
#dashboard.kk-ui .kk-discovery-featured .hunter-thumb{display:block;width:100%;aspect-ratio:16/9;min-height:0;margin:0 0 12px;border-radius:var(--kk-radius-lg);border:1px solid var(--kk-line);background:var(--kk-surface);overflow:hidden}
#dashboard.kk-ui .hunter-thumb img{width:100%;height:100%;object-fit:cover}
#dashboard.kk-ui .hunter-play{background:var(--kk-primary-tint);border:1px solid var(--kk-primary-ring);border-radius:50%;color:var(--kk-primary-text);width:36px;height:36px;font-size:12px}
#dashboard.kk-ui .hunter-proof-copy>.hunter-link{font-size:14px;line-height:20px;font-weight:600;color:var(--kk-text)}
#dashboard.kk-ui .hunter-proof-copy .hunter-channel{font-size:11px;line-height:17px;margin:4px 0;color:var(--kk-text-2)}
#dashboard.kk-ui .hunter-video-stats{display:flex;gap:12px;align-items:center;padding:6px 0;font:11px var(--kk-font-mono);color:var(--kk-text-2)}
#dashboard.kk-ui .hunter-source-time{font-size:10px;line-height:16px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-discovery-featured>h3{font-size:20px;line-height:26px;margin:14px 0 8px}
#dashboard.kk-ui .hunter-card-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:14px 0}
#dashboard.kk-ui .opportunity-assessment,#dashboard.kk-ui .opportunity-fit,#dashboard.kk-ui .reference-notice,#dashboard.kk-ui .opportunity-cost{background:var(--kk-surface-sunken);border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);padding:14px;margin:12px 0;font-size:12px}
#dashboard.kk-ui .opportunity-assessment h4{font-size:13px}
#dashboard.kk-ui .hunter-empty,#dashboard.kk-ui .reference-empty{background:none;border:1px dashed var(--kk-line-strong);border-radius:var(--kk-radius-xl);padding:26px}
#dashboard.kk-ui .hunter-advanced{border:0;border-top:1px solid var(--kk-line);background:none;border-radius:0;padding:12px 0;margin-top:24px}
#dashboard.kk-ui .hunter-advanced summary{color:var(--kk-text-3);font-size:12px;min-height:34px;cursor:pointer}
#dashboard.kk-ui .creator-research,#dashboard.kk-ui .inspection-overview,#dashboard.kk-ui .research-progress{border:0;border-top:1px solid var(--kk-line);border-radius:0;padding:18px 0;background:none}
#dashboard.kk-ui .creator-research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#dashboard.kk-ui .creator-research-card{border:1px solid var(--kk-line);border-radius:var(--kk-radius-xl);background:var(--kk-surface-sunken);padding:16px}
#dashboard.kk-ui .creator-research-card .hunter-proof{border:0;background:none;padding:10px 0}
#dashboard.kk-ui .mission-focus,#dashboard.kk-ui .portfolio-hero{border:0;background:none;padding:0;margin:0 0 18px;border-radius:0}
#dashboard.kk-ui .mission-focus>h3,#dashboard.kk-ui .portfolio-hero>h3{font-size:20px;line-height:26px;margin:8px 0}
#dashboard.kk-ui .mission-focus>small,#dashboard.kk-ui .mission-focus>h3,#dashboard.kk-ui .mission-focus>p{display:none}
#dashboard.kk-ui .mission-focus .mission-progress{display:none}
#dashboard.kk-ui .mission-focus .journey-progress{margin:0}
#dashboard.kk-ui .mission-focus>.mission-progress-wrap{margin:0}
#dashboard.kk-ui .kk-discovery-list .opportunity-economics{display:none}
#dashboard.kk-ui .mission-focus>small,#dashboard.kk-ui .portfolio-hero>small{font:10px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .mission-focus>.mission-route,#dashboard.kk-ui .mission-focus>progress,#dashboard.kk-ui .mission-focus>.research-progress{display:none}
#dashboard.kk-ui .mission-focus>p,#dashboard.kk-ui .portfolio-hero>p{color:var(--kk-text-2);font-size:12px;line-height:19px}
#dashboard.kk-ui .reference-next{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;margin:0 0 18px;border:0;border-top:1px solid var(--kk-line);border-bottom:1px solid var(--kk-line);border-radius:0;background:none}
#dashboard.kk-ui .reference-next strong{font-size:12px}
#dashboard.kk-ui .reference-next p{font-size:11px;line-height:17px;color:var(--kk-text-3);margin:3px 0}
#dashboard.kk-ui .reference-next button{font-size:11px;min-height:34px}
#dashboard.kk-ui .reference-library{border:0;background:none;padding:0;margin:0 0 24px;border-radius:0}
#dashboard.kk-ui .reference-library-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}
#dashboard.kk-ui .reference-library-heading h3{font-size:15px;margin:0}
#dashboard.kk-ui .reference-library-heading .hunter-note{font-size:10px;margin:0}
#dashboard.kk-ui .reference-tabs{display:flex;gap:8px;flex-wrap:wrap;background:none;border:0;margin:12px 0 8px;padding:0}
#dashboard.kk-ui .reference-tab{display:flex;gap:8px;align-items:center;border-radius:var(--kk-radius-pill);background:none;border:1px solid var(--kk-line-strong);color:var(--kk-text-2);padding:6px 12px;min-height:32px;font-size:11px}
#dashboard.kk-ui .reference-tab[aria-selected=true]{background:var(--kk-primary);border-color:transparent;color:var(--kk-primary-ink)}
#dashboard.kk-ui .reference-tab strong{font:10px var(--kk-font-mono)}
#dashboard.kk-ui .reference-panel{background:none;border:0;padding:0;margin:0}
#dashboard.kk-ui .reference-panel-intro{font-size:11px;color:var(--kk-text-3);margin:12px 0}
#dashboard.kk-ui .reference-toolbar{display:flex;gap:20px;align-items:flex-end;padding:0 0 18px;justify-content:space-between}
#dashboard.kk-ui .reference-toolbar .field{max-width:320px;width:100%}
#dashboard.kk-ui .reference-result-count{font:10px var(--kk-font-mono);color:var(--kk-text-3);white-space:nowrap}
#dashboard.kk-ui .reference-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
#dashboard.kk-ui .reference-list:has(>.reference-available-card:nth-child(5)){grid-template-columns:1.6fr 1fr 1fr}
#dashboard.kk-ui .reference-list:has(>.reference-available-card:nth-child(5))>.reference-available-card:first-child{grid-row:span 2}
#dashboard.kk-ui .reference-available-card{padding:0;border:0;background:none;border-radius:0;box-shadow:none}
#dashboard.kk-ui .reference-available-card>.reference-card-top{display:none}
#dashboard.kk-ui .reference-available-card .hunter-proof{display:block;padding:0;border:0;background:none;margin:0}
#dashboard.kk-ui .reference-available-card .hunter-thumb{display:block;aspect-ratio:16/9;width:100%;height:auto;margin-bottom:10px;border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);background:var(--kk-surface)}
#dashboard.kk-ui .reference-available-card .hunter-proof-copy>.hunter-link{font-size:14px;line-height:19px}
#dashboard.kk-ui .reference-available-card .video-entity-label{display:none}
#dashboard.kk-ui .reference-available-card .hunter-channel{font-size:11px}
#dashboard.kk-ui .reference-card-actions{display:flex;flex-direction:column;gap:6px;margin-top:10px}
#dashboard.kk-ui .reference-card-actions button{font-size:11px;min-height:36px}
#dashboard.kk-ui .reference-card-actions .hunter-note{font-size:10px;line-height:16px;margin:0}
#dashboard.kk-ui .reference-inventory,#dashboard.kk-ui .source-library{border:0;border-top:1px solid var(--kk-line);border-radius:0;background:none;padding:20px 0;margin:24px 0}
#dashboard.kk-ui .reference-inventory h3,#dashboard.kk-ui .source-library h3{font-size:15px}
#dashboard.kk-ui .inventory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;gap:16px;background:none;border:0}
#dashboard.kk-ui .inventory-stats>div{border:0;background:none;padding:0}
#dashboard.kk-ui .inventory-stats strong{display:block;font-size:22px;line-height:28px;color:var(--kk-text)}
#dashboard.kk-ui .inventory-stats span{font-size:11px;color:var(--kk-text-3)}
#dashboard.kk-ui .reference-history-card{border:1px solid var(--kk-line);border-radius:var(--kk-radius-xl);background:var(--kk-surface-sunken);padding:16px}
#dashboard.kk-ui .reference-relationship{display:flex;flex-direction:column;gap:8px}
#dashboard.kk-ui .reference-relationship h4{font-size:15px;line-height:21px}
#dashboard.kk-ui .reference-flow-arrow{display:none}
#dashboard.kk-ui .portfolio-card{border:0;border-bottom:1px solid var(--kk-line);border-radius:0;background:none;padding:20px 0;margin:0}
#dashboard.kk-ui .portfolio-controls{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}
#dashboard.kk-ui .portfolio-controls input{flex:1;min-width:160px}
#dashboard.kk-ui .portfolio-card h3{font-size:22px;line-height:28px;margin:8px 0}
#dashboard.kk-ui .portfolio-counters{display:flex;gap:28px;margin:20px 0}
#dashboard.kk-ui .portfolio-counters>div{display:grid;gap:3px}
#dashboard.kk-ui .portfolio-counters strong{font-size:26px;color:var(--kk-text)}
#dashboard.kk-ui .portfolio-counters span{font-size:11px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-account #account{display:block}
#dashboard.kk-ui .mission-action{margin-left:0;align-self:flex-start}
@media(max-width:1100px){#dashboard.kk-ui .kk-discovery-workspace{grid-template-columns:280px minmax(0,1fr);gap:20px}#dashboard.kk-ui .reference-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 #dashboard.kk-ui[data-kk-screen=hunter] .radar-intro{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] .studio-context-actions{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] #studio-breadcrumb{max-width:calc(100% - 190px);text-align:left}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-command>.field{position:fixed;right:16px;top:6px;width:136px!important;max-width:136px;z-index:5}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-command>.field select{font-size:12px;min-height:44px;padding:7px 10px;border-radius:var(--kk-radius-pill)}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-command{margin:0;gap:0}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-controls{gap:8px}
 #dashboard.kk-ui[data-kk-screen=hunter] .format-run{flex:1;flex-wrap:nowrap;justify-content:space-between;gap:6px;padding:4px 8px}
 #dashboard.kk-ui[data-kk-screen=hunter] .format-run>small{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] .format-run button{padding:0 6px;min-height:36px;font-size:10px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-status{margin:0;padding:10px 12px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-status:has(.hunter-beacon.active) .hunter-status-detail{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-shortlist-heading{margin:4px 0}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-shortlist-heading h3{font-size:12px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-status>.kk-current-pool-control{min-height:44px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-status{padding:0 10px;min-height:46px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters:not([open]){height:0;min-height:0;padding:0;border:0}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters>summary{position:fixed;top:6px;right:154px;z-index:5;width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--kk-line);border-radius:var(--kk-radius-md);font-size:0;background:var(--kk-bg)}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters>summary:after{content:'⌕';position:absolute;inset:0;display:grid;place-items:center;font-size:22px;line-height:1;color:var(--kk-text-2)}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters>summary::marker{content:''}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters>summary::-webkit-details-marker{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters[open]>summary{border-color:var(--kk-primary);color:var(--kk-primary)}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters .hunter-quest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-filters .hunter-stat{flex-direction:column;align-items:flex-start;gap:3px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-shortlist-heading,#dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>.kk-kicker{display:none}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>.hunter-proof{margin:0 0 12px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>h3{font-size:18px;line-height:24px;margin:8px 0 4px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>.hunter-angle{font-size:12px;line-height:18px;margin:4px 0 8px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>.opportunity-fit{padding:10px;margin:8px 0}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-featured>.opportunity-fit .hunter-note{margin:4px 0 0;font-size:11px;line-height:17px}
 #dashboard.kk-ui[data-kk-screen=hunter] .hunter-results>.hunter-note{font-size:10px;line-height:16px;margin:0 0 10px}
 #dashboard.kk-ui[data-kk-screen=hunter] .kk-discovery-workspace{padding-top:10px}
 #dashboard.kk-ui #studio-breadcrumb .studio-crumb-channel{margin-right:5px}#dashboard.kk-ui #studio-breadcrumb .studio-crumb-episode:before{content:' / ';color:var(--kk-text-3)}
 #dashboard.kk-ui .kk-storyboard{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}#dashboard.kk-ui .kk-storyboard>.kk-scene{flex:0 0 78%;scroll-snap-align:start}
 #dashboard.kk-ui .pipeline-map:after{content:attr(data-position);font:10px var(--kk-font-mono);color:var(--kk-primary);padding-left:5px;white-space:nowrap}
 #dashboard.kk-ui .discovery-toolbar{grid-template-columns:1fr}#dashboard.kk-ui .hunter-command{align-items:flex-start;gap:12px}#dashboard.kk-ui .hunter-controls{width:100%;gap:8px}#dashboard.kk-ui .format-run{flex:1;gap:6px;flex-wrap:wrap;padding:6px 8px}
 #dashboard.kk-ui .hunter-quest{gap:18px}#dashboard.kk-ui .hunter-stat strong{font-size:22px}#dashboard.kk-ui .hunter-stat span{font-size:10px}#dashboard.kk-ui .hunter-stat small{display:none}
 #dashboard.kk-ui .hunter-status{align-items:flex-start}#dashboard.kk-ui .hunter-status-detail{font-size:10px;line-height:16px}
 #dashboard.kk-ui .kk-discovery-workspace{display:flex;flex-direction:column-reverse;gap:18px;padding:14px 0}#dashboard.kk-ui .kk-discovery-list{border-right:0;padding:0;border-top:1px solid var(--kk-line)}
 #dashboard.kk-ui .creator-research-grid{grid-template-columns:1fr}#dashboard.kk-ui .reference-list,#dashboard.kk-ui .reference-list:has(>.reference-available-card:nth-child(5)){grid-template-columns:1fr}
 #dashboard.kk-ui .reference-list>.reference-available-card{display:block;padding-bottom:16px;border-bottom:1px solid var(--kk-line)}
 #dashboard.kk-ui .reference-toolbar{gap:8px;flex-wrap:wrap}#dashboard.kk-ui .reference-library-heading{display:block}#dashboard.kk-ui .reference-library-heading .hunter-note{margin:6px 0}
 #dashboard.kk-ui .reference-next{align-items:stretch}#dashboard.kk-ui .reference-next>button{width:100%}#dashboard.kk-ui .inventory-stats{gap:10px}#dashboard.kk-ui .inventory-stats strong{font-size:20px}
 #dashboard.kk-ui .portfolio-counters{gap:20px}#dashboard.kk-ui .portfolio-counters span{font-size:10px}
 #dashboard.kk-ui .hunter-worlds button{font-size:10px;max-width:100%;white-space:normal}
}
@media(min-width:1600px){#dashboard.kk-ui{--kk-gutter:40px;--kk-inspector-w:360px}#dashboard.kk-ui .kk-home-top,#dashboard.kk-ui .kk-home-lower{grid-template-columns:minmax(0,1fr) 360px}}
@media(min-width:1440px){
 #dashboard.kk-ui .kk-discovery-featured{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px 20px;align-content:start;align-items:start}
 #dashboard.kk-ui .kk-discovery-featured>.kk-kicker{grid-column:1/-1}
 #dashboard.kk-ui .kk-discovery-featured>.hunter-proof{grid-column:1;grid-row:2/span 7;margin:0}
 #dashboard.kk-ui .kk-discovery-featured>:not(.kk-kicker):not(.hunter-proof){grid-column:2;margin-top:0;margin-bottom:0}
}
@media(min-width:768px) and (max-width:1279px){
 #dashboard.kk-ui{--kk-gutter:24px}#dashboard.kk-ui .workspace{grid-template-columns:72px minmax(0,1fr)}
 #dashboard.kk-ui .kk-brand{padding:20px 24px;min-height:76px}#dashboard.kk-ui .kk-brand>span:last-child,#dashboard.kk-ui .studio-sidebar-heading>span,#dashboard.kk-ui .studio-tree-copy,#dashboard.kk-ui .studio-tree-toggle,#dashboard.kk-ui .studio-episode-list,#dashboard.kk-ui .studio-channel-stages,#dashboard.kk-ui .deck-nav .nav>span:not(.nav-icon),#dashboard.kk-ui .deck-nav .nav small,#dashboard.kk-ui .kk-account,#dashboard.kk-ui .kk-privacy{display:none}
 #dashboard.kk-ui .studio-sidebar-heading{padding:0 20px 12px}#dashboard.kk-ui .studio-channel-select{padding:9px 12px}#dashboard.kk-ui .deck-nav{padding:10px 16px}#dashboard.kk-ui .deck-nav .nav{justify-content:center;padding:0;height:44px}
 #dashboard.kk-ui #studio-mobile-menu{display:block;border:0;background:none;min-width:32px;padding:0;font-size:18px}
 #dashboard.kk-ui .studio-menu-open.sidebar{width:320px}#dashboard.kk-ui .kk-home-top,#dashboard.kk-ui .kk-home-lower{grid-template-columns:minmax(0,1fr) 280px}
 #dashboard.kk-ui .kk-home-hero{grid-template-columns:1fr}#dashboard.kk-ui .kk-home-welcome{padding:24px}#dashboard.kk-ui .studio-crew{padding:0 16px 16px}
 #dashboard.kk-ui #connection{display:none}#dashboard.kk-ui .pipeline-map button span{display:none}#dashboard.kk-ui .pipeline-map button.active span{display:block}
}
@media(max-width:1023px){#dashboard.kk-ui .kk-home-top,#dashboard.kk-ui .kk-home-lower{grid-template-columns:1fr}#dashboard.kk-ui .kk-home-hero{grid-template-columns:1fr 1fr}#dashboard.kk-ui .kk-home-telemetry .telemetry{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#dashboard.kk-ui .flight-stats{grid-template-columns:repeat(4,minmax(0,1fr))}#dashboard.kk-ui #studio-new-episode{font-size:0;min-width:34px;padding:0}#dashboard.kk-ui #studio-new-episode span{font-size:16px}#dashboard.kk-ui .kk-progress-row{grid-template-columns:28px minmax(0,1fr) 120px 66px}}
@media(max-width:767px){
 #dashboard.kk-ui{--kk-gutter:16px;--kk-fs-display:28px;--kk-lh-display:34px}
 #dashboard.kk-ui .workspace{display:block;height:calc(100dvh - 64px)}#dashboard.kk-ui .workspace>main{height:100%}
 #dashboard.kk-ui .sidebar{display:flex;position:fixed;z-index:80;left:0;top:0;bottom:0;height:100dvh;max-height:100dvh;width:min(320px,calc(100vw - 36px));transform:translateX(-105%);transition:transform var(--kk-dur-slow) var(--kk-ease)}
 #dashboard.kk-ui.studio-menu-open .sidebar{transform:translateX(0);box-shadow:var(--kk-shadow-overlay)}
 #dashboard.kk-ui #kk-drawer-close{display:block;position:absolute;top:20px;right:10px;width:36px;height:36px;border:1px solid var(--kk-line);background:none;color:var(--kk-text);border-radius:var(--kk-radius-sm);font-size:20px}
 #dashboard.kk-ui #studio-menu-backdrop{position:fixed;z-index:70;inset:0;width:100%;height:100%;border:0;background:rgba(3,5,12,.72)}
 #dashboard.kk-ui .studio-contextbar{height:56px;min-height:56px;gap:10px;padding:0 16px}
 #dashboard.kk-ui #studio-mobile-menu{display:block;min-width:32px;width:32px;min-height:44px;border:0;background:none;padding:0;font-size:19px}
 #dashboard.kk-ui #studio-breadcrumb{display:block;line-height:17px;font-size:10px}#dashboard.kk-ui #studio-breadcrumb button{font-size:10px;min-height:0;max-width:140px}#dashboard.kk-ui #studio-breadcrumb strong{display:block;font-size:12px;line-height:17px}#dashboard.kk-ui #studio-breadcrumb .studio-separator{display:none}
 #dashboard.kk-ui .studio-context-actions{gap:3px;flex-basis:auto}#dashboard.kk-ui #connection,#dashboard.kk-ui #deck-motion,#dashboard.kk-ui #refresh{display:none}
 #dashboard.kk-ui #kk-history-button{font-size:0;min-width:36px;width:36px;height:36px;border:0;padding:0}#dashboard.kk-ui #kk-history-button:before{content:'◷';font-size:20px}
 #dashboard.kk-ui #studio-new-episode{font-size:0;min-width:32px;min-height:36px;height:36px;padding:0}#dashboard.kk-ui #studio-new-episode span{font-size:18px}
 #dashboard.kk-ui .pipeline-map{height:54px;min-height:54px;gap:2px;padding:8px 16px}#dashboard.kk-ui .pipeline-map button{padding:0;min-height:32px;gap:0}#dashboard.kk-ui .pipeline-map button span{display:none}#dashboard.kk-ui .pipeline-map b{width:22px;height:22px;flex-basis:22px}#dashboard.kk-ui .pipeline-map button:not(:last-child):after{margin:0 6px;min-width:4px}
 #dashboard.kk-ui .kk-page-scroll{padding:18px 16px 26px}
 #dashboard.kk-ui .kk-bottom-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:64px;position:fixed;bottom:0;left:0;right:0;z-index:40;background:var(--kk-sidebar);border-top:1px solid var(--kk-line);padding:4px 6px max(4px,env(safe-area-inset-bottom))}
 #dashboard.kk-ui .kk-bottom-tabs button,#dashboard.kk-ui .kk-bottom-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:52px;min-height:44px;border:0;border-radius:var(--kk-radius-sm);background:none;color:var(--kk-text-3);padding:0;font-size:17px}
 #dashboard.kk-ui .kk-bottom-tabs small{font-size:9px;font-weight:500}#dashboard.kk-ui .kk-bottom-tabs .active{color:var(--kk-primary)}
 #dashboard.kk-ui .kk-home-hero{grid-template-columns:1fr}#dashboard.kk-ui .kk-home-welcome{padding:24px}#dashboard.kk-ui .page-heading h1{font-size:30px;line-height:35px}#dashboard.kk-ui .studio-crew{padding:0 12px 12px}
 #dashboard.kk-ui .kk-home-top,#dashboard.kk-ui .kk-home-lower{gap:18px}#dashboard.kk-ui .kk-home-telemetry .telemetry{display:flex}#dashboard.kk-ui .flight-stats{grid-template-columns:1fr 1fr}
 #dashboard.kk-ui .kk-progress-row{grid-template-columns:26px minmax(0,1fr);gap:6px 10px;padding:14px 0}#dashboard.kk-ui .kk-progress-state{grid-column:2}#dashboard.kk-ui .kk-progress-link{display:none}
 #dashboard.kk-ui .kk-history-dialog{padding:18px;width:calc(100vw - 16px);max-height:90dvh;border-radius:var(--kk-radius-xl);margin:auto 8px 8px}#dashboard.kk-ui .kk-history-row{grid-template-columns:18px minmax(0,1fr);gap:8px}#dashboard.kk-ui .kk-history-row>div{grid-column:2}
 #dashboard.kk-ui .telemetry-footer{font-size:8px;line-height:13px}
 #dashboard.kk-ui .radar-panel h2{font-size:28px;line-height:33px;letter-spacing:-.7px;margin-top:6px}#dashboard.kk-ui #root-count{font-size:8px;padding:4px 7px;max-width:100px}
}
@media(min-width:768px) and (max-width:1279px){
 #dashboard.kk-ui.studio-menu-open .sidebar{position:fixed;z-index:80;inset:0 auto 0 0;width:320px;box-shadow:var(--kk-shadow-overlay)}
 #dashboard.kk-ui.studio-menu-open .kk-brand>span:last-child,#dashboard.kk-ui.studio-menu-open .studio-tree-copy,#dashboard.kk-ui.studio-menu-open .studio-episode-list,#dashboard.kk-ui.studio-menu-open .studio-channel-stages,#dashboard.kk-ui.studio-menu-open .deck-nav .nav>span:not(.nav-icon),#dashboard.kk-ui.studio-menu-open .deck-nav .nav small,#dashboard.kk-ui.studio-menu-open .kk-account,#dashboard.kk-ui.studio-menu-open .kk-privacy{display:revert}
 #dashboard.kk-ui.studio-menu-open .kk-brand{padding:18px 20px}#dashboard.kk-ui.studio-menu-open .studio-sidebar-heading>span{display:block}#dashboard.kk-ui.studio-menu-open .studio-tree-toggle{display:block}#dashboard.kk-ui.studio-menu-open .deck-nav .nav{justify-content:flex-start;padding:0 10px}
 #dashboard.kk-ui.studio-menu-open #studio-menu-backdrop{position:fixed;z-index:70;inset:0;width:100%;height:100%;background:rgba(3,5,12,.72)}
 #dashboard.kk-ui.studio-menu-open #kk-drawer-close{display:block;position:absolute;right:12px;top:20px;background:none;color:var(--kk-text);border:0;width:36px;height:36px;font-size:20px}
}
@media(prefers-reduced-motion:reduce){#dashboard.kk-ui *,#dashboard.kk-ui *:before,#dashboard.kk-ui *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#dashboard.kk-ui[data-animations=paused] *,#dashboard.kk-ui[data-animations=paused] *:before,#dashboard.kk-ui[data-animations=paused] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
/* Episode desks: source and timeline, script and storyboard, production and approval. */
#dashboard.kk-ui[data-kk-screen=stage] .radar-panel>.panel-heading,#dashboard.kk-ui[data-kk-screen=stage] .radar-intro,#dashboard.kk-ui[data-kk-screen=episode] .radar-panel>.panel-heading,#dashboard.kk-ui[data-kk-screen=episode] .radar-intro{display:none}
#dashboard.kk-ui .kk-stage-heading{margin:0 0 24px}
#dashboard.kk-ui .kk-stage-heading h2{font-size:30px;line-height:36px;letter-spacing:-.8px;margin:8px 0 0;max-width:900px}
#dashboard.kk-ui .kk-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) var(--kk-inspector-w,340px);gap:24px;align-items:start}
#dashboard.kk-ui .kk-editor-main{display:flex;flex-direction:column;gap:20px}
#dashboard.kk-ui .kk-inspector{display:flex;flex-direction:column;gap:20px;border-left:1px solid var(--kk-line);padding-left:24px}
#dashboard.kk-ui .kk-section{border:0;background:none;padding:0;margin:0}
#dashboard.kk-ui .kk-section>h3{font-size:14px;line-height:20px;letter-spacing:-.15px;margin:0 0 12px}
#dashboard.kk-ui .kk-section>h4{font-size:12px;margin:16px 0 6px}
#dashboard.kk-ui .kk-section>p{font-size:12px;line-height:20px;margin:8px 0 12px;white-space:pre-line;overflow-wrap:anywhere}
#dashboard.kk-ui .kk-inspector>.kk-section+.kk-section{border-top:1px solid var(--kk-line);padding-top:18px}
#dashboard.kk-ui .kk-context-title{display:block;font-size:13px;line-height:20px;margin-top:7px}
#dashboard.kk-ui .kk-inspector>.primary{width:100%;min-height:40px}
#dashboard.kk-ui .kk-stat{display:flex;flex-direction:column;gap:6px}
#dashboard.kk-ui .kk-stat small{font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-stat strong{font-size:26px;line-height:32px;color:var(--kk-text);font-weight:600;letter-spacing:-.8px}
#dashboard.kk-ui .kk-stat>span{font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-reference-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center}
#dashboard.kk-ui .kk-reference-hero h3{font-size:20px;line-height:25px;margin:7px 0}
#dashboard.kk-ui .kk-reference-media{aspect-ratio:16/9;border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);background:var(--kk-surface);overflow:hidden;display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-reference-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
#dashboard.kk-ui .kk-reference-media .kk-media-symbol{font-size:28px;color:var(--kk-primary)}
#dashboard.kk-ui .kk-reference-media>small{font:9px var(--kk-font-mono);letter-spacing:.05em}
#dashboard.kk-ui .kk-media-caption{position:absolute;bottom:0;left:0;right:0;padding:8px 12px;background:linear-gradient(transparent,rgba(3,5,12,.8));font-size:10px;color:var(--kk-text)}
#dashboard.kk-ui .kk-beat-timeline{display:flex;gap:3px;padding:8px 0;min-height:58px;position:relative}
#dashboard.kk-ui .kk-beat-segment{flex-basis:0;min-height:42px;border:1px solid transparent;border-radius:var(--kk-radius-sm);background:var(--kk-primary);opacity:.65;padding:0}
#dashboard.kk-ui .kk-beat-segment[data-tone="1"]{background:var(--kk-success)}
#dashboard.kk-ui .kk-beat-segment[data-tone="2"]{background:var(--kk-warning)}
#dashboard.kk-ui .kk-beat-segment[data-tone="3"]{background:var(--kk-danger)}
#dashboard.kk-ui .kk-beat-segment[aria-pressed=true]{opacity:1;outline:2px solid var(--kk-text);outline-offset:2px}
#dashboard.kk-ui .kk-beat-list{display:flex;flex-direction:column;margin-top:12px}
#dashboard.kk-ui .kk-beat-row{display:grid;grid-template-columns:26px minmax(80px,.7fr) 70px minmax(0,1.5fr);gap:10px;align-items:center;min-height:72px;text-align:left;background:none;border:0;border-bottom:1px solid var(--kk-line-soft);color:var(--kk-text);padding:12px 4px}
#dashboard.kk-ui .kk-beat-row[aria-pressed=true]{background:var(--kk-row-hover);border-radius:var(--kk-radius-sm)}
#dashboard.kk-ui .kk-beat-number{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--kk-primary-tint);color:var(--kk-primary);font:10px var(--kk-font-mono)}
#dashboard.kk-ui .kk-beat-row strong{font-size:11px;line-height:17px}
#dashboard.kk-ui .kk-beat-row small{font:9px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-beat-row p{font-size:11px;line-height:18px;margin:0;color:var(--kk-text-2)}
#dashboard.kk-ui .kk-original-angle{margin:0;padding:14px 16px;font-size:13px;line-height:21px;background:var(--kk-surface);border:1px solid var(--kk-line);border-radius:var(--kk-radius-md)}
#dashboard.kk-ui .kk-mechanism{padding:14px 0;border-top:1px solid var(--kk-line);border-bottom:1px solid var(--kk-line)}
#dashboard.kk-ui .kk-mechanism h3{margin-bottom:4px}
#dashboard.kk-ui .kk-storyboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dashboard.kk-ui .kk-scene-visual{aspect-ratio:16/9;border:1px solid var(--kk-line);border-radius:var(--kk-radius-md);background:linear-gradient(135deg,var(--kk-surface),var(--kk-sidebar));overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
#dashboard.kk-ui .kk-scene-visual img{height:100%;width:100%;object-fit:cover}
#dashboard.kk-ui .kk-scene-visual>span{font:24px var(--kk-font-mono);color:var(--kk-primary)}
#dashboard.kk-ui .kk-scene-visual>small{font:7px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-scene h4{font-size:12px;line-height:18px;margin:10px 0 4px}
#dashboard.kk-ui .kk-scene p{font-size:11px;line-height:18px;margin:0}
#dashboard.kk-ui .kk-script{border:1px solid var(--kk-line);border-radius:var(--kk-radius-md);padding:16px;background:var(--kk-surface-sunken)}
#dashboard.kk-ui .kk-script-lines{display:flex;flex-direction:column;gap:7px}
#dashboard.kk-ui .kk-script-lines>div{display:grid;grid-template-columns:23px minmax(0,1fr);gap:12px}
#dashboard.kk-ui .kk-script-lines span{font:9px/20px var(--kk-font-mono);color:var(--kk-text-3)}
#dashboard.kk-ui .kk-script-lines p{font-size:12px;line-height:21px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
#dashboard.kk-ui .kk-final-preview{display:flex;flex-direction:column;gap:12px;border-radius:var(--kk-radius-lg);overflow:hidden;background:var(--kk-surface)}
#dashboard.kk-ui .kk-final-preview .preview{width:100%;max-width:none;max-height:420px;object-fit:contain;aspect-ratio:auto;background:none;margin:0;border:0;border-radius:0}
#dashboard.kk-ui .kk-final-preview video{aspect-ratio:16/9}
#dashboard.kk-ui .kk-final-preview:has(video)>img.preview{width:180px;max-width:calc(100% - 24px);max-height:102px;aspect-ratio:16/9;margin:0 12px 12px;border-radius:var(--kk-radius-sm)}
#dashboard.kk-ui .kk-editor-main>.pipeline-route{display:flex;flex-direction:column;gap:0;background:none;border:0;padding:0;margin:0}
#dashboard.kk-ui .pipeline-route>li{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;min-height:60px;padding:12px 0;background:none;border:0;border-bottom:1px solid var(--kk-line)}
#dashboard.kk-ui .pipeline-route>li strong{font-size:12px}.kk-ui .pipeline-route>li small{font-size:10px}
#dashboard.kk-ui .pipeline-number{width:24px;height:24px;border-radius:50%;background:var(--kk-surface-raised);color:var(--kk-text-2);font:10px var(--kk-font-mono);display:grid;place-items:center}
#dashboard.kk-ui .pipeline-route>.done .pipeline-number{background:var(--kk-success-tint);color:var(--kk-success)}
#dashboard.kk-ui .pipeline-route>.current .pipeline-number{background:var(--kk-primary-tint);color:var(--kk-primary)}
#dashboard.kk-ui .pipeline-next{background:var(--kk-surface);border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);padding:18px;margin:0}
#dashboard.kk-ui .pipeline-next h4{font-size:16px;line-height:23px;margin:8px 0}
#dashboard.kk-ui .pipeline-next p{font-size:12px;line-height:20px;margin:8px 0}
#dashboard.kk-ui .pipeline-next.blocked{border-color:var(--kk-warning-line);background:var(--kk-warning-tint)}
#dashboard.kk-ui .pipeline-next.blocked{border-color:var(--kk-danger-line);background:var(--kk-danger-tint)}
#dashboard.kk-ui .pipeline-economics{display:flex;flex-direction:column;gap:0;border:0;border-top:1px solid var(--kk-line);padding:12px 0;margin:0;background:none}
#dashboard.kk-ui .pipeline-economics>div{border:0;background:none;padding:10px 0;display:grid;grid-template-columns:1fr auto;gap:5px}
#dashboard.kk-ui .pipeline-economics small{font-size:11px;color:var(--kk-text-2)}
#dashboard.kk-ui .pipeline-economics strong{font:12px var(--kk-font-mono);text-align:right}
#dashboard.kk-ui .pipeline-economics span{grid-column:1/-1;font-size:10px;color:var(--kk-text-3)}
#dashboard.kk-ui .kk-evidence-details{border:0;border-top:1px solid var(--kk-line);border-bottom:1px solid var(--kk-line);padding:14px 0;background:none;border-radius:0;display:block}
#dashboard.kk-ui .kk-evidence-details>summary{font-size:12px;line-height:20px;cursor:pointer;color:var(--kk-primary);min-height:32px}
#dashboard.kk-ui .kk-evidence-details>.pipeline-panels{display:grid!important;grid-template-columns:1fr;gap:14px;padding-top:14px}
#dashboard.kk-ui .pipeline-panel{background:var(--kk-surface-sunken);border:1px solid var(--kk-line);border-radius:var(--kk-radius-md);padding:16px}
#dashboard.kk-ui .pipeline-panel h4{font-size:14px;line-height:21px}
#dashboard.kk-ui .pipeline-panel p{font-size:12px;line-height:20px}
#dashboard.kk-ui .kk-production-actions{display:flex;flex-direction:column;gap:12px}
#dashboard.kk-ui .kk-production-actions>h3{margin:0}
#dashboard.kk-ui .kk-production-actions .artifact-link{display:block;font-size:12px;line-height:20px}
#dashboard.kk-ui form{border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);padding:18px;background:var(--kk-surface-sunken);margin:14px 0;max-width:100%;display:flex;flex-direction:column;gap:12px}
#dashboard.kk-ui form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#dashboard.kk-ui form .field{display:flex;flex-direction:column;gap:5px;padding:0;margin:0}
#dashboard.kk-ui form .field.wide{grid-column:1/-1}
#dashboard.kk-ui textarea{min-height:120px;resize:vertical}
#dashboard.kk-ui .form-error{color:var(--kk-danger);font-size:12px;margin:0}
#dashboard.kk-ui .form-error:empty{display:none}
#dashboard.kk-ui .form-actions{display:flex;justify-content:flex-end;gap:10px;margin:0}
#dashboard.kk-ui .checkline{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:20px;margin:0;padding:6px 0}
#dashboard.kk-ui input[type=checkbox]{width:16px;height:16px;margin:2px 0;flex-shrink:0;accent-color:var(--kk-primary)}
#dashboard.kk-ui .kk-inspector form{padding:0;background:none;border:0;border-radius:0;margin:0}
#dashboard.kk-ui .kk-inspector form .form-grid{grid-template-columns:1fr;gap:12px}
#dashboard.kk-ui .kk-feedback-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 0;border-top:1px solid var(--kk-line);border-bottom:1px solid var(--kk-line)}
#dashboard.kk-ui .kk-observation-chart{height:220px;display:flex;align-items:stretch;gap:20px;padding:16px 0}
#dashboard.kk-ui .kk-observation-chart>div{display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}
#dashboard.kk-ui .kk-observation-chart span{min-width:20px;width:70%;max-width:100px;background:var(--kk-primary);border-radius:var(--kk-radius-sm)}
#dashboard.kk-ui .kk-observation-chart strong{font:11px var(--kk-font-mono)}
#dashboard.kk-ui .kk-observation-chart small{font-size:9px;color:var(--kk-text-3);text-align:center}
#dashboard.kk-ui .kk-stage-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#dashboard.kk-ui .kk-stage-cards>.kk-section{border:1px solid var(--kk-line);border-radius:var(--kk-radius-lg);padding:16px;display:flex;flex-direction:column;gap:7px;background:var(--kk-surface-sunken)}
#dashboard.kk-ui .kk-stage-cards h3{margin:0;font-size:13px}
#dashboard.kk-ui .kk-stage-cards p{flex:1;font-size:11px;line-height:18px;margin:0}
#dashboard.kk-ui .kk-stage-status{font:9px var(--kk-font-mono);color:var(--kk-primary)}
#dashboard.kk-ui .kk-stage-cards button{border:0;background:none;padding:0;justify-content:flex-start;font-size:11px;color:var(--kk-primary);margin-top:10px}
#dashboard.kk-ui .kk-state-badge{font:10px var(--kk-font-mono);color:var(--kk-warning);align-self:flex-start}
@media(min-width:1024px){
 #dashboard.kk-ui .kk-page-scroll:has(.kk-editor-grid){display:flex;flex-direction:column;overflow:hidden}
 #dashboard.kk-ui .kk-page-scroll:has(.kk-editor-grid) .bridge,#dashboard.kk-ui .kk-page-scroll:has(.kk-editor-grid) .radar-panel{display:flex;flex:1;flex-direction:column;min-height:0}
 #dashboard.kk-ui .kk-page-scroll:has(.kk-editor-grid) #results{flex:1;min-height:0;overflow:hidden}
 #dashboard.kk-ui .kk-episode-workspace{display:flex;flex-direction:column;height:100%;min-height:0}
 #dashboard.kk-ui .kk-stage-heading{flex-shrink:0}
 #dashboard.kk-ui .kk-editor-grid{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}
 #dashboard.kk-ui .kk-editor-main,#dashboard.kk-ui .kk-inspector{height:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--kk-line-strong) transparent;padding-right:12px}
 #dashboard.kk-ui .kk-editor-main>*,#dashboard.kk-ui .kk-inspector>*{flex-shrink:0}
 #dashboard.kk-ui .kk-inspector>.primary{margin-top:auto}
 #dashboard.kk-ui .kk-page-scroll:has(.kk-editor-grid) .telemetry-footer{flex-shrink:0;margin-top:16px;padding-top:12px}
}
#dashboard.kk-ui .metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;padding:20px 0;background:none;border:0}
#dashboard.kk-ui .metric{display:flex;flex-direction:column;gap:8px;border:0;border-left:1px solid var(--kk-line);padding:0 0 0 18px;background:none;border-radius:0}
#dashboard.kk-ui .metric small{font-size:11px;color:var(--kk-text-3)}
#dashboard.kk-ui .metric strong{font-size:26px;line-height:32px;color:var(--kk-text)}
#dashboard.kk-ui .ledger-line{display:grid;grid-template-columns:1fr auto;gap:20px;border:0;border-bottom:1px solid var(--kk-line);padding:18px 0;background:none}
#dashboard.kk-ui .ledger-line small{display:block;font-size:11px;color:var(--kk-text-3);margin-top:5px}
#dashboard.kk-ui .section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 10px}
#dashboard.kk-ui .section-title h3{font-size:18px;line-height:24px;margin:0}
#dashboard.kk-ui .editor-details{border:0;border-top:1px solid var(--kk-line);background:none;border-radius:0;padding:12px 0;margin:12px 0;font-size:12px}
#dashboard.kk-ui .editor-details>summary{cursor:pointer;min-height:32px;color:var(--kk-primary)}
#dashboard.kk-ui .channel-row,#dashboard.kk-ui .episode-row{display:flex;align-items:center;gap:14px;width:100%;border:0;border-bottom:1px solid var(--kk-line);border-radius:0;background:none;padding:18px 0;text-align:left;color:var(--kk-text)}
#dashboard.kk-ui .row-copy{flex:1;display:flex;flex-direction:column;gap:5px}
#dashboard.kk-ui .row-copy strong{font-size:14px;line-height:20px}
#dashboard.kk-ui .row-copy small{font-size:11px;color:var(--kk-text-3)}
#dashboard.kk-ui .row-number{font:14px var(--kk-font-mono);color:var(--kk-primary)}
@media(max-width:1279px){#dashboard.kk-ui .kk-editor-grid{gap:20px;grid-template-columns:minmax(0,1fr) 300px}#dashboard.kk-ui .kk-inspector{padding-left:20px}#dashboard.kk-ui .kk-stage-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){
 #dashboard.kk-ui .kk-editor-grid{grid-template-columns:1fr}#dashboard.kk-ui .kk-inspector{border-left:0;border-top:1px solid var(--kk-line);padding:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:24px}
 #dashboard.kk-ui .kk-inspector>.kk-feedback-form,#dashboard.kk-ui .kk-inspector>.kk-production-actions{grid-column:1/-1}#dashboard.kk-ui .kk-inspector>.primary{align-self:start}
 #dashboard.kk-ui button,#dashboard.kk-ui .secondary,#dashboard.kk-ui .primary,#dashboard.kk-ui button[type=submit],#dashboard.kk-ui .deck-nav .nav,#dashboard.kk-ui .studio-tree-stage,#dashboard.kk-ui .studio-channel-stage,#dashboard.kk-ui .studio-add-episode,#dashboard.kk-ui #studio-add-channel,#dashboard.kk-ui #kk-drawer-close,#dashboard.kk-ui #kk-history-button,#dashboard.kk-ui #studio-new-episode{min-height:44px}
 #dashboard.kk-ui #studio-add-channel,#dashboard.kk-ui .studio-tree-toggle,#dashboard.kk-ui #kk-drawer-close,#dashboard.kk-ui #kk-history-button,#dashboard.kk-ui #studio-new-episode{min-width:44px}
 #dashboard.kk-ui .ship-port{min-height:44px;width:44px;border:10px solid transparent;background-clip:padding-box}#dashboard.kk-ui .ship-port span{border:1px solid var(--kk-primary-ring);border-radius:50%}
}
@media(max-width:767px){
 #dashboard.kk-ui .kk-stage-heading{margin-bottom:20px}#dashboard.kk-ui .kk-stage-heading h2{font-size:27px;line-height:33px}
 #dashboard.kk-ui .kk-reference-hero{grid-template-columns:1fr}#dashboard.kk-ui .kk-reference-hero h3{font-size:18px}
 #dashboard.kk-ui .kk-inspector{display:flex;gap:20px}#dashboard.kk-ui .kk-storyboard{grid-template-columns:1fr 1fr}#dashboard.kk-ui .kk-storyboard>.kk-scene:last-child:nth-child(odd){grid-column:1/-1;max-width:100%}
 #dashboard.kk-ui .kk-beat-row{grid-template-columns:26px 1fr auto;row-gap:5px}#dashboard.kk-ui .kk-beat-row p{grid-column:2/-1}
 #dashboard.kk-ui .kk-feedback-metrics{gap:10px}#dashboard.kk-ui .kk-stat strong{font-size:23px;line-height:29px}#dashboard.kk-ui .kk-stat small{font-size:9px}
 #dashboard.kk-ui .kk-stage-cards{gap:10px}#dashboard.kk-ui .kk-stage-cards>.kk-section{padding:12px}
 #dashboard.kk-ui form .form-grid{grid-template-columns:1fr}#dashboard.kk-ui form{padding:16px}#dashboard.kk-ui .form-actions>button{width:100%}
 #dashboard.kk-ui .kk-script{padding:12px}#dashboard.kk-ui .metric-grid{grid-template-columns:1fr 1fr;gap:20px 10px}#dashboard.kk-ui .metric{padding-left:10px}#dashboard.kk-ui .metric strong{font-size:22px}
 #dashboard.kk-ui .hunter-command .field{max-width:none;width:100%}#dashboard.kk-ui .hunter-surface{gap:10px}#dashboard.kk-ui .hunter-quest{gap:20px}
}
/* Readable secondary information, retaining the existing type and color hierarchy. */
#dashboard.kk-ui :is(.kk-subtle,.hunter-note,.hunter-source-time,.hunter-status-detail,.field small,.reference-panel-intro,.reference-library-heading .hunter-note,.reference-next p,.reference-card-actions .hunter-note,.kk-history-row small,.kk-stat small,.kk-stat>span,.inventory-stats span,.pipeline-economics span,.ledger-line small,.metric small,.row-copy small,.kk-progress-copy small,.kk-progress-state small){font-size:12px;line-height:19px}
#dashboard.kk-ui :is(.kk-section>p,.kk-scene p,.kk-beat-row p,.kk-stage-cards p){font-size:13px;line-height:20px}
#dashboard.kk-ui .kk-discovery-list .hunter-angle,#dashboard.kk-ui .hunter-proof-copy .hunter-channel,#dashboard.kk-ui .hunter-video-stats{font-size:12px;line-height:19px}
#dashboard.kk-ui :is(.radar-panel .eyebrow,.kk-kicker,.studio-kicker,.hunter-card-eyebrow,.hunter-count,.reference-result-count,.kk-stage-status,.kk-state-badge){font-size:11px;line-height:17px;letter-spacing:.06em}
#dashboard.kk-ui :is(.kk-beat-row small,.hunter-preview-label){font-size:11px;line-height:17px}
#dashboard.kk-ui .kk-beat-row{grid-template-columns:26px minmax(110px,1fr) 100px minmax(0,2.4fr)}
#dashboard.kk-ui .kk-script-lines span{font-size:11px;line-height:21px}
#dashboard.kk-ui .studio-tree-copy small,#dashboard.kk-ui .studio-episode-select small{font-size:11px;line-height:17px}
#dashboard.kk-ui :is(.studio-channel-stage,.studio-tree-stage,.studio-episode-title){font-size:12px;line-height:18px}
#dashboard.kk-ui .pipeline-map span{font-size:11.5px}
#dashboard.kk-ui .telemetry small{font-size:12px;line-height:18px}
#dashboard.kk-ui .telemetry span{font-size:11px;line-height:17px}
#dashboard.kk-ui :is(.kk-scene-visual>small,.kk-observation-chart small){font-size:10px;line-height:16px}
#dashboard.kk-ui .kk-bottom-tabs small{font-size:10.5px;line-height:16px}
#dashboard.kk-ui :is(.telemetry-footer,.kk-privacy){font-size:11px;line-height:17px}
@media(max-width:767px){
 #dashboard.kk-ui .kk-beat-row{grid-template-columns:26px minmax(0,1fr) auto}
 #dashboard.kk-ui[data-kk-screen=references]:has(.reference-library) .radar-intro{font-size:12px;line-height:18px;margin-bottom:12px}
 #dashboard.kk-ui .hunter-results>.mission-focus{margin:0}
 #dashboard.kk-ui[data-kk-screen=references] .hunter-results>button:first-child{margin:0 0 10px}
 #dashboard.kk-ui .reference-library-heading{margin:0 0 8px}
 #dashboard.kk-ui .reference-library-heading .hunter-note{margin:4px 0 0;line-height:18px}
 #dashboard.kk-ui .reference-tabs{flex-wrap:nowrap;gap:5px;margin:8px 0}
 #dashboard.kk-ui .reference-tab{flex:1;flex-wrap:wrap;justify-content:center;gap:0 5px;padding:4px 5px;font-size:12px;line-height:17px}
 #dashboard.kk-ui .reference-tab strong{font-size:11px;line-height:17px}
 #dashboard.kk-ui .reference-panel-intro{margin:6px 0 8px;line-height:18px}
 #dashboard.kk-ui .reference-library:has(.reference-state-available[aria-selected=true]) .reference-panel-intro{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}
 #dashboard.kk-ui .reference-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding-bottom:12px}
 #dashboard.kk-ui .reference-toolbar .field{max-width:none;margin:0}
 #dashboard.kk-ui .reference-toolbar .field>span{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}
 #dashboard.kk-ui .reference-toolbar input{min-height:44px}
 #dashboard.kk-ui .reference-result-count{margin:0;font-size:11px;line-height:17px}
 #dashboard.kk-ui .reference-card-actions button{min-height:44px}
}
/* Final narrow-screen corrections: readable lifecycle labels and intact KPI values. */
@media(max-width:359px){
 #dashboard.kk-ui .reference-tabs{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--kk-line-strong) transparent;scroll-padding-inline:4px}
 #dashboard.kk-ui .reference-tab{flex:0 0 auto;min-width:96px;flex-wrap:nowrap;gap:8px;padding:8px 12px;white-space:nowrap}
 #dashboard.kk-ui .reference-tab span{white-space:nowrap}
}
@media(max-width:767px){
 #dashboard.kk-ui .kk-feedback-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
 #dashboard.kk-ui .kk-feedback-metrics .kk-stat strong{white-space:nowrap;overflow-wrap:normal;word-break:normal}
}
