:root{color-scheme:light;font-family:DM Sans,Avenir Next,Avenir,sans-serif;color:#14201b;background:#f4f4ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #f4f4ef;--ink: #14201b;--muted: #65716b;--line: #d8ddd6;--green: #173d2e;--green-soft: #e1eae3;--orange: #e7a36d;--mono: "DM Mono", "SFMono-Regular", Consolas, monospace}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:var(--paper)}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #ad693c;outline-offset:4px}.app-shell{width:min(100%,640px);min-height:100vh;margin:0 auto;padding:max(22px,env(safe-area-inset-top)) 22px max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-logo{display:block;width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:50%}.brand-name{display:grid;gap:3px;font-size:12px;font-weight:700;letter-spacing:.12em}.brand-name span{font-size:9px;font-weight:500;color:var(--muted)}.connect-button{min-height:44px;padding:0 11px;display:inline-flex;align-items:center;gap:8px;color:var(--ink);border:1px solid var(--line);border-radius:999px;background:transparent;font-size:12px;font-weight:600;cursor:pointer}.connect-button:disabled{opacity:.55;cursor:not-allowed}.connection-dot{width:7px;height:7px;border-radius:50%;background:#b67b50}.connection-dot.is-connected{background:#42866a;box-shadow:0 0 0 3px #42866a20}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.capture-panel{display:flex;flex-direction:column;gap:14px}.capture-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.capture-options[hidden],.camera-stage[hidden],.stop-button[hidden],.upload-panel[hidden],.recording-indicator[hidden]{display:none}.capture-choice{min-height:112px;padding:16px 15px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px;text-align:center;cursor:pointer;transition:transform .18s ease,background-color .18s ease,border-color .18s ease;-webkit-tap-highlight-color:transparent}.capture-choice:hover:not(:disabled){transform:translateY(-2px)}.capture-choice:active:not(:disabled){transform:scale(.985)}.capture-choice:disabled{opacity:.5;cursor:not-allowed}.before-choice{color:var(--ink);background:var(--orange)}.after-choice{color:#f5f4ee;background:var(--green)}.choice-label{font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.03em}.choice-note{margin-top:9px;font-size:13px;line-height:1.3}.capture-choice[data-saved=true] .choice-note{font-weight:700}.upload-panel{padding:17px;border:1px solid var(--line);border-radius:5px;background:#fbfbf8}.upload-heading{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600}.upload-heading span:last-child{font:500 11px/1.4 var(--mono)}.progress-track{height:5px;margin-top:13px;overflow:hidden;border-radius:99px;background:#e2e5df}.progress-track>span{height:100%;display:block;width:100%;border-radius:inherit;background:#468060;transform:scaleX(0);transform-origin:left center;transition:transform .15s linear}.keep-open{margin:13px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.keep-open span{margin-right:5px;color:#b77b4a}.retry-button{min-height:48px;margin-top:14px;padding:0 14px;color:#fff;border:0;border-radius:4px;background:var(--green);font-size:12px;font-weight:600;cursor:pointer}.retry-button[hidden]{display:none}.status-line{min-height:42px;margin-top:13px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;line-height:1.45}.status-symbol{color:#638c72;font-size:8px}.status-line[data-kind=error]{color:#963c30}.status-line[data-kind=error] .status-symbol{color:#b44937}.status-line[data-kind=success]{color:#276448}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.customer-panel{margin:26px 0 18px}.customer-panel label,.resume-controls label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}.customer-name-row{display:flex;align-items:center;gap:12px}.customer-panel input,.resume-controls select{width:100%;min-height:52px;min-width:0;padding:12px;border:1px solid #bec8bf;border-radius:5px;color:var(--ink);background:#fff;font:inherit;font-size:18px}.customer-panel input[readonly]{background:var(--green-soft);border-color:var(--green-soft)}.customer-panel input:focus-visible,.resume-controls select:focus-visible,.resume-panel summary:focus-visible{outline:3px solid #ad693c;outline-offset:3px}.customer-hint{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.text-button{flex-shrink:0;min-height:44px;padding:0 3px;border:0;background:transparent;color:var(--green);font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.text-button[hidden]{display:none}.resume-panel{margin-top:12px;border-top:1px solid var(--line)}.resume-panel summary{min-height:44px;padding:14px 0;color:var(--muted);font-size:12px;cursor:pointer}.resume-controls{padding:5px 0 12px}.resume-controls select{font-size:16px}.customer-panel :disabled,.resume-controls :disabled{opacity:.55;cursor:not-allowed}.next-customer{align-self:center;font-size:14px;padding:0 16px}.keep-open[hidden]{display:none}@media(max-width:360px){.app-shell{padding-right:16px;padding-left:16px}}
