/* RECONVOLT — base tokens */
@font-face { font-family: 'Big Shoulders'; src: url(../fonts/big-shoulders-display-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders'; src: url(../fonts/big-shoulders-display-latin-ext-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; src: url(../fonts/instrument-sans-latin-standard-normal.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; src: url(../fonts/instrument-sans-latin-ext-standard-normal.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Red Hat Mono'; src: url(../fonts/red-hat-mono-latin-wght-normal.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --carbon: #0b0c0e; --panel: #131417; --graphite: #1c1e22; --line: rgba(236, 232, 223, .12); --line-2: rgba(236, 232, 223, .22);
  --bone: #ece8df; --bone-2: rgba(236, 232, 223, .66); --bone-3: rgba(236, 232, 223, .42); --steel: #8a90a0;
  --amber: #ff6a23; --ember: #ffb07a; --amber-d: rgba(255, 106, 35, .14);
  --f-display: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif; --f-text: 'Instrument Sans', system-ui, sans-serif; --f-mono: 'Red Hat Mono', ui-monospace, monospace;
  --ch: 14px; /* chamfer */
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--carbon); color: var(--bone); font: 400 16px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--amber); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .88; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.chamfer { clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch)); }

.btn { --c: var(--bone); display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; font: 600 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background .3s, color .3s; }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-solid { background: var(--amber); color: #120903; }
.btn-solid:hover { background: var(--ember); }
.btn-line { background: var(--line-2); color: var(--bone); }
.btn-line::before { content: ''; position: absolute; inset: 1px; background: var(--carbon); clip-path: inherit; z-index: -1; transition: background .3s; }
.btn-line { isolation: isolate; }
.btn-line:hover::before { background: var(--graphite); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11.5px; }

.lang { display: flex; border: 1px solid var(--line); }
.lang button { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; padding: 8px 10px; color: var(--bone-3); transition: color .2s, background .2s; }
.lang button.on { color: var(--carbon); background: var(--bone); }
.lang button:hover:not(.on) { color: var(--bone); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 26px; fill: var(--amber); }
.brand-word { width: 128px; height: 18px; fill: var(--bone); }
.back-link { color: var(--bone-3); }
.back-link:hover { color: var(--bone); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* RECONVOLT — app (explorer / configurator / planner / presentation) */
html, body { height: 100%; overflow: hidden; }
body { background: var(--carbon); }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; touch-action: none; }
.display { line-height: .9; }
.icb { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--bone-2); background: rgba(11, 12, 14, .6); backdrop-filter: blur(10px); transition: all .2s; }
.icb:hover { color: var(--bone); border-color: var(--bone-3); }
.icb[aria-pressed="true"] { color: var(--amber); border-color: var(--amber); }
.icb-solid { background: var(--amber); border-color: var(--amber); color: #140a04; }
.icb-solid:hover { background: var(--ember); color: #140a04; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--carbon); transition: opacity .8s, visibility .8s; }
.loader.out { opacity: 0; visibility: hidden; }
.loader-mark { width: 64px; height: 56px; fill: var(--amber); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.loader-bar { width: 220px; height: 1px; background: var(--line-2); }
.loader-bar i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform .3s; }
.loader p { color: var(--bone-3); margin: 0; }
.loader b { color: var(--bone); font-weight: 500; }

/* top bar */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 22px;
  background: linear-gradient(180deg, rgba(11, 12, 14, .85), rgba(11, 12, 14, 0)); }
.top-r { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.tabs { display: flex; border: 1px solid var(--line-2); background: rgba(11, 12, 14, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tabs button { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font: 600 15px/1 var(--f-text); color: var(--bone-2); position: relative; transition: color .2s, background .2s; }
.tabs button + button { border-left: 1px solid var(--line); }
.tabs .tn { font-size: 10px; color: var(--bone-3); }
.tabs button:hover { color: var(--bone); }
.tabs button[aria-selected="true"] { color: var(--bone); background: rgba(255, 106, 35, .1); }
.tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); }
.tabs button[aria-selected="true"] .tn { color: var(--amber); }

/* panes */
.pane { display: none; }
body[data-tab="ex"] .pane-ex, body[data-tab="cf"] .pane-cf, body[data-tab="pl"] .pane-pl, body[data-tab="pr"] .pane-pr { display: block; }
.pane > * { z-index: 20; }

/* hotspots */
.hotspots { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
body:not([data-tab="ex"]) .hotspots { display: none; }
.hs { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px; pointer-events: auto; display: grid; place-items: center; transition: opacity .3s; }
.hs::before { content: ''; position: absolute; inset: 9px; border: 1px solid var(--amber); transform: rotate(45deg); background: rgba(11, 12, 14, .5); transition: all .3s var(--ease); }
.hs::after { content: ''; width: 4px; height: 4px; background: var(--amber); position: relative; }
.hs i { position: absolute; inset: 0; border: 1px solid var(--amber); transform: rotate(45deg) scale(.5); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: rotate(45deg) scale(.5); opacity: .9; } 100% { transform: rotate(45deg) scale(1.3); opacity: 0; } }
.hs span { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; background: rgba(11, 12, 14, .82);
  border: 1px solid var(--line-2); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.hs:hover span, .hs.on span { opacity: 1; }
.hs:hover::before, .hs.on::before { background: var(--amber); inset: 7px; }
.hs.on::after { background: var(--carbon); }
.hs.hide { opacity: 0; pointer-events: none; }

/* explorer */
.tools-v { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
.tb { display: flex; align-items: center; gap: 12px; width: 156px; padding: 11px 14px; border: 1px solid var(--line); background: rgba(11, 12, 14, .6); backdrop-filter: blur(10px); color: var(--bone-2); font-size: 14px; text-align: left; transition: all .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.tb:hover { color: var(--bone); border-color: var(--line-2); background: rgba(28, 30, 34, .8); }
.tb[aria-pressed="true"] { color: #140a04; background: var(--amber); border-color: var(--amber); }
.tb[disabled] { opacity: .35; pointer-events: none; }
.views { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; }
.views > .mono { color: var(--bone-3); }
.seg { display: flex; border: 1px solid var(--line-2); background: rgba(11, 12, 14, .6); backdrop-filter: blur(10px); }
.seg button { padding: 11px 16px; font: 500 13px/1 var(--f-text); color: var(--bone-2); transition: all .2s; white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { color: var(--bone); }
.seg button[aria-checked="true"], .seg button[aria-pressed="true"] { background: var(--bone); color: var(--carbon); }
.seg-full { width: 100%; } .seg-full button { flex: 1; padding: 11px 6px; }
.seg-wrap { flex-wrap: wrap; } .seg-wrap button { flex: 1 1 45%; border-top: 1px solid var(--line); margin-top: -1px; }
.hint { position: fixed; right: 22px; bottom: 34px; color: var(--bone-3); margin: 0; max-width: 300px; text-align: right; }
.info { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); width: 340px; padding: 26px 26px 24px; background: rgba(19, 20, 23, .88); backdrop-filter: blur(18px); border: 1px solid var(--line-2); animation: infoIn .5s var(--ease);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.info::before { content: ''; position: absolute; left: 0; top: 0; width: 46px; height: 2px; background: var(--amber); }
@keyframes infoIn { from { opacity: 0; transform: translate(20px, -50%); } }
.info-x { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; }
.info-k { color: var(--amber); margin: 0 0 14px; }
.info h2 { font: 800 40px/.95 var(--f-display); text-transform: uppercase; margin: 0 0 14px; }
.info p:last-child { color: var(--bone-2); margin: 0; font-size: 15px; }
.readout { position: fixed; left: 22px; bottom: 30px; color: var(--bone-3); display: grid; gap: 4px; font-size: 10.5px; }
.readout b { color: var(--bone); font-weight: 500; }

/* panel (configurator / planner) */
.panel { position: fixed; top: 84px; right: 22px; bottom: 22px; width: 400px; background: rgba(19, 20, 23, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); display: flex; flex-direction: column;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.panel-scroll { overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.grp { padding: 20px 0; border-bottom: 1px solid var(--line); }
.grp:last-of-type { border-bottom: 0; }
.grp h3 { display: flex; justify-content: space-between; margin: 0 0 14px; color: var(--bone-3); font-weight: 500; }
.grp h3 b { color: var(--bone); font-weight: 500; }
.grp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sw-sm { grid-template-columns: repeat(7, 1fr); }
.sw { aspect-ratio: 1; position: relative; background: var(--c); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sw::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 50%, rgba(0,0,0,.25)); }
.sw[aria-checked="true"] { outline: 2px solid var(--amber); outline-offset: 2px; clip-path: none; }
.opts { display: grid; gap: 8px; }
.opts-2 { grid-template-columns: 1fr 1fr; } .opts-3 { grid-template-columns: 1fr 1fr 1fr; }
.opt { text-align: left; padding: 14px 14px 13px; border: 1px solid var(--line-2); display: grid; gap: 6px; transition: all .2s; }
.opt b { font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.opt span { font-size: 12.5px; color: var(--bone-3); line-height: 1.3; }
.opt em { font: 500 11px/1 var(--f-mono); color: var(--bone-2); font-style: normal; letter-spacing: .05em; }
.opt:hover { border-color: var(--bone-3); }
.opt[aria-checked="true"] { border-color: var(--amber); background: var(--amber-d); }
.opt[aria-checked="true"] em { color: var(--amber); }
.mods { display: grid; gap: 8px; }
.mod { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); transition: all .2s; }
.mod .ck { width: 18px; height: 18px; border: 1px solid var(--bone-3); display: grid; place-items: center; }
.mod .ck svg { width: 12px; height: 12px; stroke: #140a04; stroke-width: 2.2; fill: none; opacity: 0; }
.mod[aria-checked="true"] .ck { background: var(--amber); border-color: var(--amber); }
.mod[aria-checked="true"] .ck svg { opacity: 1; }
.mod b { display: block; font-weight: 600; font-size: 15px; }
.mod small { color: var(--bone-3); font-size: 12.5px; }
.mod em { font: 500 11.5px/1 var(--f-mono); color: var(--bone-2); font-style: normal; }
.mod:hover { border-color: var(--line-2); }
.mod[disabled] { opacity: .5; cursor: default; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pkg { text-align: left; padding: 14px 12px; border: 1px solid var(--line-2); display: grid; gap: 6px; position: relative; overflow: hidden; transition: all .2s; }
.pkg b { font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.pkg span { font-size: 11.5px; color: var(--bone-3); line-height: 1.3; }
.pkg:hover { border-color: var(--amber); }
.pkg.on { background: var(--amber); border-color: var(--amber); color: #140a04; }
.pkg.on span { color: rgba(20, 10, 4, .7); }
.link { display: inline-flex; gap: 8px; align-items: center; color: var(--bone-3); margin-top: 8px; padding: 8px 0; }
.link:hover { color: var(--bone); }

.summary { position: fixed; left: 22px; right: 444px; bottom: 22px; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "price act" "kpis kpis"; gap: 18px 28px; align-items: end; padding: 20px 24px; background: rgba(19, 20, 23, .86); backdrop-filter: blur(18px); border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.sum-price { grid-area: price; display: grid; gap: 6px; }
.sum-price > .mono { color: var(--bone-3); }
.sum-price b { font-size: 50px; line-height: .9; font-variant-numeric: tabular-nums; }
.sum-price .net { color: var(--bone-3); font-size: 10px; }
.kpis { grid-area: kpis; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.kpis > div { padding: 0 14px; border-left: 1px solid var(--line); }
.kpis > div:first-child { padding-left: 0; border-left: 0; }
.kpis dt { color: var(--bone-3); font-size: 10px; margin-bottom: 8px; white-space: nowrap; }
.kpis dd { margin: 0; color: var(--bone-3); font: 500 13px/1 var(--f-mono); white-space: nowrap; }
.kpis dd b { font: 800 30px/1 var(--f-display); color: var(--bone); font-variant-numeric: tabular-nums; }
.kpis dd b.up { color: var(--amber); }
.sum-act { grid-area: act; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* planner */
.rng { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--bone-2); }
.rng output { color: var(--bone); }
.rng input { grid-column: 1 / -1; }
.sub { color: var(--bone-3); margin: 6px 0 10px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--amber) var(--p), var(--line-2) var(--p)); }
input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--amber) var(--p), var(--line-2) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--bone); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 0; background: var(--bone); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.mix { display: grid; gap: 4px; }
.mix label { display: grid; grid-template-columns: 74px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; color: var(--bone-2); }
.mix output { text-align: right; color: var(--bone); }
.loads { display: grid; gap: 6px; }
.load { display: grid; grid-template-columns: 22px 1fr 96px; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); font-size: 14px; }
.load .ck { width: 18px; height: 18px; border: 1px solid var(--bone-3); display: grid; place-items: center; cursor: pointer; }
.load .ck svg { width: 12px; height: 12px; stroke: #140a04; stroke-width: 2.2; fill: none; opacity: 0; }
.load.on .ck { background: var(--amber); border-color: var(--amber); }
.load.on .ck svg { opacity: 1; }
.load small { color: var(--bone-3); font: 500 11px/1 var(--f-mono); margin-left: 6px; }
.step { display: grid; grid-template-columns: 26px 1fr 26px; border: 1px solid var(--line); align-items: center; text-align: center; font: 500 12px/1 var(--f-mono); }
.step button { height: 26px; color: var(--bone-2); }
.step button:hover { color: var(--amber); }
.load:not(.on) .step { opacity: .35; pointer-events: none; }
.veh p { color: var(--bone-2); font-size: 14px; margin: 0 0 12px; }
.plan-card { position: fixed; left: 22px; right: 444px; bottom: 22px; padding: 22px 24px 20px; background: rgba(19, 20, 23, .9); backdrop-filter: blur(18px); border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.pc-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; }
.pc-head .mono { color: var(--bone-3); margin: 0 0 8px; }
.pc-head h2 { font-size: 44px; margin: 0; }
.pc-head h2.ok { color: var(--bone); } .pc-head h2.nok { color: #ff4d3a; }
.pc-res { text-align: right; display: grid; gap: 6px; }
.pc-res .mono { color: var(--bone-3); }
.pc-res b { font-size: 44px; font-variant-numeric: tabular-nums; }
.soc { width: 100%; height: 160px; display: block; overflow: visible; }
.soc .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.soc .zone { fill: rgba(255, 77, 58, .08); }
.soc .seg-bg { opacity: .14; }
.soc .ln { fill: none; stroke: var(--amber); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.soc .area { fill: url(#socG); }
.soc .sep { stroke: var(--line-2); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.soc text { fill: var(--bone-3); font: 500 10px var(--f-mono); letter-spacing: .06em; }
.pc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--bone-2); margin: 10px 0 16px; font-size: 10.5px; }
.pc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pc-legend i { width: 10px; height: 10px; background: var(--c); }
.pc-bal { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.bal { height: 8px; background: var(--line); position: relative; }
.bal i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transition: transform .5s var(--ease); }
.bal.over i { background: #ff4d3a; }
.bal::after { content: ''; position: absolute; top: -4px; bottom: -4px; left: 92%; width: 1px; background: var(--bone-3); }
.pc-bal p { margin: 0; color: var(--bone-3); font-size: 11px; }
.pc-bal b { color: var(--bone); font-weight: 500; }
.pc-tip { margin: 14px 0 0; color: var(--bone-2); font-size: 14px; }

/* presentation */
body[data-tab="pr"] .top { opacity: 0; transition: opacity .6s; }
body[data-tab="pr"] .top:hover, body[data-tab="pr"].ui .top { opacity: 1; }
.pr-cap { position: fixed; left: 56px; bottom: 120px; max-width: 760px; }
.pr-n { color: var(--amber); margin: 0 0 18px; }
.pr-cap h2 { font-size: clamp(64px, 9vw, 150px); margin: 0 0 20px; }
.pr-d { font-size: clamp(17px, 1.5vw, 22px); color: var(--bone-2); margin: 0; max-width: 40ch; }
.pr-cap.swap h2, .pr-cap.swap .pr-d, .pr-cap.swap .pr-n { opacity: 0; transform: translateY(20px); }
.pr-cap h2, .pr-cap .pr-d, .pr-cap .pr-n { transition: opacity .6s, transform .8s var(--ease); }
.pr-cap .pr-d { transition-delay: .08s; }
.pr-bar { position: fixed; left: 56px; right: 56px; bottom: 82px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.pr-bar button { height: 18px; position: relative; }
.pr-bar button::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line-2); }
.pr-bar button i { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.pr-ctl { position: fixed; left: 56px; right: 56px; bottom: 26px; display: flex; gap: 8px; align-items: center; }
.pr-keys { margin-left: auto; color: var(--bone-3); }
.pr-frame i { position: fixed; width: 22px; height: 22px; border: 1px solid var(--bone-3); pointer-events: none; }
.pr-frame i:nth-child(1) { left: 24px; top: 24px; border-right: 0; border-bottom: 0; }
.pr-frame i:nth-child(2) { right: 24px; top: 24px; border-left: 0; border-bottom: 0; }
.pr-frame i:nth-child(3) { left: 24px; bottom: 24px; border-right: 0; border-top: 0; }
.pr-frame i:nth-child(4) { right: 24px; bottom: 24px; border-left: 0; border-top: 0; }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; background: rgba(5, 5, 6, .7); backdrop-filter: blur(6px); display: grid; justify-items: center; align-items: start; padding: 84px 24px 40px; overflow-y: auto; }
.sheet-wrap[hidden] { display: none; }
.sheet { width: min(860px, 100%); background: #f2efe8; color: #121316; padding: 44px 48px; position: relative; font-size: 13px; }
.sheet .s-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #121316; padding-bottom: 18px; margin-bottom: 24px; }
.sheet .s-top svg.w { width: 190px; height: 26px; fill: #121316; }
.sheet .s-top svg.m { width: 30px; height: 26px; fill: var(--amber); }
.sheet .s-top div { display: flex; gap: 12px; align-items: center; }
.sheet h2 { font: 800 46px/.9 var(--f-display); text-transform: uppercase; margin: 0 0 6px; }
.sheet .s-sub { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b6e75; margin: 0 0 20px; }
.sheet img { width: 100%; aspect-ratio: 16/7; object-fit: cover; background: #1a1b1e; margin-bottom: 24px; }
.sheet .s-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sheet h4 { font: 600 10.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; color: #b4471a; }
.sheet dl { margin: 0; display: grid; gap: 0; }
.sheet dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #d6d2c8; padding: 6px 0; }
.sheet dt { color: #55585e; } .sheet dd { margin: 0; font-weight: 600; text-align: right; }
.sheet .s-price { display: flex; justify-content: space-between; align-items: end; margin-top: 26px; padding-top: 18px; border-top: 2px solid #121316; }
.sheet .s-price b { font: 800 44px/1 var(--f-display); }
.sheet .s-price span { font: 500 11px var(--f-mono); color: #6b6e75; text-transform: uppercase; letter-spacing: .08em; }
.sheet .s-foot { margin-top: 18px; font-size: 11px; color: #6b6e75; display: flex; justify-content: space-between; gap: 20px; }
.sheet .s-act { position: absolute; top: -52px; right: 0; display: flex; gap: 8px; }
.sheet .s-act .btn-line::before { background: #1a1b1e; }
@media print {
  body > *:not(.sheet-wrap) { display: none !important; }
  html, body { height: auto; overflow: visible; background: #fff; }
  .sheet-wrap { position: static; background: none; padding: 0; backdrop-filter: none; display: block; }
  .sheet { width: 100%; padding: 0; background: #fff; }
  .sheet .s-act { display: none; }
  @page { size: A4; margin: 14mm; }
}

.toast { position: fixed; z-index: 95; left: 50%; top: 84px; transform: translate(-50%, -20px); padding: 12px 18px; background: var(--bone); color: var(--carbon); opacity: 0; transition: all .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis > div:nth-child(n+4) { display: none; }
  .sum-act .btn-line span { display: none; }
}
@media (max-width: 980px) {
  .top { grid-template-columns: auto 1fr; height: auto; padding: 12px 14px; row-gap: 10px; }
  .top .brand-word { display: none; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .tabs button { flex: 1; justify-content: center; padding: 11px 6px; font-size: 13px; }
  .tabs .tn { display: none; }
  .tools-v { left: 12px; top: 120px; transform: none; }
  .tb { width: 44px; padding: 11px; } .tb span { display: none; }
  .hint { display: none; }
  .views { bottom: 14px; left: 12px; right: 12px; transform: none; }
  .views > .mono { display: none; }
  .views .seg { flex: 1; } .views .seg button { flex: 1; padding: 11px 4px; }
  .info { left: 66px; right: 12px; width: auto; top: auto; bottom: 70px; transform: none; padding: 20px; animation: none; }
  .info h2 { font-size: 30px; }
  .readout { display: none; }
  .panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 50vh; clip-path: none; border-left: 0; border-right: 0; border-bottom: 0; }
  .panel-scroll { padding: 4px 16px 20px; }
  .summary { left: 10px; right: 10px; bottom: calc(50vh + 10px); grid-template-areas: "price act"; padding: 14px 16px; gap: 12px; }
  .summary .kpis { display: none; }
  .sum-price b { font-size: 34px; }
  .sum-act .btn span { display: none; } .sum-act .btn { padding: 0 12px; }
  .plan-card { left: 10px; right: 10px; bottom: calc(50vh + 10px); padding: 14px 16px; }
  .pc-head h2, .pc-res b { font-size: 28px; }
  .soc { height: 90px; }
  .pc-legend, .pc-tip { display: none; }
  .pr-cap { left: 20px; right: 20px; bottom: 110px; }
  .pr-bar { left: 20px; right: 20px; bottom: 74px; }
  .pr-ctl { left: 20px; right: 20px; bottom: 18px; }
  .pr-keys { display: none; }
  .sheet { padding: 28px 22px; } .sheet .s-cols { grid-template-columns: 1fr; } .sheet .s-act { position: static; margin-bottom: 18px; }
}
