/* TopElectro: стили сайта и блока подбора. Всё внутри .te, чтобы не задеть стили Tilda. */
/* Layout: шапка как на topelectro.kz → слева панель фильтров в духе Kolesa (Страна → Марка, модель, поколение → Год, Цена, Пробег от/до) → справа сетка объявлений → окно объявления с расчётом → блок для менеджера. Один тёмный стиль, как на сайте. */
.te{
  color-scheme:dark;
  --bg:#050706; --bg2:#0B0C10; --panel:#13121A; --panel2:#1E1D29; --line:#2A2936; --line2:#3B3A4A;
  --fg:#F5F5F7; --muted:#A9A7B5; --soft:#D6D5DE;
  --green:#96FE55; --green-d:#6FBF4B; --wine:#841326; --wine-d:#560614; --warn:#FF8A7F; --warn-bg:#3A1518;
  --f-d:"Unbounded","Arial Black",system-ui,sans-serif;
  --f-b:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:16px;
}
.te,.te *{box-sizing:border-box}
.te{background:var(--bg);color:var(--fg);font-family:var(--f-b);font-size:16px;line-height:1.5}
.te a{color:inherit}
.te button,.te input,.te select{font:inherit;color:inherit}
.te :focus-visible{outline:2px solid var(--green);outline-offset:2px}
.te h1,.te h2,.te h3{font-family:var(--f-d);font-weight:500;margin:0;text-wrap:balance;letter-spacing:-.01em}
.te .num{font-variant-numeric:tabular-nums}
.te .wrap{max-width:1280px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.te .silver{background:linear-gradient(90deg,#fff 0%,#acacac 48%,#fff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}

/* header */
.te .top{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#050706 0%,#1D1C26 48%,#13121A 100%)}
.te .top .wrap{display:flex;align-items:center;gap:24px;padding-block:12px}
.te .logo{display:flex;align-items:center;flex:none}
.te .logo-svg{height:28px;width:auto;display:block}
.te .nav{display:flex;gap:22px;font-size:14px;margin-left:8px}
.te .nav a{text-decoration:none;color:var(--soft)}
.te .nav a:hover{color:#fff}
.te .top .ph{margin-left:auto;color:var(--green);text-decoration:none;font-family:var(--f-d);font-weight:300;font-size:14px;white-space:nowrap}
.te .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:50px;padding:11px 20px;font-family:var(--f-d);font-weight:300;font-size:13px;color:#fff;text-decoration:none;cursor:pointer;background:linear-gradient(0deg,var(--wine) 0%,var(--wine-d) 100%);white-space:nowrap;min-height:44px}
.te .btn:hover{filter:brightness(1.18)}
.te .btn.ghost{background:transparent;border:1px solid var(--line2)}
.te .btn.ghost:hover{border-color:var(--soft);filter:none}
.te .btn.green{background:linear-gradient(0deg,var(--green-d),var(--green));color:#0A1405;font-weight:500}
@media (max-width:1000px){.te .nav{display:none}}
@media (max-width:560px){.te .top .wrap{gap:12px}.te .top .hdr{padding:0;width:44px;border-radius:50%}.te .top .hdr span{display:none}.te .top .ph{font-size:12.5px}.te .logo-svg{height:22px}}

html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.te section[id]{scroll-margin-top:12px}
.te .hero{padding-block:44px 34px;display:flex;flex-direction:column;gap:16px}
.te .eyebrow{font-family:var(--f-d);font-weight:300;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.te .eyebrow b{color:#E0475C;font-weight:300}
.te .hero h1{font-size:clamp(30px,5.4vw,60px);line-height:1.04;text-transform:uppercase;max-width:16ch}
.te .hero p{margin:0;color:var(--soft);max-width:56ch;font-size:17px}
.te .hero .acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.te .hero .acts .btn{min-height:52px;padding:14px 26px;font-size:14px}
.te .facts{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:10px;padding-top:18px;border-top:1px solid var(--line)}
.te .facts div{display:flex;flex-direction:column}
.te .facts b{font-family:var(--f-d);font-weight:500;font-size:20px;color:var(--green)}
.te .facts span{color:var(--muted);font-size:14px}
.te .sec{padding-block:56px 10px;display:flex;flex-direction:column;gap:22px}
.te .sec>h2,.te .podbor>h2{font-size:clamp(24px,3.6vw,40px);text-transform:uppercase;line-height:1.05}
.te .sec>h2 em,.te .podbor>h2 em{font-style:normal;color:var(--green)}
.te .podbor{padding-block:48px 10px;display:flex;flex-direction:column;gap:20px;border-top:1px solid var(--line)}
.te .steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;counter-reset:st}
@media (max-width:1000px){.te .steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.te .steps{grid-template-columns:minmax(0,1fr)}}
.te .steps li{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:8px;counter-increment:st}
.te .steps li::before{content:"0" counter(st);font-family:var(--f-d);font-size:13px;color:var(--green)}
.te .steps b{font-family:var(--f-d);font-weight:500;font-size:15px}
.te .steps span{color:var(--muted);font-size:14px}
.te .revs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
@media (max-width:1000px){.te .revs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.te .revs a{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px 18px;text-decoration:none;display:flex;flex-direction:column;gap:4px;min-height:96px}
.te .revs a:hover{border-color:var(--line2)}
.te .revs b{font-family:var(--f-d);font-weight:500;font-size:15px}
.te .revs span{color:var(--muted);font-size:13.5px}
.te .faq{display:flex;flex-direction:column;gap:10px;max-width:860px}
.te .faq details{background:var(--panel);border:1px solid var(--line);border-radius:14px}
.te .faq summary{cursor:pointer;padding:16px 18px;font-weight:600;font-size:16px}
.te .faq details p{margin:0;padding:0 18px 16px;color:var(--soft)}
.te .contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:800px){.te .contacts{grid-template-columns:minmax(0,1fr)}}
.te .contacts>div{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:6px}
.te .contacts span{color:var(--muted);font-size:13px}
.te .contacts a,.te .contacts b{font-size:17px;font-weight:500}
.te .fab{position:fixed;right:max(18px,calc(env(safe-area-inset-right,0px) + 18px));bottom:calc(env(safe-area-inset-bottom,0px) + 18px);z-index:20;width:56px;height:56px;border-radius:50%;background:#25D366;color:#06210F;display:grid;place-items:center;box-shadow:0 6px 20px rgb(0 0 0 / .4)}
.te .fab .wai{width:28px;height:28px}
.te .wai{width:16px;height:16px;flex:none}
.te .btn.wa{background:#25D366;color:#06210F;font-weight:500}
.te .btn.wa:hover{filter:brightness(1.07)}
.te .btn.wa .wai{width:18px;height:18px}
.te .cfoot{display:flex;justify-content:flex-end}
.te .wa-pill{position:relative;z-index:3;display:inline-flex;align-items:center;gap:6px;color:#3DDC84;font-size:13px;font-weight:600;text-decoration:none;padding:7px 11px;border-radius:999px;border:1px solid rgb(37 211 102 / .45);background:rgb(37 211 102 / .08);min-height:36px}
.te .wa-pill:hover{background:rgb(37 211 102 / .18)}
.te .lead{display:grid;gap:10px;background:var(--bg2);border:1px solid var(--line2);border-radius:14px;padding:14px}
.te .lead-t{font-weight:600}
.te .lead .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:440px){.te .lead .two{grid-template-columns:minmax(0,1fr)}}
.te .lead .err{color:var(--warn);font-size:13px;margin:0}
.te .lead-ok{background:rgb(150 254 85 / .08);border:1px solid rgb(150 254 85 / .35);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}
.te .lead-ok b{color:var(--green)}
.te .amo{font-size:13px;color:var(--soft)}
.te .amo summary{cursor:pointer;color:var(--muted)}
.te .amo pre{white-space:pre-wrap;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--panel);border-radius:10px;padding:10px;margin:8px 0 0;overflow-x:auto}
.te .dsub a{color:var(--green)}
.te .crow{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:10px}
.te .crow .fh{font-size:14px;font-weight:500}
.te .split.sm input{min-height:40px;padding:8px 12px;font-size:15px}
.te .fsec.tight{gap:8px;padding-block:12px}
.te .fgo{padding:14px 18px 18px;display:flex;flex-direction:column;align-items:stretch;gap:4px;border-top:1px solid var(--line)}
.te .fgo #go{min-height:50px;font-size:15px;width:100%}
.te .fgo #go small{opacity:.8;font-size:12px;font-family:var(--f-b)}
.te .fgo .linkbtn{align-self:center}
.te .owner-demo{border-top:2px dashed var(--line2);margin-top:30px}
.te #fSel{gap:12px}
.te .cb{display:flex;flex-direction:column;gap:6px;min-width:0}
.te .cb>.fh{font-size:14px;font-weight:500}
.te .cbw{position:relative}
.te .cbi{width:100%;background:var(--bg2);border:1px solid var(--line2);border-radius:12px;padding:10px 44px 10px 14px;font-size:16px;min-height:46px;text-align:left;color:var(--fg)}
.te .cbi:focus{outline:none;border-color:var(--green)}
.te .cbi:disabled{opacity:.5;cursor:not-allowed}
.te .cbi::placeholder{color:#8a8898}
.te .gbtn{cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9A7B5' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.te .gbtn[aria-expanded="true"]{border-color:var(--green)}
.te .cbx{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:0;background:var(--line2);color:var(--soft);display:grid;place-items:center;cursor:pointer}
.te .cbx svg{width:10px;height:10px}
.te .cbl{background:var(--bg2);border:1px solid var(--line2);border-radius:12px;max-height:min(380px,55vh);overflow:auto;padding:6px 0;overscroll-behavior:contain}
.te .cbg{columns:2 130px;column-gap:6px;padding:0 6px}
.te .cbg.flat{columns:1}
.te .cbL{display:block;font-size:12px;color:var(--green);font-weight:700;padding:8px 8px 2px;break-after:avoid}
.te .cbo{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;background:none;border:0;padding:8px;border-radius:8px;text-align:left;font-size:15px;cursor:pointer;break-inside:avoid;min-height:38px;color:var(--fg)}
.te .cbo:hover,.te .cbo.act{background:rgb(255 255 255 / .08)}
.te .cbo mark{background:none;color:var(--green);font-weight:700}
.te .cbo .cnt{font-size:12px;margin-left:auto;padding-left:6px}
.te .cbo.all{color:var(--green);margin:0 6px 4px;width:calc(100% - 12px);font-weight:500}
.te .cbpop{display:flex;flex-wrap:wrap;gap:6px;padding:4px 10px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.te .cbo.chip{width:auto;min-height:34px;border:1px solid var(--line2);border-radius:999px;padding:5px 11px;font-size:14px}
.te .cbe{padding:12px 14px;color:var(--muted);font-size:14px}
.te .gopt{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;font-size:15px}
.te .gopt:hover{background:rgb(255 255 255 / .05)}
.te .gopt input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--green)}
.te .gfoot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px 4px;border-top:1px solid var(--line);margin-top:4px}
.te .gfoot .btn{min-height:40px;padding:8px 18px}
.te .top .hdr{min-height:44px}
.te .wa-link{display:inline-flex;align-items:center;gap:8px;color:#3DDC84;text-decoration:none}
.te .wa-link .wai{width:20px;height:20px}
.te .tog{display:flex;gap:12px;align-items:flex-start;cursor:pointer;padding:4px 0}
.te .tog input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--green);flex:none}
.te .tog b{display:block;font-weight:600;font-size:15px}
.te .tog small{display:block;color:var(--muted);font-size:13px}
.te .adv{border-top:1px solid var(--line)}
.te .adv>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;font-weight:500;color:var(--soft);min-height:50px}
.te .adv>summary::-webkit-details-marker{display:none}
.te .adv>summary .chev{transform:rotate(90deg);transition:transform .2s}
.te .adv[open]>summary .chev{transform:rotate(-90deg)}
.te .advin{display:flex;flex-direction:column;gap:10px;padding:0 18px 16px}
.te .sel{width:100%;background:var(--bg2);border:1px solid var(--line2);border-radius:12px;padding:8px 32px 8px 12px;font-size:16px;min-height:42px;appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9A7B5' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.te .sel:focus{outline:none;border-color:var(--green)}
.te .split.sm .sel{border:0;border-radius:0;background-color:transparent}
.te .split.sm .sel+.sel{border-left:1px solid var(--line2)}
.te .prompt{border:1px dashed var(--line2);border-radius:var(--r);padding:36px 24px;text-align:center;color:var(--soft);display:flex;flex-direction:column;align-items:center;gap:10px}
.te .prompt b{font-family:var(--f-d);font-weight:500;font-size:18px;color:var(--fg)}
.te .prompt svg{width:44px;height:44px;color:var(--green)}
.te .usd-note{font-size:13px;color:var(--muted)}
.te .kzbtn{align-self:flex-start}
/* адаптив */
.te .split.sm input{font-size:16px}
.te .fld input,.te .fld select{font-size:16px}
.te .sort{font-size:15px}
.te .fchip,.te .seg button{min-height:44px}
@media (max-width:1000px){.te .fpanel{position:static;max-height:none}}
@media (max-width:620px){
  .te .hero{padding-block:28px 20px}
  .te .hero .acts .btn{flex:1 1 100%}
  .te .facts{gap:12px 20px}
  .te .facts div{flex:1 1 40%}
  .te .podbor,.te .sec{padding-block:36px 6px}
  .te .grid{grid-template-columns:minmax(0,1fr)}
  .te .rbar{flex-direction:column;align-items:stretch}
  .te .rbar .r{justify-content:space-between}
  .te dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}
  .te .dlg-l,.te .dlg-r{padding:16px max(16px,env(safe-area-inset-left,0px)) 16px max(16px,env(safe-area-inset-right,0px))}
  .te .dlg-r{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 24px)}
  .te dialog.sheet,.te dialog.sheet.wide{width:100vw;max-width:100vw;height:auto;max-height:88dvh;margin:auto 0 0;border-radius:20px 20px 0 0;border:1px solid var(--line2);border-bottom:0}
  .te .sh-foot{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}
  .te .cta .btn{flex:1 1 100%}
  .te .kv{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .te .fab{width:52px;height:52px}
}
@media (min-width:1600px){.te .wrap{max-width:1440px}.te .grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr))}}
.te .head h1{font-size:clamp(22px,3.4vw,34px);text-transform:uppercase;line-height:1.1}

.te .layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:start}
@media (max-width:1000px){.te .layout{grid-template-columns:minmax(0,1fr)}}

/* filter panel */
.te .fpanel{background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden}

.te .frow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;width:100%;background:none;border:0;text-align:left;cursor:pointer;min-height:58px}
.te .frow:hover{background:rgb(255 255 255 / .03)}
.te .frow .lab{display:block;font-size:13px;color:var(--muted)}
.te .frow .val{display:block;font-size:17px}
.te .frow .ttl2{font-size:16px}
.te .add{color:var(--green);display:inline-flex;align-items:center;gap:6px;font-size:15px;white-space:nowrap}
.te .chev{width:9px;height:14px;flex:none;color:var(--muted)}
.te .add .chev{color:var(--green)}
.te .sep{height:8px;background:var(--bg2);border-block:1px solid var(--line)}
.te .sec-lab{font-size:13px;color:var(--muted);padding:14px 18px 0}
.te .selb{display:flex;align-items:center;gap:10px;padding:8px 18px 10px;border-bottom:1px solid var(--line)}
.te .selb .pick{flex:1;background:none;border:0;text-align:left;cursor:pointer;padding:4px 0;min-width:0}
.te .selb .sb{display:block;font-size:19px;font-weight:500}
.te .selb .sm{display:block;color:var(--muted);font-size:15px}
.te .xbtn{flex:none;width:36px;height:36px;border-radius:50%;border:0;background:var(--line2);color:var(--soft);cursor:pointer;display:grid;place-items:center}
.te .xbtn svg{width:12px;height:12px}
.te .xbtn:hover{background:#4a4959}
.te .gens-row{border-bottom:1px solid var(--line)}
.te .gens-row .val{font-size:14px;color:var(--soft);max-width:180px;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.te .fsec{padding:16px 18px;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line)}
.te .fsec:first-of-type{border-top:0}
.te .fh{font-size:16px;font-weight:500}
.te .split{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line2);border-radius:12px;overflow:hidden;background:var(--bg2)}
.te .split input{border:0;background:transparent;padding:13px 16px;font-size:16px;min-width:0;width:100%;min-height:50px}
.te .split input+input{border-left:1px solid var(--line2)}
.te .split input:focus{outline:none;background:rgb(150 254 85 / .06)}
.te .split input::placeholder{color:#7d7b8a}
.te .chk{display:flex;align-items:center;gap:10px;font-size:15px;cursor:pointer;min-height:40px}
.te .chk input{width:20px;height:20px;accent-color:var(--green)}
.te .freset{padding:4px 18px 18px}
.te .fuel{display:flex;flex-wrap:wrap;gap:8px}
.te .fchip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line2);border-radius:999px;padding:7px 12px;font-size:14px;cursor:pointer;min-height:40px;background:var(--bg2)}
.te .fchip input{width:16px;height:16px;margin:0;accent-color:var(--green)}
.te .fchip:has(input:checked){border-color:var(--green);background:rgb(150 254 85 / .08)}
.te dialog.sheet.wide{width:min(640px,calc(100vw - 24px))}
.te .ggrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 16px}
@media (max-width:420px){.te .ggrid{grid-template-columns:minmax(0,1fr)}}
.te .gcard{position:relative;border:2px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;background:var(--bg2);display:block}
.te .gcard svg{display:block;width:100%;height:auto;aspect-ratio:4/3}
.te .gcard .gl{position:absolute;left:0;right:0;top:0;padding:9px 38px 22px 11px;font-weight:600;font-size:14px;line-height:1.25;background:linear-gradient(180deg,rgb(0 0 0 / .78),rgb(0 0 0 / 0))}
.te .gcard input{position:absolute;top:9px;right:9px;width:20px;height:20px;margin:0;accent-color:var(--green)}
.te .gcard .gn{position:absolute;bottom:8px;left:11px;font-size:12px;color:var(--soft);background:rgb(5 7 6 / .7);border-radius:999px;padding:2px 8px}
.te .gcard:has(input:checked){border-color:var(--green)}
.te .pop{display:flex;flex-wrap:wrap;gap:8px;padding:6px 18px 4px}
.te .pop button{border:1px solid var(--line2);background:var(--bg2);border-radius:999px;padding:7px 12px;font-size:14px;cursor:pointer;min-height:38px}
.te .pop button:hover{border-color:var(--soft)}
.te .opt .cnt{color:var(--muted);font-size:13px;margin-left:auto;padding-left:12px}
.te .linkbtn{background:none;border:0;color:var(--muted);text-decoration:underline;cursor:pointer;font-size:14px;padding:8px 0}

