:root{color-scheme:light;--bg:#f3f6fc;--card:#fff;--text:#17243c;--secondary:#566580;--line:#dce4f0;--accent:#2563eb;--accent-text:#fff}*{box-sizing:border-box}html{height:100%;overflow:hidden}body{margin:0;height:100%;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,sans-serif}header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;padding-top:max(12px,env(safe-area-inset-top));background:var(--card);border-bottom:1px solid var(--line)}header strong{font-size:23px;letter-spacing:-.8px}header strong span{color:var(--accent);display:inline-block;background:#edf3ff;border-radius:8px;padding:0 5px}small{display:block;font-size:12px;color:var(--secondary)}.header-actions{display:flex;gap:6px}.header-actions button{padding:8px 10px;font-size:12px}button,input,select{font:inherit}button{cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);font-weight:550}button:hover{border-color:#a4bcef;background:#f5f8ff}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8eafff;outline-offset:2px}button:disabled{opacity:.5;cursor:wait}input,select{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#f8faff;color:var(--text)}input{overflow:hidden}input::placeholder{color:#70809c}label{display:block;margin:12px 0;font-size:13px;font-weight:550;color:var(--secondary)}label input,label select{display:block;margin-top:5px}main{width:100%;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}h2{font-size:24px;font-weight:700;letter-spacing:-.6px;margin:10px 0 18px}h3{font-size:18px;letter-spacing:-.3px}p{overflow-wrap:anywhere}.surface{background:var(--card);padding:20px;border:1px solid #e4eaf5;border-radius:20px;margin:16px 0;box-shadow:0 5px 20px #142e6310}.twocol{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}.primary{width:100%;background:var(--accent);border:0;color:var(--accent-text);font-weight:650;box-shadow:0 5px 15px #2563eb25}.primary:hover{background:#194fc6}.muted{font-size:13px;color:var(--secondary)}.eyebrow{display:block;color:var(--accent);font-size:10px;letter-spacing:1.3px;font-weight:750}.page-heading{padding-top:24px}.page-heading h2{margin:6px 0}.page-heading p{margin-top:6px}#notice{flex-shrink:0;max-height:64px;overflow:auto;padding:7px 18px;background:var(--card);border-bottom:1px solid var(--line);font-size:12px;color:var(--secondary)}#notice.error{color:#a82d32;background:#fff5f5}nav{flex-shrink:0;width:100%;display:flex;gap:2px;padding:6px 5px max(8px,env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line);z-index:2000}nav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;border:0;border-radius:12px;padding:5px 3px}nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}nav .active{background:#edf3ff;color:var(--accent);font-weight:700}#plan-panel,#saved-panel,#settings-panel,#admin-panel{padding:0 18px 24px;max-width:920px;margin:auto}#plan-submit{position:sticky;bottom:10px;z-index:2;padding:14px}.model-hint{background:#eff5ff;color:#405a88;font-size:12px;padding:12px;border-radius:10px}#catalog-count{margin:0}#plan-panel h3{margin-top:0}.place-results{max-height:240px;overflow:auto}.place-results button{width:100%;text-align:left;display:block;margin:6px 0;font-size:13px}.place-results p{font-size:13px;color:var(--secondary)}#start-selected,#end-selected{color:var(--accent)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metrics strong{display:block;font-size:16px}.metrics small{font-size:10px}.stop{position:relative;border-left:2px solid #aac6ff;padding:0 0 24px 23px;margin-left:12px}.stop-number{position:absolute;left:-13px;top:0;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;text-align:center;line-height:24px;font-size:12px;font-weight:700}.stop strong{display:block}.stop>div{font-size:14px;margin:5px 0;color:var(--accent)}.stop button{margin-top:10px;font-size:12px}.plan-notes{border-top:1px solid var(--line);margin:12px 0;padding-top:12px}.plan-notes summary{cursor:pointer;font-size:12px;color:var(--secondary);min-height:32px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.actions button{flex:1;white-space:normal;font-size:12px}.connector{display:block;padding:8px 10px;border-radius:9px;background:#f1f5fd;margin:6px 0;font-size:12px}.source{display:block;font-size:10px;color:var(--secondary);overflow-wrap:anywhere}a{color:var(--accent)}[hidden]{display:none!important}
/* The map is the main surface. Tools and trip cards remain above the map. */
body[data-panel="map"] main{overflow:hidden}#map-panel{position:relative;height:100%;isolation:isolate}#map{height:100%;width:100%;background:#e9edf4}.leaflet-container{font:13px system-ui}.leaflet-popup-content{color:var(--text)}.leaflet-control-zoom{margin-top:128px!important}.leaflet-control-attribution{font-size:9px!important;max-width:90%;overflow-wrap:anywhere}.map-plan{position:absolute;z-index:1000;left:12px;right:12px;top:12px;border:1px solid #fff;background:#fff;box-shadow:0 4px 20px #13284a28;text-align:left;padding:12px 16px;min-height:50px}.map-plan span{color:var(--accent);font-size:20px;margin-right:10px}.map-tools{position:absolute;z-index:1000;left:12px;right:12px;top:74px;display:flex;gap:5px;flex-wrap:wrap;pointer-events:none}.map-tools>*{pointer-events:auto;box-shadow:0 2px 8px #142e6315;background:#fff;font-size:10px;min-height:35px;border-radius:9px;padding:6px 8px}.map-tools select{width:auto;flex:1;max-width:155px;min-width:85px}.map-tools #google-map{font-size:9px}.map-tools #clear-route{font-size:10px;color:#b52b39}.map-tools #refresh{font-size:10px}#map-status{position:absolute;z-index:500;bottom:21px;right:6px;left:6px;font-size:9px;text-align:center;pointer-events:none;background:#ffffffd9;border-radius:5px;padding:2px}#route-status{position:absolute;z-index:500;top:150px;right:12px;max-width:240px;background:#ffffffed;border-radius:8px;font-size:10px;color:var(--accent);padding:5px 8px;pointer-events:none}#route-status:empty{display:none}#map-trip{position:absolute;z-index:900;bottom:48px;left:12px;right:12px;padding:15px 16px;background:#fff;border-radius:18px;box-shadow:0 5px 25px #13284a25;max-height:42%;overflow:auto}#map-trip>strong{display:block;font-size:15px;line-height:1.3;margin:6px 0}.trip-metrics{font-size:12px;color:var(--secondary)}#map-trip .actions{margin-top:9px}#map-trip button{min-height:36px}#station-detail{position:absolute;z-index:1100;bottom:40px;left:10px;right:10px;max-height:65%;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 5px 30px #13284a35}#station-detail .surface{margin:0;border:0;box-shadow:none;padding:18px}#station-detail h2{padding-right:32px;font-size:18px;margin:0 0 8px}#station-detail p{margin:8px 0}.close-detail{float:right;min-height:32px;width:32px;padding:0;font-size:22px;border:0;background:#f1f5fd}
.guest nav,.guest #settings-shortcut,.guest #locate{display:none}.guest main{width:100%;max-width:520px;margin:auto;padding:20px}.guest #login-panel h2{font-size:24px}.guest .surface{margin-top:24px}#save-profile{margin-top:12px}.check{display:flex;align-items:center;gap:10px}.check input{width:22px;height:22px;min-height:0;margin:0}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 18px}#admin-stations{max-height:360px;overflow:auto}#admin-stations button{width:100%;display:block;text-align:left;margin:8px 0;overflow-wrap:anywhere}#server-status p{margin:8px 0}#users .actions{margin-bottom:18px}
@media(min-width:800px){#map-trip,#station-detail{left:24px;right:auto;width:360px}.map-plan{left:24px;right:auto;width:360px}.map-tools{left:400px;right:24px;top:12px;justify-content:flex-end}.map-tools select{flex:none}#route-status{top:62px;right:24px}.admin-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#admin-panel{max-width:1200px}nav{justify-content:center}nav button{max-width:120px}.leaflet-control-zoom{margin-top:90px!important}#plan-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 18px;align-items:start}#plan-submit{grid-column:1 / -1}}
@media(max-width:350px){header{padding:8px 10px}header strong{font-size:20px}header small{font-size:10px}.header-actions button{padding:6px;font-size:10px}#plan-panel,#saved-panel,#settings-panel,#admin-panel{padding-left:12px;padding-right:12px}.surface{padding:15px}.metrics strong{font-size:13px}.map-tools{gap:4px}.map-tools #google-map{display:none}}
@media(max-height:500px){header{padding-top:6px;padding-bottom:6px}header small{display:none}#notice{max-height:38px;padding:4px 12px}nav button{flex-direction:row;justify-content:center;min-height:32px}nav svg{width:16px;height:16px}nav{padding:3px}.map-plan{min-height:40px;top:6px;padding:7px 12px}.map-tools{top:52px}.leaflet-control-zoom{margin-top:92px!important}#map-trip{max-height:42%;bottom:25px;padding:10px}#map-trip .actions{display:none}#map-trip .eyebrow{display:none}#map-status{bottom:12px}#station-detail{max-height:80%;bottom:22px}#route-status{top:96px;font-size:9px}}

.route-pin{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#17243c;color:#fff;border:3px solid #fff;font:700 12px system-ui;box-shadow:0 2px 7px #142e6340}.charge-pin{background:#2563eb}

/* Trip input and itinerary keep their travel order on every screen. */
#plan-form{display:block;max-width:680px;margin:0 auto}.itinerary-end{border-left:0}.itinerary-start .stop-number,.itinerary-end .stop-number{background:#17243c}.stop small{margin:6px 0}#plan-result,#saved-plan{max-width:680px;margin:auto}

.station-cluster{display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;border:4px solid #bfdbfe;border-radius:50%;font:700 12px system-ui;box-shadow:0 2px 8px #142e6330}#station-detail .surface>button:not(.close-detail){display:block;width:100%;text-align:left;margin:8px 0}

.plan-warning{padding:12px 14px;border:1px solid #edc57a;border-radius:12px;background:#fff6e4;color:#754509}.requires-check .stop-number{background:#925706}.requires-check>small{color:#754509}

.via-place{border-left:3px solid #2563eb;padding:12px;margin:12px 0;background:#f5f8ff}.route-choices{display:grid;gap:8px;margin-bottom:18px}.route-choices button{text-align:left}.route-choices .selected{border:2px solid #2563eb;background:#eef4ff}.stop-alternatives{margin:12px 0}.stop-alternatives summary{cursor:pointer;color:#174cbf}#planning-progress{margin-top:18px}#journey-progress{border:2px solid #2563eb;margin:18px 0}#journey-progress button{margin-top:10px}#plan-result{scroll-margin-top:20px}

.tariff{padding:12px 0;border-top:1px solid #e1e7ef}.tariff small{display:block}.station-prices h3{margin-top:18px}

body.guiding #map-plan,body.guiding .map-tools,body.guiding #map-trip,body.guiding #route-status,body.guiding #map-status{display:none!important}body.guiding #journey-progress{position:absolute;z-index:1050;bottom:14px;left:12px;right:12px;margin:0;border:0;max-height:52%;overflow:auto;padding:16px;box-shadow:0 5px 30px #18283c33}#journey-progress h3{margin:6px 0;font-size:20px}.charge-target{display:block;font-size:30px;color:#2157d9;margin:8px 0}.guidance-direction{font-size:18px;font-weight:600;margin:8px 0}.guidance-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.guidance-actions button{font-size:12px;padding:9px}#journey-progress input{padding:10px}#journey-progress details{margin-top:10px}#journey-progress small{display:block}@media(min-width:800px){body.guiding #journey-progress{right:auto;width:380px;max-height:75%}}

.next-charge-distance{display:block;color:#2157d9;font-size:18px;margin:8px 0;font-weight:700}

header{justify-content:flex-start;padding:9px 18px;gap:10px}.brand-icon{height:36px;width:36px;border-radius:10px}header strong{font-size:24px}#trip-settings{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}#trip-settings summary{font-weight:650;cursor:pointer}.return-option{padding:12px;background:#eaf6f6;border-radius:12px;margin-top:14px}.provider-pin{border:2px solid white;border-radius:50%;background:#64748b;color:#fff;text-align:center;line-height:26px;font-size:12px;font-weight:800;box-shadow:0 2px 8px #17243c44;position:absolute;box-sizing:border-box}.source-O{background:#8b3fc6!important}.source-A{background:#2563eb!important}.source-OA{background:linear-gradient(90deg,#8b3fc6 50%,#2563eb 50%)!important}.provider-pin i{position:absolute;width:10px;height:10px;right:-2px;bottom:-2px;border:2px solid white;border-radius:50%;background:#94a3b8}.provider-pin .state-available{background:#12a466}.provider-pin .state-occupied,.provider-pin .state-reserved{background:#f59e0b}.provider-pin .state-out_of_service,.provider-pin .state-unavailable{background:#dc3545}.charge-pin{height:36px!important;line-height:18px}.charge-pin small{color:white;font-size:8px;line-height:10px}#plan-submit{position:static!important;margin:16px 0 24px;width:100%}#plan-form{padding-bottom:12px}#plan-panel .page-heading p{display:none}.map-tools{gap:6px}.map-tools button{font-size:12px}

.source-legend{position:absolute;z-index:800;bottom:25px;left:8px;display:flex;gap:10px;background:#ffffffe8;padding:3px 8px;border-radius:8px;font-size:10px}body.guiding .source-legend{display:none}#map-status:empty{display:none}

/* Route stop number and provider occupy separate rows. */
.charge-pin{flex-direction:column;width:36px!important;height:40px!important;border-radius:18px;font-size:14px;line-height:17px}.charge-pin small{display:block;font-size:9px;line-height:11px}

.desktop-map{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;margin:0;background:white}.desktop-map iframe{width:100%;height:100%;border:0}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-heading h3{margin:0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:18px 0}.stat-card{padding:16px;background:#f3f7ff;border-radius:14px}.stat-card strong{display:block;font-size:28px}.audit-filters{display:flex;gap:18px;flex-wrap:wrap}.audit-filters label{flex:1;min-width:160px}.audit-table{overflow:auto;max-height:550px;border:1px solid var(--line);border-radius:12px}.audit-table table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.audit-table th{position:sticky;top:0;background:#edf3ff;z-index:1}.audit-table td,.audit-table th{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.audit-table td:nth-child(5){min-width:250px;overflow-wrap:anywhere}.user-card{border-bottom:1px solid var(--line);padding:18px 0}.user-state{display:block;color:var(--secondary);font-size:12px;margin-top:5px}
@media(min-width:1100px){body:not(.guest){padding-left:104px}body:not(.guest) nav{position:fixed;left:0;top:0;bottom:0;width:104px;border-top:0;border-right:1px solid var(--line);flex-direction:column;justify-content:flex-start;align-items:stretch;gap:14px;padding:105px 10px 20px}body:not(.guest) nav button{flex:none;max-width:none;min-height:68px;gap:8px;font-size:12px}nav svg{width:24px;height:24px}header{padding:14px 24px}.brand-icon{height:42px;width:42px}#notice{padding-left:24px}#map-trip{width:390px;padding:22px}#station-detail{width:400px}#plan-panel,#saved-panel,#settings-panel{max-width:1120px;padding:20px 30px}#plan-panel{display:grid;grid-template-columns:minmax(380px,1fr) minmax(320px,1fr);gap:0 26px}#plan-panel .page-heading{grid-column:1/-1}#plan-form{width:100%;margin:0}#planning-progress,#plan-result{grid-column:2;grid-row:2;align-self:start;width:100%}#planning-progress:not([hidden])~#plan-result{margin-top:150px}#plan-result{position:sticky;top:16px}#saved-plan{max-width:900px}#admin-panel{padding:24px 30px;max-width:1500px}.audit-table table{font-size:14px}}

.admin-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:22px 0}.admin-menu button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:22px;min-height:110px;background:white;box-shadow:0 2px 8px #16355c08}.admin-menu button strong{font-size:19px}.admin-menu button span{font-size:14px;color:var(--secondary);margin-top:8px;line-height:1.5}.admin-page-heading{display:flex;align-items:center;gap:16px;margin-bottom:22px}.admin-page{width:100%}.admin-page[hidden]{display:none!important}.audit-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px 0}textarea{width:100%;min-height:180px;font:14px monospace;padding:14px;border:1px solid var(--line);border-radius:12px;resize:vertical}#obd-card .actions{margin:14px 0;flex-wrap:wrap}#obd-values .stat-card strong{font-size:21px}input[readonly]{background:#edf6ff;color:#2454a0}@media(max-width:600px){.admin-menu{grid-template-columns:1fr 1fr;gap:10px}.admin-menu button{padding:16px;min-width:0}.admin-menu button strong{font-size:16px}.admin-menu button span{font-size:12px}.admin-page-heading{flex-wrap:wrap}.audit-pagination{gap:8px}.audit-pagination button{padding:12px 10px}.audit-table{max-height:55vh}}

.obd-settings{grid-column:1/-1;border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.obd-settings h3{font-size:16px}.obd-settings p{font-size:13px}.obd-settings details summary{cursor:pointer;padding:12px 0}#admin-obd-profiles,#admin-obd-adapters{max-height:55vh;overflow:auto;contain:content}#obd-values{min-height:100px}#obd-status{min-height:24px}#obd-controls{max-width:650px}input:disabled,select:disabled,button:disabled{opacity:.55}

.source-T{background:#dc2626!important}#tesla-route-choice{max-width:440px;width:calc(100% - 40px);border:0;border-radius:20px;padding:24px;color:var(--ink);box-sizing:border-box}#tesla-route-choice::backdrop{background:#17243c88}#tesla-route-choice .actions{display:grid;gap:10px}

.leaflet-marker-icon.provider-pin{position:absolute;box-sizing:border-box}.leaflet-marker-icon.route-pin,.leaflet-marker-icon.station-cluster{box-sizing:border-box}.station-cluster{background:#475569;border-color:#cbd5e1}#source-filter{min-width:120px;max-width:210px}.map-tools select{flex:1 1 135px}
@media(max-width:799px){.map-tools{left:62px}}

.dataset-card form{margin-bottom:16px}.dataset-state{font-weight:600;color:#2563eb}.dataset-card h3{margin-top:0}

.device-dialog{max-width:600px;width:calc(100% - 32px);max-height:80vh;overflow:auto;border:0;border-radius:20px;padding:24px}.device-dialog::backdrop{background:#14243c88}.device-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e3e9f1}.device-row input{width:22px;flex-shrink:0}.device-row span{flex:1}.device-dialog>button{margin:12px 6px 0 0}

.ai-review:not(:empty),.ai-proposal{margin-top:1rem;padding:1rem;border:1px solid #cbd5e1;border-radius:18px}.ai-proposal{background:#eff6ff}#ai-prompt{width:100%;min-height:180px}#travel-options{margin:1rem 0}#travel-options select{width:100%}

.diagnostic-output{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;max-height:24rem;overflow:auto;user-select:text}.audit-table details{min-width:15rem;margin-top:.5rem}.audit-table summary{cursor:pointer;font-weight:600}
.charging-connector{padding:12px;margin:10px 0;border:1px solid #dae3ee;border-radius:12px;background:#f7faff}.charging-free{color:#087c55;font-weight:700}

/* VoltTour 0.4 */
.brand-word{display:flex;letter-spacing:-.065em;font-weight:800;font-size:clamp(28px,3vw,38px);color:#15283d}.brand-word span{padding:0;background:transparent;border-radius:0;font-size:inherit;color:inherit}.brand-word .brand-tour{color:#078e97}.admin-sections{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;position:sticky;top:0;z-index:5;background:#f5f8fc;padding:8px 0}.admin-sections button{font-size:14px;padding:10px 14px}.admin-sections button.active{background:#142c49;color:white}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.dashboard-grid .surface{margin:0}.dashboard-grid strong{font-size:30px;display:block}.directory-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.table-scroll{overflow:auto}.table-scroll table{width:100%;border-collapse:collapse;font-size:14px}.table-scroll th,.table-scroll td{padding:12px;text-align:left;white-space:nowrap;border-bottom:1px solid #e0e8f0}.table-scroll th{background:#f0f5fa}.table-scroll td:first-child{font-weight:600}.device-dialog{max-height:88vh;overflow:auto;width:min(650px,92vw);box-sizing:border-box}.google-login{max-width:460px;margin:auto}#ad-banner{position:relative;flex-shrink:0;margin:6px auto;padding:8px 16px;background:#edf5f8;border-radius:12px;max-height:96px;overflow:hidden;font-size:14px;width:min(95%,700px)}#ad-banner small{display:block;color:#63758a}#ad-banner a{color:#173951;text-decoration:none}body.guest #ad-banner,body.guiding #ad-banner{display:none}#access-form{max-width:840px}@media(max-width:650px){.directory-filters{grid-template-columns:1fr 1fr}.directory-filters label:first-child{grid-column:span 2}.dashboard-grid{grid-template-columns:1fr 1fr}.admin-sections{position:relative}.admin-sections button{flex:1 0 28%;font-size:12px;padding:10px 5px}.dashboard-grid strong{font-size:26px}}
.road-country-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;max-height:300px;overflow:auto;padding:12px;border:1px solid #dbe3ed;border-radius:12px}.road-log{white-space:pre-wrap;overflow:auto;max-height:320px;word-break:break-word;background:#101b2d;color:#e6eef9;padding:12px;border-radius:12px}#road-pool-panel>.surface{margin-bottom:16px}

.route-alternative-pin{width:22px;height:22px;border:2px solid white;border-radius:50%;color:white;padding:0;box-shadow:0 1px 4px #0005}
#route-status span{font-weight:600}

/* VoltTour 0.6: map-first cards, original logo and accessible existing controls. */
:root{--bg:#f5f8fc;--text:#142341;--secondary:#62738d;--line:#e0e8f2;--accent:#0868ed;--teal:#08969d;--card:#fff}
body{font-size:14px;line-height:1.5}header{padding:10px 18px;border-bottom:1px solid #edf1f6;min-height:64px;gap:11px;z-index:1200}.brand-icon{width:38px;height:38px;border-radius:12px}header .brand-word{font-size:28px;font-weight:800;letter-spacing:-1.3px}header .brand-word span{background:none;padding:0;color:var(--text)}header .brand-word .brand-tour{color:var(--teal)}.profile-shortcut{margin-left:auto;padding:8px;width:40px;height:40px;min-height:40px;border-radius:50%;background:#eaf2ff;color:#225b9f}.profile-shortcut svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.guest .profile-shortcut{display:none}
#notice{font-size:11px;padding:5px 18px;max-height:48px;background:#f8fbff;border-bottom:1px solid #e6edf7}button{border-radius:13px;transition:background .12s,border-color .12s}.primary{background:linear-gradient(120deg,#0876f9,#075de0);box-shadow:0 5px 15px #0969ed22;min-height:48px}.primary:hover{background:#095ac9}input,select{background:#f7faff;border-radius:12px;min-height:48px}.surface{border-radius:20px;border-color:#e1e9f2;box-shadow:0 6px 24px #142e6308}.page-heading h2{font-size:28px}.page-heading{padding-top:20px}.eyebrow{font-size:10px;letter-spacing:1.1px;color:var(--teal)}nav{padding-top:6px;box-shadow:0 -3px 20px #142e6306}nav button{border-radius:10px;min-height:48px;position:relative;background:transparent;color:#67758f}nav .active{background:transparent;color:var(--accent)}nav .active:after{content:'';height:3px;width:32px;border-radius:4px;background:var(--accent);position:absolute;bottom:0}nav svg{width:23px;height:23px}
.map-plan{top:12px;left:14px;right:76px;min-height:48px;border-radius:16px;padding:10px 15px;font-weight:650;box-shadow:0 3px 16px #17243c18}.map-locate{position:absolute;right:14px;top:12px;width:48px;height:48px;padding:0;font-size:30px;background:#fff;z-index:1000;border-radius:15px;box-shadow:0 3px 16px #17243c18}
.map-options{position:absolute;z-index:1010;top:70px;left:14px;right:14px;pointer-events:none}.map-options summary{pointer-events:auto;cursor:pointer;display:block;margin-left:auto;width:max-content;padding:9px 13px;border:1px solid #e1e9f2;border-radius:12px;background:#fff;box-shadow:0 3px 12px #17243c15;font-size:12px;font-weight:650}.map-options summary:after{content:' ⌄';color:var(--accent)}.map-options[open] summary:after{content:' ⌃'}.map-tools{position:static;pointer-events:auto;margin-top:8px;padding:10px;border:1px solid #e0e8f2;border-radius:16px;background:#fffffffa;box-shadow:0 6px 24px #17243c18;gap:8px}.map-tools>*{font-size:12px;min-height:40px;box-shadow:none}.map-tools select{max-width:none;flex:1 1 140px}.map-tools button{flex:1 1 110px}.leaflet-control-zoom{margin-top:76px!important;margin-left:14px!important;border:0!important;box-shadow:0 3px 12px #17243c22!important;border-radius:12px!important;overflow:hidden}.leaflet-control-zoom a{width:40px!important;height:38px!important;line-height:38px!important}.leaflet-control-attribution{font-size:8px!important}
#map-trip,#station-detail{left:0;right:0;bottom:0;max-height:52%;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -5px 26px #17243c20;overflow:auto;overscroll-behavior:contain;border:1px solid #e7edf4;border-bottom:0;padding:0 18px 14px}#map-trip{z-index:900}#station-detail{z-index:1100;max-height:56%;padding:0}#station-detail .surface{padding:0 18px 18px;border-radius:24px 24px 0 0}#map-trip.sheet-expanded,#station-detail.sheet-expanded{max-height:85%}.sheet-handle{display:block;width:100%;height:26px;min-height:26px;padding:0;border:0;background:transparent;font-size:0;position:relative;touch-action:none;margin:0!important}.sheet-handle:before{content:'';width:46px;height:5px;border-radius:6px;background:#cdd4df;position:absolute;left:50%;top:10px;transform:translateX(-50%)}.sheet-handle:hover{background:transparent}.sheet-handle:focus-visible{outline-offset:-3px}#map-trip h2{font-size:20px;line-height:1.25;letter-spacing:-.6px;margin:5px 0 12px}#map-trip>strong{font-size:17px}.trip-vehicle{width:100%;display:block;text-align:left;font-size:12px;min-height:39px;padding:9px 12px;color:#223955;background:#f8faff;border-color:#e0eafa}.trip-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.trip-summary>div{border:1px solid #e0eafa;border-radius:12px;padding:9px 5px;text-align:center}.trip-summary strong{font-size:16px;color:#143f81;display:block}.trip-summary small{font-size:10px}.map-route-choices{display:flex;gap:7px;overflow:auto;margin:10px 0}.map-route-choices button{font-size:11px;min-width:140px;flex:1;white-space:normal;padding:8px;min-height:40px}.map-route-choices .selected{background:#eaf3ff;border-color:#0876f9;color:#075de0}.trip-next-stop{display:block;width:100%;text-align:left;font-size:12px;border-left:4px solid #0f9b72;background:#f8fcfb;line-height:1.6;margin:10px 0;min-height:52px}.trip-advanced{display:none}#map-trip.sheet-expanded .trip-advanced{display:block}#map-trip .primary{margin-top:4px;width:100%;font-size:14px}#map-trip .actions{margin-top:8px}#map-trip .actions button{min-height:38px;font-size:11px}.close-detail{float:right;background:#edf3fa;margin-top:2px}.station-title{font-size:23px!important;line-height:1.2;padding-top:3px}#station-detail .connector{display:inline-block;width:calc(50% - 5px);vertical-align:top;min-height:76px;padding:12px;border:1px solid #deebf7;background:#f3f8ff;border-radius:14px;font-weight:600;line-height:1.6;margin:10px 5px 6px 0;font-size:12px}#station-detail .connector-available{background:#ecfaf4;border-color:#bfe8d7;color:#087750}#station-detail .connector-occupied,#station-detail .connector-reserved{background:#fff8ec;border-color:#f3ddb4;color:#885c13}#station-detail .connector-out_of_service,#station-detail .connector-unavailable{background:#fff1f1;color:#9b3535}#station-detail .source{font-size:10px}#station-detail .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#station-detail .actions .primary{grid-column:1/-1;grid-row:1;font-size:14px}.tariff{border-radius:10px}.charging-connector{background:#f8fafc}
#map-status{bottom:5px;left:auto;right:5px;max-width:160px;font-size:8px;z-index:850}#route-status{top:120px;right:14px;max-width:245px}.source-legend{left:14px;bottom:20px;z-index:700;font-size:9px}.metrics{border:0;gap:8px;padding:0}.metrics>div{padding:11px 7px;border-radius:12px;background:#f4f8ff;border:1px solid #e1ebfb}.metrics strong{font-size:15px}.stop{padding-bottom:23px}.stop>strong:not(.next-charge-distance){font-size:16px}.stop button{margin:7px 5px 0 0;min-height:40px;font-size:11px}.next-charge-distance{font-size:15px}.route-choices{gap:7px}.route-choices button{font-size:12px}#plan-result>.surface>button{margin:5px 5px 0 0;font-size:12px}#independent-submit{width:100%;border-color:#8db7ec;color:#154984;background:#f3f8ff;min-height:48px}.admin-sections{gap:7px}.admin-sections button{font-size:12px}.audit-table{background:white}
body.guiding #map-locate,body.guiding .map-options{display:none!important}body.guiding #journey-progress{border-radius:22px 22px 0 0;left:0;right:0;bottom:0;padding:18px;max-height:50%;box-shadow:0 -4px 24px #17243c22}.guest #login-panel h2{font-size:28px}.guest .surface{box-shadow:0 12px 40px #17243c0d}
@media(min-width:800px){.map-plan{left:24px;right:auto;width:390px}.map-locate{right:24px}.map-options{left:auto;right:84px;top:16px;width:360px}.map-tools{justify-content:flex-end}.map-options summary{margin-left:auto}.leaflet-control-zoom{margin-top:80px!important}#map-trip,#station-detail{left:24px;right:auto;bottom:24px;width:390px;max-height:calc(100% - 104px);border-radius:22px;padding-bottom:18px;border-bottom:1px solid #e7edf4}#station-detail{width:420px}#station-detail .surface{border-radius:22px}#map-trip.sheet-expanded,#station-detail.sheet-expanded{max-height:calc(100% - 104px)}#route-status{top:74px;right:24px}body.guiding #journey-progress{left:24px;right:auto;bottom:24px;border-radius:22px;width:400px;max-height:75%}.trip-advanced{display:block}}
@media(min-width:1100px){body:not(.guest) nav{width:96px;padding-top:95px;gap:10px}body:not(.guest){padding-left:96px}body:not(.guest) nav .active{background:#edf4ff}body:not(.guest) nav .active:after{bottom:6px}header{padding:12px 24px}#plan-panel{padding-top:12px}.profile-shortcut{margin-right:4px}#map-trip h2{font-size:22px}}
@media(max-height:540px){header{min-height:48px;padding:5px 14px}.brand-icon{width:30px;height:30px}header .brand-word{font-size:24px}.map-options{top:58px}.map-plan,.map-locate{top:7px;min-height:42px;height:42px}.leaflet-control-zoom{margin-top:62px!important}#map-trip,#station-detail{max-height:55%;}#map-trip.sheet-expanded,#station-detail.sheet-expanded{max-height:86%}.trip-summary{margin:6px 0}.trip-summary>div{padding:5px}nav button{min-height:34px}#route-status{top:100px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
#map-trip h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.trip-vehicle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trip-next-stop{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:799px) and (min-height:541px){#map-trip{max-height:64%}}
/* ABRP-inspired route sheet: map first, clear trip choices, compact charging cards. */
#map-trip{max-height:58%;padding:0 16px 14px;border-radius:24px 24px 0 0}
#map-trip h2{font-size:21px;line-height:1.22;letter-spacing:-.55px;color:#10254d;margin:3px 0 10px}
#map-trip .eyebrow{font-size:9px;letter-spacing:1.1px;margin:1px 0 3px}
.trip-vehicle{display:flex;align-items:center;gap:10px;min-height:46px;padding:7px 12px;border-radius:13px;background:#fff;border-color:#dce7f5;color:#10254d;font-size:13px}
.trip-vehicle-icon{font-size:22px;line-height:1}
.trip-vehicle-copy{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.trip-vehicle-chevron{font-size:25px;color:#3268b9;line-height:1}
.trip-summary{gap:7px;margin:8px 0 9px}
.trip-summary>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:7px;padding:8px 7px;border-radius:12px;background:#fff;border-color:#dce7f5;text-align:left}
.trip-metric-icon{grid-row:1/3;font-size:20px;color:#0876e8}
.trip-summary strong{font-size:15px;color:#10254d;line-height:1.2}
.trip-summary small{font-size:10px;line-height:1.3}
.map-route-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}
.map-route-choices button{position:relative;display:grid;grid-template-columns:23px 1fr;grid-template-rows:auto auto;align-items:center;min-width:0;min-height:50px;padding:7px 9px;text-align:left;border-radius:12px;border:1px solid #dce7f5;background:#fff;color:#17243c;font-size:12px;white-space:normal}
.map-route-choices .selected{background:#0876e8;border-color:#0876e8;color:white}
.route-choice-icon{grid-row:1/3;font-size:19px;color:#0876e8}
.map-route-choices .selected .route-choice-icon{color:white}
.route-choice-title{font-weight:700;line-height:1.2}
.route-choice-meta{font-size:10px;color:var(--secondary);line-height:1.2}
.map-route-choices .selected .route-choice-meta{color:#eaf3ff}
.trip-stop-list{display:grid;gap:6px;margin:8px 0}
.trip-stop-list>.eyebrow{margin:2px 0 0;font-size:9px}
.trip-next-stop{display:grid;grid-template-columns:27px 26px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-height:65px;margin:0;padding:8px 9px;border:1px solid #dce8f0;border-left:1px solid #dce8f0;border-radius:13px;background:#f8fcfb;text-align:left;line-height:1.3}
.trip-stop-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#079c69;color:white;font-weight:800}
.trip-stop-provider{display:grid;place-items:center;width:24px;height:24px;border:1px solid #c9deec;border-radius:8px;background:white;color:#0876e8;font-size:9px;font-weight:800}
.trip-stop-copy{display:grid;gap:2px;min-width:0}
.trip-stop-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#10254d;font-size:12px}
.trip-stop-copy small{font-size:10px;line-height:1.2}
.trip-stop-time{font-size:10px;font-weight:700;color:#0876e8;white-space:nowrap}
#map-trip .trip-start{min-height:44px;border-radius:12px;background:linear-gradient(100deg,#0876e8,#1262dc);font-size:14px}
#map-trip .trip-start:before{content:'➤';margin-right:9px}
#map-trip .trip-secondary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}
#map-trip .trip-secondary>button{min-height:38px;padding:7px 8px;border-radius:11px;border-color:#8bb8fa;color:#075acb;background:white;font-size:11px}
#map-trip .trip-secondary>.ai-review{display:contents}
#map-trip .trip-secondary>.ai-review>button{min-height:38px;padding:7px 8px;border-radius:11px;border:1px solid #8bb8fa;color:#075acb;background:#f5f9ff;font-size:11px}
#map-trip .trip-advanced{display:block;margin-top:9px;padding-top:8px;border-top:1px solid #e7edf4}
.station-title-row{display:flex;align-items:flex-start;gap:8px}
.station-title-row .station-title{flex:1;min-width:0;margin:0!important;padding:4px 0 0!important}
.station-favorite{flex:0 0 38px;width:38px;min-height:38px;padding:0;border:0;background:transparent;color:#18345d;font-size:26px;line-height:1}
.station-network{color:#5f7190;font-size:13px;margin:0 0 6px}
.station-status-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.live-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#f1f5f9;color:#506078;font-size:12px;font-weight:700}
.live-pill:before{content:'';width:8px;height:8px;border-radius:50%;background:#94a3b8}
.live-available{background:#e8f8f1;color:#08764e}.live-available:before{background:#12a66a}
.live-occupied,.live-reserved{background:#fff5e5;color:#925b06}.live-occupied:before,.live-reserved:before{background:#e99b1b}
.live-out_of_service,.live-unavailable{background:#fff0f0;color:#a33434}.live-out_of_service:before,.live-unavailable:before{background:#df4e4e}
.connector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#station-detail .connector-card{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:repeat(4,auto);align-items:center;column-gap:7px;min-width:0;min-height:75px;padding:9px 8px;margin:4px 0;border:1px solid #dce9f5;border-radius:13px;background:#f4f8ff;color:#10254d;font-size:12px;line-height:1.25}
.connector-symbol{grid-row:1/5;display:grid;place-items:center;width:31px;height:31px;border:1px solid #cbdbea;border-radius:50%;background:white;font-size:17px}
#station-detail .connector-card strong{font-size:12px}
#station-detail .connector-card b{font-size:12px}
#station-detail .connector-card small{font-size:9px}
#station-detail .connector-card.connector-available{background:#effaf5;border-color:#bde8d5}
#station-detail .connector-card.connector-occupied,#station-detail .connector-card.connector-reserved{background:#fff8ec;border-color:#f3ddb4}
#station-detail .connector-card.connector-out_of_service,#station-detail .connector-card.connector-unavailable{background:#fff1f1;border-color:#f2cccc}
.station-price-row{display:flex;align-items:center;gap:8px;margin:8px 0;padding:7px 2px;border-bottom:1px solid #e7edf4}
.station-price-value{flex:1;color:#10254d;font-size:13px;font-weight:700}
.station-price-row>small{font-size:9px;text-align:right}
.station-price-row>.station-refresh{min-height:30px;width:auto;padding:4px 7px;border:0;background:transparent;color:#2764c8;font-size:10px}
.station-route-context{display:grid;gap:3px;margin:8px 0;padding:10px;border:1px solid #dce9f5;border-radius:12px;background:#f8fbff;color:#1a335a;font-size:11px}
.station-route-context strong{font-size:12px}
#station-detail .actions{grid-template-columns:1fr 1fr}
#station-detail .actions .primary{grid-column:1/-1}
@media(max-width:799px){#map-trip{max-height:58%;}.trip-secondary{padding-bottom:2px}.station-title{font-size:22px!important}}
@media(max-width:370px){#map-trip{padding-left:12px;padding-right:12px}.trip-summary{gap:5px}.trip-summary>div{column-gap:4px;padding:7px 4px}.trip-summary strong{font-size:13px}.trip-stop-copy strong{font-size:11px}.map-route-choices button{padding:6px}.connector-grid{gap:5px}#station-detail .connector-card{grid-template-columns:29px 1fr;column-gap:5px;padding:7px 5px}.connector-symbol{width:27px;height:27px}}
@media(min-width:800px){#map-trip{max-height:calc(100% - 104px);padding:0 18px 16px}.trip-advanced{display:block}}

/* 0.6.5: map-first header, true full-route view, continuously draggable sheets. */
body[data-panel="map"] header{position:absolute;z-index:1300;top:0;left:0;right:0;min-height:0;gap:8px;padding: max(4px,env(safe-area-inset-top)) 14px 5px;border:0;background:linear-gradient(180deg,#ffffffef 0%,#ffffffc9 72%,#ffffff00 100%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);pointer-events:none}
body[data-panel="map"] header>*{pointer-events:auto}
body[data-panel="map"] header .brand-icon{width:32px;height:32px;border-radius:10px}
body[data-panel="map"] header .brand-word{font-size:24px;line-height:1}
body[data-panel="map"] .profile-shortcut{width:34px;height:34px;min-height:34px;padding:6px;background:#ffffffdc;border-color:#d9e3ef}
body[data-panel="map"] #notice{position:absolute;z-index:1250;top:calc(42px + env(safe-area-inset-top));left:10px;right:10px;width:auto;max-height:54px;min-height:0;padding:4px 10px;border:1px solid #dce5f0;border-radius:11px;background:#ffffffdd;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 10px #17243c12;font-size:10px}
body[data-panel="map"] #notice:not(.error){display:none}
body[data-panel="map"] .map-plan{top:calc(70px + env(safe-area-inset-top));left:12px;right:74px;min-height:43px;padding:8px 12px;border-radius:13px;background:#fffffff0;backdrop-filter:blur(8px);font-size:12px}
body[data-panel="map"] .map-locate{top:calc(70px + env(safe-area-inset-top));right:12px;width:43px;height:43px;min-height:43px;border-radius:13px;background:#fffffff0}
body[data-panel="map"] .map-options{top:calc(122px + env(safe-area-inset-top));left:12px;right:12px}
body[data-panel="map"] .leaflet-control-zoom{margin-top:calc(124px + env(safe-area-inset-top))!important}
body[data-panel="map"] #route-status{top:calc(122px + env(safe-area-inset-top));max-height:70px;overflow:auto}
#map-trip,#station-detail{height:44dvh;min-height:128px;max-height:calc(100dvh - 132px);transition:height .12s ease-out}
#map-trip.sheet-expanded,#station-detail.sheet-expanded{height:min(82dvh,calc(100dvh - 132px));max-height:calc(100dvh - 132px)}
#map-trip.sheet-dragging,#station-detail.sheet-dragging{transition:none;user-select:none}
.sheet-handle{touch-action:none;cursor:ns-resize;user-select:none;-webkit-user-select:none}
.map-route-choices{grid-template-columns:1fr 1fr;max-height:none;overscroll-behavior:contain}
#map-route-choices-title{margin-top:8px}
body[data-panel="map"] #map-trip{bottom:0}
@media(min-width:800px){#map-trip,#station-detail{height:min(62vh,650px);max-height:calc(100dvh - 130px)}#map-trip.sheet-expanded,#station-detail.sheet-expanded{height:min(86vh,calc(100dvh - 130px));max-height:calc(100dvh - 130px)}body[data-panel="map"] header{padding:8px 16px 5px}body[data-panel="map"] #notice{top:48px}body[data-panel="map"] .map-plan,body[data-panel="map"] .map-locate{top:64px}body[data-panel="map"] .map-options{top:116px}body[data-panel="map"] #route-status{top:116px}}
@media(prefers-reduced-motion:reduce){#map-trip,#station-detail{transition:none}}

body[data-panel="map"].has-map-notice .map-plan,body[data-panel="map"].has-map-notice .map-locate{top:calc(112px + env(safe-area-inset-top))}
body[data-panel="map"].has-map-notice .map-options,body[data-panel="map"].has-map-notice #route-status{top:calc(164px + env(safe-area-inset-top))}

/* Country management occupies the whole admin page, without a nested scroll. */
.road-country-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));max-height:none;overflow:visible;padding:0;border:0;gap:16px}
.road-country-card{min-width:0;margin:0;padding:20px!important}.road-country-card[hidden]{display:none!important}
.road-country-card p{font-size:14px;overflow-wrap:anywhere}.road-country-card button{font-size:14px;padding:10px 14px;min-height:44px}.road-country-card label{font-weight:600}.road-country-card select{margin-top:10px}
.road-country-tools{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:20px 0}.road-country-tools input,.road-country-tools select{margin:0;width:100%}
.road-country-actions{position:sticky;top:0;z-index:5;background:#f7faff;padding:16px 0;display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line)}
.road-country-pending{color:#8a5a12;background:#fff4d8;padding:12px;border-radius:10px}
@media(max-width:600px){.road-country-list{grid-template-columns:1fr}.road-country-tools{grid-template-columns:1fr}.road-country-actions{padding:10px 0}.road-country-actions button{width:100%}}

/* Compact map dropdown and fixed sheet controls. */
.map-options .map-tools{display:grid;grid-template-columns:1fr;max-height:min(60dvh,440px);overflow:auto;width:min(310px,calc(100vw - 24px));margin-left:auto}
.map-options .map-tools>*{width:100%;text-align:left;font-size:14px;min-height:44px}
.map-options summary{font-size:14px}.map-options[open] summary{background:#edf5ff}
.sheet-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;background:#fff;border-radius:20px 20px 0 0;min-height:44px}
.sheet-top .sheet-handle{flex:1;height:44px;min-height:44px}.sheet-top .sheet-handle:before{top:19px}
.sheet-top .close-detail,.sheet-top .sheet-close{float:none;flex:none;width:40px;height:40px;min-height:40px;padding:0;margin:2px;font-size:25px;background:#f0f5fa;border:0;border-radius:50%}
body.guiding .map-options{display:block!important}

#map-trip,#station-detail{min-height:64px}

/* Keep legally required map attribution readable without branding prefix. */
.leaflet-control-attribution{font-size:10px!important;background:rgba(255,255,255,.82)!important;max-width:85%;line-height:1.25!important}
.device-dialog{max-width:min(94vw,850px);max-height:88vh;overflow:auto}.device-dialog textarea{width:100%;box-sizing:border-box}
