:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20392f; background: #f4f6f1; }
* { box-sizing: border-box; }
body { margin: 0; padding: 30px 18px; }
main { max-width: 1040px; margin: auto; }
header, .section-head, .actions, .record-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
h1 { font-size: clamp(28px, 5vw, 38px); margin: 8px 0; }
h2 { font-size: 20px; margin: 0 0 14px; }
h3 { font-size: 17px; margin: 0; }
p { line-height: 1.65; }
a { color: #245e47; text-underline-offset: 3px; }
.eyebrow, .hint, footer { color: #52695d; }
.eyebrow { font-size: 13px; letter-spacing: .08em; margin: 0; }
.notice { background: #e8eee4; padding: 16px; border-radius: 12px; }
.layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.card { min-width: 0; background: white; border: 1px solid #d7dfd6; border-radius: 14px; padding: 22px; }
.hint { font-size: 14px; margin: 8px 0 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
label { display: block; margin: 14px 0 7px; font-weight: 600; }
input, textarea, button { font: inherit; }
input:not([type=checkbox]), textarea { display: block; width: 100%; min-width: 0; padding: 11px; color: inherit; background: #fcfdfb; border: 1px solid #9aaba0; border-radius: 8px; }
textarea { resize: vertical; }
input[type=checkbox] { width: 19px; height: 19px; flex: none; accent-color: #245e47; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; line-height: 1.6; margin: 20px 0; }
button { padding: 11px 15px; border-radius: 8px; background: #245e47; color: white; border: 1px solid #245e47; cursor: pointer; }
button.secondary { background: transparent; color: #245e47; }
button.danger { color: #a22a21; border-color: #c4938e; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #ba741f; outline-offset: 3px; }
.record-controls, .actions { justify-content: flex-start; margin-top: 20px; }
.person, .history-item { border-top: 1px solid #e1e8de; padding: 16px 0; overflow-wrap: anywhere; }
.person .actions { margin-top: 10px; }
.person p { white-space: pre-wrap; margin: 8px 0; }
audio { display: block; width: 100%; max-width: 100%; margin: 12px 0; }
#status { min-height: 42px; line-height: 1.6; overflow-wrap: anywhere; padding: 8px 0 16px; }
#status[data-error=true] { color: #a22a21; }
#sample { padding: 12px; background: #f4f6f1; border-radius: 8px; margin-top: 16px; }
#sample-label { overflow-wrap: anywhere; margin: 0; }
footer { font-size: 14px; margin: 24px 0; line-height: 1.7; }
[hidden] { display: none !important; }
@media (max-width: 700px) { .layout { grid-template-columns: 1fr; } body { padding: 20px 14px; } .card { padding: 18px; } }
