/* Opt-in user themes. Existing DOM handlers, operator pages and themes stay independent. */
body.test-view{
 --test-bg:#0b1821;--test-surface:#162733;--test-soft:#203b4b;--test-line:#314b5b;
 --test-text:#e7f2fa;--test-muted:#a8c0d0;--test-accent:#64d9ee;--test-button:#0089b9;
 --settings-text:var(--test-text);--settings-muted:var(--test-muted);--settings-link:var(--test-accent);
 --settings-primary:var(--test-button);--settings-primary-text:#fff;--settings-secondary:var(--test-soft);--settings-secondary-text:var(--test-text);--settings-line:var(--test-line);
 background:var(--test-bg)!important;color:var(--test-text)!important;font-family:Inter,"Segoe UI",Arial,sans-serif;
}
body.test-view.test-light{color-scheme:light;--test-bg:#f1f6f9;--test-surface:#fff;--test-soft:#e2edf4;--test-line:#c5d7e3;--test-text:#173747;--test-muted:#516d7e;--test-accent:#00799e;--test-button:#007fac}
body.test-view :is(main,aside){background:var(--test-bg)!important;color:var(--test-text)}
body.test-view :is(.card,.viewer-session,.app-download-card,#dashboard>footer,.settings-group){background:var(--test-surface)!important;color:var(--test-text)!important;border-color:var(--test-line)!important;box-shadow:none!important;border-radius:24px}
body.test-view :is(h1,h2,h3,strong,label,legend,summary){color:var(--test-text)}
body.test-view :is(p,small,.hint){color:var(--test-muted)}
body.test-view :is(input,select,textarea){color:var(--test-text)!important;background:var(--test-bg)!important;border-color:var(--test-line)!important;border-radius:14px;min-height:44px}
body.test-view :is(button,.secondary,.change-station,.install-trigger,.apk-download){background:var(--test-soft);color:var(--test-text);border:1px solid transparent;border-radius:14px;box-shadow:none}
body.test-view a{color:var(--test-accent)}
body.test-view :is(button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible){outline:3px solid var(--test-accent);outline-offset:3px}
body.test-view button:disabled{opacity:.5;cursor:default}
body.test-view aside .nav.active,body.test-view .mobile-nav a.active{background:var(--test-button)!important;color:#fff!important;border-radius:18px;box-shadow:none}
body.test-view .mobile-nav{background:color-mix(in srgb,var(--test-surface) 88%,transparent)!important;border:1px solid var(--test-line)!important;padding:6px!important;gap:5px;overflow:hidden;backdrop-filter:blur(16px);box-shadow:0 8px 32px #0002!important}
body.test-view .mobile-nav a{color:var(--test-muted)!important;background:transparent;border-radius:18px!important}
body.test-view .mobile-nav .premium-nav-icon{width:21px;height:21px}
body.test-view .mobile-nav .premium-nav-label{font-size:11px}
body.test-view #mode-switch{background:var(--test-surface);border-color:var(--test-line)}
body.test-view #mode-switch a[aria-current=page]{background:var(--test-button);color:#fff}
body.test-view #notice{background:var(--test-soft);color:var(--test-text);border-color:var(--test-line)}
body.test-view #my-charge>.viewer-status-card{display:none!important}
body:not(.test-view) #test-charge-screen{display:none}
#test-charge-screen{max-width:640px;margin:auto}
.test-charge-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 22px}
body.test-view .test-charge-header h2{font-size:clamp(22px,4vw,29px);letter-spacing:-1px;line-height:1.12;margin:0}
.test-charge-header p{font-size:12px;margin:7px 0 0}
#test-charge-state{font-size:11px;max-width:140px;text-align:right;color:var(--state-color);line-height:1.4}
#test-charge-state:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--state-color);margin-right:6px}
.test-charge-hero{background:var(--test-surface);border-radius:28px;padding:24px;overflow:hidden}
.test-hero-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.test-hero-heading>span{font-size:10px;letter-spacing:1.8px;color:var(--test-muted);font-weight:600}
body.test-view #test-goal-open{padding:10px 12px;font-size:12px;color:var(--test-accent);background:var(--test-soft);white-space:nowrap;min-height:40px}
body.test-view #test-charge-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;text-align:left;margin:25px 0 0;padding:0;width:100%;color:var(--test-text);background:transparent;border:0;min-height:76px;line-height:1.1}
#test-charge-number{font-size:clamp(38px,9vw,74px);letter-spacing:-3.5px;font-weight:450;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}
#test-charge-target{color:var(--test-muted);font-size:21px;letter-spacing:-.5px}
#test-charge-value.idle #test-charge-number{font-size:clamp(25px,6vw,36px);letter-spacing:-1px}
#test-charge-label{font-size:12px;margin:8px 0 25px}
.test-meter{position:relative;isolation:isolate;height:48px;border-radius:17px;background:var(--test-soft);overflow:hidden}
.test-meter>div{position:absolute;inset:0 auto 0 0;width:var(--progress,0%);background:linear-gradient(105deg,#008ec4,#43c9d6);border-radius:17px;transition:width .5s}
.test-meter:after{content:"";position:absolute;inset:9px 14px;background:repeating-linear-gradient(90deg,transparent 0 24px,#e4f8ff80 24px 26px);pointer-events:none}
#test-charge-eta{font-size:13px;font-weight:550;margin:18px 0 0}
#test-charge-hint{font-size:12px;line-height:1.6}
#test-charge-hint:empty{display:none}
body.test-view #test-charge-primary{width:100%;min-height:50px;margin-top:22px;background:var(--test-soft);color:var(--test-text);font-weight:600}
body.test-view #test-charge-primary:not(:disabled):hover{background:var(--test-button);color:#fff}
.test-charge-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:26px 0}
.test-charge-counters strong{display:block;font-size:17px;line-height:1.45;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.test-charge-counters small{display:block;font-size:11px;margin-top:4px}
.test-charge-station{border-top:1px solid var(--test-line);padding:21px 0;display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center}
.test-charge-station strong{font-size:16px}.test-charge-station p{font-size:12px;margin:5px 0}
.test-charge-station>a{font-size:12px;text-decoration:none}.test-charge-station>label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.test-charge-station>select,.test-charge-station>small{grid-column:1/-1}.test-charge-station>small{font-size:12px}
body.test-view #battery-card{display:none!important} /* same battery/ETA values appear in the hero */
body.test-view :is(#my-stations,#station-discovery){background:none!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible}
body.modern-map #my-stations>.section-head,body.modern-map #selected-station-context,body.modern-map #discovery-tabs{display:none!important}
body.modern-map #station-discovery>:not(#test-map-view){display:none!important}
#test-map-view{width:100%;height:calc(100dvh - 110px);min-height:650px;max-height:1040px;border-radius:25px;overflow:hidden;border:1px solid var(--test-line)}
body:not(.modern-map) #test-map-view{display:none!important}
body.test-view #station-guide{margin-top:20px}
body.test-view dialog{color:var(--test-text)!important;background:var(--test-surface)!important;border-color:var(--test-line)!important;border-radius:28px;box-shadow:0 20px 100px #0004}
body.test-view dialog::backdrop{background:#030c165e;backdrop-filter:blur(9px)}
body.test-view .goal-picker-dialog{width:min(470px,calc(100vw - 24px));padding:28px 24px;overflow-x:hidden;overflow-y:auto}
body.test-view .goal-picker-dialog>h2{font-size:25px;letter-spacing:-.7px;margin:4px 0 27px}
body.test-view .goal-picker-dialog form{position:static;display:flex;flex-direction:column;gap:0}
body.test-view .goal-picker-dialog [data-cancel]{position:absolute;top:22px;right:20px;width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;font-size:0;background:var(--test-soft)}
body.test-view .goal-picker-dialog [data-cancel]:after{content:'×';font-size:23px;line-height:1}
body.test-view .goal-picker-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;border:1px solid var(--test-line);border-radius:19px;background:var(--test-bg);margin:0 0 26px}
body.test-view .goal-picker-modes button{min-height:43px;border:1px solid transparent;background:transparent;font-size:13px;color:var(--test-muted);box-shadow:none}
body.test-view .goal-picker-modes button[aria-pressed=true]{background:var(--test-soft);border-color:var(--test-line);color:var(--test-text)}
body.test-view .goal-picker-modes [data-mode=""]{display:none}
.test-goal-manual,.test-goal-unit{display:none}
body.test-view .test-goal-manual{display:block;background:transparent;color:var(--test-muted);margin-top:16px;font-size:12px}
body.test-view .test-goal-manual[aria-pressed=true]{color:var(--test-accent)}
body.test-view .test-goal-unit{display:inline;color:var(--test-accent);font-size:22px}
body.test-view .goal-picker-dialog [data-value]{display:block;text-align:center;font-size:0;position:relative;margin:8px 0 0}
body.test-view .goal-picker-dialog [data-value] input{width:75%;max-width:280px;min-width:0;display:inline;background:transparent!important;border:0;font-size:clamp(52px,14vw,86px);line-height:1.2;letter-spacing:-4px;text-align:center;color:var(--test-text)!important;border-radius:0;padding:0;-moz-appearance:textfield;font-variant-numeric:tabular-nums}
body.test-view .goal-picker-dialog input::-webkit-inner-spin-button,body.test-view .goal-picker-dialog input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.test-view .goal-selector-surface{background:none;border:0;box-shadow:none;margin:20px -12px 0;height:116px}
body.test-view .goal-selector-art{background:transparent;border:0;box-shadow:none;mask-image:linear-gradient(90deg,transparent,#000 15% 85%,transparent)}
body.test-view .goal-selector-hint{display:block;text-align:center;color:var(--test-muted);font-size:12px;margin:12px 0 23px}
body.test-view .goal-selector-ticks{display:none}body.test-view .goal-ruler-tick{color:var(--test-muted);border-color:var(--test-line)}
body.test-view .goal-picker-dialog [type=submit]{width:100%;min-height:54px;margin-top:15px;border:0;color:#042a3c;background:linear-gradient(110deg,#53d3e7,#05a3d0);font-weight:650}
body.test-view .goal-picker-dialog [role=status]:empty{display:none}
body.test-view #goal-selector-design,body.test-view label[for=goal-selector-design],body.test-view #goal-selector-design+p{display:none}
body.test-view #dashboard [data-view-panel=settings]{--settings-text:var(--test-text);--settings-muted:var(--test-muted);--settings-link:var(--test-accent);--settings-primary:var(--test-button);--settings-primary-text:#fff;--settings-secondary:var(--test-soft);--settings-secondary-text:var(--test-text);--settings-line:var(--test-line)}
body.test-view .viewer-session{padding:20px;border-radius:20px}
body.test-view .viewer-session .session-totals,body.test-view .session-summary strong{color:var(--test-text)}
@media(max-width:700px){body.test-view main{padding-left:16px!important;padding-right:16px!important}.test-charge-hero{padding:20px 18px}.test-charge-header{margin:15px 0 22px}.test-charge-header h2{max-width:240px}.test-charge-counters{gap:10px}.test-charge-counters strong{font-size:15px}#test-charge-state{max-width:98px;font-size:10px}#test-map-view{height:calc(100dvh - 155px);min-height:610px;border-radius:22px}body.test-view[data-user-screen=my-stations] main{padding-left:8px!important;padding-right:8px!important}body.test-view .mobile-nav{bottom:max(10px,env(safe-area-inset-bottom));left:12px;right:12px}body.test-view .goal-picker-dialog{padding:25px 20px}body.test-view .goal-picker-dialog [data-value] input{font-size:69px}body.test-view .goal-picker-dialog [data-cancel]{right:15px;top:19px}}
@media(max-width:360px){.test-charge-header{gap:8px}.test-charge-counters{gap:7px}.test-charge-counters strong{font-size:13px}.test-charge-hero{padding:18px 16px}#test-charge-target{font-size:18px}}
@media(prefers-reduced-motion:reduce){.test-meter>div{transition:none}}
body.test-view #test-charge-number{font-size:clamp(56px,18vw,76px)}
body.test-view #test-charge-value.idle #test-charge-number{font-size:clamp(25px,6vw,36px)}
body.test-view #test-map-view{min-height:0}
body.test-view #return-active-charge{min-height:38px;padding:10px 15px;margin:0 0 12px;font-size:12px;background:var(--test-soft);color:var(--test-text)}
body.test-view .goal-picker-dialog .goal-selector[data-variant=ruler] .goal-selector-surface{background:transparent;border:0;border-radius:0}
body.test-view .mobile-nav a.active,body.test-view .mobile-nav a.active:first-child,body.test-view .mobile-nav a.active:last-child{border-radius:17px!important;clip-path:inset(0 round 17px)!important}
body.test-view .mobile-nav a.active .premium-nav-label{color:#fff!important}
body.test-view .test-charge-header{position:relative;padding-right:26px}
body.test-view #test-charge-state{position:absolute;top:6px;right:0;width:14px;height:14px;max-width:none;line-height:0}
body.test-view #test-charge-state:before{display:block;width:10px;height:10px;margin:2px;border-radius:50%;box-shadow:0 0 9px color-mix(in srgb,var(--state-color) 35%,transparent)}

/* Account and history use the compact flow prototype, including its hierarchy. */
body:not(.premium-view) :is(#test-profile-screen,#test-history-screen){display:none!important}
body.premium-view[data-user-screen=my-settings] main>header,
body.premium-view[data-user-screen=my-history] main>header,
body.premium-view[data-user-screen=my-settings] #dashboard>footer,
body.premium-view #my-history,body.premium-view .history-filters{display:none!important}
body.premium-view :is(#test-profile-screen,#test-history-screen){width:100%;max-width:720px;margin:24px auto 36px}
body.premium-view .test-profile-head{display:flex;justify-content:flex-start;align-items:center;gap:16px;margin:0 0 28px}
body.premium-view .test-avatar{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:20px;background:var(--test-soft);color:var(--test-accent);font-size:24px;font-weight:500}
body.premium-view :is(.test-profile-head,.test-account-heading) h1{margin:0;font-size:29px;font-weight:600;letter-spacing:-.8px;overflow-wrap:anywhere;color:var(--test-text)}
body.premium-view :is(.test-profile-head,.test-account-heading) p{margin:6px 0 0;font-size:13px;font-weight:400;color:var(--test-muted)}
body.premium-view #test-profile-screen .test-profile-groups>section{padding:0!important;margin:0 0 10px!important;border:0!important;border-radius:19px!important;background:var(--test-surface)!important;box-shadow:none!important}
body.premium-view #test-profile-screen .test-profile-groups>section>details{padding:0 18px!important;margin:0;border:0;background:transparent!important;box-shadow:none!important;border-radius:19px}
body.premium-view #test-profile-screen .test-profile-groups>section>details>summary{display:flex;align-items:center;gap:12px;min-height:66px;padding:0!important;list-style:none;font-size:15px;font-weight:500;color:var(--test-text)!important}
body.premium-view #test-profile-screen summary::-webkit-details-marker{display:none}
body.premium-view #test-profile-screen .test-profile-groups>section>details>summary:after{content:'+';margin-left:auto;font-size:23px;font-weight:400;color:var(--test-muted)}
body.premium-view #test-profile-screen .test-profile-groups>section>details[open]>summary:after{content:'−'}
body.premium-view #test-profile-screen summary svg{width:22px;height:22px;flex:none;color:var(--test-accent)}
body.premium-view #test-profile-screen :is(.settings-group-content,#information-content,#inline-payment-content){padding:0 0 20px!important}
body.premium-view #test-profile-screen :is(input,select){font-size:14px;min-width:0;max-width:100%}
body.premium-view #test-profile-screen :is(label,legend){font-size:13px;color:var(--test-muted)!important;font-weight:400}
body.premium-view #test-profile-screen .test-preference-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(0,1.2fr);align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--test-line)}
body.premium-view #test-profile-screen .test-preference-row label{margin:0;color:var(--test-text)!important}
body.premium-view #test-profile-screen .test-preference-row select{width:100%;margin:0}
body.premium-view #test-profile-screen #default-map-connector{padding:0 0 16px;margin:0 0 8px;border:0}
body.premium-view #test-profile-screen #default-map-connector legend{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:12px}
body.premium-view #test-profile-screen #default-map-connector label{background:transparent;border:0;padding:7px 0;color:var(--test-text)!important;font-size:14px}
body.premium-view #test-profile-screen #default-map-connector input{width:20px;height:20px;min-height:20px;accent-color:var(--test-accent)}
body.premium-view #test-profile-screen .hint{font-size:11px;line-height:1.55;margin:10px 0 15px;font-weight:400}
body.premium-view #test-profile-screen #charge-notifications{padding:14px 0!important;margin:12px 0 0!important;border:0!important;border-top:1px solid var(--test-line)!important;border-radius:0!important;background:transparent!important}
body.premium-view #test-profile-screen #charge-notifications h2{font-size:14px;font-weight:500}
body.premium-view #test-profile-screen #profile-charge-preferences{background:transparent;border:0;border-top:1px solid var(--test-line);border-radius:0;padding:0;margin:12px 0 0}
body.premium-view #test-profile-screen #profile-charge-preferences>summary{font-size:14px;padding:15px 0}
body.premium-view #test-profile-screen #inline-payment-content form>label{display:grid;grid-template-columns:1fr minmax(90px,52%);align-items:center;gap:12px}
body.premium-view #test-profile-screen #inline-payment-content form input{width:100%;max-width:155px;justify-self:end}
body.premium-view #test-profile-screen .app-download-card{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0!important;margin:18px 0 0!important;border:0!important;border-top:1px solid var(--test-line)!important;border-radius:0!important;background:transparent!important}
body.premium-view #test-profile-screen .app-download-icon{display:none}
body.premium-view #test-profile-screen #logout{display:block;width:auto;min-height:48px;margin:14px 0 0;padding:0 18px;border:0!important;background:transparent!important;color:#ed8f98!important;font-size:13px;font-weight:500;box-shadow:none}
body.premium-view.light-theme #test-profile-screen #logout{color:#a52c41!important}
body.premium-view[data-user-screen=my-settings] #dashboard #test-profile-screen #logout{background:transparent!important;color:#ed8f98!important;padding:0 18px;box-shadow:none;border:0!important}
body.premium-view.light-theme[data-user-screen=my-settings] #dashboard #test-profile-screen #logout{color:#a52c41!important}
body.premium-view #dashboard #test-profile-screen #default-map-connector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}
body.premium-view #dashboard #test-profile-screen #default-map-connector label{min-width:0;min-height:44px;margin:0;padding:6px 0;gap:8px}
body.premium-view #dashboard #test-profile-screen #default-map-connector small{grid-column:1/-1;font-size:11px;font-weight:400;line-height:1.5;margin-top:6px}
body.premium-view .test-account-heading{display:block;margin:0 0 24px}
body.premium-view .test-history-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
body.premium-view .test-history-dates label{display:grid;gap:7px;margin:0;font-size:12px;font-weight:400;color:var(--test-muted)}
body.premium-view .test-history-dates input{width:100%;min-width:0;font-size:14px;padding:10px;box-sizing:border-box}
body.premium-view .test-history-filter{display:flex;align-items:end;gap:12px;margin-bottom:20px}
body.premium-view .test-history-filter>div{flex:1;min-width:0}
body.premium-view .test-history-filter select{width:100%}
body.premium-view .test-history-filter label{font-size:12px;font-weight:400}
body.premium-view .test-history-filter>button{font-size:11px;min-height:44px;padding:8px;background:transparent;color:var(--test-muted)}
body.premium-view .test-history-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px;border-radius:20px;background:var(--test-text);color:var(--test-bg);margin-bottom:20px}
body.premium-view .test-history-summary strong{display:block;color:inherit!important;font-size:32px;font-weight:500;letter-spacing:-.8px;line-height:1.2;overflow-wrap:anywhere}
body.premium-view .test-history-summary small{display:block;color:inherit!important;opacity:.8;font-size:11px;margin-top:7px;font-weight:400}
body.premium-view .test-history-units{display:flex;gap:4px;flex:none}
body.premium-view .test-history-units button{min-height:40px;padding:8px 10px;font-size:12px;border:1px solid currentColor;background:transparent;color:inherit;border-radius:12px}
body.premium-view .test-history-units button[aria-pressed=true]{background:var(--test-bg);color:var(--test-text);border-color:var(--test-bg)}
body.premium-view #test-history-note:empty{display:none}
body.premium-view #test-history-note{font-size:12px;margin:0 0 16px}
body.premium-view .test-history-row{display:flex;align-items:center;gap:14px;width:100%;padding:17px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--test-line);border-radius:0}
body.premium-view .test-session-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--test-surface);color:var(--test-accent);flex:none}
body.premium-view .test-session-icon svg{width:22px;height:22px}
body.premium-view .test-session-description{flex:1;min-width:0}
body.premium-view .test-history-row strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}
body.premium-view .test-history-row small{display:block;margin-top:5px;font-size:11px;font-weight:400;color:var(--test-muted)}
body.premium-view .test-session-amount{text-align:right;flex:none;max-width:38%}
body.premium-view .test-history-row .test-session-active{color:var(--test-accent)}
body.premium-view .test-history-empty{padding:30px 10px;text-align:center;font-size:14px}
body.premium-view .test-history-pages .history-pagination{margin:24px 0 0;display:flex;align-items:center;justify-content:space-between;gap:10px}
body.premium-view .test-history-pages #history-page{font-size:11px;color:var(--test-muted)}
@media(max-width:370px){body.premium-view .test-history-summary{padding:18px 15px;gap:8px}body.premium-view .test-history-summary strong{font-size:25px}body.premium-view .test-history-units button{padding:8px}body.premium-view .test-history-row{gap:9px}body.premium-view .test-session-icon{width:34px;height:39px}body.premium-view .test-history-dates{gap:8px}body.premium-view .test-history-dates input{padding:8px 5px;font-size:12px}body.premium-view #test-profile-screen .test-preference-row{gap:9px;grid-template-columns:minmax(85px,1fr) minmax(0,1.15fr)}}

.test-guide-nav{display:none}
body.test-view:has(#station-guide:target) #my-stations{display:none!important}
body.test-view:has(#station-guide:target) #station-guide{margin-top:0}
body.test-view:has(#station-guide:target) .test-guide-nav{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px;font-size:13px}
body.test-view:has(#station-guide:target) .test-guide-nav a{min-height:44px;display:flex;align-items:center;text-decoration:none}

body.test-view #test-charge-start{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:100px;padding:24px;border:1px solid var(--test-line);border-radius:26px;background:linear-gradient(125deg,#078eb3,#096b8e);color:#fff;box-shadow:0 12px 32px #007b9d26;text-align:left;margin:12px 0 28px}
body.test-view #test-charge-start strong{flex:1;font-size:21px;font-weight:600}
body.test-view #test-charge-start>span{font-size:30px}
body.test-view #test-charge-start:disabled{background:var(--test-soft);color:var(--test-muted);box-shadow:none;opacity:.75;cursor:not-allowed}
body.test-view #test-charge-start:not(:disabled):hover{filter:brightness(1.08)}
body.test-view #test-charge-start:focus-visible{outline:3px solid var(--test-button);outline-offset:4px}
body.test-view #test-charge-start[hidden],body.test-view .test-charge-hero[hidden],body.test-view .test-charge-counters[hidden]{display:none!important}
@media(prefers-reduced-motion:no-preference){body.test-view .test-charge-hero:not([hidden]){animation:charge-reveal .25s ease-out}@keyframes charge-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.charge-release-note,#test-charge-release{text-align:center;padding:18px;font-weight:600;line-height:1.5}
body.test-view .charge-release-note{display:none!important}
.viewer-metrics.ring-public .charge-ring-control>span{white-space:pre-line;text-align:center;font-size:clamp(19px,5.6vw,25px);line-height:1.45;overflow-wrap:anywhere}
.viewer-metrics.ring-public>div{visibility:hidden}

/* Shared account content does not opt legacy navigation into the test theme. */
body.premium-view :is(#test-profile-screen,#test-history-screen){--test-bg:#0b1821;--test-surface:#162733;--test-soft:#203b4b;--test-line:#314b5b;--test-text:#e7f2fa;--test-muted:#a8c0d0;--test-accent:#64d9ee;--test-button:#0089b9;color:var(--test-text)}
body.premium-view.light-theme :is(#test-profile-screen,#test-history-screen){--test-bg:#f1f6f9;--test-surface:#fff;--test-soft:#e2edf4;--test-line:#c5d7e3;--test-text:#173747;--test-muted:#516d7e;--test-accent:#00799e;--test-button:#007fac}
body.premium-view :is(#test-profile-screen,#test-history-screen) :is(input,select,textarea){color:var(--test-text);background:var(--test-bg);border-color:var(--test-line);border-radius:14px;min-height:44px}
body.premium-view :is(#test-profile-screen,#test-history-screen) button{border-radius:14px}

/* Consistent preferences: full-width controls on phones, no clipped choices. */
body.premium-view #test-profile-screen .test-preference-row{grid-template-columns:minmax(0,1fr);gap:8px}
body.premium-view #test-profile-screen .test-preference-row select{min-width:0;max-width:100%;font-size:16px}
body.premium-view #profile-charge-preferences form>label{grid-template-columns:minmax(0,1fr);gap:8px;border-bottom:1px solid var(--test-line);padding:12px 0;margin:0}
body.premium-view #profile-charge-preferences form{gap:0;margin:0}
body.premium-view #profile-charge-preferences [data-unit]{grid-column:1}
body.premium-view #profile-charge-preferences button{width:100%;margin-top:16px}
body.modern-map #test-map-view{display:block;min-height:0}
body.modern-map #test-map-view[hidden]{display:none!important}

body.test-view .test-preference-row:has(#goal-selector-design){display:none!important}

#settings-contacts{margin-top:24px;padding-top:16px;border-top:1px solid var(--test-line,#c2dfe9);overflow-wrap:anywhere}
