@font-face { font-family: Inter; src: url('/static/vendor/Inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #03060b; color: #f4f6fa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; overflow-x: hidden; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .5; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #7cc5ff; outline-offset: 5px; }
[hidden] { display: none !important; }
.ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 50% at 50% 22%, #05214d50, transparent 75%), radial-gradient(ellipse 90% 42% at 50% 115%, #65b6fa 0%, #0b4a91 33%, #031329 67%, transparent 100%); }
header { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 31px 42px; gap: 20px; }
.brand { color: #c4d4e6; text-decoration: none; font-size: 10px; letter-spacing: .19em; font-weight: 500; line-height: 1.5; }
.brand span { color: #718197; display: block; font-size: 8px; letter-spacing: .14em; margin-top: 3px; }
.quiet-button { border: 0; background: none; color: #91a3bb; font-size: 12px; padding: 8px; }
.quiet-button:hover { color: #eef5ff; }
.quiet-button span { margin-left: 8px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
#conversation-language { color: #a7bdd7; background: #091525; border: 1px solid #30435d; border-radius: 8px; padding: 7px; font-size: 12px; max-width: 100px; }
main { position: relative; width: min(100%, 670px); min-height: 100svh; margin: auto; display: flex; flex-direction: column; align-items: center; padding: 65px 38px 24px; }
#orb-stage { width: min(100vw, 560px); height: clamp(300px, 43svh, 500px); flex-shrink: 0; position: relative; margin-top: 4px; }
#orb-stage::before { content: ''; position: absolute; inset: 4%; background: radial-gradient(ellipse at center, #075cb638, #07295716 50%, transparent 70%); filter: blur(20px); }
canvas { display: block; width: 100%; height: 100%; position: relative; }
.conversation { text-align: center; width: 100%; margin-top: 3px; }
.greeting { color: #a3aab8; font-size: clamp(17px, 2.4vw, 22px); font-weight: 400; margin: 0 0 23px; letter-spacing: -.035em; }
h1 { font-size: clamp(36px, 5.6vw, 57px); letter-spacing: -.065em; font-weight: 500; line-height: 1.14; margin: 0; text-wrap: balance; white-space: pre-line; }
.transcript { color: #8eabc8; font-size: 14px; margin: 23px auto 0; max-width: 440px; line-height: 1.6; }
.suggestions { font-size: 12px; color: #8ca2bd; line-height: 1.7; max-width: 410px; margin: 16px auto 0; text-wrap: balance; }
.news-notice { font-size: 12px; border: none; background: none; color: #a5d4ff; padding: 12px; line-height: 1.6; margin-top: 10px; }
.news-notice:hover { color: #e1f2ff; }
.response { font-size: clamp(18px, 2.2vw, 24px); font-weight: 400; letter-spacing: -.03em; line-height: 1.5; max-width: 480px; margin: 17px auto 0; }
body[data-state='error'] #status { color: #c0b5b4; }
.controls { width: 100%; margin-top: auto; padding-top: 45px; text-align: center; }
#status { color: #94aac4; font-size: 12px; min-height: 22px; line-height: 1.5; margin: 0 5px 12px; }
#message-form { display: flex; align-items: center; min-height: 76px; padding: 10px 20px 10px 28px; border: 1px solid #b1d7fa60; border-radius: 100px; background: linear-gradient(110deg, #7bbaf116, #88c5ff20); box-shadow: inset 0 1px 1px #e4f6ff1a, 0 18px 70px #0c69d018; backdrop-filter: blur(20px); }
#message { min-width: 0; width: 100%; color: #f4f7ff; background: none; border: none; padding: 7px 0; font-size: 17px; letter-spacing: -.035em; outline: none; }
#message::placeholder { color: #d4e0edb8; }
#message-form button { border: none; background: transparent; border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; }
#message-form button:hover { background: #b1d9ff16; }
#send { font-size: 29px; }
.voice-mark { display: flex; align-items: center; gap: 4px; height: 31px; }
.talk-label { flex: 1; text-align: left; color: #d4e0ed; font-size: 17px; letter-spacing: -.035em; }
.voice-mark i { display: block; width: 3px; border-radius: 8px; background: #eef8ff; height: 9px; }
.voice-mark i:nth-child(2), .voice-mark i:nth-child(4) { height: 21px; }
.voice-mark i:nth-child(3) { height: 31px; }
body[data-voice-active='true'] .voice-mark { width: 17px; height: 17px; border-radius: 4px; background: #eaf6ff; }
body[data-voice-active='true'] .voice-mark i { display: none; }
body[data-voice-active='true'] #microphone { background: #b1d9ff16; }
.voice-setting { width: 100%; padding: 9px; margin-top: 8px; background: #0f1b2b; color: #dce8f6; border: 1px solid #30435d; border-radius: 7px; font-size: 12px; }
.simulation { font-size: 10px; letter-spacing: .03em; color: #8ca9c3; margin: 18px 0 0; }
.simulation span { display: inline-block; width: 4px; height: 4px; background: #81bcf0; border-radius: 50%; margin: 0 4px 2px 0; }
.replay { margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
dialog { width: min(440px, calc(100vw - 28px)); max-height: 90svh; overflow-y: auto; border: 1px solid #33506d; border-radius: 20px; color: #dce8f6; background: #0a1321f5; box-shadow: 0 30px 150px #000b; padding: 25px; }
dialog::backdrop { background: #0007; backdrop-filter: blur(8px); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; }
h2 { font-size: 19px; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.panel-heading button { background: none; border: none; font-size: 26px; color: #93a4ba; }
.panel-note { font-size: 12px; color: #8198b1; line-height: 1.6; margin: 12px 0 20px; }
#session-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
#session-form label { font-size: 11px; color: #a4b3c8; }
#test-name { grid-row: 2; }
#language { grid-row: 2; }
#session-form input, #session-form select { width: 100%; border: 1px solid #30435d; border-radius: 7px; background: #0f1b2b; color: #dce8f6; padding: 10px; font-size: 13px; }
#session-form button { grid-column: 1 / -1; }
.panel-button { border: 1px solid #37516e; background: #152840; color: #d3e6fa; border-radius: 7px; padding: 10px 12px; font-size: 12px; }
.panel-button:hover { background: #213c5b; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 23px 0; font-size: 12px; }
dt { color: #829bb5; } dd { margin: 0; text-align: right; }
.panel-actions { display: flex; gap: 10px; flex-wrap: wrap; }
pre { font: 11px/1.7 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; background: #030b16; border-radius: 8px; padding: 14px; color: #9fbbd5; }
.event-editor { border-top: 1px solid #233a53; margin-top: 24px; padding-top: 18px; }
.event-editor h3 { font-size: 15px; font-weight: 500; margin: 0; }
#event-form { display: grid; gap: 8px; }
#event-form label { font-size: 11px; color: #a4b3c8; margin-top: 5px; }
#event-form input, #event-form textarea { width: 100%; background: #0f1b2b; color: #dce8f6; border: 1px solid #30435d; border-radius: 7px; padding: 10px; font: inherit; font-size: 12px; }
.event-item { border-top: 1px solid #233a53; margin-top: 15px; padding-top: 12px; font-size: 12px; line-height: 1.7; }
.event-item button { font-size: 11px; float: right; background: none; border: 0; color: #8ca9c6; padding: 4px; }
@media (max-width: 600px) {
  header { padding: 22px 24px; }
  .brand { max-width: 140px; font-size: 8px; }
  .quiet-button { font-size: 11px; }
  main { padding: 62px 24px 23px; }
  #orb-stage { height: clamp(265px, 40svh, 410px); width: 100%; }
  .greeting { margin-bottom: 22px; }
  h1 { font-size: clamp(36px, 10.5vw, 50px); }
  #message-form { min-height: 69px; padding-left: 23px; padding-right: 13px; }
  #message { font-size: 16px; }
  .controls { padding-top: 38px; }
}
@media (max-height: 700px) { #orb-stage { height: 240px; min-height: 220px; } main { padding-top: 45px; } .controls { padding-top: 20px; } h1 { font-size: 35px; } }
body[data-presentation='executive'] #message-form { justify-content: center; min-height: 88px; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
body[data-presentation='executive'] #microphone { position: relative; width: 76px; height: 76px; border: 1px solid #82b9ed80; background: #102e4d; color: #e8f5ff; box-shadow: 0 8px 35px #0759ad30, inset 0 1px 1px #cceaff25; transition: background .2s, box-shadow .2s, border-color .2s; }
body[data-presentation='executive'] #microphone:hover { background: #194571; border-color: #a5d9ff; }
body[data-presentation='executive'] #microphone::after { content: ''; position: absolute; inset: -7px; border: 1px solid #79d5ff; border-radius: 50%; opacity: 0; transition: opacity .2s; pointer-events: none; }
body[data-presentation='executive'][data-voice-active='true'] #microphone { color: #fff; background: #1478c8; border-color: #b3e9ff; box-shadow: 0 0 32px #209fff65, inset 0 1px 1px #fff5; }
body[data-presentation='executive'][data-voice-active='true'] #microphone::after { opacity: .8; }
