/* GPU в аренду — тёмная тема, без внешних шрифтов */
:root {
  --bg: #0b0e14; --bg2: #11151e; --panel: #141925; --panel2: #1a2030; --line: #252c3d; --line2: #313a50;
  --text: #e6e9f0; --muted: #8b93a7; --accent: #38bdf8; --accent2: #0ea5e9;
  --green: #34d399; --yellow: #fbbf24; --red: #f87171; --violet: #a78bfa;
  --radius: 12px; --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); } .small { font-size: 12px; }
[hidden] { display: none !important; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(11,14,20,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
/* «Войти» / «Кабинет» в шапке витрины (auth_link.js): справа; на узком экране — в одной строке с логотипом, статус ниже */
.authlink { margin-left: auto; display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.authlink:hover, .authlink:focus-visible { border-color: var(--accent); color: var(--accent); }
.status ~ .authlink { margin-left: 0; }
.brand__chip { width: 18px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--violet)); box-shadow: 0 0 12px rgba(56,189,248,.5); }
.status { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; margin-left: auto; font-size: 13px; color: var(--muted); }
.status__item { white-space: nowrap; font-variant-numeric: tabular-nums; }
.status__badge { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status__badge--stale { background: rgba(248,113,113,.15); color: var(--red); border: 1px solid rgba(248,113,113,.4); }
.owner-toggle { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 4px 10px; border: 1px dashed var(--violet); border-radius: 999px; color: var(--violet); cursor: pointer; user-select: none; }

/* hero */
.hero { padding: 28px 0 18px; }
.hero h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.01em; }
.hero p { margin: 0 0 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chip b { color: var(--text); font-variant-numeric: tabular-nums; }
.chip--owner { border-style: dashed; border-color: var(--violet); color: var(--violet); }

/* layout like a sidebar + table */
.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: calc(var(--hdr, 57px) + 15px); max-height: calc(100vh - var(--hdr, 57px) - 31px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 18px; scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; gap: 8px; }
.filters__head h2 { margin: 0; font-size: 16px; flex: 1; }
.filters__close { display: none; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.flabel { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.fdetails summary { cursor: pointer; list-style: none; }
.fdetails summary::-webkit-details-marker { display: none; }
.fdetails summary::after { content: " ▾"; }
.fdetails:not([open]) summary::after { content: " ▸"; }
.fhint { margin: 0; font-size: 12px; color: var(--muted); }
.drange { width: 100%; margin: 4px 0 0; accent-color: var(--accent); cursor: pointer; min-height: 24px; }
.input { width: 100%; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14px; }
.input:focus { outline: 2px solid rgba(56,189,248,.35); border-color: var(--accent); }
select.input { appearance: auto; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg__btn { flex: 1 0 auto; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.seg__btn:hover { color: var(--text); border-color: var(--muted); }
.seg__btn.is-on { background: rgba(56,189,248,.14); border-color: var(--accent); color: var(--text); font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 2px; }
.check { display: flex; align-items: center; gap: 8px; padding: 3px 4px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.check:hover { background: var(--panel2); }
.check input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.check span { flex: 1; }
.check em { font-style: normal; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cta { margin-top: 4px; padding: 14px; border-radius: 10px; background: linear-gradient(160deg, rgba(56,189,248,.10), rgba(167,139,250,.08)); border: 1px solid var(--line); }
.cta h3 { margin: 0 0 4px; font-size: 15px; } .cta p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn--sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #04121c; }
.btn--primary:hover { background: #7dd3fc; }
.btn--ghost { background: transparent; color: var(--muted); border-color: var(--line2); }
.btn--ghost:hover { color: var(--text); }
.pill { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #04121c; font-size: 11px; line-height: 18px; }

/* results */
.results__bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; min-height: 0; }
.filters-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.afilter { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.afilter span { color: var(--muted); margin-left: 2px; }
.afilter--clear { color: var(--accent); border-color: transparent; background: none; }
.results__gaming { flex: 0 0 auto; white-space: nowrap; }
.check--inline { padding: 4px 8px 4px 2px; }
.check--inline span { flex: 0 1 auto; color: var(--text); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.note { font-size: 12px; color: var(--muted); margin: 10px 2px 0; }

/* summary table */
.gtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.gtable thead th { text-align: left; font-weight: 600; font-size: 12px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg2); white-space: nowrap; user-select: none; }
.gtable th[data-sort] { cursor: pointer; }
.gtable th[data-sort]:hover { color: var(--text); }
.gtable th[data-sort]::after { content: " ↕"; opacity: .35; }
.gtable th.is-sorted { color: var(--text); }
.gtable th.is-sorted[data-dir="asc"]::after { content: " ↑"; opacity: 1; color: var(--accent); }
.gtable th.is-sorted[data-dir="desc"]::after { content: " ↓"; opacity: 1; color: var(--accent); }
.gtable td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gtable .c-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gtable thead .c-price { text-align: right; }
.gtable .c-act { width: 40px; text-align: center; }
.gtable .c-minord { white-space: nowrap; }
.grow { cursor: pointer; transition: background .15s; }
.grow:hover, .grow:focus-visible { background: var(--panel2); outline: none; }
.grow.is-open { background: var(--panel2); }
.grow.is-gone { opacity: .5; cursor: default; }
.gname { font-weight: 600; font-size: 17px; display: block; line-height: 1.35; overflow-wrap: anywhere; }
.gtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; align-items: center; justify-content: flex-start; }
.gvram-sm { display: none; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pmain { font-size: 16px; font-family: var(--mono); }
/* «Свободно»: число и «±N за мин.» — первой строкой, число свободных серверов — второй, мелкой.
   Иначе при c-free = 180 px (ниже, t210/t221) строка «14 GPU +1 за мин. · 6 серверов» шире ячейки
   и наезжала на «Мин. заказ». Вторая строка есть всегда — строки не прыгают, когда появляется «±N». */
.free { white-space: normal; font-variant-numeric: tabular-nums; }
.free .muted { display: block; white-space: normal; font-size: 12px; line-height: 1.35; }
.bar { position: relative; height: 4px; background: var(--line); border-radius: 4px; margin-top: 6px; max-width: 140px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; transition: width .9s cubic-bezier(.2,.8,.2,1), background-color .9s ease-out; }
/* изменение свободных GPU после обновления (раз в минуту): полоса дважды вспыхивает зелёным/оранжевым и на миг утолщается,
   число мигает цветом, «+3 / −2» стоит до следующего обновления. Полоса 8+ GPU уже полная — по ней пробегает блик. */
.bar.is-up { animation: barGlowUp 1.5s ease-out 2; }
.bar.is-down { animation: barGlowDown 1.5s ease-out 2; }
.bar.is-up i { animation: barTintUp 1.5s ease-out 2; }
.bar.is-down i { animation: barTintDown 1.5s ease-out 2; }
@keyframes barGlowUp { 0%, 25% { transform: scaleY(1.75); box-shadow: 0 0 0 2px rgba(52,211,153,.7), 0 0 14px 3px rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
@keyframes barGlowDown { 0%, 25% { transform: scaleY(1.75); box-shadow: 0 0 0 2px rgba(251,146,60,.7), 0 0 14px 3px rgba(251,146,60,.6); } 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
@keyframes barTintUp { 0%, 35% { box-shadow: inset 0 0 0 8px rgba(110,231,183,.95); } 100% { box-shadow: inset 0 0 0 8px rgba(110,231,183,0); } }
@keyframes barTintDown { 0%, 35% { box-shadow: inset 0 0 0 8px rgba(251,146,60,.95); } 100% { box-shadow: inset 0 0 0 8px rgba(251,146,60,0); } }
.bar.is-same::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 4px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); animation: barSweep 1.5s ease-in-out 2 both; }
@keyframes barSweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.fdelta { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; animation: fdeltaIn .5s ease-out; }
.fdelta--up { color: var(--green); }
.fdelta--down { color: #fb923c; }
@keyframes fdeltaIn { from { opacity: 0; } }
.free.is-up b, .chip.is-up b, .sk-free.is-up { animation: txtUp 3s ease-out; }
.free.is-down b, .chip.is-down b, .sk-free.is-down { animation: txtDown 3s ease-out; }
@keyframes txtUp { 0%, 40% { color: var(--green); } }
@keyframes txtDown { 0%, 40% { color: #fb923c; } }
/* «Уменьшение движения» в системе: без перемещений (ширина меняется сразу, без блика и утолщения),
   цветовая вспышка и «+N / −N» остаются — это информация, а не украшение */
@media (prefers-reduced-motion: reduce) {
  .bar i { transition: none; }
  .bar.is-same::after { display: none; animation: none; }
  .bar.is-up { animation-name: barGlowUpRm; }
  .bar.is-down { animation-name: barGlowDownRm; }
  @keyframes barGlowUpRm { 0%, 25% { box-shadow: 0 0 0 2px rgba(52,211,153,.7), 0 0 14px 3px rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
  @keyframes barGlowDownRm { 0%, 25% { box-shadow: 0 0 0 2px rgba(251,146,60,.7), 0 0 14px 3px rgba(251,146,60,.6); } 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
}
.chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.is-open .chev { transform: rotate(225deg); margin-top: 4px; }
.empty { text-align: center; padding: 48px 16px !important; color: var(--muted); }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line2); color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge--mono { font-family: var(--mono); font-size: 12px; height: 24px; }
.tier { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; cursor: help; }
.tier--secure { background: rgba(52,211,153,.13); color: var(--green); border: 1px solid rgba(52,211,153,.35); }
.tier--spot { background: rgba(255,122,89,.14); color: #ff7a59; border: 1px solid rgba(255,122,89,.45); }  /* t223: коралловый (решение владельца 28.10 09:35 МСК); плашка Spot в окне заказа остаётся жёлтой */
.ind { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 16px; font-family: var(--mono); font-size: 15px; font-weight: 700; line-height: 1; }
.ind--new, .ind--cheaper { color: var(--green); }
.ind--gone, .ind--pricier { color: var(--red); }
.owner-sub { font-size: 11px; color: var(--violet); font-family: var(--mono); }

/* expanded node list */
.drow > td { padding: 0 !important; background: var(--bg2); }
.nodes { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.node { display: grid; grid-template-columns: minmax(0, 1fr) 210px; grid-template-areas: "head price" "specs price" "seller price" "share price" "owner price"; gap: 8px 16px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.node__head { grid-area: head; }
.node__title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.node__name { font-weight: 700; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.node__badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-start; }
.node__soft { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.node__specs { grid-area: specs; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.spec { display: flex; flex-direction: column; min-width: 0; }
.spec span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.spec b { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.spec[title] { cursor: help; }
.node__share { grid-area: share; font-size: 12px; color: var(--muted); }
.node__owner { grid-area: owner; font-size: 12px; color: var(--violet); border-top: 1px dashed rgba(167,139,250,.4); padding-top: 6px; }
.node__price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; text-align: right; min-width: 0; }
/* min-width:0 — иначе flex-item не даёт перенести psuf целиком на следующую строку */
.price { min-width: 0; max-width: 100%; }
.price b { font-size: 20px; font-family: var(--mono); }
.price span { color: var(--muted); font-size: 13px; margin-left: 4px; white-space: nowrap; }
.psuf { white-space: nowrap; display: inline-block; vertical-align: baseline; }
.price--sub { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.price--sub s { color: var(--red); }
/* цена до подешевения: маленькая зачёркнутая сумма перед основной (за выбранную основу) */
.price__before { font-size: 13px; color: var(--red); font-weight: 400; text-decoration-thickness: 1px; margin-right: 4px; }
/* в режиме «GPU» старая цена за GPU·ч — отдельной мелкой строкой */
.price--gpuold { color: var(--muted); font-size: 12px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.price--gpuold s { color: var(--red); text-decoration-thickness: 1px; }
.mark { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.mark--new { background: rgba(52,211,153,.15); color: var(--green); }
.mark--cheaper { background: rgba(56,189,248,.15); color: var(--accent); }
.mark--pricier { background: rgba(248,113,113,.12); color: var(--red); }
.mark--gone { background: var(--line); color: var(--muted); }
.node.is-new { animation: flashNew 6s ease-out; border-color: rgba(52,211,153,.5); }
.node.is-cheaper { animation: flashCheap 6s ease-out; border-color: rgba(56,189,248,.5); }
.node.is-gone { opacity: .45; filter: grayscale(1); }
@keyframes flashNew { from { box-shadow: 0 0 0 3px rgba(52,211,153,.45); } to { box-shadow: 0 0 0 0 transparent; } }
@keyframes flashCheap { from { box-shadow: 0 0 0 3px rgba(56,189,248,.45); } to { box-shadow: 0 0 0 0 transparent; } }
body:not(.is-owner) .node__owner, body:not(.is-owner) .owner-sub, body:not(.is-owner) .chip--owner, body:not(.is-owner) .seller { display: none; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal__box { background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 22px; max-width: 460px; width: 100%; }
.modal__box h3 { margin: 0 0 10px; }
.modal__box p { margin: 0 0 10px; }
.warn { color: var(--yellow); font-size: 13px; }

/* responsive */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 90vw); max-height: none; top: 0; border-radius: 0; z-index: 40; transform: translateX(-105%); transition: transform .2s; }
  body.filters-shown .filters { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.55); }
  .filters__close { display: inline-flex; }
  .filters-open { display: inline-flex; }
  .status { margin-left: 0; width: 100%; padding-bottom: 8px; order: 2; }
  .owner-wrap { order: 3; }
  .status ~ .authlink { margin-left: auto; }
  .node { grid-template-columns: 1fr; grid-template-areas: "head" "specs" "seller" "share" "owner" "price"; }
  .node__price { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 12px; }
  .hero h1 { font-size: 22px; }
  .c-vram, .c-minord { display: none; }
  .gvram-sm { display: inline; }
  .gtable td, .gtable thead th { padding: 10px 8px; }
  .node__specs { grid-template-columns: 1fr 1fr; }
}

/* fixes */
.filters .filters__close { display: none; }
@media (max-width: 900px) { .filters .filters__close { display: inline-flex; } }
@media (max-width: 640px) {
  .bar { max-width: 90px; }
  .gtable .c-act { width: 22px; padding-left: 0; padding-right: 6px; }
  .gname { font-size: 16px; }
  .pmain { font-size: 14px; }
}

/* v2: combobox, counts, advanced */
.fgroup--primary .flabel { color: var(--text); }
.combo { position: relative; }
.combo__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; }
.combo__btn.is-set { border-color: var(--accent); }
.combo__btn #combo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__caret { width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -3px; flex: none; }
.combo__panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.5); padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 280px; }
.combo__list { max-height: 320px; overflow: auto; scrollbar-width: thin; }
.combo__grp { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 6px 3px; }
.combo__opt { display: grid; grid-template-columns: 16px minmax(0,1fr); grid-template-areas: "c n" "c m"; column-gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.combo__opt:hover, .combo__opt.is-active { background: rgba(56,189,248,.10); }
.combo__opt--all { display: block; font-weight: 600; }
.combo__opt--all.is-sel { color: var(--accent); }
.combo__check { grid-area: c; width: 14px; height: 14px; border: 1.5px solid var(--line2); border-radius: 4px; margin-top: 3px; }
.combo__opt.is-sel .combo__check { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--panel2); }
.combo__name { grid-area: n; font-weight: 500; }
.combo__name i { font-style: normal; color: var(--muted); font-size: 12px; font-family: var(--mono); }
.combo__meta { grid-area: m; font-size: 12px; color: var(--green); font-variant-numeric: tabular-nums; }
.combo__opt.is-zero .combo__name, .combo__opt.is-out .combo__name { color: var(--muted); }
.combo__opt.is-zero .combo__meta, .combo__opt.is-out .combo__meta { color: var(--muted); }
.combo__opt.is-out .combo__meta { color: var(--red); }
.combo__empty { padding: 12px; color: var(--muted); font-size: 13px; }
.combo__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.combo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.combo__chips:empty { display: none; }
.afilter--out { border-color: rgba(248,113,113,.5); color: var(--red); }
.seg__btn em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
.seg__btn.is-on em { color: var(--accent); }
.seg__btn.is-zero, .seg__btn:disabled { opacity: .35; cursor: not-allowed; }
.check.is-zero { opacity: .4; cursor: not-allowed; }
.fadv { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.flabel--sub { text-transform: none; letter-spacing: 0; font-size: 12px; }
.fdetails summary { display: flex; align-items: center; gap: 6px; padding: 8px 0 0; border-top: 1px solid var(--line); }
.input--sm { height: 32px; width: auto; font-size: 13px; }

/* v4: подсказки «?» */
.tip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 4px; padding: 0; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 600 10px/1 var(--mono, monospace); cursor: help; vertical-align: middle; text-transform: none; letter-spacing: 0; flex: none; position: relative; top: -2px; }
/* t233: middle = базовая линия + ½ x-height — на 1–2px ниже центра строки; top:-2px поднимает на центр/чуть выше. Во flex-строках (align-items:center) иконка и так по центру — без сдвига. */
.scard__rating .tip, .check-row .tip, .owner-wrap .tip { top: 0; }
.tip::before { content: ""; position: absolute; inset: -8px; } /* зона тапа ~32px */
.tip:hover, .tip:focus-visible, .tip[aria-describedby] { color: var(--accent); border-color: var(--accent); outline: none; }
.has-tip, .status__item[data-tip], .tier[data-tip] { cursor: help; }
.has-tip:focus-visible, .tier:focus-visible, .status__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tip-pop { position: fixed; z-index: 100; max-width: min(320px, calc(100vw - 16px)); padding: 9px 11px; border-radius: 8px; background: #0b1220; color: var(--text); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0,0,0,.55); font-size: 13px; line-height: 1.45; white-space: pre-line; text-transform: none; letter-spacing: 0; font-weight: 400; pointer-events: auto; }
.tip-pop[hidden] { display: none; }
.owner-wrap { display: inline-flex; align-items: center; gap: 2px; }
.owner-wrap[hidden] { display: none; }
.check-row { display: flex; align-items: center; gap: 4px; }
.spec span .tip { width: 14px; height: 14px; font-size: 9px; }
.gtable th .tip { width: 14px; height: 14px; font-size: 9px; margin-left: 2px; }
@media (hover: none) { .tip { width: 20px; height: 20px; font-size: 11px; } }

/* индикаторы изменений — справа от названия модели, а не под ним */
.gname { display: flex; align-items: center; gap: 6px; }
.gname__text { min-width: 0; }
.gname__inds { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; margin-left: auto; }
.gname .ind { flex: 0 0 auto; }
.owner-sub { white-space: nowrap; line-height: 1.3; margin-top: 2px; }

/* v7: ключ активной сортировки в карточке сервера — только цвет и подложка, без сдвига вёрстки */
.node .is-sortkey { color: var(--accent); background: rgba(56,189,248,.12); border-radius: 4px; box-shadow: 0 0 0 2px rgba(56,189,248,.12); }
.node .spec.is-sortkey span, .node .spec.is-sortkey b { color: var(--accent); }
.node .price--sub.is-sortkey { color: var(--accent); }

/* v7/v8: ровные колонки таблицы — фиксированные ширины числовых колонок, модель забирает остаток;
   цена (по правому краю) отделена от «Мин. заказ» таким же зазором, как остальные колонки.
   Шесть колонок занимают 910 px (модель 220 + 100 + 180 + 130 + 240 + 40), и сжимать их нельзя: при узком
   окне модель сжималась до 0–44 px (название рвалось по буквам), а «Мин. заказ» и цена уходили под правый
   край панели, которая их молча обрезала (overflow: hidden). Поэтому по умолчанию (≥641 px) второстепенные
   колонки уходят, как на телефоне: «Мин. заказ» виден в строке цены («за заказ · 8 GPU · …» или
   «мин. заказ 8 GPU — …»), VRAM — значком под названием модели. Модель занимает остаток (width: 100%,
   как в мобильной раскладке) — иначе браузер делит остаток между скрытыми колонками, и модель получает
   треть свободного места. С 1280 px (в панели 914 px > 910) все шесть колонок возвращаются. */
@media (min-width: 641px) {
  .gtable { table-layout: fixed; }
  .gtable .c-model { width: 100%; min-width: 0; }
  .gtable .c-vram, .gtable .c-minord { display: none; }
  .gtable .c-free { width: 180px; }
  .gtable .c-price { width: 240px; padding-left: 28px; }
  .gtable .c-act { width: 40px; }
  .gvram-sm { display: inline; }
}
@media (min-width: 1280px) {
  .gtable .c-model { width: auto; min-width: 220px; }
  .gtable .c-vram { display: table-cell; width: 100px; }
  .gtable .c-minord { display: table-cell; width: 130px; }
  .gvram-sm { display: none; }
}

/* период цены: час / день / месяц */
.periodbox { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.seg--inline { flex-wrap: nowrap; gap: 4px; }
.seg--inline .seg__btn { flex: 0 0 auto; height: 30px; }
.per-alt { font-size: 11px; color: var(--muted); font-family: var(--mono); line-height: 1.35; margin-top: 2px; white-space: nowrap; cursor: help; }
.node .price--alt { font-size: 12px; cursor: help; }
.rent-dur { margin: 12px 0 6px; }
.rent-dur .flabel { display: block; margin-bottom: 6px; }
.rent-own[hidden], .rent-stop-at[hidden] { display: none; }
.rent-stop-at { margin: 8px 0 0 !important; font-size: 14px; }
.rent-own { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.rent-own .input { width: 90px; }
.rent-total { font-size: 16px; margin: 10px 0 !important; }
.rent-total b { font-family: var(--mono); font-size: 20px; }
.rent-total__err { color: var(--red); }
.rent-total__sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .periodbox { margin-left: 0; justify-content: flex-start; } }
/* узкий экран: ничего не должно вылезать вбок */
.results { min-width: 0; }
@media (max-width: 640px) {
  .gtable { table-layout: fixed; }
  .gtable .c-price { width: 170px; padding-left: 8px; }
  .gtable .c-model { width: 100%; min-width: 0; }
  .gtable .c-free { width: 75px; }
  .gtable .pmain { font-size: 13px; }
  /* на телефоне четыре индикатора — компактной сеткой у правого края, чтобы не сжимать название */
  .gname { position: relative; padding-right: 25px; }
  .gname__inds { position: absolute; right: 0; top: 2px; display: grid; grid-template-columns: repeat(2, 10px); gap: 0 2px; margin: 0; }
  .gname .ind { width: 10px; height: 12px; font-size: 11px; }
  /* цена в карточке: постоянные строки (main / другие периоды / доплата+кнопка), не скачет от периода */
  .node__price { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "main main" "gpuold gpuold" "alt alt" "sub button"; gap: 6px; align-items: center; text-align: left; }
  .node__price > .price:first-child { grid-area: main; }
  .node__price > .price--gpuold { grid-area: gpuold; }
  .node__price > .price--alt { grid-area: alt; }
  .node__price > .price--sub { grid-area: sub; }
  .node__price > .btn { grid-area: button; justify-self: end; }
}

html { scroll-padding-top: calc(var(--hdr, 57px) + 8px); }
.lead { padding: 24px 0 14px; }
.glabel { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.bnone { margin: auto 0 0; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line2); color: var(--yellow); font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.faq { margin: 28px 0 32px; }
.faq h2 { font-size: 21px; margin: 0 0 14px; }
.faqgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* last lone card in a 2-col row: same width as siblings, centered */
.faqgrid > .qa:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 6px); /* gap 12px / 2 */
}
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.qa h3 { margin: 0 0 5px; font-size: 15px; }
.qa p { margin: 0; color: var(--muted); font-size: 14px; }
.qa p + p { margin-top: 6px; }
.qa code { font-family: var(--mono); font-size: 12.5px; background: var(--bg2); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); white-space: nowrap; }

/* site footer (contacts) */
.sitefoot { margin-top: 12px; border-top: 1px solid var(--line); background: var(--bg2); }
/* .sitefoot__in also has .wrap — only set vertical padding so side padding stays 20px/12px from .wrap */
.sitefoot__in { padding-top: 20px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.sitefoot__about { margin: 0; color: var(--text); font-size: 14px; }
.sitefoot__contacts { margin: 0; line-height: 1.5; }
.sitefoot__contacts a { color: var(--accent); text-decoration: none; }
.sitefoot__contacts a:hover, .sitefoot__contacts a:focus { text-decoration: underline; }
.sitefoot__note { margin: 2px 0 0; font-size: 12px; opacity: .9; }
@media (max-width: 640px) {
  .faqgrid { grid-template-columns: 1fr; }
  .faqgrid > .qa:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .sitefoot__in { padding-top: 16px; padding-bottom: 32px; font-size: 12.5px; }
  .sitefoot__about { font-size: 13px; }
}

/* серые строки под ценой за GPU: условие этой цены и (на телефоне) самый дешёвый вход */
.pnote { font-size: 11.5px; color: var(--muted); white-space: normal; margin-top: 1px; }
.pnote--sm { display: none; }
@media (max-width: 640px) {
  .gtable .c-price { white-space: normal; }
  .pnote { white-space: normal; max-width: 46vw; }
  .pnote--sm { display: block; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gtable th[data-sort]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* бейдж демо-версии в шапке */
.status__badge--demo { background: rgba(167,139,250,.14); color: var(--violet); border: 1px solid rgba(167,139,250,.45); cursor: help; white-space: nowrap; }
/* блок «Что установлено» в окне заказа (текст — с сервера, software оффера) */
.rent-stack { background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.28); border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; font-size: 13px; }
.modal__box .rent-stack p { margin: 0; }
.modal__box .rent-stack .rent-stack__h { font-weight: 600; margin-bottom: 2px; }
.rent-stack__h span { color: var(--green); }

/* t73: все элементы управления в стиле сайта (без системных стрелок, галочек и полос прокрутки) */
:root { color-scheme: dark; }
* { scrollbar-color: var(--line2) transparent; }
/* числовые поля: без системных стрелок вверх/вниз */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
/* поле поиска: свой крестик очистки */
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7M10.5 3.5l-7 7' stroke='%238b93a7' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
input[type="search"]::-webkit-search-cancel-button:hover { opacity: 1; }
.input::placeholder { color: var(--muted); opacity: .8; }
.input:hover:not(:focus):not(:disabled) { border-color: var(--muted); }
/* выпадающие списки: своя стрелка-шеврон */
select.input { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 32px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6l4.5-4.5' fill='none' stroke='%238b93a7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 11px 8px; }
select.input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6l4.5-4.5' fill='none' stroke='%2338bdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
select.input::-ms-expand { display: none; }
select.input option { background: var(--panel2); color: var(--text); }
/* галочки: своя рамка и отметка */
input[type="checkbox"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 0; padding: 0;
  border: 1.5px solid var(--line2); border-radius: 4px; background: var(--bg2) center / 12px 12px no-repeat; cursor: pointer; vertical-align: middle;
  transition: background-color .12s, border-color .12s; --cb-on: var(--accent); }
input[type="checkbox"]:hover:not(:disabled) { border-color: var(--cb-on); }
input[type="checkbox"]:checked { background-color: var(--cb-on); border-color: var(--cb-on);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4L9.6 3.6' fill='none' stroke='%2304121c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
input[type="checkbox"]:focus { outline: none; }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--cb-on); outline-offset: 2px; }
input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }
.check input[type="checkbox"] { width: 16px; height: 16px; }
.owner-toggle input[type="checkbox"] { --cb-on: var(--violet); border-color: rgba(167,139,250,.6); width: 15px; height: 15px; }
/* фокус с клавиатуры у кнопок — в цвет сайта */
.btn:focus-visible, .seg__btn:focus-visible, .afilter:focus-visible,
.combo__btn:focus-visible, .stepper__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--ghost:hover { border-color: var(--muted); }
/* своё число часов: поле с кнопками − / + */
.rent-own label { cursor: default; }
.stepper { display: inline-flex; align-items: stretch; height: 32px; border-radius: 8px; }
.stepper__btn { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); background: var(--bg2);
  color: var(--muted); font: 600 17px/1 system-ui, sans-serif; cursor: pointer; transition: color .12s, border-color .12s, background-color .12s; }
.stepper__btn:first-child { border-radius: 8px 0 0 8px; border-right: 0; }
.stepper__btn:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.stepper__btn:hover:not(:disabled) { color: var(--text); background: rgba(56,189,248,.10); }
.stepper__btn:active:not(:disabled) { background: rgba(56,189,248,.18); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__btn:focus-visible { position: relative; z-index: 1; outline-offset: -2px; }
.rent-own .stepper__input { width: 64px; height: 32px; border-radius: 0; text-align: center; font-variant-numeric: tabular-nums; position: relative; }
.rent-own .stepper__input:focus { z-index: 1; outline-offset: 0; }
/* флаг страны — картинка с нашего сервера (static/flags, flag-icons 4×3) */
.flag { display: inline-block; width: 16px; height: 12px; border-radius: 2px; vertical-align: -1px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); flex: none; }

/* прерываемые (Spot): подсказка над таблицей, предупреждение в окне заказа */
.rent-go { margin: 0 0 8px; }
.rent-go:disabled { opacity: .45; cursor: not-allowed; }
.modal__box .rent-demo { margin: 0 0 12px; }
.modal__box { max-height: calc(100vh - 32px); overflow-y: auto; }
/* выбор числа GPU в окне заказа */
.rent-gpus { margin: 10px 0 4px; }
.rent-gpus .flabel { display: block; margin-bottom: 6px; }
.rent-gpus .seg { flex-wrap: nowrap; }
.rent-gpus .seg__btn { flex: 1 1 0; min-width: 32px; padding: 0 4px; }
.rent-gpus .rent-own { margin-top: 0; }
.modal__box .rent-gpus__fixed { margin: 0; font-size: 14px; }
.modal__box .rent-price { margin: 8px 0 12px; font-size: 14px; }
.rent-price b { font-family: var(--mono); }
.modal__box .rent-owner-note { margin: 0 0 10px; padding: 7px 10px; border: 1px solid rgba(251,191,36,.45); background: rgba(251,191,36,.08); border-radius: 8px; font-size: 13px; color: var(--yellow); }
.node .btn:disabled { opacity: .45; cursor: not-allowed; }

/* Продавец — только в режиме владельца (поля из Lium /executors) */
.seller { font-size: 12px; color: var(--violet); margin-top: 4px; line-height: 1.4; }
.seller--compact { border-top: 1px dashed rgba(167,139,250,.4); padding-top: 4px; font-weight: 400; }
.seller__hk { font-family: var(--mono); font-size: 11px; opacity: .85; }
.seller__warn { color: var(--yellow); }

/* Продавец для клиента: псевдоним, оценка (t88) */
.sline { grid-area: seller; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
.sline--compact { margin-top: 4px; font-size: 12px; gap: 2px 6px; }
.sline__lbl { color: var(--muted); }
.sline__name { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 3px; }
.sline__name:hover { color: var(--accent); }
.sline__hk { color: var(--violet); }
.rating { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.rating--reliable { background: rgba(52,211,153,.15); color: var(--green); }
.rating--regular { background: var(--line); color: var(--text); }
.rating--new { background: rgba(56,189,248,.15); color: var(--accent); }
.scard__rating { display: flex; align-items: center; gap: 6px; }
.scard__facts { margin: 0 0 10px; display: grid; gap: 6px; }
.scard__facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: 14px; }
.scard__facts dt { color: var(--muted); } /* t233: строкой, «?» сразу за последним словом (во flex при переносе висела между строк) */
.scard__facts dd { margin: 0; text-align: right; font-weight: 500; }
.scard__list ul { margin: 4px 0 12px; padding-left: 18px; font-size: 13px; }
.scard__list li { margin: 2px 0; }
.status__item.is-stale { color: var(--yellow); }
.sline__name:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .sline { font-size: 12px; } }

/* t95: «Сейчас все заняты» + «Сообщить, когда появится» */
.grow.is-out { cursor: default; }
.grow.is-out td { background: rgba(139,147,167,.05); }
.grow.is-out .gname, .grow.is-out .badge { color: var(--muted); }
.grow.is-out:hover td { background: rgba(139,147,167,.08); }
.busyrow { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.busy { color: var(--muted); font-size: 13px; }
.notify-btn { white-space: nowrap; color: var(--accent); border-color: rgba(56,189,248,.45); }
.notify-btn:hover { color: var(--text); border-color: var(--accent); }
.owner-sub--inline { display: inline; margin-left: 6px; }
.combo__opt.is-busy .combo__meta { color: var(--muted); font-style: italic; }
.afilter--out { color: var(--muted); border-style: dashed; }
select option.is-busy { color: #8b93a7; }
.nform { display: flex; flex-direction: column; gap: 10px; }
.nform label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.nform input, .nform select { height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14px; }
.nform input[readonly] { color: var(--muted); }
.nform p { margin: 0; }
.nform__warn { color: var(--yellow); font-size: 13px; }
.nform__msg:empty { display: none; }
.nform__msg.is-err { color: var(--red); }
.nform__ok { color: var(--green, #4ade80); }
.unsub { max-width: 520px; margin: 60px auto; padding: 0 16px; }
.unsub form { margin: 16px 0; }
@media (max-width: 640px) { .busyrow .notify-btn { width: 100%; } }

/* t101: единое закрытие окон — × в правом верхнем углу (клик мимо окна и Esc тоже закрывают) */
.modal__box { position: relative; }
.modal__box h3 { padding-right: 40px; }
.modal__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; z-index: 1; }
.modal__x:hover { color: var(--text); background: var(--bg2); border-color: var(--line2); }
.modal__x:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.modal__ok { margin-top: 6px; }
.nform #nf-submit { margin-top: 6px; height: 42px; }
@media (max-width: 640px) { .modal { padding: 10px; } .modal__box { padding: 18px 16px; } .modal__x { top: 8px; right: 8px; } }
/* t101: «Сообщить, когда появится» — у правого края строки/карточки (как кнопки «Арендовать»), и когда переносится на новую строку */
.busyrow .notify-btn { margin-left: auto; }
.c-busy .busyrow { padding-right: 13px; }   /* вровень с «Арендовать» в раскрытой строке (отступы .nodes 12 + рамка .node 1) */
/* t101: окно «Сообщить о наличии» — название карты, почта, кнопка, мелкая серая строка */
.nform { gap: 12px; }
.nform .nform__model { margin: -6px 0 2px; font-size: 15px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.nform__email input { height: 42px; }
.nform #nf-submit { margin-top: 2px; }
.nform #nf-submit:disabled { opacity: .45; cursor: not-allowed; }
.nform .nform__note { font-size: 12px; color: var(--muted); text-align: center; }
.nform .nform__note { text-wrap: balance; }
/* t101: чип модели — одна строка, длинное название с «…», × всегда виден; нет в наличии — та же форма, серый цвет */
.afilter--out { color: var(--muted); border-style: solid; border-color: var(--line2); }
.afilter--out .afilter__name { color: var(--muted); }
.afilter--chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; white-space: nowrap; }
.afilter--chip .afilter__name { overflow: hidden; text-overflow: ellipsis; min-width: 0; color: inherit; margin: 0; }

/* t109: окно «Сообщить о наличии» — заголовок и название карты по центру (поля симметричны крестику) */
.modal--center .modal__box h3 { text-align: center; padding: 0 40px; }
.modal--center .nform .nform__model { text-align: center; }

/* t110: мягкий акцент на выборе GPU (без кричащих цветов) */
.fgroup--primary #combo-label { color: var(--accent); }
.fgroup--primary .combo__btn { border-color: color-mix(in srgb, var(--accent) 45%, var(--line2)); background: color-mix(in srgb, var(--accent) 6%, var(--bg2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 8%, transparent); }
.fgroup--primary .combo__btn:hover { border-color: color-mix(in srgb, var(--accent) 70%, var(--line2)); }
.fgroup--primary .combo__btn.is-set { border-color: var(--accent); }


/* Отдельная страница про SSH (ssh.html) */
.docpage { max-width: 720px; margin: 28px auto 48px; }
.docpage h1 { font-size: 26px; margin: 0 0 10px; }
.docpage .lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.docpage h2 { font-size: 18px; margin: 28px 0 10px; }
.docpage ol, .docpage ul { margin: 0 0 14px; padding-left: 1.3em; color: var(--muted); font-size: 15px; }
.docpage li { margin: 0 0 8px; }
.docpage li strong { color: var(--text); font-weight: 600; }
.docpage p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.docpage code { font-family: var(--mono); font-size: 13px; background: var(--bg2); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); white-space: nowrap; }
.docpage pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; color: var(--text); margin: 0 0 14px; white-space: pre-wrap; word-break: break-all; }
.docpage .callout { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; }
.docpage .callout p { margin: 0; }
.docpage .back { margin: 28px 0 0; font-size: 14px; }
.docpage a { color: var(--accent); }

/* provider favicon: light circular pad so dark glyphs stay visible on dark UI */
.prov-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e2e8f0;
  flex: 0 0 auto;
  box-sizing: border-box;
  cursor: help;
}
.prov-wrap--lg {
  width: 28px;
  height: 28px;
}
.prov {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  pointer-events: none;
}
.prov-wrap--lg .prov {
  width: 22px;
  height: 22px;
}
.sline .prov-wrap { margin: 0 2px 0 0; }
.mark--spot { background: rgba(251,191,36,.15); color: var(--yellow); border: 1px solid rgba(251,191,36,.35); }

/* t184: кнопка «Показать/Скрыть недоступные» */
.unavail-toggle td { padding: 10px 12px !important; background: transparent; border: none; }
.unavail-toggle .btn { width: 100%; justify-content: center; }

/* t221 вариант A: строка наличия под заголовком */
.slots { display: inline-flex; gap: 3px; vertical-align: middle; }
.slots i { width: 10px; height: 14px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--line2); }
.slots i.on { background: var(--green); box-shadow: none; }
.avl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-size: 14px; color: var(--text); }
.avl__free b { font-size: 17px; font-family: var(--mono); color: var(--green); }
.avl__free.is-zero b { color: var(--muted); }
.avl__min { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.35); color: var(--accent); font-weight: 600; font-size: 13px; white-space: nowrap; }
.avl__min b { font-family: var(--mono); font-size: 14px; }
.avl .fdelta { font-size: 12.5px; }
.avl__min--whole { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.4); color: var(--yellow); }
/* docs/12 C4: проверенная цена (quote) в окне заказа — блок над кнопкой оплаты */
.rent-quote[hidden] { display: none; }
.rent-quote { margin: 0 0 10px; font-size: 14px; }
.modal__box .rent-quote p { margin: 0 0 6px; }
.rent-quote__box { padding: 8px 12px; line-height: 1.5; border-radius: 10px; border: 1px solid rgba(56,189,248,.35); background: rgba(56,189,248,.07); }
.rent-quote b { font-family: var(--mono); white-space: nowrap; }
.rent-quote__left { font-variant-numeric: tabular-nums; }
.rent-quote__box.is-old { border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.08); color: var(--yellow); }
.rent-quote__box.is-old b { font-family: inherit; white-space: normal; }
.rent-quote__refresh { display: block; margin-top: 6px; }
.rent-quote__moved { color: var(--yellow); }
.rent-quote__err { color: var(--red); }
