.cft-page #primary,.cft-page .entry-content{max-width:none!important;width:100%!important}
.cft-page .wrap{max-width:1100px}
.cft-page .entry-header{display:none}
.cft,.cft *{box-sizing:border-box}
.cft{background:#12161c;color:#e8edf2;border-radius:14px;padding:clamp(16px,3vw,32px);font:16px/1.55 ui-sans-serif,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;margin:0 0 2em}
.cft h2,.cft h3,.cft p{margin:0;padding:0;color:inherit;text-transform:none;letter-spacing:0}
.cft h2{font-size:clamp(1.7rem,4.5vw,2.6rem);line-height:1.1;font-weight:800;margin-bottom:.5em}
.cft h3{font-size:1.05rem;font-weight:700;margin-bottom:.25em}
.cft .hero{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;margin-bottom:20px}
.cft .hero-t{flex:1 1 280px;max-width:430px;color:#aab4c0}
.cft .pulse{display:block;width:100%;max-width:400px;height:40px;margin-top:18px}
.cft .pulse polyline{fill:none;stroke:#3a4452;stroke-width:2;stroke-linejoin:round;stroke-dasharray:420;stroke-dashoffset:0}
.cft.live .pulse polyline{stroke:#5be3a5;animation:cft-run 2.4s linear infinite}
@keyframes cft-run{from{stroke-dashoffset:420}to{stroke-dashoffset:-420}}
.cft .gauge{margin:0;width:200px;max-width:100%;text-align:center}
.cft .gauge svg{width:100%;height:auto;display:block}
.cft .gauge path{fill:none;stroke-width:10;stroke-linecap:butt}
.cft .z1{stroke:#ff5d5d}.cft .z2{stroke:#ffb43c}.cft .z3{stroke:#5be3a5}
.cft #cft-needle{transform-origin:100px 100px;transform:rotate(-90deg);transition:transform .8s cubic-bezier(.3,1.4,.5,1)}
.cft #cft-needle line{stroke:#e8edf2;stroke-width:3;stroke-linecap:round}
.cft .gauge circle{fill:#e8edf2}
.cft .gauge text{fill:#e8edf2;font:700 16px ui-monospace,Menlo,Consolas,monospace}
.cft figcaption{color:#7f8b99;font-size:.8rem}
.cft .warn{background:#2a2112;border-left:4px solid #ffb43c;padding:12px 16px;border-radius:6px;font-size:.92rem;color:#f0dfbd;margin-bottom:16px}
.cft .note{background:#2a1a1a;border-left:4px solid #ff5d5d;padding:12px 16px;border-radius:6px;font-size:.92rem;margin-bottom:16px}
.cft .bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;background:#1b212a;border-radius:10px;padding:12px 16px;margin-bottom:12px}
.cft .bar label{display:flex;gap:8px;align-items:center;font-size:.92rem;margin:0}
.cft .bar.safe{background:transparent;padding:0 4px}
.cft select,.cft input[type=text],.cft textarea{background:#0d1014;color:#e8edf2;border:1px solid #3a4452;border-radius:6px;padding:.45em .6em;font:inherit;height:auto;width:auto;max-width:100%}
.cft textarea{width:100%;font:13px/1.4 ui-monospace,Menlo,Consolas,monospace}
.cft input[type=checkbox]{width:auto;margin:0}
.cft .btn{background:#ffb43c;color:#12161c;border:0;border-radius:6px;padding:.6em 1.1em;font:600 14px/1.2 inherit;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none;width:auto}
.cft .btn:hover{background:#ffc766;color:#12161c}
.cft .btn.ghost{background:transparent;color:#e8edf2;box-shadow:inset 0 0 0 1px #3a4452}
.cft .btn.ghost:hover{background:#242c37;color:#fff}
.cft .btn:focus-visible,.cft select:focus-visible,.cft input:focus-visible{outline:2px solid #5be3d0;outline-offset:2px}
.cft .btn[disabled]{opacity:.4;cursor:not-allowed}
.cft .chip{margin-left:auto;padding:.25em .8em;border-radius:99px;font-size:.85rem;font-weight:600;background:#2b3340}
.cft .chip.ok{background:#16382a;color:#5be3a5}.cft .chip.bad{background:#3a2020;color:#ff8b8b}.cft .chip.warn{background:#3a3016;color:#ffc766}
.cft .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin:16px 0}
.cft .card{background:#1b212a;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px;border-top:3px solid #2b3340}
.cft .card .top{display:flex;gap:12px}
.cft .ic{flex:none;width:44px;height:44px;border-radius:50%;background:#0d1014;display:grid;place-items:center;font-size:22px}
.cft .card p{color:#aab4c0;font-size:.9rem}
.cft .meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.cft .pill,.cft .tag{font-size:.75rem;padding:.15em .6em;border-radius:99px;background:#2b3340;color:#c5cdd6}
.cft .pill.on{background:#16382a;color:#5be3a5}.cft .pill.off{background:#3a3016;color:#ffc766}
.cft .tag{background:transparent;box-shadow:inset 0 0 0 1px #3a4452;color:#8e9aa8}
.cft .acts{display:flex;gap:8px;margin-top:auto}
.cft .tools{background:#1b212a;border-radius:10px;padding:12px 16px}
.cft .tools summary{cursor:pointer;font-weight:600}
.cft .tl{margin-top:20px}.cft .tl p{color:#aab4c0;font-size:.9rem;margin-bottom:10px}
.cft .log{background:#0d1014;border-radius:6px;height:220px;overflow:auto;padding:8px 10px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;margin-bottom:10px;white-space:pre-wrap}
.cft .log .tx{color:#ffc766}.cft .log .rx{color:#9fe8c8}.cft .log .err{color:#ff8b8b}.cft .log .warn{color:#ffb43c}.cft .log .ok{color:#5be3a5}
.cft #cft-scanout div{margin-top:6px;font:13px ui-monospace,Menlo,Consolas,monospace;color:#9fe8c8}
.cft .card.av{border-top-color:#5be3a5}.cft .card.na{opacity:.45}
.cft .hint{color:#8e9aa8;font-size:.85rem;flex:1 1 260px}
.cft .disc{margin-bottom:12px}
.cft .dout table{width:100%;border-collapse:collapse;margin-top:10px;font:12px ui-monospace,Menlo,Consolas,monospace;border:0}
.cft .dout td{border:0;border-bottom:1px solid #2b3340;padding:4px 8px;word-break:break-all;background:transparent;color:#9fe8c8}
.cft .dout tr.ch td{background:#3a3016;color:#ffd98a}
.cft .guide h3{margin-top:18px}
.cft .guide ul,.cft .guide ol{margin:8px 0 0;padding-left:1.3em;list-style-position:outside}
.cft .guide ul{list-style:disc}.cft .guide ol{list-style:decimal}
.cft .guide li{margin:.35em 0;color:#c5cdd6;font-size:.92rem;line-height:1.5}
.cft .guide b{color:#e8edf2}
@media (prefers-reduced-motion:reduce){.cft.live .pulse polyline{animation:none}.cft #cft-needle{transition:none}}

.cft .bms{margin-bottom:16px}
.cft .bms .bar b{font-size:1.05rem}
.cft .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:12px 0}
.cft .kpi{background:#1b212a;border-radius:10px;padding:10px 12px;border-top:3px solid #2b3340;display:flex;flex-direction:column}
.cft .kpi.hi{border-top-color:#ffb43c}
.cft .kpi span{font-size:.75rem;color:#8e9aa8}
.cft .kpi b{font:700 1.35rem/1.3 ui-monospace,Menlo,Consolas,monospace;color:#e8edf2}
.cft .kpi i{font-style:normal;font-size:.75rem;color:#8e9aa8}
.cft .cells{display:flex;align-items:flex-end;gap:1px;height:130px;background:#0d1014;border-radius:8px;padding:8px 8px 0;margin:10px 0 6px}
.cft .cb{display:block;flex:1;min-width:2px;background:#ffb43c;border-radius:2px 2px 0 0;font-style:normal;opacity:.9}
.cft .cb.lo{background:#ff5d5d}.cft .cb.hi{background:#5be3a5}
.cft .bt{width:100%;border-collapse:collapse;border:0;margin:8px 0;font-size:.9rem}
.cft .bt td{border:0;border-bottom:1px solid #2b3340;padding:5px 8px;background:transparent;color:#c5cdd6}
.cft .bt td:last-child{text-align:right;font-family:ui-monospace,Menlo,Consolas,monospace;color:#e8edf2}
.cft .raw pre{background:#0d1014;border-radius:6px;padding:10px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;color:#9fe8c8;margin:8px 0 0;overflow:auto;max-height:260px}
.cft .raw summary{cursor:pointer;font-size:.9rem;color:#aab4c0}
.cft .bwarn{background:#2a2112;border-left:4px solid #ffb43c;padding:8px 12px;border-radius:6px;font-size:.88rem;color:#f0dfbd;margin:8px 0}

.cft .carfig{flex:1 1 320px;max-width:440px;margin:0;text-align:center}
.cft .car{width:100%;height:auto;display:block;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.cft .car-ioniq,.cft[data-car=ioniq] .car-kona{display:none}
.cft[data-car=ioniq] .car-ioniq{display:block}
.cft .wheel{transform-box:fill-box;transform-origin:center}
.cft.drv .wheel{animation:cft-spin .7s linear infinite}
@keyframes cft-spin{to{transform:rotate(360deg)}}
.cft .carfig figcaption{font-size:.8rem;color:#7f8b99}
.cft .flow{margin:12px 0 0;background:#0d1014;border-radius:10px;padding:8px}
.cft .flow svg{width:100%;height:auto;display:block;max-height:260px}
.cft .fl{fill:none;stroke:#2b3340;stroke-width:5;stroke-linecap:round}
.cft .fl.on{stroke:var(--c,#ffb43c);stroke-dasharray:4 12;animation:cft-flow var(--d,1.2s) linear infinite}
.cft .fl.on.rev{animation-direction:reverse}
@keyframes cft-flow{to{stroke-dashoffset:-16}}
.cft .nd rect,.cft .nd circle{fill:#1b212a;stroke:#3a4452;stroke-width:2}
.cft .nd text{fill:#c5cdd6;font:600 13px ui-sans-serif,"Segoe UI",Roboto,Arial,sans-serif;text-anchor:middle}
.cft .nd text.big{font:700 22px ui-monospace,Menlo,Consolas,monospace;fill:#e8edf2}
.cft .nd text.cap{font-weight:500;font-size:11px;fill:#8e9aa8}
.cft .nd .socf{fill:#5be3a5;opacity:.25;stroke:none;transition:height .8s,y .8s}
.cft .flowmsg{margin:8px 2px 0}
.cft .pack{width:100%;max-width:640px;height:auto;display:block;margin:10px auto 4px}
.cft .pack .case{fill:#11161d;stroke:#3a4452;stroke-width:2}
.cft .pack .ax rect{fill:#2b3340}
.cft .pack .rail{fill:#2b3340}
.cft .pack .lo,.cft .pack .hi{stroke:#fff;stroke-width:2}
.cft .pack text{fill:#8e9aa8;font:11px ui-monospace,Menlo,Consolas,monospace;text-anchor:middle}
.cft .legend{display:flex;align-items:center;gap:8px;max-width:360px;margin:0 auto;font-size:.75rem;color:#8e9aa8}
.cft .legend i{flex:1;height:8px;border-radius:4px;background:linear-gradient(90deg,hsl(8,70%,48%),hsl(68,70%,48%),hsl(130,70%,48%))}
@media (prefers-reduced-motion:reduce){.cft .fl.on,.cft.drv .wheel{animation:none}}

.cft{--car:#d62f2f}.cft[data-car=ioniq]{--car:#2f6fe0}
.cft .tyresec{margin-bottom:16px}.cft .tyresec .bar b{font-size:1.05rem}
.cft .tyres{margin:8px 0 0;background:#0d1014;border-radius:10px;padding:8px}
.cft .tyres svg{width:100%;max-width:400px;height:auto;display:block;margin:0 auto}
.cft .tcar{fill:var(--car)}.cft .tglass{fill:#1d2833}
.cft .tfront,.cft .tpu,.cft .tpt,.cft .tpn{fill:#8e9aa8;font:11px ui-sans-serif,"Segoe UI",Roboto,Arial,sans-serif;text-anchor:middle}
.cft .tpn{font-size:10px}
.cft .tpv{fill:#e8edf2;font:700 20px ui-monospace,Menlo,Consolas,monospace;text-anchor:middle}
.cft .tw{fill:#3a4452;transition:fill .5s}
.cft .tc.ok .tw{fill:#2e9b6c}.cft .tc.warn .tw{fill:#d99a1e}.cft .tc.bad .tw{fill:#d64545}
.cft .tcard{fill:#1b212a;stroke:#3a4452;stroke-width:1.5}
.cft .ringbg{fill:none;stroke:#2b3340;stroke-width:6}
.cft .ring{fill:none;stroke:#5be3a5;stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset 1s}
.cft .tc.warn .ring{stroke:#ffb43c}.cft .tc.bad .ring{stroke:#ff5d5d}
.cft .tc.pulse .tw{animation:cft-pulse .9s ease-out}
.cft .tc.bad .tw{animation:cft-blink 1.1s infinite}
@keyframes cft-pulse{0%{filter:brightness(2.2)}100%{filter:brightness(1)}}
@keyframes cft-blink{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.cft .tc.pulse .tw,.cft .tc.bad .tw{animation:none}}

.cft .chart{width:100%;height:auto;display:block;background:#0d1014;border-radius:8px;margin:8px 0}
.cft .chart .gl{stroke:#2b3340;stroke-width:1}
.cft .chart .ct{fill:#8e9aa8;font:10px ui-monospace,Menlo,Consolas,monospace}
.cft .drvsec,.cft .trsec{margin-bottom:16px}.cft .drvsec .bar b,.cft .trsec .bar b{font-size:1.05rem}
.cft .gear{display:flex;gap:6px;margin:8px 0}
.cft .gear span{width:34px;height:34px;border-radius:8px;background:#1b212a;color:#8e9aa8;display:grid;place-items:center;font:700 16px ui-monospace,Menlo,Consolas,monospace}
.cft .gear span.on{background:#ffb43c;color:#12161c}
.cft .snapbar{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cft .diag{margin-bottom:12px}
.cft .okt{color:#5be3a5}.cft .wnt{color:#ffb43c}.cft .bdt{color:#ff8b8b}

.cft [hidden]{display:none!important}
.cft #cft-carsvg svg{width:100%;height:auto;display:block}

.cft .brandrow{display:flex;align-items:center;gap:14px;margin-bottom:.6em}
.cft .brandrow h2{margin:0;font-size:clamp(2rem,5vw,2.9rem);letter-spacing:-.02em}
.cft .brandrow h2 .ev{color:#5be3a5}
.cft .mark{width:72px;height:72px;flex:none}
.cft .tagl{color:#8e9aa8;font-size:.95rem}
.cft .arcg{transform-box:view-box;transform-origin:50% 50%}
.cft.live .arcg{animation:cft-rot 7s linear infinite}
.cft.live .mark .bolt{animation:cft-bolt 1.4s ease-in-out infinite}
@keyframes cft-rot{to{transform:rotate(360deg)}}
@keyframes cft-bolt{50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.cft.live .arcg,.cft.live .mark .bolt{animation:none}}
