@layer foundation {
:root {
  --bg: #070a10;
  --panel: rgba(14, 19, 28, .86);
  --panel-solid: #0f151e;
  --line: rgba(173, 198, 224, .11);
  --muted: #8491a2;
  --text: #f4f8fc;
  --cyan: #35e7ce;
  --magenta: #ff5b9e;
  --lime: #b8ff52;
  --amber: #ffbf4b;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(53,231,206,.075), transparent 27%),
    radial-gradient(circle at 90% 8%, rgba(126,101,255,.06), transparent 24%),
    var(--bg);
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -10%, rgba(36,245,210,.08), transparent 42%);
}

.direct-open-warning {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 10px 24px;
  color: #ffcf77;
  background: #241b0d;
  border-bottom: 1px solid rgba(255, 191, 75, .42);
  font-size: 13px;
}
.direct-open-warning strong { color: #fff; }
.direct-open-warning b { color: var(--cyan); font-family: ui-monospace, monospace; }
.direct-open .connection-badge { opacity: .45; }

.glow { display: none; }
.glow-a { background: var(--cyan); top: 20%; left: -180px; }
.glow-b { background: var(--magenta); right: -200px; bottom: 10%; }
.shell { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 32px; position: relative; }
.topbar { min-height: 76px; display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr); align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; border: 1px solid rgba(53,231,206,.3); border-radius: 13px; background: linear-gradient(145deg, rgba(53,231,206,.15), rgba(53,231,206,.025)); display: flex; gap: 3px; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.25); }
.brand-mark span { display: block; width: 3px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.brand-mark span:nth-child(1) { height: 11px; }.brand-mark span:nth-child(2) { height: 23px; }.brand-mark span:nth-child(3) { height: 16px; }
.brand h1 { margin: 0; font-size: 19px; letter-spacing: .08em; }.brand p { margin: 4px 0 0; color: #5f6d7e; font: 9px/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.module-nav { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,10,16,.66); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.module-nav > button { height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 9px; color: #748092; background: transparent; font-size: 11px; white-space: nowrap; transition: color .18s, background .18s, box-shadow .18s; }
.module-nav > button:hover { color: #c7d1dc; background: rgba(255,255,255,.035); }
.module-nav > button > i { width: 5px; height: 5px; border-radius: 50%; background: #46505e; }
.module-nav > button.active { color: #dbfff9; background: rgba(53,231,206,.1); box-shadow: inset 0 0 0 1px rgba(53,231,206,.16); }.module-nav > button.active > i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.module-nav small { margin-left: 2px; padding: 2px 4px; border-radius: 4px; color: var(--cyan); background: rgba(53,231,206,.09); font-size: 7px; letter-spacing: .08em; }
.module-hidden { display: none !important; }
.connection-badge { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; color: var(--muted); font-size: 12px; background: rgba(255,255,255,.025); }
.connection-badge { justify-self: end; }
.connection-badge i { width: 7px; height: 7px; border-radius: 50%; background: #57606c; }
.connection-badge.connected { color: var(--cyan); border-color: rgba(36,245,210,.25); }.connection-badge.connected i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.5s infinite; }
.connection-badge.connecting, .connection-badge.resolving, .connection-badge.reconnecting { color: var(--amber); }.connection-badge.connecting i, .connection-badge.resolving i, .connection-badge.reconnecting i { background: var(--amber); }
.connection-badge.watching { color: #bda5ff; border-color: rgba(169,132,255,.25); }.connection-badge.watching i { background: #a984ff; box-shadow: 0 0 9px rgba(169,132,255,.7); }

.panel { background: linear-gradient(145deg, #111823, #0c1119); border: 1px solid rgba(173,198,224,.12); border-radius: 16px; box-shadow: 0 18px 52px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025); }
.hero { padding: 30px 36px 25px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; top: -215px; border: 1px solid rgba(53,231,206,.1); border-radius: 50%; box-shadow: 0 0 0 42px rgba(53,231,206,.014), 0 0 0 84px rgba(53,231,206,.008); }
.hero::after { content: "LIVE"; position: absolute; right: 32px; top: 10px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.022); font-size: 102px; font-weight: 900; font-style: italic; letter-spacing: -.08em; pointer-events: none; }
.eyebrow { color: var(--cyan); font: 9px/1.2 ui-monospace, monospace; letter-spacing: .24em; margin-bottom: 11px; }
.hero h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.06; letter-spacing: -.045em; margin: 0; max-width: 720px; font-weight: 760; }
.hero h2 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 28px rgba(36,245,210,.22); }
.hero-copy { margin: 14px 0 21px; color: #929ba8; font-size: 13px; line-height: 1.65; max-width: 720px; }
.connect-form { display: flex; gap: 10px; max-width: 1010px; position: relative; z-index: 1; }
.input-wrap { height: 48px; display: flex; align-items: center; gap: 12px; flex: 1; min-width: 280px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: #080d13; padding: 0 15px; transition: .2s; }
.input-wrap:focus-within { border-color: rgba(36,245,210,.6); box-shadow: inset 0 0 0 1px rgba(36,245,210,.12), 0 0 24px rgba(36,245,210,.06); }
.input-wrap svg, .search svg { width: 20px; fill: none; stroke: #596473; stroke-width: 1.6; }
input { color: var(--text); background: none; border: 0; outline: 0; font: inherit; }
.input-wrap input { width: 100%; font-size: 14px; }.input-wrap input::placeholder, .search input::placeholder { color: #505866; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .38; }
.primary, .secondary { height: 48px; border-radius: 11px; padding: 0 22px; font-weight: 700; }
.primary { border: 0; background: linear-gradient(135deg, #51efd7, #25cfba); color: #06110f; min-width: 145px; display: flex; align-items: center; justify-content: center; gap: 24px; transition: .2s; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 9px 30px rgba(36,245,210,.18); }.primary b { font-size: 20px; }
.secondary { background: transparent; border: 1px solid var(--line); color: #a9b0bb; }
.secondary.monitor-action { color: #bfa8ff; border-color: rgba(171, 133, 255, .28); }
.secondary.monitor-action:hover { color: #d6c7ff; background: rgba(171, 133, 255, .07); }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #717b88; font-size: 12px; min-height: 16px; }
.status-line i { width: 4px; height: 4px; background: #59616c; }.status-line.error { color: #ff7181; }.status-line.error i { background: #ff4257; }
.capability-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.06); }
.capability-row span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 99px; color: #778596; background: rgba(255,255,255,.018); font-size: 10px; }.capability-row i { width: 5px; height: 5px; border-radius: 50%; background: #5e6e7d; }

.feishu-panel { margin-top: 18px; padding: 0 26px; }
.feishu-panel summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.feishu-panel summary::-webkit-details-marker { display: none; }
.feishu-panel summary > span { display: flex; align-items: baseline; gap: 14px; }
.feishu-panel summary b { font-size: 14px; }.feishu-panel summary small { color: #697481; font-size: 11px; font-weight: 400; }
.feishu-panel summary > i { color: #7f91aa; font-size: 11px; font-style: normal; }
.feishu-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0 0 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.feishu-form label { height: 58px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid var(--line); background: rgba(0,0,0,.18); }
.feishu-form label > span { color: #687380; font-size: 10px; }.feishu-form label input { width: 100%; font-size: 12px; }
.feishu-form .wide { grid-column: 1 / -1; }.feishu-form .feishu-switch { flex-direction: row; align-items: center; justify-content: flex-start; height: 46px; }
.feishu-switch input { accent-color: var(--cyan); }.feishu-form .primary { height: 46px; justify-self: end; }
.feishu-form .filter-switch { border-color: rgba(36,245,210,.2); }
.feishu-form .word-filter-field { height: auto; min-height: 112px; align-items: stretch; }
.word-filter-field textarea { min-height: 72px; resize: vertical; padding: 9px 10px; border: 1px solid var(--line); outline: 0; color: #c5cdd7; background: #0d1116; font: 12px/1.55 "Microsoft YaHei UI", sans-serif; }
.word-filter-field textarea:focus { border-color: rgba(36,245,210,.42); }
.feishu-quality-note { margin: -4px 0 10px; color: #8190a0; font-size: 10px; line-height: 1.6; }
.feishu-status { margin: -4px 0 18px; color: #6f7986; font-size: 11px; }.feishu-status[data-state="error"] { color: #ff7181; }.feishu-status[data-state="synced"], .feishu-status[data-state="ready"] { color: var(--cyan); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.metric { overflow: hidden; background: linear-gradient(145deg, #101722, #0b1017); padding: 17px 21px; position: relative; min-height: 92px; border: 1px solid var(--line); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.02); }
.metric::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 2px; background: #8992a0; opacity: .28; }
.metric.cyan::after { background: var(--cyan); opacity: .8; }.metric.magenta::after { background: var(--magenta); opacity: .8; }.metric.lime::after { background: var(--lime); opacity: .8; }
.metric span { color: #76808d; font-size: 11px; display: block; }.metric strong { display: block; font: 600 27px/1.2 ui-monospace, Consolas, monospace; margin-top: 6px; letter-spacing: -.04em; }.metric small { position: absolute; right: 20px; top: 19px; color: #343b45; font: 8px ui-monospace, monospace; letter-spacing: .15em; }
.metric.cyan strong { color: var(--cyan); }.metric.magenta strong { color: #ff639e; }.metric.lime strong { color: var(--lime); }

.console { min-height: 520px; overflow: hidden; }
.console-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 27px 20px; border-bottom: 1px solid var(--line); }
.console-head .eyebrow { margin: 0 0 7px; color: #65707e; }.console h3 { margin: 0; font-size: 18px; }.console h3 span { color: #596270; font-size: 11px; font-weight: 400; margin-left: 8px; }
.toolbar { display: flex; gap: 8px; align-items: center; }
.search { width: 220px; height: 37px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(0,0,0,.2); padding: 0 11px; }.search svg { width: 16px; }.search input { width: 100%; font-size: 12px; }
.icon-button, .outline { height: 37px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #8993a0; }.icon-button { width: 38px; }.icon-button.active { border-color: var(--amber); color: var(--amber); }
.outline { padding: 0 15px; min-width: 86px; }.outline:hover, .icon-button:hover { border-color: rgba(255,255,255,.22); color: #dce2ea; }
.export-wrap { position: relative; }.export-menu { display: none; position: absolute; z-index: 10; top: 42px; right: 0; width: 130px; border: 1px solid var(--line); background: #14181e; box-shadow: 0 14px 40px rgba(0,0,0,.5); }.export-menu.open { display: block; }.export-menu a { display: block; padding: 11px 14px; color: #aeb6c1; text-decoration: none; font-size: 12px; }.export-menu a:hover { color: var(--cyan); background: rgba(36,245,210,.06); }
.filters { display: flex; gap: 7px; padding: 16px 27px; border-bottom: 1px solid var(--line); }
.filter { border: 1px solid transparent; padding: 7px 11px; background: transparent; color: #727c89; font-size: 12px; }.filter span { color: #3f4752; margin-left: 4px; }.filter:hover { color: #b7bec8; }.filter.active { color: var(--cyan); border-color: rgba(36,245,210,.21); background: rgba(36,245,210,.055); }.filter.active span { color: var(--cyan); }
.history-bar { min-height: 58px; display: flex; align-items: center; gap: 13px; padding: 10px 27px; border-bottom: 1px solid var(--line); background: rgba(36,245,210,.018); }
.history-copy { flex: 1; min-width: 220px; }.history-copy strong, .history-copy span { display: block; }.history-copy strong { font-size: 12px; }.history-copy span { margin-top: 4px; color: #687380; font-size: 10px; }
.history-date { height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); color: #697481; font-size: 11px; }.history-date select { min-width: 118px; color: #c4ccd5; background: #10141a; border: 0; outline: 0; font: inherit; }
.history-backfill { min-width: 188px; color: var(--cyan); border-color: rgba(36,245,210,.25); }.history-backfill:not(:disabled):hover { background: rgba(36,245,210,.06); }
.history-delete { min-width: 112px; color: #ff7c8d; border-color: rgba(255,87,105,.28); }.history-delete:not(:disabled):hover { color: #ff9ba8; background: rgba(255,87,105,.07); }
.live-status-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; padding: 12px 27px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.11); }.live-status-board.hidden { display: none; }
.live-state-card { min-height: 58px; display: grid; grid-template-columns: 9px minmax(120px, .8fr) minmax(150px, 1.2fr); align-items: center; gap: 11px; padding: 9px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.live-state-card > i { width: 8px; height: 8px; border-radius: 50%; background: #68727f; }.live-state-card > div { min-width: 0; }.live-state-card strong, .live-state-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.live-state-card strong { font-size: 12px; }.live-state-card span { margin-top: 4px; color: #7a8592; font-size: 10px; }.live-state-card small { color: #59636f; font-size: 10px; text-align: right; }
.live-state-card.live { border-color: rgba(36,245,210,.24); background: rgba(36,245,210,.035); }.live-state-card.live > i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.5s infinite; }.live-state-card.live span { color: var(--cyan); }
.live-state-card.checking > i { background: var(--amber); animation: pulse 1.2s infinite; }.live-state-card.checking span { color: var(--amber); }
.rooms-bar { display: flex; align-items: center; gap: 13px; min-height: 55px; padding: 10px 27px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.13); }
.rooms-label { flex: 0 0 auto; color: #4f5864; font: 10px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.room-tabs { display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.room-tab { flex: 0 0 auto; height: 32px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.018); color: #78828e; padding: 0 10px; font-size: 11px; }
.room-tab > i { width: 6px; height: 6px; border-radius: 50%; background: #59616c; }
.room-tab[data-state="connected"] > i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.room-tab[data-state="connecting"] > i, .room-tab[data-state="resolving"] > i, .room-tab[data-state="reconnecting"] > i { background: var(--amber); }
.room-tab[data-state="watching"] > i { background: #a984ff; box-shadow: 0 0 8px rgba(169,132,255,.7); }
.room-tab[data-state="checking"] > i { background: #73a7ff; animation: pulse 1.2s infinite; }
.room-tab.active { color: var(--cyan); border-color: rgba(36,245,210,.28); background: rgba(36,245,210,.055); }
.room-tab span { color: #4c5662; font-family: ui-monospace, monospace; }
.room-tab .room-delete { margin-left: 3px; padding-left: 7px; border-left: 1px solid var(--line); color: #69737f; font-size: 10px; line-height: 1; }
.room-tab .room-delete:hover { color: #ff6e80; }
.table-head, .event-row { display: grid; grid-template-columns: 174px 132px 76px minmax(140px, .7fr) minmax(300px, 2.2fr); align-items: center; column-gap: 12px; }
.table-head { color: #49515d; font: 10px ui-monospace, monospace; letter-spacing: .12em; padding: 12px 27px; border-bottom: 1px solid var(--line); }
.event-list { height: 440px; overflow: auto; scrollbar-color: #313943 transparent; contain: layout paint style; }
.event-row { min-height: 52px; padding: 9px 27px; border-bottom: 1px solid rgba(255,255,255,.045); font-size: 13px; contain: layout paint style; content-visibility: auto; contain-intrinsic-size: 52px; }.event-row:hover { background: rgba(255,255,255,.025); }.event-row.hidden { display: none; }
.event-time { display: flex; align-items: center; gap: 7px; color: #5f6976; font: 11px ui-monospace, monospace; white-space: nowrap; }.event-row.historical .event-time::after { content: "历史"; padding: 2px 4px; border: 1px solid rgba(169,132,255,.32); color: #bda5ff; font: 9px/1.1 "Microsoft YaHei UI", sans-serif; }.event-type { width: fit-content; padding: 4px 7px; border: 1px solid currentColor; color: #76808d; font-size: 10px; letter-spacing: .05em; }.event-user { color: #c8ced6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.event-content { color: #8d96a3; overflow-wrap: anywhere; }.event-row[data-type="chat"] .event-type { color: var(--cyan); }.event-row[data-type="gift"] .event-type { color: var(--magenta); }.event-row[data-type="like"] .event-type { color: #ffca55; }.event-row[data-type="member"] .event-type { color: #77a9ff; }.event-row[data-type="social"] .event-type, .event-row[data-type="fansclub"] .event-type { color: var(--lime); }.event-row[data-type="lifecycle"] { background: rgba(169,132,255,.04); }.event-row[data-type="lifecycle"] .event-type { color: #bda5ff; }
.event-room { color: #65707d; font: 10px ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { height: 100%; min-height: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #4f5864; }.empty-state strong { color: #7c8693; font-size: 14px; margin-top: 16px; }.empty-state span { font-size: 12px; margin-top: 7px; }
.radar { width: 72px; height: 72px; border: 1px solid #26303a; border-radius: 50%; position: relative; background: radial-gradient(circle, transparent 31%, #202932 32%, transparent 34%, transparent 64%, #202932 65%, transparent 67%); overflow: hidden; }.radar::before, .radar::after { content: ""; position: absolute; background: #202932; }.radar::before { width: 1px; height: 100%; left: 50%; }.radar::after { height: 1px; width: 100%; top: 50%; }.radar i { position: absolute; width: 50%; height: 50%; left: 50%; top: 0; transform-origin: 0 100%; background: linear-gradient(35deg, rgba(36,245,210,.2), transparent 70%); animation: scan 2.7s linear infinite; }.radar b { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); left: 49px; top: 25px; box-shadow: 0 0 10px var(--cyan); animation: blink 1.4s infinite; }
.analytics-panel { padding: 28px; min-height: 680px; }
.analytics-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 4px 2px 24px; border-bottom: 1px solid var(--line); }
.analytics-head .eyebrow { margin-bottom: 8px; }.analytics-head h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }.analytics-head p { max-width: 650px; margin: 8px 0 0; color: #74808e; font-size: 12px; line-height: 1.65; }
.analytics-controls { display: flex; align-items: flex-end; gap: 9px; }
.analytics-controls label { display: flex; flex-direction: column; gap: 7px; color: #687481; font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.analytics-controls select { min-width: 132px; height: 40px; padding: 0 30px 0 11px; color: #c9d2dc; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #0b1118; font: 11px inherit; }
.analytics-controls label:nth-child(2) select { min-width: 175px; }
.analytics-controls .primary { height: 40px; min-width: 110px; border-radius: 9px; padding: 0 16px; font-size: 11px; }
.analytics-loading { min-height: 430px; display: grid; place-items: center; color: #687481; font-size: 12px; }
.analytics-content.hidden { display: none; }
.analytics-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 0; }
.analytics-metrics article { position: relative; min-height: 104px; padding: 18px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, rgba(17,25,36,.96), rgba(10,15,22,.96)); }
.analytics-metrics article::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; width: 42%; background: #728091; opacity: .45; }.analytics-metrics article.quality::after { background: var(--cyan); opacity: .85; }.analytics-metrics article.intent::after { background: var(--magenta); opacity: .85; }
.analytics-metrics span { display: block; color: #74808d; font-size: 11px; }.analytics-metrics strong { display: block; margin-top: 9px; color: #edf5fb; font: 600 29px/1 ui-monospace, Consolas, monospace; }.analytics-metrics small { position: absolute; right: 18px; top: 19px; color: #46515f; font-size: 8px; letter-spacing: .08em; }.analytics-metrics .quality strong { color: var(--cyan); }.analytics-metrics .intent strong { color: var(--magenta); }
.analytics-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.insight-card { min-height: 310px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 13px; background: #0c121a; }
.insight-card > header { min-height: 40px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.055); }.insight-card header strong, .insight-card header span { display: block; }.insight-card header strong { font-size: 13px; }.insight-card header span { margin-top: 5px; color: #5f6b79; font-size: 9px; }.insight-card header > small { color: var(--cyan); font: 9px ui-monospace, monospace; }
.trend-chart { height: 222px; display: grid; grid-template-columns: repeat(12, minmax(18px, 1fr)); align-items: end; gap: 8px; padding-top: 24px; }
.trend-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; min-width: 0; }.trend-bar i { display: block; width: min(24px, 76%); min-height: 3px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #4eead3, rgba(53,231,206,.3)); box-shadow: 0 0 14px rgba(53,231,206,.08); }.trend-bar b { color: #9eabb8; font: 8px ui-monospace, monospace; }.trend-bar span { color: #4f5b68; font: 8px ui-monospace, monospace; white-space: nowrap; }
.rank-list { padding-top: 12px; }.rank-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 23px; }.rank-item > i { color: #4d5967; font: 9px ui-monospace, monospace; font-style: normal; }.rank-item > div { min-width: 0; }.rank-item span { display: block; overflow: hidden; color: #aab4bf; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.rank-item em { display: block; height: 2px; margin-top: 4px; background: linear-gradient(90deg, var(--cyan), rgba(53,231,206,.08)); }.rank-item b { color: #63707e; font: 9px ui-monospace, monospace; }
.topic-list { display: grid; gap: 8px; padding-top: 12px; }.topic-item { padding: 9px 10px; border: 1px solid rgba(255,255,255,.05); border-radius: 8px; background: rgba(255,255,255,.016); }.topic-head { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; }.topic-head > i { color: #4d5967; font: 9px ui-monospace, monospace; font-style: normal; }.topic-head > span { overflow: hidden; color: #c5d0da; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.topic-head > em { color: #5f6b79; font: 9px ui-monospace, monospace; font-style: normal; white-space: nowrap; }.topic-head > b { color: var(--cyan); font: 11px ui-monospace, monospace; }.topic-samples { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: #6c7887; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.quality-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 16px 0; }.quality-list > div { padding: 11px; border: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.018); }.quality-list span, .quality-list strong { display: block; }.quality-list span { color: #64717f; font-size: 9px; }.quality-list strong { margin-top: 7px; color: #c9d3dc; font: 15px ui-monospace, monospace; }
.length-distribution { display: flex; height: 7px; margin: 0 0 14px; overflow: hidden; border-radius: 7px; background: #1a232d; }.length-distribution i { min-width: 2px; height: 100%; }.length-distribution i:nth-child(1) { background: #35e7ce; }.length-distribution i:nth-child(2) { background: #8f72ff; }.length-distribution i:nth-child(3) { background: #ff5b9e; }
.room-share-list { display: grid; gap: 7px; }.room-share { display: grid; grid-template-columns: minmax(80px, 1fr) 2fr auto; align-items: center; gap: 9px; }.room-share span { overflow: hidden; color: #788594; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.room-share i { height: 4px; border-radius: 3px; background: #202b36; overflow: hidden; }.room-share i::after { content: ""; display: block; width: var(--share); height: 100%; background: #8e75ff; }.room-share b { color: #576473; font: 8px ui-monospace, monospace; }
.intent-list { display: grid; gap: 11px; padding-top: 16px; }.intent-item { display: grid; grid-template-columns: 86px 1fr 46px; align-items: center; gap: 10px; }.intent-item span { color: #84909d; font-size: 10px; }.intent-item i { height: 7px; overflow: hidden; border-radius: 6px; background: #1b2530; }.intent-item i::after { content: ""; display: block; width: var(--intent); height: 100%; background: linear-gradient(90deg, #8f72ff, #d260ff); }.intent-item b { color: #9d8cff; font: 9px ui-monospace, monospace; text-align: right; }
.recommendation-list { display: grid; gap: 9px; margin: 15px 0 0; padding: 0; list-style: none; counter-reset: advice; }.recommendation-list li { position: relative; padding: 9px 10px 9px 34px; color: #929eaa; border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.016); font-size: 10px; line-height: 1.55; counter-increment: advice; }.recommendation-list li::before { content: counter(advice); position: absolute; left: 10px; top: 9px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: #08110f; background: var(--cyan); font: 8px ui-monospace, monospace; }
.question-block { margin-top: 14px; }.question-block > span { color: #566371; font-size: 9px; }.question-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }.question-list span { max-width: 100%; overflow: hidden; padding: 5px 8px; color: #9ba7b3; border: 1px solid rgba(53,231,206,.11); border-radius: 99px; background: rgba(53,231,206,.025); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.talk-script-panel { grid-column: 1 / -1; margin-top: 10px; padding: 22px; border: 1px solid rgba(53,231,206,.16); border-radius: 14px; background: linear-gradient(145deg, rgba(15,27,35,.98), rgba(10,16,24,.98)); }
.talk-script-panel > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.talk-script-panel .eyebrow { margin-bottom: 6px; }.talk-script-panel h3 { margin: 0; font-size: 17px; }.talk-script-panel header p { margin: 6px 0 0; color: #667482; font-size: 10px; }
.auto-script { display: flex; align-items: center; gap: 8px; color: #8c9aa8; font-size: 10px; }.auto-script input { accent-color: var(--cyan); }
.talk-settings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 17px; }.talk-settings label { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #090f16; }.talk-settings span { color: #5e6b79; font-size: 9px; }.talk-settings input { width: 100%; color: #c7d1dc; font-size: 11px; }.talk-settings input::placeholder { color: #3f4a56; }
.talk-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }.talk-actions .primary { height: 38px; min-width: 142px; padding: 0 15px; font-size: 10px; }.talk-actions .outline { height: 38px; }.talk-actions > span { margin-left: auto; color: #52606e; font-size: 9px; }
.talk-script-panel textarea { width: 100%; min-height: 230px; margin-top: 10px; padding: 16px 18px; resize: vertical; color: #b9c6d1; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #080d13; font: 12px/1.85 "Microsoft YaHei UI", sans-serif; }
.talk-script-panel textarea:focus { border-color: rgba(53,231,206,.3); }
.analytics-empty { min-height: 190px; display: grid; place-items: center; color: #596674; font-size: 11px; }
.analytics-updated { margin: 14px 2px 0; color: #4d5966; font-size: 9px; text-align: right; }
.transcript-panel { padding: 28px; min-height: 680px; }
.transcript-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }.transcript-head .eyebrow { margin-bottom: 8px; }.transcript-head h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }.transcript-head p { max-width: 610px; margin: 8px 0 0; color: #74808e; font-size: 12px; }
.transcript-actions { display: flex; align-items: flex-end; gap: 8px; }.transcript-actions label { display: flex; flex-direction: column; gap: 6px; color: #63707e; font-size: 9px; }.transcript-actions select { min-width: 170px; height: 40px; padding: 0 10px; color: #c9d2dc; border: 1px solid var(--line); border-radius: 9px; background: #0b1118; }.transcript-actions .primary, .transcript-actions .outline { height: 40px; min-width: 90px; border-radius: 9px; padding: 0 14px; font-size: 10px; }
.capture-guide { display: flex; align-items: center; gap: 13px; margin: 16px 0 10px; padding: 11px 13px; border: 1px solid rgba(255,191,75,.13); border-radius: 9px; background: rgba(255,191,75,.025); }.capture-guide strong { flex: 0 0 auto; color: var(--amber); font-size: 10px; }.capture-guide span { color: #778390; font-size: 10px; line-height: 1.6; }
.capture-guide.auto { border-color: rgba(53,231,206,.18); background: rgba(53,231,206,.035); }.capture-guide.auto strong { color: var(--cyan); }
.auto-transcript-board { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 8px; margin: 10px 0; }.auto-transcript-card { min-width: 0; display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #0a1017; }.auto-transcript-card > i { width: 7px; height: 7px; border-radius: 50%; background: #586574; }.auto-transcript-card > div { min-width: 0; }.auto-transcript-card strong,.auto-transcript-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.auto-transcript-card strong { color: #b8c4cf; font-size: 10px; }.auto-transcript-card span { margin-top: 4px; color: #687583; font-size: 9px; }.auto-transcript-card small { color: #54616e; font: 8px ui-monospace,monospace; white-space: nowrap; }.auto-transcript-card.active { border-color: rgba(53,231,206,.23); background: rgba(53,231,206,.035); }.auto-transcript-card.active > i { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); animation: pulse 1.4s infinite; }.auto-transcript-card.retrying > i,.auto-transcript-card.unavailable > i { background: #ff5b70; }.auto-transcript-empty { grid-column: 1/-1; padding: 18px; color: #596675; border: 1px dashed var(--line); border-radius: 10px; text-align: center; font-size: 10px; }
.transcript-status-row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 3px 15px; color: #64717f; font-size: 10px; }.transcript-status-row > span:first-child { display: inline-flex; align-items: center; gap: 7px; }.transcript-status-row i { width: 7px; height: 7px; border-radius: 50%; background: #586574; }.transcript-status-row [data-state="recording"] { color: var(--cyan); }.transcript-status-row [data-state="recording"] i { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); animation: pulse 1.4s infinite; }.transcript-status-row [data-state="error"] { color: #ff7181; }.transcript-status-row [data-state="error"] i { background: #ff5b70; }
.transcript-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.live-transcript-card, .transcript-history-card { min-height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #0a1017; }.live-transcript-card > header, .transcript-history-card > header { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }.live-transcript-card header strong, .transcript-history-card header strong { font-size: 12px; }.live-transcript-card header span { color: #3f4c59; font: 8px ui-monospace, monospace; letter-spacing: .15em; }.transcript-history-card header button { border: 0; color: #596675; background: none; font-size: 9px; }.transcript-history-card header button:hover { color: #aeb8c3; }
.transcript-live { height: 292px; overflow-y: auto; padding: 15px; }.transcript-live p { margin: 0; color: #596675; font-size: 11px; line-height: 1.7; }.transcript-live .speech-line { margin: 0 0 10px; padding: 10px 12px; color: #b8c4cf; border-left: 2px solid var(--cyan); background: rgba(53,231,206,.025); font-size: 12px; line-height: 1.7; }.speech-line time { display: block; margin-bottom: 4px; color: #4e5c69; font: 8px ui-monospace, monospace; }
.transcript-interim { min-height: 48px; padding: 10px 16px; color: #72808d; border-top: 1px solid var(--line); font-size: 11px; font-style: italic; }
.transcript-head { flex-wrap: wrap; }
.transcript-actions { flex-wrap: wrap; }
.transcript-actions input { height: 40px; padding: 0 10px; color: #c9d2dc; border: 1px solid var(--line); border-radius: 9px; background: #0b1118; color-scheme: dark; }
.auto-transcript-board { grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); }
.auto-transcript-card small { display: block; margin-top: 7px; white-space: normal; line-height: 1.6; color: #8594a5; font-size: 10px; }
.auto-transcript-card strong { font-size: 12px; }
.auto-transcript-card span { font-size: 11px; }
.auto-transcript-card.paused { border-color: #8d713d; background: rgba(255,194,87,.035); }
.auto-transcript-card.paused > i, .transcript-status-row [data-state="paused"] i { background: #f3c675; animation: none; }
.transcript-status-row [data-state="paused"] { color: #f3c675; }
.transcript-toggle { border: 1px solid #3c4b5c; border-radius: 8px; background: #17212c; color: #d8e3ec; padding: 7px 11px; white-space: nowrap; font-size: 12px; }
.transcript-toggle:hover { border-color: var(--cyan); }
.transcript-history-actions { display: flex; gap: 12px; }
.transcript-history-card header .danger-text { color: #f3939e; }
.transcript-list .transcript-item { grid-template-columns: 94px minmax(0,1fr) 36px; }
.transcript-remove { align-self: start; padding: 3px 0; background: none; border: none; color: #ed8c99; font-size: 11px; }
.transcript-remove:hover { color: #ffd0d8; }
.transcript-list .transcript-item p { font-size: 12px; }
.transcript-list { height: 342px; overflow-y: auto; }.transcript-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,.045); }.transcript-item time { color: #53616f; font: 8px/1.5 ui-monospace, monospace; }.transcript-item strong, .transcript-item p { display: block; margin: 0; }.transcript-item strong { color: #788694; font-size: 9px; }.transcript-item p { margin-top: 4px; color: #aab5c0; font-size: 11px; line-height: 1.6; }.transcript-empty { min-height: 260px; display: grid; place-items: center; color: #4d5a67; font-size: 10px; }
.manual-transcript { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 10px; }.manual-transcript label { display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #090f16; }.manual-transcript label span { color: #5e6b79; font-size: 9px; }.manual-transcript textarea { min-height: 70px; resize: vertical; color: #bdc8d2; border: 0; outline: 0; background: transparent; font: 11px/1.6 inherit; }.manual-transcript .primary { align-self: stretch; height: auto; min-width: 110px; }
.manual-capture-fallback { margin-top: 10px; color: #64717f; border: 1px solid var(--line); border-radius: 10px; background: #090f16; font-size: 10px; }.manual-capture-fallback summary { padding: 12px 14px; cursor: pointer; }.manual-capture-fallback > div { display: flex; gap: 8px; padding: 0 14px 14px; }.manual-capture-fallback button { height: 36px; }
footer { display: flex; justify-content: space-between; color: #444c57; font-size: 10px; padding: 18px 3px; }
.toast { position: fixed; right: 28px; bottom: 28px; max-width: 420px; padding: 13px 17px; border-radius: 12px; background: #18202a; border: 1px solid rgba(255,87,105,.45); color: #ff9aaa; font-size: 12px; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s; box-shadow: 0 15px 50px rgba(0,0,0,.5); }.toast.show { transform: translateY(0); opacity: 1; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 3px var(--cyan); } }
@keyframes scan { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 1180px) { .shell { width: calc(100% - 28px); }.topbar { grid-template-columns: auto 1fr auto; }.module-nav { justify-self: center; }.hero { padding: 28px; }.console-head { align-items: flex-start; gap: 18px; }.toolbar { flex-wrap: wrap; justify-content: flex-end; }.search { width: 190px; } }
@media (max-width: 860px) {
  .shell { width: calc(100% - 20px); }
  .topbar { min-height: 68px; }
  .topbar { grid-template-columns: 1fr auto; padding: 11px 0; row-gap: 9px; }
  .module-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: center; }
  .module-nav > button { flex: 1; justify-content: center; }
  .brand p { display: none; }
  .hero { padding: 24px 20px 20px; }
  .hero::after { display: none; }
  .hero h2 { font-size: 32px; }
  .connect-form { display: grid; grid-template-columns: 1fr 1fr; }
  .input-wrap { grid-column: 1 / -1; min-width: 0; }
  .connect-form .primary, .connect-form .secondary { min-width: 0; padding: 0 12px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .console-head { padding: 20px; flex-direction: column; }
  .toolbar { width: 100%; justify-content: flex-start; }
  .search { flex: 1; }
  .filters, .rooms-bar, .live-status-board { padding-left: 20px; padding-right: 20px; overflow-x: auto; }
  .history-bar { align-items: stretch; flex-wrap: wrap; padding: 12px 20px; }
  .history-copy { flex-basis: 100%; }
  .table-head, .event-row { min-width: 850px; }
  .event-list, .console { overflow-x: auto; }
  .analytics-head { align-items: stretch; flex-direction: column; }.analytics-controls { flex-wrap: wrap; }.analytics-controls label { flex: 1; }.analytics-controls select { width: 100%; }.analytics-metrics { grid-template-columns: repeat(2, 1fr); }.analytics-grid { grid-template-columns: 1fr; }.trend-chart { gap: 4px; }
  .talk-settings { grid-template-columns: repeat(2, 1fr); }.talk-script-panel > header { align-items: flex-start; flex-direction: column; }.talk-actions { flex-wrap: wrap; }.talk-actions > span { width: 100%; margin-left: 0; }
  .transcript-head { align-items: stretch; flex-direction: column; }.transcript-actions { flex-wrap: wrap; }.transcript-actions label { flex: 1 1 100%; }.transcript-actions select { width: 100%; }.transcript-workspace { grid-template-columns: 1fr; }.manual-transcript { grid-template-columns: 1fr; }.manual-transcript .primary { min-height: 42px; }
  footer { flex-direction: column; gap: 6px; }
}

/* Speech studio: reading and editing are separated from the raw transcript stream. */
.transcript-panel [hidden] { display: none !important; }
.speech-monitor-controls, .speech-settings { margin: 14px 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #0c131c; }
.speech-monitor-controls summary, .speech-settings summary { cursor: pointer; font-size: 12px; color: #a8b8c9; }
.speech-tabs, .speech-button-row, .speech-filters { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.speech-tabs { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speech-tabs button, .speech-block button, .speech-editor header button { padding: 9px 13px; border: 1px solid #2b3c4e; border-radius: 8px; color: #c3cfdd; background: #131f2c; font-size: 12px; cursor: pointer; }
.speech-tabs button.active { color: var(--cyan); border-color: #287266; background: #12302f; }
.speech-tabs #speechRefresh { margin-left: auto; }
.speech-note { color: #8f9db0; font-size: 12px; line-height: 1.8; }
.speech-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.speech-settings-grid label, .speech-editor label, .speech-filters label { display: flex; flex-direction: column; gap: 8px; color: #a5b6c9; font-size: 12px; }
.speech-wide { grid-column: 1 / -1; }
.speech-settings-grid textarea, .speech-settings-grid input, .speech-editor input, .speech-editor textarea, .speech-filters input, .speech-filters select { width: 100%; padding: 10px 12px; border: 1px solid #2b3c4e; border-radius: 8px; background: #080f18; color: #d9e3f0; font-family: inherit; font-size: 13px; line-height: 1.8; }
.speech-settings-grid textarea, .speech-editor textarea { resize: vertical; font-family: inherit; font-size: 13px; line-height: 1.85; }
.speech-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 22px 0 14px; }
.speech-metrics > div { padding: 18px; border: 1px solid #26384a; border-radius: 12px; background: linear-gradient(120deg,#122230,#101824); }
.speech-metrics span { display: block; color: #9fb2c6; font-size: 11px; }.speech-metrics strong { display: block; margin-top: 8px; font: 28px/1.2 ui-monospace,monospace; color: #e0eaf4; }
.speech-review { border-left: 2px solid #367969; padding: 12px 16px; background: #101c26; border-radius: 0 10px 10px 0; margin-bottom: 18px; }
.speech-review ul { margin: 8px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.9; color: #b3c3d3; }
.speech-category-summary { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #a7bbcf; font-size: 12px; }.speech-category-summary b { margin-left: 4px; color: #70d5c6; }
.speech-filters { margin: 18px 0; align-items: flex-end; }.speech-filters label:last-child { flex: 1; min-width: 190px; }
.speech-blocks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.speech-block { min-width: 0; padding: 22px; border: 1px solid #26384a; border-radius: 14px; background: #0d1621; }
.speech-block header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.speech-block header strong { font-size: 15px; color: #e0e9f4; }.speech-block small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.7; color: #8d9daf; }
.speech-badge { flex-shrink: 0; border: 1px solid #305950; border-radius: 6px; padding: 5px 7px; color: #8ecbbd; font-size: 10px; }.speech-badge.pending { color: #e3ba74; border-color: #6b5739; }
.speech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }.speech-tags span { padding: 4px 8px; border-radius: 5px; background: #1c2c3f; color: #a7c7e8; font-size: 11px; }
.speech-paragraph { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; font-size: 14px; line-height: 1.95; color: #d0dce9; }
.speech-checks { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }.speech-checks span { color: #d7b780; background: #30271a; border-radius: 4px; padding: 4px 7px; font-size: 10px; }
.speech-risk { padding: 12px; background: #332127; border-radius: 8px; color: #edb4bb; font-size: 12px; line-height: 1.7; margin: 10px 0; }.speech-risk p { margin: 5px 0 0; }
.speech-block details { margin: 14px 0; border-top: 1px solid #243244; padding-top: 12px; }.speech-block summary { color: #99b2c9; font-size: 12px; cursor: pointer; }
.speech-fragment { padding: 12px 0; border-bottom: 1px solid #223043; }.speech-fragment p { color: #bfcddb; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.speech-question { color: #b3c9df; font-size: 12px; line-height: 1.8; }
.speech-block .speech-button-row { margin-top: 16px; }.speech-block .primary { color: #091d1a; background: #71d9c4; border-color: #71d9c4; }
.speech-empty { grid-column: 1/-1; padding: 40px 22px; border: 1px dashed #304152; border-radius: 12px; text-align: center; color: #99aec2; font-size: 13px; line-height: 1.8; }
.audience-review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }.audience-review-grid>section{padding:14px;border:1px solid #27394b;border-radius:10px}.audience-review-grid h4{margin:0 0 10px}.audience-review-grid article{padding:10px 0;border-top:1px solid #253649}.audience-review-grid article:first-of-type{border-top:0}.audience-review-grid article span{display:block;margin-top:4px;font-size:11px}.audience-review-grid article p{margin:6px 0 0;font-size:12px;line-height:1.7}
.audience-impact{margin:14px 0;padding:13px 15px;border-left:3px solid #70849a;border-radius:7px;background:#111d28}.audience-impact>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.audience-impact strong{font-size:13px}.audience-impact span,.audience-impact small{font-size:10px;color:#90a3b6}.audience-impact p{margin:7px 0 4px;font-size:12px;line-height:1.75}.audience-impact.rise{border-color:#42a77f}.audience-impact.fall{border-color:#cf727e}.audience-impact.insufficient{opacity:.78}.speech-product-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:20px 0}.speech-product-head h3{margin:0}.speech-product-head p{margin:5px 0 0}.speech-product-head label{display:flex;flex-direction:column;gap:7px;min-width:280px;font-size:12px}.speech-product-head input{padding:10px 12px;border:1px solid #2b3c4e;border-radius:8px;background:#080f18;color:#d9e3f0}.speech-badge.rise{color:#60b893;border-color:#60b893}.speech-badge.fall{color:#cf727e;border-color:#cf727e}
.speech-editor { border: 1px solid #4c9281; padding: 22px; border-radius: 14px; background: #12212c; margin: 18px 0; }.speech-editor header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.speech-editor h3 { margin: 0; font-size: 18px; }.speech-editor label { margin: 13px 0; }.speech-editor label.speech-checkbox { flex-direction: row; align-items: center; }.speech-checkbox input { width: auto; }
#speechMore { margin-top: 20px; }
@media (max-width: 1150px) { .speech-blocks { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .speech-settings-grid { grid-template-columns: 1fr; }.speech-metrics { grid-template-columns: repeat(2,1fr); }.speech-block { padding: 16px; }.speech-block header { flex-direction: column; }.speech-tabs #speechRefresh { margin-left: 0; }.audience-review-grid{grid-template-columns:1fr}.speech-product-head{align-items:stretch;flex-direction:column}.speech-product-head label{min-width:0} }
}
