Files
MBN_STOCK_WEBVIEW/Web/styles.css

720 lines
70 KiB
CSS

:root {
color-scheme: dark;
--bg: #07101d;
--surface: #0d1929;
--surface-2: #111f32;
--surface-3: #16263b;
--border: #1e314a;
--border-soft: #17283d;
--text: #e8eff8;
--muted: #8799af;
--muted-2: #5e728b;
--mint: #32d5a4;
--mint-soft: rgba(50, 213, 164, .13);
--blue: #56a8ff;
--amber: #ffba55;
--red: #ff6680;
--violet: #9b8cff;
--shadow: 0 18px 44px rgba(0, 0, 0, .24);
font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--bg); color: var(--text); font-size: 13px; }
button, input { font: inherit; }
button { color: inherit; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.app-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); width: 100%; height: 100%; }
.sidebar {
display: flex;
min-height: 0;
flex-direction: column;
background: #091421;
border-right: 1px solid var(--border);
}
.brand-block { display: flex; align-items: center; gap: 11px; height: 82px; padding: 0 20px; border-bottom: 1px solid var(--border-soft); }
.brand-mark {
display: grid;
width: 37px;
height: 37px;
place-items: center;
border-radius: 11px;
background: linear-gradient(145deg, #49edbb, #1db989);
box-shadow: 0 8px 24px rgba(50, 213, 164, .2);
color: #05120e;
font-size: 18px;
font-weight: 900;
}
.brand-block strong { display: block; font-size: 13px; letter-spacing: .07em; }
.brand-block span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.market-nav { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 3px; overflow-y: auto; padding: 14px 11px; }
.nav-item {
display: grid;
grid-template-columns: 29px 1fr;
align-items: center;
min-height: 40px;
padding: 0 11px;
border: 1px solid transparent;
border-radius: 9px;
background: transparent;
color: var(--muted);
text-align: left;
cursor: pointer;
transition: .16s ease;
}
.nav-item span { display: grid; width: 22px; height: 22px; place-items: center; color: #647991; font-size: 12px; font-weight: 700; }
.nav-item:hover { background: rgba(255,255,255,.035); color: var(--text); }
.nav-item.active { border-color: rgba(50,213,164,.18); background: var(--mint-soft); color: #dffdf4; font-weight: 650; }
.nav-item.active span { color: var(--mint); }
.nav-item[draggable="true"] { cursor: grab; }
.nav-item.dragging { opacity: .55; cursor: grabbing; }
.sidebar-status { padding: 14px 15px 17px; border-top: 1px solid var(--border-soft); background: rgba(0,0,0,.09); }
.status-row { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 7px; margin: 7px 0; color: var(--muted); font-size: 10px; }
.status-row strong { color: #b9c6d5; font-size: 10px; font-weight: 600; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.ok { background: var(--mint); box-shadow: 0 0 0 3px rgba(50,213,164,.1); }
.status-dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,186,85,.1); }
.status-dot.pending, .status-dot.unconfigured { background: var(--muted-2); box-shadow: 0 0 0 3px rgba(94,114,139,.1); }
.status-dot.healthy { background: var(--mint); box-shadow: 0 0 0 3px rgba(50,213,164,.1); }
.status-dot.partial { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,186,85,.1); }
.status-dot.error { background: var(--red); box-shadow: 0 0 0 3px rgba(255,102,128,.1); }
.runtime { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border-soft); color: var(--muted-2); font: 9px/1.4 Consolas, monospace; }
.workspace { min-width: 0; min-height: 0; overflow: auto; padding: 0 24px 22px; background: radial-gradient(circle at 76% -10%, rgba(44,104,132,.13), transparent 35%), var(--bg); }
.workspace-header { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.eyebrow, .panel-kicker { margin: 0 0 5px; color: var(--mint); font: 9px/1.2 Consolas, monospace; letter-spacing: .14em; }
h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.header-meta { display: flex; align-items: center; gap: 25px; }
.header-meta > div { display: flex; flex-direction: column; gap: 4px; }
.header-meta span { color: var(--muted-2); font-size: 9px; text-transform: uppercase; }
.header-meta strong { color: #cbd7e5; font: 12px Consolas, monospace; }
.ghost-button, .playlist-actions button, .event-log button {
min-height: 30px;
border: 1px solid var(--border);
border-radius: 7px;
background: var(--surface-2);
color: #aebed0;
cursor: pointer;
}
.ghost-button { padding: 0 12px; }
.ghost-button:hover, .playlist-actions button:hover, .event-log button:hover { border-color: #36506e; color: white; }
.summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.summary-strip article { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; min-width: 0; min-height: 62px; gap: 11px; padding: 10px 13px; border: 1px solid var(--border-soft); border-radius: 11px; background: rgba(13,25,41,.78); }
.summary-strip strong, .summary-strip small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-strip strong { margin-bottom: 3px; font-size: 11px; }
.summary-strip small { color: var(--muted); font-size: 9px; }
.summary-strip b { align-self: start; margin-top: 4px; color: var(--muted-2); font: 8px Consolas, monospace; }
.metric-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; font: 10px Consolas, monospace; }
.metric-icon.mint { background: var(--mint-soft); color: var(--mint); }
.metric-icon.blue { background: rgba(86,168,255,.12); color: var(--blue); }
.metric-icon.amber { background: rgba(255,186,85,.12); color: var(--amber); }
.metric-icon.violet { background: rgba(155,140,255,.12); color: var(--violet); }
.metric-icon.database-icon.pending, .metric-icon.database-icon.unconfigured { background: rgba(94,114,139,.12); color: var(--muted); }
.metric-icon.database-icon.healthy { background: var(--mint-soft); color: var(--mint); }
.metric-icon.database-icon.partial { background: rgba(255,186,85,.12); color: var(--amber); }
.metric-icon.database-icon.error { background: rgba(255,102,128,.1); color: var(--red); }
.database-summary.healthy { border-color: rgba(50,213,164,.22); }
.database-summary.partial { border-color: rgba(255,186,85,.2); }
.database-summary.error { border-color: rgba(255,102,128,.24); }
.database-summary.healthy > b { color: var(--mint); }
.database-summary.partial > b { color: var(--amber); }
.database-summary.error > b { color: var(--red); }
.playout-summary.ready { border-color: rgba(50,213,164,.22); }
.playout-summary.dry-run { border-color: rgba(255,186,85,.22); }
.playout-summary.error { border-color: rgba(255,102,128,.24); }
.playout-summary.ready > b { color: var(--mint); }
.playout-summary.dry-run > b { color: var(--amber); }
.playout-summary.error > b { color: var(--red); }
.console-grid { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(250px, .85fr) minmax(400px, 1.3fr) minmax(330px, 1.05fr); gap: 12px; min-height: 680px; height: calc(100vh - 188px); }
.panel { display: flex; min-width: 0; min-height: 0; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; background: rgba(13,25,41,.92); box-shadow: var(--shadow); overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; min-height: 67px; padding: 0 16px; border-bottom: 1px solid var(--border-soft); }
.panel-header h2 { margin: 0; font-size: 15px; font-weight: 650; }
.badge { padding: 4px 7px; border: 1px solid rgba(50,213,164,.22); border-radius: 10px; background: var(--mint-soft); color: var(--mint); font: 8px Consolas, monospace; letter-spacing: .05em; }
.badge.neutral { border-color: var(--border); background: var(--surface-2); color: var(--muted); }
.badge.live { border-color: rgba(50,213,164,.36); background: rgba(50,213,164,.16); box-shadow: 0 0 0 3px rgba(50,213,164,.04); }
.badge.test-on-air { border-color: rgba(86,168,255,.36); background: rgba(86,168,255,.14); color: #8ec4ff; box-shadow: 0 0 0 3px rgba(86,168,255,.04); }
.badge.dry-run { border-color: rgba(255,186,85,.32); background: rgba(255,186,85,.11); color: var(--amber); }
.search-box { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 6px; height: 40px; margin: 13px 13px 10px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: #091522; }
.search-box > span { color: var(--muted); font-size: 17px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-box input::placeholder { color: #52657d; }
kbd { padding: 3px 5px; border: 1px solid #283c55; border-bottom-width: 2px; border-radius: 4px; color: #60748c; font: 8px Consolas, monospace; }
.catalog-tabs { display: flex; gap: 5px; padding: 0 13px 11px; border-bottom: 1px solid var(--border-soft); }
.catalog-tabs button { padding: 5px 9px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.catalog-tabs button.active { border-color: var(--border); background: var(--surface-3); color: white; }
.stock-workflow { display: flex; min-height: 405px; max-height: 56%; flex: 0 0 430px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow: hidden; }
.stock-workflow[hidden] { display: none; }
.stock-workflow.collapsed { min-height: 49px; max-height: 49px; flex-basis: 49px; }
.stock-workflow.collapsed > :not(.stock-workflow-header) { display: none; }
.stock-panel .stock-workflow { min-height: 0; max-height: none; flex: 1 1 auto; border-bottom: 0; }
.stock-panel .stock-workflow.collapsed { min-height: 49px; max-height: 49px; flex: 0 0 49px; }
.stock-workflow-header { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 6px; border-bottom: 1px solid var(--border-soft); }
.stock-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.stock-workflow-header .panel-kicker { margin-bottom: 3px; }
.stock-workflow-tools { display: flex; align-items: center; gap: 5px; }
.stock-workflow-tools button { min-height: 23px; padding: 0 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 7px; cursor: pointer; }
.stock-search-form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 6px; padding: 8px 10px 6px; }
.stock-search-form input { min-width: 0; height: 31px; padding: 0 9px; border: 1px solid #29415b; border-radius: 6px; outline: 0; background: #07111d; color: #d4e0ec; font-size: 10px; }
.stock-search-form input:focus { border-color: rgba(86,168,255,.68); box-shadow: 0 0 0 2px rgba(86,168,255,.08); }
.stock-search-form button { height: 31px; min-height: 31px; border-color: rgba(86,168,255,.35); background: rgba(86,168,255,.1); color: #91c8ff; font-size: 9px; cursor: pointer; }
.stock-search-form button:disabled { cursor: wait; opacity: .55; }
.stock-search-state { min-height: 27px; margin: 0 10px 6px; padding: 5px 7px; border: 1px solid var(--border-soft); border-radius: 5px; color: #70849c; font-size: 8px; line-height: 1.45; }
.stock-search-state.loading { border-color: rgba(86,168,255,.22); color: #8ec4ff; }
.stock-search-state.error { border-color: rgba(255,102,128,.22); color: #ff9bad; }
.stock-search-state.ready { border-color: rgba(50,213,164,.18); color: #8bdcc4; }
.stock-search-results { min-height: 55px; max-height: 112px; margin: 0 10px 7px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.stock-result { display: grid; width: 100%; min-height: 37px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 5px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.32); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.stock-result:last-child { border-bottom: 0; }
.stock-result:hover, .stock-result.selected { background: rgba(86,168,255,.08); }
.stock-result.selected { box-shadow: inset 2px 0 var(--mint); }
.stock-result strong, .stock-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stock-result strong { margin-bottom: 2px; color: #d6e2ef; font-size: 9px; }
.stock-result small { color: #68809a; font: 7px Consolas, monospace; }
.stock-market-badge { padding: 3px 5px; border: 1px solid rgba(86,168,255,.22); border-radius: 5px; color: #8ec4ff; font: 7px Consolas, monospace; white-space: nowrap; }
.stock-results-empty { padding: 18px 8px; color: #5f7288; font-size: 8px; text-align: center; }
.selected-stock { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; margin: 0 10px 7px; padding: 6px 7px; border: 1px solid rgba(50,213,164,.2); border-radius: 6px; background: rgba(50,213,164,.055); }
.selected-stock[hidden] { display: none; }
.selected-stock span { color: #6f8da4; font-size: 7px; }
.selected-stock strong { overflow: hidden; color: #9ce4cf; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.selected-stock small { color: #6f8da4; font: 7px Consolas, monospace; white-space: nowrap; }
.stock-cut-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border-top: 1px solid rgba(53,75,99,.25); border-bottom: 1px solid rgba(53,75,99,.25); }
.stock-cut-header strong, .stock-cut-header small { display: block; }
.stock-cut-header strong { color: #aebed0; font-size: 9px; }
.stock-cut-header small { margin-top: 1px; color: #5f7288; font-size: 7px; }
.stock-cut-header label { display: flex; align-items: center; gap: 3px; color: #8296ad; font-size: 7px; white-space: nowrap; }
.stock-cut-header input { width: 11px; height: 11px; }
.stock-cut-selection-tools { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 4px; padding: 5px 7px; border-bottom: 1px solid rgba(53,75,99,.25); background: rgba(7,17,29,.55); }
.stock-cut-selection-tools span { color: #71879e; font: 7px Consolas, monospace; }
.stock-cut-selection-tools button { min-height: 24px; padding: 0 6px; border-color: #29415b; color: #8298af; font-size: 7px; }
.stock-cut-selection-tools button:first-of-type { border-color: rgba(50,213,164,.3); color: #8be2c8; }
.stock-cut-selection-tools button:disabled { cursor: not-allowed; opacity: .38; }
.stock-cut-list { min-height: 90px; flex: 1; overflow-y: auto; }
.stock-cut-section { position: sticky; z-index: 1; top: 0; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.35); background: #0b1827; color: #6f89a4; font: 7px Consolas, monospace; letter-spacing: .05em; }
.stock-cut-row { display: grid; min-height: 31px; grid-template-columns: 28px minmax(0, 1fr) 26px; align-items: center; gap: 6px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); cursor: default; }
.stock-cut-row:hover { background: rgba(255,255,255,.025); }
.stock-cut-row.selected { background: rgba(86,168,255,.08); box-shadow: inset 2px 0 var(--mint); }
.stock-cut-row:focus-visible { outline: 1px solid rgba(86,168,255,.65); outline-offset: -1px; }
.stock-cut-row.disabled { opacity: .38; }
.stock-cut-number { color: #536b84; font: 7px Consolas, monospace; text-align: center; }
.stock-cut-copy strong, .stock-cut-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stock-cut-copy strong { color: #b6c6d8; font-size: 8px; }
.stock-cut-copy small { margin-top: 2px; color: #5f7288; font: 7px Consolas, monospace; }
.stock-cut-add { display: grid; width: 24px; height: 24px; min-height: 24px; place-items: center; padding: 0; border-color: #29415b; color: var(--mint); cursor: pointer; }
.stock-cut-add:disabled { cursor: not-allowed; opacity: .35; }
.stock-cut-separator { height: 5px; border-bottom: 1px solid rgba(53,75,99,.35); background: rgba(255,255,255,.012); }
.manual-stock-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 8px; border-top: 1px solid var(--border-soft); }
.manual-stock-actions button { min-width: 0; height: 25px; min-height: 25px; padding: 0 4px; overflow: hidden; color: #7489a0; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.manual-stock-actions button:disabled { cursor: not-allowed; opacity: .55; }
.legacy-fixed-workflow { display: flex; min-height: 405px; max-height: 64%; flex: 0 0 455px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow: hidden; }
.legacy-fixed-workflow[hidden] { display: none; }
.legacy-fixed-workflow.collapsed { min-height: 49px; max-height: 49px; flex-basis: 49px; }
.legacy-fixed-workflow.collapsed > :not(.legacy-fixed-header) { display: none; }
.legacy-fixed-header { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 6px; border-bottom: 1px solid var(--border-soft); }
.legacy-fixed-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.legacy-fixed-header .panel-kicker { margin-bottom: 3px; }
.legacy-fixed-tools { display: flex; align-items: center; gap: 5px; }
.legacy-fixed-tools button { min-height: 23px; padding: 0 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 7px; cursor: pointer; }
.legacy-fixed-section > header { cursor: default; }
.legacy-fixed-section-tools { display: flex; align-items: center; gap: 5px; }
.legacy-fixed-batch-add { min-height: 22px; padding: 0 6px; border-color: rgba(50,213,164,.28); color: #86ddc3; font-size: 7px; }
.legacy-fixed-batch-add:disabled { cursor: not-allowed; opacity: .4; }
.legacy-fixed-search { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 4px; height: 36px; margin: 8px 10px 5px; padding: 0 8px; border: 1px solid #29415b; border-radius: 6px; background: #07111d; }
.legacy-fixed-search span { color: #60748c; font-size: 14px; }
.legacy-fixed-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #d4e0ec; font-size: 9px; }
.legacy-fixed-state { min-height: 24px; padding: 3px 11px 5px; color: #6d8299; font-size: 7px; }
.legacy-fixed-sections { min-height: 0; flex: 1; overflow-y: auto; }
.legacy-fixed-section { border-top: 1px solid rgba(53,75,99,.28); }
.legacy-fixed-section > header { position: sticky; z-index: 2; top: 0; display: flex; min-height: 28px; align-items: center; justify-content: space-between; padding: 0 9px; background: #0b1827; color: #7890aa; font: 8px Consolas, "Malgun Gothic", sans-serif; }
.legacy-fixed-section > header span { color: #536b84; font-size: 7px; }
.legacy-fixed-row { display: grid; min-height: 34px; grid-template-columns: 29px minmax(0, 1fr) 26px; align-items: center; gap: 6px; padding: 3px 7px; border-top: 1px solid rgba(53,75,99,.2); }
.legacy-fixed-row:hover { background: rgba(255,255,255,.025); }
.legacy-fixed-row.unavailable { opacity: .48; }
.legacy-fixed-number { color: #536b84; font: 7px Consolas, monospace; text-align: center; }
.legacy-fixed-copy strong, .legacy-fixed-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legacy-fixed-copy strong { color: #bac9d9; font-size: 8px; }
.legacy-fixed-copy small { margin-top: 2px; color: #60748c; font: 7px Consolas, monospace; }
.legacy-fixed-add { display: grid; width: 24px; height: 24px; min-height: 24px; place-items: center; padding: 0; border-color: #29415b; color: var(--mint); cursor: pointer; }
.legacy-fixed-add:disabled { cursor: not-allowed; color: #697b90; opacity: .45; }
.industry-workflow { display: flex; min-height: 405px; max-height: 64%; flex: 0 0 455px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow: hidden; }
.industry-workflow[hidden] { display: none; }
.industry-workflow.collapsed { min-height: 49px; max-height: 49px; flex-basis: 49px; }
.industry-workflow.collapsed > :not(.industry-workflow-header) { display: none; }
.industry-workflow-header { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px; border-bottom: 1px solid var(--border-soft); }
.industry-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.industry-workflow-header .panel-kicker { margin-bottom: 3px; }
.industry-workflow-tools { display: flex; align-items: center; gap: 4px; }
.industry-workflow-tools button { min-height: 23px; padding: 0 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 7px; cursor: pointer; }
.industry-workflow-tools button:disabled { cursor: wait; opacity: .5; }
.industry-search { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 4px; height: 34px; margin: 7px 9px 4px; padding: 0 8px; border: 1px solid #29415b; border-radius: 6px; background: #07111d; }
.industry-search span { color: #60748c; font-size: 14px; }
.industry-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #d4e0ec; font-size: 9px; }
.industry-state { min-height: 23px; padding: 3px 10px 5px; color: #6d8299; font-size: 7px; }
.industry-state.error { color: #ff9bad; }
.industry-results { min-height: 70px; max-height: 105px; margin: 0 9px 6px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.industry-result { display: grid; width: 100%; min-height: 30px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 4px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.28); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.industry-result:last-child { border-bottom: 0; }
.industry-result:hover, .industry-result.selected { background: rgba(86,168,255,.075); }
.industry-result strong { overflow: hidden; color: #b9c8d8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.industry-result small { color: #60748c; font: 7px Consolas, monospace; }
.industry-pair { display: grid; min-height: 48px; grid-template-columns: minmax(0,1fr) 27px minmax(0,1fr) auto; align-items: center; gap: 5px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.industry-pair div { min-width: 0; }
.industry-pair span, .industry-pair strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.industry-pair span { margin-bottom: 2px; color: #5e748c; font-size: 6px; }
.industry-pair strong { color: #aebed0; font-size: 8px; }
.industry-pair button { min-height: 25px; padding: 0 6px; color: #8298af; font-size: 8px; }
.industry-cut-list { min-height: 90px; flex: 1; overflow-y: auto; }
.industry-cut-section { position: sticky; z-index: 1; top: 0; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.35); background: #0b1827; color: #6f89a4; font: 7px Consolas, monospace; letter-spacing: .04em; }
.industry-cut-row { display: grid; min-height: 31px; grid-template-columns: 28px minmax(0,1fr) 26px; align-items: center; gap: 6px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); }
.industry-cut-row:hover { background: rgba(255,255,255,.025); }
.industry-cut-row.disabled { opacity: .4; }
.industry-cut-number { color: #536b84; font: 7px Consolas, monospace; text-align: center; }
.industry-cut-copy strong, .industry-cut-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.industry-cut-copy strong { color: #b6c6d8; font-size: 8px; }
.industry-cut-copy small { margin-top: 2px; color: #5f7288; font: 7px Consolas, monospace; }
.industry-cut-add { display: grid; width: 24px; height: 24px; min-height: 24px; place-items: center; padding: 0; border-color: #29415b; color: var(--mint); cursor: pointer; }
.industry-cut-add:disabled { cursor: not-allowed; opacity: .35; }
.comparison-workflow { display: flex; min-height: 560px; max-height: 76%; flex: 0 0 620px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow-y: auto; }
.comparison-workflow[hidden] { display: none; }
.comparison-workflow-header { display: flex; min-height: 49px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px; border-bottom: 1px solid var(--border-soft); }
.comparison-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.comparison-workflow-header .panel-kicker { margin-bottom: 3px; }
.comparison-import-actions { display: flex; align-items: center; gap: 5px; }
.comparison-import-actions button { min-height: 24px; padding: 0 6px; border-color: rgba(86,168,255,.3); color: #91c8ff; font-size: 6px; }
.comparison-import-actions button.imported { border-color: rgba(50,213,164,.25); color: #83dec3; }
.comparison-source-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--border-soft); }
.comparison-source-tabs button { min-height: 26px; padding: 0 5px; color: #6f849c; font-size: 7px; }
.comparison-source-tabs button.active { border-color: rgba(50,213,164,.35); background: rgba(50,213,164,.08); color: #8be2c8; }
.comparison-source-panel { flex: 0 0 auto; }
.comparison-source-panel[hidden] { display: none; }
.comparison-search-form { display: grid; grid-template-columns: minmax(0,1fr) 45px; gap: 5px; padding: 6px 8px 4px; }
.comparison-search-form input { min-width: 0; height: 29px; padding: 0 8px; border: 1px solid #29415b; border-radius: 6px; outline: 0; background: #07111d; color: #d4e0ec; font-size: 8px; }
.comparison-search-form button { min-height: 29px; padding: 0 6px; border-color: rgba(86,168,255,.35); color: #91c8ff; font-size: 8px; }
.comparison-search-state { min-height: 21px; padding: 2px 9px 4px; color: #667c94; font-size: 7px; }
.comparison-search-state.loading { color: #8ec4ff; }
.comparison-search-state.error { color: #ff9bad; }
.comparison-search-state.ready { color: #8bdcc4; }
.comparison-target-results { min-height: 70px; max-height: 105px; margin: 0 8px 6px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.comparison-target-results.fixed { display: grid; max-height: 125px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 6px; }
.comparison-target { display: grid; width: 100%; min-height: 29px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px; padding: 4px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.28); border-radius: 0; background: transparent; color: #b9c8d8; text-align: left; cursor: pointer; }
.comparison-target:hover { background: rgba(86,168,255,.075); }
.comparison-target strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.comparison-target small { color: #60748c; font: 6px Consolas,monospace; white-space: nowrap; }
.comparison-target-empty { padding: 18px 8px; color: #5f7288; font-size: 8px; text-align: center; }
.comparison-draft { display: grid; min-height: 51px; grid-template-columns: minmax(0,1fr) 25px minmax(0,1fr) auto auto; align-items: center; gap: 4px; padding: 5px 7px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.comparison-draft div { min-width: 0; }
.comparison-draft span,.comparison-draft strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comparison-draft span { margin-bottom: 2px; color: #5e748c; font-size: 6px; }
.comparison-draft strong { color: #aebed0; font-size: 8px; }
.comparison-draft button { min-height: 25px; padding: 0 5px; color: #8298af; font-size: 7px; }
.comparison-draft button.primary { border-color: rgba(50,213,164,.3); color: #83dec3; }
.comparison-pair-header,.comparison-action-header { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.28); }
.comparison-pair-header strong,.comparison-pair-header small,.comparison-action-header strong,.comparison-action-header small { display: block; }
.comparison-pair-header strong,.comparison-action-header strong { color: #aebed0; font-size: 8px; }
.comparison-pair-header small,.comparison-action-header small { margin-top: 1px; color: #5f7288; font-size: 6px; }
.comparison-pair-header > div:last-child { display: flex; gap: 3px; }
.comparison-pair-header button,.comparison-action-header button { min-height: 23px; padding: 0 5px; color: #8298af; font-size: 6px; }
.comparison-pair-list { min-height: 55px; max-height: 95px; overflow-y: auto; }
.comparison-pair-row { display: grid; width: 100%; min-height: 31px; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 5px; padding: 3px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.24); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.comparison-pair-row:hover,.comparison-pair-row.selected { background: rgba(50,213,164,.055); }
.comparison-pair-row.selected { box-shadow: inset 2px 0 var(--mint); }
.comparison-pair-row > span:first-child { color: #536b84; font: 7px Consolas,monospace; text-align: center; }
.comparison-pair-row strong,.comparison-pair-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comparison-pair-row strong { color: #b6c6d8; font-size: 8px; }
.comparison-pair-row small { margin-top: 1px; color: #60748c; font: 6px Consolas,monospace; }
.comparison-pair-row > span:last-child { color: #68809a; font: 6px Consolas,monospace; }
.comparison-action-list { min-height: 120px; flex: 1 0 auto; }
.comparison-action-section { position: sticky; z-index: 1; top: 0; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.35); background: #0b1827; color: #6f89a4; font: 7px Consolas,monospace; }
.comparison-action-row { display: grid; min-height: 31px; grid-template-columns: 27px minmax(0,1fr) 25px; align-items: center; gap: 5px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); }
.comparison-action-row.disabled { opacity: .38; }
.comparison-action-row > span:first-child { color: #536b84; font: 7px Consolas,monospace; text-align: center; }
.comparison-action-copy strong,.comparison-action-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comparison-action-copy strong { color: #b6c6d8; font-size: 8px; }
.comparison-action-copy small { margin-top: 1px; color: #5f7288; font: 6px Consolas,monospace; }
.comparison-action-add { display: grid; width: 23px; height: 23px; min-height: 23px; place-items: center; padding: 0; color: var(--mint); }
.theme-workflow { display: flex; min-height: 545px; max-height: 76%; flex: 0 0 610px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow-y: auto; }
.theme-workflow[hidden] { display: none; }
.theme-workflow-header { display: flex; min-height: 49px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px; border-bottom: 1px solid var(--border-soft); }
.theme-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.theme-workflow-header .panel-kicker { margin-bottom: 3px; }
.theme-search-form { display: grid; grid-template-columns: minmax(0,1fr) 76px 42px; gap: 5px; padding: 7px 8px 5px; }
.theme-search-form input,.theme-search-form select { min-width: 0; height: 29px; padding: 0 7px; border: 1px solid #29415b; border-radius: 6px; outline: 0; background: #07111d; color: #c7d5e4; font-size: 7px; }
.theme-search-form button { min-height: 29px; padding: 0 5px; border-color: rgba(86,168,255,.35); color: #91c8ff; font-size: 7px; }
.theme-search-state { min-height: 22px; padding: 2px 9px 5px; color: #667c94; font-size: 7px; }
.theme-search-state.loading,.theme-preview-state.loading { color: #8ec4ff; }
.theme-search-state.error,.theme-preview-state.error { color: #ff9bad; }
.theme-search-state.ready,.theme-preview-state.ready { color: #8bdcc4; }
.theme-results { min-height: 78px; max-height: 118px; margin: 0 8px 6px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.theme-result { display: grid; width: 100%; min-height: 31px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 4px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.28); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.theme-result:hover,.theme-result.selected { background: rgba(86,168,255,.075); }
.theme-result.selected { box-shadow: inset 2px 0 var(--mint); }
.theme-result strong,.theme-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-result strong { color: #b9c8d8; font-size: 8px; }
.theme-result small { margin-top: 1px; color: #60748c; font: 6px Consolas,monospace; }
.theme-market-badge { padding: 3px 5px; border: 1px solid rgba(86,168,255,.22); border-radius: 5px; color: #8ec4ff; font: 6px Consolas,monospace; }
.selected-theme { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; min-height: 47px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.selected-theme[hidden] { display: none; }
.selected-theme span,.selected-theme strong,.selected-theme small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-theme span { color: #5e748c; font-size: 6px; }
.selected-theme strong { margin: 2px 0; color: #9ce4cf; font-size: 9px; }
.selected-theme small { color: #60748c; font: 6px Consolas,monospace; }
.selected-theme label { color: #667c94; font-size: 6px; }
.selected-theme select { display: block; min-width: 80px; height: 26px; margin-top: 2px; padding: 0 5px; border: 1px solid #29415b; border-radius: 5px; background: #07111d; color: #aebed0; font-size: 7px; }
.theme-preview-header { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 7px; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.28); }
.theme-preview-header strong,.theme-preview-header small { display: block; }
.theme-preview-header strong { color: #aebed0; font-size: 8px; }
.theme-preview-header small { color: #5f7288; font-size: 6px; }
.theme-preview-header > span { color: #67809a; font: 6px Consolas,monospace; }
.theme-preview-state { min-height: 20px; padding: 3px 9px; color: #667c94; font-size: 7px; }
.theme-preview-items { min-height: 55px; max-height: 92px; overflow-y: auto; }
.theme-preview-item { display: grid; min-height: 25px; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 5px; padding: 3px 8px; border-bottom: 1px solid rgba(53,75,99,.2); }
.theme-preview-item span { color: #536b84; font: 6px Consolas,monospace; text-align: center; }
.theme-preview-item strong { overflow: hidden; color: #aebed0; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.theme-preview-item small { color: #60748c; font: 6px Consolas,monospace; }
.theme-action-header { min-height: 33px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.28); border-bottom: 1px solid rgba(53,75,99,.28); }
.theme-action-header strong,.theme-action-header small { display: block; }
.theme-action-header strong { color: #aebed0; font-size: 8px; }
.theme-action-header small { margin-top: 1px; color: #5f7288; font-size: 6px; }
.theme-action-list { min-height: 120px; }
.theme-action-row { display: grid; min-height: 32px; grid-template-columns: 27px minmax(0,1fr) 25px; align-items: center; gap: 5px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); }
.theme-action-row.disabled { opacity: .38; }
.theme-action-row > span:first-child { color: #536b84; font: 7px Consolas,monospace; text-align: center; }
.theme-action-copy strong,.theme-action-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-action-copy strong { color: #b6c6d8; font-size: 8px; }
.theme-action-copy small { color: #5f7288; font: 6px Consolas,monospace; }
.theme-action-add { display: grid; width: 23px; height: 23px; min-height: 23px; place-items: center; padding: 0; color: var(--mint); }
.theme-crud-notice { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-top: 1px solid rgba(255,190,80,.14); color: #8a7554; font-size: 6px; }
.theme-crud-notice button,.expert-crud-notice button { min-height: 25px; padding: 0 8px; border: 1px solid rgba(255,190,80,.24); border-radius: 6px; background: rgba(255,190,80,.08); color: #d3a85f; cursor: pointer; font-size: 7px; }
.theme-crud-notice button:disabled,.expert-crud-notice button:disabled { cursor: not-allowed; opacity: .4; }
.overseas-workflow,.expert-workflow { display: flex; min-height: 470px; max-height: 76%; flex: 0 0 540px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow-y: auto; }
.overseas-workflow[hidden],.expert-workflow[hidden] { display: none; }
.overseas-workflow-header,.expert-workflow-header { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px; border-bottom: 1px solid var(--border-soft); }
.overseas-workflow-header h3,.expert-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.overseas-workflow-header .panel-kicker,.expert-workflow-header .panel-kicker { margin-bottom: 3px; }
.overseas-source-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; padding: 6px 8px 2px; }
.overseas-source-tabs button { min-height: 27px; color: #6f849c; font-size: 7px; }
.overseas-source-tabs button.active { border-color: rgba(50,213,164,.35); background: rgba(50,213,164,.08); color: #8be2c8; }
.overseas-search-form,.expert-search-form { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 5px; padding: 6px 8px 5px; }
.overseas-search-form input,.expert-search-form input { min-width: 0; height: 29px; padding: 0 7px; border: 1px solid #29415b; border-radius: 6px; outline: 0; background: #07111d; color: #c7d5e4; font-size: 8px; }
.overseas-search-form button,.expert-search-form button { min-height: 29px; padding: 0 5px; border-color: rgba(86,168,255,.35); color: #91c8ff; font-size: 8px; }
.overseas-search-state,.expert-search-state,.expert-preview-state { min-height: 22px; padding: 2px 9px 5px; color: #667c94; font-size: 7px; }
.overseas-search-state.loading,.expert-search-state.loading,.expert-preview-state.loading { color: #8ec4ff; }
.overseas-search-state.error,.expert-search-state.error,.expert-preview-state.error { color: #ff9bad; }
.overseas-search-state.ready,.expert-search-state.ready,.expert-preview-state.ready { color: #8bdcc4; }
.overseas-results,.expert-results { min-height: 82px; max-height: 135px; margin: 0 8px 6px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.overseas-result,.expert-result { display: grid; width: 100%; min-height: 31px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 4px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.28); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.overseas-result:hover,.overseas-result.selected,.expert-result:hover,.expert-result.selected { background: rgba(86,168,255,.075); }
.overseas-result.selected,.expert-result.selected { box-shadow: inset 2px 0 var(--mint); }
.overseas-result strong,.overseas-result small,.expert-result strong,.expert-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overseas-result strong,.expert-result strong { color: #b9c8d8; font-size: 8px; }
.overseas-result small,.expert-result small { margin-top: 1px; color: #60748c; font: 6px Consolas,monospace; }
.overseas-result > span:last-child,.expert-result > span:last-child { padding: 3px 5px; border: 1px solid rgba(86,168,255,.22); border-radius: 5px; color: #8ec4ff; font: 6px Consolas,monospace; }
.selected-overseas { display: grid; min-height: 48px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.selected-overseas[hidden],.selected-expert[hidden] { display: none; }
.selected-overseas span,.selected-overseas strong,.selected-overseas small,.selected-expert span,.selected-expert strong,.selected-expert small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-overseas span,.selected-expert span { color: #5e748c; font-size: 6px; }
.selected-overseas strong,.selected-expert strong { margin: 2px 0; color: #9ce4cf; font-size: 9px; }
.selected-overseas small,.selected-expert small { color: #60748c; font: 6px Consolas,monospace; }
.overseas-ma-options { display: flex; gap: 6px; color: #72879e; font-size: 7px; }
.overseas-ma-options label { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.overseas-action-header,.expert-action-header,.expert-preview-header { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 8px; border-bottom: 1px solid rgba(53,75,99,.28); }
.overseas-action-header strong,.overseas-action-header small,.expert-action-header strong,.expert-action-header small,.expert-preview-header strong,.expert-preview-header small { display: block; }
.overseas-action-header strong,.expert-action-header strong,.expert-preview-header strong { color: #aebed0; font-size: 8px; }
.overseas-action-header small,.expert-action-header small,.expert-preview-header small { color: #5f7288; font-size: 6px; }
.expert-preview-header > span { color: #67809a; font: 6px Consolas,monospace; }
.overseas-action-list,.expert-action-list { min-height: 75px; }
.overseas-action-row,.expert-action-row { display: grid; min-height: 32px; grid-template-columns: 27px minmax(0,1fr) 25px; align-items: center; gap: 5px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); }
.overseas-action-row.disabled,.expert-action-row.disabled { opacity: .38; }
.overseas-action-row > span:first-child,.expert-action-row > span:first-child { color: #536b84; font: 7px Consolas,monospace; text-align: center; }
.overseas-action-copy strong,.overseas-action-copy small,.expert-action-copy strong,.expert-action-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overseas-action-copy strong,.expert-action-copy strong { color: #b6c6d8; font-size: 8px; }
.overseas-action-copy small,.expert-action-copy small { color: #5f7288; font: 6px Consolas,monospace; }
.overseas-action-add,.expert-action-add { display: grid; width: 23px; height: 23px; min-height: 23px; place-items: center; padding: 0; color: var(--mint); }
.selected-expert { min-height: 45px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.expert-preview-items { min-height: 66px; max-height: 116px; overflow-y: auto; }
.expert-preview-item { display: grid; min-height: 27px; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 5px; padding: 3px 8px; border-bottom: 1px solid rgba(53,75,99,.2); }
.expert-preview-item span { color: #536b84; font: 6px Consolas,monospace; text-align: center; }
.expert-preview-item strong { overflow: hidden; color: #aebed0; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.expert-preview-item small { color: #60748c; font: 6px Consolas,monospace; }
.expert-crud-notice { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-top: 1px solid rgba(255,190,80,.14); color: #8a7554; font-size: 6px; }
.trading-halt-workflow { display: flex; min-height: 420px; max-height: 76%; flex: 0 0 475px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow-y: auto; }
.trading-halt-workflow[hidden] { display: none; }
.trading-halt-workflow-header { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px; border-bottom: 1px solid var(--border-soft); }
.trading-halt-workflow-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.trading-halt-workflow-header .panel-kicker { margin-bottom: 3px; }
.trading-halt-search-form { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 5px; padding: 7px 8px 5px; }
.trading-halt-search-form input { min-width: 0; height: 29px; padding: 0 7px; border: 1px solid #29415b; border-radius: 6px; outline: 0; background: #07111d; color: #c7d5e4; font-size: 8px; }
.trading-halt-search-form button { min-height: 29px; padding: 0 5px; border-color: rgba(86,168,255,.35); color: #91c8ff; font-size: 8px; }
.trading-halt-search-state { min-height: 22px; padding: 2px 9px 5px; color: #667c94; font-size: 7px; }
.trading-halt-search-state.loading { color: #8ec4ff; }
.trading-halt-search-state.error { color: #ff9bad; }
.trading-halt-search-state.ready { color: #8bdcc4; }
.trading-halt-results-header { display: grid; min-height: 25px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; margin: 0 8px; padding: 0 7px; border: 1px solid var(--border-soft); border-bottom: 0; border-radius: 6px 6px 0 0; background: #0b1827; color: #657c94; font-size: 7px; }
.trading-halt-results-header button { min-height: 21px; padding: 0; border: 0; background: transparent; color: #91a6bc; font-size: 7px; text-align: left; }
.trading-halt-results-header button:hover:not(:disabled) { color: #c5d6e7; }
.trading-halt-results-header button:disabled { cursor: not-allowed; opacity: .42; }
.trading-halt-results { min-height: 100px; max-height: 175px; margin: 0 8px 6px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,17,29,.7); overflow-y: auto; }
.trading-halt-result { display: grid; width: 100%; min-height: 31px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 4px 7px; border: 0; border-bottom: 1px solid rgba(53,75,99,.28); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.trading-halt-result:hover,.trading-halt-result.selected { background: rgba(86,168,255,.075); }
.trading-halt-result.selected { box-shadow: inset 2px 0 var(--mint); }
.trading-halt-result strong,.trading-halt-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trading-halt-result strong { color: #b9c8d8; font-size: 8px; }
.trading-halt-result small { margin-top: 1px; color: #60748c; font: 6px Consolas,monospace; }
.trading-halt-market { padding: 3px 5px; border: 1px solid rgba(255,102,128,.2); border-radius: 5px; color: #ff9bad; font: 6px Consolas,monospace; }
.selected-trading-halt { display: grid; min-height: 48px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; border-top: 1px solid rgba(53,75,99,.3); border-bottom: 1px solid rgba(53,75,99,.3); }
.selected-trading-halt[hidden] { display: none; }
.selected-trading-halt span,.selected-trading-halt strong,.selected-trading-halt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-trading-halt span { color: #5e748c; font-size: 6px; }
.selected-trading-halt strong { margin: 2px 0; color: #9ce4cf; font-size: 9px; }
.selected-trading-halt small { color: #60748c; font: 6px Consolas,monospace; }
.trading-halt-ma-options { display: flex; gap: 6px; color: #72879e; font-size: 7px; }
.trading-halt-ma-options label { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.trading-halt-action-header { padding: 6px 8px; border-bottom: 1px solid rgba(53,75,99,.28); }
.trading-halt-action-header strong,.trading-halt-action-header small { display: block; }
.trading-halt-action-header strong { color: #aebed0; font-size: 8px; }
.trading-halt-action-header small { margin-top: 1px; color: #5f7288; font-size: 6px; }
.trading-halt-action-list { min-height: 74px; }
.trading-halt-action-row { display: grid; min-height: 34px; grid-template-columns: 27px minmax(0,1fr) 25px; align-items: center; gap: 5px; padding: 3px 7px; border-bottom: 1px solid rgba(53,75,99,.24); }
.trading-halt-action-row.disabled { opacity: .38; }
.trading-halt-action-row > span:first-child { color: #536b84; font: 7px Consolas,monospace; text-align: center; }
.trading-halt-action-copy strong,.trading-halt-action-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trading-halt-action-copy strong { color: #b6c6d8; font-size: 8px; }
.trading-halt-action-copy small { color: #5f7288; font: 6px Consolas,monospace; }
.trading-halt-action-add { display: grid; width: 23px; height: 23px; min-height: 23px; place-items: center; padding: 0; color: var(--mint); }
.live-data-panel { display: flex; min-height: 235px; max-height: 54%; flex: 0 1 365px; flex-direction: column; border-bottom: 1px solid var(--border); background: #091522; overflow: hidden; }
.live-data-header { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 7px; border-bottom: 1px solid var(--border-soft); }
.live-data-header h3 { margin: 0; color: #dfe9f5; font-size: 11px; font-weight: 650; }
.live-data-header .panel-kicker { margin-bottom: 3px; }
.live-retry { min-height: 27px; padding: 0 9px; border: 1px solid #29415b; border-radius: 6px; background: var(--surface-2); color: #aebed0; font-size: 9px; cursor: pointer; }
.live-retry:hover { border-color: var(--mint); color: var(--mint); }
.database-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 10px 0; }
.database-source { display: grid; grid-template-columns: 7px auto minmax(0, 1fr); align-items: center; min-width: 0; gap: 5px; min-height: 28px; padding: 0 7px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(17,31,50,.72); }
.database-source .source-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.database-source strong { color: #aebed0; font-size: 8px; }
.database-source small { overflow: hidden; color: var(--muted-2); font-size: 8px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.database-source.healthy { border-color: rgba(50,213,164,.17); }
.database-source.healthy .source-dot { background: var(--mint); box-shadow: 0 0 0 2px rgba(50,213,164,.09); }
.database-source.healthy small { color: #79d9bd; }
.database-source.error { border-color: rgba(255,102,128,.2); }
.database-source.error .source-dot { background: var(--red); box-shadow: 0 0 0 2px rgba(255,102,128,.08); }
.database-source.error small { color: #dc8796; }
.database-source.pending .source-dot { animation: live-pulse 1.1s ease-in-out infinite; background: var(--blue); }
.database-source.unconfigured small { color: #657991; }
.live-data-state { display: flex; min-height: 42px; align-items: center; gap: 9px; margin: 7px 10px 0; padding: 7px 9px; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(13,25,41,.76); color: #b7c6d7; }
.live-data-state:empty { display: none; }
.live-data-state strong, .live-data-state small { display: block; }
.live-data-state strong { margin-bottom: 2px; font-size: 9px; }
.live-data-state small { overflow: hidden; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.live-data-state.error { border-color: rgba(255,102,128,.22); background: rgba(255,102,128,.055); }
.live-data-state.error strong { color: #ff9bad; }
.live-data-state.ready { border-color: rgba(50,213,164,.18); background: rgba(50,213,164,.055); }
.live-data-state.ready strong { color: #8bdcc4; }
.live-spinner { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid rgba(86,168,255,.2); border-top-color: var(--blue); border-radius: 50%; animation: live-spin .8s linear infinite; }
.live-error-icon { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255,102,128,.13); color: var(--red); font: 700 10px Consolas, monospace; }
.live-data-tables { min-height: 0; flex: 1; overflow-y: auto; padding: 7px 10px 10px; }
.live-table-card { margin-bottom: 7px; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(13,25,41,.7); overflow: hidden; }
.live-table-card:last-child { margin-bottom: 0; }
.live-table-card > header { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 8px; border-bottom: 1px solid var(--border-soft); }
.live-table-card h4 { margin: 0 0 2px; color: #cbd8e7; font-size: 9px; }
.live-table-card header small { display: block; color: var(--muted-2); font-size: 7px; }
.live-source-badge { padding: 3px 5px; border: 1px solid rgba(86,168,255,.2); border-radius: 5px; background: rgba(86,168,255,.08); color: #79b7f8; font: 7px Consolas, monospace; }
.live-table-scroll { max-height: 145px; overflow: auto; }
.live-table { width: max-content; min-width: 100%; table-layout: auto; }
.live-table th { height: 27px; min-width: 76px; padding: 0 7px; background: #0c1a29; color: #70849c; font-size: 7px; white-space: nowrap; }
.live-table td { max-width: 210px; height: 27px; padding: 0 7px; overflow: hidden; color: #adbdcf; font: 8px Consolas, "Malgun Gothic", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.live-table tbody tr { cursor: default; }
.live-table tbody tr:hover { background: rgba(86,168,255,.035); }
.live-table-empty { margin: 0; padding: 15px 8px; color: var(--muted-2); font-size: 8px; text-align: center; }
@keyframes live-spin { to { transform: rotate(360deg); } }
@keyframes live-pulse { 50% { opacity: .35; } }
.catalog-list { min-height: 0; flex: 1; overflow-y: auto; padding: 8px; }
.catalog-item { display: grid; grid-template-columns: 34px 1fr 27px; align-items: center; min-height: 50px; gap: 9px; padding: 6px 7px; border: 1px solid transparent; border-radius: 8px; }
.catalog-item:hover { border-color: var(--border); background: rgba(255,255,255,.025); }
.cut-code { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: var(--surface-3); color: #8ca2bc; font: 9px Consolas, monospace; }
.catalog-item strong, .catalog-item small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.catalog-item strong { margin-bottom: 3px; font-size: 10px; }
.catalog-item small { color: var(--muted-2); font-size: 8px; }
.add-cut { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #29415b; border-radius: 7px; background: #102034; color: var(--mint); cursor: pointer; }
.add-cut:hover { border-color: var(--mint); background: var(--mint-soft); }
.catalog-empty { padding: 35px 10px; color: var(--muted); text-align: center; }
.playlist-actions { display: grid; grid-template-columns: auto auto 30px 30px auto auto 1fr auto auto auto; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); }
.playlist-actions button { padding: 0 9px; font-size: 9px; }
.playlist-actions button.danger { color: #ff9aad; }
.playlist-actions button.primary-soft { border-color: rgba(50,213,164,.23); background: var(--mint-soft); color: var(--mint); }
.playlist-actions button.database-soft { border-color: rgba(86,168,255,.25); background: rgba(86,168,255,.1); color: #8fc3fa; }
.global-candle-options { display: flex; align-items: center; justify-content: flex-end; min-width: 0; gap: 7px; padding: 0 4px; color: #8196ad; font-size: 8px; white-space: nowrap; }
.global-candle-options > span { color: #5f7690; font: 7px Consolas, monospace; letter-spacing: .08em; }
.global-candle-options label { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.global-candle-options input { width: 13px; height: 13px; margin: 0; accent-color: var(--mint); }
.global-candle-options input:disabled + * { opacity: .45; }
.named-playlist-panel { flex: 0 0 auto; max-height: 352px; padding: 10px 12px 9px; border-bottom: 1px solid var(--border); background: linear-gradient(145deg, rgba(12,31,49,.98), rgba(8,21,35,.98)); overflow-y: auto; }
.named-playlist-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.named-playlist-header h3 { margin: 0; color: #d9e6f4; font-size: 11px; }
.named-playlist-header-actions { display: flex; align-items: center; gap: 5px; }
.named-playlist-panel button { min-height: 27px; padding: 0 8px; border: 1px solid #29415b; border-radius: 6px; background: var(--surface-2); color: #9db0c5; font-size: 8px; cursor: pointer; }
.named-playlist-panel button:hover:not(:disabled) { border-color: #426487; color: white; }
.named-playlist-panel button.primary-soft { border-color: rgba(50,213,164,.25); background: var(--mint-soft); color: var(--mint); }
.named-playlist-panel button.danger { border-color: rgba(255,102,128,.2); color: #ff9aad; }
.named-playlist-panel button:disabled { cursor: not-allowed; opacity: .38; }
.named-playlist-status { min-height: 29px; margin: 8px 0; padding: 6px 8px; border: 1px solid var(--border-soft); border-radius: 6px; background: rgba(7,18,30,.72); color: #7f94ab; font-size: 8px; line-height: 1.45; }
.named-playlist-status.error { border-color: rgba(255,102,128,.25); color: #ff9aad; }
.named-playlist-status.ready { border-color: rgba(50,213,164,.2); color: #8bdcc4; }
.named-playlist-status.quarantined { border-color: rgba(255,186,85,.28); color: var(--amber); }
.named-playlist-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.named-playlist-definitions-label, .named-playlist-create label { color: #637991; font: 7px Consolas, monospace; text-transform: uppercase; }
.named-playlist-definitions { width: 100%; min-height: 88px; padding: 3px; border: 1px solid var(--border); border-radius: 6px; outline: none; background: #081522; color: #b8c8da; font: 9px/1.5 Consolas, "Malgun Gothic", sans-serif; }
.named-playlist-definitions:focus { border-color: #426487; }
.named-playlist-definitions option { padding: 3px 5px; }
.named-playlist-selection-summary { min-height: 17px; color: #70869e; font-size: 8px; }
.named-playlist-load-actions, .named-playlist-mutation-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.named-playlist-create { display: grid; grid-template-columns: auto 78px auto minmax(100px,1fr) auto; align-items: center; gap: 5px; padding-top: 5px; border-top: 1px solid var(--border-soft); }
.named-playlist-create input { min-width: 0; height: 27px; padding: 0 7px; border: 1px solid var(--border); border-radius: 6px; outline: none; background: #081522; color: #c6d4e3; font-size: 8px; }
.named-playlist-create input:focus { border-color: #426487; }
.named-playlist-guard-summary { margin: 7px 0 0; color: #61778f; font-size: 7px; line-height: 1.45; }
.named-playlist-guard-summary.blocked { color: var(--amber); }
tbody tr.named-restore-invalid { box-shadow: inset 3px 0 var(--red); }
tbody tr.named-page-pending { box-shadow: inset 3px 0 var(--amber); }
.table-wrap { position: relative; min-height: 0; flex: 1; overflow: auto; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
thead { position: sticky; z-index: 2; top: 0; background: #0d1929; }
th { height: 35px; border-bottom: 1px solid var(--border); color: var(--muted-2); font-size: 8px; font-weight: 600; text-align: left; text-transform: uppercase; }
td { height: 47px; border-bottom: 1px solid var(--border-soft); color: #b9c7d8; font-size: 10px; }
th, td { padding: 0 8px; }
.check-cell { width: 35px; text-align: center; }
.number-cell { width: 34px; color: var(--muted-2); text-align: center; }
.page-cell { width: 48px; color: var(--muted-2); text-align: center; }
.drag-cell { width: 42px; color: var(--muted-2); text-align: center; }
.playlist-target-cell { width: 24%; }
.playlist-cut-cell { width: 25%; }
.playlist-detail-cell { width: 28%; }
tbody tr { cursor: pointer; transition: .12s ease; }
tbody tr:hover { background: rgba(255,255,255,.022); }
tbody tr.active { background: var(--mint-soft); }
tbody tr.selected { box-shadow: inset 2px 0 rgba(86,168,255,.8); }
tbody tr.dragging { opacity: .42; }
tbody tr.drag-over { box-shadow: inset 0 2px var(--mint); }
td strong, td small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
td strong { margin-bottom: 3px; color: #d7e2ee; font-size: 10px; }
td small { color: var(--muted-2); font-size: 8px; }
.row-type { display: inline-block; padding: 3px 5px; border-radius: 5px; background: var(--surface-3); color: #7f96b0; font: 8px Consolas, monospace; }
.row-enabled { display: flex; align-items: center; gap: 3px; margin-top: 4px; color: var(--muted-2); font: 7px Consolas, monospace; }
.row-enabled input { width: 11px; height: 11px; accent-color: var(--mint); }
input[type="checkbox"] { accent-color: var(--mint); }
.empty-state { position: absolute; inset: 36px 0 0; display: none; place-content: center; padding: 20px; color: var(--muted); text-align: center; }
.empty-state.show { display: grid; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { margin-bottom: 7px; color: #91a2b6; font-size: 11px; }
.empty-state span { color: var(--muted-2); font-size: 9px; }
.playout-panel { padding-bottom: 12px; }
.playout-health { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 10px 13px 0; }
.playout-health-item { display: grid; grid-template-columns: 7px minmax(0, 1fr); align-items: center; min-width: 0; min-height: 38px; column-gap: 6px; padding: 6px 8px; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(8,19,31,.72); }
.playout-health-item small { overflow: hidden; color: var(--muted-2); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.playout-health-item strong { grid-column: 2; overflow: hidden; color: #b9c7d8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.playout-health-item.safety { grid-template-columns: 1fr; }
.playout-health-item.safety strong { grid-column: 1; color: var(--amber); }
.playout-health-item.safety.live-allowed strong { color: var(--mint); }
.playout-health-item.safety.live-locked strong { color: var(--red); }
.background-control-bar { display: grid; min-height: 42px; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 6px; margin: 7px 13px 0; padding: 5px 7px; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(8,19,31,.6); }
.background-control-bar > div { min-width: 0; }
.background-control-bar small,.background-control-bar strong,.background-control-bar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.background-control-bar small { color: #5e748c; font: 6px Consolas,monospace; }
.background-control-bar strong { margin: 1px 0; color: #aebed0; font-size: 8px; }
.background-control-bar span { color: #60748c; font-size: 6px; }
.background-control-bar button { min-height: 27px; padding: 0 7px; border-color: #29415b; color: #8fa7c0; font-size: 7px; }
.background-control-bar button:disabled { cursor: not-allowed; opacity: .4; }
.playout-status-message { min-height: 29px; margin: 7px 13px 0; padding: 7px 9px; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(8,19,31,.52); color: #8296ad; font-size: 8px; line-height: 1.45; }
.playout-status-message.pending { border-color: rgba(86,168,255,.23); color: #8ec4ff; }
.playout-status-message.error { border-color: rgba(255,102,128,.22); color: #ff9bad; }
.playout-page-state { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 6px 13px 0; }
.playout-page-state span { min-width: 0; padding: 5px 7px; border: 1px solid var(--border-soft); border-radius: 5px; color: var(--muted-2); font: 7px Consolas, monospace; }
.playout-page-state strong { display: block; margin-top: 2px; overflow: hidden; color: #a8bad0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.playout-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 13px 0; padding: 8px 9px; border: 1px solid rgba(255,102,128,.28); border-radius: 7px; background: rgba(255,102,128,.07); }
.playout-error[hidden] { display: none; }
.playout-error strong, .playout-error span { display: block; }
.playout-error strong { margin-bottom: 2px; color: #ff9bad; font-size: 8px; }
.playout-error span { color: #c98995; font-size: 8px; line-height: 1.4; }
.playout-error button { min-height: 24px; flex: 0 0 auto; padding: 0 7px; border: 1px solid rgba(255,102,128,.25); border-radius: 5px; background: transparent; color: #e38c9c; font-size: 8px; cursor: pointer; }
.preview-stage { position: relative; display: grid; min-height: 255px; margin: 13px; place-items: center; overflow: hidden; border: 1px solid #29405a; border-radius: 9px; background: radial-gradient(circle at 50% 45%, #193552, #08121f 60%); }
.preview-stage::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(65,101,133,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(65,101,133,.08) 1px, transparent 1px); background-size: 24px 24px; content: ""; }
.scene-data-preview { margin: -6px 13px 10px; overflow: hidden; border: 1px solid var(--border-soft); border-radius: 7px; background: rgba(8,19,31,.72); }
.scene-data-preview-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-bottom: 1px solid var(--border-soft); color: var(--muted-2); font: 7px Consolas, monospace; }
.scene-data-preview-header strong { color: var(--mint); letter-spacing: .08em; }
.scene-data-preview-body { max-height: 145px; overflow: auto; }
.scene-data-empty { padding: 12px 8px; color: var(--muted-2); font-size: 8px; text-align: center; }
.scene-data-row { display: grid; grid-template-columns: 72px minmax(110px, .8fr) minmax(160px, 1.4fr); gap: 7px; padding: 4px 8px; border-bottom: 1px solid rgba(53,75,99,.28); align-items: center; }
.scene-data-row span { color: #7290ad; font: 7px Consolas, monospace; text-transform: uppercase; }
.scene-data-row strong { overflow: hidden; color: #a9bdd2; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.scene-data-row code { overflow: hidden; color: #d4e0ec; font: 8px Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.safe-area { position: relative; z-index: 1; width: 78%; padding: 31px 20px; border: 1px dashed rgba(137,167,195,.24); color: var(--muted); text-align: center; }
.safe-area span, .safe-area strong, .safe-area small { display: block; }
.safe-area span { margin-bottom: 13px; color: var(--mint); font: 8px Consolas, monospace; letter-spacing: .16em; }
.safe-area strong { margin-bottom: 7px; color: #e8f0fa; font-size: 16px; }
.safe-area small { color: #6f839b; font-size: 9px; }
.stage-corner { position: absolute; z-index: 2; width: 20px; height: 20px; border-color: var(--mint); border-style: solid; opacity: .7; }
.top-left { top: 10px; left: 10px; border-width: 1px 0 0 1px; }.top-right { top: 10px; right: 10px; border-width: 1px 1px 0 0; }.bottom-left { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }.bottom-right { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }
.scene-selection-form { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) auto; gap: 5px; margin: -6px 13px 10px; }
.scene-selection-form label { min-width: 0; color: var(--muted-2); font: 7px Consolas, monospace; }
.scene-selection-form input, .scene-selection-form select { width: 100%; min-width: 0; height: 27px; margin-top: 3px; padding: 0 7px; border: 1px solid var(--border-soft); border-radius: 5px; outline: 0; background: #08131f; color: #b8c8db; font-size: 8px; }
.scene-selection-form input:focus, .scene-selection-form select:focus { border-color: rgba(86,168,255,.55); }
.scene-selection-form button { align-self: end; height: 27px; padding: 0 9px; border: 1px solid rgba(86,168,255,.3); border-radius: 5px; background: rgba(86,168,255,.08); color: #8ec4ff; font-size: 8px; cursor: pointer; }
.scene-selection-form button:disabled, .scene-selection-form input:disabled, .scene-selection-form select:disabled { cursor: not-allowed; opacity: .4; }
.playout-controls { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 6px; padding: 0 13px 12px; }
.playout-controls button { display: flex; min-width: 0; height: 42px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: #b5c4d5; font-size: 9px; font-weight: 700; cursor: pointer; }
.playout-controls button span { color: var(--muted-2); font: 8px Consolas, monospace; }
.playout-controls button:hover { filter: brightness(1.15); }
.playout-controls button:disabled { filter: none; cursor: not-allowed; opacity: .4; }
.playout-controls button[aria-busy="true"] { border-color: rgba(86,168,255,.36); box-shadow: inset 0 0 0 1px rgba(86,168,255,.08); opacity: .72; }
.playout-controls .prepare { border-color: rgba(86,168,255,.34); background: rgba(86,168,255,.1); color: #8ec4ff; }
.playout-controls .take-in { border-color: rgba(50,213,164,.38); background: var(--mint-soft); color: var(--mint); }
.playout-controls .take-out { border-color: rgba(255,102,128,.28); background: rgba(255,102,128,.08); color: #ff8fa2; }
.add-cut:disabled { cursor: not-allowed; opacity: .28; }
.live-data-selectable { cursor: pointer; }
.live-data-selectable:hover td { background: rgba(86,168,255,.08); color: #d8e8fb; }
.event-log { display: flex; min-height: 0; flex: 1; flex-direction: column; margin: 0 13px; border: 1px solid var(--border-soft); border-radius: 8px; background: #08131f; overflow: hidden; }
.event-log-header { display: flex; align-items: center; justify-content: space-between; min-height: 33px; padding: 0 10px; border-bottom: 1px solid var(--border-soft); }
.event-log-header strong { color: #7f92aa; font-size: 9px; }
.event-log button { min-height: 22px; padding: 0 7px; border: 0; background: transparent; color: var(--muted-2); font-size: 8px; }
.event-log ol { min-height: 0; margin: 0; padding: 6px 10px 8px 30px; overflow-y: auto; color: #7890aa; font: 9px/1.75 Consolas, monospace; }
.event-log li::marker { color: #40556d; }
.event-log time { margin-right: 8px; color: #455d77; }
.toast { position: fixed; z-index: 20; right: 22px; bottom: 20px; max-width: 320px; padding: 11px 14px; transform: translateY(25px); border: 1px solid rgba(50,213,164,.28); border-radius: 8px; background: #12273a; box-shadow: var(--shadow); color: #d9f7ef; font-size: 10px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 8px; background: #263a51; background-clip: padding-box; }
@media (max-width: 1450px) {
.app-shell { grid-template-columns: 178px minmax(0, 1fr); }
.brand-block { padding: 0 14px; }
.console-grid { grid-template-columns: minmax(220px, .8fr) minmax(380px, 1.25fr); height: auto; }
.playout-panel { grid-column: 1 / -1; min-height: 520px; }
.summary-strip { grid-template-columns: repeat(2, 1fr); }
}