:root {
  --deep: #020b1d;
  --deep-2: #061630;
  --panel: #091d40;
  --panel-2: #0c2854;
  --blue: #3566ff;
  --blue-2: #1c8cff;
  --cyan: #31ddff;
  --green: #34e4ad;
  --purple: #8e67ff;
  --amber: #ffc15a;
  --danger: #ff7185;
  --text: #edf5ff;
  --muted: #8aa1c2;
  --muted-2: #5f7da7;
  --line: rgba(101, 156, 226, 0.24);
  --line-bright: rgba(49, 221, 255, 0.42);
}

* { box-sizing: border-box; }
html { min-width: 1280px; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; background: radial-gradient(circle at 48% -10%, #1c4386 0, #081d42 31%, #020b1d 74%); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.app-shell { min-height: 100vh; }
.app-shell::before { position: fixed; inset: 0; z-index: 0; content: ""; pointer-events: none; opacity: 0.22; background-image: linear-gradient(rgba(80, 139, 216, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 139, 216, 0.12) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(#000, transparent 95%); }
.app-shell::after { position: fixed; top: 76px; right: 0; bottom: 0; left: 238px; z-index: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 72% 14%, rgba(49, 221, 255, 0.07), transparent 29%), radial-gradient(circle at 22% 62%, rgba(75, 82, 255, 0.08), transparent 34%); }

.app-header { position: fixed; z-index: 30; top: 0; right: 0; left: 0; height: 76px; padding: 0 28px; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); background: rgba(2, 11, 29, 0.91); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; width: 38px; height: 38px; display: inline-block; transform: rotate(45deg); border-radius: 10px; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 0 24px rgba(49, 221, 255, 0.26); }
.brand-mark i { position: absolute; border-radius: 3px; background: #071a3c; }
.brand-mark i:first-child { top: 7px; left: 11px; width: 7px; height: 24px; }
.brand-mark i:last-child { top: 11px; left: 7px; width: 24px; height: 7px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 20px; letter-spacing: 3px; }
.brand-copy small { margin-top: 3px; color: #7189ad; font-size: 12px; letter-spacing: 3px; }
.product-title { justify-self: center; display: flex; align-items: center; gap: 12px; }
.product-title img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 22px rgba(49, 221, 255, 0.12); }
.product-title div { display: flex; flex-direction: column; }
.product-title strong { font-size: 20px; letter-spacing: 2px; }
.product-title span { margin-top: 4px; color: #7890b4; font-size: 12px; letter-spacing: 1px; }
.header-actions { display: flex; align-items: center; gap: 12px; color: #95acca; font-size: 12px; }
.system-status i { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.system-status.is-online i { background: var(--green); box-shadow: 0 0 10px var(--green); }
.system-status.is-offline i { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.header-actions > a { padding: 10px 13px; border: 1px solid var(--line); }
.header-actions .back-button { color: #fff; border-color: rgba(49, 221, 255, 0.42); background: rgba(49, 221, 255, 0.06); }
.header-actions > a:hover { color: #fff; border-color: var(--line-bright); }

.side-nav { position: fixed; z-index: 20; top: 76px; bottom: 0; left: 0; width: 238px; padding: 20px 14px; overflow-y: auto; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 27, 60, 0.97), rgba(2, 12, 31, 0.99)); }
.tenant-card { padding: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(27, 75, 150, 0.52), rgba(8, 34, 76, 0.42)); }
.tenant-card > span { display: block; color: #718bb0; font-size: 12px; }
.tenant-card strong { display: block; margin: 9px 0 11px; font-size: 13px; }
.tenant-card small { color: #7890b2; font-size: 12px; }
.tenant-card small i { width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.side-nav nav { margin-top: 20px; }
.side-nav nav a { position: relative; padding: 14px 12px; display: grid; grid-template-columns: 30px 1fr; color: #738cae; border-left: 2px solid transparent; }
.side-nav nav a:hover, .side-nav nav a.is-active { color: #fff; border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(53, 102, 255, 0.22), transparent); }
.side-nav nav a > span { grid-row: 1 / 3; color: #52729d; font: 700 12px Arial; }
.side-nav nav strong { font-size: 13px; }
.side-nav nav small { margin-top: 4px; color: #58749b; font-size: 12px; }
.side-usage, .side-notice { margin-top: 18px; padding: 14px; border: 1px solid var(--line); background: rgba(11, 39, 81, 0.43); }
.side-usage div { display: flex; justify-content: space-between; color: #7a93b5; font-size: 12px; }
.side-usage b { color: #b8cae0; font: 400 12px Arial; }
.side-usage > i { height: 4px; margin-top: 10px; display: block; background: #102d5a; }
.side-usage em { height: 100%; display: block; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.side-usage p, .side-notice p { margin: 9px 0 0; color: #607ca3; font-size: 12px; line-height: 1.65; }
.side-notice { border-color: rgba(255, 193, 90, 0.22); background: rgba(91, 61, 25, 0.14); }
.side-notice > span { color: var(--amber); font-size: 12px; font-weight: 700; }

main { position: relative; z-index: 2; margin-left: 238px; padding: 96px 22px 28px; }
.workspace-hero { position: relative; min-height: 226px; padding: 25px 26px; display: grid; grid-template-columns: minmax(480px, 1fr) 290px 390px; align-items: stretch; gap: 18px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(10, 39, 84, 0.98), rgba(5, 25, 60, 0.86)), url("../assets/chengshi-space/chengshi-space-hero-v1.png") right center / 62% auto no-repeat; }
.workspace-hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(7, 29, 65, 0.98), rgba(7, 29, 65, 0.72) 57%, rgba(7, 29, 65, 0.22)); }
.workspace-hero::after { position: absolute; top: 0; right: 34%; width: 1px; height: 100%; content: ""; opacity: 0.4; background: linear-gradient(transparent, var(--cyan), transparent); }
.workspace-hero > * { position: relative; z-index: 1; }
.hero-copy { align-self: center; }
.hero-copy > p { margin: 0 0 13px; display: flex; align-items: center; gap: 9px; color: #7ce7fa; font-size: 12px; letter-spacing: 2px; }
.hero-copy > p span { width: 27px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero-copy h1 { max-width: 740px; margin: 0 0 13px; font-size: clamp(28px, 2.1vw, 38px); line-height: 1.25; letter-spacing: 0.5px; }
.hero-copy > small { max-width: 760px; display: block; color: #a4b8d2; font-size: 13px; line-height: 1.75; }
.hero-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-tags span { padding: 7px 10px; color: #93b2d3; border: 1px solid rgba(101, 156, 226, 0.26); background: rgba(10, 37, 78, 0.52); font-size: 12px; }
.hero-stage { position: relative; min-height: 172px; overflow: hidden; border: 1px solid rgba(49, 221, 255, 0.27); background: radial-gradient(circle at 50% 33%, rgba(50, 173, 255, 0.28), transparent 44%), linear-gradient(155deg, rgba(24, 71, 139, 0.45), rgba(5, 24, 56, 0.84)); }
.hero-stage::after { position: absolute; right: 0; bottom: 0; left: 0; height: 42%; content: ""; background: linear-gradient(transparent, rgba(3, 17, 43, 0.92)); }
.hero-stage > img { position: absolute; left: 50%; bottom: 0; width: 74%; height: 100%; transform: translateX(-50%); object-fit: cover; object-position: top center; filter: saturate(0.92) contrast(1.06); }
.stage-radar { position: absolute; top: 20px; left: 50%; width: 150px; height: 150px; transform: translateX(-50%); border: 1px solid rgba(49, 221, 255, 0.16); border-radius: 50%; }
.stage-radar i { position: absolute; inset: 24px; border: 1px solid rgba(49, 221, 255, 0.14); border-radius: inherit; }
.stage-radar i:nth-child(2) { inset: 50px; }
.stage-radar i:nth-child(3) { top: 50%; right: -20px; left: -20px; height: 1px; border: 0; border-top: 1px dashed rgba(49, 221, 255, 0.24); border-radius: 0; }
.stage-caption { position: absolute; right: 13px; bottom: 12px; left: 13px; z-index: 2; }
.stage-caption span { color: #72e9fa; font-size: 12px; }
.stage-caption span i { width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.stage-caption strong { margin-top: 4px; display: block; font-size: 13px; }
.stage-caption small { margin-top: 3px; display: block; color: #7390b4; font-size: 12px; }
.hero-metrics { align-self: center; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(3, 17, 43, 0.72); backdrop-filter: blur(8px); }
.hero-metrics article { min-height: 116px; padding: 16px 13px; border-right: 1px solid var(--line); }
.hero-metrics article:last-child { border: 0; }
.hero-metrics span { display: block; color: #7590b3; font-size: 12px; }
.hero-metrics strong { display: block; margin: 10px 0; color: #fff; font: 700 30px Arial; }
.hero-metrics strong em { margin-left: 3px; color: #8da5c3; font-size: 12px; font-style: normal; }
.hero-metrics small { color: #617ea5; font-size: 12px; line-height: 1.5; }

.avatar-flow { min-height: 84px; margin-top: 12px; padding: 13px 22px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(8, 29, 63, 0.82); }
.avatar-flow > div { min-width: 168px; display: flex; align-items: center; gap: 11px; color: #6681a6; }
.avatar-flow > div > span { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #345580; border-radius: 50%; font: 700 12px Arial; }
.avatar-flow p { margin: 0; }
.avatar-flow strong { display: block; font-size: 13px; }
.avatar-flow small { display: block; margin-top: 4px; color: #526e94; font-size: 12px; }
.avatar-flow > i { width: 36px; height: 1px; margin: 0 8px; background: linear-gradient(90deg, #1d3e6d, var(--blue), #1d3e6d); }
.avatar-flow > div.is-active { color: #e2efff; }
.avatar-flow > div.is-active > span { color: #06152e; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 16px rgba(49, 221, 255, 0.42); }

.panel { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(9, 30, 64, 0.97), rgba(4, 19, 46, 0.96)); box-shadow: 0 15px 42px rgba(0, 0, 0, 0.13); }
.panel::before, .panel::after { position: absolute; width: 13px; height: 13px; content: ""; pointer-events: none; }
.panel::before { top: -1px; left: -1px; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.panel::after { right: -1px; bottom: -1px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.avatar-studio { margin-top: 12px; }
.studio-head { min-height: 98px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.studio-head > div:first-child > span { color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.studio-head h2 { margin: 8px 0 6px; font-size: 20px; }
.studio-head small { color: #6e89ad; font-size: 12px; }
.studio-actions { display: flex; gap: 9px; }
.button { min-height: 48px; padding: 0 18px; color: #fff; border: 1px solid var(--line); background: transparent; font-size: 13px; }
.button b { margin-left: 9px; color: #b0f5ff; }
.button .action-arrow { position: relative; width: 15px; height: 10px; display: inline-block; vertical-align: middle; }
.button .action-arrow::before { position: absolute; top: 4px; left: 0; width: 13px; height: 2px; content: ""; border-radius: 2px; background: #b0f5ff; }
.button .action-arrow::after { position: absolute; top: 1px; right: 0; width: 6px; height: 6px; content: ""; transform: rotate(45deg); border-top: 2px solid #b0f5ff; border-right: 2px solid #b0f5ff; }
.button.primary { border: 0; background: linear-gradient(110deg, #2b59ef, #258cf5); box-shadow: 0 10px 24px rgba(40, 92, 240, 0.24); }
.button.ghost { color: #96adca; background: rgba(14, 43, 84, 0.42); }
.button:hover { filter: brightness(1.12); }
.button:disabled { cursor: wait; opacity: 0.62; }

.studio-grid { display: grid; grid-template-columns: 350px minmax(530px, 1fr) 310px; min-height: 1120px; }
.configuration-column, .deliverables-column, .status-column { min-width: 0; padding: 19px; }
.configuration-column { border-right: 1px solid var(--line); }
.status-column { border-left: 1px solid var(--line); }
.deliverables-column { background: radial-gradient(circle at 50% 26%, rgba(35, 93, 187, 0.16), transparent 47%); }
.column-heading { min-height: 45px; display: flex; align-items: center; gap: 11px; }
.column-heading > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cyan); border: 1px solid rgba(49, 221, 255, 0.34); font: 700 12px Arial; }
.column-heading > div { display: flex; flex-direction: column; }
.column-heading strong { font-size: 16px; }
.column-heading small { margin-top: 4px; color: #6682a8; font-size: 12px; }
.output-heading { padding-bottom: 13px; border-bottom: 1px solid rgba(101, 156, 226, 0.13); }
.run-state { margin-left: auto; color: #7793b4; font-size: 12px; }
.run-state i { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.run-state.is-running i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: status-pulse 1s infinite; }
.run-state.is-success { color: var(--green); }
.run-state.is-success i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.run-state.is-error { color: #ff91a0; }
.run-state.is-error i { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
@keyframes status-pulse { 50% { opacity: 0.3; } }

.field-group { margin-top: 19px; }
.field-group > p, .model-control > span { margin: 0 0 10px; color: #88a2c2; font-size: 12px; font-weight: 700; }
.scene-selector > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scene-selector button { min-height: 77px; padding: 12px; display: grid; grid-template-columns: 9px 1fr; text-align: left; color: #7590b4; border: 1px solid var(--line); background: rgba(11, 38, 80, 0.36); }
.scene-selector button i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #49698f; }
.scene-selector button strong, .scene-selector button small { grid-column: 2; }
.scene-selector button strong { font-size: 12px; }
.scene-selector button small { margin-top: 4px; color: #536f96; font-size: 12px; }
.scene-selector button:hover, .scene-selector button.is-active { color: #fff; border-color: #3c82f5; background: linear-gradient(145deg, rgba(53, 102, 255, 0.27), rgba(27, 82, 157, 0.18)); box-shadow: inset 0 -2px 0 var(--blue); }
.scene-selector button.is-active i { background: var(--green); box-shadow: 0 0 7px var(--green); }
.script-source { margin-top: 18px; display: grid; gap: 8px; }
.script-source > span { display: flex; justify-content: space-between; color: #88a2c2; font-size: 12px; font-weight: 700; }
.script-source > span b { color: #5f7da4; font-size: 12px; font-weight: 400; }
.script-source textarea { width: 100%; min-height: 198px; padding: 13px; resize: vertical; color: #dceafa; border: 1px solid rgba(101, 156, 226, 0.28); outline: none; background: rgba(4, 20, 48, 0.76); font-size: 12px; line-height: 1.8; }
.script-source textarea:focus { border-color: #3a8df6; box-shadow: 0 0 0 2px rgba(53, 102, 255, 0.1); }
.script-source > small { color: #5e7aa1; font-size: 12px; line-height: 1.65; }
.language-selector > div, .tone-selector > div { display: flex; flex-wrap: wrap; gap: 7px; }
.language-selector button, .tone-selector button { min-height: 38px; padding: 0 12px; color: #7590b3; border: 1px solid var(--line); background: rgba(11, 38, 80, 0.34); font-size: 12px; }
.language-selector button:hover, .language-selector button.is-active, .tone-selector button:hover, .tone-selector button.is-active { color: #fff; border-color: #397af1; background: rgba(53, 102, 255, 0.2); box-shadow: inset 0 -2px 0 var(--blue); }
.duration-control { margin-top: 19px; display: grid; gap: 10px; }
.duration-control > span { display: flex; justify-content: space-between; color: #88a2c2; font-size: 12px; font-weight: 700; }
.duration-control > span b { color: #76e7f8; }
.duration-control input { width: 100%; accent-color: var(--blue); }
.duration-control > .duration-scale { display: flex; justify-content: space-between; color: #506d94; }
.duration-control small { font-size: 12px; }
.model-control { margin-top: 20px; display: grid; }
.model-control select, .voice-options select { width: 100%; min-height: 42px; padding: 0 10px; color: #cfe0f4; border: 1px solid var(--line); outline: none; background: #0b2854; font-size: 12px; }

.sample-preview { margin-top: 15px; padding: 14px; border: 1px solid rgba(101, 156, 226, 0.2); background: rgba(4, 20, 48, 0.7); }
.preview-heading { min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
.preview-heading > div:first-child { display: flex; flex-direction: column; }
.preview-heading span { color: var(--cyan); font-size: 12px; letter-spacing: 1px; }
.preview-heading strong { margin-top: 5px; font-size: 16px; }
.sample-language-switch { display: flex; gap: 5px; }
.sample-language-switch button { width: 34px; height: 34px; color: #718db1; border: 1px solid var(--line); background: rgba(12, 42, 86, 0.44); font-size: 12px; }
.sample-language-switch button:hover, .sample-language-switch button.is-active { color: #06152e; border-color: var(--cyan); background: var(--cyan); }
.video-stage { position: relative; aspect-ratio: 16 / 8.9; margin-top: 8px; overflow: hidden; border: 1px solid rgba(49, 221, 255, 0.26); background: #020b1d; }
.video-stage::after { position: absolute; right: 0; bottom: 0; left: 0; height: 34%; content: ""; pointer-events: none; background: linear-gradient(transparent, rgba(1, 8, 22, 0.88)); }
.video-stage video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-live-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 7px 9px; color: #e5f8ff; border: 1px solid rgba(49, 221, 255, 0.36); background: rgba(2, 12, 31, 0.76); font-size: 12px; }
.video-live-tag i { width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--danger); box-shadow: 0 0 7px var(--danger); }
.video-caption { position: absolute; right: 28px; bottom: 18px; left: 28px; z-index: 2; padding: 8px 12px; text-align: center; color: #fff; background: rgba(1, 8, 22, 0.74); font-size: 12px; line-height: 1.55; }
.sample-disclaimer { margin-top: 10px; padding: 10px; display: flex; gap: 9px; border: 1px solid rgba(255, 193, 90, 0.24); background: rgba(92, 63, 27, 0.14); }
.sample-disclaimer > i { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; color: #291c05; border-radius: 50%; background: var(--amber); font: 700 12px Arial; }
.sample-disclaimer .info-icon { position: relative; }
.sample-disclaimer .info-icon::before { position: absolute; top: 4px; left: 9px; width: 2px; height: 8px; content: ""; border-radius: 2px; background: #291c05; }
.sample-disclaimer .info-icon::after { position: absolute; bottom: 4px; left: 9px; width: 2px; height: 2px; content: ""; border-radius: 50%; background: #291c05; }
.sample-disclaimer p { margin: 0; }
.sample-disclaimer strong { display: block; color: #f4ca7c; font-size: 12px; }
.sample-disclaimer span { margin-top: 3px; display: block; color: #907c61; font-size: 12px; line-height: 1.55; }
.deliverable-tabs { min-height: 49px; margin-top: 13px; display: flex; border-bottom: 1px solid var(--line); }
.deliverable-tabs button { padding: 0 16px; color: #6f8aaf; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 12px; }
.deliverable-tabs button b { min-width: 20px; margin-left: 5px; padding: 2px 5px; display: inline-block; color: #6683aa; border-radius: 10px; background: rgba(101, 156, 226, 0.12); font-size: 12px; }
.deliverable-tabs button:hover, .deliverable-tabs button.is-active { color: #fff; border-bottom-color: var(--cyan); }
.deliverable-content { min-height: 348px; padding: 14px; border: 1px solid rgba(101, 156, 226, 0.17); border-top: 0; background: rgba(4, 20, 48, 0.55); }
.result-toolbar { min-height: 38px; display: flex; align-items: center; justify-content: space-between; color: #6985aa; font-size: 12px; }
.result-toolbar b { color: #75e5f8; }
.result-toolbar button { padding: 7px 10px; color: #80def1; border: 1px solid rgba(49, 221, 255, 0.23); background: rgba(49, 221, 255, 0.04); font-size: 12px; }
.script-result { padding: 15px; border-left: 2px solid var(--blue); background: linear-gradient(90deg, rgba(53, 102, 255, 0.09), transparent); }
.script-result p { margin: 0 0 12px; color: #bed0e5; font-size: 13px; line-height: 1.95; }
.script-result p:last-child { margin: 0; }
.caption-list { margin: 0; padding: 0; list-style: none; counter-reset: caption; }
.caption-list li { min-height: 46px; padding: 10px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid rgba(101, 156, 226, 0.12); }
.caption-list time { color: #56dff4; font: 700 12px Arial; }
.caption-list span { color: #afc3da; font-size: 12px; line-height: 1.6; }
.shot-plan { display: grid; gap: 8px; }
.shot-plan article { min-height: 65px; padding: 10px; display: grid; grid-template-columns: 88px 30px 1fr; align-items: center; gap: 10px; border: 1px solid rgba(101, 156, 226, 0.14); background: rgba(11, 39, 80, 0.3); }
.shot-plan time { color: #6784a9; font: 700 12px Arial; }
.shot-plan article > span { width: 27px; height: 27px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(49, 221, 255, 0.27); font: 700 12px Arial; }
.shot-plan strong { font-size: 12px; }
.shot-plan p { margin: 4px 0 0; color: #607da3; font-size: 12px; line-height: 1.5; }

.service-mode { margin-top: 15px; padding: 13px; display: flex; justify-content: space-between; border: 1px solid rgba(49, 221, 255, 0.2); background: rgba(49, 221, 255, 0.05); font-size: 12px; }
.service-mode span { color: #7290b4; }
.service-mode i, .service-nodes i { width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.service-mode strong { color: #7ae4f7; font-size: 12px; }
.service-mode.is-offline strong { color: var(--danger); }
.service-mode.is-offline i { background: var(--danger); box-shadow: 0 0 7px var(--danger); }
.voice-card { margin-top: 13px; padding: 14px; border: 1px solid rgba(142, 103, 255, 0.25); background: linear-gradient(145deg, rgba(69, 45, 134, 0.18), rgba(10, 35, 75, 0.38)); }
.voice-card-head { display: flex; align-items: center; gap: 9px; }
.voice-card-head span { padding-right: 9px; color: #b6a0ff; border-right: 1px solid rgba(142, 103, 255, 0.3); font: 700 12px Arial; letter-spacing: 1px; }
.voice-card-head strong { font-size: 13px; }
.voice-card > p { margin: 10px 0; color: #708caf; font-size: 12px; line-height: 1.65; }
.voice-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.voice-options label { display: grid; gap: 5px; }
.voice-options label span { color: #6d88ad; font-size: 12px; }
.voice-options select { min-height: 37px; padding: 0 7px; font-size: 12px; }
.voice-button { width: 100%; min-height: 54px; margin-top: 10px; padding: 8px 10px; display: grid; grid-template-columns: 32px 1fr; text-align: left; color: #fff; border: 1px solid rgba(142, 103, 255, 0.45); background: linear-gradient(105deg, rgba(88, 57, 176, 0.76), rgba(47, 94, 218, 0.72)); }
.voice-button > span { grid-row: 1 / 3; width: 27px; height: 27px; align-self: center; border: 2px solid #b8d7ff; border-radius: 50%; }
.voice-button > span::after { margin: 7px 0 0 10px; display: block; content: ""; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #fff; }
.voice-button strong { font-size: 12px; }
.voice-button small { color: #a9bce2; font-size: 12px; }
.voice-button:disabled { cursor: wait; opacity: 0.62; }
.voice-card audio { width: 100%; height: 34px; margin-top: 9px; }
.voice-card .voice-status { margin-bottom: 0; color: #798fb0; font-size: 12px; }
.api-log { margin-top: 13px; padding: 13px; border: 1px solid rgba(101, 156, 226, 0.17); background: rgba(11, 38, 78, 0.36); }
.api-log p { margin: 0; padding: 8px 0; display: flex; justify-content: space-between; gap: 10px; color: #6985aa; border-bottom: 1px solid rgba(101, 156, 226, 0.1); font-size: 12px; line-height: 1.5; }
.api-log p:last-child { border: 0; }
.api-log strong { color: #91a9c6; font-weight: 400; }
.api-log span { max-width: 150px; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.service-nodes, .task-progress { margin-top: 13px; padding: 14px; border: 1px solid rgba(101, 156, 226, 0.15); background: rgba(11, 37, 75, 0.32); }
.service-nodes h3, .task-progress h3 { margin: 0 0 10px; font-size: 13px; }
.service-nodes p { margin: 0; padding: 9px 0; display: flex; justify-content: space-between; color: #6d88ad; border-bottom: 1px solid rgba(101, 156, 226, 0.1); font-size: 12px; }
.service-nodes p:last-child { border: 0; }
.service-nodes b { color: var(--green); font-weight: 400; }
.service-nodes .node-muted i { background: #587193; box-shadow: none; }
.service-nodes .node-muted b { color: #6a82a3; }
.task-progress > div { display: flex; justify-content: space-between; color: #6e89ad; font-size: 12px; }
.task-progress > div b { color: #9fb6d0; font-weight: 400; }
.task-progress > i { height: 5px; margin: 9px 0; display: block; background: #102d59; }
.task-progress em { height: 100%; display: block; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.35s ease; }
.task-progress small { color: #557298; font-size: 12px; line-height: 1.55; }

.asset-status-layout { margin-top: 12px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 12px; }
.panel-head { min-height: 64px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-head > div { display: flex; align-items: center; gap: 11px; }
.panel-head > div > span { color: var(--cyan); font: 700 12px Arial; }
.panel-head h2 { margin: 0; padding-left: 11px; border-left: 1px solid var(--line); font-size: 20px; }
.panel-head > b { color: #6683a8; font-size: 12px; font-weight: 400; }
.asset-grid { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.asset-grid > button { min-width: 0; padding: 0; overflow: hidden; text-align: left; color: inherit; border: 1px solid rgba(101, 156, 226, 0.17); background: rgba(9, 32, 68, 0.58); }
.asset-grid > button:hover { border-color: rgba(49, 221, 255, 0.45); transform: translateY(-2px); }
.asset-thumb { position: relative; height: 128px; display: block; overflow: hidden; }
.asset-thumb::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent 38%, rgba(2, 11, 29, 0.84)); }
.asset-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.asset-thumb i { position: absolute; top: 50%; left: 50%; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; transform: translate(-50%, -50%); color: #07162f; border-radius: 50%; background: rgba(49, 221, 255, 0.92); font-style: normal; font-size: 12px; box-shadow: 0 0 22px rgba(49, 221, 255, 0.35); }
.asset-thumb .play-icon::after { width: 0; height: 0; margin-left: 3px; content: ""; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid #07162f; }
.asset-copy { padding: 12px; display: flex; flex-direction: column; }
.asset-copy small { color: #62dcee; font-size: 12px; }
.asset-copy strong { margin-top: 7px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.asset-copy em { margin-top: 8px; color: #57749b; font-size: 12px; font-style: normal; }
.production-summary { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.production-summary > div { padding: 13px 8px; text-align: center; border: 1px solid rgba(101, 156, 226, 0.14); background: rgba(11, 38, 78, 0.36); }
.production-summary span { display: block; color: #6a86aa; font-size: 12px; }
.production-summary strong { margin: 7px 0; display: block; font: 700 20px Arial; }
.production-summary small { color: #4e6e96; font-size: 12px; }
.production-list { padding: 0 16px; }
.production-list article { min-height: 54px; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid rgba(101, 156, 226, 0.1); }
.status-dot { width: 6px; height: 28px; border-radius: 3px; background: var(--blue); }
.status-dot.green { background: var(--green); }
.status-dot.purple { background: var(--purple); }
.production-list p { margin: 0; min-width: 0; }
.production-list p strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.production-list p small { margin-top: 4px; display: block; color: #557298; font-size: 12px; }
.production-list article > b { color: #7290b3; font-size: 12px; font-weight: 400; }
.board-note { margin: 12px 16px 16px; padding: 10px; color: #8b785b; border: 1px solid rgba(255, 193, 90, 0.17); background: rgba(92, 63, 27, 0.11); font-size: 12px; line-height: 1.65; }
.service-value { min-height: 78px; margin-top: 12px; padding: 13px 18px; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(10, 37, 78, 0.9), rgba(7, 26, 59, 0.82)); }
.service-value > div { padding-left: 13px; border-left: 2px solid rgba(49, 221, 255, 0.5); }
.service-value span { display: block; color: #6783a8; font-size: 12px; }
.service-value strong { margin-top: 5px; display: block; font-size: 12px; }
.service-value > a { padding: 12px 14px; color: #80e4f4; border: 1px solid rgba(49, 221, 255, 0.25); font-size: 12px; }
.service-value > a:hover { color: #fff; border-color: var(--cyan); }
.service-value .external-arrow { position: relative; width: 12px; height: 12px; margin-left: 7px; display: inline-block; vertical-align: -1px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.service-value .external-arrow::before { position: absolute; top: 5px; right: -1px; width: 14px; height: 1px; content: ""; transform: rotate(-45deg); transform-origin: right center; background: currentColor; }

.toast { position: fixed; right: 28px; bottom: 28px; z-index: 50; min-width: 280px; max-width: 420px; padding: 14px 17px; color: #e8f7ff; border: 1px solid rgba(49, 221, 255, 0.4); background: rgba(5, 25, 58, 0.96); box-shadow: 0 15px 42px rgba(0, 0, 0, 0.3), 0 0 24px rgba(49, 221, 255, 0.12); font-size: 12px; line-height: 1.6; }

@media (max-width: 1500px) {
  .workspace-hero { grid-template-columns: minmax(410px, 1fr) 250px 330px; }
  .hero-copy h1 { font-size: 30px; }
  .studio-grid { grid-template-columns: 330px minmax(500px, 1fr) 290px; }
  .avatar-flow > div { min-width: 150px; }
  .avatar-flow small { font-size: 12px; }
}

@media (max-width: 1320px) {
  .app-header { grid-template-columns: 230px 1fr auto; padding: 0 20px; }
  .product-title span, .system-status { display: none; }
  .workspace-hero { grid-template-columns: minmax(390px, 1fr) 235px 300px; padding: 21px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy > small { font-size: 12px; }
  .studio-grid { grid-template-columns: 290px minmax(430px, 1fr) 260px; }
  .configuration-column, .deliverables-column, .status-column { padding: 15px; }
  .avatar-flow { padding-right: 12px; padding-left: 12px; }
  .avatar-flow > div { min-width: 140px; }
  .avatar-flow > i { width: 20px; margin: 0 4px; }
}
