#send-files{margin-top:12px;background:#f0fafb;color:#146575;border:1px solid #83cdd5;width:100%;border-radius:12px;padding:16px;font:inherit;font-weight:700;cursor:pointer}
#send-files[hidden]{display:none}#intake-dialog,#scan-editor,#scan-guide{width:min(620px,calc(100% - 28px));max-height:90dvh;border:0;border-radius:20px;padding:28px;color:#163d43;box-sizing:border-box}dialog::backdrop{background:rgb(7 35 40 / 65%)}
.intake-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.intake-fields label{display:grid;gap:6px}.intake-fields input,.intake-fields textarea{width:100%;box-sizing:border-box;border:1px solid #b8dce0;border-radius:10px;padding:12px;background:#fff;font:inherit}.intake-wide{grid-column:1/-1}.intake-consent{display:flex;align-items:flex-start;gap:10px;font-size:15px;margin:18px 0}.intake-consent input{flex-shrink:0;margin-top:5px}.intake-honey{position:absolute;left:-10000px}.intake-files{font-size:14px;overflow-wrap:anywhere;background:#eef8f9;border-radius:10px;padding:12px}#intake-status,#scan-editor-status{min-height:1.5em;overflow-wrap:anywhere}#scan-surface{position:relative;margin:20px 20px 24px;touch-action:none}#scan-canvas{display:block;width:100%;height:auto;max-height:58dvh;object-fit:contain}#scan-surface{width:fit-content;max-width:calc(100% - 40px)}#scan-canvas{max-width:100%;width:auto}#scan-surface svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#scan-outline{fill:rgb(48 186 199 / 10%);stroke:#0aa5b6;stroke-width:.6;vector-effect:non-scaling-stroke}.scan-handle{position:absolute;width:30px;height:30px;transform:translate(-50%,-50%);padding:0;border:3px solid white;border-radius:50%;background:#08a6b8;box-shadow:0 1px 8px #173a5266;touch-action:none;cursor:move}.scan-actions{display:flex;gap:12px;flex-wrap:wrap}.scan-actions button{font:inherit;padding:10px 14px;border-radius:10px;border:1px solid #a8d9de;background:#f2fafb;color:#185762}.scan-guide-illustration{margin:20px auto;width:120px;height:160px;border:2px dashed #24aebc;border-radius:8px;background:linear-gradient(#ffffff,#e5f6f8);position:relative}.scan-guide-illustration::after{content:'▤';position:absolute;inset:30px 0;text-align:center;font-size:64px;color:#3291a0}.scan-guide-tip{line-height:1.65}#scan-use{width:100%;margin-top:18px}@media(max-width:520px){.intake-fields{grid-template-columns:1fr}#intake-dialog,#scan-editor,#scan-guide{padding:22px 18px}.scan-handle{width:34px;height:34px}#scan-surface{margin:20px;max-width:calc(100% - 40px)}}

#intake-receipt{text-align:center;padding:24px 8px}#intake-receipt h3{font-size:28px;margin:18px 0}#intake-receipt p{line-height:1.6}.intake-success-mark{width:64px;height:64px;display:grid;place-items:center;margin:auto;background:#e1f4ef;color:#198f65;border-radius:50%;font-size:34px}#intake-receipt button{font:inherit;margin-top:18px;padding:12px 35px}

/* Reserve separate rows for the instructions, photo and actions. */
#scan-editor[open]{display:flex;flex-direction:column;gap:10px;height:calc(100dvh - 24px);max-height:780px;overflow:hidden;padding:20px}
#scan-editor h2{font-size:21px;margin:0;flex-shrink:0}#scan-editor-help{font-size:16px;line-height:1.4;margin:0;flex-shrink:0}
#scan-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden}
#scan-surface{margin:0;max-width:none;flex-shrink:0}#scan-canvas{width:100%;height:100%;max-height:none;max-width:none}
.scan-grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#607d7e26 1px,transparent 1px),linear-gradient(90deg,#607d7e26 1px,transparent 1px);background-size:24px 24px}
#scan-editor .scan-actions{display:flex;flex-wrap:nowrap;gap:7px;flex-shrink:0}#scan-editor .scan-actions button{flex:1;min-width:0;padding:10px 4px;font-size:15px;white-space:nowrap;min-height:42px}
#scan-use{flex-shrink:0;margin:0;min-height:46px;padding:10px;font-size:18px}#scan-editor-status{flex-shrink:0;font-size:14px;line-height:1.25;min-height:0;margin:0;max-height:3.75em;overflow:auto}
#photo-review,#photo-review-dialog{background:#edf8f8;color:#163d43;border-radius:15px;padding:20px;box-sizing:border-box}#photo-review[hidden]{display:none}#photo-review h3{margin:0 0 8px}#photo-review p{line-height:1.5}#photo-review-dialog{width:min(540px,calc(100% - 24px));border:0;max-height:90dvh;overflow:auto;padding:28px 22px}#photo-review-dialog h2{padding-right:28px}#photo-review-downloads{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.photo-download{padding:10px 14px;border:1px solid #83cdd5;border-radius:10px;color:#146575;background:#fff}#photo-review-whatsapp{width:100%}
@media(max-height:520px){#scan-editor[open]{gap:6px;padding:12px}#scan-editor h2{font-size:18px}#scan-editor-help{font-size:14px}#scan-stage{min-height:45px}#scan-editor .scan-actions button{min-height:36px;padding:6px 4px}#scan-use{min-height:38px;padding:6px}}
@media(max-width:760px){.quote{scroll-margin-top:12px;padding:20px}.quote .section-head{margin-bottom:10px}#quote-route{margin:0 0 6px}#quote-count{margin:6px 0}.quote .services{margin:12px 0}.quote .services label{padding:10px}.quote .total{margin:12px 0;padding:12px 0}.quote .quote-disclaimer{font-size:13px;line-height:1.4;margin:10px 0}.quote #contact,.quote #send-files{padding:12px;font-size:17px;margin-top:8px}.quote .contact-status:empty{display:none}.mode-tabs{scroll-margin-top:12px}}

[hidden]{display:none!important}

.quote-notes{margin:12px 0;font-size:15px;color:#fff}.quote-notes summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.quote-notes .quote-disclaimer{margin:8px 0}@media(max-width:760px){.quote .services label{font-size:16px;min-height:42px;margin:5px 0;padding:8px}.quote .services legend{margin-bottom:5px;font-size:16px}.quote .total{gap:3px}.quote .total>span{font-size:16px}.quote .total strong{font-size:36px}.quote .total small{font-size:13px}.quote #contact,.quote #send-files{min-height:46px;padding:10px}.quote .quote-notes{margin:10px 0;font-size:14px}}

@media(max-width:760px){.original-count{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.original-count>span:first-child{flex:1 1 auto;white-space:nowrap;font-size:15px;margin:0}.original-count input{flex:0 0 58px;width:58px}.original-count small{flex-basis:100%}}

#intake-human{margin:16px 0;max-width:100%;min-height:1px}#intake-privacy-dialog{box-sizing:border-box;width:min(720px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:0;border-radius:16px;padding:0 20px 20px;color:#163d43;background:#fff}#intake-privacy-dialog::backdrop{background:#102f3bcc}#intake-privacy-back{position:sticky;top:0;z-index:1;width:100%;margin:0 0 14px;border-radius:0 0 10px 10px;min-height:48px}#intake-privacy-content{line-height:1.65;overflow-wrap:anywhere}#intake-privacy-content h2{font-size:24px}
