:root { color-scheme: light; font-family: system-ui, sans-serif; color: #283b35; background: #f5f3ed; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1120px; margin: 0 auto; padding: 48px 24px; }
main.login { max-width: 480px; padding-top: 12vh; }
header, .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
header { margin-bottom: 28px; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.045em; margin: 6px 0; }
h2 { font-size: 1.3rem; margin: 0 0 10px; }
h3 { font-size: 1rem; margin: 0 0 6px; }
p { line-height: 1.6; }
.eyebrow { font-size: .7rem; letter-spacing: .2em; font-weight: 700; color: #64786e; margin: 0; }
.muted, .hint { color: #67766e; }
.muted { margin-top: 6px; }
.hint { font-size: .8rem; overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.card { background: #fffefa; border: 1px solid #dfE4d8; border-radius: 18px; padding: 28px; box-shadow: 0 6px 20px #283b3505; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 18px 0 8px; }
input, select { width: 100%; padding: 12px; border: 1px solid #c9d2c7; border-radius: 8px; font: inherit; background: white; color: inherit; }
input[type=file] { font-size: .85rem; padding: 10px; }
input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #91b6a3; outline-offset: 2px; }
button { border: 0; border-radius: 8px; padding: 12px 18px; background: #315e4c; color: white; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; margin-top: 18px; }
button:hover { background: #214a39; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { margin: 0; background: #e6ece2; color: #315e4c; white-space: nowrap; }
.speech-selectors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.form-actions button { margin-top: 0; }
.badge { background: #eaf0e4; color: #4e6d3d; font-size: .65rem; font-weight: 700; padding: 6px 9px; border-radius: 99px; white-space: nowrap; }
.banner { padding: 12px 16px; border-radius: 9px; overflow-wrap: anywhere; }
.banner.success { background: #e4efdf; color: #315c35; }
.banner.error { background: #fae8e1; color: #853d2e; }
.banner.notice { background: #f8efcf; color: #78622e; }
small { display: block; margin-top: 5px; }
.recording { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e2e6db; }
.script { padding-left: 14px; border-left: 3px solid #a9bea0; }
audio { display: block; width: 100%; margin: 14px 0 8px; }
details { margin-top: 20px; font-size: .85rem; }
summary { cursor: pointer; }
pre { padding: 14px; border-radius: 8px; background: #f1f3ed; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .75rem; max-height: 320px; overflow: auto; }
.empty { padding: 22px 0; font-size: .9rem; color: #798479; }
a { color: #315e4c; }
@media (max-width: 760px) { main { padding: 28px 16px; } .cards { grid-template-columns: 1fr; } .card { padding: 22px; } .section-heading { flex-wrap: wrap; gap: 6px; } }
