:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#080d1c;color:#e9ecfb}body{margin:0;min-height:100vh;display:grid;place-items:center}main{width:min(94vw,650px);padding:24px;border:1px solid #283452;border-radius:20px;background:#101831;box-sizing:border-box}h1{letter-spacing:.12em;color:#a8caff}small{font-size:.36em;color:#8f96ce}header p,.hint{color:#9aabd0;font-size:.88rem}label{display:block;margin:18px 0 8px}input,textarea{width:100%;box-sizing:border-box;background:#060c1e;color:white;border:1px solid #36496f;border-radius:10px;padding:14px;font:inherit}button{margin:14px 7px 7px 0;background:#4d72d5;border:0;border-radius:10px;color:white;padding:13px 20px;font-weight:650;cursor:pointer}button:focus-visible{outline:3px solid #bbe1ff}button:disabled{opacity:.5;cursor:wait}.actions{display:flex;flex-wrap:wrap}#history{height:260px;overflow:auto;background:#081124;border-radius:12px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}#history p{border-bottom:1px solid #203152;padding-bottom:12px}#status{min-height:24px;color:#ffdb7b}

/* JARVIS voice preferences: scoped to chat view; no remote assets. */
.voice-center{margin-top:16px;padding:12px;border:1px solid #354b78;border-radius:14px;background:#0c1730;color:#e9ecfb}
.voice-center summary{cursor:pointer;font-weight:700;color:#b6d0ff;list-style-position:inside;padding:5px 2px}
.voice-summary-note{font-size:.78rem;color:#a2afd1;margin-left:8px;font-weight:400}
.voice-center .voice-explain,.voice-center .voice-privacy,.voice-info{font-size:.84rem;color:#bac8e8;line-height:1.45}
.voice-center .voice-settings{padding:8px 2px 2px}
.voice-center label{display:block;margin:13px 0 6px;font-size:.9rem}
.voice-center select{display:block;width:100%;max-width:100%;background:#081124;color:#f2f6ff;border:1px solid #4c6190;border-radius:8px;padding:11px 8px;font:inherit}
.voice-center input[type=range]{display:block;width:100%;accent-color:#81aafc}
.voice-center label.voice-autoplay{display:flex;align-items:center;gap:9px;margin:18px 0 8px}
.voice-center input[type=checkbox]{width:18px;height:18px;accent-color:#81aafc}
.voice-center output{font-variant-numeric:tabular-nums;color:#d3e5ff}
.voice-center .voice-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.voice-center button{margin:0;padding:11px 13px;min-height:44px;flex:1 1 130px;font-size:.9rem}
.voice-center #voice-preview{background:#497bbf}
.voice-center #voice-save{background:#4569b8}
.voice-center #voice-stop,.voice-center #voice-refresh{background:#2d406b}
.voice-center .voice-info{margin:12px 0 4px;overflow-wrap:anywhere}
.voice-center #voice-message{color:#ffe19a}
@media(max-width:380px){.voice-center .voice-buttons button{flex:1 1 100%}}
