/* Voice page — same look as the web application's sign-in (demo-v2/src/polished/polished-workspaces.css). */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.l1p-react-workspaces {
  --l1p-bg: light-dark(#f4f6f8, #07131d);
  --l1p-shell: light-dark(#0f1b2a, #030b12);
  --l1p-surface: light-dark(#ffffff, #0b1a25);
  --l1p-surface-raised: light-dark(#ffffff, #102431);
  --l1p-surface-soft: light-dark(#f7f9fa, #0c202d);
  --l1p-text: light-dark(#161e2d, #edf4f7);
  --l1p-muted: light-dark(#5f6b7a, #a9bac5);
  --l1p-faint: light-dark(#7d8998, #78909d);
  --l1p-line: light-dark(#d5dbdb, #28404e);
  --l1p-line-soft: light-dark(#e9ebed, #1a3442);
  --l1p-accent: light-dark(#0073bb, #44c6c3);
  --l1p-accent-soft: light-dark(#eaf5fb, #0c3139);
  --l1p-accent-strong: light-dark(#005f99, #77e4df);
  --l1p-green: light-dark(#037f0c, #5bd18b);
  --l1p-green-soft: light-dark(#ebf8ec, #0c2c25);
  --l1p-amber: light-dark(#8d6605, #ffcb6b);
  --l1p-amber-soft: light-dark(#fff8e1, #312715);
  --l1p-red: light-dark(#d13212, #ff7b72);
  --l1p-red-soft: light-dark(#fff0ed, #371b1c);
  --l1p-blue: light-dark(#006ce0, #73b7ff);
  --l1p-shadow: light-dark(0 8px 24px rgba(15, 27, 42, 0.08), 0 18px 42px rgba(0, 0, 0, 0.24));
  box-sizing: border-box;
  color-scheme: light dark;
  color: var(--l1p-text);
  background: var(--l1p-bg);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.l1p-react-workspaces *, .l1p-react-workspaces *::before, .l1p-react-workspaces *::after { box-sizing: border-box; }
.l1p-react-workspaces button, .l1p-react-workspaces input, .l1p-react-workspaces select { color: inherit; font: inherit; }
.l1p-react-workspaces h1, .l1p-react-workspaces h2, .l1p-react-workspaces p { margin-top: 0; }
.l1p-react-workspaces h1 { font-weight: 700; }
.l1p-react-workspaces h2 { font-weight: 700; }
.l1p-defs { position: absolute; }
[hidden] { display: none !important; }

.l1p-stable-icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Sign-in (copied) ---- */
.l1p-login-shell { display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(420px, 0.92fr); min-height: 100vh; background: var(--l1p-bg); }
.l1p-login-brand-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(32px, 5vw, 72px); background: radial-gradient(circle at 18% 16%, rgba(68, 198, 195, 0.2), transparent 24rem), var(--l1p-shell); color: #edf4f7; }
.l1p-login-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.l1p-login-brand > span, .l1p-login-mobile-brand > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #67e1db; color: #07131d; }
.l1p-login-brand .l1p-stable-icon, .l1p-login-mobile-brand .l1p-stable-icon { width: 19px; height: 19px; }
.l1p-login-introduction { width: min(100%, 650px); margin: auto 0; }
.l1p-login-kicker, .l1p-login-eyebrow { margin-bottom: 12px; color: #67e1db; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.l1p-login-eyebrow { color: var(--l1p-accent); }
.l1p-login-introduction h1 { max-width: 620px; margin-bottom: 18px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; }
.l1p-login-introduction > p:last-child { max-width: 600px; color: #b9c8d2; font-size: 17px; }
.l1p-login-capabilities { display: grid; gap: 14px; margin-top: 34px; }
.l1p-login-capabilities > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.l1p-login-capabilities > div > span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(103, 225, 219, 0.35); border-radius: 7px; color: #67e1db; }
.l1p-login-capabilities p, .l1p-login-capabilities small { display: block; margin: 0; }
.l1p-login-capabilities small { margin-top: 2px; color: #9fb2bd; font-size: 13px; }
.l1p-login-brand-note { margin: 32px 0 0; color: #89a0ad; font-size: 12px; }
.l1p-login-form-panel { display: grid; place-items: center; padding: 32px; }
.l1p-login-card { width: min(100%, 470px); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--l1p-line); border-radius: 12px; background: var(--l1p-surface); box-shadow: var(--l1p-shadow); }
.l1p-login-mobile-brand { display: none; }
.l1p-login-card h2 { margin-bottom: 8px; font-size: 28px; }
.l1p-login-description { margin-bottom: 26px; color: var(--l1p-muted); }
.l1p-login-field { margin-bottom: 17px; }
.l1p-login-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.l1p-login-field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--l1p-line); border-radius: 6px; outline: none; background: var(--l1p-surface); }
.l1p-login-field input:focus { border-color: var(--l1p-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--l1p-accent) 24%, transparent); }
.l1p-login-error { display: grid; gap: 3px; padding: 12px 13px; margin: 5px 0 16px; border-left: 3px solid var(--l1p-red); background: var(--l1p-red-soft); color: var(--l1p-red); font-size: 13px; }
.l1p-login-submit { width: 100%; min-height: 44px; border: 1px solid var(--l1p-accent); border-radius: 6px; background: var(--l1p-accent); color: #ffffff !important; -webkit-text-fill-color: #ffffff; font-weight: 700; cursor: pointer; }
.l1p-login-submit:disabled { cursor: not-allowed; opacity: 0.5; }
.l1p-login-assurance { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--l1p-muted); font-size: 12px; }
.l1p-login-assurance .l1p-stable-icon { color: var(--l1p-green); }

/* ---- Conversation, same theme ---- */
.l1v-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--l1p-bg); }
.l1v-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: var(--l1p-shell); color: #edf4f7; }
.l1v-mode { margin-left: 4px; padding: 2px 8px; border: 1px solid rgba(103, 225, 219, 0.45); border-radius: 999px; color: #67e1db; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.l1v-top-actions { display: flex; align-items: center; gap: 14px; }
.l1v-who { color: #b9c8d2; font-size: 13px; }
.l1v-select { min-height: 34px; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 6px; background: transparent; color: #edf4f7; }
.l1v-select option { color: #161e2d; }
.l1v-link { border: 0; background: none; color: #67e1db; font-weight: 700; cursor: pointer; padding: 4px; }
.l1v-card { width: min(100%, 640px); margin: clamp(20px, 5vh, 56px) auto; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--l1p-line); border-radius: 12px; background: var(--l1p-surface); box-shadow: var(--l1p-shadow); }
.l1v-card h2 { margin-bottom: 8px; font-size: 26px; }
.l1v-talk { display: flex; width: 100%; min-height: 96px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--l1p-accent); border-radius: 12px; background: var(--l1p-accent); color: #ffffff; font-size: 24px; font-weight: 700; cursor: pointer; transition: background 0.15s ease; }
.l1v-talk .l1p-stable-icon { width: 26px; height: 26px; }
.l1v-talk[data-state="listening"] { background: var(--l1p-red); border-color: var(--l1p-red); animation: l1v-pulse 1.2s ease-in-out infinite; }
.l1v-talk[data-state="speaking"] { background: var(--l1p-amber); border-color: var(--l1p-amber); }
.l1v-talk[data-state="thinking"] { background: var(--l1p-muted); border-color: var(--l1p-muted); cursor: default; }
.l1v-talk:focus-visible, .l1p-login-submit:focus-visible, .l1v-link:focus-visible, .l1v-select:focus-visible { outline: 3px solid color-mix(in srgb, var(--l1p-accent) 60%, transparent); outline-offset: 2px; }
@keyframes l1v-pulse { 50% { filter: brightness(1.12); } }
.l1v-status { margin: 14px 0 6px; min-height: 1.5em; font-weight: 700; }
.l1v-status[data-kind="listening"] { color: var(--l1p-red); }
.l1v-status[data-kind="waiting"] { color: var(--l1p-accent-strong); }
.l1v-status[data-kind="busy"] { color: var(--l1p-muted); }
.l1v-status[data-kind="error"] { color: var(--l1p-red); }
.l1v-text { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--l1p-line-soft); }
.l1v-text dt { margin-top: 10px; color: var(--l1p-faint); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.l1v-text dd { margin: 4px 0 0; min-height: 1.4em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1120px) { .l1p-login-shell { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .l1p-login-shell { display: block; }
  .l1p-login-brand-panel { display: none; }
  .l1p-login-form-panel { min-height: 100vh; padding: 20px; }
  .l1p-login-mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
  .l1v-top { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .l1p-login-form-panel { padding: 0; }
  .l1p-login-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .l1v-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .l1v-talk[data-state="listening"] { animation: none; } .l1v-talk { transition: none; } }
