@font-face{font-family:Manrope;src:url('fonts/Manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{font-family:Manrope,sans-serif;font-synthesis:none;background:#f3f6f5;color:#15313e;--green:#28764a;--navy:#13323f;--line:#dfe8e3;--muted:#637880}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button,.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 16px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:750;text-decoration:none;gap:9px}button:hover,.button:hover{filter:brightness(.96)}button:disabled{opacity:.55;cursor:default}.primary{background:var(--green);color:white;width:100%}.quiet{background:white;color:var(--navy);border-color:var(--line)}.secondary{background:#edf5ef;color:var(--green);border-color:#d5e5d9;width:100%}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8cba62;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0 0 12px}h1{font-size:28px;font-weight:800;letter-spacing:-.04em;line-height:1.2}h2{font-size:19px;letter-spacing:-.025em;font-weight:800}h3{font-size:15px;font-weight:750}p{line-height:1.65}small,.small{font-size:12px;line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-weight:800;letter-spacing:.12em;font-size:10px;color:var(--green)}label{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-weight:650;font-size:13px}input,textarea,select{width:100%;min-width:0;min-height:48px;border:1px solid #c8d8ce;border-radius:8px;padding:12px;color:var(--navy);background:white;font-size:16px}textarea{min-height:120px;resize:vertical}.login-shell{max-width:920px;margin:auto;min-height:100vh;background:white}.login-brand{padding:32px 24px;background:var(--navy);color:white}.login-brand img{background:white;border-radius:9px;padding:8px;max-width:100%;margin-bottom:30px}.login-brand .eyebrow{color:#b4d69a}.login-brand h1{font-size:34px}.login-brand>p:last-child{color:#d0dde0;margin-bottom:0;max-width:350px}.login-form{padding:30px 24px}.login-form .small{margin-top:18px}#login-message{font-size:13px;overflow-wrap:anywhere;margin:16px 0}.app-header{background:white;border-bottom:1px solid var(--line);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.app-header img{max-width:40vw;height:auto;display:block}.app-header button{font-size:12px;padding:10px 13px}.shell{max-width:1040px;margin:auto;padding:20px 16px 35px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.toolbar button{font-size:12px}.identity{padding-bottom:22px}.identity h1{margin-bottom:10px}.identity p{margin-bottom:6px;overflow-wrap:anywhere}.vehicle-line{display:flex;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.section-head h2{margin:0}.count{background:#e4ece7;padding:4px 9px;border-radius:6px;font-size:12px}.trip-list{display:grid;gap:14px}.trip-card,.panel{padding:20px;background:white;border:1px solid var(--line);border-radius:13px;min-width:0}.trip-card.active{border-top:4px solid var(--green)}.card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.reference{font-size:13px;font-weight:800;letter-spacing:.01em}.badge{display:inline-flex;padding:5px 9px;border-radius:6px;font-size:11px;font-weight:750;background:#edf1f3;color:#516773}.badge.assigned{background:#eef1fb;color:#4b6699}.badge.started,.badge.loaded,.badge.in_transit{background:#edf5e5;color:#437331}.badge.delivered,.badge.resolved{background:#e8f3ed;color:#28764a}.badge.open{background:#fff2df;color:#936720}.route{display:grid;gap:18px;margin-bottom:18px}.stop{position:relative;padding-left:22px;min-width:0}.stop:before{content:'';position:absolute;top:6px;left:0;width:10px;height:10px;border:2px solid #7d9e8b;border-radius:50%}.stop:last-child:before{background:var(--green);border-color:var(--green)}.stop small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.stop strong{font-size:16px;line-height:1.45;overflow-wrap:anywhere;display:block}.trip-meta{display:grid;gap:7px;font-size:12px;color:var(--muted);margin:15px 0 20px;overflow-wrap:anywhere}.trip-card .button{width:100%}.empty{padding:20px;background:#eaf0ec;border:1px dashed #cad9cf;border-radius:10px;font-size:13px;color:var(--muted);margin-bottom:14px}.back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px;text-decoration:none;font-size:13px;font-weight:650}.detail-title{margin-bottom:20px}.detail-title h1{font-size:27px;margin-top:12px;overflow-wrap:anywhere}.step-panel{padding:22px;background:var(--navy);color:white;border-radius:13px;margin-bottom:18px}.step-panel .eyebrow{color:#c6e1a8}.step-panel p{font-size:13px;color:#d1dde0}.step-panel .primary{background:#84b852;color:#102c20}.detail-grid{display:grid;gap:16px}.fields{display:grid;gap:16px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}dl{margin:0}dt{font-size:11px;color:var(--muted);margin-bottom:5px}dd{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-weight:550}.address{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px;margin-bottom:15px}.panel h2{margin-bottom:18px}.panel p:last-child{margin-bottom:0}.panel .button{margin-top:16px}.cargo-item,.record{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.cargo-item:first-child,.record:first-child{padding-top:0}.cargo-item:last-child,.record:last-child{border-bottom:0;padding-bottom:0}.cargo-item p,.record p{white-space:pre-wrap;margin:7px 0;line-height:1.7}.cargo-specs{display:flex;flex-wrap:wrap;gap:7px 16px;font-size:12px;color:var(--muted)}.cargo-total{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:13px}.notice{background:#fff6e7;border-left:3px solid #c7a060;padding:14px 16px;border-radius:5px;font-size:13px;line-height:1.7;margin-bottom:18px;overflow-wrap:anywhere}.notice button{margin-top:10px}.issue-form{margin-top:20px}summary{cursor:pointer;font-weight:750;min-height:48px;display:flex;align-items:center;color:var(--green);list-style:none}summary:before{content:'+';font-size:22px;margin-right:12px}details[open]>summary:before{content:'−'}#toast{position:fixed;left:16px;right:16px;bottom:18px;background:var(--navy);color:white;padding:15px 18px;border-radius:10px;font-size:13px;line-height:1.6;box-shadow:0 5px 25px #102c3b30;max-width:580px;margin:auto;z-index:5;overflow-wrap:anywhere}#updated{margin-top:24px}#content:focus{outline:none}.loading{padding:36px 0;font-size:14px;color:var(--muted)}.error-state{padding:24px;background:white;border:1px solid var(--line);border-radius:12px}.error-state .primary{margin-top:15px}@media(min-width:700px){.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:650px;margin:8vh auto;border-radius:18px;overflow:hidden}.login-brand{padding:50px 36px;display:flex;flex-direction:column;justify-content:center}.login-form{padding:60px 36px;align-self:center}.app-header{padding:18px max(24px,calc((100vw - 1008px)/2))}.shell{padding:30px 24px}.trip-list{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-list.active-list{grid-template-columns:1fr}.active-list .route{grid-template-columns:1fr 1fr}.active-list .button{max-width:300px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.full{grid-column:1/-1}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.step-panel{padding:26px}.step-panel .primary{max-width:380px}h1{font-size:34px}}@media(max-width:350px){.shell{padding-left:12px;padding-right:12px}.panel,.trip-card{padding:17px}.toolbar{gap:8px}.toolbar .eyebrow{max-width:145px;line-height:1.6}.login-brand,.login-form{padding:26px 20px}.detail-title h1{font-size:25px}}

.report-shortcut{margin-bottom:18px}

.trip-card .stop strong{white-space:pre-line;overflow-wrap:anywhere}.detail-grid .address{white-space:pre-line;overflow-wrap:anywhere}.detail-grid .button{max-width:100%;white-space:normal;box-sizing:border-box}

@media(max-width:600px){button,.button,input,select{min-height:44px}h1{font-size:1.55rem}h2{font-size:1.2rem}h3{font-size:1.05rem}dialog{max-width:calc(100vw - 24px)}.fields>*{min-width:0}input,textarea,select{max-width:100%}}
