:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f3f6fa; color: #101828; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
main { max-width: 640px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 24px) 16px calc(env(safe-area-inset-bottom) + 40px); }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #dbeafe; font-size: 28px; }
h1 { font-size: 24px; margin: 0; } header p { margin: 2px 0 0; color: #667085; }
.card { background: #fff; border: 1px solid #e4e7ec; border-radius: 18px; padding: 18px; margin: 14px 0; box-shadow: 0 8px 24px #1018280a; }
h2 { font-size: 18px; margin: 0 0 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 13px; border: 1px solid #b8c2d3; border-radius: 11px; background: #fff; color: #101828; }
textarea { resize: vertical; line-height: 1.5; }
button { border: 0; border-radius: 11px; background: #155eef; color: #fff; padding: 13px 16px; font: inherit; font-weight: 600; cursor: pointer; }
button:disabled { background: #98a2b3; cursor: not-allowed; }
form button, #transcribe { width: 100%; margin-top: 14px; }
.record-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.record-row button { flex: 1; min-height: 56px; }
.recording { background: #d92d20; }
.link-button { color: #155eef; background: transparent; padding: 4px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row h2 { margin: 0; }
.hint, #details { color: #667085; font-size: 14px; line-height: 1.4; }
#status { min-height: 25px; font-weight: 600; }
#status.error { color: #b42318; }
