.portal-page{min-height:100vh}.portal-header{display:flex;align-items:center;gap:22px;padding:24px clamp(18px,4vw,60px);background:#fff;border-bottom:1px solid var(--line)}.portal-header .wordmark{color:var(--ink);font-size:25px}.portal-header>span{font-size:10px;letter-spacing:1px;color:var(--muted);flex:1}.portal-header>button{font-size:12px;min-height:40px}.portal-nav{display:flex;align-items:center;gap:24px;overflow-x:auto;padding:0 clamp(18px,4vw,60px);border-bottom:1px solid var(--line);background:#fff}.portal-nav a{padding:16px 0;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.portal-nav a[aria-current=page]{border-color:#111}.portal-main{max-width:1120px;margin:auto;padding:42px clamp(18px,4vw,44px) 80px}.portal-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.portal-title h1{font-size:clamp(30px,5vw,44px);font-weight:500;letter-spacing:-1.5px;margin:0 0 10px}.portal-title p{color:var(--muted);font-size:13px;line-height:1.65;margin:0;max-width:620px}.portal-kicker{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);margin:0 0 14px}.portal-panel,.portal-card{background:#fff;border:1px solid var(--line);padding:clamp(18px,3vw,28px);margin:0 0 18px;min-width:0}.portal-panel h2{font-size:21px;font-weight:500;letter-spacing:-.45px;margin:0 0 16px}.portal-panel>p,.portal-card>p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0 18px}.portal-panel>p:last-child,.portal-card>p:last-child{margin-bottom:0}.portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-grid>.portal-panel{margin:0}.portal-form{display:grid;gap:20px}.portal-field{display:grid;gap:8px;min-width:0;font-size:12px;color:#444}.portal-field input,.portal-field select,.portal-field textarea{border:1px solid var(--line);background:#fff;min-height:46px;width:100%;padding:12px 13px;color:var(--ink);font:inherit;font-size:14px;border-radius:0}.portal-field input:focus,.portal-field select:focus,.portal-field textarea:focus{outline:1px solid #111;outline-offset:1px}.portal-field textarea{min-height:100px;resize:vertical;line-height:1.6}.portal-field small,.portal-help{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.portal-field input:disabled{background:var(--paper);color:var(--muted)}.portal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6}.portal-check input{width:16px;height:16px;margin:2px 0 0;accent-color:#111;flex:none}.portal-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.portal-button{min-height:44px;padding:12px 18px;border:1px solid var(--line);background:#fff;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;color:var(--ink)}.portal-button.primary{background:#111;border-color:#111;color:#fff}.portal-button.subtle{border-color:transparent;padding-inline:4px;color:var(--muted)}.portal-button:disabled{opacity:.45;cursor:not-allowed}.portal-button:hover:not(:disabled){border-color:#777}.portal-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 24px;padding:12px 0;position:sticky;top:0;z-index:5;background:var(--paper)}.portal-tabs a{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);padding:14px 16px;font-size:12px;white-space:nowrap;background:#fff;min-height:48px}.portal-tabs a:hover{border-color:#777}.portal-tabs a:focus-visible{outline:2px solid #111;outline-offset:2px}.portal-tabs a[aria-current=page]{background:#111;color:#fff;border-color:#111}.portal-draft-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.portal-workspace-section{min-width:0;scroll-margin-top:90px}.portal-status{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);padding:5px 8px;font-size:10px;text-transform:capitalize;white-space:nowrap;line-height:1.2}.portal-status::before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.portal-status.approved,.portal-status.delivered{background:#111;border-color:#111;color:white}.portal-status.rejected,.portal-status.suspended,.portal-status.failed{border-style:dashed}.portal-card-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.portal-card-head h2,.portal-card-head h3{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:0 0 6px}.portal-card-head small{color:var(--muted);font-size:11px}.portal-meta{display:flex;gap:6px 20px;flex-wrap:wrap;font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0}.portal-note{font-size:12px;line-height:1.7;padding:14px 16px;background:var(--paper);border-left:2px solid #aaa;margin:14px 0;overflow-wrap:anywhere}.portal-empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7;background:#fff;border:1px solid var(--line)}.portal-empty h2{font-weight:500;color:var(--ink);font-size:19px;margin:0 0 8px}.portal-error{font-size:12px;line-height:1.6;color:#a32828;overflow-wrap:anywhere;margin:0}.portal-error:empty{display:none}.portal-banner{padding:16px 20px;border:1px solid var(--line);background:#eee;margin:0 0 24px;font-size:12px;line-height:1.7}.portal-loading{padding:70px 0;color:var(--muted);font-size:13px}.portal-result-list{display:grid;gap:10px;max-height:380px;overflow:auto;overscroll-behavior:contain}.portal-product{display:flex;text-align:left;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);background:#fff;width:100%;min-width:0}.portal-product[aria-pressed=true]{outline:1px solid #111;border-color:#111}.portal-product>span:first-child{flex:1;min-width:0}.portal-product strong{display:block;font-size:14px;font-weight:500;line-height:1.5}.portal-product small{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}.portal-product .portal-status{flex:none}.portal-choice{display:flex;gap:8px;flex-wrap:wrap}.portal-choice button{flex:1;min-width:125px}.portal-choice [aria-pressed=true]{background:#111;color:#fff;border-color:#111}.portal-image-list{display:flex;gap:12px;overflow:auto;padding:4px 2px 10px;min-width:0}.portal-photo{flex:0 0 110px;position:relative;border:1px solid var(--line);background:var(--paper);padding:8px}.portal-photo img{display:block;width:92px;height:92px;object-fit:contain}.portal-photo>div{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-top:6px}.portal-photo button{min-width:26px;min-height:26px}.portal-upload{position:relative;overflow:hidden;display:inline-flex}.portal-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;max-width:100%}.portal-upload:focus-within{outline:2px solid #111;outline-offset:2px}.portal-progress{height:3px;background:#e8e8e5;overflow:hidden}.portal-progress>span{display:block;height:100%;background:#111;transition:width .1s linear}.portal-review-details{display:grid;grid-template-columns:140px minmax(0,1fr);margin:16px 0;font-size:12px;line-height:1.6;gap:9px 18px}.portal-review-details dt{color:var(--muted)}.portal-review-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.portal-review-fields{margin-top:20px;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:14px}.portal-audit{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.portal-audit summary{font-size:11px;color:var(--muted);cursor:pointer}.portal-audit ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px;font-size:11px;line-height:1.6}.portal-audit li{display:grid;gap:3px;border-left:1px solid var(--line);padding-left:12px}.portal-audit time{color:var(--muted)}.portal-dialog{max-width:620px;width:calc(100% - 32px);padding:0;border:1px solid var(--line);max-height:calc(100dvh - 36px);background:#fff}.portal-dialog::backdrop{background:#0007}.portal-dialog-top{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px}.portal-dialog-top h2{font-size:20px;font-weight:500;letter-spacing:-.5px;margin:0;flex:1}.portal-dialog-top button{font-size:24px;min-width:36px;min-height:36px;line-height:1}.portal-dialog-body{padding:24px}.portal-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#111;color:white;padding:14px 20px;font-size:12px;opacity:0;pointer-events:none;transition:.18s;z-index:50;width:max-content;max-width:calc(100% - 32px)}.portal-toast.visible{transform:translate(-50%,0);opacity:1}.portal-subheading{margin:24px 0 16px;font-size:19px;font-weight:500;letter-spacing:-.4px}.portal-search{margin-bottom:18px}.portal-search input{max-width:100%}.portal-divider{border:0;border-top:1px solid var(--line);margin:6px 0}.portal-compact{font-size:11px;color:var(--muted)}.portal-split{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0}.portal-split h2{margin:0;font-size:20px;font-weight:500}.portal-data-list{margin:0;padding-left:18px;font-size:12px;line-height:1.8}.portal-review-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;margin:12px 0}.portal-details summary{font-size:12px;cursor:pointer;min-height:36px;display:flex;align-items:center}.portal-footer{margin-top:30px;font-size:11px;color:var(--muted);line-height:1.7}.portal-readonly{color:var(--muted)}@media(max-width:680px){.portal-header{gap:14px;padding-block:18px}.portal-header .wordmark{font-size:23px}.portal-header>span{font-size:9px;letter-spacing:.7px}.portal-nav{gap:22px}.portal-main{padding-top:30px}.portal-title{display:block}.portal-title>.portal-button{margin-top:16px}.portal-grid,.portal-fields,.portal-fields.three{grid-template-columns:1fr}.portal-card-head{gap:10px}.portal-review-details{grid-template-columns:1fr;gap:4px}.portal-review-details dd{margin-bottom:8px}.portal-dialog-body,.portal-dialog-top{padding:18px}.portal-tabs{gap:6px}.portal-tabs a{padding:12px 5px;font-size:11px}.portal-image-list{max-width:calc(100vw - 76px)}}@media(prefers-reduced-motion:reduce){.portal-progress>span,.portal-toast{transition:none}}
/* Admin partners share the store manager shell and compact review lists. */
.partner-admin .portal-title h1{font-size:30px;letter-spacing:-1px}.partner-admin .portal-title{margin-bottom:24px}.partner-admin .portal-kicker{display:none}.partner-admin .portal-title p{font-size:12px;max-width:650px}.portal-section-list,.portal-review-list{border:1px solid var(--line);background:#fff}.portal-section-list>a,.portal-list-row>summary{display:flex;align-items:center;gap:18px;min-height:82px;padding:18px 20px;list-style:none}.portal-section-list>a+a,.portal-list-row+.portal-list-row{border-top:1px solid var(--line)}.portal-section-list>a:hover,.portal-list-row>summary:hover{background:#fafaf8}.portal-list-copy{display:block;flex:1;min-width:0}.portal-list-copy strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.portal-list-copy small{display:block;font-size:11px;color:var(--muted);line-height:1.65;margin-top:3px;overflow-wrap:anywhere}.portal-list-count{font-size:11px;color:var(--muted);white-space:nowrap}.portal-list-row>summary{cursor:pointer}.portal-list-row>summary::-webkit-details-marker{display:none}.portal-list-row>summary:focus-visible,.portal-section-list>a:focus-visible{outline:2px solid #111;outline-offset:-2px}.portal-row-indicator{display:flex;align-items:center;justify-content:center;font-size:18px;color:#777;flex:0 0 18px}.portal-row-indicator::before{content:'+'}.portal-list-row[open]>summary{background:#fafaf8}.portal-list-row[open]>summary .portal-row-indicator::before{content:'−'}.portal-list-detail{border-top:1px solid var(--line);padding:22px 24px}.portal-list-detail>.portal-card{margin:0;border:0;padding:0;max-width:760px}.portal-list-detail>.portal-card>.portal-card-head{display:none}.portal-list-detail .portal-review-details{margin-top:0}.portal-list-filters{display:flex;gap:8px;margin:0 0 18px;overflow-x:auto}.portal-list-filters a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;background:#fff;border:1px solid var(--line);font-size:12px;white-space:nowrap}.portal-list-filters a[aria-current=page]{background:#111;color:#fff;border-color:#111}.portal-list-row .portal-status{flex-shrink:0}.portal-list-row .portal-error{white-space:normal}@media(max-width:680px){.partner-admin .portal-title h1{font-size:27px}.portal-section-list>a,.portal-list-row>summary{min-height:80px;padding:15px 14px;gap:10px}.portal-list-copy strong{font-size:13px}.portal-list-copy small{font-size:10px}.portal-list-detail{padding:20px 15px}.portal-list-row .portal-status{padding:5px 6px;font-size:9px}.portal-row-indicator{flex-basis:12px;font-size:16px}.portal-list-filters a{flex:1;padding-inline:14px}.portal-list-count{font-size:10px}}

.portal-onboarding{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:0 0 24px;border:1px solid var(--line);background:#fff}.portal-onboarding li{display:flex;align-items:center;gap:12px;padding:16px;font-size:12px;line-height:1.5}.portal-onboarding li+li{border-left:1px solid var(--line)}.portal-onboarding li>span{color:var(--muted);font-size:11px}.portal-onboarding small{display:block;color:var(--muted);font-size:10px}.portal-onboarding li[aria-current=step]{background:#efefeb}@media(max-width:680px){.portal-onboarding{grid-template-columns:1fr}.portal-onboarding li+li{border-left:0;border-top:1px solid var(--line)}.portal-onboarding li{padding:12px 16px}}
.portal-application-status{display:flex;align-items:flex-start;gap:18px;min-width:0}.portal-status-marker{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:1px solid transparent;background:transparent}.portal-status-marker>span{width:6px;height:6px;background:#777;border-radius:50%}.portal-status-content{position:relative;flex:1;min-width:0}.portal-status-label{font-size:10px;color:var(--muted)}.portal-status-copy h2{margin:9px 0 10px;font-size:21px}.portal-status-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.portal-application-pending>.portal-actions{margin-top:24px}.portal-application-pending>[data-application-status-error]:not(:empty){margin-top:14px}.portal-status-spinner{display:none;position:absolute;top:50%;left:50%;width:18px;height:18px;border:2px solid #deded9;border-top-color:#333;border-radius:50%;transform:translate(-50%,-50%)}.portal-application-status[aria-busy=true] .portal-status-copy{visibility:hidden}.portal-application-status[aria-busy=true] .portal-status-spinner{display:block;animation:portal-status-spin .7s linear infinite}@keyframes portal-status-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}@media(max-width:480px){.portal-application-status{gap:13px}.portal-status-marker{width:36px;height:36px}.portal-status-copy h2{font-size:19px}.portal-status-copy p{font-size:12px}}@media(prefers-reduced-motion:reduce){.portal-application-status[aria-busy=true] .portal-status-spinner{animation:none}}
.portal-application-group{margin:0 0 30px}.portal-application-group-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.portal-application-group-heading h2{font-size:16px;font-weight:500;letter-spacing:-.25px;margin:0}.portal-application-group-heading>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.portal-application-group-empty{margin:0;border:1px solid var(--line);padding:22px 20px;background:#fff;font-size:12px;color:var(--muted);line-height:1.6}.portal-draft-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;min-height:82px}.portal-draft-row+.portal-draft-row{border-top:1px solid var(--line)}.portal-draft-row>.portal-status{flex:none}.portal-review-section{padding:22px 0;border-bottom:1px solid var(--line)}.portal-review-section:first-of-type{padding-top:0}.portal-review-section h3,.portal-review-heading{margin:0 0 16px;font-size:15px;font-weight:500;letter-spacing:-.2px}.portal-review-section .portal-review-details{margin:0}.portal-review-fields>.portal-review-heading{margin:0}.portal-review-fields>.portal-review-details{margin:0 0 4px}.portal-review-section+.portal-review-documents{border-top:0;padding-top:22px;margin-top:0}@media(max-width:680px){.portal-draft-row{padding:15px 14px;gap:10px}.portal-review-section{padding-block:20px}.portal-review-section .portal-review-details dd:last-child{margin-bottom:0}}

.portal-phone{display:flex;align-items:center;border:1px solid var(--line);min-width:0;background:#fff}.portal-phone>span{padding:0 13px;color:#777;line-height:24px;border-right:1px solid var(--line);font-size:14px;flex:none}.portal-phone input{border:0;min-width:0;flex:1}.portal-phone:focus-within{outline:1px solid #111;outline-offset:1px}.portal-phone input:focus{outline:0}.portal-phone input::placeholder{color:#aaa;opacity:1}.portal-area-info{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;background:#eeeee9;border:1px solid var(--line);font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 20px}.portal-form .portal-area-info{margin:-6px 0 0}.portal-info-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #aaa;border-radius:50%;font-size:10px;line-height:1;flex:none;margin-top:2px}
.portal-stock.unavailable{font-weight:600;color:var(--ink)}.portal-card[data-offer]>.portal-actions{flex-wrap:wrap}.portal-card[data-offer]>.portal-error{margin-bottom:0}

.portal-store-address-list{display:grid;gap:20px;margin-bottom:14px}.portal-store-address-row{min-width:0}.portal-address-control{display:flex;align-items:stretch;gap:10px;min-width:0}.portal-address-control>input{flex:1;min-width:0;width:0}.portal-remove-address{flex:0 0 46px;min-height:46px;padding:0;color:#a52d2d;border-color:#d9b9b9;font-size:21px;line-height:1}.portal-remove-address:hover{color:#fff;background:#a52d2d;border-color:#a52d2d}.portal-application-pending{max-width:740px}.portal-application-pending>h2{margin-top:20px}.portal-status.draft{background:#eeeee9;color:#555}.portal-phone input{font-variant-numeric:tabular-nums}.portal-store-addresses>.portal-help{margin-bottom:0}
.portal-documents{display:grid;gap:16px;border-top:1px solid var(--line);padding-top:20px;min-width:0}.portal-documents h3{font-size:16px;font-weight:500;margin:0 0 10px}.portal-document{display:grid;gap:12px;padding:16px;border:1px solid var(--line);min-width:0}.portal-document h4{font-size:13px;font-weight:500;margin:0}.portal-document-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-document-preview{display:grid;gap:8px;background:var(--paper);padding:8px;max-width:420px;font-size:11px;text-align:center}.portal-document-preview img{width:100%;height:160px;object-fit:contain;display:block}.portal-document-empty{display:grid;place-items:center;min-height:80px;background:var(--paper);font-size:12px;color:var(--muted)}.portal-document-upload{position:relative;overflow:hidden}.portal-document-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.portal-document-upload:focus-within{outline:2px solid #111;outline-offset:2px}.portal-document-upload:has(input:disabled){opacity:.45;cursor:not-allowed}.portal-remove-document{min-width:44px;padding-inline:12px;color:#a52d2d;border-color:#d9b9b9;font-size:21px}.portal-remove-document:hover{background:#a52d2d;color:#fff;border-color:#a52d2d}.portal-document-progress{display:grid;gap:8px;font-size:11px;color:var(--muted)}.portal-document-progress progress{width:100%;height:4px;accent-color:#555}.portal-driver-checks{display:grid;gap:14px;border:1px solid var(--line);margin:0;padding:18px;min-width:0}.portal-driver-checks legend{font-size:12px;padding:0 6px}.portal-review-documents{margin-top:22px}.portal-document-preview:focus-visible{outline:2px solid #111;outline-offset:2px}@media(max-width:480px){.portal-document{padding:12px}.portal-document-heading{align-items:flex-start}.portal-document-heading h4{line-height:1.5}.portal-driver-checks{padding:14px}}

/* Driver applications use two short sections and a dedicated document workspace. */
.driver-application-panel{max-width:760px;margin-inline:auto;padding:clamp(20px,4vw,36px)}
.driver-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line);max-width:760px;margin:0 auto 30px;gap:18px}
.driver-sections>button{display:flex;align-items:center;gap:12px;min-height:76px;padding:0 0 18px;text-align:left;border-bottom:2px solid transparent;margin-bottom:-1px;min-width:0}
.driver-sections>button>span:first-child,.driver-document-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border:1px solid var(--line);border-radius:50%;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.driver-sections>button>div{flex:1;min-width:0}
.driver-sections strong{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:500;line-height:1.4}
.driver-section-status{display:block;width:6px;height:6px;flex:none;margin-right:2px;border-radius:50%;background:#a4a49e}
.driver-section-status[data-state=dirty]{background:#bd7624}
.driver-section-status[data-state=saved]{background:#39805b}
.driver-phone>button{flex:none;min-width:76px;min-height:44px;align-self:stretch;padding:10px 14px;border-left:1px solid var(--line);font-size:12px;font-weight:500;transition:background .12s,color .12s}.driver-phone>button:hover:not(:disabled){background:var(--paper)}.driver-phone>button[data-verified=true]{color:#39805b}.driver-phone>button:disabled{cursor:default}.driver-phone>button:disabled:not([data-verified=true]){color:var(--muted)}.driver-phone>button:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}.driver-phone input{width:0}.driver-phone+small{min-height:18px}#phone-verification::backdrop{background:#0007}@media(prefers-reduced-motion:reduce){.driver-phone>button{transition:none}}
.driver-sections small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:3px}
.driver-sections>button[aria-current=step]{border-bottom-color:var(--ink)}
.driver-sections>button[aria-current=step]>span:first-child{color:#fff;background:var(--ink);border-color:var(--ink)}
.driver-sections>button:focus-visible,.driver-document-list>button:focus-visible,.driver-document-steps>button:focus-visible,.driver-capture-dialog button:focus-visible,.driver-section-footer button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.driver-section-heading{margin:0 0 24px}
.driver-section-heading h2{font-size:26px;font-weight:500;letter-spacing:-.8px;line-height:1.2;margin:0 0 10px}
.driver-section-heading p{color:var(--muted);font-size:12px;line-height:1.7;margin:0;max-width:530px}
.driver-application-stage{display:grid;gap:20px;min-width:0;animation:driver-panel-in .16s ease-out}
.driver-application-stage .driver-section-heading{margin-bottom:4px}
.driver-fieldset{border:0;padding:0;margin:0;min-width:0}.driver-fieldset legend{display:flex;align-items:center;gap:12px;width:100%;padding:4px 0 20px;font-size:16px;font-weight:500;letter-spacing:-.25px}.driver-fieldset legend>span{font-size:10px;font-weight:400;letter-spacing:.6px;color:var(--muted);font-variant-numeric:tabular-nums}.driver-fieldset+.driver-fieldset{margin-top:8px}.driver-fieldset+.driver-fieldset legend{border-top:1px solid var(--line);padding-top:26px}.driver-fieldset-fields{display:grid;gap:20px;min-width:0}.driver-previous-vehicle{padding:11px 13px;border-left:2px solid var(--line);background:var(--paper);overflow-wrap:anywhere}.driver-fieldset .driver-identity{border-top:0;padding-top:4px}.driver-fieldset .driver-identity h3{font-size:14px}
.driver-section-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:24px;margin-top:8px}
.driver-name-fields{display:grid;gap:20px;min-width:0}.driver-name-fields>.portal-help{margin-top:-6px;overflow-wrap:anywhere}
.driver-save-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.driver-save-actions>.primary{min-width:150px}.driver-save-actions>[data-action=save-driver-draft]{min-width:80px}.driver-save-status{min-height:18px;text-align:right;margin-top:-10px}
@media(max-width:580px){.driver-section-footer{flex-wrap:wrap}.driver-section-footer>.portal-help{flex-basis:100%}.driver-save-actions{gap:8px}.driver-save-actions>.primary{min-width:0;max-width:175px;line-height:1.4}.driver-save-actions>.portal-button{padding-inline:12px}.driver-save-actions>[data-action=save-driver-draft]{min-width:64px}}
.driver-vehicle-summary{margin-top:20px}
.driver-licence-name{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:var(--paper);border:1px solid var(--line);min-width:0}.driver-licence-name>div{display:grid;gap:7px;min-width:0}.driver-licence-name span{font-size:11px;color:var(--muted)}.driver-licence-name strong{font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.driver-licence-name .portal-button{flex:none;min-height:40px;padding:10px 12px;background:transparent;font-size:11px}.driver-licence-name .portal-button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.driver-identity{border-top:1px solid var(--line);padding-top:24px;min-width:0}
.driver-identity h3{font-size:17px;font-weight:500;letter-spacing:-.35px;margin:0 0 6px}
.driver-identity>small,.driver-identity>p,.driver-identity>div>small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin:0 0 16px}
.driver-identity>.portal-card-head{gap:16px;margin-bottom:0}
.driver-identity>.portal-card-head>.portal-compact{flex:none;padding-top:3px;white-space:nowrap}
.driver-identity>.portal-help:last-child{margin:12px 0 0}
.driver-document-list{display:grid;border:1px solid var(--line);margin:16px 0 0}
.driver-document-list>button{display:flex;align-items:center;gap:13px;text-align:left;min-height:78px;width:100%;padding:17px 18px;background:#fff}
.driver-document-list>button+button{border-top:1px solid var(--line)}
.driver-document-list>button:hover{background:#fafaf8}
.driver-document-copy{flex:1;min-width:0}
.driver-document-copy strong{display:block;font-size:13px;font-weight:500;line-height:1.4}
.driver-document-copy small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:3px}
.driver-document-status{flex:none;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}
.driver-document-status svg,.driver-document-number svg{width:15px;height:15px;flex:none}
.driver-document-list .is-complete .driver-document-number{background:var(--paper);border-color:transparent;color:var(--ink)}
.driver-document-list .is-complete .driver-document-status{color:var(--ink)}

#driver-capture.driver-capture-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--paper);box-shadow:none;overflow:hidden;overscroll-behavior:contain}
#driver-capture::backdrop{background:var(--paper);backdrop-filter:none}
.driver-capture-shell{display:flex;flex-direction:column;width:min(100%,760px);height:100%;min-height:0;margin:0 auto;padding:0 max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left))}
.driver-capture-top{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;flex-shrink:0;padding-top:env(safe-area-inset-top)}
.driver-capture-top>small,.driver-capture-top>.wordmark,.driver-capture-top>span{font-size:11px;letter-spacing:1.7px;font-weight:500;line-height:1.6}
.driver-capture-top>span>span{color:var(--muted);font-size:9px;letter-spacing:1px}
.driver-capture-top>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:25px;font-weight:400;line-height:1;min-height:44px;min-width:44px;flex:none;padding:10px 0 10px 14px}
.driver-capture-top>button svg{width:18px;height:18px}
.driver-document-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);gap:18px;flex-shrink:0}
.driver-document-steps>button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:58px;padding:10px 0 16px;min-width:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted);text-align:left}
.driver-document-steps>button>span{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid var(--line);border-radius:50%;font-size:10px;flex:none;font-variant-numeric:tabular-nums}
.driver-document-steps>button strong{font-size:12px;line-height:1.4;font-weight:500}
.driver-document-steps>button svg{height:13px;width:13px}
.driver-document-steps>button[aria-current=step]{color:var(--ink);border-color:var(--ink)}
.driver-document-steps>button[aria-current=step]>span{background:var(--ink);color:#fff;border-color:var(--ink)}
.driver-document-steps>button.is-complete:not([aria-current=step])>span{color:var(--ink);background:#e8e8e3;border-color:transparent}
.driver-document-steps>button:not([aria-current=step])>span:has(svg){color:var(--ink);background:#e8e8e3;border-color:transparent}
.driver-document-steps>button:disabled,.driver-capture-top>button:disabled{opacity:.45;cursor:not-allowed}
.driver-capture-stage{display:grid;align-content:start;align-content:safe center;gap:16px;flex:1;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:20px 4px;animation:driver-panel-in .16s ease-out}
.driver-capture-heading{text-align:center;max-width:520px;margin:0 auto}
.driver-capture-heading>span{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;text-transform:uppercase;line-height:1.5;margin-bottom:9px}
.driver-capture-heading h2{font-size:clamp(26px,4vw,34px);line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0 0 12px}
.driver-capture-heading p{font-size:12px;line-height:1.65;color:var(--muted);margin:0}
.driver-capture-preview{display:flex;align-items:center;justify-content:center;min-height:160px;height:clamp(160px,30dvh,280px);border:1px solid #dcdcd7;background:#eeeee9;overflow:hidden;position:relative}
.driver-capture-preview:has(img){background:#fafaf8}
.driver-capture-preview img{display:block;width:100%;height:100%;object-fit:contain;padding:16px 16px 44px}
.driver-photo-added{position:absolute;bottom:10px;right:12px;display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.4;background:#fafaf8;padding:4px 6px;color:var(--muted)}
.driver-photo-added svg{width:14px;height:14px;flex:none}
.driver-capture-add{cursor:pointer;transition:background .12s,border-color .12s}
.driver-capture-add:hover:not(:has(input:disabled)){background:#e8e8e2;border-color:#99998f}
.driver-capture-add:focus-within{outline-offset:-3px}
.driver-capture-empty{display:grid;justify-items:center;align-content:center;gap:10px;color:#73736d;width:100%;height:100%;padding:20px;text-align:center}
.driver-capture-empty>svg{display:block;width:40px;height:40px;color:#77776f}
.driver-capture-empty>strong{font-size:14px;font-weight:500;line-height:1.5;color:var(--ink)}
.driver-capture-empty>small,.driver-capture-empty>p,.driver-capture-empty>span{font-size:11px;line-height:1.6;margin:0;color:var(--muted)}
.driver-capture-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.driver-capture-controls.is-empty{display:none}
.driver-capture-controls>.portal-document-upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:180px;padding:13px 20px;cursor:pointer;font-size:12px;border:1px solid var(--line);background:#fff}
.driver-capture-controls>.portal-document-upload.primary{background:var(--ink);color:white;border-color:var(--ink)}
.driver-capture-controls>.portal-document-upload svg{width:17px;height:17px;flex:none}
.driver-capture-controls>.portal-document-upload:hover{border-color:#777}
.driver-capture-controls>.driver-camera-option{display:none}
.driver-capture-stage>.portal-document-progress{max-width:420px;width:100%;margin:auto}
.driver-capture-stage>.portal-document-progress progress{display:block;border:0;background:#dfdfd9;border-radius:0}
.driver-capture-stage>.portal-document-progress progress::-webkit-progress-bar{background:#dfdfd9}
.driver-capture-stage>.portal-document-progress progress::-webkit-progress-value{background:var(--ink)}
.driver-capture-stage>.portal-document-progress progress::-moz-progress-bar{background:var(--ink)}
.driver-capture-error{color:#a32828;font-size:12px;line-height:1.6;text-align:center;margin:0}
.driver-capture-error:empty{display:none}
.driver-capture-formats{text-align:center;max-width:440px;margin:0 auto;font-size:10px;line-height:1.6}
.driver-capture-private{display:flex;align-items:flex-start;justify-content:center;gap:7px;font-size:10px;line-height:1.6;color:var(--muted);margin:0;text-align:center}
.driver-capture-private svg{width:13px;height:13px;flex:none;margin-top:1px}
.driver-capture-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:16px 0 max(20px,env(safe-area-inset-bottom));margin-top:auto;flex-shrink:0}
.driver-capture-footer>.portal-button{min-width:112px}
.driver-capture-footer>.primary:last-child{margin-left:auto;min-width:150px}
@keyframes driver-panel-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(pointer:coarse){.driver-capture-controls.is-empty{display:flex}.driver-capture-controls>.driver-camera-option{display:inline-flex}}
@media(max-width:600px){
  .driver-application-panel{padding:20px}
  .driver-sections{gap:12px;margin-bottom:24px}
  .driver-sections>button{align-items:flex-start;gap:9px;min-height:80px;padding-top:4px;padding-bottom:16px}
  .driver-sections>button>span:first-child{width:24px;height:24px}
  .driver-sections strong{font-size:12px}
  .driver-sections small{font-size:10px}
  .driver-section-heading h2{font-size:24px}
  .driver-document-list>button{padding:15px 12px;gap:10px}
  .driver-document-number{width:25px;height:25px}
  .driver-document-status{font-size:10px;gap:4px}
  .driver-document-copy strong{font-size:12px}
  .driver-document-copy small{font-size:10px}
  .driver-capture-shell{padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right))}
  .driver-capture-top{min-height:70px}
  .driver-capture-top>span>span{display:block;font-size:8px;letter-spacing:.8px}
  .driver-document-steps{gap:10px}
  .driver-document-steps>button{flex-direction:column;align-items:flex-start;gap:8px;min-height:78px;padding:8px 0 14px}
  .driver-document-steps>button strong{font-size:11px}
  .driver-capture-stage{gap:18px;padding:26px 0}
  .driver-capture-preview{min-height:195px;height:clamp(195px,29dvh,300px)}
  .driver-capture-controls{gap:8px}
  .driver-capture-controls>.portal-document-upload{flex:1;min-width:130px;padding-inline:12px}
  .driver-capture-footer{padding-top:16px}
  .driver-capture-footer>.portal-button{flex:1;min-width:0;padding-inline:12px;line-height:1.5}
  .driver-capture-footer>.primary:last-child{min-width:0}
}
@media(max-width:360px){
  .driver-application-panel{padding:16px}
  .driver-identity>.portal-card-head{flex-wrap:wrap;gap:8px}
  .driver-document-status{max-width:66px;text-align:right}
  .driver-capture-shell{padding-inline:16px}
  .driver-document-steps>button strong{font-size:10px}
  .driver-section-footer{gap:10px}
  .driver-section-footer>.portal-button{padding-inline:10px}.driver-save-actions{gap:6px}.driver-save-actions>.primary{max-width:145px}.driver-save-actions>[data-action=save-driver-draft]{min-width:55px;padding-inline:10px}
}
@media(max-height:760px){
  .driver-capture-stage{gap:16px;padding-block:20px}
  .driver-capture-preview{height:clamp(150px,25dvh,220px);min-height:150px}
}
@media(max-height:600px){
  .driver-capture-top{min-height:52px}
  .driver-document-steps>button{min-height:46px;padding-bottom:10px}
  .driver-capture-stage{gap:12px;padding-block:12px}
  .driver-capture-heading h2{font-size:26px;margin-bottom:8px}
  .driver-capture-heading>span{margin-bottom:6px}
  .driver-capture-preview{height:clamp(120px,25dvh,150px);min-height:120px}
  .driver-capture-empty{gap:6px;padding:12px}
  .driver-capture-empty>svg{width:32px;height:32px}
  .driver-capture-footer{padding-block:12px max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.driver-capture-stage,.driver-application-stage{animation:none}.driver-capture-add{transition:none}}

/* Inline application errors retain their outline after one brief attention pulse. */
.portal-field.portal-field-invalid :is(input,select,textarea),
.portal-field.portal-field-invalid :is(.portal-phone,.portal-date-control){border-color:#a32828}
.portal-field.portal-field-invalid :is(input,select,textarea):focus,
.portal-field.portal-field-invalid :is(.portal-phone,.portal-date-control):focus-within{outline-color:#a32828}
.portal-check.portal-field-invalid{flex-wrap:wrap;row-gap:6px}
.portal-check.portal-field-invalid>input{outline:1px solid #a32828;outline-offset:2px;accent-color:#a32828}
.portal-check.portal-field-invalid>span{flex:1;min-width:0}
button[data-action=driver-capture].portal-field-invalid{flex-wrap:wrap;row-gap:6px;outline:1px solid #a32828;outline-offset:-1px}
button[data-action=driver-capture].portal-field-invalid:focus-visible{outline-width:2px;outline-offset:3px}
.portal-field-invalid>small[data-field-error]{display:block;min-width:0;margin:0;color:#a32828;font-size:11px;font-weight:400;line-height:1.6;text-align:left;overflow-wrap:anywhere}
.portal-check.portal-field-invalid>small[data-field-error]{flex:0 0 100%;padding-left:26px}
button[data-action=driver-capture].portal-field-invalid>small[data-field-error]{flex:0 0 100%}
.portal-field-invalid>small[data-field-error][hidden]{display:none}
.portal-field.portal-field-pulse,.portal-check.portal-field-pulse,button[data-action=driver-capture].portal-field-pulse{animation:portal-field-attention 650ms ease-out 1}
@keyframes portal-field-attention{0%,100%{background-color:transparent;box-shadow:0 0 0 0 #a3282800}35%{background-color:#fff0ef;box-shadow:0 0 0 4px #a328281a}}
@media(prefers-reduced-motion:reduce){.portal-field.portal-field-pulse,.portal-check.portal-field-pulse,button[data-action=driver-capture].portal-field-pulse{animation:none}}

/* Approved workspaces keep the current job and its next action in one place. */
.dispatch-workspace{max-width:900px;margin:auto}.dispatch-availability{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:#fff;border:1px solid var(--line)}.dispatch-availability>div{display:flex;align-items:center;gap:16px;min-width:0}.dispatch-availability h2{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:0 0 6px}.dispatch-availability p{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}.dispatch-availability>.portal-button{min-width:110px;flex:none}.dispatch-live-dot{height:8px;width:8px;border-radius:50%;background:#a5a5a0;flex:none}.dispatch-live-dot.online{background:#387458;box-shadow:0 0 0 5px #3874580c}.dispatch-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:15px 0 8px}.dispatch-tools>span:first-child{color:var(--muted);font-size:11px;flex:1;min-width:150px}.dispatch-tools .portal-button{font-size:11px;min-height:36px;padding:8px 0;border:0;background:transparent}.dispatch-tools .portal-button:hover{color:#666}.dispatch-tools [data-driver-notifications]{display:flex;align-items:center;gap:10px}.dispatch-tools [data-driver-notifications] small{font-size:10px;color:var(--muted);max-width:220px;line-height:1.5}.dispatch-error:empty{display:none}.dispatch-error{margin:10px 0 22px}.dispatch-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 16px}.dispatch-section-heading h2{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:0}.dispatch-section-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin:8px 0 0}.dispatch-section-heading>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.dispatch-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dispatch-offers:has(>.dispatch-offer:only-child){grid-template-columns:1fr}.dispatch-offer,.dispatch-job,.dispatch-order{border:1px solid var(--line);background:#fff;padding:24px;min-width:0;animation:dispatch-enter .18s ease-out}.dispatch-offer-top,.dispatch-offer-main,.dispatch-job-heading,.dispatch-order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dispatch-eyebrow{display:block;text-transform:uppercase;letter-spacing:1px;font-size:9px;line-height:1.5;color:var(--muted)}.dispatch-expiry{color:var(--muted);font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.dispatch-offer-main{align-items:center;margin:20px 0 22px}.dispatch-offer h3,.dispatch-order h3{font-size:21px;font-weight:500;letter-spacing:-.5px;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere}.dispatch-offer-main p{margin:0;font-size:11px;color:var(--muted);line-height:1.5}.dispatch-pay{display:grid;gap:5px;flex:none}.dispatch-pay strong{font-size:26px;font-weight:500;letter-spacing:-.8px;line-height:1.1;font-variant-numeric:tabular-nums}.dispatch-pay span{font-size:10px;color:var(--muted);line-height:1.4}.dispatch-offer-main .dispatch-pay{text-align:right}.dispatch-stops{display:grid;gap:22px;margin:20px 0}.dispatch-stops>div{display:flex;gap:13px;align-items:flex-start;position:relative;min-width:0}.dispatch-stops>div:first-child:after{content:'';position:absolute;left:9px;top:25px;bottom:-17px;width:1px;background:var(--line)}.dispatch-stops i{width:19px;height:19px;display:flex;align-items:center;justify-content:center;border:1px solid #111;border-radius:50%;flex:none;font-style:normal;font-size:9px}.dispatch-stops>div:last-child i{background:#111;color:#fff}.dispatch-stops i:empty:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.dispatch-stops span{min-width:0;display:grid;gap:5px}.dispatch-stops small{font-size:10px;color:var(--muted)}.dispatch-stops strong{font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.dispatch-route-meta{font-size:11px;color:var(--muted);margin:18px 0}.dispatch-offer-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;padding-top:10px}.dispatch-offer-actions .portal-button{min-height:48px}.dispatch-empty{grid-column:1/-1;padding:46px 24px 50px;border:1px solid var(--line);text-align:center;background:#f8f8f5}.dispatch-empty-mark{display:block;width:8px;height:8px;border-radius:50%;border:1px solid #777;margin:0 auto 22px;box-shadow:0 0 0 7px #11100004,0 0 0 14px #11100002}.dispatch-empty h3{font-size:20px;font-weight:400;letter-spacing:-.5px;margin:0 0 10px}.dispatch-empty p{font-size:12px;line-height:1.7;color:var(--muted);max-width:350px;margin:0 auto}.dispatch-summary{display:flex;align-items:center;gap:20px 34px;padding:22px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;flex-wrap:wrap}.dispatch-summary strong{color:var(--ink);font-size:14px;font-weight:500;margin-right:5px}.dispatch-demo{padding:14px 0;max-width:650px}.dispatch-active:empty{display:none}.dispatch-active{display:grid;gap:20px;margin-top:20px}.dispatch-job-heading{align-items:center;margin-bottom:24px}.dispatch-job-heading h2{font-size:26px;font-weight:500;letter-spacing:-.9px;margin:8px 0 0}.dispatch-map{margin:0 -24px 22px;position:relative;background:#eaeae5;overflow:hidden}.dispatch-map svg{display:block;width:100%;height:auto;max-height:330px}.dispatch-map-tile{filter:grayscale(1) contrast(.8) brightness(1.12)}.dispatch-map figcaption{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:6px 10px;font-size:9px;line-height:1.4;background:#fffffff0;color:#555}.dispatch-map figcaption a{text-decoration:underline}.dispatch-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.dispatch-navigation span{font-size:11px;color:var(--muted);margin-right:auto}.dispatch-navigation a{font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:28px;display:inline-flex;align-items:center}.dispatch-contact{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin:20px 0;overflow-wrap:anywhere}.dispatch-contact a{text-decoration:underline;text-underline-offset:3px}.dispatch-instructions{font-size:12px;line-height:1.7;color:var(--muted);padding:14px;background:var(--paper);white-space:pre-wrap}.dispatch-job-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.dispatch-job-footer .portal-actions{justify-content:flex-end}.dispatch-job-footer .portal-help{max-width:220px;text-align:right}.dispatch-job-footer .dispatch-pay strong{font-size:24px}.dispatch-order{margin-bottom:16px}.dispatch-order-heading h3{margin:6px 0 0;font-variant-numeric:tabular-nums}.dispatch-order-address{font-size:12px;color:var(--muted);line-height:1.6;margin:15px 0}.dispatch-order-items{list-style:none;margin:24px 0 0;padding:0}.dispatch-order-items li,.dispatch-order-total{display:flex;justify-content:space-between;gap:20px;font-size:13px;line-height:1.5;padding:12px 0}.dispatch-order-items li+li{border-top:1px solid var(--line)}.dispatch-order-items strong{font-weight:400;white-space:nowrap}.dispatch-order-total{border-top:1px solid var(--line);margin-top:8px}.dispatch-order-total strong{font-weight:500}.dispatch-order-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;border-top:1px solid var(--line);margin-top:10px}.dispatch-order-footer p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.dispatch-order-footer>.portal-button{flex:none}.dispatch-ready{font-size:12px;color:#387458;white-space:nowrap}.dispatch-settings{margin-bottom:26px}.dispatch-settings>p{max-width:640px}.dispatch-settings .portal-actions>.portal-help{max-width:350px}.dispatch-workspace .portal-button:focus-visible,.dispatch-workspace a:focus-visible,[data-dispatch-workspace] button:focus-visible{outline:2px solid #111;outline-offset:4px}.dispatch-workspace button[aria-busy=true]{opacity:.5}.dispatch-workspace button{transition:background .12s,color .12s,opacity .12s}
@keyframes dispatch-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:700px){.dispatch-offers{grid-template-columns:1fr}.dispatch-availability{padding:20px}.dispatch-availability h2{font-size:20px}.dispatch-tools{gap:6px 16px}.dispatch-tools>span:first-child{flex-basis:100%}.dispatch-offer,.dispatch-job,.dispatch-order{padding:20px}.dispatch-map{margin-inline:-20px}.dispatch-job-heading h2{font-size:23px}.dispatch-job-heading>.portal-status{font-size:9px}.dispatch-job-footer{align-items:flex-start}.dispatch-job-footer .portal-actions{display:grid;justify-items:stretch;gap:6px;max-width:65%}.dispatch-job-footer .portal-button{min-height:46px}.dispatch-order-footer{align-items:flex-start;flex-direction:column}.dispatch-order-footer>.portal-button{width:100%}.dispatch-map figcaption{font-size:8px}}
@media(max-width:380px){.dispatch-availability{gap:12px;padding:17px}.dispatch-availability>div{gap:12px}.dispatch-availability>.portal-button{min-width:86px;padding-inline:10px}.dispatch-offer-main{gap:12px}.dispatch-pay strong{font-size:23px}.dispatch-offer h3{font-size:19px}.dispatch-job-heading{gap:10px}.dispatch-job-heading h2{font-size:21px}.dispatch-job-footer{gap:12px}}
@media(prefers-reduced-motion:reduce){.dispatch-offer,.dispatch-job,.dispatch-order{animation:none}.dispatch-workspace button{transition:none}}
.dispatch-run-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin:-6px 0 20px;color:var(--muted);font-size:11px}.dispatch-run-stops{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:0}.dispatch-run-stops>li{display:flex;align-items:flex-start;gap:14px;position:relative;padding:0 0 22px;min-width:0}.dispatch-run-stops>li:not(:last-child):after{content:'';position:absolute;left:11px;top:30px;bottom:7px;width:1px;background:var(--line)}.dispatch-run-stops>li:last-child{padding-bottom:0}.dispatch-run-stops i{width:24px;height:24px;border:1px solid var(--line);display:flex;justify-content:center;align-items:center;border-radius:50%;font-style:normal;font-size:10px;flex:none;color:var(--muted)}.dispatch-run-stops>li.is-current i{background:#111;color:#fff;border-color:#111}.dispatch-run-stops>li.is-complete{color:var(--muted)}.dispatch-run-stops>li.is-complete i{background:var(--paper);border-color:transparent}.dispatch-run-stops>li>div{display:grid;gap:5px;min-width:0;flex:1}.dispatch-run-stops small{font-size:10px;line-height:1.5;color:var(--muted)}.dispatch-run-stops strong{font-size:13px;line-height:1.5;font-weight:400;overflow-wrap:anywhere}.dispatch-run-stops>li>div>span{font-size:10px;color:var(--muted);line-height:1.5}.dispatch-plan{margin:2px 0 22px}.dispatch-plan-pay{display:grid;gap:6px;margin:22px 0 16px}.dispatch-plan-pay strong{font-size:40px;font-weight:500;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.dispatch-plan-pay span{font-size:12px;color:var(--muted)}.dispatch-plan>p:not(.portal-help){font-size:12px;line-height:1.7;color:var(--muted)}.dispatch-plan-details{margin:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.dispatch-plan-details>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:13px 0}.dispatch-plan-details>div+div{border-top:1px solid var(--line)}.dispatch-plan-details dt{font-size:12px;color:var(--muted)}.dispatch-plan-details dd{margin:0;font-size:14px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dispatch-plan .dispatch-plan-expiry{margin:16px 0 0;font-size:11px;font-variant-numeric:tabular-nums}.dispatch-plan+.portal-form .dispatch-offer-actions{grid-template-columns:1fr 1fr;padding-top:0}.dispatch-plan+.portal-form .portal-button{min-width:0;line-height:1.5}
@media(max-width:380px){.dispatch-run .dispatch-job-footer{align-items:flex-start;flex-wrap:wrap}.dispatch-run .dispatch-job-footer>.portal-actions{max-width:none;width:100%;grid-template-columns:1fr}.dispatch-plan-pay strong{font-size:35px}.dispatch-plan-details>div{gap:14px}}

.dispatch-route-update{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:14px 16px;margin:0 0 24px;background:var(--paper);border:1px solid var(--line)}.dispatch-route-update p{flex:1;min-width:150px;font-size:12px;line-height:1.6;color:var(--muted);margin:0}.dispatch-route-update .portal-button{font-size:12px;min-height:40px;flex:none}

/* The website is a quiet companion to the driver app. */
.partner-app-panel{display:flex;align-items:center;gap:18px;padding:20px 24px;margin:0 0 24px;border:1px solid var(--line);background:#fff}.partner-app-panel>div{flex:1;min-width:0}.partner-app-panel h2{font-size:19px;letter-spacing:-.5px;font-weight:500;margin:5px 0 6px}.partner-app-panel p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.partner-app-panel>.portal-button{flex:none;font-size:12px}.partner-app-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#111;flex:none;border-radius:10px}.partner-app-icon i{display:block;position:relative;width:17px;height:27px;border:1.5px solid #fff;border-radius:3px}.partner-app-icon i:after{content:'';position:absolute;bottom:3px;left:5px;right:5px;height:1px;background:#fff}.driver-companion{max-width:760px;margin:0 auto 28px}.driver-app-panel{padding:30px;gap:20px}.driver-app-panel h2{font-size:25px;letter-spacing:-.8px}.driver-companion-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 14px}.driver-companion-heading h2{font-size:16px;font-weight:500;margin:0}.driver-companion-heading>.portal-button{font-size:11px;padding:6px 0;min-height:36px;border:0;background:transparent;color:var(--muted)}.driver-current-delivery{background:#fff;border:1px solid var(--line);padding:24px}.driver-current-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.driver-current-delivery .dispatch-stops{gap:30px;margin:28px 0}.driver-current-delivery .dispatch-stops strong{font-size:15px;line-height:1.6}.driver-current-delivery .dispatch-stops small{font-size:11px}.driver-current-delivery .dispatch-stops>div:first-child:after{bottom:-25px}.driver-current-footer{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.driver-current-footer>span{font-size:12px;line-height:1.6;color:var(--muted)}.driver-current-footer>strong{font-size:20px;letter-spacing:-.4px;font-weight:500;text-align:right;white-space:nowrap}.driver-current-footer small{display:block;font-size:9px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:4px}.driver-companion-empty{text-align:center;padding:46px 24px;background:#fff;border:1px solid var(--line)}.driver-companion-empty h3{font-size:20px;font-weight:400;letter-spacing:-.5px;margin:0 0 10px}.driver-companion-empty p{max-width:360px;font-size:12px;line-height:1.7;color:var(--muted);margin:auto}.driver-companion~.driver-vehicle-summary{max-width:760px;margin-inline:auto}.vendor-app .portal-header{position:sticky;top:0;z-index:20;min-height:66px;padding:12px 20px;padding-top:max(12px,env(safe-area-inset-top));gap:16px}.vendor-app .portal-header .wordmark,.vendor-app .portal-nav{display:none}.vendor-app .portal-header>span{color:#111;font-size:12px;letter-spacing:1.2px}.vendor-app .portal-main{max-width:980px;padding:24px 20px max(32px,env(safe-area-inset-bottom))}.vendor-app .portal-kicker{display:none}.vendor-app .portal-title{margin-bottom:16px}.vendor-app .portal-title h1{font-size:28px;letter-spacing:-1px}.vendor-app .portal-title p{font-size:12px}.vendor-app .portal-tabs{position:sticky;top:66px;z-index:15;background:var(--paper);padding:10px 0;margin-bottom:18px}.vendor-app .portal-tabs a{min-height:44px}
@media(max-width:680px){.partner-app-panel{gap:14px;padding:18px;flex-wrap:wrap}.partner-app-panel>.portal-button{width:100%;min-height:46px}.partner-app-panel>div{flex-basis:calc(100% - 70px)}.driver-app-panel{padding:22px}.driver-app-panel h2{font-size:24px}.driver-current-delivery{padding:20px}.driver-current-footer{align-items:flex-start}.driver-current-delivery .dispatch-stops strong{font-size:14px}.vendor-app .portal-main{padding-inline:16px}.vendor-app .portal-title h1{font-size:25px}.vendor-app .portal-tabs a{font-size:12px}.vendor-app .portal-panel,.vendor-app .portal-card{padding:18px}}

/* The same compact order queue serves shops on desktop and in the vendor app. */
.portal-tabs a{min-width:0}.vendor-tab-count{font-size:9px;font-variant-numeric:tabular-nums;opacity:.8}.vendor-order .dispatch-order-items span{min-width:0;overflow-wrap:anywhere}.vendor-item-identity{display:grid;gap:5px}.vendor-item-identity small{font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.vendor-order .dispatch-order-address{overflow-wrap:anywhere}.vendor-order .dispatch-ready{color:var(--ink)}
.vendor-attention{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#111;color:#fff;padding:14px 18px;margin:0 0 18px}
.vendor-attention[hidden]{display:none}.vendor-attention>div{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6}.vendor-attention i{width:6px;height:6px;border-radius:50%;background:#fff;flex:none}.vendor-attention strong{font-weight:500}.vendor-attention .portal-button{background:transparent;color:#fff;border-color:#666;min-height:40px;font-size:11px;white-space:nowrap}
.vendor-attention>div{min-width:0}.vendor-attention .portal-button{flex:none}
.vendor-operations{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid var(--line);background:#fff}.vendor-operations h2{font-size:23px;letter-spacing:-.6px;font-weight:500;margin:7px 0}.vendor-operations p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.vendor-operations>.portal-button{flex:none;min-height:44px;font-size:12px}
.vendor-queue-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:20px 0 16px}.vendor-queue-tools label,.vendor-order-controls label{display:grid;gap:8px;font-size:10px;color:var(--muted);min-width:0}.vendor-queue-tools label{flex:1;max-width:520px}.vendor-workspace select{width:100%;min-width:0;min-height:44px;padding:10px 34px 10px 12px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:0;font:inherit;font-size:12px;cursor:pointer;text-overflow:ellipsis}.vendor-queue-tools>.portal-button{font-size:12px;min-height:44px}
.vendor-queues{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(84px,1fr);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;margin:0 0 20px;border-bottom:1px solid var(--line)}.vendor-queues button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 6px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;margin-bottom:-1px}.vendor-queues button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink)}.vendor-queues span{font-size:10px;font-variant-numeric:tabular-nums}.vendor-queues button[aria-pressed=true] span{background:#111;color:#fff;padding:3px 5px;min-width:20px;text-align:center}.vendor-new{background:#111;color:#fff;border-color:#111}
.vendor-order .dispatch-order-items{margin-top:14px}.vendor-order .dispatch-order-footer{padding-top:14px}.vendor-order-controls{display:flex;gap:10px;align-items:flex-end;margin-top:20px}.vendor-order-controls label{min-width:118px;margin-right:auto}.vendor-order-controls .portal-button{min-height:44px;font-size:12px}.vendor-prep-time{display:flex;align-items:baseline;gap:10px;font-size:12px;color:var(--muted);margin:14px 0}.vendor-prep-time strong{font-size:14px;color:var(--ink);font-weight:500}.vendor-prep-time>span{margin-left:auto;font-size:10px}.vendor-queue-note{font-size:10px;color:var(--muted);line-height:1.6;margin:14px 0}.vendor-workspace select:focus-visible,.vendor-attention button:focus-visible{outline:2px solid #111;outline-offset:3px}.vendor-attention button:focus-visible{outline-color:#fff}
@media(max-width:580px){.vendor-attention{align-items:flex-start;gap:12px;padding:14px}.vendor-attention>div{font-size:11px}.vendor-attention .portal-button{min-height:36px;padding:8px 10px}.vendor-operations{padding:18px;align-items:flex-start;flex-direction:column;gap:16px}.vendor-operations h2{font-size:22px}.vendor-operations>.portal-button{width:100%}.vendor-queue-tools{gap:12px}.vendor-queues button{font-size:11px;gap:6px}.vendor-order-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px}.vendor-order-controls label{grid-column:1/-1;margin:0;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.vendor-order-controls>.portal-button:only-of-type{grid-column:1/-1}.vendor-prep-time{flex-wrap:wrap;gap:7px}.vendor-prep-time>span{margin-left:auto}.vendor-order .dispatch-order-footer{gap:10px}}
@media(max-width:580px){.portal-tabs a{padding-inline:6px;gap:4px;font-size:11px}}@media(max-width:380px){.vendor-queues button{flex-direction:column;gap:6px;min-height:62px}}

/* Delivery recovery keeps custody and the next safe action together. */
.delivery-issue{padding:18px;margin:18px 0;border:1px solid var(--line);border-left:2px solid #111;background:var(--paper)}.delivery-issue h3{font-size:18px;line-height:1.4;font-weight:500;margin:8px 0;letter-spacing:-.3px}.delivery-issue p{font-size:12px;line-height:1.7;margin:8px 0;color:var(--muted);overflow-wrap:anywhere}.delivery-issue .delivery-issue-note{white-space:pre-wrap;color:var(--ink)}.delivery-issue .portal-actions{margin-top:16px}.delivery-issue .portal-button{line-height:1.5;text-align:center;min-width:0}.delivery-pickup-list{padding:16px 0;border-top:1px solid var(--line)}.delivery-pickup-list ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.delivery-pickup-list li{display:flex;gap:10px;font-size:13px;line-height:1.5}.delivery-pickup-list li strong{font-weight:500;flex:none;min-width:18px}.delivery-pickup-list li span{min-width:0;overflow-wrap:anywhere}.delivery-pickup-list p{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0}.delivery-pickup-confirm{border:1px solid var(--line);padding:16px}.delivery-pickup-confirm .delivery-pickup-list{border:0;padding:0 0 16px}.delivery-pickup-confirm .portal-check{padding-top:12px;border-top:1px solid var(--line)}.delivery-handover{display:grid;gap:18px}.delivery-handover p,.portal-dialog-body>p,.portal-dialog-body .portal-form>p:not(.portal-error){font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 18px}.delivery-handover p{margin:0}.delivery-handover small{font-size:11px;line-height:1.6;color:var(--muted)}.delivery-handover .account-code input{height:54px;font-variant-numeric:tabular-nums}
@media(max-width:480px){.delivery-issue{padding:15px}.delivery-issue .portal-actions{display:grid}.delivery-issue .portal-button{width:100%;font-size:11px}.delivery-handover .account-code{gap:6px}.delivery-handover .account-code input{height:46px;font-size:22px}.delivery-pickup-confirm{padding:14px}.dispatch-job-heading{flex-wrap:wrap}.dispatch-job-footer{flex-wrap:wrap}.dispatch-job-footer .portal-actions{max-width:none;flex:1;min-width:160px}.dispatch-job-footer .portal-help{text-align:left}}
.dispatch-live-dot.held{background:#a97839;box-shadow:0 0 0 5px #a978390c}.dispatch-return-stop>div:first-child:after{display:none}

.vendor-store-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 22px}.vendor-store-tools>label{display:grid;gap:8px;flex:1;min-width:180px;font-size:11px;color:var(--muted)}.vendor-store-tools select{min-height:46px;background:#fff;border:1px solid var(--line);border-radius:0;padding:10px 32px 10px 12px;color:var(--ink);width:100%;font:inherit}.vendor-store-tools>span{font-size:11px;color:var(--muted);max-width:220px;line-height:1.6}.vendor-store-tools>.portal-button{min-height:46px;font-size:12px}.branch-stock-editor{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.branch-stock-fields{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.branch-stock-fields>label{display:grid;gap:8px;font-size:11px;color:var(--muted)}.branch-stock-fields input[name=quantity]{width:140px;min-height:44px;border:1px solid var(--line);background:#fff;padding:10px 12px;color:var(--ink);font:inherit;font-size:14px;border-radius:0}.branch-stock-fields>.branch-stock-hold{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--ink)}.branch-stock-hold input{width:17px;height:17px;accent-color:#111}.branch-stock-fields>button{margin-left:auto;min-height:44px;font-size:12px}.branch-stock-editor>small{display:block;margin-top:12px;font-size:11px;line-height:1.65;color:var(--muted)}.branch-stock-editor>.portal-error{margin-top:10px}@media(max-width:580px){.vendor-store-tools>label{flex-basis:100%}.vendor-store-tools>.portal-button{flex:1}.vendor-store-tools>span{flex:1}.branch-stock-fields{gap:10px}.branch-stock-fields>label:first-child{flex:1}.branch-stock-fields input[name=quantity]{width:100%;max-width:180px}.branch-stock-fields>button{width:100%;margin:0}}
.portal-tabs.driver-tabs{max-width:400px;grid-template-columns:repeat(2,minmax(0,1fr));position:static;margin-bottom:24px}.driver-history{min-width:0}.driver-history-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.driver-history-heading h2{margin:0 0 8px;font-size:24px;font-weight:500;letter-spacing:-.7px}.driver-history-heading p{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}.driver-history-heading>.portal-button{flex:none}.driver-history-feedback{display:flex;align-items:center;gap:10px;min-height:42px;font-size:12px;color:var(--muted)}.driver-history-spinner{width:12px;height:12px;border:1px solid var(--line);border-top-color:var(--ink);border-radius:50%;animation:driver-history-spin .8s linear infinite}.driver-history-list{list-style:none;padding:0;margin:0;background:#fff;border:1px solid var(--line)}.driver-history-list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.65fr) minmax(130px,.5fr);align-items:center;gap:18px;padding:24px}.driver-history-list>li+li{border-top:1px solid var(--line)}.driver-history-list>li>div{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}.driver-history-list strong{font-size:14px;font-weight:500}.driver-history-list small,.driver-history-list time{font-size:11px;line-height:1.6;color:var(--muted)}.driver-history-order>span{font-size:12px;line-height:1.6}.driver-history-status .portal-status{justify-self:start;text-transform:capitalize}.driver-history-amount{text-align:right}.driver-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.driver-history-pagination>span{font-size:12px;color:var(--muted)}.driver-history-empty{padding:40px 20px;border:1px solid var(--line);text-align:center;background:#fff}.driver-history-empty h3{margin:0 0 10px;font-size:20px;font-weight:400}.driver-history-empty p,.driver-history-error p{font-size:12px;line-height:1.7;color:var(--muted)}.driver-history-error{margin-bottom:20px}.driver-history button:disabled{opacity:.4;cursor:default}@keyframes driver-history-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.driver-history-list>li{grid-template-columns:minmax(0,1fr) minmax(100px,.65fr);gap:16px;padding:20px}.driver-history-status{grid-column:1;grid-row:2}.driver-history-amount{grid-column:2;grid-row:1 / 3}.driver-history-heading h2{font-size:21px}.driver-history-heading{gap:14px;align-items:flex-start}.driver-history-pagination .portal-button{padding-inline:18px}}@media(prefers-reduced-motion:reduce){.driver-history-spinner{animation:none}}
.vendor-history{min-width:0;margin-top:24px}.vendor-history-items{list-style:none;margin:4px 0 0;padding:0;color:var(--muted);font-size:12px;line-height:1.7}.vendor-history-list .driver-history-order>span{color:var(--muted)}.vendor-history .driver-history-heading h2{font-size:21px}

.vendor-prep-overdue{display:grid;gap:5px;margin:16px 0;padding:12px 14px;border-left:2px solid var(--ink);background:var(--paper,#f6f6f3);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.vendor-prep-overdue strong{font-size:12px;font-weight:500;color:var(--ink)}.vendor-prep-overdue span{color:var(--muted)}

.driver-document-notice { display:grid; gap:12px; }
.driver-document-notice p,.driver-document-notice ul,.driver-document-notice dl { margin:0; }
.driver-document-notice ul { padding-left:20px; }
.driver-assistance{margin-bottom:24px}.driver-assistance[hidden]{display:none}.driver-assistance>.portal-card-head{gap:20px;align-items:flex-start}.driver-assistance h2{font-size:20px;margin:0 0 8px}.driver-assistance-order{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.driver-assistance-order h3{font-size:15px;margin:0 0 10px}.driver-assistance-custody{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}.driver-assistance form{display:grid;gap:12px}.driver-assistance-request{padding:16px;background:var(--paper);margin:0 0 18px}.driver-assistance-request small{display:block;color:var(--muted);font-size:11px;margin-top:10px}.driver-assistance-message{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.driver-assistance-request h4{font-size:12px;font-weight:500;margin:20px 0 0}.driver-assistance .portal-actions{margin:0}.driver-assistance textarea{min-height:96px;resize:vertical}@media(max-width:600px){.driver-assistance>.portal-card-head{display:grid;gap:12px}.driver-assistance>.portal-card-head>.portal-button{justify-self:start}}

/* Document renewals reuse the application and review controls. */
.renewal-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.renewal-fields legend { padding: 0 0 18px; font-weight: 600; }
.driver-renewal .portal-card-head { gap: 20px; align-items: start; }
.driver-renewal h2 { margin: 0; }
.driver-renewal > .portal-status { display: inline-flex; margin-top: 14px; }
.renewal-proposed { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line, #d8d8d5); }
.renewal-snapshot .portal-review-group { margin-top: 22px; }
.renewal-review > details { margin: 20px 0; }
.renewal-review summary { cursor: pointer; padding: 12px 0; }
.renewal-review .portal-documents, .renewal-proposed .portal-documents { margin-bottom: 24px; }
@media (max-width: 600px) { .driver-renewal .portal-card-head { flex-wrap: wrap; } .renewal-review .portal-draft-row { flex-wrap: wrap; } }

.renewal-editor-status { margin: -8px 0 22px; padding: 0 2px; color: var(--muted, #686864); font-size: 13px; line-height: 1.55; }
.renewal-editor-status p { margin: 0 0 4px; }
.renewal-editor-status small { display: block; }
.renewal-editor-status .portal-button { margin-top: 8px; min-height: 32px; padding: 4px 10px; font-size: 12px; }
[data-admin-dispatch] > .portal-actions { margin-top: 16px; }

.vendor-help { display: grid; gap: 20px; }
.vendor-help > p, .vendor-help h3 { margin: 0; }
.vendor-help form { display: grid; gap: 18px; }
.vendor-help-request, .vendor-help-draft { padding: 20px; border: 1px solid var(--line, #d8d8d5); }
.vendor-help-request p, .vendor-help-draft p { white-space: pre-wrap; overflow-wrap: anywhere; }
.vendor-help-request time { color: var(--muted, #686864); font-size: 12px; }
.vendor-help-reply { border-top: 1px solid var(--line, #d8d8d5); margin-top: 20px; padding-top: 18px; }
.vendor-history-list [data-vendor-help-open] { margin-top: 12px; min-height: 38px; font-size: 13px; }
@media (max-width: 600px) { .vendor-help-request, .vendor-help-draft { padding: 16px; } .vendor-help-request .portal-card-head { flex-wrap: wrap; } }
.vendor-attention-locations{display:grid;gap:10px;margin:20px 0}.vendor-attention-locations>.portal-button{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:58px;text-align:left;white-space:normal}.vendor-attention-locations>.portal-button>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}.vendor-attention-locations strong{flex-shrink:0;font-size:12px}.vendor-attention-locations+.portal-button{min-height:44px}
.portal-editable{cursor:text;border-radius:3px;margin:-2px -6px;padding:2px 6px;transition:background .1s}
.portal-editable:hover,.portal-editable:focus-visible{background:#f1f1ee;outline:1px dashed #bbb;outline-offset:0}
.portal-editable.is-editing{cursor:default;background:none;outline:none;margin:0;padding:0}
.portal-edit-empty{color:#999;font-style:italic}
.portal-inline-edit{display:flex;flex-wrap:wrap;align-items:center;gap:6px;position:relative}
.portal-inline-edit input{flex:1 1 220px;min-width:0;min-height:38px;padding:7px 9px;border:1px solid #111;border-radius:3px;font:inherit}
.portal-inline-edit .portal-button{min-height:38px;padding:7px 12px}
.portal-inline-edit .portal-error{flex-basis:100%;margin:2px 0 0}
.portal-inline-edit .address-suggestions{flex-basis:100%}
@media(prefers-reduced-motion:reduce){.portal-editable{transition:none}}
.vendor-queue-page-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0}.vendor-queue-page-heading p{margin:0;color:var(--muted,#666);font-size:.85rem}.vendor-queue-records{border:0;padding:0;margin:0;min-width:0}.vendor-queue-records:disabled{opacity:.65}.vendor-queue-target{margin-bottom:1.5rem}.vendor-queue-target>.portal-help{margin-bottom:.5rem}
.vendor-queue-records>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
