:root {
  --bg: #050506;
  --bg2: #0a0b0e;
  --bg3: #101114;
  --panel: #0c0d11;
  --border: #1c1f28;
  --border2: #2a2e3a;
  --gold: #e1c05e;
  --gold2: #c9a962;
  --gold-glow: rgba(225, 192, 94, 0.22);
  --text: #f4f2ec;
  --text2: #9a9da8;
  --text3: #5c6170;
  --cyan: #5ec4b7;
  --success: #3ddc97;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
  --nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2);
}

.logo__icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  background: var(--bg3);
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; gap: 10px; align-items: center; }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border2);
  color: var(--text2);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--text); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #c4a24a);
  color: #141008;
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 48px) 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto;
  height: 70%;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--gold-glow), transparent 65%);
  pointer-events: none;
}

.hero__top {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  position: relative;
}

.hero__top h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__sub {
  margin: 0 0 24px;
  color: var(--text2);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
  min-width: 120px;
}

.stat__val {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.stat__lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Screenshot frame */
.frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 24px 80px rgba(0,0,0,0.65),
    0 0 60px var(--gold-glow);
  background: var(--bg3);
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0e0f13;
  border-bottom: 1px solid var(--border);
}

.frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2e38;
}
.frame__dot:nth-child(1) { background: #ff5f57; }
.frame__dot:nth-child(2) { background: #febc2e; }
.frame__dot:nth-child(3) { background: #28c840; }

.frame__url {
  flex: 1;
  margin-left: 10px;
  font-size: 11px;
  color: var(--text3);
  background: var(--bg2);
  border-radius: 6px;
  padding: 5px 12px;
  text-align: center;
}

.frame img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ── Sections ── */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section__head {
  margin-bottom: 32px;
}

.section__head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.section__sub {
  margin: 10px 0 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text2);
}

.section__sub b { color: var(--text); }

.shop-grid { max-width: 820px; }

.shop-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--bg2) 0%, var(--bg3) 100%);
}

.shop-card--hot {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 12px 40px rgba(0,0,0,0.25);
}

.shop-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
}

.shop-card__tag--hot {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
}

.shop-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.shop-card p {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text2);
}

.shop-card__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: var(--text2);
}

.shop-card__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.shop-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.shop-card__btn { width: 100%; justify-content: center; }

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {}

.feature__shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  background: var(--bg2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature__shot:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.feature__shot img {
  width: 100%;
  aspect-ratio: 1280 / 820;
  object-fit: cover;
  object-position: left top;
}

.feature__shot--result video,
.feature__shot--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.feature__shot--video {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin-inline: auto;
  background: #000;
}

.feature__shot--result {
  aspect-ratio: 679 / 226;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #000;
}

.feature__shot--result img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 8px;
  object-fit: contain;
}

.feature h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
}

.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  background: rgba(158,158,170,.15);
  color: var(--text2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── Pricing ── */
.pricing {
  padding: 56px 0 72px;
  border-top: 1px solid var(--border);
}

.pricing__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.pricing__intro h2 {
  margin: 0 0 10px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing__intro p {
  margin: 0;
  color: var(--text2);
  font-size: 14px;
}

.pricing__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pricing__tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}

.pricing__tab:hover { border-color: var(--border2); color: var(--text); }

.pricing__tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #141008;
}

.pricing__panel { display: none; }
.pricing__panel.is-active { display: block; }

.pricing__block-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pricing__block-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.pricing__block-sub {
  font-size: 13px;
  color: var(--text2);
  margin: 0 0 24px;
  max-width: 520px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plans--3 { grid-template-columns: repeat(3, 1fr); }

.plans--1 {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}

.plan {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  position: relative;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
}

.plan:hover { border-color: var(--border2); }

.plan--hot {
  border-color: rgba(225,192,94,.45);
  background: linear-gradient(180deg, rgba(225,192,94,.08), var(--bg2));
}

.plan--dim { opacity: 0.78; }

.plan__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(94,196,183,.12);
  color: var(--cyan);
}

.plan__tag--soon {
  background: rgba(158,158,170,.12);
  color: var(--text2);
}

.plan__tag--src {
  background: rgba(225,192,94,.12);
  color: var(--gold);
}

.plan__price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan__price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
}

.plan__period {
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 14px;
}

.plan__desc {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.45;
  margin: 0 0 14px;
}

.plan__features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.plan__features li {
  font-size: 11px;
  color: var(--text2);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.4;
  border-top: 1px solid var(--border);
}

.plan__features li:first-child { border-top: none; padding-top: 0; }

.plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
}

.plan__features li.no::before { content: "—"; color: var(--text3); }
.plan__features li.no { color: var(--text3); }

.plan__features li.soon::after {
  content: "скоро";
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text3);
  margin-left: 6px;
  letter-spacing: 0.06em;
}

.plan__btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border2);
  color: var(--text2);
  transition: 0.15s;
  margin-top: auto;
}

.plan__btn:hover { border-color: var(--gold); color: var(--text); }

.plan--hot .plan__btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #141008;
}

