:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #182139; background: #f4f5fb; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100%, 960px); margin: auto; padding: max(24px, env(safe-area-inset-top)) 22px max(40px, env(safe-area-inset-bottom)); }
header { margin-bottom: 24px; }
header a { color: #4f46e5; text-decoration: none; }
.eyebrow { margin: 26px 0 8px; color: #5b6080; font-size: .8rem; letter-spacing: .1em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 0 0 12px; }
h2 { margin: 0 0 10px; font-size: 1.3rem; }
p { line-height: 1.6; overflow-wrap: anywhere; }
.panel { padding: 24px; margin-bottom: 22px; background: white; border: 1px solid #e0e3ef; border-radius: 20px; }
.note { font-size: .94rem; color: #5c647c; }
label { display: grid; gap: 9px; margin: 14px 0; font-weight: 650; }
.check { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: #5747e6; }
select { width: 100%; min-height: 48px; border: 1px solid #cdd3e2; border-radius: 10px; padding: 10px 12px; font: inherit; background: #f8f9fd; color: inherit; }
button { min-height: 46px; border: 0; border-radius: 11px; padding: 10px 17px; font: inherit; font-weight: 650; cursor: pointer; color: white; background: #5948e9; }
button:hover:not(:disabled) { background: #4935da; }
button:disabled { opacity: .43; cursor: default; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.phrase { padding: 15px; border-radius: 12px; background: #f1efff; font-size: 1.12rem; color: #302577; font-weight: 600; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.voice-card { padding: 22px; border: 1px solid #d9deed; border-radius: 18px; background: white; }
.voice-card[data-chosen="true"] { border-color: #6151e6; box-shadow: 0 0 0 2px #ece9ff; }
.voice-card h3 { margin: 0; }
.voice-card p { margin: 8px 0 15px; }
.voice-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.voice-actions .choose { background: #eef0fb; color: #383166; }
.result-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-title button { background: #47536b; }
dl { margin: 15px 0; }
dl > div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid #edf0f6; }
dt { color: #626c80; } dd { margin: 0; overflow-wrap: anywhere; }
.feedback { display: flex; flex-wrap: wrap; gap: 10px; }
.feedback button { background: #edf0f7; color: #384361; }
[hidden] { display: none !important; }
@media (max-width: 600px) { main { padding-left: 15px; padding-right: 15px; } .panel { padding: 18px; } .voices { grid-template-columns: 1fr; } dl > div { grid-template-columns: 1fr; gap: 4px; } }
