:root { color-scheme: light; font-family: "Yu Gothic UI", "Meiryo", system-ui, sans-serif; color: #152b36; background: #f1f5f7; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(860px, calc(100% - 32px)); margin: clamp(30px, 7vw, 84px) auto; }
header { margin-bottom: 24px; }
.context { color: #1b615e; font-size: .825rem; font-weight: 700; margin: 0 0 13px; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.045em; margin: 0; line-height: 1.28; }
.subtitle { color: #475e69; line-height: 1.7; margin: 10px 0 0; }
.controls, .transcript { background: #fff; border: 1px solid #dbe5e9; border-radius: 14px; padding: clamp(16px, 4vw, 27px); }
.controls { margin-bottom: 16px; }
.state { display: flex; align-items: center; gap: 10px; }
#indicator { width: 9px; height: 9px; border-radius: 100%; background: #6d808a; }
#indicator[data-state="recording"] { background: #b72c36; box-shadow: 0 0 0 4px #fbe7e9; }
#indicator[data-state="paused"] { background: #99600c; }
#indicator[data-state="saved"] { background: #168153; }
#timer { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 750; font-size: 1.5rem; }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 11px; }
button { font: inherit; font-weight: 700; border-radius: 8px; border: 1px solid #cad8de; background: #fff; color: #152b36; padding: 9px 15px; min-height: 43px; cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
button:focus-visible, summary:focus-visible { outline: 3px solid #349692; outline-offset: 2px; }
#start { background: #075855; color: #fff; border-color: #075855; }
#message, #empty, #count, summary { color: #526a75; font-size: .9rem; }
#message { min-height: 1.35em; overflow-wrap: anywhere; }
details { margin-top: 11px; }
summary { cursor: pointer; }
input { max-width: 100%; margin: 8px 0; }
.transcript-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
h2 { font-size: 1.1rem; margin: 0 0 7px; }
ol { padding: 0; margin: 0; list-style: none; }
li { border-top: 1px solid #e5edf0; padding: 11px 0; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
li:first-child { border-top: 0; }
