/* Alternative customer layout, isolated from operator screens. */
body.premium-view{--line:#1d3952;--muted:#8faac0;background:#031120;font-family:Inter,'Segoe UI',sans-serif}
.premium-view main{max-width:1440px;padding:36px 48px 72px}
.premium-view aside{background:#061526;border-color:#173049;width:220px}
.premium-view aside .brand{margin:0 0 42px}
.premium-view aside .nav{border-radius:14px;font-size:14px;min-height:48px;display:flex;align-items:center;gap:10px;margin-bottom:9px}
.premium-view aside .nav.active{background:#0c3048;color:#70d8ff;box-shadow:inset 3px 0 #15bded}
.premium-view #page-eyebrow{display:none}
.premium-view main>header{margin:0 auto 26px;max-width:1060px}
.premium-view #page-title{font-size:clamp(25px,3vw,38px);font-weight:650;letter-spacing:-1px;line-height:1.2;margin:0}
.premium-view #my-charge{display:block;max-width:800px;margin:0 auto 24px}
.premium-view .viewer-status-card{padding:30px;border-radius:28px;border:1px solid #24445e;background:radial-gradient(ellipse at 50% 38%,#103e59 0,transparent 62%),#071b2d;box-shadow:0 20px 70px #0004}
.premium-view .viewer-status-card:after{display:none}
.premium-view .viewer-top{align-items:center;gap:16px;padding-right:48px}
.premium-view .viewer-top .eyebrow{display:none}
.premium-view .viewer-top h2{font-size:20px;letter-spacing:-.4px;margin:0 0 6px;line-height:1.25}
.premium-view .viewer-top p{font-size:13px;margin:0;line-height:1.5}
.premium-view .viewer-status-icon{order:-1;width:46px;height:46px;border-radius:15px;background:#0c4253;color:#4fe0dd}
.premium-view .viewer-status-icon.offline{background:#442838;color:#ff9ba8}
.premium-view #header-route{position:absolute;top:30px;right:26px;width:42px;height:42px;min-width:0;padding:8px;border-radius:50%;background:#123449}
.premium-view .change-station{display:inline-block;margin:18px 0 22px;font-size:13px;text-decoration:none;color:#68d3f7}
.premium-view label[for="viewer-connector-select"]{display:none}
.premium-view #viewer-connector-select{height:48px;border-radius:14px;background:#061726;border:1px solid #28465c;font-weight:600;padding:0 14px}
.premium-view #viewer-data-state{font-size:12px;line-height:1.5;margin:10px 0 0;color:#aac0d1}
.premium-view .viewer-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.premium-view .viewer-metrics>div{padding:16px 18px;border-radius:16px;background:#0d2437;border:1px solid #1d3b52}
.premium-view .viewer-metrics>div:first-child{grid-column:1/-1;width:184px;height:184px;justify-self:center;display:flex;align-items:center;justify-content:center;flex-direction:column;border:5px solid #1baedb;border-right-color:#163e56;border-bottom-color:#163e56;border-radius:50%;background:radial-gradient(circle,#10324c,#071b2d);box-shadow:0 0 0 8px #0c293c,0 0 45px #00a8ef12;margin:8px 0 18px}
.premium-view .viewer-metrics>div:first-child span{order:2;margin:8px 0 0;color:#83b6d0}
.premium-view .viewer-metrics>div:first-child strong{font-size:34px;letter-spacing:-1px;color:#edfaff}
.premium-view .viewer-metrics strong{font-size:25px;font-weight:650;font-variant-numeric:tabular-nums}
.premium-view .viewer-metrics span{font-size:10px;letter-spacing:1px;color:#90b0c7}
.premium-view #charge-goal{margin:0 0 18px;padding:0;border:0;background:none}
.premium-view .goal-buttons{gap:8px}
.premium-view .goal-buttons button{border-radius:12px;background:#0b293e;border-color:#275069;min-height:43px;font-size:12px;color:#c2e0f1;box-shadow:none}
.premium-view .goal-buttons button[aria-pressed="true"]{background:#0c5b7c;border-color:#2dccf4;color:white}
.premium-view #goal-help{font-size:11px;line-height:1.5;color:#7d9db5}
.premium-view .viewer-action{min-height:56px;border-radius:16px;background:linear-gradient(100deg,#009aee,#21d3df);border:0;box-shadow:0 8px 28px #00b6ed22;font-size:16px;font-weight:750}
.premium-view .viewer-action.stop-action{background:#672d42;color:#ffe3e9}
.premium-view .viewer-tariff{border:0;border-top:1px solid #244055;padding:18px 0 0;margin:18px 0 0;background:none;display:flex;flex-direction:row;justify-content:space-between;align-items:center}
.premium-view .viewer-tariff strong{font-size:17px;color:#e1f3ff}
.premium-view .viewer-station{margin-top:14px;gap:12px;color:#819fb5}
.premium-view .station-info-link{display:block;margin-top:18px;font-size:12px;color:#80bfdc;text-decoration:none}
.premium-view .card{border-radius:22px;background:#081c2e;border-color:#1b3b54;box-shadow:none}
.premium-view #my-stations{max-width:1060px;margin:auto}
.premium-view #discovery-tabs{padding:5px;border-radius:16px;background:#081f33;border-color:#244057;width:fit-content;gap:5px}
.premium-view #discovery-tabs button{padding:12px 22px;border-radius:11px;font-size:13px;background:transparent;color:#8eafc7;box-shadow:none}
.premium-view #discovery-tabs button[aria-selected="true"]{background:#124664;color:#ecfaff}
.premium-view #station-discovery{padding:18px;border-radius:24px;background:#071b2c;border-color:#1d3a51}
.premium-view #station-map{height:480px;border-radius:18px;overflow:hidden;border:0}
.premium-view .discovery-station{padding:20px;border:1px solid #203d55;border-radius:20px;background:#0a2237;box-shadow:none}
.premium-view .discovery-station.selected{border-color:#27bfe7;box-shadow:inset 3px 0 #27bfe7}
.premium-view .discovery-station h3{font-size:18px;letter-spacing:-.3px}
.premium-view .discovery-station p{font-size:13px;line-height:1.6;margin:8px 0}
.premium-view .discovery-station .actions button{font-size:13px;min-height:44px;border-radius:12px}
.premium-view #station-guide{max-width:1060px;margin:20px auto;padding:24px}
.premium-view .selected-context{display:none}
.premium-view #my-history{max-width:1060px;margin:auto;padding:28px}
.premium-view #my-history .eyebrow,.premium-view #my-history .badge{display:none}
.premium-view #my-history h2{font-size:20px}
.premium-view .viewer-session-list{display:grid;grid-template-columns:1fr;gap:12px}
.premium-view .viewer-session{border-radius:16px;padding:20px;background:#0c263b;border:1px solid #21415a;box-shadow:none}
.premium-view .viewer-session b{font-size:15px}.premium-view .viewer-session small{font-size:12px;color:#9bb9cd}
.premium-view .viewer-session>strong{font-size:19px;color:#72d8ff}
.premium-view .viewer-empty{padding:64px 20px}.premium-view .viewer-empty strong{font-size:18px;color:#cbe4f3}
.premium-view .viewer-empty small{font-size:13px;color:#91b2c7}
@media(min-width:701px){.premium-view main{margin-left:220px}.premium-view #my-charge{max-width:660px}}
@media(max-width:700px){
 .premium-view aside{width:auto;padding:8px 18px!important;border-bottom:1px solid #18334b;background:#031120}
 .premium-view aside .brand{width:102px;height:46px;margin:0}
 .premium-view main{padding:18px 16px 100px!important}
 .premium-view main>header{margin:0 0 18px!important;padding:0}
 .premium-view #page-title{font-size:24px!important;letter-spacing:-.6px;margin:0!important}
 .premium-view .viewer-status-card{border-radius:24px;padding:20px 18px}
 .premium-view .viewer-top{gap:10px;padding-right:35px}
 .premium-view .viewer-top h2{font-size:17px!important;margin:0 0 5px}
 .premium-view .viewer-top p{font-size:12px;margin:0!important}
 .premium-view .viewer-status-icon{width:36px!important;height:36px!important;border-radius:12px}
 .premium-view .viewer-status-icon .ui-icon{width:23px;height:23px}
 .premium-view #header-route{top:20px;right:16px;width:34px;height:34px;padding:6px}
 .premium-view .change-station{margin:14px 0!important;font-size:12px!important}
 .premium-view .viewer-metrics{margin:18px 0!important;gap:10px!important}
 .premium-view .viewer-metrics>div:first-child{width:142px;height:142px;margin:2px 0 10px;border-width:4px}
 .premium-view .viewer-metrics>div:first-child strong{font-size:29px}
 .premium-view .viewer-metrics>div{padding:13px 15px!important}
 .premium-view .viewer-metrics strong{font-size:22px}
 .premium-view .viewer-tariff{gap:8px;padding-top:16px}.premium-view .viewer-tariff strong{font-size:15px}
 .premium-view .mobile-nav{bottom:12px;left:12px;right:12px;width:auto;padding:8px 6px;border:1px solid #24445c;border-radius:22px;background:#071d30f5;backdrop-filter:blur(16px);box-shadow:0 8px 30px #0008;gap:4px}
 .premium-view .mobile-nav a{min-height:48px;font-size:10px;gap:4px;padding:5px 3px;color:#8fadc3}
 .premium-view .mobile-nav a[aria-current="page"]{background:#10405b!important;color:#65d8ff!important;border:0!important;border-radius:15px!important}
 .premium-view #station-discovery{padding:10px;border-radius:22px}
 .premium-view #station-map{height:46vh;min-height:270px;border-radius:15px}
 .premium-view #discovery-tabs{width:100%;display:flex}.premium-view #discovery-tabs button{flex:1;padding:11px 9px;font-size:12px}
 .premium-view .discovery-station{padding:16px}.premium-view .discovery-station h3{font-size:17px}
 .premium-view #station-guide,.premium-view #my-history{padding:20px 16px}
 .premium-view .viewer-session{padding:17px 14px}
}
@media(prefers-reduced-motion:reduce){.premium-view *{animation:none!important;scroll-behavior:auto!important}}

.premium-view .viewer-top{justify-content:flex-start}.premium-view .viewer-top>div{flex:1}
.premium-view #charge-goal:not(:has([aria-pressed="true"])) #goal-help{display:none}
.premium-view .premium-filters{margin:12px 0;border:1px solid #26445c;border-radius:14px;padding:0 14px;background:#0a2438}
.premium-view .premium-filters summary{padding:13px 0;cursor:pointer;color:#b6d9ef;font-size:13px;font-weight:600}
.premium-view .premium-filters .map-filters{padding:0 0 14px}
.premium-view .map-actions button{min-height:44px;font-size:12px;border-radius:12px}
.premium-view .viewer-metrics>div:first-child{border-color:#218daf;box-shadow:0 0 0 8px #0c293c,0 0 45px #00a8ef12}
@media(max-width:700px){
 .premium-view aside .nav{display:none}
 .premium-view .viewer-metrics{grid-template-columns:132px minmax(0,1fr);align-items:stretch}
 .premium-view .viewer-metrics>div:first-child{grid-column:1;grid-row:1/3;width:120px;height:120px;margin:8px 8px 8px 0;align-self:center}
 .premium-view .viewer-metrics>div:not(:first-child){grid-column:2;padding:11px 13px!important}
 .premium-view .viewer-metrics>div:first-child strong{font-size:20px;max-width:110px;text-align:center;line-height:1.3}
 .premium-view .viewer-metrics>div:first-child span{font-size:9px;letter-spacing:.5px}
 .premium-view .viewer-metrics>div:not(:first-child) strong{font-size:20px}
 .premium-view .viewer-metrics>div:not(:first-child) span{margin-bottom:5px}
}

.premium-view #my-history>.section-head,.premium-view .history-filters>h2,.premium-view .history-filters>p.hint,.premium-view .viewer-empty small{display:none}
.premium-view .history-filters{padding:0;margin:0;border:0;background:none}
.premium-view .history-pagination:has(#history-prev:disabled):has(#history-next:disabled){display:none}
.premium-view .history-filter-grid{grid-template-columns:1fr}

.premium-view .premium-nav-icon{width:23px;height:23px;flex:0 0 23px;display:block}
.premium-view .premium-nav-label{font:inherit!important;line-height:1.2}
.premium-view .premium-station-info{margin-top:22px;padding:18px;border:1px solid #25465e;border-radius:18px;background:#0a2134}
body.premium-view .premium-station-info .viewer-tariff{margin:0;padding:0 0 14px;border:0;border-radius:0;background:none}
body.premium-view .premium-station-info .viewer-station{margin:0;padding-top:14px;border-top:1px solid #203d52;line-height:1.5}
.premium-view .premium-station-info .station-info-link{margin-top:14px}
@media(prefers-reduced-motion:no-preference){
 .premium-view #my-charge,.premium-view #my-history,.premium-view #station-discovery{animation:premium-enter .32s ease-out both}
 .premium-view button,.premium-view a.nav,.premium-view .mobile-nav a{transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
 .premium-view button:active:not(:disabled),.premium-view .mobile-nav a:active{transform:scale(.97)}
 .premium-view .viewer-status-card:has(.viewer-status-icon.charging) .viewer-metrics>div:first-child{animation:premium-energy 2.8s ease-in-out infinite}
}
@keyframes premium-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes premium-energy{0%,100%{box-shadow:0 0 0 8px #0c293c,0 0 18px #00a8ef12}50%{box-shadow:0 0 0 8px #0d3248,0 0 38px #00a8ef30}}
@media(max-width:700px){
 .premium-view .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center}
 .premium-view .mobile-nav .premium-nav-icon{width:22px;height:22px;flex-basis:22px}
 .premium-view .mobile-nav .premium-nav-label{font-size:10px!important}
 .premium-view .premium-station-info{padding:14px;margin-top:18px}
}

/* Tint only the map surface, preserving marker states and provider attribution. */
.premium-view #station-map{background:#071b2d;box-shadow:inset 0 0 0 1px #25465e}
.premium-view #station-map [class*="ymaps-"][class$="-ground-pane"],
.premium-view #station-map .leaflet-tile-pane{filter:grayscale(1) invert(1) sepia(1) saturate(2.2) hue-rotate(163deg) brightness(1.15) contrast(.88)}
.premium-view .leaflet-control-zoom{border:1px solid #365872!important;border-radius:12px!important;overflow:hidden;box-shadow:0 4px 15px #0005!important}
.premium-view .leaflet-control-zoom a{background:#0b2940;color:#a6e8ff;border-color:#284d67;width:36px;height:36px;line-height:36px}
.premium-view .leaflet-control-zoom a:hover{background:#154661;color:white}
.premium-view .leaflet-control-attribution{background:#071b2de8;color:#b2c9d9;padding:3px 6px;border-radius:6px 0 0}
.premium-view .leaflet-control-attribution a{color:#7cdaff}
.premium-view .leaflet-tooltip{background:#0a2940;color:#e3f6ff;border:1px solid #2d6887;border-radius:9px;box-shadow:0 5px 20px #0005}
.premium-view .leaflet-tooltip-top:before{border-top-color:#2d6887}

.premium-view .station-indicator{box-shadow:0 0 0 4px color-mix(in srgb,var(--status-color) 12%,transparent),0 0 18px color-mix(in srgb,var(--status-color) 42%,transparent);border:1px solid color-mix(in srgb,var(--status-color) 70%,white)}
.premium-view #station-map .leaflet-interactive{filter:drop-shadow(0 0 5px #41cfff80)}

/* One instrument: power above the two secondary readings. */
body.premium-view .viewer-metrics{width:248px;height:248px;max-width:100%;margin:26px auto!important;padding:38px 22px 34px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto;gap:18px 8px!important;border:4px solid #218daf;border-radius:50%;background:radial-gradient(circle at 50% 35%,#10324c,#071b2d);box-shadow:0 0 0 7px #0c293c,0 0 24px #00a8ef16}
body.premium-view .viewer-metrics>div:first-child{grid-column:1/-1;grid-row:1;width:auto;height:auto;max-width:100%;margin:0;padding:0!important;align-self:center;justify-self:stretch;background:none;border:0;border-radius:0;box-shadow:none;animation:none!important}
body.premium-view .viewer-metrics>div:first-child strong{font-size:30px;max-width:100%;text-align:center;line-height:1.2;letter-spacing:-.6px}
body.premium-view .viewer-metrics>div:first-child span{font-size:9px;letter-spacing:1.2px;margin:7px 0 0}
body.premium-view .viewer-metrics>div:not(:first-child){grid-column:auto;grid-row:2;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0!important;background:none;border:0;border-radius:0;text-align:center}
body.premium-view .viewer-metrics>div:nth-child(3){border-left:1px solid #285068}
body.premium-view .viewer-metrics>div:not(:first-child) strong{order:0;font-size:13px;font-weight:650;line-height:1.3;letter-spacing:0;overflow-wrap:anywhere}
body.premium-view .viewer-metrics>div:not(:first-child) span{order:1;font-size:9px;text-transform:none;letter-spacing:.2px;margin:5px 0 0;color:#8eb1c8}
@media(prefers-reduced-motion:no-preference){body.premium-view .viewer-status-card:has(.viewer-status-icon.charging) .viewer-metrics{animation:premium-energy 2.8s ease-in-out infinite}}
@media(max-width:700px){body.premium-view .viewer-metrics{width:228px;height:228px;padding:32px 18px 30px;margin:22px auto!important}body.premium-view .viewer-metrics>div:first-child strong{font-size:28px}}

@media(max-width:700px){
 body.premium-view.premium-header-address aside{display:flex;align-items:center;gap:16px;min-height:65px}
 body.premium-view.premium-header-address aside .brand{flex:0 0 102px}
 body.premium-view.premium-header-address aside #page-title{flex:1;min-width:0;font-size:14px!important;line-height:1.4;letter-spacing:0;font-weight:600;margin:0!important;overflow-wrap:anywhere}
 body.premium-view.premium-header-address main>header{display:none}
 body.premium-view.premium-header-address main{padding-top:14px!important}
}

/* Station, connector and price share one compact summary row. */
body.premium-view .premium-station-info{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 16px}
body.premium-view .premium-station-info .viewer-station{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:0;padding:0;margin:0;min-width:0;overflow-wrap:anywhere}
body.premium-view .premium-station-info #viewer-station{font-size:13px;font-weight:600;color:#d8edfa}
body.premium-view .premium-station-info #viewer-connector{font-size:11px;line-height:1.4;color:#91b2c8}
body.premium-view .premium-station-info .viewer-tariff{grid-column:2;grid-row:1;display:block;margin:0;padding:0;border:0;text-align:right}
body.premium-view .premium-station-info .viewer-tariff>span{display:none}
body.premium-view .premium-station-info .viewer-tariff strong{font-size:14px;line-height:1.4}
body.premium-view .premium-station-info .station-info-link{grid-column:1/-1;margin:0}
@media(max-width:380px){body.premium-view .premium-station-info{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.premium-view .premium-station-info .viewer-tariff strong{font-size:12px}}

/* Joined mobile navigation segments share the outer panel silhouette. */
@media(max-width:700px){
 body.premium-view .mobile-nav{padding:0;gap:0;overflow:hidden}
 body.premium-view .mobile-nav a{margin:0;min-height:64px;border-radius:0!important;padding:10px 3px}
 body.premium-view .mobile-nav a[aria-current="page"]{border-radius:0!important}
 body.premium-view .mobile-nav a:focus-visible{outline:2px solid #65d8ff;outline-offset:-3px}
}

html,body{overscroll-behavior-y:none}
body.premium-view [data-view-panel="settings"].card,body.premium-view #my-settings{background:#071b2d;border:1px solid #24445e;border-radius:22px;padding:24px}
body.premium-view [data-view-panel="settings"] input,body.premium-view [data-view-panel="settings"] select{border-radius:12px}

/* Mobile app frame: only the middle pane scrolls, never behind header/navigation. */
@media(max-width:700px){
 body.premium-view{position:fixed;inset:0;width:100%;height:100%;height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
 body.premium-view>aside{position:relative;inset:auto;grid-row:1;min-height:65px;max-height:120px;overflow:hidden}
 body.premium-view>main{grid-row:2;min-height:0;width:100%;max-width:none;margin:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:none;padding:14px 16px!important;scroll-padding-block:14px}
 body.premium-view>.mobile-nav{position:relative;inset:auto;grid-row:3;width:auto;margin:8px 12px 12px;flex-shrink:0}
 body.premium-view #my-charge{margin-bottom:0}
}

/* Compact charging controls with joined goal segments. */
body.premium-view .goal-presets>p{display:none}
body.premium-view .goal-buttons{gap:0;border:1px solid #275069;border-radius:14px;overflow:hidden}
body.premium-view .goal-buttons button{margin:0;border:0;border-radius:0;min-height:44px}
body.premium-view .goal-buttons button+button{border-left:1px solid #275069}
body.premium-view .goal-buttons button:focus-visible{outline:2px solid #65d8ff;outline-offset:-3px}
body.premium-view .change-station{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;margin:10px 0!important;border:1px solid #275069;border-radius:12px;background:#0b293e;color:#9ce8ff;font-weight:600}
body.premium-view .change-station:hover{background:#10405b}
body.premium-view #charge-goal{margin-top:8px!important;margin-bottom:12px!important}
body.premium-view .premium-station-info{margin-top:12px}
@media(max-width:700px){body.premium-view .viewer-status-card{padding:16px}body.premium-view .viewer-metrics{margin:12px 0!important}}

.station-choice-row{display:contents}
body.premium-view .station-choice-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:8px;align-items:stretch;margin:12px 0}
body.premium-view .station-choice-row>label{display:none}
body.premium-view .station-choice-row #viewer-connector-select{grid-column:1;grid-row:1;width:100%;min-width:0;margin:0;min-height:46px;padding:10px;border-radius:12px}
body.premium-view .station-choice-row .change-station{grid-column:2;grid-row:1;margin:0!important;min-width:0;padding:8px;font-size:12px!important;text-align:center;line-height:1.3}
@media(max-width:380px){body.premium-view .station-choice-row{grid-template-columns:minmax(0,1fr) 100px;gap:6px}body.premium-view .station-choice-row #viewer-connector-select{font-size:11px}}

.charge-ring-control{display:none}
body.premium-view #viewer-action{display:none!important}
body.premium-view .viewer-metrics>div:first-child{position:relative}
body.premium-view .charge-ring-control{display:flex;position:absolute;inset:-4px;width:calc(100% + 8px);height:calc(100% + 8px);border:0;border-radius:50%;background:transparent;align-items:center;justify-content:center;padding:28px;color:#c6f3ff;cursor:pointer;z-index:2;touch-action:none;user-select:none}
body.premium-view .charge-ring-control>span{font-size:18px!important;line-height:1.4!important;font-weight:650;letter-spacing:0!important;text-transform:none!important}
body.premium-view .charge-ring-control:disabled{cursor:default;opacity:1}
body.premium-view .ring-idle .charge-ring-control,body.premium-view .ring-armed .charge-ring-control{background:#08283c}
body.premium-view .ring-armed .charge-ring-control{color:#ffb6c3;background:radial-gradient(circle,#08283c 66%,transparent 67%),conic-gradient(#ff6383 var(--hold,0deg),#21465d 0)}
body.premium-view .charge-ring-control:focus-visible{outline:3px solid #65d8ff;outline-offset:4px}

/* The action overlays the complete instrument, not just its power row. */
body.premium-view .viewer-metrics{position:relative}
body.premium-view .viewer-metrics.ring-idle>div,body.premium-view .viewer-metrics.ring-armed>div{visibility:hidden}
body.premium-view .viewer-metrics>.charge-ring-control{inset:-4px;width:calc(100% + 8px);height:calc(100% + 8px);max-width:none;max-height:none;margin:0;border-radius:50%;box-shadow:none}
body.premium-view .viewer-metrics>.charge-ring-control>span{margin:0;max-width:170px}

/* Keep the instrument centered and suppress native rectangular touch feedback. */
body.premium-view .viewer-metrics{margin:12px auto!important}
body.premium-view .viewer-metrics>.charge-ring-control{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;appearance:none;-webkit-appearance:none;outline:none;transform:none!important;filter:none!important}
body.premium-view .viewer-metrics>.charge-ring-control:active{transform:none!important;box-shadow:none;background-color:transparent}
body.premium-view .viewer-metrics>.charge-ring-control:focus-visible{outline:2px solid #65d8ff;outline-offset:5px}

/* Quiet invitation to start: one pulse every three seconds, only when ready. */
@keyframes charge-ready-pulse{
  0%,100%{box-shadow:0 0 0 7px #0c293c,0 0 18px #00a8ef12}
  50%{box-shadow:0 0 0 9px #10465e,0 0 38px #00c8ef60}
}
@media(prefers-reduced-motion:no-preference){
 body.premium-view .viewer-metrics.ring-ready{animation:charge-ready-pulse 3s ease-in-out infinite}
}

/* Symmetric status and route controls in the same header row. */
body.premium-view .viewer-top{padding-right:0;align-items:center}
body.premium-view .viewer-top>div{min-width:0}
body.premium-view .viewer-top .viewer-status-icon,body.premium-view .viewer-top #header-route{width:46px!important;height:46px!important;min-width:46px;flex:0 0 46px;border-radius:15px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
body.premium-view .viewer-top #header-route{position:static;inset:auto;order:2;margin:0;padding:9px;background:#123449}
body.premium-view .viewer-top #header-route[hidden]{display:none}
@media(max-width:700px){body.premium-view .viewer-top .viewer-status-icon,body.premium-view .viewer-top #header-route{width:36px!important;height:36px!important;min-width:36px;flex-basis:36px;border-radius:12px}body.premium-view .viewer-top #header-route{padding:6px}body.premium-view .viewer-top #header-route .ui-icon{width:23px;height:23px}}

/* Compact notification row and mobile vehicle preferences. */
body #charge-notifications,body.premium-view #charge-notifications[data-view-panel="settings"].card{padding:12px 18px;min-height:0}
#charge-notifications .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;min-height:32px}
#charge-notifications h2{margin:0;font-size:16px;line-height:1.3}
#charge-notifications .notification-switch{margin:0;max-width:55%;text-align:right;font-size:12px}
#my-vehicles summary,#inline-payment-settings summary{color:#b8e9fa}
@media(max-width:700px){#my-vehicles .vehicle-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}#my-vehicles .vehicle-row>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}#my-vehicles .vehicle-row>.actions button{min-width:0;width:100%;margin:0}#my-vehicles .vehicle-row>div{width:100%;min-width:0}#my-vehicles .vehicle-charge-form select,#my-vehicles .vehicle-charge-form input:not([type=checkbox]){width:100%}}

#my-vehicles .vehicle-row{display:flex;flex-direction:column;align-items:stretch}
#my-vehicles .vehicle-row>.vehicle-actions{display:flex;flex-wrap:nowrap;gap:0;width:100%;border:1px solid #2b5269;border-radius:14px;overflow:hidden;margin:10px 0 0}
#my-vehicles .vehicle-actions>button{flex:1;min-width:0;width:auto;margin:0;padding:12px 5px;border:0;border-radius:0;background:#102d43;font-size:12px;overflow-wrap:anywhere}
#my-vehicles .vehicle-actions>button+button{border-left:1px solid #2b5269}
#my-vehicles .vehicle-actions>button[aria-expanded="true"]{background:#12445c;color:#69ddff}
#my-vehicles .vehicle-actions>button:focus-visible{outline:2px solid #69ddff;outline-offset:-3px}
#my-vehicles .vehicle-preferences-panel[hidden]{display:none!important}

body.premium-view .charge-ring-control .ring-stop-hint{position:absolute;top:17%;left:12%;right:12%;text-align:center;font-size:11px;line-height:1.3;color:#ffc1cb;font-weight:600;pointer-events:none}body.premium-view .charge-ring-control .ring-stop-hint[hidden]{display:none}

#my-information summary{color:#b8e9fa;font-weight:600}#information-content{display:grid;gap:14px;margin-top:16px}#information-content .app-download-card{margin:0}#email-contact h3{font-size:14px;margin-top:18px}
body.premium-view #charge-goal{display:none!important}
body.premium-view .viewer-metrics.ring-goal>div:first-child{visibility:hidden}
body.premium-view .viewer-metrics.ring-goal .charge-ring-control>span{white-space:pre-line;font-size:22px!important;transform:translateY(-22px)}
body.premium-view .viewer-metrics~button.stop-action{display:block;width:100%;margin:14px 0}
body.premium-view .viewer-metrics~button.stop-action[hidden]{display:none}
body.premium-view .viewer-metrics~small{display:block;text-align:center;color:#8eb1c8;margin:8px 0}
.goal-picker-dialog{width:min(560px,calc(100vw - 32px));max-width:560px;box-sizing:border-box;padding:24px;border-radius:24px;max-height:85dvh;overflow:auto}
.goal-picker-dialog form{display:grid;gap:20px}.goal-picker-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #285269;border-radius:14px;overflow:hidden}
.goal-picker-modes button{border-radius:0;padding:14px 4px;background:#102e43;color:#a9c9dd;border:0;border-right:1px solid #285269}
.goal-picker-modes button[aria-pressed=true]{background:#08b9df;color:#031e30}
.goal-picker-dialog input[type=range]{width:100%;min-height:44px;accent-color:#08c9e8;padding:0}
.goal-picker-dialog input[type=number]{width:100%;box-sizing:border-box;text-align:center;font-size:26px;padding:12px}
.goal-picker-time{display:grid;grid-template-columns:1fr 1fr;gap:16px}.goal-picker-time label{display:grid;gap:8px;text-align:center}.goal-picker-time button{padding:8px;font-size:22px;background:#14374e;color:#bdefff}
.goal-picker-dialog [hidden]{display:none!important}.goal-picker-dialog [data-cancel]{background:#15354b;color:#bcd9eb}.goal-picker-dialog p:empty{display:none}
/* A wide touch target, stable thumb geometry and labels anchored to actual ticks. */
.goal-picker-dialog input[type=range]{appearance:none;-webkit-appearance:none;box-sizing:border-box;height:48px;min-height:48px;border:0;border-radius:0;background:transparent;box-shadow:none;touch-action:none;user-select:none;-webkit-touch-callout:none;cursor:ew-resize}
.goal-picker-dialog input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:8px;background:linear-gradient(to right,#0cc8e9 var(--goal-slider-fill,0%),#264d64 var(--goal-slider-fill,0%))}
.goal-picker-dialog input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border:3px solid #d6faff;border-radius:50%;background:#07b8d8;box-shadow:0 0 12px #00bedd50}
.goal-picker-dialog input[type=range]::-moz-range-track{height:6px;border-radius:8px;background:#264d64}
.goal-picker-dialog input[type=range]::-moz-range-progress{height:6px;background:#0cc8e9}
.goal-picker-dialog input[type=range]::-moz-range-thumb{box-sizing:border-box;width:24px;height:24px;border:3px solid #d6faff;border-radius:50%;background:#07b8d8}
.goal-picker-dialog input[type=range]:focus-visible{outline:2px solid #71e7ff;outline-offset:2px}
.goal-scale-ticks{position:relative;height:23px;margin:-24px 12px 0;color:#8eb1c8;font-size:10px;pointer-events:none}
.goal-scale-ticks span{position:absolute;top:0;transform:translateX(-50%);padding-top:10px;text-align:center;white-space:nowrap}
.goal-scale-ticks span:before{content:'';position:absolute;top:0;left:50%;height:6px;border-left:1px solid #56b5cf}
.goal-scale-status{display:block;text-align:center;color:#8eb1c8;font-size:12px;min-height:18px;margin-top:-12px}
@media(max-width:400px){.goal-scale-ticks span:nth-child(even){font-size:0}.goal-picker-dialog{padding:20px}.goal-scale-status{font-size:11px}}

/* Shared, one-finger goal selectors. Only the preset strip scrolls horizontally. */
.goal-picker-dialog form>*,.goal-selector{min-width:0}
.goal-selector{display:grid;gap:12px}
.goal-selector-surface{position:relative;min-width:0}
.goal-selector-art{display:none;pointer-events:none}
.goal-selector-hint{text-align:center;color:#96bbd0;font-size:12px;min-height:18px;line-height:1.4}
.goal-selector-ticks{position:relative;height:24px;margin:-8px 12px 0;color:#8eb1c8;font-size:10px;pointer-events:none}
.goal-selector-ticks span{position:absolute;top:0;transform:translateX(-50%);padding-top:9px;white-space:nowrap}
.goal-selector-ticks span:before{content:'';position:absolute;top:0;left:50%;height:5px;border-left:1px solid #56b5cf}
.goal-preset-rail{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#2e6178 transparent;padding:2px 2px 10px}
.goal-preset-rail button{flex:0 0 auto;min-height:44px;margin:0;padding:11px 16px;scroll-snap-align:center;border:1px solid #2b5269;border-radius:12px;background:#102e43;color:#b9d8e9;white-space:nowrap;font-size:14px}
.goal-preset-rail button[aria-pressed=true]{background:#0bbbdc;color:#052638;border-color:#6be8fa}
.goal-preset-rail button:focus-visible{outline:2px solid #83edff;outline-offset:-4px}
.goal-selector[data-variant=precision] .goal-selector-surface{padding-top:68px}
.goal-selector[data-variant=ruler] .goal-selector-surface,.goal-selector[data-variant=wheel] .goal-selector-surface{border:1px solid #285269;background:#071e2f;border-radius:16px;overflow:hidden;height:116px}
.goal-selector[data-variant=wheel] .goal-selector-surface{height:184px}
.goal-selector[data-variant=ruler] .goal-selector-art,.goal-selector[data-variant=wheel] .goal-selector-art{display:block;position:absolute;inset:0;overflow:hidden}
.goal-selector[data-variant=ruler] .goal-selector-range,.goal-selector[data-variant=wheel] .goal-selector-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:2}
.goal-selector[data-variant=wheel] .goal-selector-range{cursor:ns-resize}
.goal-selector[data-variant=ruler] .goal-selector-surface:has(input:focus-visible),.goal-selector[data-variant=wheel] .goal-selector-surface:has(input:focus-visible){outline:2px solid #71e7ff;outline-offset:2px}
.goal-picker-dialog .goal-selector-range:focus{box-shadow:none}
.goal-picker-dialog .goal-selector-range:focus:not(:focus-visible){outline:none}
.goal-selector[data-variant=ruler] .goal-selector-ticks,.goal-selector[data-variant=wheel] .goal-selector-ticks{display:none}
.goal-ruler-tick{position:absolute;top:68px;transform:translateX(-50%);color:#9fbecf;white-space:nowrap;font-size:12px}
.goal-ruler-tick:before{content:'';position:absolute;left:50%;top:-36px;height:16px;border-left:1px solid #3f677c}
.goal-ruler-tick.major{color:#d2eaf5}.goal-ruler-tick.major:before{top:-46px;height:26px;border-color:#8eb1c8}
.goal-selector[data-variant=ruler] .goal-selector-surface:after{content:'';position:absolute;left:50%;top:16px;height:46px;width:2px;background:#64ecff;box-shadow:0 0 14px #09c6de;pointer-events:none}
.goal-selector[data-variant=ruler] .goal-selector-art{mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.goal-wheel-row{display:block;height:36px;line-height:36px;text-align:center;color:#6c91a8;font-size:18px}
.goal-wheel-row.selected{background:#103a4f;color:#78e9ff;border-block:1px solid #32849d;font-size:24px;font-weight:700}
.goal-wheel-row:first-child,.goal-wheel-row:last-child{opacity:.45}
@media(max-width:400px){.goal-selector[data-variant=precision] .goal-selector-ticks span:nth-child(even){font-size:0}.goal-selector-hint{font-size:11px}.goal-picker-modes button{font-size:11px}.goal-picker-dialog{padding:18px}.goal-picker-dialog form{gap:16px}}

/* The charge card fills the available pane; short viewports still scroll. */
body.premium-view[data-user-screen="my-charge"] #page-title,
body.premium-view[data-user-screen="my-charge"] main>header,
body.premium-view #my-charge .station-info-link{display:none!important}
body.premium-view[data-user-screen="my-charge"]>main{display:flex;flex-direction:column}
body.premium-view[data-user-screen="my-charge"]>main>*{flex-shrink:0}
body.premium-view[data-user-screen="my-charge"] #dashboard:not([hidden]){display:flex;flex-direction:column;flex:1 0 auto}
body.premium-view[data-user-screen="my-charge"] #my-charge{display:flex;flex-direction:column;flex:1 0 auto;width:100%;margin-bottom:0}
body.premium-view[data-user-screen="my-charge"] #my-charge .viewer-status-card{display:flex;flex-direction:column;flex:1 0 auto;min-width:0}
body.premium-view[data-user-screen="my-charge"] #my-charge .viewer-status-card>*{flex-shrink:0}
body.premium-view[data-user-screen="my-charge"] .viewer-metrics{margin:20px auto!important;margin-block:auto!important;flex-shrink:0}
body.premium-view[data-user-screen="my-charge"] .station-choice-row{margin-bottom:24px}
body.premium-view[data-user-screen="my-charge"] .premium-station-info{margin-top:24px}
body.premium-view #my-charge .viewer-top{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:12px}
body.premium-view #my-charge .viewer-top .viewer-status-icon{grid-column:1;grid-row:1}
body.premium-view #my-charge .viewer-top>div{grid-column:2;grid-row:1;min-width:0;text-align:center}
body.premium-view #my-charge .viewer-top #header-route{grid-column:3;grid-row:1}
body.premium-view #my-charge #viewer-status{margin:0;overflow-wrap:anywhere;text-wrap:balance}
body.premium-view #my-charge .viewer-top p{text-align:center;overflow-wrap:anywhere}
body.premium-view .viewer-metrics>.charge-ring-control{box-sizing:border-box;padding:24%;overflow:hidden}
body.premium-view .viewer-metrics>.charge-ring-control>span{display:block;min-width:0;width:100%;max-width:100%;max-height:100%;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line;text-align:center;text-wrap:balance;font-size:clamp(14px,4vw,18px)!important;line-height:1.3!important}
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control{padding:18% 16% 38%}
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control>span{transform:none;font-size:clamp(14px,4vw,20px)!important}
@media(min-width:701px){body.premium-view[data-user-screen="my-charge"]>main{min-height:100dvh;box-sizing:border-box}body.premium-view[data-user-screen="my-charge"] #my-charge{margin-top:0}}
@media(max-width:700px){body.premium-view #my-charge .viewer-top{grid-template-columns:36px minmax(0,1fr) 36px;gap:10px}}

body.premium-view #session-detail .session-summary strong{color:#d8edfa;overflow-wrap:anywhere}

/* Compact account payment fields and shared charging preferences. */
#my-vehicles{display:none!important}
#inline-payment-content form>label,#profile-charge-preferences form>label{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,52%);gap:12px;align-items:center;font-size:14px}
#inline-payment-content form>label[hidden],#profile-charge-preferences [hidden]{display:none!important}
#inline-payment-content form select,#inline-payment-content form input:not([type=checkbox]),#profile-charge-preferences input,#profile-charge-preferences select{width:100%;min-width:0;box-sizing:border-box;margin:0}
#profile-charge-preferences{margin-top:20px}#profile-charge-preferences summary{color:#b8e9fa}#profile-charge-preferences form{display:grid;gap:14px;margin-top:16px}#profile-charge-preferences [data-unit]{grid-column:2}
#information-content>a[href="ogrn"]{display:block;margin-top:16px}

#live-payment-summary{box-sizing:border-box;align-self:center;width:min(100%,360px);margin:18px auto;padding:18px 22px;display:grid;justify-items:center;gap:8px;text-align:center;border:1px solid #2b5269;border-radius:20px;background:#0b263a;color:#d8edfa}
#live-payment-summary[hidden]{display:none!important}#live-payment-summary>strong{font-size:26px;color:#68dcff}#live-payment-summary>small{color:#9ec0d4}#live-payment-summary>button{width:100%;margin:4px 0}#live-payment-summary>a{font-size:12px}.payment-summary-title{font-size:14px}
#live-payment-summary>button{background:linear-gradient(100deg,#009feb,#12badc);color:#041b2a;border:1px solid #21c6ee}#live-payment-summary>a{color:#6bdcff}

.login-apk-download{display:block;text-align:center;padding:14px;border:1px solid #2b5269;border-radius:14px;color:#64d9ff;background:#0b263a}.app-download-card .apk-download{color:#031321;background:linear-gradient(100deg,#009feb,#12badc)}

/* Light palette shares the same layout and interaction controls. */
body.light-theme{color-scheme:light;background:#f2f6fa;color:#18394d;--text:#18394d;--muted:#516f83;--border:#c8dae5}
body.light-theme main,body.light-theme #dashboard{background:transparent;color:#18394d}
body.light-theme aside,body.light-theme .mobile-nav{background:#fff;border-color:#c8dae5;color:#315b73}
body.light-theme :is(.card,.viewer-status-card,.viewer-session,.premium-station-info,dialog,.session-summary>div,.payment-order,.charge-notice,footer,#live-payment-summary){background:#fff;color:#18394d;border-color:#c8dae5;box-shadow:0 4px 18px #153e5810}
body.light-theme :is(h1,h2,h3,strong,label,summary,.premium-station-info strong,#viewer-status,#session-detail .session-summary strong){color:#18394d}
body.light-theme :is(p,small,.hint,.eyebrow,.viewer-station,.session-summary span,#live-payment-summary>small){color:#516f83}
body.light-theme :is(input,select,textarea){background:#f6f9fc;color:#18394d;border-color:#b7cedd}
body.light-theme :is(a,.mobile-nav a,aside a.nav){color:#086d99}
body.light-theme :is(button.secondary,button.ghost,.station-choice-row a,.goal-picker-modes button,.goal-selector button){background:#eaf3f9;color:#155b80;border-color:#bad4e3}
body.light-theme :is(.mobile-nav a.active,aside a.nav.active,.goal-picker-modes button[aria-pressed="true"]){background:#d3edf9;color:#005f87}
body.light-theme .viewer-metrics{background:radial-gradient(circle,#eefaff,#e2f3fb);box-shadow:0 0 0 8px #d9edf6;color:#126b91;border-color:#169bc4}
body.light-theme .charge-ring-control{color:#155c7b;background:transparent}
body.light-theme :is(#viewer-power,#viewer-energy,#viewer-duration,#live-payment-summary>strong){color:#076f9b}
body.light-theme #notice{background:#e3f3fb;color:#175a78;border-color:#a7d7ec}
body.light-theme #notice.error{background:#ffeded;color:#a02535;border-color:#eab8bf}
body.light-theme dialog::backdrop{background:#18394d66}
body.light-theme :is(th,td){border-color:#d4e1e9;color:#18394d}
body.light-theme #viewer-connector-select{background:#f6f9fc;color:#18394d;border-color:#b7cedd}
body.light-theme.premium-view .viewer-metrics.ring-idle .charge-ring-control{background:#e6f5fc;color:#155c7b}
body.light-theme.premium-view .charge-ring-control span{color:#155c7b}
body.light-theme.premium-view .premium-station-info .viewer-station span{color:#315b73}
body.light-theme #header-route,body.light-theme #viewer-status-icon{background:#d9edf7;color:#087398}
body.light-theme #mode-switch{background:#e6f1f8;border-color:#bad4e3}body.light-theme #mode-switch a{color:#155c7b}
body.light-theme.premium-view .viewer-status-card .premium-station-info .viewer-station,body.light-theme.premium-view .viewer-status-card .premium-station-info .viewer-station strong,body.light-theme.premium-view .viewer-status-card .premium-station-info .viewer-station span{color:#315b73!important}body.light-theme.premium-view .viewer-status-card #header-route{background:#d9edf7;color:#087398}

/* Transparent brand artwork and readable, independent tagline. */
body aside .brand{background-image:url('icons/brand-premium.svg');background-size:contain;background-position:center;width:102px;height:44px;flex:0 0 102px;margin:0!important}
.header-brand-row{display:flex;align-items:center;gap:12px;min-width:0;width:100%;flex-wrap:wrap}
.brand-tagline{color:#a9dff5;font-size:13px;font-weight:600;line-height:1.3;max-width:110px}
#header-logout{margin-left:auto;padding:10px 12px;min-height:44px;font-size:12px;flex-shrink:0}
body.light-theme .brand-tagline{color:#235b76}
body.light-theme aside .brand{background-image:url('icons/brand-light.svg')}
@media(max-width:700px){body aside .header-brand-row{flex-wrap:nowrap;gap:8px}body aside .brand{width:88px;flex-basis:88px;height:40px}.brand-tagline{font-size:12px;max-width:105px}body aside #header-logout{padding:8px;min-width:44px}}
/* Keep whole words inside the circle, including Android font scaling. */
body.premium-view .viewer-metrics>.charge-ring-control{padding:18% 12%;container-type:inline-size}
body.premium-view .viewer-metrics>.charge-ring-control>span{overflow-wrap:normal;word-break:normal;hyphens:none;font-size:clamp(12px,8.5cqi,18px)!important;line-height:1.3!important;text-wrap:balance}
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control{padding:18% 10% 38%}
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control>span{font-size:clamp(12px,8cqi,20px)!important}

/* Light map surfaces and explicit selected-state contrast. */
body.light-theme #discovery-tabs,body.light-theme #mode-switch{background:#e6f1f8;border-color:#bad4e3}
body.light-theme #discovery-tabs button,body.light-theme #mode-switch a{background:transparent;color:#24536c}
body.light-theme #discovery-tabs button[aria-selected="true"],body.light-theme #mode-switch a[aria-current="page"]{background:#087aa8;color:#fff}
body.light-theme #mode-switch a[aria-current="page"] *,body.light-theme #discovery-tabs button[aria-selected="true"] *{color:inherit}
body.light-theme #station-discovery{background:#f3f8fc;border-color:#c1d9e8}
body.light-theme .premium-filters{background:#eaf3f9;border-color:#bad4e3}
body.light-theme .premium-filters summary{color:#24536c}
body.light-theme #station-map{background:#edf3f5;border-color:#bad4e3}
body.light-theme #station-map [class*="ymaps-"][class$="-ground-pane"],body.light-theme #station-map .leaflet-tile-pane{filter:none}
body.light-theme #location-status,body.light-theme #map-load-status{color:#45657a}
body.light-theme .demo-explanation,body.light-theme .demo-label{background:#fff3d9;color:#745010}
body.light-theme button:disabled{opacity:.65}
/* Remove the old overlaid tagline; the separate text sits beside the logo. */
body aside .brand::after{content:none;display:none}
body aside .header-brand-row{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;margin-bottom:20px}
body aside .header-brand-row .brand{width:88px;flex:0 0 88px;height:40px}
body aside .header-brand-row .brand-tagline{flex:1;min-width:0;max-width:none;font-size:11px;line-height:1.4;letter-spacing:0}
@media(max-width:700px){body aside .header-brand-row{margin-bottom:0;width:auto}body aside .header-brand-row .brand-tagline{flex:0 1 120px;font-size:12px}}

.settings-group>summary{font-size:17px;font-weight:650;color:var(--text);cursor:pointer;padding:4px 0}
.settings-group-content{padding-top:16px}
body #email-contact #charge-notifications{margin:18px 0 0;padding:12px 0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent}
body.light-theme .settings-group>summary{color:#154360}

/* Original supplied artwork: crop out the printed slogan and palette, no redraw. */
body aside .header-brand-row .brand,body.light-theme aside .header-brand-row .brand{background-image:url('icons/brand-original.jpg');background-size:151% auto;background-position:45% top;width:100px;flex-basis:100px;height:43px;border-radius:0}
body aside .header-brand-row .brand-tagline{font-size:11px;min-width:58px}
body:not(.light-theme) aside .header-brand-row .brand{mix-blend-mode:lighten}

/* Supplied vector contours, without background or embedded slogan. */
body aside .header-brand-row .brand,body.light-theme aside .header-brand-row .brand{background-image:url('icons/brand-source-transparent.svg');background-size:contain;background-position:center;background-color:transparent;mix-blend-mode:normal;height:44px}

/* Goal stays centered; live power above and compact secondary counters below. */
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control{padding:12%;background:transparent}
body.premium-view .viewer-metrics.ring-goal>.charge-ring-control>span{font-size:clamp(12px,8cqi,18px)!important;transform:none}
body.premium-view .viewer-metrics.ring-goal>div:first-child{visibility:visible;position:absolute;top:15%;left:15%;right:15%;pointer-events:none}
body.premium-view .viewer-metrics.ring-goal>div:first-child strong{font-size:17px;letter-spacing:0}
body.premium-view .viewer-metrics.ring-goal>div:first-child span{font-size:8px;margin-top:3px}
body.premium-view .viewer-metrics>div:not(:first-child) strong{font-size:11px}
body.premium-view .viewer-metrics>div:not(:first-child) span{font-size:8px}

#default-map-connector{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px}#default-map-connector label{display:flex;align-items:center;gap:8px;min-width:110px}#default-map-connector input{width:20px;height:20px}#default-map-connector small{flex-basis:100%}.personal-history-period{display:flex;flex-wrap:wrap;gap:12px;align-items:end;width:100%}.personal-history-period label{flex:1;min-width:140px}.personal-history-period input{width:100%}#personal-history-totals{flex-basis:100%;font-weight:650;color:var(--text)}

/* Keep tab backgrounds flush with the rounded navigation shell on touch. */
@media(max-width:700px){
 body.premium-view .mobile-nav{border:0;isolation:isolate;overflow:hidden;clip-path:inset(0 round 22px)}
 body.premium-view .mobile-nav a,body.premium-view .mobile-nav a:active{transform:none!important;transition:color .18s ease;flex:1 1 0;min-width:0}
 body.premium-view .mobile-nav:has(a:first-child[aria-current="page"]){background:linear-gradient(to right,#10405b 0 25%,#071d30 25% 100%)}
 body.light-theme.premium-view .mobile-nav:has(a:first-child[aria-current="page"]){background:linear-gradient(to right,#10405b 0 25%,#fff 25% 100%)}
}

/* Settings use one palette; override legacy component-specific colors. */
body.premium-view[data-user-screen="my-settings"]{--settings-text:#e3f1fb;--settings-muted:#a5bfd2;--settings-link:#69d6ff;--settings-primary:#159ed0;--settings-primary-text:#031b28;--settings-secondary:#102e45;--settings-secondary-text:#d9edf9;--settings-line:#31536b}
body.light-theme.premium-view[data-user-screen="my-settings"]{--settings-text:#18394d;--settings-muted:#516f83;--settings-link:#086d99;--settings-primary:#087aa8;--settings-primary-text:#fff;--settings-secondary:#eaf3f9;--settings-secondary-text:#155b80;--settings-line:#bad4e3}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] :is(h2,h3,strong,label,legend,summary){color:var(--settings-text)!important}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] :is(p,small,.hint){color:var(--settings-muted)!important}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] a{color:var(--settings-link)}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] :is(button,.apk-download,.install-app){background:var(--settings-primary)!important;color:var(--settings-primary-text)!important;border:1px solid var(--settings-primary);box-shadow:none}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] :is(button.secondary,button.ghost){background:var(--settings-secondary)!important;color:var(--settings-secondary-text)!important;border-color:var(--settings-line)}
body.premium-view[data-user-screen="my-settings"] #dashboard [data-view-panel="settings"] button *{color:inherit!important}
body.premium-view[data-user-screen="my-settings"] #dashboard #logout{background:var(--settings-secondary)!important;color:var(--settings-secondary-text)!important;border-color:var(--settings-line)}

.public-port-progress { padding: 10px 12px; margin-top: 10px; border: 1px solid currentColor; border-radius: 12px; line-height: 1.5; text-align: center; }
.public-port-progress strong,.public-port-progress small { display:block; }

/* Public telemetry occupies one centred block, independent of goal/idle styles. */
body.premium-view #occupied-port-progress{display:none!important}
body.premium-view .viewer-metrics.ring-public>.charge-ring-control{display:flex;align-items:center;justify-content:center;padding:14% 9%!important}
body.premium-view .viewer-metrics.ring-public>.charge-ring-control>span{width:100%;max-height:none;transform:none!important;text-align:center;white-space:pre-line;text-wrap:nowrap;font-size:clamp(18px,10cqi,25px)!important;line-height:1.5!important;font-variant-numeric:tabular-nums}

/* Help inherits the selected palette, including nested step cards. */
body.light-theme :is(.charge-help,.viewer-steps){background:#fff!important;color:#173747!important;border-color:#c5d7e3!important}
body.light-theme .charge-help :is(summary,strong){color:#173747!important}
body.light-theme .viewer-steps small{color:#516d7e!important}
body.light-theme .viewer-steps b{background:#e2edf4!important;color:#00799e!important}
body.light-theme .viewer-steps>div+div{border-color:#c5d7e3!important}
body.test-view .charge-help,body.test-view .viewer-steps{background:var(--test-surface)!important;color:var(--test-text)!important;border-color:var(--test-line)!important}
body.test-view .charge-help summary{color:var(--test-text)!important}
.viewer-steps small{display:block;line-height:1.55;margin-top:5px}

/* Shared palette tokens also cover auxiliary panels and station instructions. */
body.light-theme{--panel:#fff;--raised:#eaf3f9;--line:#c5d7e3;--text:#173747;--muted:#516d7e}
body.light-theme :is(.selected-context,.station-qr-card,.guide-directions,.app-download-card){background:#fff;color:#173747;border-color:#c5d7e3}
body.light-theme .viewer-session:hover{background:#eaf3f9;border-color:#94bacd}
body.light-theme .app-download-icon{background:#e2edf4;color:#00799e}

/* Original two-colour brand, with readable lettering on light backgrounds. */
body aside .header-brand-row .brand{background-image:url('icons/brand-correct-dark.svg');filter:none;opacity:1;mix-blend-mode:normal}
body.light-theme aside .header-brand-row .brand{background-image:url('icons/brand-correct-light.svg')}

/* Charging state is shown in the card; no global banners in the user interface. */
body.premium-view #notice{display:none!important}

/* Keep goal controls and telemetry inside the circular safe area. */
.ring-goal-button[hidden],.station-choice-row .change-station[hidden]{display:none!important}
body.premium-view .station-choice-row .ring-goal-button{white-space:normal;line-height:1.25;font-size:13px;padding:10px 12px}
body.premium-view .viewer-metrics>.charge-ring-control>span{white-space:pre-line!important;text-wrap:wrap!important;overflow-wrap:anywhere;word-break:normal;max-width:100%;box-sizing:border-box}
body.premium-view .viewer-metrics.ring-public>.charge-ring-control>span{line-height:1.3!important}
body.premium-view .viewer-metrics #viewer-power{font-size:clamp(18px,6vw,28px);overflow-wrap:anywhere}
body.premium-view .viewer-metrics :is(#viewer-energy,#viewer-duration){font-size:clamp(11px,3.2vw,15px);overflow-wrap:anywhere}

body.premium-view .station-choice-row .ring-goal-button,body.premium-view .station-choice-row #viewer-connector-select{height:48px;min-height:48px;max-height:48px;align-self:center;box-sizing:border-box;margin:0!important}
body.premium-view .station-choice-row .ring-goal-button{display:flex;align-items:center;justify-content:center;padding:8px;line-height:1.2}

body.premium-view #viewer-status-icon.checking{background:#dce6ec;color:#627988}

/* Operator palette overrides brand defaults without affecting customer screens. */
body[data-role=admin] main :is(.card,.table-wrap) :is(p,small,label,td){color:#516a7b!important}
body[data-role=admin] main :is(.card,.table-wrap) :is(strong,h2,h3){color:#19394d!important}
body[data-role=admin] main :is(input,select,textarea){background:#f7fafc!important;color:#19394d!important;border-color:#c6d5df!important;font-size:14px}
body[data-role=admin] main table{font-size:14px}
body[data-role=admin] main th{font-size:12px;color:#456173!important}
body[data-role=admin] main td{border-color:#e0e8ee!important}
body[data-role=admin] .section-head>a.secondary{background:#eaf3f8;color:#145e7c;border-radius:9px;padding:10px 14px;text-decoration:none;font-size:13px}

body[data-role=admin]{--text:#19394d;--muted:#486274;--panel:#fff;--line:#c9d7e1}
body[data-role=admin] main :is(summary,h4,.hint,.eyebrow,.connection-info,.connection-info span){color:#405b6e!important}
body[data-role=admin] main :is(.event pre,pre,code){background:#edf3f7;color:#213f53}
body[data-role=admin] .chart{background:#fff!important;overflow-x:auto}
body[data-role=admin] .chart svg{min-width:540px}
body[data-role=admin] .chart text{fill:#405b6e!important;font-size:12px}
body[data-role=admin] .chart line{stroke:#d6e1e8!important}
body[data-role=admin] .chart polyline{stroke:#007da6!important}

body[data-role=admin] dialog{background:#fff!important;color:#19394d!important}
body[data-role=admin] dialog :is(input,select,textarea){background:#f5f8fb!important;color:#19394d!important;border:1px solid #b9cad7!important;font-size:16px;min-height:44px;box-sizing:border-box}
body[data-role=admin] dialog :is(label,small,p){color:#40596b!important;font-size:14px;line-height:1.45}
body[data-role=admin] dialog :is(h2,h3,strong){color:#19394d!important}
body[data-role=admin] dialog input::placeholder{color:#627888!important}
#station-edit-form .station-port-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:18px;border:1px solid #d2dfe7;border-radius:12px;background:#f7fafc;align-items:start}
#station-edit-form .station-port-row>strong,#station-edit-form .station-port-row>small,#station-edit-form .station-port-row>button{grid-column:1/-1}
#station-edit-form .station-port-row>select{width:100%;min-width:0}
#station-edit-form .station-port-row>button{justify-self:start;white-space:normal}
body[data-role=admin] .diagnostic-section>summary{background:#eaf1f6!important;color:#19394d!important}
body[data-role=admin] section:has(>#station-details-editor){display:none!important}
body[data-role=admin] #tariff-form{display:none!important}
@media(max-width:480px){#station-edit-form .station-port-row,.station-edit-columns{grid-template-columns:minmax(0,1fr)}}

body.premium-view #charge-station-notes{grid-column:1/-1;grid-row:2;margin:0;padding-top:12px;border-top:1px solid #25465e;color:#c1d8e6;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
body.light-theme #charge-station-notes{color:#315b73;border-color:#c8dae5}
#charge-station-notes[hidden]{display:none!important}
