:root{--bg:#f6f5f2;--surface:#fff;--text:#1b1b1f;--muted:#6b6b75;--border:#e3e1dc;--accent:#c2410c;--accent-soft:#fde4d6;--danger:#b91c1c;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121214;--surface:#1c1c20;--text:#f2f2f4;--muted:#9a9aa5;--border:#2c2c32;--accent:#fb923c;--accent-soft:#3a2316;--danger:#f87171}}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}.page{flex-direction:column;justify-content:center;align-items:center;gap:32px;min-height:100dvh;padding:24px 16px;display:flex}.top{justify-content:space-between;align-items:center;padding:16px;display:flex;position:fixed;top:0;left:0;right:0}.brand{letter-spacing:.02em;font-weight:650}.link{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;font-size:14px}.link:hover{color:var(--text)}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:16px;width:100%;max-width:360px;padding:28px 24px;display:flex}.card h1{margin:0;font-size:24px}.muted{color:var(--muted);margin:-12px 0 4px;font-size:14px}label{color:var(--muted);flex-direction:column;gap:6px;font-size:14px;display:flex}input{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:10px 12px;font-size:16px}input:focus{outline:2px solid var(--accent);outline-offset:1px}.primary{font:inherit;color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:10px;padding:12px;font-weight:600}.page-voice{justify-content:flex-start;gap:16px;height:100dvh;padding:60px 16px}.voice{flex-direction:column;flex:1;gap:16px;width:100%;max-width:600px;min-height:0;display:flex}.chat{flex-direction:column;flex:1;gap:16px;min-height:0;padding:4px 0;display:flex;overflow-y:auto}.intro{color:var(--muted);text-align:center;margin:auto 0;padding:0 8px;font-size:15px}.exchange{flex-direction:column;gap:8px;display:flex}.divider{color:var(--muted);letter-spacing:.04em;text-align:center;text-transform:uppercase;margin:8px 0;font-size:12px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:16px;max-width:88%;margin:0;padding:10px 14px;font-size:15px}.bubble p{margin:0}.bubble-user{background:var(--accent-soft);border-bottom-right-radius:4px;align-self:flex-end}.bubble-nicholas{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px;align-self:flex-start}.replay{color:var(--accent);margin-top:6px;padding:0;font-size:13px;font-weight:600}.replay:disabled{opacity:.5;cursor:default}.tabs{border:1px solid var(--border);background:var(--surface);border-radius:999px;align-self:center;gap:4px;padding:4px;display:flex}.tab{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:6px 16px;font-size:14px;font-weight:600}.tab[aria-selected=true]{background:var(--accent-soft);color:var(--text)}.history .exchange{gap:12px}.search{width:100%}.memory{gap:6px}.memory-meta{color:var(--muted);text-align:right;margin:0;font-size:12px}.memory-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.giudizio{gap:4px;margin-top:6px;display:inline-flex}.giudizio-pulsante{opacity:.55;border-radius:8px;padding:2px 6px;font-size:15px;line-height:1.2}.giudizio-pulsante:hover,.giudizio-pulsante:focus-visible{opacity:1}.giudizio-scelto{background:var(--accent-soft);opacity:1}.giudizio-pulsante:disabled{cursor:default}.giudizio-motivo{flex-basis:100%;order:1;align-items:center;gap:10px;display:flex}.giudizio-campo{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--text);font:inherit;border-radius:8px;flex:1;padding:6px 10px;font-size:14px}.replay.quiet{color:var(--muted);font-weight:500}.replay.danger{color:var(--danger)}.talk{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.orb{background:var(--accent-soft);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border:0;border-radius:50%;place-items:center;width:128px;height:128px;padding:0;transition:transform .2s;display:grid}.orb:hover:not(:disabled){transform:scale(1.03)}.orb:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.orb:disabled{cursor:progress}.orb-core{background:var(--accent);border-radius:50%;width:76px;height:76px;transition:transform .2s}.orb-arming .orb-core,.orb-thinking .orb-core,.orb-voicing .orb-core{opacity:.7;animation:1.1s ease-in-out infinite pulse}.orb-recording{transform:scale(1.06)}.orb-recording .orb-core{animation:1.2s ease-in-out infinite breathe}.orb-playing .orb-core{animation:.5s ease-in-out infinite alternate speak}@keyframes pulse{50%{transform:scale(.85)}}@keyframes breathe{50%{transform:scale(1.12)}}@keyframes speak{to{transform:scale(1.18)}}@media (prefers-reduced-motion:reduce){.orb-core{animation:none!important}}.status{margin:8px 0 0;font-size:18px;font-weight:600}.hint{max-width:360px;color:var(--muted);margin:0;font-size:14px}.problem{max-width:360px;color:var(--danger);margin:12px 0 0;font-size:14px}.talk .problem{margin:0}.disclosure{text-align:center;color:var(--muted);padding:16px;font-size:13px;position:fixed;bottom:0;left:0;right:0}
