/* Genaro — дизайн-система «парящее стекло»: пейзаж на фоне, матовые полупрозрачные панели, белая типографика. */
:root {
  color-scheme: dark;
  --bg: #233246; --bg2: rgba(255, 255, 255, .08); --surface: rgba(38, 54, 76, .42); --surface2: rgba(255, 255, 255, .12);
  --border: rgba(255, 255, 255, .17); --border2: rgba(255, 255, 255, .28);
  --text: #ffffff; --muted: rgba(255, 255, 255, .78); --faint: rgba(255, 255, 255, .56);
  --accent: #ffffff; --accent-fg: #ffe1bd; --accent-ink: #17202c; --accent-soft: rgba(255, 255, 255, .16);
  --violet: #b9b0ff; --ok: #7df0b8; --warn: #ffcd82; --bad: #ff9b9b;
  --shadow: 0 24px 60px rgba(10, 20, 36, .34);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)), rgba(52, 70, 96, .34);
  --glass-solid: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)), rgba(30, 44, 64, .8);
  --blur: blur(26px) saturate(1.25);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 0 0 1px rgba(255, 255, 255, .05);
  --r: 26px; --r-sm: 14px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; position: relative; }
/* пейзаж и лёгкая дымка поверх него — неподвижны, страница плывёт над ними */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; }
body::before { background: #2a3b52 url(/static/bg.webp) center / cover no-repeat; }
body::after { z-index: -1; background: linear-gradient(180deg, rgba(30, 44, 68, .04) 0%, rgba(26, 38, 60, .2) 55%, rgba(20, 30, 48, .4) 100%); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); }
::selection { background: rgba(255, 255, 255, .3); }
::placeholder { color: var(--faint); opacity: 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .88rem; } .center { text-align: center; }
.hide { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .grow { flex: 1; } .gap-l { gap: 24px; }
.stack > * + * { margin-top: 12px; }
main > h1, main > h2, main > h3, main > p, main > .eyebrow { text-shadow: 0 1px 18px rgba(14, 24, 40, .45); }

/* кнопки — пилюли: белая главная, стеклянная вторая */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; min-height: 42px;
  border-radius: 99px; border: 1px solid var(--border2); background: rgba(255, 255, 255, .1); color: var(--text); font: 600 .95rem var(--font);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  cursor: pointer; text-decoration: none; transition: transform .12s, border-color .15s, background .15s, opacity .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: #fff; color: var(--accent-ink); border-color: transparent; box-shadow: 0 10px 30px rgba(12, 22, 40, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn.primary:hover { background: #fff; box-shadow: 0 14px 38px rgba(12, 22, 40, .38), 0 0 0 5px rgba(255, 255, 255, .2); }
.btn.ghost { background: rgba(255, 255, 255, .06); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 6px 15px; min-height: 36px; font-size: .88rem; }
.btn.lg { padding: 14px 30px; min-height: 54px; font-size: 1.05rem; }
.btn.block { width: 100%; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* поля */
label.f { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 15px; border-radius: var(--r-sm); border: 1px solid var(--border2); background: rgba(16, 26, 42, .28);
  color: var(--text); font: 1rem var(--font); min-height: 44px; box-shadow: inset 0 1px 6px rgba(8, 16, 30, .22); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
.input:focus { outline: none; border-color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), inset 0 1px 6px rgba(8, 16, 30, .22); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: #fff; width: 17px; height: 17px; flex: none; }

/* карточки и бейджи */
.card { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: var(--r); padding: 24px;
  box-shadow: var(--shadow), var(--edge); }
.card.pad-s { padding: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid var(--border);
  font-size: .76rem; font-weight: 600; color: var(--muted); }
.badge.acc { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .3); }
.badge.ok { color: var(--ok); } .badge.bad { color: var(--bad); } .badge.warn { color: var(--warn); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--border2); background: rgba(255, 255, 255, .08); color: var(--muted); font: 600 .88rem var(--font); cursor: pointer;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .15s, color .15s; }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .18); }
.chip.on { background: #fff; color: var(--accent-ink); border-color: transparent; }

/* шапка: парящие стеклянные пилюли без сплошной полосы */
header.top { position: sticky; top: 0; z-index: 30; padding: 14px 0 0; }
header.top .wrap { display: flex; align-items: center; gap: 0; height: 56px; max-width: 1280px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; }
.logo i { display: none; }
header.top .logo, header.top nav.main { height: 52px; padding: 0 24px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(10, 20, 36, .2), var(--edge); }
header.top .logo { border-radius: 99px 0 0 99px; border-right: 0; padding-right: 20px; }
header.top nav.main { border-radius: 0 99px 99px 0; border-left: 0; padding: 0 12px 0 0; }
nav.main { display: flex; align-items: center; gap: 0; }
nav.main a { padding: 6px 16px; border-radius: 99px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .97rem; position: relative; transition: color .15s, background .15s; }
nav.main a::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255, 255, 255, .28); }
nav.main a:hover, nav.main a.on { color: var(--text); background: rgba(255, 255, 255, .14); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.top .right .btn.sm { min-height: 48px; padding: 0 26px; font-size: .95rem; }
.top .right .btn.ghost, .top .right .btn:not(.primary) { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.quota-pill { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--border); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: var(--edge); }
.quota-pill b { color: var(--accent-fg); }
@media (max-width: 760px) {
  nav.main, .top .right .desk { display: none !important; } .burger { display: inline-flex !important; }
  header.top .logo { border-radius: 99px; border-right: 1px solid var(--border); padding: 0 20px; height: 46px; font-size: 1.15rem; }
  header.top .wrap { padding: 0 12px; } .top .right { gap: 8px; }
  .top .right .btn.sm { min-height: 44px; padding: 0 16px; font-size: .86rem; }
  .quota-pill { padding: 0 12px; min-height: 44px; font-size: .78rem; }
}
.burger { display: none; }
.mobile-nav { display: none; margin: 10px 12px 0; padding: 6px 18px; border-radius: 22px; background: var(--glass-solid); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); } .mobile-nav a:last-child { border-bottom: 0; }
footer.bottom { margin: 90px auto 24px; max-width: 1160px; width: calc(100% - 32px); padding: 34px 12px 30px; color: var(--muted); font-size: .9rem; border-radius: var(--r);
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow), var(--edge); }
footer.bottom .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer.bottom b { color: var(--text); }
footer.bottom a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; } footer.bottom a:hover { color: var(--text); }
footer.bottom .legal { margin-top: 26px; font-size: .8rem; color: var(--faint); max-width: 780px; }

