/* 充电服务平台 · 科特迪瓦。私有前缀 ch- / pr- / scr- / con-。 */
.ch-page { --g: var(--case-charge); --g-soft: rgba(70, 227, 154, .14); --a-soft: rgba(242, 179, 61, .16); }
.ch-demo { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line-strong);
  font-size: 12px; font-style: normal; font-weight: 500; color: var(--ink-3); vertical-align: middle; letter-spacing: 0; }

/* ================= 页头主物件 ================= */
.ch-stage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 22px 32px 0; }
.ch-stage-head b { font-size: 17px; font-weight: 650; color: var(--ink-1); }
.ch-stage-head span { font-size: var(--fs-small); color: var(--ink-3); }

.ch-sys { position: relative; display: grid; padding: 26px 32px 30px;
  grid-template-columns: 216px minmax(0, 1fr) 132px 276px; column-gap: 40px; row-gap: 26px;
  grid-template-areas: "phone pay pay con" "phone svc gw con" "phone db ch con"; grid-template-rows: auto auto 1fr; }
.ch-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ch-wires .w { fill: none; stroke: #343a41; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s var(--ease); }
.ch-wires .w.air { stroke-dasharray: 2 5; }
.ch-wires .w.on { stroke: rgba(242, 179, 61, .5); }
.ch-wires .trail { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; }
.ch-wires .core { fill: #fff3d6; }

.ch-node { position: relative; z-index: 1; min-width: 0; }
.ch-k { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.4; margin-bottom: 10px; transition: color .3s var(--ease); }
.ch-k small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ink-4); }
.ch-node.is-on > .ch-k { color: var(--ink-1); }

.ch-phone { grid-area: phone; align-self: center; }
.ch-pay { grid-area: pay; }
.ch-svc { grid-area: svc; }
.ch-db { grid-area: db; align-self: start; }
.ch-gw { grid-area: gw; align-self: center; }
.ch-ch { grid-area: ch; align-self: start; }
.ch-con { grid-area: con; display: flex; flex-direction: column; }
.ch-mcap { display: none; }

/* 发亮的部件 */
.ch-glow { transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }

