#hotCreationPane { color: var(--text); }
/* Component tokens follow the site's light and dark theme switch. */
#hotCreationPane, .hot-history-dialog {
  --hot-ink: var(--v2-ink, #25313a);
  --hot-muted: var(--v2-muted, #667780);
  --hot-line: var(--v2-line, #dce5e8);
  --hot-field: var(--v2-surface-soft, #f6f9fa);
  --hot-active: var(--v2-primary-soft, #e7f5f3);
  --hot-accent: var(--v2-primary, #168b80);
  --hot-error: var(--v2-danger, #c94949);
  color: var(--hot-ink);
}

.hot-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 18px; }
.hot-toolbar h2 { font-size: 18px; margin: 0; }
.hot-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; align-items: start; border-top: 1px solid var(--line); }
.hot-board { padding: 18px 16px 18px 0; min-width: 0; }
.hot-settings { padding: 18px 0 18px 20px; min-width: 0; border-left: 1px solid var(--line); }
.hot-editor { padding: 18px 20px; border-left: 1px solid var(--line); min-width: 0; }
.hot-heading, .hot-field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hot-heading h3, .hot-settings h3 { font-size: 14px; margin: 0; }
.hot-updated { font-size: 11px; color: var(--muted); margin: 8px 0; }
.hot-board-list { max-height: 520px; overflow-y: auto; margin-top: 12px; }
.hot-topic { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; width: 100%; padding: 11px 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: inherit; cursor: pointer; font-size: 13px; line-height: 1.5; }
.hot-topic:hover, .hot-topic.selected { background: rgba(16, 154, 135, .09); }
.hot-topic b { color: #d85652; }
.hot-topic small { grid-column: 2; color: var(--muted); font-size: 11px; }
.hot-field { display: grid; gap: 7px; margin-bottom: 16px; min-width: 0; }
.hot-field > span, .hot-field-head > span { font-size: 12px; color: var(--muted); }
#hotCreationPane input:not([type=checkbox]), #hotCreationPane textarea, #hotCreationPane select { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; background: var(--surface, white); color: inherit; }
#hotCreationPane textarea { resize: vertical; line-height: 1.65; min-height: 92px; font-size: 13px; }
#hotCreationPane textarea.hot-body { min-height: 160px; }
#hotCreationPane select { font-size: 12px; text-overflow: ellipsis; }
.hot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hot-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 12px 0; line-height: 1.5; }
.hot-check input { margin-top: 3px; }
.hot-warning { color: #ad6032; font-size: 12px; line-height: 1.6; margin: 8px 0 14px; }
.hot-cost { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.8; margin: 16px 0; }
.hot-cost strong { font-size: 16px; color: var(--green, #149681); }
.hot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hot-actions button { font-size: 12px; }
.hot-start { width: 100%; justify-content: center; }
.hot-message { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; padding: 10px 0; color: #b64b43; }
.hot-stage { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; font-size: 12px; color: var(--muted); }
.hot-stage strong { color: var(--green, #149681); }
.hot-segments { border-top: 1px solid var(--line); padding: 18px 0; }
.hot-segment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.hot-segment { border: 1px solid var(--line); border-radius: 6px; padding: 14px; min-width: 0; }
.hot-segment p { font-size: 12px; color: var(--muted); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.hot-segment textarea { min-height: 105px !important; }
.hot-segment img { width: 100%; height: 150px; object-fit: contain; background: #151c20; }
.hot-result-band { border-top: 1px solid var(--line); padding: 18px 0; }
.hot-result-band h3 { font-size: 15px; margin: 0; }
.hot-result-band audio { width: min(100%, 480px); margin-top: 12px; }
.hot-result-band video { display: block; max-width: 100%; width: 480px; max-height: 360px; margin-top: 12px; }
.hot-media-thumb, .hot-media-placeholder { position: relative; display: block; width: min(100%, 480px); min-height: 96px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #142126; color: #fff; cursor: pointer; margin-top: 12px; }
.hot-media-thumb img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.hot-media-thumb span { position: absolute; inset: auto 10px 10px auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: rgba(0,0,0,.65); font-size: 12px; }
.hot-media-placeholder { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 18px; font-size: 12px; }
.hot-history-dialog { width: min(600px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: var(--surface, white); color: var(--text); }
.hot-history-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 0; color: inherit; cursor: pointer; }
.hot-history-item:hover { background: color-mix(in srgb, var(--hot-active) 60%, transparent); }
.hot-history-item strong { font-size: 13px; overflow-wrap: anywhere; }
.hot-history-item small { color: var(--muted); font-size: 11px; flex-shrink: 0; }
.hot-history-item img, .hot-history-thumb { width: 88px; height: 52px; flex: 0 0 88px; object-fit: cover; border-radius: 5px; background: #142126; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.hot-history-thumb { border: 0; cursor: pointer; position: relative; overflow: hidden; }
.hot-history-thumb img { width: 100%; height: 100%; display: block; }
.hot-history-item > span { min-width: 0; display: grid; gap: 4px; }
.hot-history-list { max-height: 60vh; overflow-y: auto; }
.hot-model-choice { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 12px; color: inherit; margin: 8px 0; cursor: pointer; }
.hot-model-choice strong { overflow-wrap: anywhere; font-size: 13px; }
.hot-model-choice small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.hot-model-choice.active { border-color: var(--green, #149681); }
html.theme-dark #hotCreationPane input:not([type=checkbox]), html.theme-dark #hotCreationPane textarea, html.theme-dark #hotCreationPane select, html.theme-dark .hot-history-dialog { background: #173039; }
@media (max-width: 1200px) {
 .hot-layout { grid-template-columns: 190px minmax(0, 1fr) 250px; }
 .hot-editor { padding-inline: 14px; }
 .hot-settings { padding-left: 14px; }
}
@media (max-width: 1000px) {
 .hot-layout { grid-template-columns: minmax(0, 1fr) 280px; }
 .hot-board { grid-column: 1 / -1; padding: 14px 0; border-bottom: 1px solid var(--line); }
 .hot-board-list { max-height: 180px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
 .hot-editor { border-left: 0; padding-left: 0; }
}
@media (max-width: 650px) {
 .hot-layout { grid-template-columns: minmax(0, 1fr); }
 .hot-settings { grid-row: 2; border-left: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
 .hot-editor { padding: 18px 0; }
 .hot-board-list { grid-template-columns: minmax(0, 1fr); }
 .hot-toolbar { flex-wrap: wrap; }
 .hot-segment-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Approved A workspace: dense three-column layout with a focused editor. */
#hotCreationPane { --hot-surface:var(--v2-surface, #fff); --hot-primary:var(--v2-primary, #008c76); }
#hotCreationPane .hot-toolbar { padding:4px 0 16px; }
.hot-overview { font-size:12px; color:var(--muted); }
#hotCreationPane .hot-layout { background:var(--hot-surface); grid-template-columns:240px minmax(0,1fr) 290px; border-bottom:1px solid var(--line); }
#hotCreationPane .hot-board { padding:20px 16px; border-right:1px solid var(--line); }
#hotCreationPane .hot-editor { padding:22px 24px; border-left:0; }
#hotCreationPane .hot-settings { padding:20px; background:color-mix(in srgb,var(--hot-surface) 96%,var(--hot-primary)); }
#hotCreationPane .hot-settings h3 { margin-bottom:18px; }
#hotCreationPane #hotTitle { font-size:16px; font-weight:700; border-width:0 0 1px; border-radius:0; padding:8px 0 12px; background:transparent; }
#hotSavedState { font-size:10px; color:var(--hot-primary); }
.hot-context-details { margin:10px 0; }
.hot-context-details summary, #hotVoiceDetails summary { font-size:11px; color:var(--muted); cursor:pointer; padding:6px 0; }
.hot-context-details label { padding-top:8px; }
.hot-content-tabs { display:flex; gap:20px; border-bottom:1px solid var(--line); margin:8px 0 18px; }
.hot-content-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; font-size:12px; color:var(--muted); padding:10px 0; }
.hot-content-tabs button.active { color:var(--hot-primary); border-bottom-color:var(--hot-primary); font-weight:700; }
#hotCreationPane .hot-body { min-height:270px; }
.hot-scene-row { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.hot-scene-row>b { font-size:11px; color:var(--hot-primary); padding-top:5px; }
.hot-scene-row>div { flex:1; min-width:0; }
.hot-scene-row strong,.hot-scene-row .hot-heading span { font-size:11px; }
#hotCreationPane .hot-scene-row textarea { min-height:70px; }
#hotCreationPane .hot-field { margin-bottom:12px; }
#hotCreationPane .hot-field>span { font-size:11px; }
#hotCreationPane [data-hot-model] { width:100%; text-align:left; justify-content:flex-start; font-size:12px; white-space:normal; overflow-wrap:anywhere; padding:10px; min-height:44px; }
#hotVoiceDetails { margin:12px 0; }
#hotVoiceSettings { padding-top:10px; }
#hotCreationPane .hot-check { justify-content:space-between; flex-direction:row-reverse; align-items:center; font-size:12px; margin:14px 0; }
#hotCreationPane .hot-check input { appearance:none; width:30px; height:17px; background:#bbc8c3; border:0; border-radius:12px; position:relative; margin:0; cursor:pointer; flex-shrink:0; }
#hotCreationPane .hot-check input:before { content:''; position:absolute; width:13px; height:13px; border-radius:50%; background:white; top:2px; left:2px; }
#hotCreationPane .hot-check input:checked { background:var(--hot-primary); }
#hotCreationPane .hot-check input:checked:before { left:15px; }
#hotCreationPane .hot-warning { font-size:11px; }
#hotCreationPane .hot-segments { margin-top:20px; background:var(--hot-surface); padding:20px 24px; border-bottom:1px solid var(--line); }
#hotCreationPane .hot-segment-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
#hotCreationPane .hot-segment { padding:14px; }
.hot-clip-prompt { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:56px; }
#hotCreationPane .hot-segment .hot-actions { justify-content:flex-end; border-top:1px solid var(--line); padding-top:10px; }
#hotCreationPane .hot-result-band { background:var(--hot-surface); padding:20px 24px; margin-top:20px; }
#hotCreationPane .hot-editor-panel .hot-result-band { padding:15px 0; background:transparent; }
#hotCreationPane .hot-segment img { height:auto; aspect-ratio:16/9; }
@media(max-width:1200px) { #hotCreationPane .hot-layout { grid-template-columns:200px minmax(0,1fr) 260px; } #hotCreationPane .hot-editor { padding:20px 16px; } #hotCreationPane .hot-settings { padding:18px 14px; } }
@media(max-width:1000px) { #hotCreationPane .hot-layout { grid-template-columns:minmax(0,1fr) 280px; } #hotCreationPane .hot-board { border-right:0; padding:16px; } #hotCreationPane .hot-segment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { #hotCreationPane .hot-layout { grid-template-columns:minmax(0,1fr); } #hotCreationPane .hot-settings { grid-row:auto; border-top:1px solid var(--line); padding:20px 16px; } #hotCreationPane .hot-editor { padding:20px 16px; } #hotCreationPane .hot-segment-grid { grid-template-columns:minmax(0,1fr); } #hotCreationPane .hot-segments,#hotCreationPane .hot-result-band { padding:18px 16px; } .hot-content-tabs { gap:18px; } }
