#tow-section{max-width:960px;margin:auto}.tow-controls,.tow-form{display:grid;gap:16px;margin:20px 0}.tow-controls{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.tow-field{display:flex;flex-direction:column;gap:8px}.tow-field:has(input[type=checkbox]){flex-direction:row;align-items:flex-start}.tow-field input[type=checkbox]{width:24px;height:24px;flex-shrink:0}.tow-form input,.tow-controls input,.tow-controls select,.tow-form select{font-size:16px;min-height:44px;width:100%}.tow-signature{display:block;background:#fff;border:2px solid #aaa;border-radius:8px;width:100%;max-width:600px;height:auto;aspect-ratio:3/1;touch-action:none}.tow-card{padding:18px;border:1px solid #555;border-radius:12px;margin:14px 0;overflow-wrap:anywhere}.tow-warning{border:2px solid #d6a143;border-radius:10px;padding:16px}.tow-total{font-size:1.3rem;font-weight:600}#tow-content>button,#tow-content>a{display:inline-block;margin:6px;min-height:44px}.tow-form button{min-height:44px}.tow-card h3{font-family:monospace;letter-spacing:.04em}

.tow-photo{display:block;max-width:100%;max-height:360px;object-fit:contain;border-radius:8px}
/* VINs must remain easy to compare character by character at handoff. */
.tow-form>h3{font-family:monospace;font-size:20px;letter-spacing:.04em;overflow-wrap:anywhere}.tow-field input[type=checkbox]{order:-1}
.tow-capture{min-width:0;border:1px solid var(--border,#bbb);border-radius:10px;padding:12px;display:grid;gap:10px}.tow-capture legend{font-weight:600}.tow-camera{width:100%;max-height:65vh;object-fit:contain;background:#111;border-radius:8px}.tow-camera[hidden]{display:none}.tow-capture-record{border-left:3px solid #888;padding-left:10px;overflow-wrap:anywhere}.tow-capture button{white-space:normal}
.tow-hero{padding:24px;border-radius:18px;background:var(--panel,#101010);color:var(--text,#f8f8f8);border:1px solid var(--line,#303030);margin:16px 0}.tow-hero h3{font-size:1.6rem;margin:4px 0 20px}.tow-kicker{font-size:.75rem;letter-spacing:.13em;font-weight:700}.tow-primary{width:100%;min-height:66px;font-size:1.3rem;font-weight:700;border-radius:12px}.tow-tabs{display:flex;gap:8px;flex-wrap:wrap}.tow-tabs button{min-height:48px;flex:1}.tow-tabs button[aria-pressed=true]{border:2px solid currentColor;font-weight:700}.tow-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.tow-card{margin:0;display:flex;flex-direction:column;gap:8px}.tow-card h3{font-family:inherit;margin:4px 0}.tow-card p{margin:0}.tow-card button{min-height:46px;margin-top:6px}.tow-vin{font-family:monospace;font-size:1.05rem;letter-spacing:.06em}.tow-badge{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700}.tow-empty{padding:35px 20px;text-align:center;border:1px dashed #999;border-radius:12px}.tow-admin{display:flex;gap:12px;align-items:center;margin:12px 0}.tow-document{border:1px solid #aaa;border-radius:12px;padding:14px;display:grid;gap:10px}.tow-controls{gap:12px}.tow-form h3{margin:8px 0}.tow-form input,.tow-controls input{min-width:0}.tow-form select,.tow-controls select{min-width:0}
@media(max-width:480px){.tow-controls{grid-template-columns:1fr 1fr}.tow-hero{padding:18px}.tow-tabs button{flex-basis:40%}}
@media print{#tow-section{display:none!important}}
/* Approved focused driver flow: three starting actions, evidence inside each step. */
.tow-driver-home,.tow-driver-list{max-width:520px;margin:24px auto}.tow-driver-home h3{font-size:2rem;line-height:1.15;margin:8px 0 14px}.tow-driver-option{display:flex;align-items:center;gap:20px;width:100%;min-height:92px;padding:22px;text-align:left;font-size:1.2rem;font-weight:700;border-radius:16px;margin:14px 0;background:var(--panel,#101010);color:var(--text,#f8f8f8);border:1px solid var(--line,#303030)}.tow-driver-option::before{content:attr(data-icon);display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#123a35;color:#9fe3d6;font-size:26px}.tow-driver-option::after{content:'›';margin-left:auto;font-size:26px;opacity:.6}.tow-driver-list{display:grid;gap:16px}.tow-optional{border:1px solid var(--border,#bbb);border-radius:12px;padding:16px;margin:16px 0}.tow-optional summary,.tow-capture-title{cursor:pointer;font-weight:700;min-height:36px;line-height:1.6}.tow-capture{display:block;padding:18px}.tow-capture>*:not(summary){margin-top:14px}.tow-capture-title{font-size:1.12rem}.tow-pay{font-weight:600}.tow-form{max-width:620px;margin:22px auto}.tow-form>.tow-primary{background:#126e63;color:white;border:0}.tow-optional .tow-field{margin:15px 0}.tow-driver-list .tow-card{padding:20px}.tow-driver-list .tow-card h3{font-size:1.2rem}
/* The app is dark-themed and never defines --surface, so the light fallbacks above put white
   text on near-white cards. Logistics surfaces now use the app's own --panel/--text/--line. */
.tow-driver-option:hover,.tow-driver-option:focus-visible{border-color:var(--gold,#cba960)}.tow-driver-option:disabled{opacity:.55}
/* Phones: the fixed Help / Report a problem launcher sits over the bottom-right corner.
   Keep the end of every Logistics screen scrollable clear of it, and keep it compact here. */
@media(max-width:650px){#tow-section{padding-bottom:calc(92px + env(safe-area-inset-bottom))}body:has(#tow-section:not([hidden])) .access-help-launch{min-height:40px;padding:8px 12px;font-size:10px;letter-spacing:.3px}}
/* Upload queue and the last 6 of the VIN: calm status lines, not warnings. */
.tow-queue{border:1px solid var(--line,#303030);border-left:4px solid #3c8c80;border-radius:12px;padding:14px 16px;margin:12px 0;background:var(--panel,#101010);color:var(--text,#f8f8f8)}.tow-queue h4{margin:0 0 6px;font-size:1.05rem}.tow-queue-item{margin:6px 0;overflow-wrap:anywhere}.tow-queue button{min-height:44px;margin-top:8px}
.tow-last6[hidden]{display:none}.tow-form .tow-last6 input{font-family:monospace;font-size:1.5rem;letter-spacing:.25em;text-transform:uppercase;max-width:14ch}.tow-vin-match{font-weight:600;overflow-wrap:anywhere}.tow-vin-match:empty{display:none}
.tow-held{border:2px solid #d6a143;border-radius:12px;padding:14px;margin:12px 0;display:grid;gap:12px}.tow-held .tow-field input{font-size:16px;min-height:44px;width:100%}
