:root { color-scheme: light; --bg: #eef2f6; --ink: #101820; --muted: #5f6f7a; --line: #cfdae5; --panel: #ffffff; --panel-2: #f6f8fb; --green: #0f8f61; --green-dark: #08734d; --blue: #1f6feb; --coral: #d9563f; --amber: #b7791f; --shadow: 0 18px 48px rgba(16, 24, 32, 0.12); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } body { min-height: 100vh; margin: 0; background: linear-gradient(180deg, rgba(238, 242, 246, 0.94), rgba(226, 234, 241, 0.98)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23c4d1dc' stroke-opacity='.45'%3E%3Cpath d='M0 40h160M0 80h160M0 120h160M40 0v160M80 0v160M120 0v160'/%3E%3C/g%3E%3C/svg%3E"); color: var(--ink); } button { min-width: 112px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: transform 140ms ease, border-color 140ms ease, background 140ms ease; } button:hover:not(:disabled) { transform: translateY(-1px); border-color: #9fb1c0; } button:disabled { cursor: not-allowed; opacity: 0.48; } button.primary { border-color: var(--green); background: var(--green); color: #fff; } .shell { width: min(1120px, calc(100vw - 32px)); margin: 0 auto; padding: 32px 0; } .workspace { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); background: var(--panel-2); } .eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; } h1 { margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: 0; } .status-pill { min-width: 116px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; } .status-pill.live { border-color: rgba(15, 143, 97, 0.32); background: rgba(15, 143, 97, 0.11); color: var(--green-dark); } .status-pill.busy { border-color: rgba(31, 111, 235, 0.3); background: rgba(31, 111, 235, 0.1); color: var(--blue); } .status-pill.error { border-color: rgba(217, 86, 63, 0.35); background: rgba(217, 86, 63, 0.12); color: var(--coral); } .stage { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); } #waveform { display: block; width: 100%; height: clamp(160px, 25vw, 240px); border: 1px solid #c8d6df; border-radius: 8px; background: #101820; } .meter-row { display: grid; grid-template-columns: 42px minmax(120px, 1fr) 72px; align-items: center; gap: 12px; margin-top: 14px; } .meter-label { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; } .level-track { height: 10px; overflow: hidden; border-radius: 999px; background: #dbe5ed; } .level-fill { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--amber), var(--coral)); transition: width 80ms linear; } .controls { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); } .transcript { min-height: 260px; max-height: 44vh; overflow-y: auto; padding: 20px 24px 24px; background: #fbfcfd; } .messages { display: grid; gap: 12px; } .line { max-width: 82%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; line-height: 1.45; white-space: pre-wrap; } .line.system { max-width: none; margin-bottom: 14px; border-color: #d8dde3; background: #eef4f8; color: var(--muted); } .line.user { justify-self: start; border-color: rgba(15, 143, 97, 0.26); background: rgba(15, 143, 97, 0.08); } .line.assistant { justify-self: end; border-color: rgba(31, 111, 235, 0.24); background: rgba(31, 111, 235, 0.08); } @media (max-width: 680px) { .shell { width: 100%; padding: 0; } .workspace { min-height: 100vh; border-width: 0; border-radius: 0; } .topbar { align-items: flex-start; flex-direction: column; } .status-pill { width: 100%; } .controls button { flex: 1 1 0; min-width: 0; } .line { max-width: 94%; } }