:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;background:#faf8ff;color:#201331}body{margin:0}header{padding:18px 24px;border-bottom:1px solid #e8dcef;display:flex;gap:24px;align-items:center;flex-wrap:wrap}strong{color:#201331}small{display:block;font-size:10px;margin-top:6px}header span{font-size:12px;color:#6b5b79}button,input{font:inherit;padding:12px;border:1px solid #e8dcef;border-radius:6px;background:#fff;color:#201331}button{cursor:pointer}button:hover,button:focus-visible{outline:2px solid #7834ed}form,#status{margin:16px 24px}form p{font-size:12px;color:#6b5b79}main{display:grid;grid-template-columns:280px 1fr;gap:16px;padding:0 24px}h1{font-size:22px}#vehicles button{display:block;width:100%;margin:8px 0;text-align:left}#map{height:60vh;min-height:300px;background:#222}nav{display:flex;gap:12px;margin:16px 0}#results p{padding:12px;border-bottom:1px solid #e8dcef}.leaflet-container{color-scheme:light}@media(max-width:650px){main{grid-template-columns:1fr;padding:0 12px}header{padding:14px}#vehicles{max-height:180px;overflow:auto}#map{height:45vh}form input{max-width:65vw}}
details{margin:16px 0;padding:12px;border:1px solid #e8dcef;border-radius:6px}summary{cursor:pointer;color:#9629dc}details form{margin:12px 0}details label{display:block;margin:10px 0}details input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;margin-top:5px}button:disabled{opacity:.5;cursor:wait}
#results .journey{display:block;width:100%;text-align:left;margin:8px 0;line-height:1.5}
/* Map-first document order matches the mobile reading and keyboard order. */
main{grid-template-columns:minmax(0,1fr) 280px;align-items:start;padding-bottom:24px}
main>section,main>aside{min-width:0}
#identity-panel{margin:16px 24px}
#identity-panel button{margin:0 8px 8px 0}
#connect label{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}
#connect button{margin:8px 0}
#map{border:1px solid #e8dcef;border-radius:8px;overflow:hidden}
@media(max-width:650px){
  main{grid-template-columns:minmax(0,1fr)}
  #status,#identity-panel,#connect{margin:12px}
  header{gap:12px}
  header span{font-size:11px}
  #map{height:46vh;min-height:300px}
  details input:not([type=checkbox]){max-width:100%}
  #connect input{box-sizing:border-box;max-width:100%;min-width:0}
}
html{scroll-padding-bottom:100px}
body{padding-bottom:88px}
.support-actions{position:fixed;right:16px;bottom:max(12px,env(safe-area-inset-bottom));z-index:1000;display:flex;gap:8px;margin:0;padding:6px;border-radius:14px;background:#faf8ff;box-shadow:0 2px 16px #0008}
.support-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 12px;border-radius:10px;color:#07170e;text-decoration:none;font-size:14px;font-weight:bold}
.support-actions svg{width:26px;height:26px;flex:none}
.support-whatsapp{background:#25d366}
.support-call{background:#9629dc;color:#fff}
.support-actions a:focus-visible{outline:3px solid #7834ed;outline-offset:3px}
@media(max-width:650px){.support-actions{right:12px}.support-actions a{min-height:44px}}
/* Reserve a contact strip: fixed actions never sit over the scrolling dashboard. */
body{height:100dvh;overflow:hidden;padding-bottom:0}
#app-scroll{height:calc(100dvh - 80px - env(safe-area-inset-bottom));overflow:auto;scroll-padding:16px;outline-offset:-3px}
.support-actions{bottom:calc(12px + env(safe-area-inset-bottom))}
nav{flex-wrap:wrap}
.skip-link{position:fixed;left:12px;top:-100px;z-index:2000;padding:12px 16px;background:#9629dc;color:#fff;border-radius:6px;font-weight:bold}
.skip-link:focus{top:12px}
.skip-fleet:focus{top:64px}
input:focus-visible,summary:focus-visible,#app-scroll:focus-visible{outline:3px solid #9629dc;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#identity-panel p{overflow-wrap:anywhere}

#sensor-rule-form{margin:16px 0;max-width:560px}#sensor-rule-form label{display:block;margin:12px 0}#sensor-rule-form input,#sensor-rule-form select{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:5px;font:inherit;padding:12px;border:1px solid #e8dcef;border-radius:6px;background:#fff;color:#201331}#sensor-rule-form [hidden]{display:none}#sensor-rule-form select:focus-visible{outline:3px solid #9629dc;outline-offset:3px}

/* Approved shared SHAMPAIN identity; operational map layers keep their own colours. */
header{background:#fff}button{background:#fff;color:#201331;border-color:#d5bee6;border-radius:10px}button:hover{background:#f1e8fc}input{accent-color:#9629dc}details{background:#fff;border-radius:12px}summary{color:#7820b5}#results p{overflow-wrap:anywhere}.support-actions{background:#fff;box-shadow:0 2px 16px #20133120}.support-whatsapp{background:#25d366;color:#07170e}.shampain-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;min-height:42px}.shampain-brand img{width:42px;height:42px;flex:none}.shampain-brand .brand-wordmark{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:750;letter-spacing:-.045em;color:#201331}.shampain-brand .brand-initial,.shampain-brand .brand-suffix{font:inherit;color:#9629dc}.shampain-brand .brand-suffix{display:block;font-size:13px;letter-spacing:0;margin-top:3px}.shampain-brand:focus-visible{outline:3px solid #7834ed;outline-offset:4px;border-radius:8px}@media(max-width:650px){.shampain-brand img{width:38px;height:38px}.shampain-brand .brand-wordmark{font-size:20px}}

/* Latest owner correction: exact AI Assist font and accent treatment. */
:root{font-family:Inter,Arial,sans-serif;color:#1d1530}header{color:#1d1530}.shampain-brand .brand-wordmark{font-family:Sora,Arial,sans-serif;font-weight:700;letter-spacing:-.4px;color:#1d1530}.shampain-brand .brand-initial,.shampain-brand .brand-suffix{background:linear-gradient(120deg,#6d28d9,#c026d3);background-clip:text;-webkit-background-clip:text;color:transparent}.shampain-brand .brand-suffix{letter-spacing:-.4px}h1,h2,h3{font-family:Sora,Arial,sans-serif;font-weight:700;font-style:normal;background:linear-gradient(110deg,#6d28d9,#7c3aed 50%,#c026d3);background-clip:text;-webkit-background-clip:text;color:transparent}nav button{font-family:Inter,Arial,sans-serif;font-weight:500}nav button[aria-current="page"],nav button[aria-pressed="true"]{background:linear-gradient(120deg,#7c3aed,#c026d3);color:#fff}

.support-actions .support-call{color:#fff;background:linear-gradient(120deg,#7c3aed,#c026d3)}