/* results */
.te .rbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.te .count{font-family:var(--f-d);font-weight:400;font-size:15px}
.te .rbar .r{display:flex;gap:10px;align-items:center}
.te .demo-chip{font-size:12px;color:var(--muted);border:1px dashed var(--line2);border-radius:999px;padding:4px 10px}
.te .sort{background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:8px 34px 8px 12px;font-size:14px;appearance:none;-webkit-appearance:none;cursor:pointer;min-height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9A7B5' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.te .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(262px,1fr));gap:16px}
.te .card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.te .card:hover{border-color:var(--line2);transform:translateY(-2px)}
.te .card .hit{position:absolute;inset:0;background:none;border:0;cursor:pointer;border-radius:var(--r);z-index:2}
.te .photo{position:relative;aspect-ratio:4/3;max-width:100%;background:var(--bg2)}
.te .photo svg{display:block;width:100%;height:100%}
.te .tag{position:absolute;font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:rgb(5 7 6 / .78);border:1px solid rgb(255 255 255 / .12)}
.te .tag.src{top:10px;left:10px}
.te .tag.rhd{top:10px;right:10px;color:var(--warn);border-color:rgb(255 138 127 / .4)}
.te .tag.cnt{bottom:10px;right:10px;font-weight:500;color:var(--soft)}
.te .cbody{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;flex:1}
.te .ttl{font-family:var(--f-d);font-weight:500;font-size:15px;line-height:1.3}
.te .sub{color:var(--muted);font-size:13px;margin-top:-6px}
.te .specs{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;font-size:13px}
.te .specs div{display:flex;flex-direction:column;min-width:0}
.te .specs span{color:var(--muted);font-size:12px}
.te .specs b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.te .site{border-top:1px solid var(--line);padding-top:10px;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:2px}
.te .site b{color:var(--soft);font-weight:500}
.te .total{margin-top:auto;background:var(--bg2);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.te .total span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.te .total b{font-family:var(--f-d);font-weight:500;font-size:19px;color:var(--green)}
.te .total small{color:var(--soft);font-size:13px}
.te .total.ban{background:var(--warn-bg)}
.te .total.ban b{color:var(--warn);font-size:14px}
.te .more{display:flex;justify-content:center;padding-block:18px}
.te .empty{border:1px dashed var(--line2);border-radius:var(--r);padding:28px;text-align:center;color:var(--soft)}
.te .empty b{display:block;font-family:var(--f-d);font-weight:500;margin-bottom:6px;color:var(--fg)}

/* dialogs */
.te dialog{border:1px solid var(--line2);border-radius:22px;background:var(--panel);color:var(--fg);padding:0;width:min(1040px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.te dialog::backdrop{background:rgb(0 0 0 / .72)}
.te .x{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--line2);background:var(--bg2);cursor:pointer;display:grid;place-items:center}
.te .x svg{width:16px;height:16px}
.te .dlg{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
@media (max-width:860px){.te .dlg{grid-template-columns:minmax(0,1fr)}}
.te .dlg-l{padding:20px;display:flex;flex-direction:column;gap:14px;border-right:1px solid var(--line)}
.te .dlg-r{padding:20px;display:flex;flex-direction:column;gap:14px}
@media (max-width:860px){.te .dlg-l{border-right:0;border-bottom:1px solid var(--line)}}
.te .dlg-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.te .dlg-head h2{font-size:clamp(18px,2.4vw,24px);line-height:1.2}
.te .gal-main{position:relative;border-radius:14px;overflow:hidden;aspect-ratio:4/3;max-width:100%}
.te .gal-main svg{display:block;width:100%;height:100%}
.te .thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.te .thumbs button{padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;background:none;aspect-ratio:4/3}
.te .thumbs button[aria-current="true"]{border-color:var(--green)}
.te .thumbs svg{display:block;width:100%;height:100%}
.te .note{font-size:13px;color:var(--muted);margin:0}
.te .kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}
.te .kv div{padding:9px 12px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;font-size:14px;min-width:0}
.te .kv div:nth-child(odd){border-right:1px solid var(--line)}
.te .kv div:nth-last-child(-n+2){border-bottom:0}
.te .kv span{font-size:12px;color:var(--muted)}
.te .bigtotal{background:linear-gradient(0deg,var(--panel) 0%,var(--panel2) 100%);border:1px solid var(--line2);border-radius:14px;padding:14px 16px}
.te .bigtotal span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.te .bigtotal b{display:block;font-family:var(--f-d);font-weight:500;font-size:clamp(22px,3vw,30px);color:var(--green);line-height:1.2;margin-top:2px}
.te .bigtotal small{color:var(--soft);font-size:15px}
.te .bigtotal.ban b{color:var(--warn);font-size:18px}
.te .age{font-size:14px;color:var(--soft);background:var(--bg2);border-radius:10px;padding:9px 12px}
.te .age em{font-style:normal;color:var(--warn)}
.te .calc{display:flex;flex-direction:column}
.te .grp{font-family:var(--f-d);font-weight:400;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:12px 0 4px}
.te .ln{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}
.te .ln .k small,.te .ln .v small{display:block;color:var(--muted);font-size:12.5px;line-height:1.4;margin-top:2px}
.te .ln .v{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.te .ln.info{background:var(--bg2);border-radius:10px;padding:10px 12px;border-bottom:0;margin:4px 0}
.te .ln.info.warnln{background:var(--warn-bg)}
.te .ln.off .v{color:var(--muted)}
.te .ln.sum{border-bottom:0;font-family:var(--f-d);font-weight:500;font-size:15px;padding-top:12px}
.te .ln.sum .v{color:var(--green)}
.te .ln details summary{cursor:pointer;color:var(--muted);font-size:12.5px;margin-top:2px}
.te .ln details .fees{display:flex;flex-direction:column;gap:2px;margin-top:6px;font-size:13px;color:var(--soft)}
.te .ln details .fees div{display:flex;justify-content:space-between;gap:12px}
.te .cta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.te .cta .btn{flex:1 1 200px}

/* sheet (выбор страны, марки, поколения) */
.te dialog.sheet{width:min(480px,calc(100vw - 24px));display:none;flex-direction:column;max-height:min(720px,calc(100dvh - 24px));overflow:hidden}
.te dialog.sheet[open]{display:flex}
.te .sh-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.te .sh-head h2{flex:1;font-size:17px}
.te .sh-back{width:44px;height:44px;border-radius:50%;border:0;background:none;cursor:pointer;display:grid;place-items:center;color:var(--soft)}
.te .sh-back svg{width:10px;height:16px}
.te .sh-search{padding:12px 16px 4px}
.te .sh-search input{width:100%;background:var(--bg2);border:1px solid var(--line2);border-radius:12px;padding:12px 14px;font-size:16px}
.te .sh-search input:focus{outline:none;border-color:var(--green)}
.te .sh-list{overflow:auto;padding:6px 0 10px;flex:1}
.te .sh-grp{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:12px 18px 4px}
.te .opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:none;border:0;padding:13px 18px;text-align:left;cursor:pointer;font-size:16px;min-height:50px}
.te .opt:hover{background:rgb(255 255 255 / .04)}
.te .opt small{color:var(--muted);font-size:13px}
.te .opt .ok{color:var(--green);font-weight:600}
.te label.opt input{width:20px;height:20px;accent-color:var(--green);flex:none}
.te label.opt span{flex:1}
.te .sh-foot{padding:12px 16px;border-top:1px solid var(--line);display:flex;gap:10px}
.te .sh-foot .btn{flex:1}
.te .sh-empty{padding:20px 18px;color:var(--muted)}

/* owner */
.te .owner{padding-block:40px 20px;display:flex;flex-direction:column;gap:14px}
.te .owner>h2{font-size:clamp(18px,2.4vw,24px)}
.te .owner>p{margin:0;color:var(--muted);max-width:70ch}
.te .box{background:var(--panel);border:1px solid var(--line);border-radius:18px}
.te .box>summary{cursor:pointer;padding:18px 20px;font-family:var(--f-d);font-weight:400;font-size:16px}
.te .box .in{padding:0 20px 20px;display:flex;flex-direction:column;gap:16px}
.te .mgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}
@media (max-width:860px){.te .mgrid{grid-template-columns:minmax(0,1fr)}}
.te .mform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:440px){.te .mform{grid-template-columns:minmax(0,1fr)}}
.te .mform .wide{grid-column:1/-1}
.te .fld{display:flex;flex-direction:column;gap:6px;min-width:0}
.te .fld label,.te .fld .lb{font-size:13px;color:var(--muted);font-weight:500}
.te .fld select,.te .fld input{width:100%;background:var(--bg2);border:1px solid var(--line2);border-radius:12px;padding:12px 14px;font-size:15px;min-height:46px}
.te .fld select{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9A7B5' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.te .fld select:focus,.te .fld input:focus{border-color:var(--green);outline:none}
.te .seg{display:flex;flex-wrap:wrap;gap:6px}
.te .seg button{border:1px solid var(--line2);background:var(--bg2);border-radius:999px;padding:9px 16px;cursor:pointer;font-size:14px;min-height:40px}
.te .seg button[aria-pressed="true"]{background:var(--fg);color:#0A0A0D;border-color:var(--fg);font-weight:600}
.te .sgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media (max-width:1100px){.te .sgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.te .sgrid{grid-template-columns:minmax(0,1fr)}}
.te .sbox{background:var(--bg2);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;min-width:0}
.te .sbox h4{margin:0 0 4px;font-family:var(--f-d);font-weight:400;font-size:13px;letter-spacing:.04em}
.te .srow{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:8px;align-items:center;font-size:13.5px}
.te .srow input{width:100%;background:var(--panel);border:1px solid var(--line2);border-radius:8px;padding:7px 9px;text-align:right;font-variant-numeric:tabular-nums}
.te .sbox .chk{min-height:32px;font-size:13.5px}
.te .sbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.te .saved{color:var(--green);font-size:13px}

.te footer{border-top:1px solid var(--line);margin-top:30px}
.te footer .wrap{padding-block:24px 36px;display:flex;flex-wrap:wrap;gap:16px 40px;color:var(--muted);font-size:14px}
.te footer b{color:var(--fg);font-weight:500;display:block}
@media (prefers-reduced-motion:reduce){.te,.te *{transition:none!important}}

.te .logo img{height:40px;width:auto;display:block}
@media (max-width:560px){.te .logo img{height:30px}}

/* Шапка (правки 10.11): закреплена сверху — сайт прокручивается под ней; выше; логотип крупнее; меню шрифтом заголовков */
.te{--hdr-h:84px;padding-top:calc(var(--hdr-h) + env(safe-area-inset-top,0px))}
.te .top{position:fixed;top:0;left:0;right:0;z-index:30;padding-top:env(safe-area-inset-top,0px);background:linear-gradient(90deg,rgb(5 7 6 / .93) 0%,rgb(29 28 38 / .93) 48%,rgb(19 18 26 / .93) 100%);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 8px 24px rgb(0 0 0 / .35)}
.te .top .wrap{min-height:var(--hdr-h);padding-block:8px}
.te .logo img{height:58px}
.te .nav{gap:26px;margin-left:16px}
.te .nav a{font-family:var(--f-d);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#fff;white-space:nowrap}
.te .nav a:hover{color:var(--green)}
.te section[id],.te #podbor{scroll-margin-top:calc(var(--hdr-h) + env(safe-area-inset-top,0px) + 12px)}
@media (max-width:1240px){.te .nav{gap:18px;margin-left:6px}.te .nav a{font-size:12px;letter-spacing:.02em}.te .logo img{height:50px}}
@media (max-width:1120px){.te .nav{display:none}}
@media (max-width:1000px){.te{--hdr-h:76px}.te .logo img{height:52px}}
@media (max-width:560px){.te{--hdr-h:66px}.te .logo img{height:40px}}
.te .top .hdr{flex:none}
@media (max-width:480px){.te .top .ph{display:none}.te .top .hdr{margin-left:auto}}
@media (max-width:340px){.te .logo img{height:34px}}