/* герой: центральная панель, парящие картинки по бокам, полка примеров */
.hero { position: relative; max-width: 1560px; margin: 0 auto; padding: clamp(28px, 7vh, 84px) 16px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-glass { position: relative; z-index: 2; width: min(100%, 860px); padding: clamp(26px, 4vw, 52px) clamp(20px, 4vw, 56px); border-radius: 38px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow), var(--edge); }
.hero-glass h1 { margin: 0 0 .35em; }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; margin: 0 auto; }
.hero .cta { position: relative; z-index: 2; margin: 26px 0 0; justify-content: center; gap: 16px; }
.hero .cta .btn.lg { min-height: 60px; padding: 0 44px; font-size: 1.1rem; }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, auto); margin: 34px auto 0; width: min(100%, 940px); border-radius: 30px; padding: 22px 8px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow), var(--edge); }
.stats > div { padding: 2px 22px; border-left: 1px solid rgba(255, 255, 255, .26); } .stats > div:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.stats span { display: block; margin-top: 4px; line-height: 1.35; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; padding: 20px 4px; } .stats > div:nth-child(odd) { border-left: 0; } .stats > div { padding: 2px 14px; } }
.floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floats a { position: absolute; display: block; pointer-events: auto; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 30px 70px rgba(10, 20, 36, .42), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .5s cubic-bezier(.2, .7, .2, 1); will-change: transform; animation: drift 9s ease-in-out infinite alternate; }
.floats a img { width: 100%; height: 100%; object-fit: cover; }
.floats a:hover { animation-play-state: paused; z-index: 5; }
.floats .f1 { left: 2.5%; top: 4%; width: 19%; aspect-ratio: 4 / 5; --rot: -3deg; }
.floats .f2 { left: 1%; top: 50%; width: 14.5%; aspect-ratio: 5 / 4; --rot: 2deg; animation-delay: -3s; z-index: 2; }
.floats .f3 { right: 2.5%; top: 2%; width: 17.5%; aspect-ratio: 5 / 4; --rot: 3deg; animation-delay: -5s; }
.floats .f4 { right: 1%; top: 30%; width: 12.5%; aspect-ratio: 5 / 4; --rot: -2deg; animation-delay: -1.5s; z-index: 2; }
.floats .f5 { right: 3%; top: 54%; width: 19%; aspect-ratio: 3 / 2; --rot: 1.5deg; animation-delay: -6.5s; }
@keyframes drift { from { transform: translateY(-7px) rotate(var(--rot, 0deg)); } to { transform: translateY(9px) rotate(calc(var(--rot, 0deg) * .55)); } }
@media (max-width: 1180px) { .floats { display: none; } }
@media (prefers-reduced-motion: reduce) { .floats a { animation: none; transform: rotate(var(--rot, 0deg)); } html { scroll-behavior: auto; } }
.tray { max-width: 1560px; margin: 44px auto 0; width: calc(100% - 32px); padding: 22px; border-radius: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow), var(--edge); }
.tray a { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.tray img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .tray a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .tray { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; border-radius: 24px; margin-top: 28px; } .tray a { border-radius: 14px; } }

