:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #29262b; background: #f3f0eb; --muted: #847e80; --line: #e8e2dc; --green: #475e59; --coral: #d9796b; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f3f0eb; }
button { font: inherit; }
.prototype { width: min(720px, 100%); min-height: 100svh; margin: 0 auto; padding: 34px 22px calc(38px + env(safe-area-inset-bottom)); }
.intro { margin-bottom: 26px; }.eyebrow { margin: 0 0 9px; color: #a19998; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }.intro h1 { margin: 0; font: 500 clamp(37px, 8vw, 54px)/.98 Fraunces, Georgia, serif; letter-spacing: -1.7px; }.intro h1 em { color: var(--coral); font-style: italic; }.intro > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card { margin-bottom: 12px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }.card h2 { margin: 0; font: 500 22px/1.1 Fraunces, Georgia, serif; }.badge { flex: 0 0 auto; padding: 6px 8px; border-radius: 6px; color: #c76d61; background: #fae9e3; font-size: 9px; font-weight: 700; }.badge.neutral { color: #8d8585; background: #f1eeeb; }.badge.ready { color: #5e8c7d; background: #e5f0ea; }.badge.recording, .badge.processing { color: #fff; background: var(--green); }.badge.error { color: #fff; background: #b85d57; }
.model-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; }.model-meta strong { font-size: 12px; }.model-meta span { color: #9d9593; font-size: 10px; text-align: right; }.progress-track { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 5px; background: #eee9e5; }.progress-track i { display: block; width: 0; height: 100%; background: #7ba697; transition: width .2s; }.status-line, .record-help { margin: 12px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.45; }.record-help { margin-top: 10px; }.button { min-height: 44px; padding: 0 17px; border: 0; border-radius: 11px; cursor: pointer; font-size: 12px; font-weight: 700; }.button:disabled { cursor: not-allowed; opacity: .45; }.button.primary { width: 100%; color: #fff; background: var(--coral); }.button.secondary { color: var(--green); border: 1px solid #c9d9d1; background: #f5f8f5; }.button.stop { color: #b9685f; border: 1px solid #ecc7bd; background: #fff7f4; }.record-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.record-actions .button { min-height: 48px; }.record-card .status-line { margin-bottom: 0; }.transcript { min-height: 112px; margin-top: 17px; padding: 15px; border-radius: 12px; color: #4c4748; background: #f8f6f3; font-size: 16px; line-height: 1.55; white-space: pre-wrap; }.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 13px 0; }.metrics div { min-width: 0; padding: 10px 7px; border: 1px solid var(--line); border-radius: 9px; }.metrics span, .metrics small { display: block; color: #aaa09e; font-size: 8px; }.metrics strong { display: inline-block; margin-top: 8px; color: #5d5758; font: 19px Fraunces, Georgia, serif; }.metrics small { display: inline; margin-left: 2px; }.error-line { min-height: 16px; margin: 11px 0 0; color: #b85d57; font-size: 11px; }.samples { margin-top: 25px; }.samples article { margin: 8px 0; padding: 11px 13px; border-left: 3px solid #e5b09f; border-radius: 0 9px 9px 0; background: rgba(255,255,255,.55); }.samples b { color: #857b7b; font-size: 10px; }.samples p { margin: 5px 0 0; color: #615a5b; font-size: 11px; line-height: 1.45; }.prototype footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 27px; color: #aaa09e; font-size: 9px; }
@media (max-width: 430px) { .prototype { padding: 25px 16px calc(28px + env(safe-area-inset-bottom)); }.card { padding: 16px; }.intro { margin-bottom: 20px; }.intro h1 { font-size: 39px; }.model-meta { display: block; }.model-meta span { display: block; margin-top: 5px; text-align: left; }.metrics strong { font-size: 17px; } }
.trace-card pre { max-height: 220px; overflow: auto; margin: 14px 0 0; padding: 12px; border-radius: 10px; color: #69706d; background: #f8f6f3; font: 10px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.copy-button { min-height: 32px; padding: 0 9px; border: 1px solid #c9d9d1; border-radius: 8px; color: #475e59; background: #f5f8f5; cursor: pointer; font-size: 10px; }