.plan--hot .plan__btn:hover { filter: brightness(1.05); }

.plan__flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.plan__flex-item {
  text-align: center;
  padding: 10px 6px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg3);
}

.plan__flex-item--best {
  border-color: rgba(225,192,94,.45);
  background: rgba(225,192,94,.06);
}

.plan__flex-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.plan__flex-lbl {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: 4px;
}

.plan__highlight {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
}

.pricing__note {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text3);
  text-align: center;
  line-height: 1.6;
}

.pricing__note a { color: var(--cyan); }

.pricing__compare {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.compare th,
.compare td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.compare th {
  color: var(--text3);
  font-weight: 600;
  background: var(--bg3);
}

.compare td { color: var(--text2); }
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare tr:last-child td { border-bottom: none; }

.compare .y { color: var(--success); font-weight: 700; }
.compare .n { color: var(--text3); }

.pricing__tg {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}
.pricing__tg:hover { text-decoration: underline; }

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  font-size: 12px;
  color: var(--text3);
  text-align: center;
}
.footer a { color: var(--text2); }
.footer a:hover { color: var(--gold); }

/* ── Auth ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.auth-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--gold-glow), transparent),
    var(--bg);
  z-index: 0;
}

.auth {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 400px);
  padding: 24px 0;
}

.auth__back {
  display: inline-block;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 20px;
}
.auth__back:hover { color: var(--gold); }

.auth__card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}

.auth__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.auth__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth__sub {
  font-size: 12px;
  color: var(--text3);
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus { border-color: var(--gold); }

.auth__form { margin-bottom: 20px; }

.auth__hint {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.auth__hint a { color: var(--cyan); }

.auth__error {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.22);
}

.auth__error[hidden] { display: none !important; }

.auth__switch {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin: 0 0 14px;
}

.auth__switch a { color: var(--cyan); font-weight: 600; }

.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 8px 12px; font-size: 12px; min-height: 0; }

/* ── Dashboard ── */
.dash-page { min-height: 100vh; background: var(--bg); }

.dash-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
}

.dash-nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.dash-nav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}

.dash {
  padding: 28px 0 56px;
}

.dash__error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.22);
}

.dash__error[hidden] { display: none !important; }

.dash-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dash-hero__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.dash-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.dash-hero p {
  margin: 0;
  color: var(--text2);
  font-size: 13px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 28px;
}

.dash-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.dash-card h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.dash-kv {
  margin: 0;
  display: grid;
  gap: 12px;
}

.dash-kv div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: baseline;
}

.dash-kv dt {
  margin: 0;
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-kv dd {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  word-break: break-word;
}

.dash-plan__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.dash-plan__status {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 12px;
}

.dash-plan__status.is-active { color: var(--success); }
.dash-plan__status.is-expired { color: #ffb4b4; }

.dash-plan__hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text3);
  margin: 0 0 16px;
}

.dash-plan__hint a { color: var(--cyan); }

.dash-section { margin-bottom: 28px; }

.dash-section__head {
  margin-bottom: 14px;
}

.dash-section__head h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.dash-section__head p {
  margin: 0;
  font-size: 12px;
  color: var(--text3);
}

.dash-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-module {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.dash-module.is-open { border-color: rgba(0, 212, 255, 0.25); }
.dash-module.is-locked { opacity: 0.82; }

.dash-module__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dash-module__head h3 {
  margin: 0;
  font-size: 13px;
}

.dash-module__badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}

.dash-module.is-open .dash-module__badge { color: var(--cyan); }

.dash-module p {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text2);
}

.module-page { padding-top: 8px; }

.module-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.module-head h1 { margin: 0; font-size: 1.5rem; }

.module-head__actions {
  display: flex;
  gap: 8px;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 16px;
  align-items: start;
}

.module-form .field textarea,
.module-form .field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.module-form .field textarea { min-height: 120px; resize: vertical; }

.field--check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-direction: row !important;
}

.field--check input { width: auto; }

.module-log__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.module-log__head h2 { margin: 0; font-size: 1rem; }

.module-log__status {
  font-size: 11px;
  color: var(--text3);
}

.module-log__box {
  margin: 0;
  min-height: 420px;
  max-height: 70vh;
  overflow: auto;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.45;
  color: var(--text2);
  white-space: pre-wrap;
  word-break: break-word;
}

.auth__foot {
  text-align: center;
  font-size: 11px;
  color: var(--text3);
  margin-top: 24px;
}

@media (max-width: 960px) {
  .grid2, .grid3, .plans, .plans--3 { grid-template-columns: 1fr; }
  .grid2 { max-width: none; }
  .plan__flex { grid-template-columns: 1fr; }
  .dash-grid, .dash-modules { grid-template-columns: 1fr; }
  .dash-hero { flex-direction: column; align-items: flex-start; }
  .module-layout { grid-template-columns: 1fr; }
  .module-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .burger { display: block; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 12px;
  }
  .stats { gap: 6px; }
  .stat { min-width: calc(50% - 6px); flex: 1; }
}
