.manual-workspace{max-width:1000px;margin:auto;min-width:0;padding-bottom:20px}.manual-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.manual-heading h2{font-size:clamp(30px,4vw,46px);margin:8px 0;line-height:1.1}.manual-heading p{color:#c9c0c1;max-width:560px;font-size:14px;line-height:1.7}.manual-workspace button,.manual-workspace .button{white-space:normal;min-height:48px}.manual-list{display:grid;gap:12px}.manual-list-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto 18px;gap:16px;align-items:center;text-align:left;width:100%;padding:18px;border:1px solid #48343b;background:#1c191b}.manual-list-item strong,.manual-list-item small{display:block}.manual-list-item small{color:#c4b8bc;margin-top:8px;font-weight:400;overflow-wrap:anywhere}.manual-list-logo{padding:6px;background:#fff;border-radius:8px;display:grid;place-items:center;height:56px}.manual-list-logo img{width:100%;max-height:44px;object-fit:contain}.manual-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:24px 0;padding:0;list-style:none;scroll-margin-top:90px}.manual-progress li{border-top:2px solid #3a3034;padding:12px 0;font-size:13px;color:#bfb1b7;display:flex;align-items:center;gap:8px}.manual-progress li.current{border-color:#9e3b51;color:#fff}.manual-progress li>span{display:grid;place-items:center;background:#2b2327;border-radius:50%;width:26px;height:26px;flex:0 0 26px}.manual-progress .current>span{background:#751d32}.manual-workspace fieldset{margin:0;border:1px solid #48343b;padding:28px;border-radius:16px;background:#191719;min-width:0}.manual-workspace legend{font-size:24px;font-weight:600;padding:0 8px}.manual-workspace fieldset>p{font-size:14px;line-height:1.7}.manual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.manual-workspace .field{min-width:0;display:grid;gap:8px}.manual-workspace input:not([type=radio]):not([type=checkbox]):not([type=range]),.manual-workspace select,.manual-workspace textarea{width:100%;min-width:0;max-width:100%;min-height:50px;font-size:16px;box-sizing:border-box;padding:12px;background:#262124;border:1px solid #64515a;color:#fff;color-scheme:dark}.manual-workspace input[readonly]{color:#d6c4ca;border-style:dashed}.manual-workspace textarea{min-height:100px;resize:vertical}.manual-workspace .field>span{font-size:13px;color:#e2d8dc}.manual-brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.manual-brands label{cursor:pointer;position:relative;min-width:0}.manual-brands label>span{display:flex;flex-direction:column;align-items:center;gap:12px;height:134px;border:2px solid #55434b;background:#f8f5ef;color:#48202d;padding:14px 10px;border-radius:12px;font-size:12px;text-align:center}.manual-brands input{position:absolute;top:10px;left:10px;width:18px;height:18px;accent-color:#751d32}.manual-brands label:has(:checked)>span{border-color:#b76479;box-shadow:0 0 0 2px #751d32}.manual-brands img{width:100%;height:66px;object-fit:contain}.manual-extra{border-top:1px solid #48343b;padding-top:20px}.manual-extra summary,.manual-pdf-expand summary{cursor:pointer;padding:12px 0;font-size:15px}.manual-totals{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding:20px;background:#2a1a20;border:1px solid #693747;border-radius:12px}.manual-totals span{font-size:12px;color:#d8c7ce;display:grid;gap:6px}.manual-totals strong{font-size:20px;color:#fff}.manual-fuel{display:grid;gap:12px;margin:20px 0 28px}.manual-fuel>span{display:flex;justify-content:space-between;align-items:center}.manual-fuel output{padding:7px 12px;background:#751d32;border-radius:8px;font-weight:bold}.manual-fuel input{width:100%;min-height:44px;accent-color:#a44860;touch-action:pan-y}.manual-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.manual-upload{min-width:0;border:1px solid #55404a;border-radius:14px;padding:20px}.manual-upload h3{font-size:17px;margin:0 0 10px}.manual-upload p{font-size:12px;line-height:1.6;color:#c5b6bc}.manual-file-button{display:flex;align-items:center;justify-content:center;min-height:48px;position:relative;background:#452331;border:1px solid #95546a;border-radius:10px;font-size:14px;overflow:hidden;cursor:pointer}.manual-file-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.manual-file-button:focus-within{outline:2px solid #fff;outline-offset:2px}.manual-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.manual-thumbs>div{width:100px}.manual-thumbs button{display:block;padding:0;min-height:40px;width:100%;font-size:12px;border:0;background:transparent}.manual-thumbs img{display:block;width:100%;height:90px;object-fit:cover;border-radius:8px}.manual-actions{position:sticky;bottom:0;background:#171315f5;backdrop-filter:blur(12px);padding:16px 0 max(16px,env(safe-area-inset-bottom));display:flex;gap:12px;justify-content:flex-end;z-index:5;border-top:1px solid #49323d;margin-top:20px}.manual-save-state{font-size:12px;color:#c5b6bc;min-height:20px}.manual-review-brand{display:flex;align-items:center;gap:20px;margin:10px 0 22px;font-size:20px}.manual-review-brand img{width:120px;height:80px;object-fit:contain;background:white;padding:8px;border-radius:10px}.manual-review-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.manual-review-details>div{border-bottom:1px solid #493943;padding:12px 0;min-width:0}.manual-review-details dt{color:#c5b6bc;font-size:12px;margin-bottom:6px}.manual-review-details dd{margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.manual-review-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 28px}.manual-review-photos button{padding:8px;background:#272026;border:1px solid #59424d;font-size:12px}.manual-review-photos img{width:100%;height:120px;object-fit:contain;background:#100e10}.manual-review-photos span{display:block;margin-top:8px}.manual-terms{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3eee6;color:#35232b;border-radius:12px;padding:22px;font-size:14px;line-height:1.8;max-height:440px;overflow-y:auto}.manual-photo-full{width:100%;height:auto;object-fit:contain}.manual-delivery-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.manual-delivery-actions button,.manual-delivery-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px}.manual-delivery-actions svg{width:21px;height:21px}.manual-pdf-expand iframe{width:100%;height:70dvh;border:0;background:#fff;border-radius:10px}.manual-sign-dialog #manual-signature{display:block;width:100%;height:240px;min-height:140px;max-height:40dvh;background:#fff;border-radius:12px;touch-action:none;flex:0 0 auto}.manual-sign-dialog .manual-consent{font-size:13px;line-height:1.6;align-items:flex-start;margin:18px 0;display:flex;gap:12px}.manual-consent input{width:22px;height:22px;flex:0 0 22px;accent-color:#751d32}.manual-sign-dialog .modal-body{display:block}.manual-sign-dialog p{font-size:14px}.manual-workspace [hidden]{display:none!important}
@media(max-width:680px){.tabs{flex-wrap:wrap;gap:6px}.tabs button{padding:10px 13px;font-size:13px;flex:1 0 auto}.manual-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-top:16px}.manual-heading>button{width:100%}.manual-grid,.manual-photo-grid{grid-template-columns:minmax(0,1fr);gap:16px}.manual-workspace fieldset{padding:18px 14px}.manual-workspace legend{font-size:21px}.manual-brands{gap:8px}.manual-brands label>span{height:122px;padding:26px 6px 8px;font-size:10px;gap:8px}.manual-brands img{height:48px}.manual-brands input{top:8px;left:8px;width:16px;height:16px}.manual-progress{gap:6px;scroll-margin-top:78px}.manual-progress li{font-size:11px;gap:5px;flex-direction:column;align-items:flex-start}.manual-actions{gap:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}.manual-actions button{font-size:12px;padding:10px 5px}.manual-actions button.primary{grid-column:auto;min-width:0}.manual-actions:has(#manual-prev[hidden]),.manual-actions:has(#manual-save[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}.manual-list-item{grid-template-columns:55px minmax(0,1fr) 14px;padding:14px;gap:12px}.manual-list-item>.badge{grid-column:2;grid-row:2;justify-self:start}.manual-list-item>span:last-child{grid-column:3;grid-row:1}.manual-list-logo{height:46px}.manual-list-item strong{font-size:14px}.manual-list-item small{font-size:11px}.manual-review-details{grid-template-columns:minmax(0,1fr)}.manual-review-brand{gap:14px;font-size:17px}.manual-review-brand img{width:95px;height:65px}.manual-review-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-terms{font-size:13px;padding:16px;max-height:50dvh}.manual-delivery-actions{display:grid;grid-template-columns:1fr;width:100%}.manual-delivery-actions>*{width:100%}.manual-sign-dialog .modal-body{padding:16px;overflow-y:auto}.manual-sign-dialog #manual-signature{height:27dvh;max-height:220px;min-height:140px}.manual-sign-dialog .modal-foot{display:grid;grid-template-columns:1fr 2fr;position:static}.manual-sign-dialog .modal-foot button{font-size:13px;padding:10px}.manual-sign-dialog .manual-consent{font-size:12px}.manual-totals{gap:16px}.manual-totals strong{font-size:19px}}
.identity-scan-card{display:flex;align-items:center;gap:22px;justify-content:space-between;margin:22px 0 26px;padding:20px;border:1px solid #63313d;border-radius:16px;background:#261b1f}.identity-scan-card h3{font-size:22px;margin:6px 0}.identity-scan-card p{max-width:540px;font-size:14px;line-height:1.6;margin:0;color:#d0c6c9}.identity-scan-card button{flex-shrink:0;min-height:48px}.identity-dialog{width:min(700px,calc(100% - 24px));max-width:calc(100% - 24px)}.identity-scan{min-width:0}.identity-scan [hidden]{display:none!important}.identity-scan p{font-size:14px;line-height:1.6}.identity-scan .field{margin:16px 0}.identity-scan input,.identity-scan select{font-size:16px;min-height:48px}.identity-source{display:flex;gap:12px;margin:16px 0}.identity-source>label{position:relative;overflow:hidden;flex:1;text-align:center;cursor:pointer;min-height:48px}.identity-source input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.identity-source>label:focus-within{outline:2px solid #b95870;outline-offset:3px}.identity-source>label:has(input:disabled){opacity:.5}.identity-scan #identity-preview{display:block;max-width:100%;max-height:270px;object-fit:contain;border-radius:12px;margin:16px auto;background:#eee}.identity-scan #identity-rotate{display:block;margin:0 auto}.identity-scan progress{width:100%;accent-color:#8b3047}.identity-scan #identity-read,.identity-scan #identity-apply{width:100%;min-height:50px;margin:12px 0}.identity-review-field{padding:14px 0;border-bottom:1px solid #40383b;min-width:0}.identity-review-field .field{margin:8px 0}.identity-review-field small{display:block;color:#c1b7ba;overflow-wrap:anywhere;line-height:1.5}.identity-select,.identity-attach{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px}.identity-select input,.identity-attach input{width:22px;height:22px;min-height:22px;flex:0 0 22px;accent-color:#8b3047}.identity-attach{align-items:flex-start;margin:20px 0;line-height:1.5}.identity-raw{margin:20px 0}.identity-raw pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:180px;overflow:auto}.identity-dialog .modal-body{overflow-y:auto;overscroll-behavior:contain}.identity-scan #identity-error{overflow-wrap:anywhere}.identity-scan .notice{font-size:13px}
@media(max-width:680px){.identity-scan-card{flex-direction:column;align-items:stretch;padding:16px;gap:14px}.identity-scan-card h3{font-size:21px}.identity-dialog .modal-body{padding:16px}.identity-dialog .modal-head{padding:16px}.identity-dialog .modal-head h2{font-size:23px}.identity-source{gap:8px}.identity-source>label{padding:12px 8px;font-size:14px}.identity-dialog{max-height:calc(100dvh - 20px);margin:10px auto}.identity-scan #identity-preview{max-height:210px}}
