#tourapp {margin-block:52px;scroll-margin-top:22px;--t-ink:#283227;--t-green:#315740;--t-light:#e4eddf;--t-border:#d9dcd0;color:var(--t-ink)}
#tourapp .trip-intro {display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:21px}
.trip-intro>div:first-child {max-width:64ch}
.trip-intro h2 {margin:5px 0 9px}
.trip-intro p:not(.eyebrow) {color:#575e51;font-size:15px;line-height:1.55}
.trip-roles {display:flex;align-items:stretch;background:#eaece1;border:1px solid #d0d6c7;border-radius:12px;padding:4px;gap:3px}
.trip-roles button {font:650 14px/1.25 'Segoe UI',Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#495243;padding:10px 15px;min-height:42px;white-space:nowrap;border-radius:8px}
.trip-roles button[aria-pressed=true] {background:var(--t-green);color:#fff;box-shadow:0 1px 3px #26392732}
.trip-shell {border:1px solid #d2d7c9;border-radius:19px;overflow:hidden;background:#f0f1e9;box-shadow:0 7px 22px #2b38240d}
.trip-bar {display:flex;align-items:center;justify-content:space-between;gap:10px;background:#263d30;color:#faf8ed;padding:13px 22px}
.trip-bar>span {display:flex;align-items:center;font-size:15px;font-weight:650;gap:10px}
.trip-bar>small {color:#d3dfd0;font-size:12px}
.trip-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 0;background:#fbfcf5;border-bottom:1px solid var(--t-border)}
.trip-metrics>div {padding:0 clamp(10px,2vw,25px);border-left:1px solid #dbe1d2;min-width:0}
.trip-metrics>div:first-child {border:0}
.trip-metrics small,.trip-metrics strong {display:block}
.trip-metrics small {color:#586250;font-size:12px;line-height:1.3}
.trip-metrics strong {font-size:clamp(17px,2.1vw,27px);line-height:1.25;letter-spacing:-.035em;font-weight:670;font-variant-numeric:tabular-nums;margin-top:3px}
.trip-grid {display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:15px;padding:16px;align-items:start}
.trip-grid>div {min-width:0}
.trip-side {display:grid;align-content:start;gap:14px}
.trip-card {padding:21px;border:1px solid var(--t-border);border-radius:13px;background:#fffdf7;min-width:0}
.trip-cardhead {display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.trip-card h3 {font:500 clamp(26px,2.5vw,36px)/1.12 var(--serif,Georgia,serif);letter-spacing:-.045em;margin-top:3px}
.trip-cardhead.compact {align-items:center}
.trip-cardhead.compact h3,.trip-card h4 {display:flex;align-items:center;gap:7px;font:650 16px/1.28 'Segoe UI',Arial,sans-serif;letter-spacing:-.02em}
.trip-cardhead.compact h3 svg {width:1.1em;height:1.1em;color:var(--t-green)}
.trip-overline {display:block;font-size:10px;letter-spacing:.13em;font-weight:750;color:#6c735b}
.trip-badge {white-space:nowrap;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:30px;background:#eeeddd;color:#53563a;font-size:11.5px;font-weight:700;line-height:1.45}
.trip-badge i {height:6px;width:6px;background:currentColor;border-radius:50%}
.trip-badge.good,.trip-saved {background:#e2eddd;color:#315539}
.trip-progress {height:3px;border-radius:3px;background:#e7eadf;margin:17px 0}
.trip-progress i {display:block;height:100%;background:#59865b;transition:width .2s}
.trip-route-summary {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;padding:10px 0 1px;font-size:13px}
.trip-route-summary strong {color:var(--t-green)}
.trip-route-summary span {color:#52604b}
.trip-checklist {margin-top:14px;padding:12px;border:1px solid var(--t-border);border-radius:8px;background:#f5f7ee}
.trip-checklist h4 {font-size:13px}
.trip-checklist .trip-itinerary {margin:8px 0 0}
.trip-checklist .trip-itinerary li:last-child {border-bottom:0;padding-bottom:0}
.trip-checklist .trip-itinerary li {padding-block:7px}
.trip-checklist .trip-order-box {width:19px;height:19px;border:1.5px solid #899580;border-radius:4px;background:transparent}
.trip-checklist .complete .trip-order-box {color:#fff;background:var(--t-green);border-color:var(--t-green)}
.trip-return-links {display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.trip-inputs {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.trip-inputs label,.trip-pay legend {color:#505c4a;font-size:12px;font-weight:650}
.trip-inputs select,.trip-inputs input {width:100%;min-width:0;font:inherit;font-size:14px;font-weight:600;background:#fffefa;color:#293727;border:1px solid #c9d0c0;border-radius:7px;margin-top:4px;padding:8px 9px;outline-offset:2px;min-height:39px}
.trip-inputs select:focus-visible,.trip-inputs input:focus-visible,.trip-pay input:focus-visible {outline:3px solid #a06c3e}
.trip-itinerary {padding:0;margin:15px 0;list-style:none}
.trip-itinerary li {display:flex;align-items:center;gap:9px;position:relative;padding:11px 0;border-top:1px solid #e4e5da}
.trip-itinerary li:last-child {border-bottom:1px solid #e4e5da}
.trip-itinerary li>div {flex:1;min-width:0}
.trip-itinerary strong,.trip-itinerary small {display:block}
.trip-itinerary strong {font-size:14px}
.trip-itinerary small,.trip-history small,.trip-driver-meta small,.trip-hint,.trip-map-foot p,.trip-empty {font-size:12.5px;line-height:1.5;color:#586052}
.trip-stop-num {border-radius:50%;background:#f0efe5;color:#656957;display:grid;place-items:center;font:650 12px/1 'Segoe UI',Arial,sans-serif;width:31px;height:31px;flex:none}
.active .trip-stop-num,.complete .trip-stop-num,.trip-check {background:#e0ecda;color:var(--t-green)}
.trip-stop-num svg {width:16px}
.trip-status {color:#586452;font-size:11px;text-align:right;font-weight:650;max-width:95px}
.trip-hint {margin:9px 0}
.trip-warning {color:#714716;background:#fff2d8;padding:8px 12px;border-left:3px solid #b37a35;border-radius:3px}
.trip-actions,.trip-driver-actions,.trip-assignment {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.trip-actions {margin-top:13px}
.trip-assignment {gap:14px;color:#52604b;font-size:13px}
.trip-assignment span {display:flex;align-items:center;gap:6px}
.trip-btn,.trip-ledger-btn {display:inline-flex;justify-content:center;align-items:center;min-height:39px;line-height:1.3;gap:7px;border-radius:7px;padding:9px 12px;font-size:13px;font-weight:650}
.trip-btn svg {width:15px;height:15px}
.trip-btn.trip-main {background:var(--t-green);color:#fff}
.trip-btn.trip-main:hover {background:#203f2d}
.trip-btn.trip-sub {border:1px solid #cbd2c3;color:#374e35;background:#fbfcf5}
.trip-btn.trip-sub:hover,.trip-ledger-btn:hover {background:#e8efdf}
.trip-btn.trip-link {background:transparent;color:#37573e;text-decoration:underline;text-decoration-color:#a1b298;text-underline-offset:3px;min-height:32px;padding:4px 0}
.trip-model {font-size:10.5px;font-weight:650;color:#67735e}
.trip-map {padding-bottom:15px}
.trip-map-art {display:block;width:100%;height:clamp(115px,13vw,165px);background:#ebebdd;border:1px solid var(--t-border);border-radius:7px;margin:12px 0 9px}
.trip-map-foot {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.trip-map-foot p {margin:0}
.trip-empty {margin-top:12px}
.trip-history {margin-top:8px}
.trip-history>div {display:flex;align-items:center;gap:7px;border-top:1px solid #e2e5d9;padding:8px 0;flex-wrap:wrap}
.trip-history>div>div {min-width:0;flex:1 1 105px}
.trip-history strong {display:block;font-size:13px}
.trip-history small {display:block;font-size:11px}
.trip-check {display:grid;place-items:center;width:24px;height:24px;border-radius:50%}
.trip-check svg {width:14px;height:14px}
.trip-ledger-btn {min-height:34px;background:#edf1e6;color:#385536;font-size:11.5px;border:1px solid #d6dfce}
.trip-proof {border:1px solid #d5dbca;border-radius:8px;background:#f7f8ef;margin-top:10px;padding:13px}
.trip-proof>b {font-size:13px}
.trip-proof dl {margin:8px 0}
.trip-proof dl>div {display:flex;justify-content:space-between;align-items:baseline;gap:7px;font-size:12px;border-top:1px solid #dddfd3;padding:4px 0}
.trip-proof dt {color:#5c6455}
.trip-proof dd {margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.trip-driver {padding:0;overflow:hidden}
.trip-phone-head {display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#344f3d;color:#fffef1}
.trip-phone-head .trip-overline {color:#d6e2cb}
.trip-phone-head>svg {width:26px;height:26px;color:#bfcfb0}
.trip-driver-body {padding:17px 20px}
.trip-driver-meta {display:flex;justify-content:space-between;align-items:center}
.trip-destination {display:flex;align-items:center;gap:12px;margin:18px 0}
.trip-idx {color:#68916b;background:#e9efdf;border-radius:9px;padding:9px;font-size:23px;font-weight:600;line-height:1}
.trip-destination small {display:block;font-size:10.5px;letter-spacing:.07em;font-weight:700;color:#687262}
.trip-destination strong {display:block;font-size:19px;line-height:1.28}
.trip-packing {border:1px solid #dbe0d0;border-radius:8px;background:#f5f6ed;padding:7px 11px;font-size:13px;margin:10px 0}
.trip-packing summary {font-weight:650;min-height:30px;line-height:1.55}
.trip-packing summary>svg {width:15px;height:15px;margin-right:5px}
.trip-packing summary>span {display:inline-block;margin-left:4px;color:#58674e;font-size:11px;white-space:normal}
.trip-packing ul {list-style:none;padding:0;margin:4px 0}
.trip-packing li {display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-top:1px solid #e0e5d7}
.trip-packing li b {white-space:nowrap}
.trip-packing li small {display:block;color:#52634e;font-size:11px;line-height:1.45}
.trip-ledger>[data-trip-action="download"] {margin-top:11px}
.trip-driver-actions {margin:12px 0 3px}
.trip-handover {width:100%;margin:0}
.trip-handover .trip-main {margin-top:12px}
.trip-pay {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0;border:0;padding:0}
.trip-pay legend {padding:0 0 5px}
.trip-pay label {display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #cbd2c1;border-radius:7px;min-height:34px;font-size:12.5px;cursor:pointer}
.trip-pay label:has(:checked) {background:#e6efdc;border-color:#88a481}
.trip-pay input {accent-color:var(--t-green);margin:0}
.trip-saved {display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:6px 8px;font-size:12px}
.trip-foot {padding:0 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.trip-foot small {font-size:11px;color:#646d5d}
@media(max-width:820px){#tourapp .trip-intro{align-items:flex-start;flex-direction:column;gap:14px}.trip-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:10px;padding:10px}.trip-card{padding:15px}.trip-driver{padding:0}.trip-driver-body,.trip-phone-head{padding:15px}.trip-inputs{gap:8px}.trip-map-foot{display:block}.trip-map-foot .trip-btn{margin-top:5px}.trip-metrics{padding:13px 0}}
@media(max-width:650px){#tourapp{margin-block:35px}#tourapp .trip-intro{gap:11px;margin-bottom:13px}.trip-intro p:not(.eyebrow){font-size:14px}.trip-roles{width:100%}.trip-roles button{flex:1;font-size:13px;padding:7px 9px}.trip-grid{grid-template-columns:minmax(0,1fr);gap:9px;padding:9px}.trip-side{gap:9px}.trip-bar{padding:11px 13px}.trip-bar>span{font-size:13px}.trip-bar>small{font-size:10.5px}.trip-metrics{grid-template-columns:1fr 1fr;padding:8px 0;row-gap:8px}.trip-metrics>div:nth-child(3){border:0}.trip-metrics small{font-size:10.5px}.trip-metrics strong{font-size:19px}.trip-map-art{height:125px}.trip-shell{border-radius:12px}.trip-map-foot{display:flex}.trip-foot{padding:0 12px 10px}.trip-intro h2{font-size:34px}.trip-card{border-radius:9px}.trip-btn{max-width:100%}.trip-driver-actions{align-items:stretch}.trip-inputs label{font-size:11.5px}}
@media(max-width:360px){.trip-card{padding:12px}.trip-driver{padding:0}.trip-driver-body,.trip-phone-head{padding:12px}.trip-map-foot{display:block}.trip-handover .trip-inputs{grid-template-columns:1fr}.trip-cardhead{flex-wrap:wrap}.trip-overline{font-size:9px}.trip-status{font-size:10px;max-width:76px}.trip-itinerary{margin:10px 0}.trip-itinerary li{gap:6px}.trip-itinerary small{font-size:11px}.trip-proof dl>div{flex-wrap:wrap}}
@media print{#tourapp{display:none!important}}
