:root { color-scheme: light; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; color: #173a32; background: #f4f6f2; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #163c32; color: white; }
.wrap { width: min(48rem, 100% - 2.5rem); margin-inline: auto; }
.bar, .tools, .fields { display: flex; align-items: center; gap: .75rem; }
.bar, .tools { justify-content: space-between; }
.bar { min-height: 4rem; }
.bar b { font-size: 1.25rem; letter-spacing: .08em; }
main { padding: 2.25rem 0; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: -.05em; line-height: 1.1; margin: 0 0 2rem; }
h2 { margin: 0; font-size: 1.25rem; }
.panel { background: white; border: 1px solid #d8e2d8; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 1rem; }
label { font-weight: 650; }
p { color: #50665e; margin: .5rem 0 1.25rem; }
button, input, select { font: inherit; border: 1px solid #a9bcb1; border-radius: .6rem; color: inherit; }
button { background: white; cursor: pointer; padding: .43rem .9rem; }
button:hover { border-color: #277254; }
button:disabled { opacity: .65; cursor: wait; }
.primary, button[aria-pressed="true"] { background: #186448; border-color: #186448; color: white; }
.bar button { background: transparent; border-color: #809f92; }
input, select { padding: .54rem .7rem; background: #fcfdfb; }
input { min-width: 0; flex: 1; }
select { width: 100%; margin: .8rem 0 1.25rem; }
#session-id { font: .83rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
#segments { display: flex; flex-wrap: wrap; gap: .55rem; }
#empty, #playing, #status { margin-top: 1rem; }
audio { width: 100%; }
:focus-visible { outline: 3px solid #518af2; outline-offset: 2px; }
[hidden], p:empty { display: none; }
@media (max-width: 32rem) { .fields { align-items: stretch; flex-direction: column; } }
