:root { color-scheme: dark; --night: #100e1b; --ink: #191724; --lilac: #c4afff; --light: #f7f6fa; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--light); font: 16px/1.55 Inter, Arial, sans-serif; }
header { border-bottom: 1px solid #ffffff20; }
header div, main { max-width: 816px; margin: auto; padding: 0 32px; }
header div { display: flex; gap: 20px; align-items: center; min-height: 74px; }
header img { width: 145px; height: auto; }
header span { border-left: 1px solid #ffffff33; padding-left: 20px; color: #dfdce6; font-size: 14px; }
main { padding-top: clamp(24px, 6vh, 64px); padding-bottom: 40px; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.045em; line-height: 1.12; margin: 0 0 12px; }
p { color: #d0ccd9; margin: 0 0 24px; max-width: 65ch; }
section { background: var(--ink); padding: clamp(16px, 3vw, 28px); border: 1px solid #ffffff24; border-radius: 18px; }
label, dt { display: block; font-weight: 600; margin: 0 0 6px; }
.source-row, .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.source-row { margin-bottom: 20px; }
select, textarea, button { font: inherit; border-radius: 9px; padding: 9px 14px; }
select, textarea { border: 1px solid #696378; background: var(--night); color: var(--light); }
textarea { display: block; width: 100%; resize: vertical; margin-bottom: 16px; }
button { cursor: pointer; background: transparent; color: var(--light); border: 1px solid #777182; }
button:hover { border-color: var(--lilac); }
#ask, #prepare { background: var(--lilac); color: var(--night); border-color: var(--lilac); font-weight: 600; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
#status:not(:empty) { margin: 18px 0 8px; }
#answer:not(:empty) { border-left: 3px solid var(--lilac); padding: 4px 16px; }
dd { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 540px) { main, header div { padding-inline: 16px; } header img { width: 120px; } }
#activation {border-bottom:1px solid #ffffff24;margin-bottom:18px;padding-bottom:14px}
#activation p {font-size:14px;overflow-wrap:anywhere;margin:8px 0}
a {color:var(--lilac)}
form {margin:16px 0} input {font:inherit;max-width:100%}
:root[data-theme="light"] { color-scheme: light; --night: #f7f6fa; --ink: #fff; --lilac: #57318a; --light: #191724; }
header { background: #100e1b; }
header #theme { margin-left: auto; color: #f7f6fa; white-space: nowrap; }
[data-theme="light"] p { color: #494453; }
[data-theme="light"] section, [data-theme="light"] #activation { border-color: #d4cedc; }
li { overflow-wrap: anywhere; }
@media(max-width: 480px) { header div { gap: 8px; } header span { padding-left: 8px; } header #theme { padding: 6px 8px; } }
