:root{--stage:#ebe9e3;--panel:#fff;--ink:#1c1c19;--muted:#67665f;--faint:#8f8d85;--line:#e4e2db;--soft:#f5f4f0;--brand:#16734b;--brand-pressed:#105a3a;--mark:#e8590c;--danger:#b42318;--radius:12px;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45}*{box-sizing:border-box}body{background:var(--stage);margin:0}button,input,textarea,select{font:inherit;color:inherit}kbd{opacity:.55;border:1px solid;border-radius:5px;margin-left:6px;padding:3px 5px;font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.mono{color:var(--faint);word-break:break-all;margin:2px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.shell{grid-template-columns:minmax(0,1fr) 380px;height:100vh;display:grid;overflow:hidden}.stage{flex-direction:column;justify-content:center;align-items:center;gap:14px;min-width:0;padding:24px;display:flex;overflow:hidden}.stage-caption{color:var(--muted);letter-spacing:.01em;margin:0;font-size:13px}.stage-caption.annotating{color:var(--mark);font-weight:600}.phone{background:#1c1c19;border-radius:34px;transition:box-shadow .16s;box-shadow:inset 0 1px #ffffff14,0 24px 60px -20px #1c1c1973,0 4px 14px #1c1c191f}.phone.annotating{box-shadow:0 0 0 3px var(--mark), 0 24px 60px -20px #1c1c1973}.phone-viewport{background:#fff;border-radius:25px;position:relative;overflow:hidden}.phone-screen{transform-origin:0 0;position:absolute;top:0;left:0}.phone-screen iframe{background:#fff;border:0;width:100%;height:100%;display:block}.mark-layer{position:absolute;inset:0}.mark-layer img,.mark-layer svg{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0}.mark-layer svg{touch-action:none;cursor:crosshair}.mark-layer svg.tool-pin{cursor:cell}.capture-flash{pointer-events:none;background:#fff;animation:.26s ease-out forwards flash;position:absolute;inset:0}@keyframes flash{0%{opacity:.7}to{opacity:0}}.panel{background:var(--panel);border-left:1px solid var(--line);min-height:0;display:flex}.panel-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.panel-header,.panel-section{border-bottom:1px solid var(--line);padding:20px 22px}.panel-section.grow{border-bottom:0;flex:1}.panel-footer{border-top:1px solid var(--line);background:var(--panel);justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;display:flex;position:sticky;bottom:0}.panel-footer.settings{flex-wrap:wrap;justify-content:space-between}.panel-footer.settings .field{flex-basis:100%}.eyebrow,.label{letter-spacing:.06em;text-transform:uppercase;color:var(--faint);align-items:center;gap:8px;margin:0 0 6px;font-size:12px;font-weight:600;display:flex}.reviewer{margin:0;font-size:16px;font-weight:600}h1,h2,h3{letter-spacing:-.01em;margin:0}h2{font-size:19px;line-height:1.3}h3{align-items:center;gap:8px;margin-bottom:12px;font-size:15px;display:flex}.step{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:inline-grid}.hint{color:var(--muted);margin:10px 0 0;font-size:13px}.hint.center{text-align:center;margin:0 0 14px}.error{color:var(--danger);font-size:13px}.pill{text-transform:none;letter-spacing:0;color:#9a3c06;background:#fdecdf;border-radius:999px;padding:2px 8px;font-size:11px}.button{cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;padding:10px 16px;font-weight:600;transition:background .12s,border-color .12s;display:inline-flex}.button:disabled{opacity:.45;cursor:not-allowed}.button.primary{background:var(--brand);color:#fff}.button.primary:not(:disabled):hover{background:var(--brand-pressed)}.button.primary.large{width:100%;margin-top:16px;padding:14px 18px;font-size:16px}.button.ghost{border-color:var(--line);background:0 0}.button.ghost:hover{background:var(--soft)}.link{color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:600}.link:hover{text-decoration:underline}.icon-button{width:28px;height:28px;color:var(--faint);cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:18px;line-height:1}.icon-button:hover{background:var(--soft);color:var(--ink)}.field{flex-direction:column;gap:6px;margin-top:18px;display:flex}.field span{font-size:13px;font-weight:600}.field.compact{margin-top:14px}.field input,.field textarea,.field select{border:1px solid var(--line);resize:vertical;background:#fff;border-radius:10px;padding:10px 12px}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid var(--brand);outline-offset:-1px}.segmented{background:var(--soft);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:8px 4px;font-size:13px;font-weight:600}.segmented button.on{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1c1c191f}.segmented kbd{margin-left:4px}.tool-icon{color:var(--mark)}.chips{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.chip{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;padding:5px 12px;font-size:13px}.chip.on{background:var(--ink);border-color:var(--ink);color:#fff}.marks{flex-direction:column;gap:4px;margin:12px 0 0;padding:0;list-style:none;display:flex}.marks li{background:var(--soft);border-radius:10px;align-items:center;gap:10px;padding:6px 4px 6px 6px;font-size:13px;display:flex}.badge{background:var(--mark);color:#fff;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:inline-grid}.mark-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.recorder{align-items:center;gap:14px;display:flex}.recorder.done{flex-direction:column;align-items:stretch;gap:8px}.recorder.done audio{width:100%}.recorder.done .link{align-self:flex-start}.recorder-info{flex-direction:column;gap:2px;min-width:0;display:flex}.recorder-info .hint{margin:0}.mic-button{background:var(--mark);color:#fff;cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:64px;height:64px;transition:transform .12s;display:grid;box-shadow:0 6px 16px -6px #e8590cb3}.mic-button:hover:not(:disabled){transform:scale(1.04)}.mic-button:disabled{opacity:.6}.mic-button.active{background:var(--ink);animation:1.6s ease-in-out infinite pulse;box-shadow:0 0 0 6px #e8590c40}@keyframes pulse{50%{box-shadow:0 0 0 10px #e8590c1f}}.stop-square{background:#fff;border-radius:4px;width:18px;height:18px}.rec-dot{background:var(--mark);border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.level{align-items:center;gap:3px;height:22px;margin:4px 0;display:flex}.level span{background:var(--mark);border-radius:2px;width:4px;height:100%;transition:transform 60ms linear}.empty{color:var(--faint);margin:4px 0 0;font-size:13px}.outbox-banner{color:#7a3a07;background:#fdf3e7;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;padding:10px 12px;font-size:13px;display:flex}.outbox-banner.error{color:var(--danger);background:#fdecea}.notes{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.note{align-items:flex-start;gap:12px;display:flex}.note img,.thumb-placeholder{object-fit:cover;object-position:top;border:1px solid var(--line);background:var(--soft);border-radius:6px;flex:none;width:44px;height:98px}.note p{margin:0}.note-title{font-size:14px;font-weight:600}.note-meta{color:var(--muted);font-size:13px}.note-status{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex;margin-top:4px!important}.note .dot{background:var(--faint);border-radius:50%;flex:none;width:7px;height:7px}.status-sent .dot{background:var(--brand)}.status-sending .dot,.status-pending .dot{background:#d4a106}.status-retry .dot{background:var(--mark)}.status-rejected .dot{background:var(--danger)}.status-rejected .note-status{color:var(--danger)}.build{text-align:right;flex-basis:100%}.dialog-backdrop{z-index:10;background:#1c1c1973;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:18px;width:min(460px,100%);padding:28px;box-shadow:0 30px 80px -20px #0006}.dialog h1{font-size:24px;line-height:1.2}.steps{color:var(--muted);margin:16px 0 0;padding-left:20px}.steps li+li{margin-top:6px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.toast{background:var(--ink);color:#fff;z-index:20;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:500;position:fixed;bottom:24px;left:calc(50vw - 190px);transform:translate(-50%);box-shadow:0 10px 30px -10px #0006}.toast.error{background:var(--danger)}
