/* Voltara mobile app */
html, body { height: 100%; }
body { overflow: hidden; background: radial-gradient(1200px 700px at 70% -10%, rgba(200,255,46,.06), transparent 60%), radial-gradient(900px 600px at 0% 110%, rgba(60,230,210,.05), transparent 60%), var(--ink-0); }
.app { position: relative; height: 100dvh; width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; overflow: clip; background: var(--ink-1); isolation: isolate; }
@media (min-width: 760px) {
  body:not(.embed) { display: grid; place-items: center; }
  body:not(.embed) .app { width: 412px; height: min(892px, calc(100dvh - 48px)); border-radius: 46px; border: 1px solid var(--line-2);
    box-shadow: 0 0 0 10px #0e1218, 0 0 0 11px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.9), 0 0 120px -20px rgba(200,255,46,.12); }
  body:not(.embed) .desk-note { display: flex; }
}
.desk-note { display: none; position: fixed; left: 24px; bottom: 20px; gap: 14px; align-items: center; font-size: 12.5px; color: var(--dim); }
.desk-note a { color: var(--muted); text-decoration: none; font-weight: 700; }
.desk-note a:hover { color: var(--volt); }
body.embed .app { max-width: none; }
body.embed .top { padding-top: 44px; }
body.embed .map-wrap { margin-top: -58px; }
@media (max-width: 359px) { .loc .xs-hide { display: none; } .brand { font-size: 17px; } }

/* header */
.top { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; z-index: 5; background: linear-gradient(180deg, var(--ink-1) 70%, rgba(10,14,19,0)); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--volt); display: grid; place-items: center; box-shadow: 0 6px 20px -6px var(--volt-glow); }
.brand-mark svg { width: 18px; height: 18px; color: var(--volt-ink); fill: var(--volt-ink); }
.loc { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.loc svg { width: 14px; height: 14px; color: var(--blue); }
.avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #222c38, #151b23); border: 1px solid var(--line-2); font-weight: 800; font-size: 13px; color: var(--volt); }
.avatar svg { width: 18px; height: 18px; color: var(--muted); }

main { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding-bottom: 110px; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s; }
.screen::-webkit-scrollbar { display: none; }
.screen.on { opacity: 1; visibility: visible; transform: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.pad { padding: 0 16px; }
.h1 { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.035em; margin: 6px 0 4px; line-height: 1.15; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin: 0; }
.sub { color: var(--muted); font-size: 13.5px; margin: 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.sec-h small { color: var(--dim); font-size: 12px; font-weight: 600; }

/* tab bar */
.tabbar { position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 68px; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(16,21,28,.86); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); }
.tab { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 10.5px; font-weight: 700; transition: color .2s; }
.tab svg { width: 22px; height: 22px; transition: transform .25s var(--spring); }
.tab.on { color: var(--text); }
.tab.on svg { color: var(--volt); transform: translateY(-1px) scale(1.06); }
.tab .badge { position: absolute; top: 12px; right: calc(50% - 16px); width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(16,21,28,.9); display: none; animation: pulse 1.6s infinite; }
.tab.live .badge { display: block; }
.tab-ai { align-self: start; margin-top: -18px; height: auto; }
.tab-ai .orb { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: conic-gradient(from 210deg, #a594ff, #5ad8ff, #c8ff2e, #a594ff); box-shadow: 0 10px 30px -6px var(--violet-glow), inset 0 0 0 3px rgba(10,14,19,.35); transition: transform .25s var(--spring); }
.tab-ai .orb svg { width: 26px; height: 26px; color: #0b0f14; }
.tab-ai.on .orb { transform: scale(1.06) rotate(-4deg); }
.tab-ai span { margin-top: 2px; }

/* explore */
.map-wrap { position: relative; height: 54vh; min-height: 330px; max-height: 500px; margin-top: -58px; touch-action: none; }
.map-wrap .map { position: absolute; inset: 0; }
.map-svg { width: 100%; height: 100%; cursor: grab; }
.map-svg:active { cursor: grabbing; }
.m-lbl { font: 700 7.5px var(--f-ui); letter-spacing: .14em; fill: rgba(255,255,255,.2); text-anchor: middle; pointer-events: none; }
.m-pin { cursor: pointer; transition: transform .3s; }
.m-pin-c { transition: r .3s var(--spring); }
.m-pin-n { font: 800 11px var(--f-mono); text-anchor: middle; pointer-events: none; }
.m-pin-kw { font: 700 7px var(--f-mono); text-anchor: middle; pointer-events: none; }
.m-ping { animation: ping 2.4s infinite var(--ease); transform-origin: center; transform-box: fill-box; }
@keyframes ping { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
.m-pin.sel .m-pin-c { filter: drop-shadow(0 0 8px rgba(200,255,46,.6)); }
.m-you-halo { animation: ping 2.8s infinite; transform-origin: center; transform-box: fill-box; }
.m-dash { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.map-fade { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, var(--ink-1), rgba(10,14,19,0)); pointer-events: none; }
.map-ui { position: absolute; left: 12px; right: 12px; top: 64px; display: flex; gap: 8px; pointer-events: none; }
.askbar { pointer-events: auto; flex: 1; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 15px; background: rgba(16,21,28,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; font-weight: 600; text-align: left; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
.askbar svg { width: 19px; height: 19px; color: var(--violet); flex: none; }
.askbar kbd { margin-left: auto; font: 700 10px var(--f-ui); color: var(--violet); background: rgba(165,148,255,.12); border-radius: 6px; padding: 3px 6px; letter-spacing: .04em; }
.map-ctrl { pointer-events: auto; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(16,21,28,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); }
.map-ctrl svg { width: 19px; height: 19px; color: var(--blue); }
.map-legend { position: absolute; left: 12px; bottom: 34px; display: flex; gap: 10px; font-size: 10.5px; font-weight: 700; color: var(--muted); background: rgba(10,14,19,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); }
.map-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.map-sim { position: absolute; right: 12px; bottom: 34px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--muted); background: rgba(10,14,19,.72); padding: 6px 9px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }

.panel { position: relative; margin-top: -22px; background: var(--ink-1); border-radius: 26px 26px 0 0; padding: 10px 0 0; box-shadow: 0 -20px 40px -10px rgba(0,0,0,.5); border-top: 1px solid var(--line); }
.grab { width: 38px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); margin: 0 auto 12px; }
.livebar { margin: 0 16px 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(120deg, rgba(60,230,210,.16), rgba(60,230,210,.04)); border: 1px solid rgba(60,230,210,.3); width: calc(100% - 32px); text-align: left; }
.livebar .lb-ring { width: 40px; height: 40px; flex: none; }
.livebar b { display: block; font-size: 14px; }
.livebar span { font-size: 12.5px; color: var(--muted); }
.livebar > svg { margin-left: auto; width: 18px; height: 18px; color: var(--cyan); }

.aipick { margin: 0 16px; padding: 16px; border-radius: 22px; position: relative; overflow: hidden; background: linear-gradient(140deg, rgba(165,148,255,.18), rgba(90,216,255,.06) 55%, rgba(200,255,46,.06)); border: 1px solid rgba(165,148,255,.28); }
.aipick::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(165,148,255,.35), transparent 70%); pointer-events: none; }
.aipick-k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--violet); text-transform: uppercase; }
.aipick-k svg { width: 14px; height: 14px; }
.aipick h3 { font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; margin: 6px 0 2px; }
.aipick p { margin: 0; color: var(--muted); font-size: 13px; }
.aipick-stats { display: flex; gap: 16px; margin: 12px 0 14px; }
.aipick-stats div { font-size: 11px; color: var(--muted); font-weight: 600; }
.aipick-stats b { display: block; font: 700 16px var(--f-mono); color: var(--text); letter-spacing: -.02em; }
.aipick .row { display: flex; gap: 8px; position: relative; z-index: 1; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 16px 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.st-list { padding: 8px 16px 0; display: grid; gap: 10px; }
.st { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 13px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); text-align: left; width: 100%; transition: transform .2s var(--spring), border-color .2s, background .2s; animation: rise .45s var(--ease) both; }
.st:hover { border-color: var(--line-2); background: #121821; }
.st:active { transform: scale(.98); }
.st-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; position: relative; background: rgba(200,255,46,.08); }
.st-ic svg { width: 22px; height: 22px; color: var(--volt); }
.st-ic.busy { background: rgba(255,181,71,.09); } .st-ic.busy svg { color: var(--amber); }
.st-ic.fault { background: rgba(255,93,108,.09); } .st-ic.fault svg { color: var(--red); }
.st-name { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.st-meta { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.st-dots { display: flex; gap: 4px; margin-top: 7px; }
.st-dots i { width: 16px; height: 5px; border-radius: 3px; background: var(--ink-4); }
.st-dots i.available { background: var(--volt); } .st-dots i.charging { background: var(--cyan); } .st-dots i.fault { background: var(--red); }
.st-r { text-align: right; }
.st-r b { display: block; font: 700 15px var(--f-mono); letter-spacing: -.02em; }
.st-r small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.empty { text-align: center; padding: 30px 20px; color: var(--muted); }
.empty svg.big { width: 64px; height: 64px; margin: 0 auto 10px; color: var(--dim); }
.empty h3 { color: var(--text); font-family: var(--f-display); margin: 6px 0 4px; font-size: 18px; }
.err-box { margin: 20px 16px; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,93,108,.3); background: rgba(255,93,108,.06); text-align: center; }
.err-box p { color: var(--muted); margin: 6px 0 12px; font-size: 13.5px; }

/* sheets */
.scrim { position: absolute; inset: 0; background: rgba(3,5,8,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 40; opacity: 0; transition: opacity .3s; pointer-events: none; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 50; max-height: calc(100% - 28px); display: flex; flex-direction: column; background: var(--ink-1); border-radius: 28px 28px 0 0; border-top: 1px solid var(--line-2);
  transform: translateY(105%); transition: transform .42s var(--ease); box-shadow: 0 -30px 60px -10px rgba(0,0,0,.6); }
.sheet.on { transform: none; }
.sheet.full { top: 28px; }
.sheet-hd { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px 6px; }
.sheet-hd .grab { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); margin: 0; }
.sheet-hd .icon-btn { margin-left: auto; margin-top: 8px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }

/* station sheet */
.st-hero { position: relative; border-radius: 22px; overflow: hidden; padding: 18px; margin-top: 4px; background: radial-gradient(400px 200px at 90% 0%, rgba(200,255,46,.16), transparent 70%), linear-gradient(160deg, #141b24, #0d1218); border: 1px solid var(--line); }
.st-hero h2 { font-family: var(--f-display); font-size: 23px; letter-spacing: -.03em; margin: 8px 0 2px; line-height: 1.15; }
.st-hero .meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.st-hero .meta svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; color: var(--amber); fill: var(--amber); }
.st-hero .acts { display: flex; gap: 8px; margin-top: 14px; }
.st-hero .acts .btn { flex: 1; }
.loadcard { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.loadcard .lc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.loadcard .lc-top b { font: 700 15px var(--f-mono); color: var(--text); }
.loadbar { position: relative; height: 12px; border-radius: 6px; background: var(--ink-4); margin: 10px 0 8px; overflow: hidden; display: flex; }
.loadbar i { height: 100%; transition: width .6s var(--ease); border-right: 2px solid var(--ink-2); }
.loadbar i.me { background: linear-gradient(90deg, #3ce6d2, #c8ff2e); }
.loadbar i.o { background: rgba(60,230,210,.45); }
.loadcard p { margin: 0; font-size: 12px; color: var(--dim); }
.chg-list { display: grid; gap: 10px; margin-top: 12px; }
.chg { border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.chg.sel { border-color: rgba(200,255,46,.55); box-shadow: 0 0 0 4px rgba(200,255,46,.08); }
.chg-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px; width: 100%; text-align: left; }
.chg-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font: 800 13px var(--f-mono); position: relative; }
.chg-ic.available { background: rgba(200,255,46,.1); color: var(--volt); }
.chg-ic.charging { background: rgba(60,230,210,.08); color: var(--cyan); }
.chg-ic.fault { background: rgba(255,93,108,.1); color: var(--red); }
.chg-ic svg.ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.chg b { font-size: 14.5px; }
.chg .ln { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.chg .pr { text-align: right; font: 700 14px var(--f-mono); }
.chg .pr small { display: block; font: 600 11px var(--f-ui); color: var(--dim); }
.startp { padding: 4px 14px 14px; border-top: 1px dashed var(--line-2); display: none; animation: fade .3s; }
.chg.sel .startp { display: block; }
.slider-row { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.slider-row b { font: 800 22px var(--f-display); color: var(--volt); letter-spacing: -.03em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--volt) var(--p, 50%), var(--ink-4) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--volt) var(--p, 50%), var(--ink-4) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; margin-top: -9px; box-shadow: 0 0 0 5px rgba(200,255,46,.25), 0 4px 10px rgba(0,0,0,.4); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(200,255,46,.25); }
.est { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 12px; }
.est div { padding: 10px; border-radius: 13px; background: var(--ink-3); font-size: 11px; color: var(--muted); font-weight: 600; }
.est b { display: block; font: 700 15px var(--f-mono); color: var(--text); margin-top: 2px; letter-spacing: -.02em; }
.seg { display: flex; padding: 4px; border-radius: 13px; background: var(--ink-3); gap: 4px; }
.seg button { flex: 1; height: 34px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: all .2s; }
.seg button.on { background: var(--ink-0); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.4), inset 0 0 0 1px var(--line-2); }
.hint { font-size: 11.5px; color: var(--dim); margin: 6px 2px 12px; }
.hold { position: relative; overflow: hidden; width: 100%; height: 56px; border-radius: 16px; background: var(--volt); color: var(--volt-ink); font-weight: 800; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 30px -10px var(--volt-glow); user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .2s var(--spring); }
.hold svg { width: 19px; height: 19px; fill: currentColor; }
.hold .fill { position: absolute; inset: 0; background: rgba(11,17,2,.22); transform-origin: left; transform: scaleX(0); }
.hold.pressing { transform: scale(.98); }
.hold.danger { background: rgba(255,93,108,.14); color: var(--red); box-shadow: none; border: 1px solid rgba(255,93,108,.35); }
.hold.danger .fill { background: rgba(255,93,108,.25); }
.hold span { position: relative; }
.hold[disabled] { opacity: .5; pointer-events: none; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; }
.pricing { display: grid; gap: 1px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pricing div { display: flex; justify-content: space-between; padding: 11px 14px; background: var(--ink-2); font-size: 13.5px; }
.pricing b { font-family: var(--f-mono); }

/* charge screen */
.ring-wrap { position: relative; width: 260px; height: 260px; margin: 6px auto 0; }
.ring-wrap svg.big-ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-glow { position: absolute; inset: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(60,230,210,.22), transparent 70%); filter: blur(10px); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-c .soc { font: 800 66px/1 var(--f-display); letter-spacing: -.05em; }
.ring-c .soc sup { font-size: 24px; vertical-align: 28px; margin-left: 2px; color: var(--muted); }
.ring-c .to { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.ring-c .kw { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; justify-self: center; font: 700 13px var(--f-mono); color: var(--cyan); background: rgba(60,230,210,.1); padding: 5px 10px; border-radius: 999px; }
.ring-c .kw svg { width: 13px; height: 13px; fill: currentColor; }
.orbit { position: absolute; inset: 0; animation: spin 3.2s linear infinite; }
.orbit::before { content: ''; position: absolute; left: 50%; top: 4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #c8ff2e; box-shadow: 0 0 12px 3px rgba(200,255,46,.7); }
.orbit.o2 { animation-duration: 4.6s; animation-direction: reverse; }
.orbit.o2::before { background: #3ce6d2; box-shadow: 0 0 12px 3px rgba(60,230,210,.7); width: 6px; height: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sess-head { text-align: center; margin-top: 4px; }
.sess-head .tag { margin-bottom: 6px; }
.sess-head h2 { font-family: var(--f-display); font-size: 17px; margin: 0; letter-spacing: -.02em; }
.sess-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.stats4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.stat { padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.stat small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.stat small svg { width: 14px; height: 14px; }
.stat b { display: block; font: 700 23px var(--f-mono); letter-spacing: -.03em; margin-top: 6px; }
.stat b em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 3px; }
.ccard { margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.ccard-h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.legend { display: flex; gap: 10px; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 4px; vertical-align: 2px; }
.chart { width: 100%; height: auto; overflow: visible; }
.ch-ax { font: 600 9px var(--f-mono); fill: var(--dim); }
.ch-head-halo { animation: breathe 1.6s infinite; transform-origin: center; transform-box: fill-box; }
.throttle { margin-top: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,181,71,.12), rgba(255,181,71,.03)); border: 1px solid rgba(255,181,71,.3); display: flex; gap: 12px; animation: rise .4s var(--ease); }
.throttle svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 1px; }
.throttle b { font-size: 14px; }
.throttle p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.throttle.ok { background: linear-gradient(135deg, rgba(200,255,46,.08), rgba(200,255,46,.02)); border-color: rgba(200,255,46,.22); }
.throttle.ok svg { color: var(--volt); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 9px 12px; font-size: 13px; }
.kv span { color: var(--muted); }
.kv b { text-align: right; font-weight: 700; }

/* receipt */
.receipt { text-align: center; padding-top: 8px; }
.receipt .ok-badge { width: 74px; height: 74px; margin: 6px auto 12px; border-radius: 24px; background: var(--volt); display: grid; place-items: center; box-shadow: 0 16px 40px -10px var(--volt-glow); animation: pop .6s var(--spring) both; }
.receipt .ok-badge svg { width: 38px; height: 38px; color: var(--volt-ink); stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.receipt h2 { font-family: var(--f-display); font-size: 24px; margin: 0; letter-spacing: -.03em; }
.receipt .big { font: 800 40px var(--f-display); letter-spacing: -.04em; margin: 12px 0 2px; }
.bill { text-align: left; margin: 16px 0; padding: 16px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; }
.bill div { display: flex; justify-content: space-between; }
.bill span { color: var(--muted); }
.bill b { font-family: var(--f-mono); }
.bill .tot { border-top: 1px dashed var(--line-2); padding-top: 10px; font-size: 15px; }

/* plan */
.form-card { margin: 12px 16px 0; padding: 16px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.lbl { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin: 16px 0 8px; display: flex; justify-content: space-between; }
.lbl:first-child { margin-top: 0; }
.lbl b { color: var(--text); text-transform: none; letter-spacing: 0; font-family: var(--f-mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.time-in { height: 32px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-res { margin: 14px 16px 0; animation: rise .5s var(--ease) both; }
.save-hero { padding: 18px; border-radius: 22px; position: relative; overflow: hidden; background: radial-gradient(300px 160px at 100% 0%, rgba(200,255,46,.2), transparent 70%), var(--ink-2); border: 1px solid rgba(200,255,46,.25); }
.save-hero small { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--volt); text-transform: uppercase; }
.save-hero .big { font: 800 40px/1.05 var(--f-display); letter-spacing: -.045em; margin: 6px 0 4px; }
.save-hero p { margin: 0; color: var(--muted); font-size: 13px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cmp div { padding: 12px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cmp b { display: block; font: 700 19px var(--f-mono); color: var(--text); margin-top: 3px; letter-spacing: -.02em; }
.cmp div.win { border-color: rgba(200,255,46,.3); }
.cmp div.win b { color: var(--volt); }
.cmp s { color: var(--dim); }
.timeline { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.timeline b { display: block; color: var(--text); font: 700 14px var(--f-mono); }
.ai-say { margin-top: 12px; padding: 14px 14px 12px; border-radius: 18px; background: linear-gradient(140deg, rgba(165,148,255,.13), rgba(165,148,255,.03)); border: 1px solid rgba(165,148,255,.25); font-size: 14px; line-height: 1.55; }
.ai-say .who { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 6px; }
.ai-say .who svg { width: 14px; height: 14px; }
.ai-say .model { margin-left: auto; font: 600 10px var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--dim); }
.caret::after { content: ''; display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--violet); border-radius: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tc-on { animation: grow .5s var(--spring) both; transform-origin: bottom; transform-box: fill-box; }
@keyframes grow { from { transform: scaleY(0); } }

/* AI chat */
.chat { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 0; }
.chat-scroll { flex: 1; padding: 4px 16px 170px; }
.welcome { text-align: center; padding: 24px 6px 10px; }
.big-orb { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 34px; background: conic-gradient(from 210deg, #a594ff, #5ad8ff, #c8ff2e, #a594ff); display: grid; place-items: center; box-shadow: 0 24px 60px -16px var(--violet-glow); animation: float 5s ease-in-out infinite; }
.big-orb svg { width: 44px; height: 44px; color: #0b0f14; }
@keyframes float { 50% { transform: translateY(-6px) rotate(3deg); } }
.welcome h2 { font-family: var(--f-display); font-size: 23px; letter-spacing: -.03em; margin: 0 0 6px; }
.welcome p { color: var(--muted); font-size: 13.5px; margin: 0 auto; max-width: 300px; }
.sugs { display: grid; gap: 8px; margin-top: 20px; text-align: left; }
.sug { padding: 13px 14px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: border-color .2s, transform .2s var(--spring); }
.sug:hover { border-color: rgba(165,148,255,.4); }
.sug:active { transform: scale(.98); }
.sug svg { width: 17px; height: 17px; color: var(--violet); flex: none; }
.msg { margin: 12px 0; display: flex; animation: rise .35s var(--ease) both; }
.msg.user { justify-content: flex-end; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.msg.user .bubble { background: var(--volt); color: var(--volt-ink); border-bottom-right-radius: 6px; font-weight: 600; }
.msg.ai .bubble { background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble p { margin: 0 0 8px; } .bubble p:last-child { margin: 0; }
.bubble ul { margin: 4px 0 8px; padding-left: 18px; } .bubble li { margin: 3px 0; }
.bubble b { color: #fff; }
.msg.ai .meta svg { width: 12px; height: 12px; }
.msg.ai .meta { font-size: 10.5px; color: var(--dim); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.st-cards { display: grid; gap: 8px; margin-top: 10px; }
.st-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-2); text-align: left; width: 100%; }
.st-card b { font-size: 13.5px; display: block; }
.st-card span { font-size: 12px; color: var(--muted); }
.st-card .go { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--volt); color: var(--volt-ink); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; }
.composer { position: absolute; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 15; display: flex; gap: 8px; padding: 6px; border-radius: 20px; background: rgba(16,21,28,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); }
.composer.on { opacity: 1; visibility: visible; transform: none; }
.composer input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: 15px; }
.composer input::placeholder { color: var(--dim); }
.composer button { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #a594ff, #5ad8ff); display: grid; place-items: center; transition: transform .2s var(--spring), opacity .2s; }
.composer button svg { width: 19px; height: 19px; color: #0b0f14; }
.composer button[disabled] { opacity: .4; }

/* profile */
.pcard { margin: 12px 16px 0; padding: 16px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.me { display: flex; gap: 14px; align-items: center; }
.me .avatar { width: 54px; height: 54px; border-radius: 18px; font-size: 19px; }
.me h2 { margin: 0; font-family: var(--f-display); font-size: 19px; letter-spacing: -.02em; }
.me p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.car-hero { display: flex; align-items: center; gap: 14px; }
.car-art { width: 92px; height: 54px; flex: none; }
.wallet { background: radial-gradient(300px 140px at 100% 0%, rgba(60,230,210,.18), transparent 70%), var(--ink-2); }
.wallet .bal { font: 800 32px var(--f-display); letter-spacing: -.04em; margin: 4px 0 12px; }
.list { display: grid; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.li:first-child { border-top: 0; }
.li .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); flex: none; }
.li .ic svg { width: 17px; height: 17px; color: var(--muted); }
.li .t { flex: 1; min-width: 0; }
.li .t b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .t span { font-size: 12px; color: var(--muted); }
.li .amt { font: 700 13.5px var(--f-mono); }
.li .amt.pos { color: var(--volt); }
.car-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.car-opt { padding: 12px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); text-align: left; transition: all .2s; }
.car-opt.on { border-color: var(--volt); background: rgba(200,255,46,.06); }
.car-opt b { display: block; font-size: 13px; line-height: 1.25; }
.car-opt span { font: 600 11px var(--f-mono); color: var(--muted); }
.car-opt i { display: block; width: 26px; height: 4px; border-radius: 2px; margin-bottom: 8px; }
.about p { font-size: 13px; color: var(--muted); margin: 6px 0; }
.about ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.about li { margin: 4px 0; }
.about li b { color: var(--text); }

/* auth */
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; height: 52px; border-radius: 15px; background: var(--ink-2); border: 1px solid var(--line-2); padding: 0 14px; font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--volt); box-shadow: 0 0 0 4px rgba(200,255,46,.1); }
.phone-in { display: flex; align-items: center; height: 52px; border-radius: 15px; background: var(--ink-2); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.phone-in:focus-within { border-color: var(--volt); box-shadow: 0 0 0 4px rgba(200,255,46,.1); }
.phone-in em { font-style: normal; padding: 0 4px 0 14px; color: var(--muted); font-weight: 700; }
.phone-in input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: 16px; padding: 0 12px 0 4px; letter-spacing: .04em; }
.otp { width: 100%; height: 62px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-2); text-align: center; font: 700 28px var(--f-mono); letter-spacing: .5em; padding-left: .5em; outline: 0; }
.otp:focus { border-color: var(--volt); box-shadow: 0 0 0 4px rgba(200,255,46,.1); }
.form-err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; margin: 4px 0 8px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sms { position: absolute; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top)); z-index: 100; padding: 12px 14px; border-radius: 20px; background: rgba(36,42,52,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -10px rgba(0,0,0,.7);
  display: flex; gap: 12px; align-items: center; text-align: left; width: calc(100% - 20px); transform: translateY(-140%); transition: transform .5s var(--spring); }
.sms.on { transform: none; }
.sms .ic { width: 38px; height: 38px; border-radius: 11px; background: #36d36b; display: grid; place-items: center; flex: none; }
.sms .ic svg { width: 20px; height: 20px; color: #fff; }
.sms b { font-size: 13px; } .sms span { display: block; font-size: 13px; color: #cfd6df; }
.sms small { margin-left: auto; align-self: flex-start; font-size: 11px; color: var(--dim); }
.steps { display: flex; gap: 6px; margin: 4px 0 16px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--ink-4); transition: background .3s; }
.steps i.on { background: var(--volt); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
.footer-credit { text-align: center; padding: 22px 0 6px; }