/* секции лендинга — каждая на своей стеклянной панели */
section.block { margin-top: 28px; padding: clamp(24px, 4vw, 48px); border-radius: 34px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); box-shadow: var(--shadow), var(--edge); }
main.wrap > section.block:first-child { margin-top: 44px; }
section.block .card, .docs article .card, .legal-text .card { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); border-radius: 22px; }
.eyebrow { color: var(--accent-fg); font-weight: 650; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.steps .card b.n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; background: #fff; color: var(--accent-ink); font-weight: 700; margin-bottom: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.t th { text-align: left; color: var(--faint); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--border); }
table.t td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; }
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 28px; }
.price .plan { border-color: rgba(255, 255, 255, .38); background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)) !important; }
.price .amount { font-size: 3.3rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.price ul { list-style: none; padding: 0; margin: 20px 0; } .price li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); }
.price li::before { content: "✓"; position: absolute; left: 0; color: #fff; font-weight: 800; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.meter { height: 8px; background: rgba(255, 255, 255, .14); border-radius: 99px; overflow: hidden; }
.meter > i { display: block; height: 100%; background: #fff; border-radius: 99px; transition: width .4s; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; } .faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #fff; font-size: 1.4rem; line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* код */
pre.code { background: rgba(10, 16, 28, .62); color: #eef1f7; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; overflow-x: auto; font-size: .86rem; line-height: 1.6; margin: 0; position: relative;
  box-shadow: inset 0 1px 10px rgba(4, 8, 16, .4); }
pre.code .k { color: #ffe1bd; } pre.code .s { color: #a8f0c8; } pre.code .c { color: rgba(255, 255, 255, .5); }
.copy { position: absolute; top: 10px; right: 10px; padding: 4px 12px; font-size: .75rem; border-radius: 99px; border: 1px solid var(--border2); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.tabs { display: inline-flex; max-width: 100%; gap: 4px; padding: 5px; margin-bottom: 18px; overflow-x: auto; border-radius: 99px; background: rgba(16, 26, 42, .26); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.tabs button { background: none; border: 0; color: var(--muted); font: 600 .93rem var(--font); padding: 9px 18px; cursor: pointer; border-radius: 99px; white-space: nowrap; transition: background .15s, color .15s; }
.tabs button:hover { color: #fff; }
.tabs button.on { color: var(--accent-ink); background: #fff; box-shadow: 0 6px 18px rgba(10, 20, 36, .25); }
.auth-card .tabs { display: flex; } .auth-card .tabs button { flex: 1; }

/* масонри-галерея */
.masonry { columns: 4 240px; column-gap: 16px; }
.tile { break-inside: avoid; margin: 0 0 16px; border-radius: 22px; overflow: hidden; position: relative; cursor: pointer; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); display: block; width: 100%; padding: 0; text-align: left; color: inherit; font: inherit;
  box-shadow: 0 16px 40px rgba(10, 20, 36, .3); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(10, 20, 36, .42); }
.tile img { width: 100%; height: auto; transition: transform .45s; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(10, 18, 32, .78)); color: #fff; font-weight: 600; font-size: .88rem; opacity: 0; transition: opacity .2s; }
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; }
.tile .tag { position: absolute; top: 10px; left: 10px; }
.tile .tag .badge { background: rgba(20, 30, 46, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; border-color: rgba(255, 255, 255, .25); }
@media (hover: none) { .tile .cap { opacity: 1; } }

/* модалки и тосты */
.modal-back { position: fixed; inset: 0; background: rgba(14, 22, 36, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: 60; display: none; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; }
.modal-back.open { display: flex; }
.modal { background: var(--glass-solid); border: 1px solid var(--border2); border-radius: 30px; width: 100%; max-width: 980px; box-shadow: 0 40px 100px rgba(6, 12, 24, .55), var(--edge); position: relative; margin: auto; }
.modal.narrow { max-width: 520px; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--border2); background: rgba(30, 44, 64, .6); color: var(--text); cursor: pointer; font-size: 1.2rem; z-index: 2; }
.modal .body { padding: 28px; }
.lib-modal { display: grid; grid-template-columns: 1.1fr 1fr; }
.lib-modal .pic { background: rgba(10, 16, 28, .3); display: grid; place-items: center; border-radius: 30px 0 0 30px; padding: 16px; }
.lib-modal .pic img { max-height: 78vh; width: auto; border-radius: 18px; }
@media (max-width: 800px) { .lib-modal { grid-template-columns: 1fr; } .lib-modal .pic { border-radius: 30px 30px 0 0; } }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; width: min(440px, 94vw); }
.toast { background: var(--glass-solid); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border2); padding: 13px 20px; border-radius: 99px; box-shadow: var(--shadow); font-weight: 550; animation: up .25s; text-align: center; }
.toast.bad { border-color: var(--bad); } .toast.ok { border-color: var(--ok); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

/* кабинет */
.app-grid { display: grid; grid-template-columns: 380px 1fr; gap: 22px; padding: 24px 0 0; align-items: start; }
.panel { position: sticky; top: 88px; }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; } .panel { position: static; } }
.models { display: grid; gap: 8px; }
.model { display: flex; gap: 10px; align-items: flex-start; padding: 12px 15px; border: 1px solid var(--border); border-radius: 18px; cursor: pointer; background: rgba(255, 255, 255, .07); transition: background .15s, border-color .15s; }
.model:hover { background: rgba(255, 255, 255, .13); }
.model.on { border-color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .2); }
.model input { display: none; } .model b { display: block; font-size: .95rem; } .model span.d { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.model .cr { margin-left: auto; white-space: nowrap; font-weight: 650; font-size: .85rem; color: var(--accent-fg); }
.aspects { display: flex; gap: 8px; flex-wrap: wrap; }
.aspect { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, .07); cursor: pointer; min-width: 58px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.aspect i { display: block; border: 2px solid currentColor; border-radius: 3px; }
.aspect.on { border-color: rgba(255, 255, 255, .8); color: #fff; background: rgba(255, 255, 255, .2); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border2); border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.stepper button { width: 42px; height: 42px; border: 0; background: none; color: var(--text); font-size: 1.2rem; cursor: pointer; } .stepper span { width: 34px; text-align: center; font-weight: 650; }
.refs { display: flex; gap: 8px; flex-wrap: wrap; }
.ref { width: 66px; height: 66px; border-radius: 16px; border: 1px solid var(--border2); position: relative; overflow: hidden; }
.ref img { width: 100%; height: 100%; object-fit: cover; } .ref button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 99px; border: 0; background: rgba(10, 18, 32, .7); color: #fff; cursor: pointer; line-height: 1; }
.ref.add { display: grid; place-items: center; cursor: pointer; color: var(--muted); font-size: 1.6rem; border-style: dashed; background: rgba(255, 255, 255, .05); }
.ref.add:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.job { background: rgba(40, 58, 82, .5); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(10, 20, 36, .28), var(--edge); }
.job .img { aspect-ratio: var(--ar, 1); background: rgba(10, 16, 28, .3); position: relative; display: grid; place-items: center; overflow: hidden; }
.job .img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.job .meta { padding: 11px 14px 13px; font-size: .82rem; } .job .meta p { margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.job .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.job .btn { -webkit-backdrop-filter: none; backdrop-filter: none; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: sp .8s linear infinite; }
.btn.primary .spin { border-color: rgba(23, 32, 44, .2); border-top-color: var(--accent-ink); }
@keyframes sp { to { transform: rotate(1turn); } }
.shimmer { background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .04) 70%); background-size: 200% 100%; animation: sh 1.4s linear infinite; position: absolute; inset: 0; }
@keyframes sh { to { background-position: -200% 0; } }
.job .state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; font-size: .85rem; color: var(--muted); gap: 8px; align-content: center; }
.notice { padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid var(--border); font-size: .92rem; }
.notice.bad { background: rgba(255, 120, 120, .18); border-color: rgba(255, 155, 155, .45); }
main > .notice { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.kpi { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: 22px; padding: 18px; box-shadow: var(--edge); }
.kpi b { display: block; font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em; } .kpi span { color: var(--muted); font-size: .85rem; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; } .bars i { flex: 1; background: #fff; border-radius: 4px 4px 0 0; min-height: 2px; opacity: .8; }
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding-top: 32px; align-items: start; }
.docs aside, .docs article, main.legal-text { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: 30px; box-shadow: var(--shadow), var(--edge); }
.docs aside { position: sticky; top: 88px; padding: 22px; } .docs aside a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .93rem; } .docs aside a:hover { color: var(--text); }
.docs article { padding: clamp(22px, 4vw, 44px); background: var(--glass-solid); }
.docs h2 { margin-top: 56px; padding-top: 8px; } .docs h3 { margin-top: 28px; }
.docs code.i, code.i { background: rgba(255, 255, 255, .14); border: 1px solid var(--border); padding: 1px 7px; border-radius: 8px; font-size: .86em; }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs aside { display: none; } }
.auth-card { max-width: 460px; margin: clamp(32px, 9vh, 96px) auto 0; padding: 30px; border-radius: 34px; }
main.legal-text { max-width: 820px; margin-top: 36px; padding: clamp(22px, 4vw, 44px); background: var(--glass-solid); }
.legal-text h2 { font-size: 1.3rem; margin-top: 32px; } .legal-text p, .legal-text li { color: var(--muted); }
.pad-top { padding-top: 28px; }

#planCards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