/* 支付渠道 */
.ch-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ch-pills li { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: linear-gradient(#20252a, #191c20); font-size: 13px; color: var(--ink-2); white-space: nowrap;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.ch-pills li.is-on { border-color: rgba(242,179,61,.75); color: var(--ink-1); box-shadow: 0 0 0 3px var(--a-soft), 0 0 22px rgba(242,179,61,.2); }
.ch-pills li.is-ok { border-color: rgba(70,227,154,.5); color: var(--ink-1); }
.ch-pills li.is-ok::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid var(--g); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }

/* 后端服务 */
.ch-tiles { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); transition: border-color .35s var(--ease); }
.ch-svc.is-on .ch-tiles { border-color: var(--line-strong); }
.ch-tiles li { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 10px 11px; border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(#20252a, #181b1f); font-size: 13px; line-height: 1.35; color: var(--ink-2);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.ch-tiles svg, .ch-dbs svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.ch-tiles li.is-on, .ch-dbs li.is-on { border-color: rgba(242,179,61,.7); color: var(--ink-1); box-shadow: 0 0 0 3px var(--a-soft), 0 0 26px rgba(242,179,61,.16); }
.ch-tiles li.is-on svg, .ch-dbs li.is-on svg { stroke: var(--amber); }
.ch-tiles [data-tile="auth"] { order: 0; } .ch-tiles [data-tile="pay"] { order: 1; } .ch-tiles [data-tile="site"] { order: 2; }
.ch-tiles [data-tile="wallet"] { order: 3; } .ch-tiles [data-tile="ana"] { order: 4; } .ch-tiles [data-tile="sess"] { order: 5; }

/* 数据库 */
.ch-dbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ch-dbs li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(#1e2227, #17191d); transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.ch-dbs span { display: grid; font-size: 13px; font-weight: 600; color: var(--ink-1); line-height: 1.3; min-width: 0; }
.ch-dbs small { font-size: 12px; font-weight: 400; color: var(--ink-3); }

/* 网关与充电桩 */
.ch-gwbox { width: 124px; }
.ch-gwbox svg, .ch-pile svg { width: 100%; height: auto; overflow: visible; }
.ch-gwbox .body { fill: #1d2125; stroke: var(--line-strong); }
.ch-gwbox .face { fill: #141619; }
.ch-gwbox .vent { stroke: #2e343a; stroke-width: 1.5; }
.ch-gwbox .led { fill: #3a4048; transition: fill .2s; }
.ch-gwbox .led.is-on { fill: var(--g); filter: drop-shadow(0 0 3px var(--g)); }
.ch-gwbox .wifi path { fill: none; stroke: #3a4048; stroke-width: 2.4; stroke-linecap: round; transition: stroke .2s; }
.ch-gwbox .wifi circle { fill: #3a4048; transition: fill .2s; }
.ch-gwbox .wifi .is-on { stroke: var(--amber); fill: var(--amber); }
.ch-gwbox .wifi circle.is-on { stroke: none; }
.ch-gw.is-on .body { stroke: rgba(242,179,61,.7); }
.ch-pile { width: 132px; }
.ch-pile .shadow { fill: rgba(0,0,0,.45); }
.ch-pile .pedge { fill: none; stroke: var(--line-strong); transition: stroke .35s; }
.ch-ch.is-on .pedge { stroke: rgba(242,179,61,.7); }
.ch-pile .pscreen { fill: #0f1215; stroke: #2e343a; transition: fill .3s; }
.ch-pile .pscreen.s-start { fill: rgba(242,179,61,.28); }
.ch-pile .pscreen.s-charge { fill: rgba(70,227,154,.22); }
.ch-pile .pbolt { fill: #3a4048; transition: fill .3s; }
.ch-pile .pscreen.s-start + .pbolt { fill: var(--amber); }
.ch-pile .pscreen.s-charge + .pbolt { fill: var(--g); }
.ch-pile .strip { fill: #121417; stroke: #2a2f35; }
.ch-pile .cable { fill: none; stroke: #2b3036; stroke-width: 5; stroke-linecap: round; }
.ch-pile .holster { fill: #22272c; stroke: var(--line-strong); }
.ch-ch > .ch-k { margin: 8px 0 0; }
.ch-gw > .ch-k small, .ch-ch > .ch-k small { display: block; margin: 2px 0 0; }

/* 运营控制台 */
.ch-conbox { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(#1c2025, #15181b); transition: border-color .35s var(--ease); }
.ch-con.is-on .ch-conbox { border-color: rgba(242,179,61,.55); }
.con-head { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.con-head b { font-size: 15px; font-weight: 650; }
.con-head span { font-size: 12px; color: var(--ink-3); }
.con-pile { display: grid; gap: 4px; }
.con-g { font-size: 12px; color: var(--ink-3); }
.con-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 30px; padding: 0 8px 0 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2); transition: background .35s var(--ease); }
.con-rec { display: grid; gap: 0; padding-top: 8px; border-top: 1px solid var(--line); }
.con-rec .con-row { height: 25px; font-size: 12px; }
.con-rec .con-g { margin-bottom: 2px; }
.con-row.is-on { background: rgba(242,179,61,.09); color: var(--ink-1); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; border: 1px solid var(--line-strong);
  font-size: 12px; font-style: normal; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.chip.fix, .chip.wait { border-style: dashed; color: var(--ink-3); }
.chip.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); box-shadow: 0 0 14px rgba(242,179,61,.45); }
.chip.ok { border-color: rgba(70,227,154,.55); color: var(--g); }
.con-live { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.con-live div { display: grid; gap: 2px; }
.con-live span, .con-tx > span { font-size: 12px; color: var(--ink-3); }
.con-live b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.con-tx { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.con-tx b { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 时间轴 */
.ch-tl { display: grid; gap: 12px; padding: 18px 32px 18px; border-top: 1px solid var(--line); background: rgba(14,16,18,.55); }
.ch-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 26px; }
.ch-cap b { font-size: 16px; font-weight: 650; color: var(--ink-1); }
.ch-cap span { font-size: 15px; color: var(--ink-2); }
.ch-track { position: relative; height: 26px; cursor: pointer; touch-action: none; border-radius: 6px; }
.ch-track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, var(--line-strong) 0 calc(100% - 1px), transparent 0) 0 0 / calc(100% / 7 + .15px) 2px repeat-x; }
.ch-fill { position: absolute; left: 0; top: 12px; height: 2px; width: 0; border-radius: 1px; background: var(--amber); }
.ch-knob { position: absolute; top: 13px; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242,179,61,.18), 0 0 16px rgba(242,179,61,.5); }
.ch-steps { list-style: none; margin: -4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ch-steps button { display: grid; gap: 1px; width: 100%; padding: 4px 8px 4px 0; border: 0; background: none; text-align: left; cursor: pointer;
  color: var(--ink-3); font-size: 14px; line-height: 1.4; transition: color .25s var(--ease); }
.ch-steps button i { font-style: normal; font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; transition: color .25s; }
.ch-steps button:hover { color: var(--ink-1); }
.ch-steps .is-done { color: var(--ink-2); }
.ch-steps .is-cur { color: var(--ink-1); font-weight: 600; }
.ch-steps .is-cur i { color: var(--amber); }
.ch-tl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ch-replay { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: none; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: color .2s, border-color .2s; }
.ch-replay:hover { color: var(--ink-1); border-color: var(--ink-3); }


/* ---------- 手机与 App 界面（按屏幕宽度缩放，最小字号有下限） ---------- */
.ch-device { width: 100%; max-width: 216px; aspect-ratio: 216 / 436; padding: 7px; border-radius: 30px; background: #050607;
  border: 1px solid var(--line-strong); box-shadow: 0 40px 70px -36px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.03);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.ch-phone.is-on .ch-device { border-color: rgba(242,179,61,.6); box-shadow: 0 40px 70px -36px rgba(0,0,0,.9), 0 0 0 3px var(--a-soft); }
.ch-screen { --f1: max(12px, 6cqi); --f2: max(13px, 7cqi); --f3: max(14px, 9cqi); --fx: max(20px, 15cqi);
  container-type: inline-size; position: relative; height: 100%; overflow: hidden; border-radius: 23px; background: #101316; color: var(--ink-1); }
.ch-bar { display: flex; justify-content: space-between; align-items: center; height: 9%; padding: 0 9cqi; font-size: var(--f1); color: var(--ink-2); font-weight: 600; }
.ch-bar i { width: 12cqi; height: 3.6cqi; border-radius: 2cqi; border: 1px solid var(--ink-3); position: relative; }
.ch-bar i::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; border-radius: 1cqi; background: var(--ink-2); }
.scr { position: absolute; inset: 9% 0 0; display: flex; flex-direction: column; gap: 5cqi; padding: 3cqi 7cqi 8cqi; opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s; }
.scr.is-cur { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.scr h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 2cqi 3cqi; font-size: max(14px, 8.4cqi); font-weight: 650; line-height: 1.25; }
.scr h4 .ch-demo { font-size: var(--f1); height: auto; padding: .5cqi 2.5cqi; white-space: nowrap; }
.scr-sub { font-size: var(--f2); color: var(--ink-2); text-align: center; }
.scr-meta { font-size: var(--f1); color: var(--ink-3); text-align: center; }
.scr-btn { display: flex; align-items: center; justify-content: center; height: max(30px, 19cqi); margin-top: auto; border-radius: 10cqi;
  background: var(--g); color: #06140d; font-size: var(--f2); font-weight: 650; flex: none; transition: filter .2s, transform .2s; }
.scr-btn.ghost { background: none; border: 1px solid var(--line-strong); color: var(--ink-1); }
.scr-btn.is-press { filter: brightness(1.25); transform: scale(.97); }

.scr-chips { display: flex; gap: 2.5cqi; overflow: hidden; flex: none; mask-image: linear-gradient(90deg, #000 80%, transparent); }
.scr-chips span { flex: none; padding: 1.2cqi 4cqi; border-radius: 6cqi; border: 1px solid var(--line-strong); font-size: var(--f1); color: var(--ink-2); }
.scr-chips .on { background: var(--g-soft); border-color: rgba(70,227,154,.6); color: var(--g); }
.scr-mapbox { flex: 1; min-height: 0; border-radius: 6cqi; overflow: hidden; background: #0c1417; border: 1px solid #1d272b; }
.scr-mapbox svg { width: 100%; height: 100%; }
.scr-mapbox .road { fill: none; stroke: #1e2c31; stroke-width: 7; }
.scr-mapbox .road.thin { stroke-width: 4; }
.scr-mapbox .route { fill: none; stroke: var(--g); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.scr-mapbox .pin circle { fill: #3c4a50; }
.scr-mapbox .pin.best circle { fill: var(--g); }
.scr-mapbox .pin.best .halo { fill: rgba(70,227,154,.22); }
.scr-mapbox .me circle { fill: #e9f1ff; }
.scr-mapbox .me .halo { fill: rgba(233,241,255,.18); }
.scr-card { display: flex; align-items: center; gap: 3cqi; padding: 4cqi; border-radius: 6cqi; background: #181d21; border: 1px solid #242a2f; flex: none; }
.scr-card p { flex: 1; min-width: 0; display: grid; }
.scr-card b { font-size: var(--f2); }
.scr-card span { font-size: var(--f1); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-card .scr-btn { margin: 0; height: max(26px, 15cqi); padding: 0 4cqi; font-size: var(--f1); }

.scr-qr { position: relative; width: 74cqi; aspect-ratio: 1; margin: 6cqi auto 2cqi; padding: 9cqi; }
.scr-qr svg { width: 100%; height: 100%; }
.scr-qr svg rect, .scr-qr svg path { fill: none; stroke: #d7dbe0; stroke-width: 3; }
.scr-qr svg .f { fill: #d7dbe0; stroke: none; }
.scr-qr .c { position: absolute; width: 14cqi; height: 14cqi; border: 0 solid var(--ink-2); transition: border-color .3s; }
.scr-qr .tl { left: 0; top: 0; border-width: 2px 0 0 2px; border-radius: 4cqi 0 0 0; }
.scr-qr .tr { right: 0; top: 0; border-width: 2px 2px 0 0; border-radius: 0 4cqi 0 0; }
.scr-qr .bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-radius: 0 0 0 4cqi; }
.scr-qr .br { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-radius: 0 0 4cqi 0; }
.scr-qr.is-ok .c { border-color: var(--g); }
.scr-scanline { position: absolute; left: 6cqi; right: 6cqi; top: 10%; height: 2px; background: var(--g); box-shadow: 0 0 10px 2px rgba(70,227,154,.55); }
.scr-qr.is-ok .scr-scanline { opacity: 0; }
.scr-sub.is-ok { color: var(--g); }

.scr-ring { position: relative; width: 58cqi; aspect-ratio: 1; margin: 8cqi auto 4cqi; }
.scr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr-ring .tr { fill: none; stroke: #20262b; stroke-width: 5; }
.scr-ring .pg { fill: none; stroke: var(--g); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.scr-ring .bolt { position: absolute; inset: 32%; width: 36%; height: 36%; transform: none; fill: var(--g); }
.scr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 3cqi; }
.scr-steps li { display: flex; align-items: center; gap: 3cqi; font-size: var(--f2); color: var(--ink-4); transition: color .3s; }
.scr-steps li::before { content: ""; flex: none; width: 5cqi; height: 5cqi; border-radius: 50%; border: 1px solid currentColor; transition: background .3s; }
.scr-steps li.is-ok { color: var(--ink-1); }
.scr-steps li.is-ok::before { background: var(--g); border-color: var(--g); }

.scr-soc { display: flex; align-items: center; gap: 4cqi; margin-top: 2cqi; }
.scr-batt { position: relative; flex: 1; height: 13cqi; border-radius: 3.5cqi; border: 1px solid var(--line-strong); padding: 1.2cqi; }
.scr-batt::after { content: ""; position: absolute; right: -2.4cqi; top: 30%; width: 1.6cqi; height: 40%; border-radius: 0 1cqi 1cqi 0; background: var(--line-strong); }
.scr-batt i { display: block; height: 100%; width: 28%; border-radius: 2.4cqi; background: linear-gradient(90deg, #2bb979, var(--g)); box-shadow: 0 0 12px rgba(70,227,154,.45); }
.scr-soc b { font-size: var(--f3); font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: right; }
.scr-metrics { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; }
.scr-metrics div { padding: 3.5cqi 4cqi; border-radius: 5cqi; background: #171b1f; border: 1px solid #22282d; min-width: 0; }
.scr-metrics dt { font-size: var(--f1); color: var(--ink-3); }
.scr-metrics dd { margin: 0; font-size: var(--f1); color: var(--ink-2); white-space: nowrap; }
.scr-metrics dd b { font-size: var(--f3); color: var(--ink-1); font-weight: 650; font-variant-numeric: tabular-nums; }

.scr-rows { margin: 0; display: grid; gap: 0; }
.scr-rows div { display: flex; justify-content: space-between; gap: 3cqi; padding: 2.6cqi 0; border-bottom: 1px solid #20262b; font-size: var(--f2); }
.scr-rows dt { color: var(--ink-3); }
.scr-rows dd { margin: 0; color: var(--ink-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scr-rows .tot { border-bottom: 0; padding-top: 4cqi; }
.scr-rows .tot dd { font-size: var(--f3); font-weight: 650; }

.scr-pays { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.6cqi; }
.scr-pays li { display: flex; align-items: center; gap: 3.5cqi; padding: 3.4cqi 4cqi; border-radius: 5cqi; border: 1px solid #262c31; background: #161a1e;
  font-size: var(--f2); color: var(--ink-2); white-space: nowrap; }
.scr-pays i { flex: none; width: 5.5cqi; height: 5.5cqi; border-radius: 50%; border: 1px solid var(--ink-3); }
.scr-pays .on { border-color: rgba(70,227,154,.6); color: var(--ink-1); background: rgba(70,227,154,.07); }
.scr-pays .on i { border: 1.6cqi solid var(--g); }

.scr-done { align-items: center; justify-content: center; text-align: center; }
.scr-done h4 { justify-content: center; }
.scr-done .scr-rows { width: 100%; }
.scr-check { width: 28cqi; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--g-soft); border: 1px solid rgba(70,227,154,.5); }
.scr-check svg { width: 55%; fill: none; stroke: var(--g); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- 页头物件：窄屏版式 ---------- */
@media (max-width: 1079px) {
  .ch-stage-head { padding: 18px 18px 0; }
  .ch-sys { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); column-gap: 14px; row-gap: 22px; padding: 20px 14px 22px;
    grid-template-areas: "phone cap" "phone pay" "svc svc" "db gw" "con ch"; grid-template-rows: 1fr auto auto auto auto; }
  .ch-phone { align-self: start; }
  .ch-device { max-width: 220px; }
  .ch-mcap { grid-area: cap; display: grid; align-content: start; gap: 6px; position: relative; z-index: 1; }
  .ch-mcap b { font-size: 15px; font-weight: 650; color: var(--ink-1); }
  .ch-mcap b::before { content: attr(data-no); display: block; font-size: 12px; font-weight: 500; color: var(--amber); }
  .ch-mcap span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
  .ch-pay { align-self: end; }
  .ch-pills { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
  .ch-pills li { height: 30px; padding: 0 9px; gap: 5px; font-size: 11px; }
  .ch-pills li.is-ok::before { display: none; }
  .ch-screen { --f1: max(11px, 6cqi); --f2: max(11px, 7cqi); --f3: max(13px, 9cqi); }
  .scr h4 { font-size: max(13px, 8.4cqi); }
  .scr-rows div { flex-wrap: wrap; }
  .scr-done .scr-rows dd { font-size: var(--f2); }
  .ch-svc > .ch-k { text-align: center; }
  .ch-svc > .ch-k small { display: none; }
  .ch-tiles { padding: 8px; gap: 6px; border-radius: 12px; }
  .ch-tiles li { flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 7px 4px; text-align: center; font-size: 12px; }
  .ch-tiles svg { width: 17px; height: 17px; }
  .ch-tiles li { order: 0 !important; }
  .ch-dbs { flex-direction: column; gap: 6px; }
  .ch-dbs li { padding: 7px 9px; gap: 8px; }
  .ch-dbs svg { width: 16px; height: 16px; }
  .ch-dbs span { font-size: 12px; }
  .ch-dbs small { font-size: 11px; }
  .ch-gw, .ch-ch { display: flex; flex-direction: column; align-self: start; }
  .ch-gw > .ch-k, .ch-ch > .ch-k { margin: 0; font-size: 12px; }
  .ch-gw > .ch-k { margin-bottom: 6px; }
  .ch-ch > .ch-k { margin-top: 6px; }
  .ch-gw > .ch-k small { display: none; }
  .ch-ch > .ch-k small { display: block; margin: 2px 0 0; font-size: 11px; }
  .ch-gwbox, .ch-pile { width: 70px; flex: none; align-self: flex-end; margin-right: 6px; }
  .ch-con > .ch-k small { display: none; }
  .ch-conbox { padding: 10px; gap: 8px; }
  .con-head { padding-bottom: 7px; }
  .con-head b { font-size: 13px; }
  .con-head span, .con-g { font-size: 11px; }
  .con-rec { display: none; }
  .con-row { height: 28px; padding: 0 4px 0 6px; font-size: 12px; }
  .chip { height: 20px; padding: 0 7px; font-size: 11px; }
  .con-live { grid-template-columns: 1fr 1fr; padding-top: 7px; gap: 6px; }
  .con-live .ch-demo { grid-column: 1 / -1; justify-self: start; font-size: 11px; }
  .con-live span, .con-tx > span { font-size: 11px; }
  .con-live b { font-size: 14px; }
  .con-tx { flex-wrap: wrap; gap: 4px 8px; padding-top: 7px; }
  .con-tx b { font-size: 12px; }
  .ch-tl { padding: 14px 16px 16px; }
  .ch-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ch-steps button { padding: 4px 0; align-items: start; }
  .ch-steps button i { font-size: 13px; }
  .ch-steps button span { display: none; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .ch-steps button span { display: block; font-size: 13px; }
}

/* ================= 02 系统组成 ================= */
.ch-parts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ch-map { display: grid; gap: 12px; }
.ch-tier { position: relative; display: grid; gap: 12px; }
.ch-tier--top { grid-template-columns: 1fr 1fr; }
.ch-tier--mid { grid-template-columns: minmax(0, 1fr) 140px; }
.ch-tier + .ch-tier::before { content: ""; position: absolute; left: 34%; top: -12px; width: 1px; height: 12px; background: var(--line-strong); }
.ch-tier--top + .ch-tier::after { content: ""; position: absolute; left: 66%; top: -12px; width: 1px; height: 12px; background: var(--line-strong); }
.ch-tier--mid .side::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 1px; background: var(--line-strong); }
.ch-map button { position: relative; display: grid; gap: 3px; padding: 15px 18px; text-align: left; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-raised); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.ch-map button:hover { border-color: var(--line-strong); background: var(--surface); }
.ch-map button b { font-size: 16px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.ch-map button span { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.ch-map button[aria-selected="true"] { border-color: rgba(242,179,61,.6); background: var(--surface); box-shadow: inset 3px 0 0 var(--amber); }
.ch-map button[aria-selected="true"] b { color: var(--ink-1); }
.ch-detail { position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px 26px 26px; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--bg-raised); min-height: 100%; }
.ch-detail-k { font-size: 13px; color: var(--ink-3); }
.ch-detail h3 { margin-top: 6px; font-size: 22px; }
.ch-detail ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ch-detail li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ch-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--amber); }
@media (max-width: 720px) {
  .ch-parts { grid-template-columns: 1fr; }
  .ch-detail { position: static; min-height: 0; }
  .ch-tier--mid { grid-template-columns: minmax(0, 1fr) 112px; }
  .ch-map button { padding: 12px 14px; }
  .ch-map button b { font-size: 15px; }
}


/* ================= 03 尖峰 / 离峰定价 ================= */
.ch-price { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: stretch; }
.pr-main { padding: 22px 26px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-raised); min-width: 0; }
.pr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pr-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 9px; border: 1px solid var(--line-strong); }
.pr-tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 6px; background: none; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.pr-tabs button:hover { color: var(--ink-1); }
.pr-tabs button[aria-checked="true"] { background: var(--ink-1); color: var(--bg); font-weight: 600; }

.pr-band { margin-top: 28px; user-select: none; -webkit-user-select: none; }
.pr-plot { position: relative; height: 210px; margin-top: 8px; border-bottom: 1px solid var(--line-strong);
  background: repeating-linear-gradient(0deg, transparent 0 41px, rgba(255,255,255,.035) 41px 42px); }
.pr-off { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(rgba(70,227,154,.2), rgba(70,227,154,.05)); border-top: 2px solid var(--g); transition: height .2s var(--ease); }
.pr-off-k, .pr-peak-k { position: absolute; font-size: 13px; color: var(--ink-1); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.pr-off-k { bottom: calc(100% + 6px); }
.pr-off-k small, .pr-peak-k small { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.pr-peak { position: absolute; bottom: 0; border-top: 2px solid var(--ink-1); transition: height .2s var(--ease);
  background: repeating-linear-gradient(135deg, rgba(236,235,230,.13) 0 6px, rgba(236,235,230,.05) 6px 12px); box-shadow: inset 1px 0 0 rgba(236,235,230,.35), inset -1px 0 0 rgba(236,235,230,.35); }
.pr-peak-k { left: 50%; bottom: calc(100% + 18px); transform: translateX(-50%); font-weight: 600; text-align: center; }
.pr-h { position: absolute; z-index: 2; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
.pr-h::after { content: ""; position: absolute; border-radius: 3px; background: var(--ink-1); box-shadow: 0 0 0 3px rgba(14,16,18,.9); transition: background .2s, transform .2s; }
.pr-h:hover::after, .pr-h.is-drag::after { background: var(--amber); }
.pr-h.is-drag { cursor: grabbing; }
.pr-h--x { width: 28px; margin-left: -14px; bottom: 0; }
.pr-h--x::after { left: 12px; top: 50%; width: 4px; height: 30px; margin-top: -15px; }
.pr-h--y { height: 28px; width: 56px; margin: -14px 0 0 -28px; }
.pr-h--y::after { left: 12px; top: 12px; width: 32px; height: 4px; }
.pr-h--off::after { background: var(--g); }
.pr-now { position: absolute; top: -6px; bottom: 0; width: 0; border-left: 1px dashed var(--amber); pointer-events: none; z-index: 1; }
.pr-now span { position: absolute; top: -18px; left: 0; transform: translateX(-50%); font-size: 12px; font-style: normal; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-hours { position: relative; height: 24px; }
.pr-hours span { position: absolute; top: 6px; transform: translateX(-50%); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pr-hours span:first-child { transform: none; }
.pr-hours span:last-child { transform: translateX(-100%); }
.pr-sess { position: relative; height: 40px; margin-top: 8px; border-radius: 8px; background: rgba(255,255,255,.025); }
.pr-sess-k { display: none; }
.pr-sess-b { position: absolute; top: 4px; bottom: 4px; min-width: 16px; display: flex; align-items: center; justify-content: center; padding: 0; overflow: visible;
  border-radius: 6px; border: 1px solid rgba(242,179,61,.7); background: rgba(242,179,61,.14); color: var(--ink-1); cursor: grab; touch-action: none; }
.pr-sess-b.is-drag { cursor: grabbing; background: rgba(242,179,61,.24); }
.pr-sess-b span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.pr-sess-b.is-narrow span { left: calc(100% + 8px); transform: none; color: var(--ink-2); }
.pr-sess-b.is-flip span { left: auto; right: calc(100% + 8px); }

.pr-bill { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pr-bill-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pr-bill-head b { font-size: 16px; font-weight: 600; }
.pr-bill-head span { font-size: 14px; color: var(--ink-3); }
.pr-split { display: flex; height: 8px; margin-top: 14px; border-radius: 4px; overflow: hidden; background: var(--surface); }
.pr-split i { display: block; height: 100%; transition: width .25s var(--ease); }
.pr-split .o { background: var(--g); }
.pr-split .p { background: repeating-linear-gradient(135deg, #d6d5d0 0 4px, #8b8f94 4px 8px); }
.pr-lines { margin: 12px 0 0; display: grid; }
.pr-lines div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pr-lines dt { color: var(--ink-2); }
.pr-lines dt small { margin-left: 8px; color: var(--ink-3); font-size: 13px; }
.pr-lines dd { margin: 0; color: var(--ink-1); font-variant-numeric: tabular-nums; }
.pr-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.pr-total span { font-size: 14px; color: var(--ink-3); }
.pr-total b { font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }

.pr-side { display: flex; flex-direction: column; min-width: 0; }
.pr-card { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-raised); transition: border-color .4s var(--ease); }
.pr-card.is-hit { border-color: rgba(242,179,61,.65); }
.pr-card-k { font-size: 13px; color: var(--ink-3); }
.pr-card-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pr-card-t b { font-size: 18px; }
.pr-live { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(70,227,154,.5); font-size: 12px; color: var(--g); transition: background .3s, color .3s, border-color .3s; }
.pr-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pr-live.is-flash { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pr-card dl { margin: 12px 0 0; display: grid; }
.pr-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pr-card dt { color: var(--ink-3); }
.pr-card dd { margin: 0; color: var(--ink-1); font-variant-numeric: tabular-nums; text-align: right; }
.pr-card-f { margin-top: 10px; font-size: 12px; color: var(--ink-4); }
.pr-wire { position: relative; height: 40px; }
.pr-wire svg { position: absolute; left: 50%; top: 0; width: 20px; height: 100%; margin-left: -10px; }
.pr-wire path { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.pr-wire i { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff3d6; opacity: 0;
  box-shadow: 0 0 0 3px rgba(242,179,61,.35), 0 0 14px 4px rgba(242,179,61,.55); }
.pr-wire i.is-go { animation: pr-push .55s var(--ease) forwards; }
@keyframes pr-push { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.pr-app { margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: #101316; border: 1px solid #242a2f; }
.pr-app-t { font-size: 13px; color: var(--ink-3); }
.pr-app-p { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.pr-app-p b { font-size: 30px; font-weight: 650; color: var(--ink-1); font-variant-numeric: tabular-nums; margin-right: 4px; }
.pr-app-s { margin-top: 6px; display: inline-flex; padding: 2px 9px; border-radius: 10px; font-size: 12px; background: var(--g-soft); color: var(--g); }
.pr-app-s.is-peak { background: rgba(236,235,230,.1); color: var(--ink-1); }
.pr-app-n { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 960px) {
  .ch-price { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pr-main { padding: 16px 14px 18px; }
  .pr-tabs button { padding: 0 10px; font-size: 13px; }
  .pr-plot { height: 180px; }
  .pr-peak-k, .pr-off-k { font-size: 12px; }
  .pr-peak-k small, .pr-off-k small { display: block; margin: 0; font-size: 11px; text-align: center; }
  .pr-hours span { font-size: 11px; }
  .pr-hours span:nth-child(even) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-wire i.is-go { animation: none; }
  .scr, .scr.is-cur, .pr-off, .pr-peak, .pr-split i { transition: none; }
}

/* 窄手机屏（页面窄屏时手机约 160px 宽）：精简 App 界面，保证字不小于 11px 也不被截断 */
@container (max-width: 175px) {
  .scr { gap: 4cqi; }
  .scr-card .scr-btn, .scr-charge .scr-btn { display: none; }
  .scr-metrics { grid-template-columns: 1fr; gap: 0; }
  .scr-metrics div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; padding: 2.2cqi 0; border: 0; border-bottom: 1px solid #20262b; border-radius: 0; background: none; }
  .scr-metrics dd b { font-size: var(--f2); }
  .scr-bill .scr-rows div:nth-child(2), .scr-bill .scr-rows div:nth-child(4) { display: none; }
  .scr-bill .scr-rows div { padding: 1.8cqi 0; }
  .scr-pays li { display: block; padding: 2.6cqi 3cqi; }
  .scr-pays li i { display: inline-block; vertical-align: -0.5cqi; margin-right: 3cqi; }
  .scr-pays { gap: 2cqi; }
}
.scr-pays li { overflow: hidden; text-overflow: ellipsis; }
