.driver-zone{--dz-dark:#132b40;--dz-edge:#39536a;--dz-soft:#bdcdd9;--dz-blue:#91d4ff}.driver-zone .hero{background:linear-gradient(125deg,#132b40,#23425d);border:1px solid #39536a;position:relative;box-shadow:0 16px 40px #142d4414}.driver-zone .hero:before{content:'';height:3px;position:absolute;left:40px;right:40px;top:0;background:linear-gradient(90deg,#91d4ff,transparent)}.driver-zone .hero .eyebrow{color:#91d4ff}.driver-zone .hero .button{background:#91d4ff;color:#10293e}.driver-zone .hero .button.secondary{background:#ffffff12;color:#f4f8fb;border:1px solid #ffffff30}.driver-zone .panel,.driver-zone .card,.driver-zone .alert-card{background:linear-gradient(145deg,#223d54,#132b40);border:1px solid var(--dz-edge);color:#f2f7fb;border-radius:20px;box-shadow:0 10px 24px #142d4410}.driver-zone .panel h2,.driver-zone .panel h3,.driver-zone .card h3,.driver-zone .alert-card h2,.driver-zone .alert-card h3{color:#f2f7fb}.driver-zone .subtle,.driver-zone .card .subtle{color:#bdcdd9}.driver-zone .panel a,.driver-zone .alert-card a{color:#a8deff}.driver-zone .filter-panel{margin-top:24px}.driver-zone label{font-size:13px;letter-spacing:.01em}.driver-zone input:not([type=checkbox]),.driver-zone select,.driver-zone textarea{background:#f6f9fc;color:#17364d;border:1px solid #738b9e;min-height:48px}.driver-zone button,.driver-zone .button{min-height:44px;background:#27648a;color:#fff;font-weight:650}.driver-zone button.secondary,.driver-zone .button.secondary{background:#f1f7fb;color:#183b56;border:1px solid #c6d7e3}.driver-zone .badge{background:#91d4ff16;color:#b4e4ff;border:1px solid #91d4ff35;letter-spacing:.04em;font-size:11px;padding:7px 10px}.driver-zone .cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:20px}.driver-zone .card{padding:24px;display:flex;flex-direction:column;gap:0;transition:transform .15s,border-color .15s;text-decoration:none}.driver-zone .card:hover{transform:translateY(-3px);border-color:#91d4ff;text-decoration:none}.driver-zone .card:focus-visible{outline:3px solid #287a64;outline-offset:4px}.driver-card-top{display:flex;gap:14px;align-items:center;margin-bottom:8px}.driver-type-symbol{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;border-radius:14px;background:#91d4ff18;border:1px solid #91d4ff40;font-size:25px;color:#a8deff;font-weight:700}.driver-zone .card h3{font-size:25px;line-height:1.2;overflow-wrap:anywhere;margin:16px 0 8px}.driver-zone .card p{margin:8px 0;font-size:14px;line-height:1.5}.driver-zone .card .driver-card-place{color:#a8deff;font-weight:650}.driver-zone .card .driver-price{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;margin-top:18px}.driver-zone .facility-tags{gap:6px;margin:12px 0}.driver-zone .facility-tags span{background:#ffffff0b;color:#d0e3ef;border:1px solid #ffffff20;font-size:11px;padding:6px 9px}.driver-zone .freshness{color:#bde6d0;background:#88c7a414;border:1px solid #88c7a435;border-radius:10px;padding:10px 12px;font-size:12px}.driver-zone .freshness.outdated{color:#ffe0ad;background:#ffc57212;border-color:#ffc57235}.driver-zone .card-bottom{margin-top:auto;padding-top:18px;border-top:1px solid #ffffff20;color:#a8deff;font-size:14px;display:flex;justify-content:space-between}.driver-zone .section-title{margin:28px 0 18px}.driver-zone .section-title>span{border:1px solid #d0dfe8;background:#eaf2f7;color:#214662;border-radius:999px;padding:8px 14px;font-size:13px}.driver-zone .filter-chip{background:#ffffff08;color:#d9e6ef;border:1px solid #ffffff24;min-height:44px}.driver-zone .alert-card{padding:24px;margin:16px 0;border-left:4px solid #efbc6c}.driver-zone .alert-card p{line-height:1.65}.driver-zone .alert-card small{color:#c6d7e3;font-size:12px;display:block;line-height:1.7}.driver-report-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.driver-zone .driver-report-head .badge{color:#ffe3b9;background:#efbc6c15;border-color:#efbc6c40}.driver-report-footer{margin-top:18px;padding-top:16px;border-top:1px solid #ffffff20;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.driver-zone .alert-card h3{font-size:24px;margin:18px 0 12px}.driver-zone .detail-head{background:linear-gradient(125deg,#132b40,#23425d);color:#f2f7fb;border-radius:22px;padding:28px;margin:20px 0}.driver-zone .detail-head h1{color:#f2f7fb}.driver-zone .amenity-list div{border-color:#ffffff20}.driver-zone .amenity-list dd{color:#b9e3ff}.driver-zone summary{min-height:44px;cursor:pointer;padding:10px 0}.driver-zone .empty{border:1px dashed #8da8ba;background:#eaf2f7;border-radius:20px}.driver-zone .rating-summary{font-weight:650}.driver-zone .hero-art svg{filter:drop-shadow(0 12px 16px #0003)}.driver-feed-count{font-variant-numeric:tabular-nums;font-size:72px;font-weight:650;line-height:1;color:#91d4ff}.driver-zone .hero-art .driver-feed-label{font-size:13px;font-weight:400;color:#bdcdd9;letter-spacing:.07em;text-transform:uppercase}.driver-zone .back{display:inline-block;min-height:44px;padding-top:8px}@media(max-width:650px){.driver-zone .hero{padding:28px}.driver-zone .hero-art{display:none}.driver-zone .detail-head{padding:22px}.driver-zone .alert-card,.driver-zone .card{padding:20px}.driver-report-footer{align-items:flex-start}.driver-zone .search{gap:14px}}@media(prefers-reduced-motion:reduce){.driver-zone .card{transition:none}.driver-zone .card:hover{transform:none}}
.driver-zone .panel a.button,.driver-zone .alert-card a.button{color:#fff}.driver-zone .panel a.button.secondary,.driver-zone .alert-card a.button.secondary{color:#ffda9e}#location-map a{color:#185b7a}.driver-zone .photo-card img{border-radius:14px}
.driver-zone .freshness.panel{background:#173b35;color:#e3f5eb;border-color:#5c8c7a;font-size:14px}.driver-zone .freshness.panel.outdated{background:#483820;color:#fff0d5;border-color:#9e7a40}.driver-zone .freshness.panel p,.driver-zone .freshness.panel strong{color:inherit;font-size:14px;line-height:1.6}.driver-zone a.back{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;background:#173b56;color:#fff;border:1px solid #315770;border-radius:12px;font-weight:650;text-decoration:none;margin-bottom:8px}.driver-zone a.back:hover{background:#245477}.driver-zone a.back:focus-visible{outline:3px solid #287a64;outline-offset:3px}
#road-popup{background:#f7fafc;color:#16364d}#road-popup h2,#road-popup h3{color:#16364d}#road-popup .alert-card{background:#fff;border:1px solid #cedde7;border-left:4px solid #356f94;color:#16364d}#road-popup .alert-card p{color:#29475a;line-height:1.6;font-size:15px}#road-popup .popup-section-title{font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin:24px 0 12px;color:#35556c}#road-popup .popup-weather{border-left-color:#2490ac}#road-popup .popup-traffic{border-left-color:#b57b20}#road-popup .popup-temperature{font-size:40px;font-weight:700;color:#173b56;margin:10px 0}.cp-incident .cp-road-priority{display:block;color:#b4e4ff;font-size:12px;margin-bottom:10px}
#road-popup .popup-warning{background:#fff2f2;border:2px solid #b91c1c;border-left:6px solid #b91c1c;box-shadow:0 8px 22px #991b1b12}#road-popup .popup-risk-banner{display:flex;align-items:center;gap:16px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #efaaaa;color:#991b1b}#road-popup .popup-risk-mark{display:flex;align-items:center;justify-content:center;flex:0 0 52px;height:52px;border-radius:14px;background:#991b1b;border:2px solid #711818;color:#fff;font-size:38px;font-weight:800;line-height:1}#road-popup .popup-risk-banner strong{font-size:17px;line-height:1.4}#road-popup .popup-risk-list{padding-left:22px;color:#711818;font-size:15px;line-height:1.7}#road-popup .popup-risk-list li{margin:8px 0}#road-popup .popup-warning h3,#road-popup .popup-warning .popup-temperature{color:#711818}

.route-options{margin:24px 0;padding:22px;border:1px solid #cad6df;border-radius:16px;background:#f3f7fa;color:#173348}.route-options h2{color:#173348}.route-options input,.route-options select{background:#fff;color:#173348}.route-options [hidden]{display:none!important}#destination-results{display:grid;gap:10px;margin:12px 0}#destination-results button{text-align:left;white-space:normal}.cp-route-title{color:#f0f5fa;font-size:19px;line-height:1.5}

/* A single mobile drive-by; decorative and clipped within the hero. */
@media(max-width:800px){
 .driver-zone .home-hero .hero-art{display:block;min-width:0;width:100%;margin-top:8px}
 .home-hero .truck-track{position:relative;width:100%;height:145px;overflow:hidden;isolation:isolate}
 .home-hero .truck-motion{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;animation:truckkompas-drive-by 4.5s ease-in-out .2s both}
 .driver-zone .home-hero .truck-motion svg{width:230px;max-width:230px;flex:none}
 .home-hero .hero-art p{margin:8px 0 0;font-size:15px;line-height:1.5;text-align:center}
}
@keyframes truckkompas-drive-by{
 0%{transform:translateX(calc(-50% - 140px));opacity:1}
 76%{transform:translateX(calc(50% + 140px));opacity:1}
 77%{transform:translateX(calc(50% + 140px));opacity:0}
 78%{transform:translateX(0);opacity:0}
 100%{transform:translateX(0);opacity:1}
}
@media(prefers-reduced-motion:reduce){.home-hero .truck-motion{animation:none;transform:none;opacity:1}}

/* Slow, finite alarm on the mark; message text stays continuously visible. */
#road-popup .popup-warning p{color:#711818}
#road-popup .popup-risk-mark{animation:truckkompas-weather-alarm 1s steps(1,end) 8}
@keyframes truckkompas-weather-alarm{
 0%,100%{background:#991b1b;color:#fff;box-shadow:none}
 50%{background:#fff;color:#991b1b;box-shadow:0 0 0 6px #991b1b}
}
@media(prefers-reduced-motion:reduce){#road-popup .popup-risk-mark{animation:none}}

.cp-map-link{display:inline-block;padding:10px 12px;margin:8px 0;border-radius:8px;border:1px solid #91d4ff55;color:#b4e4ff;text-decoration:underline;min-height:44px}

/* Weather alert inspired by the driver's dark emergency panel reference. */
#road-popup.weather-danger-dialog{background:#170909;color:#fff0f0;border:3px solid #d5453d;border-radius:28px;padding:28px;box-shadow:0 24px 100px #0009;max-width:680px}
#road-popup.weather-danger-dialog::backdrop{background:#000c;backdrop-filter:blur(4px)}
#road-popup.weather-danger-dialog .road-popup-head{align-items:flex-start;border-bottom:1px solid #a842423f;padding-bottom:20px;margin-bottom:20px}
#road-popup.weather-danger-dialog .road-popup-head .eyebrow{color:#f5b8b3;font-size:12px;letter-spacing:.08em}
#road-popup.weather-danger-dialog #road-popup-title{color:#ff8d83;font-size:clamp(22px,5vw,32px);line-height:1.2;margin-top:10px;overflow-wrap:anywhere}
#road-popup.weather-danger-dialog #road-popup-close{background:#354153;color:#fff;border:1px solid #788294;border-radius:12px;min-width:44px;min-height:44px;flex-shrink:0}
#road-popup.weather-danger-dialog .popup-section-title{color:#efc0bc;font-size:14px;letter-spacing:.04em;margin:24px 0 14px}
#road-popup.weather-danger-dialog .alert-card{background:#241112;color:#fbe7e7;border-color:#794344;border-radius:18px;box-shadow:none}
#road-popup.weather-danger-dialog .alert-card h3,#road-popup.weather-danger-dialog .alert-card p{color:#fbe7e7}
#road-popup.weather-danger-dialog .popup-warning{background:transparent;border:0;padding:12px 0 24px;box-shadow:none}
#road-popup.weather-danger-dialog .popup-risk-banner{flex-direction:column;gap:20px;border:0;margin:0 0 20px;padding:0;color:#ffb0a9;text-align:center}
#road-popup.weather-danger-dialog .popup-risk-mark{flex:0 0 auto;width:90px;height:90px;border-radius:20px;background:#991b1b;border:2px solid #ed736a;color:#fff;font-size:64px;box-shadow:0 8px 24px #e43b3524}
#road-popup.weather-danger-dialog .popup-risk-banner strong{font-size:20px;line-height:1.45;max-width:460px}
#road-popup.weather-danger-dialog .popup-warning h3{font-size:clamp(24px,6vw,34px);line-height:1.3;text-align:center;margin:18px 0 10px;color:#fff1f0}
#road-popup.weather-danger-dialog .popup-temperature{font-size:44px;font-weight:750;text-align:center;margin:12px 0;color:#fff}
#road-popup.weather-danger-dialog .popup-warning>p{font-size:16px;line-height:1.65;text-align:center;color:#ebc6c4;overflow-wrap:anywhere}
#road-popup.weather-danger-dialog .popup-warning>p:last-child{font-size:12px;color:#d9a9a6}
#road-popup.weather-danger-dialog .popup-risk-list{list-style:none;padding:0;margin:24px 0;color:#ffe4e1;font-size:16px;line-height:1.6}
#road-popup.weather-danger-dialog .popup-risk-list li{background:#6b24252b;border:1px solid #a94b4b55;border-left:4px solid #e6675d;border-radius:12px;padding:14px 16px;margin:12px 0}
#road-popup.weather-danger-dialog>.actions{display:grid;grid-template-columns:1fr;gap:12px;border-top:1px solid #a842423f;padding-top:22px}
#road-popup.weather-danger-dialog>.actions button,#road-popup.weather-danger-dialog>.actions .button{display:block;width:100%;min-height:56px;padding:16px 20px;border-radius:16px;font-size:17px;font-weight:750;text-align:center;white-space:normal}
#road-popup.weather-danger-dialog #road-popup-read{background:#bb342e;color:#fff;border:1px solid #dc655d}
#road-popup.weather-danger-dialog>.actions .secondary{background:#354153;color:#fff;border:1px solid #657186}
#road-popup.weather-danger-dialog :focus-visible{outline:3px solid #ffe1bd;outline-offset:4px}
@media(max-width:520px){#road-popup.weather-danger-dialog{width:calc(100% - 24px);padding:22px 18px;border-radius:24px}#road-popup.weather-danger-dialog .popup-risk-mark{width:80px;height:80px;font-size:56px}#road-popup.weather-danger-dialog .popup-risk-banner strong{font-size:18px}}

/* Petrol and amber palette from the supplied TruckKompas reference. */
:root{--tk-petrol:#122e38;--tk-amber:#ffbd54}
.button:not(.secondary):not(.danger),button:not(.secondary):not(.danger):not(.link),.driver-zone button:not(.secondary):not(.danger),.driver-zone .button:not(.secondary):not(.danger),.driver-zone .hero .button:not(.secondary){background:#ffbd54;color:#122e38;border:1px solid #e4a343;border-radius:12px;font-weight:750;box-shadow:0 3px 0 #99662224;transition:background .15s,box-shadow .15s}
.button.secondary,button.secondary,.driver-zone button.secondary,.driver-zone .button.secondary,.driver-zone .hero .button.secondary{background:#122e38;color:#ffda9e;border:1px solid #46626a;border-radius:12px;font-weight:700}
.button:not(.secondary):not(.danger):hover,button:not(.secondary):not(.danger):not(.link):hover,.driver-zone .hero .button:not(.secondary):hover{background:#ffd184;color:#122e38}
.button.secondary:hover,button.secondary:hover,.driver-zone .hero .button.secondary:hover{background:#1c414d;color:#fff0d4}
nav>a:not(.button){display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 12px;border-radius:10px;background:#122e38;color:#ffd184;border:1px solid #35545e;text-decoration:none;font-weight:700;font-size:13px}
nav>a:not(.button):hover{background:#214753;color:#fff0d4}
nav{flex-wrap:wrap}
#road-popup:not(.weather-danger-dialog){background:linear-gradient(145deg,#122e38,#193b47);color:#eef6f8;border:1px solid #617d8555;border-top:3px solid #ffbd54;border-radius:26px;padding:28px;box-shadow:0 24px 90px #06191e80}
#road-popup:not(.weather-danger-dialog)::backdrop{background:#071d26bd;backdrop-filter:blur(5px)}
#road-popup:not(.weather-danger-dialog) .road-popup-head{align-items:flex-start;border-bottom:1px solid #ffffff1c;padding-bottom:20px;margin-bottom:22px}
#road-popup:not(.weather-danger-dialog) .eyebrow{color:#ffcb79;font-size:11px;letter-spacing:.1em}
#road-popup:not(.weather-danger-dialog) #road-popup-title{color:#f3f8fa;font-size:clamp(23px,5vw,30px);line-height:1.3;margin:10px 0 0}
#road-popup:not(.weather-danger-dialog) #road-popup-close{background:#244650;color:#ffe3b6;border:1px solid #65818a;min-width:44px;min-height:44px;border-radius:12px;flex-shrink:0;box-shadow:none}
#road-popup:not(.weather-danger-dialog) .popup-section-title{color:#b9cdd3;font-size:12px;letter-spacing:.08em;margin:24px 0 12px;text-transform:uppercase}
#road-popup:not(.weather-danger-dialog) .alert-card{background:#ffffff06;border:1px solid #ffffff20;border-left:3px solid #ffbd54;border-radius:18px;color:#edf5f8;padding:22px;box-shadow:none}
#road-popup:not(.weather-danger-dialog) .alert-card h3{color:#fff0d5;font-size:22px;line-height:1.35}
#road-popup:not(.weather-danger-dialog) .alert-card p{color:#d1e0e5;line-height:1.65}
#road-popup:not(.weather-danger-dialog) .popup-weather{text-align:center;padding:26px 22px}
#road-popup .popup-weather-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 14px;width:78px;height:78px;border-radius:22px;background:#ffbd5414;border:1px solid #ffbd543b;color:#ffcb79;font-size:48px;line-height:1}
#road-popup:not(.weather-danger-dialog) .popup-weather h3{margin:12px 0 8px;font-size:24px}
#road-popup:not(.weather-danger-dialog) .popup-temperature{font-size:clamp(40px,10vw,56px);font-weight:750;color:#fff!important;margin:12px 0 20px;line-height:1.1;font-variant-numeric:tabular-nums}
#road-popup .popup-source,#road-popup .popup-validity{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#road-popup:not(.weather-danger-dialog) .popup-source{color:#abc2cb!important;border-top:1px solid #ffffff18;padding-top:18px;margin-top:20px}
#road-popup:not(.weather-danger-dialog) .popup-validity{color:#bad0d8!important}
#road-popup:not(.weather-danger-dialog)>.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
#road-popup:not(.weather-danger-dialog)>.actions button,#road-popup:not(.weather-danger-dialog)>.actions .button{width:100%;min-height:52px;border-radius:14px;padding:14px 16px;text-align:center;font-size:15px;white-space:normal}
#road-popup:not(.weather-danger-dialog) #road-popup-read{background:#ffbd54;color:#122e38;border:1px solid #e4a343}
#road-popup:not(.weather-danger-dialog)>.actions .secondary{background:#254752;color:#ffe2af;border:1px solid #627e87}
#road-popup:not(.weather-danger-dialog) :focus-visible{outline:3px solid #ffcd82;outline-offset:4px}
@media(max-width:520px){#road-popup:not(.weather-danger-dialog){width:calc(100% - 24px);padding:22px 18px;border-radius:22px}#road-popup:not(.weather-danger-dialog)>.actions{grid-template-columns:1fr}nav>a:not(.button){padding:9px 10px;font-size:12px}}

/* Clearly labelled language selection, keyboard and mobile friendly */
header .language-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border:1px solid #aabcc3;border-radius:14px;background:#f1f5f6}header .language-form .language-label{display:block;font-size:13px;font-weight:700;color:#122e38;margin:0}header .language-form select{min-width:145px;min-height:44px;font-size:15px;color:#122e38;background:white}header .language-form .language-apply{min-height:44px;font-size:13px;padding:10px 14px}@media(max-width:700px){header .language-form{width:100%;justify-content:center}header .language-form .language-label{width:100%;text-align:center}}
