:root{--ink:#19333d;--muted:#657780;--brand:#1c5969;--deep:#173c47;--line:#dce5e5;--bg:#f4f6f4;--white:#fff;--green:#34755c;--amber:#916a25;--red:#a34040;--radius:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:15px;line-height:1.5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0}button,label.camera-button,label.library-button{touch-action:manipulation}a{color:inherit}h1,h2,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin-bottom:12px}h2{font-size:17px;letter-spacing:-.2px;margin:0}p{margin-bottom:16px}.topbar{height:76px;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:18px;letter-spacing:.2px}.brand strong{font-weight:400;color:#bdcfd1;margin-left:4px}.brand-mark{width:39px;height:39px;border:1px solid #7b9a9f;border-radius:10px;display:grid;place-items:center;font-size:15px;font-weight:800;letter-spacing:-1px}.top-actions{display:flex;align-items:center;gap:18px}.pilot{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;padding:5px 10px;border:1px solid #647f85;border-radius:20px}.topbar .quiet{color:#d6e4e5}.eyebrow{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--muted);margin-bottom:11px}.primary,.secondary,.camera-button,.library-button{border-radius:10px;padding:11px 16px;display:inline-flex;gap:9px;align-items:center;justify-content:center;font-weight:650;font-size:13px;min-height:44px;text-decoration:none}.primary{background:var(--brand);color:white}.primary:hover{background:var(--deep)}.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.secondary:hover{background:#f0f5f4}.quiet,.text-button{background:transparent;color:var(--brand);padding:7px 4px;font-size:12px;font-weight:600}.text-button{text-decoration:underline;text-underline-offset:3px}.full{width:100%}.muted,.field-hint{color:var(--muted);font-size:12px}.error{color:var(--red);font-size:13px;white-space:pre-wrap}.error:empty{display:none}.workspace{display:grid;grid-template-columns:275px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{padding:31px 22px 24px;border-right:1px solid var(--line);background:#fbfcfa}.sidebar h1{font-size:21px;letter-spacing:-.5px}.sidebar-heading p{font-size:12px;color:var(--muted);margin-bottom:23px}.search{display:block;margin:20px 0 24px}.search input{font-size:11px;background:#f0f3f0;border-color:transparent;padding:11px}.list-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:var(--muted);margin:0 3px 12px}.product-list{display:grid;gap:6px}.product-item{display:block;width:100%;padding:12px;border-radius:11px;background:transparent;text-align:left;border:1px solid transparent;color:var(--ink)}.product-item:hover{background:#f0f4f1}.product-item.selected{background:#e6f0ed;border-color:#ccddd6}.product-item strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.product-item .item-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:5px}.sidebar-foot{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:28px}.editor{padding:34px 32px 60px;max-width:1600px;width:100%;margin:auto}.product-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:29px}.product-heading h1{font-size:26px;margin-bottom:10px;overflow-wrap:anywhere}.product-heading .eyebrow{margin-bottom:8px}.heading-actions{display:flex;gap:8px;flex-shrink:0}.product-meta{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.badge{font-size:10px;background:#edf2f0;padding:4px 9px;border-radius:30px;color:#547165;white-space:nowrap}.badge.ready{background:#e3f1e5;color:#31704f}.badge.working{background:#fbefda;color:#875e19}.editor-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(320px,.95fr);gap:22px;align-items:start}.capture-column,.review-column{display:grid;gap:22px;min-width:0}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:0 2px 4px #152f3703;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.section-heading>div{display:flex;align-items:center;gap:10px}.step{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:8px;font-size:10px;color:var(--muted);flex-shrink:0}.spark{font-size:23px;color:var(--brand)}fieldset{border:0;padding:0;margin:0}.role-picker legend{font-size:11px;color:var(--muted);margin-bottom:8px}.role-picker{display:flex;gap:5px;margin-bottom:15px}.role-picker label{display:inline-block;cursor:pointer;position:relative}.role-picker input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.role-picker span{display:block;padding:7px 11px;border:1px solid var(--line);border-radius:7px;font-size:11px}.role-picker input:checked+span{background:#e9f1ee;border-color:#aac5ba;color:#2d6252}.role-picker input:focus-visible+span{outline:2px solid var(--brand)}.capture-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.camera-button,.library-button{cursor:pointer;flex-direction:column;gap:3px;min-height:139px;font-size:13px;padding:18px 10px}.camera-button{background:#eaf3f0;border:1px dashed #8bb3a4;color:#245d4c}.library-button{background:#f9faf8;border:1px dashed #ccd6d1;color:#557069}.camera-button>span:first-child,.library-button>span:first-child{font-size:25px;height:33px;display:block;margin-bottom:8px}.camera-button>span:last-child,.library-button>span:last-child{font-size:10px;font-weight:400}.camera-button svg{width:29px;height:29px}.check{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin:0 0 25px}.check input{accent-color:var(--brand);width:15px;height:15px;margin:0}.notes-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.notes-heading>label{font-size:12px;font-weight:600}.notes-heading .muted{font-weight:400;font-size:10px;margin-left:5px}label{font-size:12px;font-weight:600}input,select,textarea{display:block;border:1px solid #d4dedd;border-radius:8px;width:100%;padding:10px 11px;color:var(--ink);background:#fff;font-size:13px;min-height:42px}input:focus,textarea:focus,select:focus{outline:2px solid #94b6b2;border-color:var(--brand)}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#92a09f}input[type=checkbox],input[type=radio]{min-height:0}.notes-footer{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-top:7px}.notes-footer .muted{font-size:10px}.notes-footer button{padding-top:0;font-size:10px;white-space:nowrap}#speech-status{margin:8px 0 0}#speech-status:empty{display:none}.recording{color:#a34040!important}.upload-queue{display:grid;gap:6px;margin-bottom:12px}.upload-row{background:#f1f6f3;border-radius:8px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.upload-row.failed{background:#fcf0ed;color:var(--red)}.upload-row span{overflow-wrap:anywhere}.gallery-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:10px;margin-bottom:12px}.gallery-thumb{width:62px;height:62px;flex-shrink:0;padding:2px;border:2px solid transparent;border-radius:9px;background:#f2f5f2}.gallery-thumb.active{border-color:var(--brand)}.gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:5px}.photo-stage{background:repeating-conic-gradient(#f0f2ef 0% 25%,#f8faf7 0% 50%) 50%/18px 18px;border:1px solid #e5eae4;border-radius:10px;overflow:hidden;position:relative;min-height:240px;display:flex;align-items:center;justify-content:center}.photo-stage img{display:block;max-height:440px;max-width:100%;width:100%;object-fit:contain}.photo-state{position:absolute;bottom:10px;left:10px;background:#ffffffee;border-radius:20px;font-size:10px;padding:5px 9px}.variant-tabs{display:flex;gap:5px;margin-top:13px;flex-wrap:wrap}.variant-tabs button{font-size:10px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted)}.variant-tabs button.active{border-color:#adc8bb;background:#ebf4ed;color:#2a654e}.photo-tools{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.photo-tools button{font-size:10px;padding:6px 9px;min-height:34px}.photo-warnings{font-size:11px;color:var(--amber);margin:10px 0}.ocr-details{margin-top:14px;font-size:11px;color:var(--muted)}.ocr-details summary{cursor:pointer}.ocr-details pre{font:11px/1.5 monospace;white-space:pre-wrap;max-height:180px;overflow:auto}.recognition-card{background:#f5f9f5;border-color:#d6e4d8}.recognition-card .section-heading{margin-bottom:14px}.recognition-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:15px}.suggestion{padding:9px 0;border-bottom:1px solid #dfe9df}.suggestion:last-child{border:0}.suggestion-label{font-size:10px;color:var(--muted);display:block;margin-bottom:2px}.suggestion-value{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.suggestion details{font-size:10px;color:var(--muted);margin-top:3px}.suggestion summary{cursor:pointer}.analysis-message{font-size:12px;color:var(--muted);margin:0}.analysis-warnings{font-size:11px;color:var(--amber);padding-left:17px}.details-card>.muted{margin-top:-11px;margin-bottom:22px;font-size:11px}.details-card label{display:block;margin-bottom:16px}.details-card input,.details-card textarea,.details-card select{margin-top:6px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-hint{display:block;font-size:10px;font-weight:400;margin-top:5px}.save-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.save-actions button{font-size:11px;flex:1;white-space:nowrap;padding-left:11px;padding-right:11px}#save-state{font-size:11px;margin:10px 0 0}.empty-workspace{display:flex;min-height:70vh;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:40px}.empty-workspace h2{font-size:29px;letter-spacing:-.7px;margin-bottom:14px}.empty-workspace p{font-size:13px;color:var(--muted);line-height:1.8}.empty-workspace .eyebrow{margin-top:25px}.empty-icon{font-size:48px;line-height:1;width:100px;height:100px;background:#e6eeea;display:grid;place-items:center;border-radius:30px;color:#5d8172}.login-shell{max-width:1000px;padding:90px 30px;display:grid;grid-template-columns:1.2fr 1fr;gap:90px;margin:auto;align-items:center;min-height:75vh}.login-intro h1{font-size:53px;line-height:1.13;letter-spacing:-1.7px;margin:20px 0}.login-intro p{color:var(--muted);font-size:15px;line-height:1.8}.login-steps{display:flex;gap:24px;margin-top:40px;font-size:11px;color:var(--brand);font-weight:600}.login-card{padding:33px;border:1px solid var(--line);border-radius:18px;background:#fff}.login-card h2{font-size:20px;margin-bottom:8px}.login-card>p{font-size:12px;color:var(--muted);margin-bottom:25px}.login-card label{display:block;margin-bottom:18px}.login-card input{margin-top:6px}.login-card .primary{width:100%;justify-content:space-between;margin-top:10px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;width:max-content;background:var(--deep);color:#fff;padding:12px 20px;border-radius:10px;box-shadow:0 7px 35px #173c4733;font-size:13px;z-index:100;white-space:pre-wrap}.toast.error{background:#8f3f3f}dialog{padding:25px;border:1px solid var(--line);border-radius:18px;max-width:430px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 90px #102e3933;max-height:90vh;overflow:auto}dialog::backdrop{background:#112b3577;backdrop-filter:blur(3px)}dialog p{font-size:13px;color:var(--muted)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{font-size:20px}.qr{display:block;width:220px;height:220px;margin:10px auto 20px}#pair-url{font-size:11px;margin-top:7px}.dialog-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.dialog-actions button{font-size:11px}.crop-dialog{max-width:740px}.crop-surface{position:relative;touch-action:none;user-select:none;background:#eee}.crop-surface img{display:block;width:100%;height:auto;user-select:none;pointer-events:none}#crop-box{position:absolute;border:2px solid #207f9c;background:#2a8b9d22;box-shadow:0 0 0 2000px #102b3455;pointer-events:none}.mobile-only{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}
.sidebar{min-width:0}.product-list{grid-template-columns:minmax(0,1fr)}.product-item{min-width:0;max-width:100%}
.login-shell{row-gap:28px}.login-intro{grid-column:1;grid-row:1}.login-card{grid-column:2;grid-row:1 / span 2}.login-phone{grid-column:1;grid-row:2;display:flex;align-items:center;gap:18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.login-phone img{display:block;width:132px;height:132px;flex-shrink:0}.login-phone h2{font-size:16px;margin-bottom:7px}.login-phone p{font-size:12px;color:var(--muted);margin-bottom:9px}.login-phone a{font-size:12px;color:var(--brand);overflow-wrap:anywhere}.login-phone>div{min-width:0}
@media(max-width:650px){.login-phone{margin-top:24px;gap:14px}.login-phone img{width:112px;height:112px}.login-phone h2{font-size:14px}.login-phone p,.login-phone a{font-size:11px}}
@media(min-width:1500px){.editor{padding-left:46px;padding-right:46px}.card{padding:28px}.editor-grid{gap:28px}}
@media(max-width:1150px){.workspace{grid-template-columns:235px minmax(0,1fr)}.sidebar{padding:25px 17px}.editor{padding:28px 20px}.editor-grid{grid-template-columns:minmax(0,1fr)}.product-heading{align-items:start}.heading-actions{flex-direction:column}.card{padding:22px}.review-column{grid-template-columns:minmax(0,1fr)}.capture-buttons{grid-template-columns:1fr 1fr}.camera-button,.library-button{min-height:135px}}
@media(max-width:650px){.topbar{height:62px;padding:0 17px}.brand{font-size:15px;gap:9px}.brand-mark{width:33px;height:33px;font-size:13px}.top-actions{gap:8px}.topbar .quiet{font-size:10px}.pilot{font-size:9px}.workspace{display:block;min-height:calc(100vh - 62px)}.sidebar{min-height:calc(100vh - 62px);border-right:0;padding:26px 20px}.workspace.has-product .sidebar{display:none}.workspace:not(.has-product) .empty-workspace{display:none}.editor{padding:20px 14px 45px}.product-heading{display:block;margin-bottom:19px}.product-heading h1{font-size:24px}.heading-actions{flex-direction:row;margin-top:16px}.heading-actions button{font-size:11px;padding:8px 12px;flex:1}.product-meta{font-size:10px}.mobile-only{display:inline-block}#back{display:block;padding:0 0 14px;font-size:11px}.editor-grid,.capture-column,.review-column{gap:15px}.card{padding:19px 17px;border-radius:13px}.section-heading{margin-bottom:19px;gap:6px}.section-heading h2{font-size:15px}.section-heading .muted{font-size:10px}.role-picker span{font-size:10px;padding:8px 12px}.camera-button,.library-button{min-height:132px}.check{font-size:10px;margin-bottom:22px}.notes-heading .muted{font-size:9px}.notes-footer{align-items:center}.notes-footer .muted{max-width:190px}.photo-stage{min-height:210px}.photo-stage img{max-height:400px}.recognition-card .badge{font-size:9px}.field-grid{gap:10px}.save-actions{flex-direction:column}.save-actions button{font-size:12px}input,textarea,select{font-size:16px}.search input{font-size:13px}.login-shell{display:block;padding:35px 22px}.login-intro h1{font-size:37px}.login-intro>p{font-size:13px}.login-steps{margin-top:20px;margin-bottom:30px}.login-card{padding:24px}.login-intro .eyebrow{font-size:9px}.phone-mode .editor{padding-top:25px}.phone-mode .heading-actions,.phone-mode #back{display:none}.phone-mode .editor-grid{display:block}.phone-mode .review-column{display:none}.phone-mode .topbar .brand strong{display:none}.phone-mode .capture-column{gap:15px}.toast{bottom:15px;max-width:calc(100vw - 28px);font-size:12px}}

.form-recognition{padding:12px 14px;margin-bottom:20px;border:1px solid #d6e4d8;background:#f5f9f5;border-radius:9px}.form-recognition .analysis-message{font-size:11px}.form-recognition .text-button{font-size:11px;margin-top:4px}.field-suggestion{display:block;font-size:10px;font-weight:400;color:#3b7966;margin-top:6px}.field-suggestion summary{cursor:pointer}.field-suggestion span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);padding:5px 0}.suggested-input{border-color:#8fbaa6;background:#f8fcf8}

.speech-entry{padding:17px;margin:0 0 24px;border:1px solid #cbded6;border-radius:12px;background:#f1f7f3}.speech-entry h3{font-size:15px;margin:0 0 7px}.speech-entry p{font-size:11px;color:var(--muted);margin-bottom:13px}.speech-start{width:100%;min-height:54px;font-size:14px}.speech-start svg{width:23px;height:23px;flex-shrink:0}.speech-entry #speech-help{margin:10px 0}.speech-keywords{font-size:11px;color:var(--brand)}.speech-keywords summary{cursor:pointer}.speech-keywords p{margin:8px 0;overflow-wrap:anywhere}.speech-file-button{display:inline-block;cursor:pointer;margin-top:10px}.speech-retry{display:flex;gap:8px;flex-wrap:wrap}.speech-retry button{font-size:11px}
dialog.recording-dialog{position:fixed;inset:0;margin:0;border:0;border-radius:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;padding:24px;background:var(--deep);color:white;overflow:auto;box-shadow:none}.recording-dialog[open]{display:flex;align-items:center;justify-content:center}.recording-content{text-align:center;width:min(100%,520px);margin:auto}.recording-content .eyebrow{color:#bed7cf}.recording-content h2{font-size:30px;margin:15px 0}.recording-content p{color:#d0dfdf;font-size:15px}.recording-microphone{display:grid;place-items:center;width:150px;height:150px;border-radius:50%;margin:48px auto 30px;background:#ecf5ef;color:var(--deep);position:relative}.recording-microphone svg{width:58px;height:58px}.recording-microphone:disabled{opacity:.65;cursor:wait}.recording-dialog.is-recording .recording-microphone{background:#fff1ee;color:#a34040;animation:mic-pulse 1.4s ease-in-out infinite}.recording-time{display:block;font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:2px;margin-bottom:22px}.recording-content .recording-example{font-size:13px;margin:0 auto 25px;max-width:340px}.recording-dialog.is-recording #recording-cancel{display:none}body.recording-open{overflow:hidden}@keyframes mic-pulse{0%,100%{box-shadow:0 0 0 12px #fff1ee18}50%{box-shadow:0 0 0 28px #fff1ee08}}.recording-dialog.is-recording .recording-microphone svg{animation:mic-breathe 1.4s ease-in-out infinite}@keyframes mic-breathe{50%{transform:scale(1.12)}}@media(prefers-reduced-motion:reduce){.recording-dialog.is-recording .recording-microphone{animation:none;outline:8px solid #ffffff33}.recording-dialog.is-recording .recording-microphone svg{animation:none}}@media(max-width:650px){.speech-entry{padding:15px}.speech-entry p,.speech-keywords{font-size:12px}.recording-content h2{font-size:26px}.recording-content p{font-size:14px}.recording-microphone{width:138px;height:138px;margin-top:40px}}
.sidebar-qr{margin-top:24px;padding:16px 10px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:center}.sidebar-qr h2{font-size:14px;margin-bottom:12px}.sidebar-qr img{display:block;width:160px;max-width:100%;height:auto;margin:0 auto;background:#fff}.sidebar-qr p{font-size:11px;color:var(--muted);margin:10px 0 7px}.sidebar-qr a{font-size:11px;color:var(--brand);overflow-wrap:anywhere}
