/* Hot creation controls share the global user theme. */
html.theme-dark #hotCreationPane .secondary, html.theme-dark .hot-history-dialog .secondary { background:var(--v2-surface); color:var(--hot-ink); border-color:var(--hot-line); }
html.theme-dark #hotCreationPane .hot-topic { color:var(--hot-ink); background:transparent; border-color:var(--hot-line); }
html.theme-dark #hotCreationPane .hot-topic.selected, html.theme-dark #hotCreationPane .hot-topic:hover { background:var(--hot-active); color:var(--hot-ink); }
html.theme-dark #hotCreationPane input:not([type=checkbox]), html.theme-dark #hotCreationPane textarea, html.theme-dark #hotCreationPane select { background:var(--hot-field); color:var(--hot-ink); border-color:var(--hot-line); }
html.theme-dark #hotCreationPane button.primary { background:var(--hot-accent); color:#08282c !important; border-color:var(--hot-accent); }
#hotCreationPane .hot-layout { border:1px solid var(--hot-line); border-radius:8px; overflow:hidden; }
#hotCreationPane .hot-board, #hotCreationPane .hot-editor { background:var(--v2-surface); }
#hotCreationPane .hot-settings { background:var(--hot-field); }
#hotCreationPane .hot-heading { margin-bottom:16px; }
#hotCreationPane .hot-overview, #hotCreationPane .hot-updated, #hotCreationPane .hot-field>span, #hotCreationPane .hot-context-details summary, #hotVoiceDetails summary { color:var(--hot-muted); }
#hotCreationPane input:not([type=checkbox]), #hotCreationPane textarea, #hotCreationPane select { background:var(--hot-field); border:1px solid var(--hot-line); color:var(--hot-ink); border-radius:6px; padding:11px 12px; transition:border-color .15s, box-shadow .15s; }
#hotCreationPane input::placeholder, #hotCreationPane textarea::placeholder { color:var(--hot-muted); opacity:.8; }
#hotCreationPane input:not([type=checkbox]):focus, #hotCreationPane textarea:focus, #hotCreationPane select:focus { outline:0; border-color:var(--hot-accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--hot-accent) 15%,transparent); }
#hotCreationPane select { color-scheme:light; }
html.theme-dark #hotCreationPane select { color-scheme:dark; }
#hotCreationPane select option { background:var(--v2-surface) !important; color:var(--hot-ink) !important; }
#hotCreationPane button.secondary, .hot-history-dialog .secondary { background:var(--v2-surface); border:1px solid var(--hot-line); color:var(--hot-ink); border-radius:6px; min-height:36px; padding:9px 12px; box-shadow:none; }
#hotCreationPane button.secondary:hover:not(:disabled), .hot-history-dialog .secondary:hover:not(:disabled) { background:var(--hot-active); border-color:var(--hot-accent); color:var(--hot-accent); }
#hotCreationPane button.primary { background:var(--hot-accent); border:1px solid var(--hot-accent); color:#fff; border-radius:6px; min-height:40px; box-shadow:none; }
html.theme-dark #hotCreationPane button.primary { color:#08282c; }
#hotCreationPane button.primary:hover:not(:disabled) { filter:brightness(.94); }
#hotCreationPane button:disabled { opacity:.5; cursor:not-allowed; filter:none; }
#hotCreationPane button:focus-visible, .hot-history-dialog button:focus-visible, #hotCreationPane summary:focus-visible { outline:2px solid var(--hot-accent); outline-offset:3px; }
#hotCreationPane .icon-button, .hot-history-dialog .icon-button { background:transparent; border:0; color:var(--hot-muted); box-shadow:none; }
#hotCreationPane .icon-button:hover, .hot-history-dialog .icon-button:hover { background:var(--hot-active); color:var(--hot-accent); }
#hotCreationPane .hot-topic { border-bottom-color:var(--hot-line); border-radius:4px; padding:12px 8px; color:var(--hot-ink); }
#hotCreationPane .hot-topic:hover, #hotCreationPane .hot-topic.selected { background:var(--hot-active); }
#hotCreationPane .hot-topic.selected { box-shadow:inset 3px 0 var(--hot-accent); }
#hotCreationPane .hot-topic b { color:var(--v2-coral); }
#hotCreationPane .hot-topic small { color:var(--hot-muted); }
#hotCreationPane .hot-content-tabs { gap:22px; border-color:var(--hot-line); }
#hotCreationPane .hot-content-tabs button { background:transparent; color:var(--hot-muted); min-height:38px; }
#hotCreationPane .hot-content-tabs button.active { color:var(--hot-accent); border-bottom-color:var(--hot-accent); }
#hotCreationPane .hot-content-tabs button:hover { color:var(--hot-accent); }
#hotCreationPane .hot-check input { background:var(--v2-line-strong); transition:background .15s; }
#hotCreationPane .hot-check input:checked { background:var(--hot-accent); }
#hotCreationPane .hot-check input:focus-visible { outline:2px solid var(--hot-accent); outline-offset:3px; }
#hotCreationPane .hot-warning { color:var(--v2-coral); line-height:1.8; }
#hotCreationPane .hot-message { color:var(--hot-error); }
#hotCreationPane .hot-message:empty { display:none; }
#hotCreationPane .hot-cost { background:var(--v2-surface); border:1px solid var(--hot-line); border-radius:6px; padding:12px; color:var(--hot-muted); }
#hotCreationPane .hot-cost strong, #hotCreationPane .hot-stage strong, #hotSavedState { color:var(--hot-accent); }
#hotCreationPane .hot-segments, #hotCreationPane .hot-result-band { border:1px solid var(--hot-line); border-radius:8px; }
#hotCreationPane .hot-editor-panel .hot-result-band { border:0; border-top:1px solid var(--hot-line); border-radius:0; }
#hotCreationPane .hot-segment { background:var(--v2-surface); border:1px solid var(--hot-line); border-radius:6px; }
#hotCreationPane .hot-segment p, #hotCreationPane .hot-stage { color:var(--hot-muted); }
.hot-history-dialog { background:var(--v2-surface); border-color:var(--hot-line); color:var(--hot-ink); }
.hot-history-dialog::backdrop { background:rgba(8,18,24,.55); backdrop-filter:blur(3px); }
.hot-history-dialog .hot-history-item { border-color:var(--hot-line); color:var(--hot-ink); }
.hot-history-dialog .hot-history-item:hover { background:var(--hot-active); }
.hot-history-dialog .hot-model-choice { background:var(--hot-field); color:var(--hot-ink); border-color:var(--hot-line); }
.hot-history-dialog .hot-model-choice:hover, .hot-history-dialog .hot-model-choice.active { background:var(--hot-active); border-color:var(--hot-accent); }
@media(max-width:650px) { #hotCreationPane .hot-content-tabs { gap:16px; } #hotCreationPane .hot-content-tabs button { font-size:11px; } #hotCreationPane .hot-actions button { max-width:100%; white-space:normal; } }
@media(prefers-reduced-motion:reduce) { #hotCreationPane input, #hotCreationPane textarea, #hotCreationPane select, #hotCreationPane .hot-check input { transition:none; } }
/* Strong component boundaries and explicit control states. */
#hotCreationPane { --hot-line:#bdcfd3; --hot-field:#f3f7f8; --hot-panel:#edf4f5; --hot-accent:#087d83; --hot-active:#dff1f2; --hot-ink:#203b43; --hot-muted:#526d76; }
html.theme-dark #hotCreationPane { --hot-line:#45646d; --hot-field:#10272e; --hot-panel:#1c343c; --hot-accent:#66dce0; --hot-active:#244c54; --hot-ink:#edf8fa; --hot-muted:#b0c6cc; }
#hotCreationPane .hot-layout { align-items:stretch; border:1px solid var(--hot-line); box-shadow:0 3px 12px rgba(12,48,58,.05); }
#hotCreationPane .hot-board, #hotCreationPane .hot-settings { background:var(--hot-panel); }
#hotCreationPane .hot-board { border-right:1px solid var(--hot-line); }
#hotCreationPane .hot-settings { border-left:1px solid var(--hot-line); }
#hotCreationPane .hot-heading h3, #hotCreationPane .hot-settings>h3 { color:var(--hot-ink); font-size:15px; font-weight:750; border-left:3px solid var(--hot-accent); padding-left:9px; }
#hotCreationPane .hot-field>span, #hotCreationPane .hot-field-head>span { color:var(--hot-ink); font-size:12px; font-weight:650; }
#hotCreationPane #hotTitle, #hotCreationPane input:not([type=checkbox]), #hotCreationPane textarea, #hotCreationPane select { border:1px solid var(--hot-line) !important; border-radius:6px; padding:11px 12px; background:var(--hot-field) !important; color:var(--hot-ink) !important; box-shadow:inset 0 1px 2px rgba(16,44,52,.04); }
#hotCreationPane #hotTitle { font-size:15px; line-height:1.6; }
#hotCreationPane input:not([type=checkbox]):focus, #hotCreationPane textarea:focus, #hotCreationPane select:focus { border-color:var(--hot-accent) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--hot-accent) 18%,transparent); }
#hotCreationPane button.secondary, #hotCreationPane button.icon-button { background:var(--v2-surface) !important; border:1px solid var(--hot-line) !important; color:var(--hot-ink) !important; box-shadow:0 2px 0 color-mix(in srgb,var(--hot-line) 45%,transparent); font-weight:650; }
#hotCreationPane button { cursor:pointer; transition:background .18s,border-color .18s,box-shadow .18s,transform .18s; }
#hotCreationPane button.secondary:hover:not(:disabled), #hotCreationPane button.icon-button:hover:not(:disabled) { background:var(--hot-active) !important; border-color:var(--hot-accent) !important; color:var(--hot-accent) !important; box-shadow:0 4px 10px color-mix(in srgb,var(--hot-accent) 14%,transparent); transform:translateY(-1px); }
#hotCreationPane button:active:not(:disabled) { transform:translateY(1px); box-shadow:none; }
#hotCreationPane button.primary { position:relative; overflow:hidden; background:var(--hot-accent) !important; border-color:var(--hot-accent) !important; box-shadow:0 3px 0 color-mix(in srgb,var(--hot-accent) 65%,#16343a),0 5px 12px color-mix(in srgb,var(--hot-accent) 18%,transparent); font-weight:750; }
#hotCreationPane button.primary::before { display:none; }
#hotCreationPane button.primary:hover:not(:disabled) { transform:translateY(-2px); filter:brightness(1.06); box-shadow:0 5px 16px color-mix(in srgb,var(--hot-accent) 30%,transparent); }
#hotCreationPane button:disabled { opacity:.45; box-shadow:none; transform:none; cursor:not-allowed; }
#hotCreationPane [data-hot-model] { border-left:3px solid var(--hot-accent) !important; line-height:1.65; }
#hotCreationPane .hot-topic { color:var(--hot-ink) !important; background:transparent !important; border-bottom:1px solid var(--hot-line); }
#hotCreationPane .hot-topic:hover, #hotCreationPane .hot-topic.selected { background:var(--hot-active) !important; color:var(--hot-ink) !important; }
#hotCreationPane .hot-topic small { color:var(--hot-muted); }
#hotCreationPane .hot-manual { width:100%; margin-top:14px; justify-content:center; }
#hotCreationPane .hot-content-tabs { gap:6px; padding:4px; background:var(--hot-panel); border:1px solid var(--hot-line); border-radius:6px; }
#hotCreationPane .hot-content-tabs button { flex:1; padding:9px 6px; border:1px solid transparent; border-radius:4px; font-size:12px; color:var(--hot-muted); }
#hotCreationPane .hot-content-tabs button.active { background:var(--v2-surface); color:var(--hot-accent); border-color:var(--hot-line); box-shadow:0 1px 3px rgba(12,48,58,.1); }
#hotCreationPane .hot-stage { border-block:1px solid var(--hot-line); margin:14px 0; padding:10px 0; }
#hotCreationPane .hot-check { padding:10px 0; border-bottom:1px solid var(--hot-line); margin:0; color:var(--hot-ink); }
#hotCreationPane .hot-check input { width:34px; height:20px; background:#8da5ad; box-shadow:inset 0 0 0 1px rgba(0,0,0,.12); }
#hotCreationPane .hot-check input:before { width:16px; height:16px; transition:left .18s; }
#hotCreationPane .hot-check input:checked:before { left:16px; }
#hotCreationPane .hot-cost { border:1px solid var(--hot-accent); background:var(--hot-active); color:var(--hot-ink); }
#hotCreationPane #hotProjectActions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#hotCreationPane #hotProjectActions button { justify-content:center; min-height:40px; padding:9px 6px; gap:5px; font-size:11px; white-space:normal; }
#hotCreationPane .hot-stage:empty { display:none; }
#hotCreationPane #hotProjectActions [data-hot-action=videos], #hotCreationPane #hotProjectActions [data-hot-action=resume] { background:var(--hot-active) !important; border-color:var(--hot-accent) !important; color:var(--hot-accent) !important; }
#hotCreationPane .hot-segments, #hotCreationPane>.hot-result-band { border:1px solid var(--hot-line); border-top:3px solid var(--hot-accent); }
#hotCreationPane .hot-segment { background:var(--hot-field); border:1px solid var(--hot-line); }
@media(max-width:1000px) { #hotCreationPane .hot-board { border-right:0; border-bottom:1px solid var(--hot-line); } }
@media(max-width:650px) { #hotCreationPane .hot-settings { border-left:0; border-top:1px solid var(--hot-line); } }
@media(prefers-reduced-motion:reduce) { #hotCreationPane button, #hotCreationPane .hot-check input:before { transition:none; transform:none !important; } }
