:root {
  color-scheme: dark;
  --bg: #02050a;
  --bg-2: #06101b;
  --panel: #0a1421;
  --panel-2: #0f1b2b;
  --line: rgba(214, 231, 255, 0.13);
  --line-strong: rgba(214, 231, 255, 0.24);
  --text: #f5f8ff;
  --muted: #9eacc0;
  --soft: #6e7d92;
  --green: #42c7ff;
  --cyan: #18f2ff;
  --violet: #796bff;
  --red: #ff4f6d;
  --amber: #4f74ff;
  --blue: #6eb8ff;
  --shadow: rgba(0, 0, 0, 0.45);
  --brand-gold-mark-bg:
    radial-gradient(circle at 28% 16%, rgba(255, 245, 190, 0.68), transparent 34%),
    linear-gradient(135deg, #ffe17a 0%, #ffc33f 36%, #ff9b18 74%, #f0760f 100%);
  --brand-gold-mark-border: rgba(255, 211, 97, 0.78);
  --brand-gold-mark-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 18px rgba(118, 55, 0, 0.13),
    0 16px 34px rgba(255, 146, 22, 0.24);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

::selection {
  color: #031108;
  background: rgba(49, 233, 129, 0.88);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(49, 233, 129, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(118, 87, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #03070e 0%, #02050a 55%, #010204 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-stats,
.ticker,
.price-top { display: flex; align-items: center; }

.brand { gap: 12px; font-weight: 850; }

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #3a2104;
  background: var(--brand-gold-mark-bg);
  border: 1px solid var(--brand-gold-mark-border);
  border-radius: 10px;
  box-shadow: var(--brand-gold-mark-shadow);
  font-size: 13px;
}

.brand-mark img,
.account-sidebar-brand > span img,
.footer-brand-mark img {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.brand-text { white-space: nowrap; }

.nav { justify-content: flex-end; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav a { padding: 10px 0; }
.nav a:hover,
.nav a:focus-visible { color: var(--text); }

.section-pad {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 74px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.15; }

.lead,
.section-head p,
.access-panel p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.56;
}

.lead { max-width: 590px; margin-bottom: 30px; }

.hero-actions { flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.36); }

.button-primary { color: #021008; background: var(--green); border-color: var(--green); }
.button-ghost { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.button-amber {
  color: #150d00;
  border-color: rgba(255, 189, 74, 0.9);
  background: linear-gradient(180deg, #ffd765, var(--amber));
  box-shadow: 0 16px 34px rgba(255, 189, 74, 0.16);
}

.table-action {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  min-width: 122px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 20, 33, 0.72);
}

.hero-stats dt { font-size: 20px; font-weight: 900; }
.hero-stats dd { margin: 4px 0 0; color: var(--soft); font-size: 12px; font-weight: 700; }

.hero-shot {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-width: 0;
  justify-self: end;
  aspect-ratio: 1280 / 900;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 34px 100px var(--shadow);
}
.hero-shot::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(49, 233, 129, 0.18), transparent 24%, rgba(118, 87, 255, 0.16));
}

.hero-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ticker {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(1280px, calc(100% - 48px));
  margin: -24px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 20, 33, 0.64);
}

.ticker span {
  padding: 7px 11px;
  color: #cdd8e8;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.035);
}

.section-head { max-width: 820px; margin-bottom: 36px; }
.section-head.compact { margin-bottom: 28px; }
.section-head.pricing-head { max-width: 760px; }

.feature-grid,
.price-grid,
.flow {
  display: grid;
  gap: 14px;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-grid article,
.flow article,
.price-card,
.access-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 27, 43, 0.92), rgba(7, 14, 24, 0.92));
}

.feature-grid article,
.flow article { min-height: 220px; padding: 24px; }
.feature-grid p,
.flow p,
.price-card li { color: var(--muted); line-height: 1.55; }

.icon-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.green { background: var(--green); }
.cyan { background: var(--cyan); }
.violet { background: var(--violet); }
.red { background: var(--red); }
.amber { background: var(--amber); }
.blue { background: var(--blue); }

.architecture { padding-top: 48px; }
.flow article span {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.pricing { padding-top: 48px; }

.pricing-hero {
  padding-top: 72px;
  padding-bottom: 36px;
}

.pricing-note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.pricing-note-grid article {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.pricing-note-grid strong {
  font-size: 18px;
}

.pricing-note-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
}

.price-card.featured {
  border-color: rgba(49, 233, 129, 0.52);
  box-shadow: 0 0 0 1px rgba(49, 233, 129, 0.16), 0 28px 80px rgba(49, 233, 129, 0.08);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  color: #021008;
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.price-top p { margin: 0; color: var(--soft); font-size: 13px; font-weight: 700; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 20px;
}

.price span { font-size: clamp(36px, 4.2vw, 54px); font-weight: 950; letter-spacing: 0; }
.price small { color: var(--soft); font-weight: 800; }
.custom-price span { font-size: 36px; }

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.price-card .button { margin-top: auto; width: 100%; }
.muted-card { opacity: 0.88; }

.home-pricing .punch-head,
.pricing .pricing-head {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.plan-card {
  min-height: 570px;
  padding: 22px;
  overflow: hidden;
  border-color: rgba(255, 189, 74, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 189, 74, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(19, 22, 22, 0.98), rgba(9, 13, 17, 0.98));
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
  will-change: transform;
}

.plan-card.featured {
  border-color: rgba(255, 189, 74, 0.74);
  box-shadow: 0 0 0 1px rgba(255, 189, 74, 0.18), 0 28px 90px rgba(255, 189, 74, 0.12);
}

.plan-card.featured .price-top {
  padding-top: 22px;
}

.plan-card .badge {
  color: #150d00;
  background: var(--amber);
}

.plan-card .price-top {
  min-height: 94px;
}

.plan-label {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.plan-device-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 52px;
  padding: 8px 10px;
  color: #ffe5a1;
  border: 1px solid rgba(255, 189, 74, 0.52);
  border-radius: 8px;
  background: rgba(255, 189, 74, 0.1);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.plan-card .price {
  margin: 8px 0 16px;
}

.plan-card .price span {
  font-size: clamp(32px, 3.25vw, 46px);
  line-height: 0.95;
  white-space: nowrap;
}

.plan-card .price small {
  color: rgba(245, 248, 255, 0.62);
  white-space: nowrap;
}

.plan-card .plan-feature-list {
  gap: 10px;
  margin-bottom: 20px;
}

.plan-card .plan-feature-list li {
  color: rgba(245, 248, 255, 0.78);
  font-size: 13px;
  line-height: 1.42;
}

.plan-card .plan-feature-list li::before {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 189, 74, 0.11);
}

.pricing-page-grid .price-card {
  min-height: 490px;
}

.pricing-carousel {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 14px;
}

.pricing-viewport {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  margin: -18px 0 -22px;
  padding: 18px 0 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pricing-viewport::-webkit-scrollbar {
  display: none;
}

.pricing-carousel .price-grid {
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  align-items: stretch;
}

.pricing-carousel .price-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  min-height: 570px;
  scroll-snap-align: start;
}

.pricing-arrow {
  position: static;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 58px;
  padding: 0;
  color: var(--amber);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.18), transparent 4rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pricing-arrow::before {
  width: 12px;
  height: 12px;
  content: "";
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  filter: drop-shadow(0 0 7px rgba(var(--accent-secondary-rgb), 0.42));
}

.pricing-arrow-prev {
  justify-self: start;
}

.pricing-arrow-prev::before {
  transform: translateX(2px) rotate(225deg);
}

.pricing-arrow-next {
  justify-self: end;
}

.pricing-arrow-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.pricing-arrow:hover,
.pricing-arrow:focus-visible {
  border-color: rgba(var(--accent-secondary-rgb), 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.28), transparent 4rem),
    rgba(var(--accent-secondary-rgb), 0.08);
  box-shadow: 0 22px 54px rgba(var(--accent-secondary-rgb), 0.18);
  transform: translateY(-1px);
}

.pricing-arrow:disabled {
  opacity: 0.32;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.pricing-compare .comparison-table td:not(:first-child) {
  color: var(--text);
  font-weight: 750;
}

.pricing-logic {
  padding-top: 48px;
}

.access { padding-top: 52px; }
.access-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 18% 0%, rgba(49, 233, 129, 0.17), transparent 26rem),
    linear-gradient(135deg, rgba(15, 27, 43, 0.96), rgba(4, 10, 17, 0.98));
}
.access-panel > div { max-width: 760px; }
.access-panel h2 { font-size: clamp(34px, 4.4vw, 58px); }

.product-hero h1 {
  max-width: 720px;
}

.product-shot {
  border-radius: 12px;
}

.product-ticker {
  margin-top: -20px;
}

.product-grid article {
  min-height: 240px;
}

.module-strip,
.workflow-section,
.usecase-section,
.pricing-preview {
  padding-top: 48px;
}

.module-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-board article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 27, 43, 0.92), rgba(7, 14, 24, 0.92));
}

.module-board span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.module-board p {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-preview-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 189, 74, 0.14), transparent 25rem),
    linear-gradient(135deg, rgba(15, 27, 43, 0.96), rgba(4, 10, 17, 0.98));
}

.home-v2 {
  background:
    radial-gradient(circle at 50% -12%, rgba(34, 211, 238, 0.17), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(255, 189, 74, 0.08), transparent 30rem),
    #030303;
}

.home-v2::before {
  opacity: 0.5;
}

.farm-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.farm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #050607;
}

.farm-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.05);
}

.farm-hero::before,
.farm-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.farm-hero::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.7) 100%);
}

.farm-hero::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.farm-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 12vh, 126px) 0 36px;
  text-align: left;
}

.farm-hero-content > * {
  min-width: 0;
}

.farm-hero-copy {
  width: 100%;
  max-width: 700px;
}

.hero-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 13px;
  color: var(--accent-ink);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.74);
  border-radius: 999px;
  background: var(--accent-button-gradient);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.farm-hero h1 {
  display: grid;
  justify-items: start;
  max-width: 1060px;
  margin: 0 0 22px;
  font-size: clamp(48px, 6.8vw, 88px);
  line-height: 0.92;
  text-align: left;
}

.farm-hero h1 span {
  display: block;
  padding: 0;
  color: #f8fbff;
  background: transparent;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.72);
}

.farm-hero h1 span:last-child {
  color: var(--green);
  background: var(--accent-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 32px rgba(var(--accent-primary-rgb), 0.22),
    0 4px 34px rgba(0, 0, 0, 0.72);
}

.farm-hero-sub {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(245, 248, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.farm-hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.farm-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-orbit {
  position: absolute;
  width: min(94%, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(49, 233, 129, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(49, 233, 129, 0.16), transparent 45%),
    radial-gradient(circle at 80% 18%, rgba(34, 211, 238, 0.16), transparent 26%);
  filter: blur(0.2px);
  opacity: 0.9;
}

.farm-phone {
  position: relative;
  width: min(310px, 70vw);
  aspect-ratio: 0.49;
  padding: 14px;
  border: 1px solid rgba(245, 248, 255, 0.28);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(4, 9, 15, 0.96);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.66),
    0 0 64px rgba(49, 233, 129, 0.13);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 3;
  width: 96px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #05080d;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  padding: 54px 16px 18px;
  border: 1px solid rgba(214, 231, 255, 0.15);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 233, 129, 0.22), transparent 12rem),
    linear-gradient(180deg, #07131f, #02060b 70%);
}

.phone-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.phone-status,
.phone-main-card,
.phone-device-list,
.phone-task,
.phone-bottom-nav {
  position: relative;
  z-index: 1;
}

.phone-status,
.phone-task,
.phone-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone-status span,
.phone-main-card span,
.phone-task span {
  color: rgba(245, 248, 255, 0.68);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.phone-status strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #031108;
  background: var(--green);
  font-size: 10px;
}

.phone-main-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-main-card div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(214, 231, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.phone-main-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.phone-device-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.phone-device-list span {
  height: 68px;
  border: 1px solid rgba(214, 231, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(34, 211, 238, 0.02)),
    rgba(255, 255, 255, 0.05);
}

.phone-device-list .is-live {
  box-shadow: inset 0 0 0 2px rgba(49, 233, 129, 0.18);
}

.phone-device-list .is-warm {
  box-shadow: inset 0 0 0 2px rgba(255, 189, 74, 0.2);
}

.phone-device-list .is-idle {
  opacity: 0.48;
}

.phone-task {
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid rgba(49, 233, 129, 0.22);
  border-radius: 16px;
  background: rgba(49, 233, 129, 0.08);
}

.phone-task strong {
  color: var(--green);
  font-size: 18px;
}

.phone-task.cyan {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.07);
}

.phone-task.cyan strong {
  color: var(--cyan);
}

.phone-bottom-nav {
  margin-top: auto;
  justify-content: center;
}

.phone-bottom-nav span {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.18);
}

.phone-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(214, 231, 255, 0.18);
  border-radius: 999px;
  color: rgba(245, 248, 255, 0.9);
  background: rgba(12, 18, 29, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.phone-float span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(49, 233, 129, 0.85);
}

.phone-float-top {
  top: 70px;
  left: -58px;
}

.phone-float-mid {
  top: 245px;
  right: -56px;
}

.phone-float-low {
  right: -30px;
  bottom: 84px;
}

.farm-hero-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.farm-hero-panel article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: start;
  text-align: left;
  column-gap: 13px;
  row-gap: 3px;
  min-height: 92px;
  padding: 18px 18px;
  background: rgba(3, 6, 9, 0.74);
}

.farm-hero-panel .hp-ico {
  grid-row: 1 / 3;
  grid-column: 1;
  align-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.farm-hero-panel strong {
  grid-column: 2;
  align-self: end;
}

.farm-hero-panel span {
  grid-column: 2;
  align-self: start;
}

.farm-hero-panel .hp-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.farm-hero-panel strong {
  font-size: 19px;
  line-height: 1;
}

.farm-hero-panel span {
  color: rgba(245, 248, 255, 0.72);
  font-size: 12.5px;
  font-weight: 750;
}

/* акцент по смыслу блока */
.farm-hero-panel .hp-safe strong { color: #ffd765; }
.farm-hero-panel .hp-safe .hp-ico { color: #ffd765; background: rgba(255, 189, 74, 0.12); }
.farm-hero-panel .hp-stable strong { color: #7fe0a8; }
.farm-hero-panel .hp-stable .hp-ico { color: #7fe0a8; background: rgba(127, 224, 168, 0.12); }
.farm-hero-panel .hp-cont strong { color: #6fb4ff; }
.farm-hero-panel .hp-cont .hp-ico { color: #6fb4ff; background: rgba(111, 180, 255, 0.12); }
.farm-hero-panel .hp-comf strong { color: #b596ff; }
.farm-hero-panel .hp-comf .hp-ico { color: #b596ff; background: rgba(181, 150, 255, 0.12); }

.proof-band,
.visual-proof,
.home-pricing,
.workflow-section {
  padding-top: 72px;
}

.social-suite {
  padding-top: 72px;
}

.social-suite-shell {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 0%, rgba(var(--accent-primary-rgb), 0.12), transparent 28rem),
    radial-gradient(circle at 4% 100%, rgba(var(--accent-secondary-rgb), 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(16, 15, 13, 0.72), rgba(4, 7, 12, 0.92));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.social-suite-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.social-suite-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.social-suite-copy h2 {
  max-width: 980px;
  margin: 0 auto 16px;
  font-size: clamp(36px, 4.7vw, 64px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.social-suite-copy p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.social-workflow-copy span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.social-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.social-channel-card {
  --channel-color: var(--blue);
  --channel-color-soft: rgba(var(--accent-primary-rgb), 0.12);
  --channel-border: rgba(var(--accent-primary-rgb), 0.18);
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--channel-border);
  border-radius: 18px;
  color: var(--channel-color);
  background:
    radial-gradient(circle at 100% 100%, var(--channel-color-soft), transparent 9rem),
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(18, 19, 20, 0.86), rgba(5, 9, 16, 0.92));
  cursor: pointer;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, background 170ms ease;
}

.social-channel-card::after {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  opacity: 0.16;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--channel-color) 44%, var(--blue)) 0%, transparent 68%);
  content: "";
}

.social-channel-card:hover,
.social-channel-card:focus-visible,
.social-channel-card.is-active {
  border-color: color-mix(in srgb, var(--channel-color) 32%, var(--blue));
  box-shadow:
    0 22px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(var(--accent-primary-rgb), 0.12);
  transform: translateY(-2px);
}

.social-channel-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--channel-color) 52%, var(--blue));
  outline-offset: 4px;
}

.social-channel-card.is-active {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.14), transparent 14rem),
    radial-gradient(circle at 100% 100%, var(--channel-color-soft), transparent 10rem),
    linear-gradient(180deg, rgba(26, 24, 21, 0.9), rgba(6, 11, 18, 0.94));
}

.social-channel-card.instagram {
  --channel-color: #d88991;
  --channel-color-soft: rgba(255, 79, 154, 0.08);
  --channel-border: rgba(var(--accent-primary-rgb), 0.24);
}

.social-channel-card.tiktok {
  --channel-color: #82c7c8;
  --channel-color-soft: rgba(37, 244, 238, 0.075);
  --channel-border: rgba(130, 199, 200, 0.18);
}

.social-channel-card.youtube {
  --channel-color: #d77667;
  --channel-color-soft: rgba(255, 62, 62, 0.07);
  --channel-border: rgba(215, 118, 103, 0.18);
}

.social-channel-card.threads {
  --channel-color: #d9ae63;
  --channel-color-soft: rgba(var(--accent-secondary-rgb), 0.09);
  --channel-border: rgba(var(--accent-secondary-rgb), 0.28);
}

.social-channel-card.is-soon {
  border-color: rgba(var(--accent-secondary-rgb), 0.28);
  background:
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb), 0.12), transparent 10rem),
    linear-gradient(180deg, rgba(28, 23, 15, 0.78), rgba(7, 12, 18, 0.9));
}

.social-channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-channel-head .social-icon {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 22px rgba(0, 0, 0, 0.22),
    0 16px 30px rgba(0, 0, 0, 0.32);
}

.social-channel-head .social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.social-channel-head b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--channel-color) 28%, var(--blue));
  border-radius: 999px;
  color: color-mix(in srgb, var(--channel-color) 34%, var(--blue));
  background:
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.1), rgba(var(--accent-secondary-rgb), 0.045));
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.social-channel-card h3 {
  margin: 54px 0 10px;
  color: var(--text);
  font-size: 25px;
}

.social-channel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.social-demo {
  --demo-accent: #d88991;
  --demo-accent-2: var(--blue);
  --demo-glow: rgba(255, 184, 46, 0.12);
  --demo-panel: rgba(15, 27, 43, 0.82);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.social-demo[data-demo-theme="instagram"] {
  --demo-accent: #d88991;
  --demo-accent-2: var(--blue);
  --demo-glow: rgba(255, 79, 154, 0.1);
}

.social-demo[data-demo-theme="tiktok"] {
  --demo-accent: #82c7c8;
  --demo-accent-2: var(--blue);
  --demo-glow: rgba(37, 244, 238, 0.085);
}

.social-demo[data-demo-theme="youtube"] {
  --demo-accent: #d77667;
  --demo-accent-2: var(--blue);
  --demo-glow: rgba(255, 62, 62, 0.085);
}

.social-demo[data-demo-theme="threads"] {
  --demo-accent: #d9ae63;
  --demo-accent-2: var(--accent-primary-light);
  --demo-glow: rgba(var(--accent-secondary-rgb), 0.11);
}

.social-demo-screen,
.social-demo-copy {
  min-width: 0;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 18%, var(--demo-glow), transparent 16rem),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--demo-accent) 8%, transparent), transparent 18rem),
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(18, 19, 20, 0.9), rgba(5, 10, 17, 0.96));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.social-demo-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 480px;
  overflow: hidden;
  padding: 20px;
}

.social-demo-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
}

.demo-screen-top,
.demo-screen-bottom,
.demo-video-layout {
  position: relative;
  z-index: 1;
}

.demo-screen-top,
.demo-screen-bottom,
.demo-screen-app,
.demo-screen-app div,
.social-demo-meta {
  display: flex;
  align-items: center;
}

.demo-screen-top,
.demo-screen-bottom {
  justify-content: space-between;
  gap: 12px;
}

.demo-screen-app {
  gap: 12px;
}

.demo-app-icon {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.demo-app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-screen-app div {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.demo-screen-app strong {
  font-size: 17px;
  font-weight: 950;
}

.demo-screen-app span,
.demo-screen-bottom span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.demo-screen-top b,
.demo-screen-bottom span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 24%, var(--blue));
  border-radius: 999px;
  color: color-mix(in srgb, var(--demo-accent) 36%, var(--blue));
  background: linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.1), rgba(var(--accent-secondary-rgb), 0.045));
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-video-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

.demo-video-phone {
  position: relative;
  width: min(100%, 270px);
  min-height: 346px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 16%),
    #05070b;
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.03),
    0 28px 80px rgba(0, 0, 0, 0.46);
}

.demo-phone-bar {
  display: flex;
  justify-content: center;
  height: 16px;
}

.demo-phone-bar span {
  width: 78px;
  height: 14px;
  border-radius: 0 0 14px 14px;
  background: #000;
}

.demo-video-feed {
  display: grid;
  gap: 10px;
  min-height: 252px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--demo-accent) 9%, transparent), transparent 8rem),
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.065), rgba(255, 255, 255, 0.018));
}

.demo-feed-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 66px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--demo-accent) 10%, transparent), rgba(var(--accent-primary-rgb), 0.045)),
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.035), transparent),
    rgba(4, 9, 15, 0.78);
}

.demo-feed-card span {
  color: rgba(245, 248, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-feed-card strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.demo-feed-card i,
.demo-video-progress span,
.demo-queue-lines i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), color-mix(in srgb, var(--demo-accent) 48%, var(--amber)), var(--demo-accent-2));
}

.demo-feed-card i {
  width: var(--w);
  opacity: 0.9;
}

.demo-video-progress {
  padding: 12px 18px 0;
}

.demo-video-progress span {
  width: 72%;
  height: 4px;
}

.demo-queue-panel {
  display: grid;
  gap: 18px;
  min-height: 262px;
  padding: 22px;
  align-content: center;
  border: 1px solid rgba(214, 231, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.demo-queue-panel > span {
  color: color-mix(in srgb, var(--demo-accent) 34%, var(--blue));
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-queue-panel p {
  margin: 0;
}

.demo-queue-panel b {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.9;
}

.demo-queue-panel small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.demo-queue-lines {
  display: grid;
  gap: 10px;
}

.demo-queue-lines i {
  width: var(--w);
  height: 8px;
  opacity: 0.68;
}

.demo-screen-bottom {
  padding-top: 12px;
}

.demo-screen-bottom span:last-child {
  color: var(--text);
}

.social-demo-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 3.2vw, 38px);
}

.social-demo-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3.35vw, 44px);
  line-height: 1.02;
}

.social-demo-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.social-demo-points {
  display: grid;
  gap: 10px;
}

.social-demo-points span {
  position: relative;
  display: block;
  padding-left: 20px;
  color: #d9e7fb;
  font-size: 14px;
  font-weight: 850;
}

.social-demo-points span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--demo-accent) 42%, var(--amber)));
  box-shadow: 0 0 18px rgba(var(--accent-primary-rgb), 0.18);
  content: "";
}

.social-demo-meta {
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.social-demo-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(214, 231, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 850;
}

.social-demo-meta b {
  color: var(--text);
  font-size: 15px;
}

.social-demo.is-changing .demo-video-feed,
.social-demo.is-changing .social-demo-copy {
  animation: socialDemoSwap 260ms ease both;
}

@keyframes socialDemoSwap {
  0% {
    opacity: 0.3;
    transform: translateY(8px) scale(0.99);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.bulk-ops {
  padding-top: 54px;
  padding-bottom: 72px;
}

.bulk-ops-shell {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(255, 189, 74, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 189, 74, 0.12), transparent 24rem),
    radial-gradient(circle at 100% 42%, rgba(49, 233, 129, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(18, 16, 12, 0.82), rgba(6, 10, 15, 0.94));
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.32);
}

.bulk-ops-head {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 4px;
  text-align: center;
}

.bulk-ops-head h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.bulk-ops-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.bulk-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bulk-feature-card {
  display: grid;
  gap: 12px;
  min-height: 218px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.1), transparent 12rem),
    rgba(255, 255, 255, 0.045);
}

.bulk-feature-card > span,
.bulk-delivery-copy .eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bulk-feature-card h3 {
  margin: 0;
  font-size: 22px;
}

.bulk-feature-card p,
.bulk-feature-card li,
.bulk-delivery-copy p,
.delivery-card-grid p,
.bulk-ops-note {
  color: var(--muted);
  line-height: 1.55;
}

.bulk-feature-card p {
  margin: 0;
  font-size: 14px;
}

.bulk-feature-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bulk-feature-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  font-weight: 760;
}

.bulk-feature-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 189, 74, 0.34);
  content: "";
}

.bulk-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bulk-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #cfd8e7;
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 850;
}

.bulk-delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 8px;
}

.bulk-delivery-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.bulk-delivery-copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.04;
}

.bulk-delivery-copy p {
  margin: 0;
  font-size: 15px;
}

.delivery-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.delivery-card-grid article {
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(255, 189, 74, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.08), transparent 9rem),
    rgba(255, 255, 255, 0.04);
}

.delivery-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(255, 189, 74, 0.48);
  border-radius: 10px;
  color: var(--amber);
  background: rgba(255, 189, 74, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.delivery-icon.follow::before { content: "F"; }
.delivery-icon.like::before { content: "L"; }
.delivery-icon.comment::before { content: "C"; }

.delivery-card-grid h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.delivery-card-grid p {
  margin: 0;
  font-size: 13px;
}

.bulk-ops-note {
  max-width: 820px;
  margin: 2px auto 0;
  color: var(--soft);
  font-size: 12px;
  text-align: center;
}

.resource-hub {
  padding-top: 52px;
  padding-bottom: 24px;
}

.resource-hub-head {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.resource-hub + .home-pricing {
  padding-top: 42px;
}

.resource-hub-head .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255, 189, 74, 0.42);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(255, 189, 74, 0.08);
  font-size: 11px;
}

.resource-hub-head h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: rgba(245, 248, 255, 0.26);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
}

.resource-hub-head h2 span {
  color: var(--amber);
}

.resource-hub-head p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: grid;
  min-height: 212px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.09), transparent 9rem),
    rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: rgba(255, 189, 74, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.13), transparent 9rem),
    rgba(255, 255, 255, 0.055);
  outline: 0;
  transform: translateY(-2px);
}

.resource-icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(255, 189, 74, 0.48);
  border-radius: 10px;
  color: var(--amber);
  background: rgba(255, 189, 74, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.resource-icon.support::before { content: "S"; }
.resource-icon.telegram::before { content: "T"; }
.resource-icon.channel::before { content: "N"; }
.resource-icon.docs::before { content: "D"; }

.resource-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.resource-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.resource-card b {
  margin-top: auto;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.resource-card b::after {
  content: " ->";
}

.punch-head {
  max-width: 940px;
}

.punch-head h2 {
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 0.94;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid article,
.visual-card,
.shift-flow article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.proof-grid article {
  min-height: 268px;
  padding: 28px;
}

.proof-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-radius: 13px;
  place-items: center;
}

.proof-icon::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.proof-icon.green {
  color: var(--green);
  background: rgba(49, 233, 129, 0.09);
}

.proof-icon.amber {
  color: var(--amber);
  background: rgba(255, 189, 74, 0.1);
}

.proof-icon.cyan {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.09);
}

.proof-grid h3 {
  font-size: 24px;
}

.proof-grid p,
.shift-flow p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.visual-proof {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.7fr;
  gap: 18px;
}

.visual-card {
  min-height: 330px;
  overflow: hidden;
}

.photo-card {
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.84) 100%);
  content: "";
}

.photo-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.photo-card strong,
.chart-head strong,
.report-line strong {
  font-size: 22px;
}

.photo-card span,
.chart-head span {
  color: var(--muted);
  font-weight: 800;
}

.chart-card,
.report-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
}

.bar-chart {
  display: grid;
  gap: 18px;
}

.bar-chart p {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.bar-chart i {
  display: block;
  width: var(--w);
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.bar-chart i.accent {
  background: var(--green);
}

.bar-chart b {
  color: var(--text);
}

.report-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.045);
}

.report-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.report-line span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.report-line b {
  padding: 5px 8px;
  color: #021008;
  border-radius: 999px;
  background: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.report-card p {
  margin: 0;
  padding: 13px 14px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 850;
}

.home-pricing .price-card {
  min-height: 430px;
  border-radius: 18px;
}

.home-pricing .plan-card {
  min-height: 570px;
}

.shift-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shift-flow article {
  min-height: 230px;
  padding: 24px;
}

.shift-flow span {
  display: block;
  margin-bottom: 46px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.home-final-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 145, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(49, 233, 129, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(15, 27, 43, 0.96), rgba(4, 10, 17, 0.98));
}

.product-room {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding-top: 78px;
  padding-bottom: 112px;
}

.product-room-copy {
  min-width: 0;
}

.product-room-copy h2,
.operator-copy h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.96;
}

.product-room-copy p,
.operator-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.58;
}

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.product-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #cfe0f8;
  border: 1px solid rgba(214, 231, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 850;
}

.product-room-shot {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 231, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 14, 24, 0.9);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.product-room-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 900;
  object-fit: cover;
}

.product-room-shot figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(3, 7, 12, 0.72);
  backdrop-filter: blur(14px);
}

.product-room-shot figcaption strong {
  white-space: nowrap;
}

.product-room-shot figcaption span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.software-modules {
  padding-top: 44px;
}

.software-modules .punch-head h2 {
  max-width: 1040px;
  font-size: clamp(38px, 5vw, 70px);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article {
  display: grid;
  align-content: start;
  min-height: 242px;
  padding: 24px;
  border: 1px solid rgba(214, 231, 255, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.08), transparent 14rem),
    linear-gradient(180deg, rgba(15, 27, 43, 0.9), rgba(6, 13, 23, 0.92));
}

.module-code {
  display: inline-flex;
  width: max-content;
  margin-bottom: 38px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.module-grid h3 {
  font-size: 23px;
}

.module-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.operator-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding-top: 60px;
}

.operator-copy {
  min-width: 0;
}

.operator-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.operator-board article {
  min-height: 356px;
  padding: 24px;
  border: 1px solid rgba(214, 231, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.operator-board article > span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.operator-board-active {
  border-color: rgba(49, 233, 129, 0.42) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.13), transparent 16rem),
    rgba(255, 255, 255, 0.045) !important;
}

.operator-board-active > span {
  color: var(--green) !important;
}

.operator-board ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.operator-board li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.48;
}

.operator-board li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.operator-board article:not(.operator-board-active) li::before {
  background: var(--amber);
}

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-shot { max-width: 860px; justify-self: start; }
  .feature-grid,
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
  .pricing-carousel .price-card { flex-basis: calc((100% - 14px) / 2); }
  .pricing-arrow {
    width: 42px;
    height: 58px;
  }
  .module-board,
  .pricing-note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-proof { grid-template-columns: 1fr; }
  .shift-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-suite-top,
  .social-demo,
  .bulk-delivery { grid-template-columns: 1fr; }
  .social-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-room,
  .operator-proof { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: min(100% - 28px, 1180px);
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 12px;
    overflow: visible;
    padding-bottom: 2px;
  }

  .section-pad {
    width: min(100% - 28px, 1180px);
    padding: 60px 0;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  h1 {
    max-width: 560px;
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  .lead,
  .section-head p,
  .access-panel p {
    font-size: 17px;
  }

  .feature-grid,
  .flow,
  .module-board,
  .pricing-note-grid,
  .module-grid,
  .price-grid { grid-template-columns: 1fr; }
  .pricing-carousel .price-grid {
    gap: 12px;
  }
  .pricing-carousel {
    display: block;
  }
  .pricing-carousel .price-card {
    flex-basis: 100%;
  }
  .pricing-arrow {
    display: none;
  }
  .social-suite {
    padding-top: 52px;
  }
  .social-suite-shell {
    padding: 16px;
    border-radius: 18px;
  }
  .social-suite-copy h2 {
    font-size: 28px;
    line-height: 1.08;
  }
  .social-channel-grid {
    grid-template-columns: 1fr;
  }
  .bulk-ops {
    padding-top: 34px;
    padding-bottom: 48px;
  }
  .bulk-ops-shell {
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
  }
  .bulk-ops-head h2 {
    font-size: 30px;
    line-height: 1.06;
  }
  .bulk-ops-grid,
  .delivery-card-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-hub {
    padding-top: 34px;
    padding-bottom: 18px;
  }
  .resource-hub-head {
    margin-bottom: 0;
  }
  .resource-hub-head h2 {
    font-size: 30px;
    line-height: 1.06;
  }
  .resource-card {
    min-height: auto;
  }
  .bulk-feature-card,
  .delivery-card-grid article {
    min-height: auto;
  }
  .social-channel-card {
    min-height: 184px;
  }
  .social-channel-card h3 {
    margin-top: 36px;
  }
  .social-demo-screen {
    min-height: auto;
    padding: 16px;
  }
  .demo-video-layout {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }
  .demo-video-phone {
    max-width: 260px;
    min-height: 328px;
  }
  .demo-queue-panel {
    min-height: 190px;
  }
  .social-demo-copy {
    padding: 22px;
  }
  .social-demo-copy h3 {
    font-size: 28px;
    line-height: 1.05;
  }
  .product-room,
  .operator-proof {
    padding-top: 52px;
  }
  .product-room-copy h2,
  .operator-copy h2 {
    font-size: 34px;
    line-height: 1.03;
  }
  .product-room-shot figcaption {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(3, 7, 12, 0.86);
  }
  .operator-board {
    grid-template-columns: 1fr;
  }
  .operator-board article,
  .module-grid article {
    min-height: auto;
  }
  .farm-hero {
    min-height: auto;
  }
  .farm-hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100% - 28px, 1180px);
    min-width: 0;
    padding-top: 82px;
    overflow: hidden;
    text-align: center;
  }
  .farm-hero-copy {
    display: grid;
    justify-items: center;
    max-width: 720px;
  }
  .hero-label {
    display: inline-block;
    width: min(100%, 340px);
    white-space: normal;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.02em;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .farm-hero h1 {
    display: grid;
    justify-items: center;
    width: 100%;
    min-width: 0;
    max-width: 720px;
    font-size: clamp(42px, 9vw, 70px);
    line-height: 1;
    text-wrap: auto;
    text-align: center;
  }
  .farm-hero h1 span {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .farm-hero-sub {
    max-width: 620px;
    font-size: 17px;
    text-align: center;
  }
  .farm-hero-actions {
    width: min(100%, 360px);
    margin: 0 auto;
    justify-content: center;
  }
  .farm-hero-actions .button {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .farm-phone-stage {
    width: min(100%, 560px);
    max-width: 100%;
    min-width: 0;
    min-height: 520px;
    margin-top: 4px;
    overflow: hidden;
  }
  .phone-float-top {
    left: 4px;
  }
  .phone-float-mid {
    right: 0;
  }
  .phone-float-low {
    right: 34px;
  }
  .farm-hero-panel,
  .proof-grid,
  .shift-flow {
    grid-template-columns: 1fr;
  }
  .farm-hero-panel {
    width: min(100% - 28px, 1180px);
  }
  .proof-grid article,
  .visual-card,
  .shift-flow article {
    min-height: auto;
  }
  .feature-grid article,
  .flow article { min-height: auto; }
  .price-card { min-height: auto; }
  .access-panel { align-items: stretch; flex-direction: column; }
  .access-panel .button { width: 100%; }
}
@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }
  .nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 0 auto;
  }
  .farm-hero-content {
    width: min(100% - 24px, 1180px);
    justify-items: start;
    margin-left: 12px;
    margin-right: 0;
    text-align: left;
  }
  .farm-hero-copy {
    justify-items: start;
  }
  .farm-hero h1 {
    max-width: 340px;
    font-size: clamp(31px, 9.4vw, 37px);
    justify-items: start;
    text-align: left;
  }
  .farm-hero h1 span {
    width: 100%;
    padding: 0;
  }
  .hero-label {
    width: min(100%, 320px);
    font-size: 9px;
    letter-spacing: 0.02em;
    line-height: 1.25;
    white-space: normal;
    text-align: left;
  }
  .farm-hero-sub {
    max-width: 330px;
    font-size: 15px;
    text-align: left;
  }
  .farm-hero-actions {
    width: min(100%, 330px);
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }
  .farm-phone-stage {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
}
@media (max-width: 460px) {
  .section-pad,
  .site-header,
  .ticker { width: min(100% - 24px, 1180px); }
  .site-header {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }
  .nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 0 auto;
  }
  .farm-hero-content {
    width: min(100% - 24px, 1180px);
  }
  .farm-hero h1 {
    max-width: 340px;
    font-size: clamp(31px, 9.4vw, 37px);
  }
  .farm-hero h1 span { padding: 0; }
  .farm-hero-sub { font-size: 15px; }
  .farm-phone-stage {
    min-height: 430px;
  }
  .farm-phone {
    width: min(242px, 72vw);
    padding: 10px;
    border-radius: 34px;
  }
  .phone-notch {
    top: 10px;
    width: 78px;
    height: 18px;
  }
  .phone-screen {
    gap: 8px;
    padding: 42px 11px 14px;
    border-radius: 26px;
  }
  .phone-main-card div {
    min-height: 72px;
    padding: 10px;
    border-radius: 14px;
  }
  .phone-main-card strong {
    font-size: 25px;
  }
  .phone-device-list {
    gap: 7px;
  }
  .phone-device-list span {
    height: 48px;
    border-radius: 12px;
  }
  .phone-task {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 12px;
  }
  .phone-task strong {
    font-size: 14px;
  }
  .phone-float {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
  .phone-float-top {
    top: 40px;
    left: 0;
  }
  .phone-float-mid {
    top: 188px;
    right: 0;
  }
  .phone-float-low {
    right: 16px;
    bottom: 48px;
  }
  .hero-actions .button { width: 100%; }
  .hero-stats div { flex: 1 1 100%; }
  .nav a { font-size: 13px; }
}




.search-map {
  padding-top: 48px;
}

.intent-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intent-grid article,
.faq-grid details,
.brief-panel,
.comparison-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 27, 43, 0.92), rgba(7, 14, 24, 0.92));
}

.intent-grid article {
  min-height: 230px;
  padding: 24px;
}

.intent-grid strong {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 6px 9px;
  color: #bfffd6;
  border: 1px solid rgba(49, 233, 129, 0.24);
  border-radius: 999px;
  background: rgba(49, 233, 129, 0.07);
  font-size: 12px;
  font-weight: 850;
}

.intent-grid p,
.faq-grid p,
.comparison-table td,
.brief-list li {
  color: var(--muted);
  line-height: 1.58;
}

.comparison {
  padding-top: 48px;
}

.comparison-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-table td:first-child {
  color: var(--green);
  font-weight: 850;
}

.ai-brief {
  padding-top: 48px;
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 92% 18%, rgba(34, 211, 238, 0.13), transparent 24rem),
    linear-gradient(135deg, rgba(15, 27, 43, 0.96), rgba(4, 10, 17, 0.98));
}

.brief-panel p {
  max-width: 790px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.58;
}

.brief-list {
  display: grid;
  align-self: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.faq {
  padding-top: 48px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid details {
  padding: 22px 24px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.faq-grid p {
  margin: 16px 0 0;
}

@media (max-width: 1180px) {
  .intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .intent-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .intent-grid article { min-height: auto; }
  .comparison-table { min-width: 760px; }
}

.nav-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-auth.primary {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 233, 129, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(34, 211, 238, 0.12), transparent 26rem),
    linear-gradient(180deg, #03070e 0%, #02050a 100%);
}

.auth-page .site-header {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 78px;
}

.auth-page .nav {
  gap: 10px;
}

.auth-main {
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 82px) 0;
}

.auth-card,
.dashboard-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(15, 27, 43, 0.96), rgba(5, 12, 21, 0.98));
  box-shadow: 0 28px 90px var(--shadow);
}

.auth-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(26px, 4vw, 46px);
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
}

.login-page .auth-card {
  display: block;
  width: min(610px, 100%);
}

.auth-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(49, 233, 129, 0.08), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  opacity: 0.82;
}

.auth-card > * {
  position: relative;
  z-index: 1;
}

.auth-copy {
  min-width: 0;
  align-self: start;
}

.auth-copy h1,
.dashboard-head h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.auth-copy p,
.dashboard-head p,
.verify-panel p,
.dashboard-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.auth-card > .flash {
  grid-column: 2;
  width: 100%;
  margin: 0;
}

.auth-form {
  grid-column: 2;
  display: grid;
  gap: 14px;
  align-self: start;
  margin: 0;
}

.login-page .auth-form {
  margin-top: 26px;
}

.register-page .auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  font: 650 15px/1.2 inherit;
}

.auth-form input:focus {
  border-color: rgba(49, 233, 129, 0.78);
  box-shadow: 0 0 0 4px rgba(49, 233, 129, 0.1);
}

.auth-form button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}

.auth-alt {
  grid-column: 2;
  margin: 2px 0 0;
  color: var(--muted);
}

.login-page .auth-alt {
  margin-top: 18px;
}

.auth-alt-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.auth-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.auth-alt a {
  color: var(--green);
  font-weight: 850;
}

.flash {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.flash-success { border-color: rgba(49, 233, 129, 0.34); background: rgba(49, 233, 129, 0.08); }
.flash-warning { border-color: rgba(255, 189, 74, 0.38); background: rgba(255, 189, 74, 0.08); }
.flash-error { border-color: rgba(255, 79, 109, 0.38); background: rgba(255, 79, 109, 0.08); }
.flash-info { border-color: rgba(34, 211, 238, 0.34); background: rgba(34, 211, 238, 0.08); }

.dashboard-page .site-header,
.dashboard-page .site-footer {
  display: none;
}

.dashboard-page .auth-main {
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.dashboard-page .flash {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 80;
  width: min(520px, calc(100% - 36px));
  margin: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.dashboard-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}

.account-app-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.11), transparent 30rem),
    radial-gradient(circle at 0% 100%, rgba(20, 38, 58, 0.42), transparent 28rem),
    var(--bg);
}

.account-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  height: 100vh;
  min-width: 0;
  padding: 18px 14px;
  overflow: auto;
  border-right: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  background:
    linear-gradient(180deg, rgba(16, 20, 28, 0.96), rgba(5, 8, 12, 0.98)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.24);
  scrollbar-width: none;
}
.account-sidebar::-webkit-scrollbar { width: 0; height: 0; display: none; }

.account-sidebar-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.account-sidebar-brand > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #3a2104;
  background: var(--brand-gold-mark-bg);
  border: 1px solid var(--brand-gold-mark-border);
  font-size: 14px;
  font-weight: 950;
  box-shadow: var(--brand-gold-mark-shadow);
}

.account-sidebar-brand > span:has(img) {
  color: transparent;
  font-size: 0;
}

.account-sidebar-brand strong,
.account-sidebar-brand small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sidebar-brand strong {
  font-size: 15px;
}

.account-sidebar-brand small {
  display: none;
}

.account-side-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.account-nav-group {
  display: contents;
}

.account-nav-group p {
  display: none;
}

.account-side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}

.account-side-nav a:hover,
.account-side-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-secondary-rgb), 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.account-side-nav a.active {
  color: var(--text);
  border-color: rgba(var(--accent-secondary-rgb), 0.32);
  background: rgba(var(--accent-secondary-rgb), 0.08);
}

.account-side-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 0 999px 999px 0;
  background: transparent;
  transform: translateY(-50%);
}

.account-side-nav a.active::before {
  background: var(--accent);
}

.account-side-nav a span {
  display: none;
}

.account-side-nav a.active span {
  display: none;
}

.account-side-nav a strong,
.account-side-nav a small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-side-nav a strong {
  font-size: 14px;
  font-weight: 850;
}

.account-side-nav a small {
  display: none;
}

.account-sidebar-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-secondary-rgb), 0.12), transparent 6rem),
    rgba(255, 255, 255, 0.032);
}

.account-sidebar-card > span {
  display: none;
}

.account-sidebar-profile {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.account-sidebar-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  color: #3a2104;
  border: 1px solid var(--brand-gold-mark-border);
  border-radius: 12px;
  background: var(--brand-gold-mark-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 10px 24px rgba(255, 154, 24, 0.12);
  font-size: 14px;
  font-weight: 1000;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.account-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-sidebar-card .account-sidebar-avatar {
  color: #3a2104;
  border: 1px solid var(--brand-gold-mark-border);
  border-bottom-color: var(--brand-gold-mark-border);
}

.account-sidebar-card .account-sidebar-avatar:hover,
.account-sidebar-card .account-sidebar-avatar:focus-visible {
  color: #2c1700;
  border-color: rgba(255, 224, 122, 0.9);
  border-bottom-color: rgba(255, 224, 122, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 32px rgba(255, 154, 24, 0.2);
  filter: brightness(1.06);
  outline: none;
  text-shadow: none;
  transform: translateY(-1px);
}

.account-sidebar-avatar-link::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: #120b05;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe27a, #ff9518);
  box-shadow: 0 6px 14px rgba(255, 154, 24, 0.24);
  font-size: 12px;
  line-height: 1;
  content: "+";
}

.account-sidebar-meta {
  min-width: 0;
}

.account-sidebar-meta strong,
.account-sidebar-meta small,
.account-sidebar-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-sidebar-meta strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
}

.account-sidebar-meta small {
  display: block;
  margin-top: 3px;
  color: rgba(234, 241, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
}

.account-sidebar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.account-sidebar-license-line {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.account-sidebar-term {
  color: #ffcf65 !important;
  font-weight: 950;
}

.account-sidebar-card a {
  color: #ffbd4a;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 189, 74, 0.48);
  transition: color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease;
}

.account-sidebar-card a:hover,
.account-sidebar-card a:focus-visible {
  color: #ffdc75;
  border-color: rgba(255, 220, 117, 0.9);
  text-shadow: 0 0 18px rgba(255, 154, 24, 0.28);
  outline: none;
}

.account-sidebar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 900;
}

.account-sidebar-logout:hover,
.account-sidebar-logout:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-secondary-rgb), 0.36);
}

.account-workspace {
  min-width: 0;
  padding: 22px clamp(18px, 2.4vw, 38px) 54px;
}

.account-workspace-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
  padding: 14px 0 20px;
  border-bottom: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
}

.account-workspace-top .eyebrow {
  display: none;
}

.account-workspace-top h1 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1;
}

.account-workspace-top p {
  max-width: 740px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.account-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 260px;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.account-dashboard-head {
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  white-space: nowrap;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.ok {
  color: #021008;
  background: var(--green);
}

.status-pill.pending {
  color: #2a1800;
  background: var(--amber);
}

.verify-panel {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 189, 74, 0.32);
  border-radius: 8px;
  background: rgba(255, 189, 74, 0.08);
}

.verify-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.verify-panel .button {
  margin-top: 18px;
}

.email-step-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 177, 42, 0.16), transparent 30rem),
    radial-gradient(circle at 100% 12%, rgba(255, 126, 25, 0.1), transparent 28rem),
    linear-gradient(180deg, #05080e 0%, #02050a 100%);
}

.email-step-page .auth-header {
  justify-content: center;
}

.email-step-page .brand {
  gap: 14px;
}

.email-step-page .brand-mark {
  width: 68px;
  height: 50px;
  color: transparent;
  border-radius: 0;
  background: url("/assets/images/brand/logo-auth-gold.png") center / contain no-repeat;
  box-shadow: none;
}

.email-step-page .brand-text {
  font-size: 20px;
  letter-spacing: 0;
}

.email-step-page .auth-header .nav {
  display: none;
}

.auth-status-card {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 177, 42, 0.25);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 177, 42, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(19, 23, 32, 0.98), rgba(6, 10, 17, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.auth-status-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.7;
}

.auth-status-card > * {
  position: relative;
  z-index: 1;
}

.auth-status-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
}

.auth-status-icon::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 177, 42, 0.34);
  border-radius: 50%;
  background: rgba(255, 177, 42, 0.055);
}

.mail-icon::after {
  position: absolute;
  width: 112px;
  height: 38px;
  content: "";
  border-bottom: 2px solid rgba(255, 177, 42, 0.66);
  border-radius: 50%;
  transform: rotate(-16deg) translateY(8px);
}

.mail-icon span {
  position: relative;
  width: 62px;
  height: 42px;
  border: 2px solid rgba(255, 232, 174, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 32px rgba(255, 177, 42, 0.1);
}

.mail-icon span::before,
.mail-icon span::after {
  position: absolute;
  top: 9px;
  width: 34px;
  height: 2px;
  content: "";
  background: rgba(255, 232, 174, 0.84);
}

.mail-icon span::before {
  left: 2px;
  transform: rotate(31deg);
}

.mail-icon span::after {
  right: 2px;
  transform: rotate(-31deg);
}

.success-icon::before {
  border-color: rgba(255, 177, 42, 0.58);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 216, 111, 0.18), transparent 3.4rem),
    rgba(255, 177, 42, 0.07);
}

.success-icon span {
  position: relative;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 177, 42, 0.92);
  border-radius: 50%;
  background: rgba(255, 177, 42, 0.06);
}

.success-icon span::after {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 24px;
  height: 13px;
  content: "";
  border-bottom: 4px solid #ffd35c;
  border-left: 4px solid #ffd35c;
  transform: rotate(-45deg);
}

.auth-status-card h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
}

.auth-status-card p {
  max-width: 430px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.62;
}

.auth-status-email,
.auth-inline-email {
  color: var(--amber) !important;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.auth-status-email {
  margin-top: 10px !important;
  font-size: 18px;
}

.auth-status-note {
  margin-top: 12px !important;
}

.auth-status-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.auth-status-actions.single-action {
  grid-template-columns: 1fr;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  gap: 14px;
  margin-bottom: 14px;
}

.account-hero-card,
.account-next-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.035);
}

.account-hero-card {
  min-height: 0;
  padding: clamp(22px, 2.5vw, 30px);
}

.account-home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.account-home-head > div:first-child {
  min-width: 0;
}

.account-launch-score {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 124px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.account-launch-score span,
.account-launch-score small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-launch-score strong {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.account-launch-meter {
  height: 8px;
  margin: 22px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.account-launch-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-button-gradient);
  box-shadow: 0 0 22px rgba(var(--accent-secondary-rgb), 0.32);
}

.account-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-home-stats article {
  min-width: 0;
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.075), transparent 9rem),
    rgba(255, 255, 255, 0.032);
}

.account-home-stats span,
.account-home-stats p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-home-stats span {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.account-home-stats strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.account-home-stats strong small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 16px;
}

.account-home-stats p {
  margin: 10px 0 0;
  line-height: 1.35;
}

.account-kicker,
.account-next-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-hero-card h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.02;
}

.account-hero-card p,
.account-next-card p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.account-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-status-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 900;
}

.account-status-strip .is-ok {
  color: #07110a;
  border-color: var(--green);
  background: var(--green);
}

.account-status-strip .is-warn {
  color: #2a1800;
  border-color: var(--amber);
  background: var(--amber);
}

.account-next-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.account-next-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.05;
}

.account-next-button {
  width: fit-content;
}

.account-next-mini {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.account-next-mini li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.account-next-mini li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 24px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 950;
}

.account-next-mini li strong {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.account-next-mini li.is-done {
  border-color: rgba(255, 184, 67, 0.28);
  background: rgba(255, 184, 67, 0.055);
}

.account-next-mini li.is-done span {
  color: #171009;
  background: var(--amber);
}

.account-next-mini li.is-current {
  border-color: rgba(255, 153, 28, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 184, 67, 0.14), rgba(255, 153, 28, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.account-next-mini li.is-current span {
  color: #171009;
  background: var(--accent);
}

.account-next-mini li.is-current strong {
  color: var(--text);
}

.account-next-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.account-next-card dl div {
  display: grid;
  gap: 4px;
}

.account-next-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-next-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 850;
}

.account-stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.account-stat-grid article {
  min-height: 132px;
}

.account-stat-grid span {
  display: none;
}

.account-roadmap {
  overflow: hidden;
}

.account-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0 -20px -20px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.account-roadmap-grid article {
  min-height: 168px;
  padding: 18px;
  background: rgba(8, 16, 27, 0.96);
}

.account-roadmap-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.account-roadmap-grid h3 {
  margin: 34px 0 8px;
  font-size: 18px;
}

.account-roadmap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-future-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border-top: 0;
  background: transparent;
}

.account-future-grid article {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 12rem),
    rgba(255, 255, 255, 0.032);
}

.account-future-grid h3 {
  margin-top: 26px;
}

.account-roadmap-grid article.is-done span,
.account-roadmap-grid article.is-done h3 {
  color: var(--green);
}

.account-roadmap-grid article.is-current {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.12), transparent 12rem),
    rgba(8, 16, 27, 0.96);
}

.account-roadmap-grid article.is-current span,
.account-roadmap-grid article.is-current h3 {
  color: var(--amber);
}

.account-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 14px;
}

.account-panel-title {
  min-width: 0;
}

.account-panel-title p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-license-spotlight {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(49, 233, 129, 0.12), transparent 17rem),
    rgba(255, 255, 255, 0.035);
}

.account-license-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 13, 24, 0.58);
}

.account-license-key {
  min-width: 0;
}

.account-license-key span,
.account-license-facts span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-license-key strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.account-license-key p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-license-ring {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0f1b2a 0 56%, transparent 57%),
    conic-gradient(var(--green) var(--meter), rgba(255, 255, 255, 0.11) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.account-license-ring strong {
  font-size: 22px;
  line-height: 1;
}

.account-license-ring span {
  margin-top: -32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-license-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.account-license-facts div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.account-license-facts strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.account-empty-action {
  display: grid;
  gap: 12px;
  min-height: 232px;
  align-content: center;
  padding: 18px;
  border: 1px dashed rgba(185, 210, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.account-empty-action h3,
.account-empty-action p {
  margin: 0;
}

.account-empty-action p {
  color: var(--muted);
  line-height: 1.55;
}

.account-empty-action > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-start-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-start-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.quick-start-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.quick-start-list h3,
.quick-start-list p {
  margin: 0;
}

.quick-start-list h3 {
  font-size: 16px;
}

.quick-start-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quick-start-list li.is-done {
  border-color: rgba(49, 233, 129, 0.28);
  background: rgba(49, 233, 129, 0.055);
}

.quick-start-list li.is-done > span {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.quick-start-list li.is-current {
  border-color: rgba(255, 189, 74, 0.32);
  background: rgba(255, 189, 74, 0.06);
}

.quick-start-list li.is-current > span {
  color: #2a1800;
  border-color: var(--amber);
  background: var(--amber);
}

.account-timeline-panel .button {
  min-height: 38px;
}

.account-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-timeline-item {
  position: relative;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.account-timeline-item > span {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(49, 233, 129, 0.08);
}

.account-timeline-item.report > span {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 189, 74, 0.08);
}

.account-timeline-item.support > span {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}

.account-timeline-item.build > span {
  background: #7c5cff;
  box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.08);
}

.account-timeline-item strong,
.account-timeline-item p,
.account-timeline-item small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-timeline-item strong {
  font-size: 15px;
}

.account-timeline-item p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-timeline-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .account-app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .account-sidebar {
    padding: 12px;
  }

  .account-sidebar-brand {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 6px;
  }

  .account-side-nav a small,
  .account-sidebar-card {
    display: none;
  }

  .account-side-nav a {
    min-height: 40px;
    padding: 0 10px 0 14px;
  }

  .account-sidebar-logout {
    padding: 10px 8px;
    font-size: 11px;
  }

  .account-workspace-top {
    flex-direction: column;
  }

  .account-top-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-card > .flash,
  .auth-form,
  .auth-alt {
    grid-column: 1;
  }

  .register-page .auth-form {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    flex-direction: column;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-hero,
  .account-focus-grid,
  .account-build-hero,
  .account-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .account-home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-security-grid,
  .account-security-roadmap {
    grid-template-columns: 1fr;
  }

  .account-build-meta,
  .account-install-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .auth-page .site-header,
  .auth-main {
    width: min(100% - 24px, 1120px);
  }

  .auth-page .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
  }

  .auth-page .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .auth-page .nav a {
    font-size: 13px;
  }

  .email-step-page .auth-header {
    align-items: center;
  }

  .auth-main {
    min-height: auto;
    padding: 28px 0 58px;
  }

  .auth-card,
  .dashboard-shell {
    padding: 22px;
  }

  .auth-copy h1,
  .dashboard-head h1 {
    font-size: 34px;
  }

  .auth-status-card {
    padding: 28px 20px;
  }

  .auth-status-actions {
    grid-template-columns: 1fr;
  }

  .account-hero-card h2 {
    font-size: 34px;
    line-height: 1.03;
  }

  .account-home-head {
    flex-direction: column;
  }

  .account-launch-score {
    justify-items: start;
    width: 100%;
  }

  .account-home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-build-copy {
    min-height: auto;
  }

  .account-build-copy h2 {
    font-size: 38px;
  }

  .account-build-copy p {
    font-size: 15px;
  }

  .installer-body {
    grid-template-columns: 1fr;
  }

  .account-build-meta,
  .account-install-guide {
    grid-template-columns: 1fr;
  }

  .account-hero-actions .button {
    width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-license-hero,
  .account-license-facts,
  .account-timeline,
  .account-security-facts,
  .account-password-checks,
  .account-security-roadmap {
    grid-template-columns: 1fr;
  }

  .account-security-hero,
  .account-2fa-preview {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .account-security-score {
    justify-items: start;
    width: 100%;
  }

  .account-qr-grid {
    width: 96px;
  }

  .account-license-ring {
    width: 116px;
    justify-self: start;
  }
}
@media (max-width: 620px) {
  .account-app-shell {
    display: block;
  }

  .account-sidebar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-rows: auto auto;
    height: auto;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  }

  .account-sidebar-brand {
    grid-template-columns: 38px minmax(0, 1fr);
    justify-items: start;
    gap: 10px;
    padding: 0;
  }

  .account-sidebar-brand > span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 12px;
  }

  .account-sidebar-brand div {
    display: block;
  }

  .account-side-nav {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .account-side-nav::-webkit-scrollbar {
    display: none;
  }

  .account-nav-group {
    display: contents;
  }

  .account-nav-group p {
    display: none;
  }

  .account-side-nav a {
    justify-items: stretch;
    min-width: 116px;
    min-height: 38px;
    padding: 0 12px;
  }

  .account-side-nav a strong {
    display: block;
    font-size: 13px;
  }

  .account-side-nav a small,
  .account-sidebar-card,
  .account-sidebar-logout {
    display: none;
  }

  .account-workspace {
    padding: 18px 12px 42px;
  }

  .account-workspace-top {
    margin-bottom: 14px;
    padding: 4px 0 16px;
  }

  .account-top-actions .button,
  .account-top-actions .status-pill {
    width: 100%;
    justify-content: center;
  }

  .auth-page .site-header,
  .auth-main {
    width: calc(100% - 24px);
    max-width: 1120px;
  }

  .dashboard-page .auth-main {
    width: 100%;
    max-width: none;
  }

  .auth-card,
  .dashboard-shell,
  .auth-copy,
  .auth-form,
  .auth-form label,
  .auth-form input {
    min-width: 0;
    max-width: 100%;
  }

  .auth-card,
  .dashboard-shell {
    width: 100%;
    padding: 20px;
  }

  .auth-copy p,
  .auth-alt {
    overflow-wrap: anywhere;
  }
}
.bot-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.password-checks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: -2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  transition: color 160ms ease;
}

.check-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease;
}

.check-row.is-ok {
  color: var(--text);
}

.check-row.is-ok .check-icon {
  border-color: var(--green);
  background: var(--green);
}

.check-row.is-ok .check-icon::after {
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  content: "";
  border: solid #021008;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.button:disabled,
.button.is-disabled {
  cursor: not-allowed;
  color: rgba(2, 16, 8, 0.54);
  border-color: rgba(49, 233, 129, 0.42);
  background: rgba(49, 233, 129, 0.48);
  transform: none;
}

@media (max-width: 620px) {
  .password-checks {
    grid-template-columns: 1fr;
  }
}
.admin-page .auth-main {
  align-items: start;
  width: 100%;
  max-width: none;
}

.admin-shell {
  width: min(1760px, calc(100vw - 28px));
  max-width: none;
}

.admin-top,
.user-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-top h1,
.user-summary h2 {
  margin: 0 0 10px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.035);
}

.admin-tabs a.active {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.admin-stat-grid,
.admin-two-col {
  display: grid;
  gap: 14px;
}

.admin-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-stat-grid article,
.admin-panel,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-stat-grid article {
  padding: 18px;
}

.admin-stat-grid span,
.admin-stat-grid small,
.admin-muted,
.admin-empty,
.user-summary p {
  color: var(--muted);
}

.admin-user-workspace {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.11), transparent 34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.032), rgba(255, 154, 24, 0.026)),
    rgba(5, 10, 18, 0.36);
}

.admin-user-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid rgba(176, 207, 255, 0.1);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 154, 24, 0.025)),
    rgba(3, 8, 16, 0.58);
}

.admin-user-subnav button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  font: 900 13px/1 inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.admin-user-subnav button:hover {
  color: var(--text);
  border-color: rgba(var(--accent-primary-rgb), 0.22);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.admin-user-subnav button.is-active {
  color: var(--accent-ink);
  border-color: rgba(255, 231, 166, 0.62);
  background: var(--accent-button-gradient);
  box-shadow: 0 12px 26px rgba(255, 154, 24, 0.16);
}

.admin-user-panel[hidden] {
  display: none !important;
}

.admin-user-panel {
  animation: admin-user-panel-in 0.18s ease both;
}

@keyframes admin-user-panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-user-primary-grid,
.admin-user-card-grid,
.admin-user-license-layout {
  display: grid;
  gap: 14px;
}

.admin-user-primary-grid,
.admin-user-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.admin-user-license-layout {
  grid-template-columns: minmax(500px, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.admin-user-panel .admin-panel {
  margin-bottom: 0;
}

.admin-user-mail-panel {
  min-height: 100%;
}

.admin-user-mail-panel p {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-user-mail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-mail-actions .button {
  width: 100%;
}

.admin-user-license-create.license-issue-panel {
  padding: 18px;
}

.admin-user-license-create .admin-panel-head,
.admin-user-license-create .license-issue-form {
  width: 100%;
}

.admin-user-license-list {
  display: grid;
  gap: 12px;
}

.admin-user-license-list .admin-panel-head {
  margin-bottom: 2px;
}

.admin-user-license-editor {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(176, 207, 255, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 154, 24, 0.025)),
    rgba(3, 8, 16, 0.42);
}

/* Внутренний ритм формы лицензии — поля не лепятся друг к другу. */
.admin-user-license-editor .admin-form { display: grid; gap: 16px; }
.admin-user-license-editor .license-term { padding: 18px 20px; gap: 16px; }

/* Секции редактора (Status/Channel, Лимит/Notes) — в карточки, как term-панель.
   Только прямые блоки формы, не трогаем вложенный term-field-grid. */
.admin-user-license-editor .admin-form > .admin-form-grid {
  padding: 16px 18px;
  border: 1px solid rgba(176, 207, 255, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.admin-user-license-editor:first-of-type {
  border-top: 1px solid rgba(176, 207, 255, 0.13);
}

.admin-user-license-editor .license-title {
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(176, 207, 255, 0.10);
}

.admin-user-license-editor .license-title strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

/* Мета-инфо лицензии (devices/срок) — аккуратными чипами вместо «голого» текста. */
.admin-user-license-editor .license-title span:not(.admin-badge) {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

/* Главное действие — «Сохранить лицензию» золотой, во всю ширину. */
.admin-user-license-editor .license-save-button {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  font-weight: 850;
}

/* Опасные действия (HWID/перевыпуск) — отделены, не липнут к форме. */
.admin-user-license-editor .license-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(176, 207, 255, 0.10);
  gap: 18px;
}

.admin-stat-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 32px;
}

.admin-panel,
.account-panel {
  padding: 18px;
  margin-bottom: 14px;
}

.security-watch-panel {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 176, 31, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.security-action-list,
.security-type-grid,
.security-ip-list {
  display: grid;
  gap: 10px;
}

.security-action-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-action-list article,
.security-type-grid article,
.security-ip-list div,
.security-ip-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.45);
  padding: 14px;
}

.security-action-list article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.security-action-list strong,
.security-type-grid strong,
.security-ip-list strong {
  color: var(--text);
}

.security-action-list span {
  font-size: 34px;
  font-weight: 950;
  color: var(--gold);
}

.security-action-list p,
.security-type-grid p,
.security-ip-list small {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.security-action-list a {
  margin-top: auto;
  color: var(--gold);
  font-weight: 900;
}

.security-type-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.security-type-grid article {
  min-height: 128px;
}

.security-type-grid article > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.security-type-grid article > span {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 950;
}

.security-ip-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-ip-list div,
.security-ip-list a {
  display: grid;
  gap: 4px;
}

.security-ip-list span {
  color: var(--gold);
  font-weight: 900;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.diagnostics-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.12), transparent 14rem),
    rgba(255, 255, 255, 0.035);
  font-size: 14px;
  font-weight: 850;
}

.diagnostics-storage-panel,
.diagnostics-events-panel {
  background:
    radial-gradient(circle at 94% 0%, rgba(var(--accent-secondary-rgb), 0.09), transparent 28rem),
    rgba(255, 255, 255, 0.035);
}

.diagnostics-panel-head {
  align-items: flex-start;
}

.diagnostics-panel-head p {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.diagnostics-head-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--text);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.26);
  border-radius: 999px;
  background: rgba(var(--accent-primary-rgb), 0.075);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.diagnostics-metric-grid,
.diagnostics-kpi-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.diagnostics-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diagnostics-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diagnostics-metric-grid article,
.diagnostics-kpi-grid article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(176, 207, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.055), rgba(255, 255, 255, 0.025)),
    rgba(3, 8, 16, 0.34);
}

.diagnostics-metric-grid span,
.diagnostics-kpi-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.diagnostics-metric-grid strong,
.diagnostics-kpi-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.diagnostics-metric-grid small,
.diagnostics-kpi-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.diagnostics-kpi-grid .has-errors strong {
  color: var(--red);
}

.diagnostics-kpi-grid .is-clean strong {
  color: var(--green);
}

.diagnostics-storage-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding-top: 2px;
}

.diagnostics-storage-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.diagnostics-storage-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  font: 650 14px/1.3 inherit;
}

.diagnostics-cleanup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.diagnostics-cleanup-row p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.diagnostics-cleanup-row form {
  flex: 0 0 auto;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.035);
}

.admin-badge.active,
.admin-badge.verified,
.admin-badge.admin,
.admin-badge.stable,
.admin-badge.resolved {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.admin-badge.trial,
.admin-badge.beta,
.admin-badge.pending,
.admin-badge.new,
.admin-badge.open {
  color: #2a1800;
  border-color: var(--amber);
  background: var(--amber);
}

.admin-badge.in_progress,
.admin-badge.reviewed {
  color: #021018;
  border-color: var(--cyan);
  background: var(--cyan);
}

.admin-badge.low {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.admin-badge.medium,
.admin-badge.rate_limit,
.admin-badge.no_matching_invoice {
  color: #2a1800;
  border-color: var(--amber);
  background: var(--amber);
}

.admin-badge.high,
.admin-badge.critical,
.admin-badge.wrong_amount,
.admin-badge.duplicate_tx {
  color: #fff;
  border-color: var(--red);
  background: rgba(255, 79, 109, 0.72);
}

.admin-badge.blocked,
.admin-badge.expired,
.admin-badge.closed {
  color: #fff;
  border-color: var(--red);
  background: rgba(255, 79, 109, 0.68);
}

.admin-form,
.license-editor {
  display: grid;
  gap: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Поля «что нового» (4 карточки в окне обновления клиента). */
.hl-fields {
  display: grid;
  gap: 7px;
  margin: 2px 0;
}
.hl-fields-cap {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}
.hl-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 8px;
}

/* Компактная история билдов: раскрывающийся редактор (<details>). */
.admin-panel details > summary { list-style: none; }
.admin-panel details > summary::-webkit-details-marker { display: none; }
.admin-panel details > summary:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.admin-panel details[open] > summary { color: #fff; }

/* Таймлайн маршрута юзера (вкладка «События» на странице пользователя). */
.journey-timeline {
  display: grid;
  gap: 2px;
  position: relative;
  padding-left: 6px;
}
.journey-step {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 8px 0;
  position: relative;
}
.journey-step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(176, 207, 255, 0.10);
}
.journey-step:first-child::before { top: 14px; }
.journey-step:last-child::before { bottom: calc(100% - 14px); }
.journey-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  margin-left: 4px;
  z-index: 1;
}
.journey-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.journey-head strong { font-size: 13.5px; font-weight: 850; }
.journey-time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.journey-summary {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Кликабельные элементы сводки диагностики (тестер/ошибка → фильтр лога). */
.diag-link {
  color: #cfe0ff;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.diag-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.admin-form label,
.license-editor label,
.admin-search {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.license-editor input,
.license-editor select,
.license-editor textarea,
.admin-search input,
.inline-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  font: 650 14px/1.3 inherit;
}

.auth-form input:-webkit-autofill,
.auth-form select:-webkit-autofill,
.auth-form textarea:-webkit-autofill,
.admin-form input:-webkit-autofill,
.admin-form select:-webkit-autofill,
.admin-form textarea:-webkit-autofill,
.license-editor input:-webkit-autofill,
.license-editor select:-webkit-autofill,
.license-editor textarea:-webkit-autofill,
.admin-search input:-webkit-autofill,
.form-field input:-webkit-autofill,
.form-field select:-webkit-autofill,
.form-field textarea:-webkit-autofill {
  border-color: var(--line-strong);
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px rgba(29, 35, 46, 0.98) inset;
  -webkit-box-shadow: 0 0 0 1000px rgba(29, 35, 46, 0.98) inset;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.auth-form input:-webkit-autofill:focus,
.auth-form select:-webkit-autofill:focus,
.auth-form textarea:-webkit-autofill:focus,
.admin-form input:-webkit-autofill:focus,
.admin-form select:-webkit-autofill:focus,
.admin-form textarea:-webkit-autofill:focus,
.license-editor input:-webkit-autofill:focus,
.license-editor select:-webkit-autofill:focus,
.license-editor textarea:-webkit-autofill:focus,
.admin-search input:-webkit-autofill:focus,
.form-field input:-webkit-autofill:focus,
.form-field select:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill:focus {
  border-color: rgba(var(--accent-primary-rgb), 0.72);
  box-shadow: 0 0 0 1000px rgba(29, 35, 46, 0.98) inset, 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
  -webkit-box-shadow: 0 0 0 1000px rgba(29, 35, 46, 0.98) inset, 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

.auth-form input:-moz-autofill,
.admin-form input:-moz-autofill,
.license-editor input:-moz-autofill,
.admin-search input:-moz-autofill,
.form-field input:-moz-autofill {
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: 0 0 0 1000px rgba(29, 35, 46, 0.98) inset;
}

.admin-form textarea,
.license-editor textarea {
  min-height: 82px;
  padding-top: 10px;
  resize: vertical;
}

.license-issue-panel {
  max-width: none;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.13), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 154, 24, 0.035)),
    rgba(255, 255, 255, 0.026);
}

.license-issue-panel .admin-panel-head {
  width: min(1176px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.license-issue-form {
  position: relative;
  width: min(1176px, 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 12px;
  padding-left: 44px;
}

.license-issue-form::before {
  position: absolute;
  top: 22px;
  bottom: 88px;
  left: 17px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 189, 74, 0.62), rgba(255, 154, 24, 0.08));
}

.license-issue-step {
  position: relative;
  display: grid;
  gap: 9px;
}

.license-step-number {
  position: absolute;
  top: 18px;
  left: -46px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #1b1002;
  border: 1px solid rgba(255, 231, 166, 0.7);
  border-radius: 12px;
  background: var(--accent-button-gradient);
  box-shadow: 0 12px 28px rgba(255, 154, 24, 0.18);
  font-size: 12px;
  font-weight: 950;
}

.license-step-body {
  padding: 17px;
  border: 1px solid rgba(176, 207, 255, 0.14);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 154, 24, 0.035)),
    rgba(5, 10, 18, 0.42);
}

.license-issue-user select {
  min-height: 46px;
}

.license-issue-meta {
  max-width: none;
}

.license-issue-form .license-term {
  padding: 18px;
  border-color: rgba(var(--accent-primary-rgb), 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.12), transparent 44%),
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.07), rgba(255, 255, 255, 0.025));
}

.license-issue-form .term-kicker {
  color: #ffbd4a;
}

.license-issue-extra {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
}

.license-issue-extra label {
  min-width: 0;
}

.license-issue-extra input {
  min-height: 82px;
}

.license-issue-extra textarea {
  min-height: 82px;
}

.license-issue-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
  padding: 16px 17px;
  border: 1px solid rgba(255, 154, 24, 0.26);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 154, 24, 0.16), transparent 18rem),
    rgba(5, 10, 18, 0.5);
}

.license-issue-actions span,
.license-issue-actions strong {
  display: block;
}

.license-issue-actions span {
  margin-bottom: 5px;
  color: #ffbd4a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.license-issue-actions strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.license-issue-actions .button {
  width: min(420px, 100%);
  min-height: 46px;
  flex: 0 0 min(420px, 42%);
}

.admin-search {
  display: flex;
  align-items: center;
  flex-direction: row;
  min-width: min(420px, 100%);
}

.admin-search .button {
  min-height: 42px;
  padding: 0 14px;
}

.license-editor {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.license-editor:first-of-type {
  border-top: 0;
}

.license-title,
.admin-inline-actions,
.inline-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.license-title span {
  color: var(--muted);
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--green);
  cursor: pointer;
  background: transparent;
  font: 850 13px/1.2 inherit;
}

.license-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 2px;
}

.danger-link {
  color: var(--red);
}

.report-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.admin-muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.license-term {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(var(--accent-secondary-rgb), 0.07), rgba(255, 255, 255, 0.022));
}

.license-term-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.license-term-head strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 18px;
}

.license-term-head p {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.term-kicker {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.term-mode-toggle {
  min-height: 38px;
  white-space: nowrap;
}

.term-field-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

[data-term-panel][hidden] {
  display: none !important;
}

.term-help {
  align-self: start;
}

.license-term[data-term-mode="date"] .term-presets {
  display: none;
}

.date-picker-field {
  max-width: 620px;
}

.date-input-row {
  position: relative;
  display: block;
}

.date-input-row input {
  padding-right: 62px;
  cursor: pointer;
}

.date-input-row input::-webkit-calendar-picker-indicator {
  width: 54px;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.date-picker-button {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 0;
  padding: 0;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.date-picker-button::before {
  width: 18px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) 3px 4px / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 4px -1px / 2px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 12px -1px / 2px 5px no-repeat;
  content: "";
}

.date-picker-button:hover,
.date-picker-button:focus-visible {
  color: var(--text);
  border-color: rgba(49, 233, 129, 0.58);
  background: rgba(49, 233, 129, 0.1);
}

.form-help {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.term-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}

.term-presets button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font: 850 12px/1 inherit;
  cursor: pointer;
}

.term-presets button:hover,
.term-presets button.is-active {
  color: #02150c;
  border-color: var(--green);
  background: var(--green);
}
.audit-list {
  display: grid;
  gap: 10px;
}

.audit-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.audit-list strong,
.audit-list small,
.audit-list span,
.audit-list p {
  min-width: 0;
}

.audit-list strong {
  display: block;
  color: var(--text);
}

.audit-list small,
.audit-list span,
.audit-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.audit-list span {
  font-weight: 850;
}

.audit-list p {
  grid-column: 1 / -1;
  margin: 0;
  overflow-wrap: anywhere;
}
.download-grid,
.license-card-grid,
.admin-alert-grid,
.admin-health-grid {
  display: grid;
  gap: 14px;
}

.audit-list {
  display: grid;
  gap: 10px;
}

.audit-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.audit-list strong,
.audit-list small,
.audit-list span,
.audit-list p {
  min-width: 0;
}

.audit-list strong {
  display: block;
  color: var(--text);
}

.audit-list small,
.audit-list span,
.audit-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.audit-list span {
  font-weight: 850;
}

.audit-list p {
  grid-column: 1 / -1;
  margin: 0;
  overflow-wrap: anywhere;
}
.download-grid,
.license-card-grid,
.admin-health-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-alert-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.download-card,
.license-card,
.admin-alert-grid article,
.report-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.download-card,
.license-card,
.report-list article {
  padding: 16px;
}

.download-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 250px;
}

.download-card h3,
.license-card h3,
.admin-health-grid h3 {
  margin: 10px 0 0;
  font-size: 18px;
}

.download-card p,
.license-card p,
.report-list p,
.download-locked,
.admin-alert-grid small {
  color: var(--muted);
  line-height: 1.55;
}

.download-card .button {
  width: fit-content;
}

.download-locked {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  font-weight: 850;
}

.account-build-simple {
  display: grid;
  align-content: center;
  align-items: center;
  justify-items: start;
  min-height: clamp(480px, 74vh, 780px);
  margin-bottom: 0;
  padding: clamp(22px, 3.4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 16%, rgba(var(--accent-secondary-rgb), 0.20), transparent 28rem),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-primary-rgb), 0.10), transparent 26rem),
    radial-gradient(circle at 64% 118%, rgba(var(--accent-secondary-rgb), 0.08), transparent 26rem),
    rgba(255, 255, 255, 0.026);
}

.account-build-simple-card {
  display: grid;
  justify-items: start;
  width: min(100%, 620px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.34);
  border-radius: 8px;
  text-align: left;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.account-build-simple-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 1px solid var(--brand-gold-mark-border);
  border-radius: 22px;
  background: var(--brand-gold-mark-bg);
  box-shadow: var(--brand-gold-mark-shadow), 0 22px 54px rgba(var(--accent-secondary-rgb), 0.18);
}

.account-build-simple-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.account-build-simple h2 {
  margin: 6px 0 14px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.96;
}

.account-build-simple p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.account-build-download-button {
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 30px;
  font-size: 15px;
}

.account-build-download-button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  filter: saturate(0.45);
}

.account-build-simple small {
  display: block;
  margin-top: 14px;
  color: rgba(234, 241, 255, 0.66);
  font-size: 13px;
  font-weight: 850;
}

.account-build-center {
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 82% 0%, rgba(var(--accent-secondary-rgb), 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.account-build-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.account-section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-build-copy {
  display: grid;
  align-content: center;
  min-height: 312px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.08), transparent 18rem),
    rgba(3, 9, 18, 0.42);
}

.account-build-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

.account-build-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.account-build-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.account-build-actions .button {
  min-height: 46px;
}

.account-build-actions > span {
  color: rgba(234, 241, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.account-installer-window {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 312px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.34);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(var(--accent-secondary-rgb), 0.28), transparent 13rem),
    linear-gradient(180deg, rgba(21, 29, 45, 0.98), rgba(5, 10, 18, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.installer-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.installer-titlebar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.installer-titlebar span:first-child {
  background: #ff5f57;
}

.installer-titlebar span:nth-child(2) {
  background: #ffbd2e;
}

.installer-titlebar span:nth-child(3) {
  background: #28c840;
}

.installer-titlebar strong {
  margin-left: 8px;
  color: rgba(234, 241, 255, 0.82);
  font-size: 12px;
}

.installer-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 26px;
}

.installer-body img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 18px 32px rgba(var(--accent-secondary-rgb), 0.18));
}

.installer-body span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.installer-body h3 {
  margin: 8px 0 8px;
  font-size: 30px;
}

.installer-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.installer-progress {
  height: 10px;
  margin: 0 26px 22px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.installer-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-button-gradient);
  box-shadow: 0 0 24px rgba(var(--accent-secondary-rgb), 0.34);
}

.installer-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(234, 241, 255, 0.68);
  font-size: 12px;
  font-weight: 850;
  background: rgba(0, 0, 0, 0.18);
}

.account-build-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-build-meta div,
.account-install-guide article {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.account-build-meta span,
.account-install-guide span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-build-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.account-build-channels .download-card {
  min-height: 220px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.1), transparent 14rem),
    rgba(255, 255, 255, 0.032);
}

.account-install-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-install-guide span {
  color: var(--blue);
}

.account-install-guide h3 {
  margin: 18px 0 8px;
}

.account-install-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.license-card {
  display: grid;
  gap: 14px;
}

.license-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.license-card-top strong {
  font-size: 18px;
}

.license-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.license-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.license-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-card dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.device-meter {
  display: grid;
  gap: 8px;
}

.device-meter div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-meter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.device-meter-bar {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.device-meter-bar::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.device-meter-bar::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.device-meter-bar::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.account-lower-grid {
  align-items: start;
}

.account-command-panel {
  padding: 0;
  overflow: hidden;
}

.account-command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.account-command-grid a {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.account-command-grid a:last-child {
  border-right: 0;
}

.account-command-grid a:hover {
  background: rgba(49, 233, 129, 0.075);
}

.account-command-grid span {
  display: none;
}

.account-command-grid strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.account-security-page {
  display: grid;
  gap: 14px;
}

.account-security-page[hidden] {
  display: none;
}

.account-security-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.14), transparent 22rem),
    radial-gradient(circle at 0% 100%, rgba(255, 153, 28, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.035);
}

.account-security-hero h2 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
}

.account-security-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.account-security-score {
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 0.14), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.account-security-score span,
.account-security-score small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-security-score strong {
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
}

.account-security-subnav {
  position: sticky;
  top: 14px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 17, 27, 0.92), rgba(6, 10, 18, 0.92)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.account-security-subnav button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.account-security-subnav button:hover,
.account-security-subnav button:focus-visible,
.account-security-subnav button.is-active {
  color: var(--text);
  border-color: rgba(var(--accent-primary-rgb), 0.26);
  background: rgba(var(--accent-primary-rgb), 0.08);
}

.account-security-subnav button.is-active {
  color: var(--accent-ink);
  border-color: rgba(var(--accent-primary-rgb), 0.72);
  background: var(--accent-button-gradient);
}

.account-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 14px;
}

.account-security-card[hidden] {
  display: none;
}

.account-security-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 16rem),
    rgba(255, 255, 255, 0.035);
}

.account-security-wide {
  grid-column: 1 / -1;
}

.account-security-contained {
  grid-column: 1 / -1;
  justify-self: start;
  width: min(100%, 980px);
}

.account-security-card {
  scroll-margin-top: 22px;
}

.account-password-form {
  margin-top: 18px;
}

.account-password-form .button {
  width: fit-content;
}

.account-password-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0 0;
}

.account-email-current {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.1), transparent 12rem),
    rgba(255, 255, 255, 0.035);
}

.account-email-current span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-email-current strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.12;
}

.account-email-current p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-email-form {
  margin-top: 0;
}

.account-profile-layout {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0;
}

.account-avatar-preview {
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 235, 160, 0.58), transparent 38%),
    linear-gradient(135deg, #ffe07a, #ff9b18 68%, #7b3c07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 24px 54px rgba(255, 154, 24, 0.18);
}

.account-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-preview span {
  color: #2c1700;
  font-size: 54px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.account-profile-summary {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.1), transparent 12rem),
    rgba(255, 255, 255, 0.035);
}

.account-profile-summary span,
.account-form-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.account-profile-summary span {
  text-transform: uppercase;
}

.account-profile-summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.account-profile-summary p,
.account-form-note {
  margin: 0;
}

.account-profile-summary p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.account-profile-form {
  margin-top: 0;
}

.account-profile-form input[type="file"] {
  padding: 10px;
}

.account-profile-form .button {
  width: fit-content;
}

.account-form-note {
  line-height: 1.45;
}

.account-2fa-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
}

.account-qr-grid {
  width: 112px;
  aspect-ratio: 1;
  border: 8px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(var(--accent-secondary-rgb), 0.76) 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(rgba(var(--accent-secondary-rgb), 0.44) 12px, transparent 12px) 0 0 / 28px 28px,
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.account-2fa-preview strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}

.account-2fa-preview p,
.account-security-actions span,
.account-session-list p,
.account-security-checklist p,
.account-security-roadmap p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-security-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.account-security-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.account-security-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.account-security-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}

.account-security-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-security-facts strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 16px;
  white-space: nowrap;
}

.account-security-checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.account-session-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.account-session-channel,
.account-session-board,
.account-recommendation-primary,
.account-action-history {
  min-width: 0;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.028);
}

.account-session-channel {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.account-session-channel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.account-session-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.28);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(var(--accent-primary-rgb), 0.08);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.account-session-channel-head div {
  min-width: 0;
  flex: 1 1 auto;
}

.account-session-channel-head h3,
.account-session-board-head h3,
.account-action-history h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.account-session-channel-head p,
.account-session-board-head p,
.account-session-channel p,
.account-session-empty p,
.account-action-history p,
.account-recommendation-primary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-session-channel-head > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(var(--accent-primary-rgb), 0.08);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-session-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-session-meta div {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.account-session-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-session-meta strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  white-space: nowrap;
}

.account-session-board {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
}

.account-session-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.account-session-list {
  display: grid;
  gap: 8px;
}

.account-session-list article {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.024);
}

.account-session-row-main {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.account-session-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.035);
}

.account-session-dot.is-live {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-primary-rgb), 0.12);
}

.account-session-row-main strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  white-space: nowrap;
}

.account-session-row-main em {
  padding: 5px 8px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(var(--accent-primary-rgb), 0.07);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.account-session-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 20px;
}

.account-session-row-meta span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
}

.account-session-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 16px;
  border: 1px dashed rgba(var(--accent-secondary-rgb), 0.22);
  border-radius: 9px;
  background: rgba(var(--accent-secondary-rgb), 0.035);
}

.account-session-empty strong {
  color: var(--text);
}

.account-recommendation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 12px;
  margin-top: 18px;
}

.account-recommendation-primary {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 270px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.12), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(var(--accent-secondary-rgb), 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.03);
}

.account-recommendation-primary h3 {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 0.98;
}

.account-security-checklist-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.08), transparent 12rem),
    rgba(255, 255, 255, 0.026);
}

.account-security-checklist-card .admin-panel-head {
  margin: 0;
}

.account-security-checklist-card h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.05;
}

.account-recommendation-wide {
  grid-column: 1 / -1;
}

.account-recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-recommendation-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  color: rgba(246, 249, 255, 0.58);
  border-color: rgba(var(--accent-primary-rgb), 0.22);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.account-action-history {
  padding: 18px;
}

.account-action-history-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.account-action-history ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-action-history li {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 12px 12px 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.024);
}

.account-action-history li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 13px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.035);
}

.account-action-history li.is-done::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-primary-rgb), 0.12);
}

.account-action-history time {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-action-history strong {
  color: var(--text);
}


.account-security-checklist article {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.026);
}

.account-security-checklist article > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.035);
}

.account-security-checklist article.is-done > span {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-secondary-rgb), 0.13);
}

.account-security-checklist strong {
  display: block;
  margin-bottom: 5px;
}

.account-security-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.account-security-roadmap article {
  min-height: 146px;
  padding: 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 10rem),
    rgba(255, 255, 255, 0.03);
}

.account-security-roadmap span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.account-security-roadmap strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.account-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
  gap: 14px;
  align-items: start;
}

.account-support-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.025);
}

.account-support-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.account-support-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-support-form {
  padding: 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.026);
}

.support-type-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-type-switch button {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 10px;
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.06), transparent 10rem),
    rgba(255, 255, 255, 0.028);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.support-type-switch button:hover,
.support-type-switch button:focus-visible,
.support-type-switch button.is-active {
  border-color: rgba(var(--accent-primary-rgb), 0.48);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.14), transparent 11rem),
    rgba(var(--accent-primary-rgb), 0.055);
}

.support-type-switch button:hover {
  transform: translateY(-1px);
}

.support-type-switch strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.support-type-switch small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.support-attach-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px dashed rgba(var(--accent-primary-rgb), 0.22);
  border-radius: 9px;
  background: rgba(var(--accent-primary-rgb), 0.035);
}

.support-attach-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.support-attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.support-attach-row span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.support-mini-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 14rem),
    rgba(255, 255, 255, 0.026);
}

.support-mini-list {
  display: grid;
  gap: 10px;
}

.support-mini-list article {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.support-mini-list article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-mini-list h3 {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.support-mini-list article > span {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(var(--accent-primary-rgb), 0.055);
  font-size: 11px;
  font-weight: 950;
}

.support-mini-list p,
.support-mini-list small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.support-empty-state {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(var(--accent-secondary-rgb), 0.22);
  border-radius: 10px;
  background: rgba(var(--accent-secondary-rgb), 0.035);
}

.support-empty-state strong {
  color: var(--text);
  font-size: 18px;
}

.support-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.support-route-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.support-route-list article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.024);
}

.support-route-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.support-route-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.report-list {
  display: grid;
  gap: 10px;
}

.report-list article {
  display: grid;
  gap: 8px;
}

.report-list article > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-list article .admin-badge {
  width: fit-content;
}

.report-list small {
  color: var(--muted);
}

.compact-table {
  min-width: 560px;
}

.admin-alert-grid article {
  padding: 16px;
}

.admin-alert-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-alert-grid strong {
  display: block;
  margin: 6px 0;
  font-size: 30px;
}

.admin-health-grid {
  align-items: start;
}

.admin-health-grid > div {
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.admin-health-grid h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.status-list,
.build-list-mini {
  display: grid;
  gap: 10px;
}

.status-list p,
.build-list-mini p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.status-list strong {
  font-size: 18px;
}

.build-list-mini a {
  color: var(--text);
  font-weight: 850;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.4fr) minmax(140px, 0.4fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.admin-filter-grid label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.admin-filter-grid input,
.admin-filter-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  font: 650 14px/1.3 inherit;
}

.build-stat-grid strong {
  overflow-wrap: anywhere;
  font-size: 26px;
}

.build-editor-list {
  display: grid;
  gap: 14px;
}

.build-editor {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.build-editor:first-child {
  border-top: 0;
}
.check-label {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
}

.check-label input {
  width: auto;
  min-height: auto;
}

.account-grid {
  margin-bottom: 14px;
}

.account-tab-nav {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.88), rgba(6, 10, 16, 0.78)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.account-tab-nav::-webkit-scrollbar {
  display: none;
}

.account-tab-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.account-tab-nav a:hover,
.account-tab-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-secondary-rgb), 0.42);
  background: rgba(var(--accent-secondary-rgb), 0.08);
}

.account-tab-nav a.active {
  color: var(--accent-ink);
  border-color: rgba(var(--accent-secondary-rgb), 0.86);
  background: var(--accent-button-gradient);
  box-shadow: 0 12px 28px rgba(var(--accent-secondary-rgb), 0.16);
}

.account-tab-panel[hidden] {
  display: none !important;
}

.account-tab-panel.is-active {
  animation: account-panel-in 180ms ease both;
}

@keyframes account-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-sales-panel {
  padding: clamp(18px, 2.5vw, 28px);
  border-color: rgba(var(--accent-secondary-rgb), 0.24);
  background:
    radial-gradient(circle at 88% 0%, rgba(var(--accent-primary-rgb), 0.14), transparent 18rem),
    radial-gradient(circle at 8% 100%, rgba(var(--accent-secondary-rgb), 0.09), transparent 16rem),
    rgba(255, 255, 255, 0.035);
}

.account-sales-hero {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
}

.account-sales-hero h2 {
  max-width: 640px;
  margin: 8px 0 8px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.96;
}

.account-sales-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.account-pricing-view[hidden] {
  display: none;
}

.account-tab-panel.is-checkout-mode .account-sales-panel {
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.account-under-dev {
  display: block;
  min-height: 420px;
  padding: clamp(24px, 3.4vw, 46px);
  background:
    radial-gradient(circle at 86% 10%, rgba(var(--accent-primary-rgb), 0.14), transparent 23rem),
    radial-gradient(circle at 8% 92%, rgba(var(--accent-secondary-rgb), 0.09), transparent 19rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 46%),
    rgba(255, 255, 255, 0.032);
}

.account-under-dev[hidden] {
  display: none;
}

.account-dev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: 320px;
}

.account-dev-copy {
  max-width: 760px;
}

.account-dev-copy h2 {
  max-width: 560px;
  margin: 10px 0 14px;
  color: var(--text);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.9;
}

.account-dev-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 14px 0 22px;
  padding: 0 14px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.34);
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
  font-size: 13px;
  font-weight: 950;
}

.account-dev-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.account-dev-visual {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--accent-secondary-rgb), 0.15), transparent 8rem),
    linear-gradient(150deg, rgba(var(--accent-secondary-rgb), 0.11), transparent 42%),
    rgba(255, 255, 255, 0.028);
}

.account-dev-visual::before,
.account-dev-visual::after {
  position: absolute;
  border-radius: 999px;
  background: rgba(var(--accent-secondary-rgb), 0.34);
  box-shadow: 0 0 24px rgba(var(--accent-secondary-rgb), 0.28);
  content: "";
}

.account-dev-visual::before {
  left: 28px;
  top: 28px;
  width: 8px;
  height: 8px;
}

.account-dev-visual::after {
  right: 34px;
  bottom: 34px;
  width: 12px;
  height: 12px;
}

.account-dev-sign {
  width: min(84%, 300px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 55px rgba(var(--accent-secondary-rgb), 0.14));
}

.dev-sign-glow {
  fill: rgba(var(--accent-secondary-rgb), 0.08);
  stroke: rgba(var(--accent-secondary-rgb), 0.18);
  stroke-width: 2;
}

.dev-sign-edge {
  fill: rgba(var(--accent-secondary-rgb), 0.16);
  stroke: rgba(var(--accent-secondary-rgb), 0.62);
  stroke-width: 3;
}

.dev-sign-face {
  fill: rgba(10, 13, 19, 0.92);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
}

.dev-crane-icon {
  fill: none;
  stroke: var(--amber);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  filter: drop-shadow(0 0 10px rgba(var(--accent-secondary-rgb), 0.48));
}

.account-plan-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.account-plan-viewport {
  min-width: 0;
  margin-top: -8px;
  padding: 8px 0 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.account-plan-viewport::-webkit-scrollbar {
  display: none;
}

.account-plan-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-template-columns: none;
  gap: 14px;
}

.account-plan-arrow {
  position: relative;
  width: 38px;
  height: 48px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.18), transparent 4rem),
    rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.account-plan-arrow::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--amber);
  border-right: 3px solid var(--amber);
  filter: drop-shadow(0 0 6px rgba(var(--accent-secondary-rgb), 0.42));
  content: "";
}

.account-plan-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.account-plan-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.account-plan-arrow:hover,
.account-plan-arrow:focus-visible {
  border-color: rgba(var(--accent-primary-rgb), 0.55);
  background: rgba(var(--accent-primary-rgb), 0.1);
  transform: translateY(-1px);
}

.account-plan-arrow:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.account-plan-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
  align-content: start;
  min-height: 438px;
  padding: 20px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: 12px;
  background:
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(18, 22, 29, 0.94), rgba(7, 11, 18, 0.96));
  scroll-snap-align: start;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.account-plan-card:hover,
.account-plan-card:focus-within {
  border-color: rgba(var(--accent-secondary-rgb), 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.13), transparent 14rem),
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(22, 25, 30, 0.98), rgba(7, 11, 18, 0.98));
  box-shadow: 0 20px 58px rgba(var(--accent-secondary-rgb), 0.12), 0 0 0 1px rgba(var(--accent-secondary-rgb), 0.1);
  transform: translateY(-5px);
}

.account-plan-card.is-selected {
  border-color: rgba(var(--accent-secondary-rgb), 0.86);
  box-shadow: 0 22px 64px rgba(var(--accent-secondary-rgb), 0.2), 0 0 0 1px rgba(var(--accent-secondary-rgb), 0.2);
}

.account-plan-card.is-featured {
  border-color: rgba(var(--accent-secondary-rgb), 0.72);
  box-shadow: 0 0 0 1px rgba(var(--accent-secondary-rgb), 0.18), 0 24px 70px rgba(var(--accent-secondary-rgb), 0.12);
}

.account-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-plan-top span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-plan-top strong {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 8px;
  color: #ffe5a1;
  background: rgba(var(--accent-secondary-rgb), 0.07);
  font-size: 11px;
  text-align: center;
}

.account-plan-card h3 {
  margin: 0;
  font-size: 28px;
}

.account-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 2.2vw, 38px);
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.account-plan-price small {
  color: var(--muted);
  font-size: 12px;
}

.account-plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(245, 248, 255, 0.82);
  list-style: none;
  font-size: 14px;
  line-height: 1.42;
}

.account-plan-card li {
  position: relative;
  padding-left: 18px;
}

.account-plan-card li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-button-gradient);
  box-shadow: 0 0 12px rgba(var(--accent-secondary-rgb), 0.3);
  content: "";
}

.account-plan-card .button {
  width: 100%;
  margin-top: auto;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

/* Золотая кнопка «следует за курсором»: наведение на карточку красит её кнопку в золото. */
.account-plan-card:hover .button,
.account-plan-card:focus-within .button {
  color: var(--accent-ink);
  border-color: rgba(var(--accent-secondary-rgb), 0.86);
  background: var(--accent-button-gradient);
  box-shadow: 0 16px 36px rgba(var(--accent-secondary-rgb), 0.24);
}

/* Когда курсор на любой карточке — «дежурная» золотая (featured) гаснет в тёмную,
   если под курсором не она. Так золото всегда одно и идёт за мышкой. */
.account-plan-viewport:has(.account-plan-card:hover) .account-plan-card.is-featured:not(:hover) .button {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.account-payment-box,
.account-payment-history,
.account-payment-active {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.032);
}

.account-payment-box[hidden] {
  display: none !important;
}

.account-payment-active[hidden] {
  display: none !important;
}

.account-tab-panel.is-checkout-mode .account-payment-box,
.account-sales-panel.is-checkout-mode .account-payment-box {
  margin-top: 0;
}

.account-payment-box.is-active {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 26rem),
    linear-gradient(180deg, rgba(12, 15, 23, 0.98), rgba(3, 7, 15, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.18);
}

.account-payment-head,
.payment-invoice-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.account-payment-head {
  min-height: 150px;
  padding: clamp(18px, 3vw, 28px);
  border: 0;
  border-bottom: 1px solid rgba(var(--accent-secondary-rgb), 0.14);
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 19, 0.46), rgba(14, 17, 24, 0.32) 52%, rgba(var(--accent-secondary-rgb), 0.12)),
    radial-gradient(circle at 92% 0%, rgba(var(--accent-secondary-rgb), 0.24), transparent 24rem);
  box-shadow: none;
}

.account-payment-head h3,
.payment-invoice-top h3 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
}

.account-payment-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.payment-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  min-height: 62px;
  padding: 8px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 50%, rgba(var(--accent-secondary-rgb), 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(12, 17, 26, 0.92), rgba(3, 8, 17, 0.92));
  overflow: hidden;
}

.payment-stepper::before {
  position: absolute;
  z-index: 0;
  left: 28px;
  right: 28px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-secondary-rgb), 0.32), rgba(255, 255, 255, 0.08), rgba(var(--accent-secondary-rgb), 0.18));
  content: "";
  opacity: 0.75;
}

.payment-stepper button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  text-align: left;
  background: rgba(5, 10, 19, 0.82);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 190ms ease,
    background 190ms ease,
    color 190ms ease,
    transform 190ms ease,
    box-shadow 190ms ease,
    opacity 190ms ease;
}

.payment-stepper button:not(:disabled):hover,
.payment-stepper button:not(:disabled):focus-visible {
  border-color: rgba(var(--accent-secondary-rgb), 0.34);
  background:
    radial-gradient(circle at 0% 50%, rgba(var(--accent-secondary-rgb), 0.14), transparent 10rem),
    rgba(13, 17, 24, 0.94);
  color: #ffe1a0;
  transform: translateY(-1px);
}

.payment-stepper b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: 9px;
  color: var(--amber);
  background: rgba(var(--accent-secondary-rgb), 0.07);
  font-size: 10px;
  line-height: 1;
  transition: inherit;
}

.payment-stepper button > span {
  min-width: 0;
  color: inherit;
  white-space: nowrap;
}

.payment-stepper button.is-active {
  color: var(--text);
  border-color: rgba(var(--accent-secondary-rgb), 0.46);
  background:
    radial-gradient(circle at 20% 50%, rgba(var(--accent-secondary-rgb), 0.2), transparent 10rem),
    linear-gradient(180deg, rgba(35, 27, 18, 0.86), rgba(15, 14, 17, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(var(--accent-secondary-rgb), 0.12);
}

.payment-stepper button.is-active b {
  color: var(--accent-ink);
  border-color: rgba(var(--accent-secondary-rgb), 0.72);
  background: var(--accent-button-gradient);
  box-shadow: 0 8px 22px rgba(var(--accent-secondary-rgb), 0.18);
}

.payment-stepper button.is-done {
  color: #ffe1a0;
  border-color: rgba(var(--accent-secondary-rgb), 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.13), transparent 8rem),
    rgba(var(--accent-secondary-rgb), 0.045);
}

.payment-stepper button.is-done b {
  border-color: rgba(var(--accent-secondary-rgb), 0.36);
  background: rgba(var(--accent-secondary-rgb), 0.11);
}

.payment-stepper button.is-locked,
.payment-stepper button:disabled {
  color: rgba(180, 194, 215, 0.64);
  cursor: not-allowed;
  opacity: 0.58;
}

.payment-stepper button.is-locked b,
.payment-stepper button:disabled b {
  color: rgba(180, 194, 215, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.account-payment-selected,
.payment-copy-grid,
.payment-tx-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.account-payment-selected div,
.payment-disabled-state,
.payment-invoice-card {
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.account-payment-selected div {
  padding: 14px;
}

.account-payment-selected span,
.payment-invoice-top > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-payment-selected strong {
  color: var(--text);
  font-size: 20px;
}

.payment-choice-grid,
.payment-method-pickers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 12px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.payment-stage {
  display: grid;
  gap: 18px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(16, 20, 28, 0.84), rgba(5, 9, 17, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 56px rgba(0, 0, 0, 0.16);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.payment-stage.is-invoice {
  border-color: rgba(var(--accent-secondary-rgb), 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(13, 17, 26, 0.94), rgba(4, 8, 16, 0.96));
}

.payment-selection {
  display: grid;
  gap: 14px;
}

.payment-selection[hidden] {
  display: none !important;
}

.payment-existing-invoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(27, 24, 24, 0.86), rgba(10, 13, 20, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 40px rgba(0, 0, 0, 0.16);
}

.payment-existing-invoice[hidden] {
  display: none !important;
}

.payment-existing-invoice span,
.payment-existing-invoice small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.payment-existing-invoice span {
  color: var(--amber);
  text-transform: uppercase;
}

.payment-existing-invoice strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
}

.payment-existing-invoice small {
  margin-top: 4px;
  color: rgba(220, 230, 246, 0.78);
}

.payment-existing-invoice .button {
  flex: 0 0 auto;
  min-height: 42px;
  padding-inline: 18px;
}

.payment-method-pickers {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.payment-dropdown {
  position: relative;
}

.payment-choice-grid .payment-dropdown,
.payment-choice-grid .payment-coupon-field {
  height: 100%;
}

.payment-dropdown-toggle {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 88px;
  padding: 16px 50px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(22, 27, 37, 0.88), rgba(10, 14, 22, 0.9)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.payment-choice-grid .payment-dropdown-toggle,
.payment-choice-grid .payment-coupon-field {
  min-height: 100px;
}

.payment-dropdown-toggle {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.payment-dropdown-toggle::after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.payment-dropdown.is-open .payment-dropdown-toggle::after {
  transform: translateY(-30%) rotate(225deg);
}

.payment-dropdown-toggle:hover,
.payment-dropdown-toggle:focus-visible,
.payment-dropdown.is-open .payment-dropdown-toggle {
  border-color: rgba(var(--accent-secondary-rgb), 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.1), transparent 12rem),
    linear-gradient(180deg, rgba(28, 32, 41, 0.96), rgba(12, 16, 24, 0.96));
  transform: translateY(-1px);
}

.payment-dropdown-toggle span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-dropdown-toggle strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.05;
}

.payment-dropdown-toggle small {
  display: block;
  margin-top: 7px;
  color: #ffe2a5;
  font-size: 12px;
  font-weight: 850;
}

.payment-dropdown-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 6px;
  max-height: 360px;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.14), transparent 15rem),
    linear-gradient(180deg, rgba(18, 22, 30, 0.99), rgba(6, 9, 15, 0.99));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.035);
  scrollbar-color: rgba(var(--accent-secondary-rgb), 0.58) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.payment-dropdown-menu:not([hidden]) {
  animation: paymentDropdownIn 240ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.payment-choice-grid .payment-dropdown-menu,
.payment-method-pickers .payment-dropdown-menu {
  position: static;
  right: auto;
  top: auto;
  max-height: 430px;
  margin-top: 10px;
  overflow: auto;
  transform-origin: top;
  transition:
    max-height 260ms cubic-bezier(0.18, 0.82, 0.22, 1),
    margin-top 220ms ease,
    padding 220ms ease,
    opacity 180ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.payment-choice-grid .payment-dropdown-menu:not([hidden]),
.payment-method-pickers .payment-dropdown-menu:not([hidden]) {
  animation: paymentDrawerIn 280ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.payment-dropdown.is-closing .payment-dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.99);
  animation: none;
}

.payment-choice-grid .payment-dropdown.is-closing .payment-dropdown-menu,
.payment-method-pickers .payment-dropdown.is-closing .payment-dropdown-menu {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  border-color: rgba(var(--accent-secondary-rgb), 0);
}

@keyframes paymentDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes paymentDrawerIn {
  from {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    max-height: 430px;
    margin-top: 10px;
    transform: translateY(0);
  }
}

.payment-dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.payment-dropdown-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.payment-dropdown-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--accent-secondary-rgb), 0.58);
}

.payment-dropdown-menu[hidden] {
  display: none;
}

.payment-dropdown-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
}

.payment-dropdown-option:hover,
.payment-dropdown-option:focus-visible,
.payment-dropdown-option.is-active {
  border-color: rgba(var(--accent-secondary-rgb), 0.32);
  background:
    linear-gradient(90deg, rgba(var(--accent-secondary-rgb), 0.08), rgba(255, 255, 255, 0.026));
}

.payment-dropdown-option[data-payment-coin-enabled="0"] {
  opacity: 0.78;
}

.payment-dropdown-option span,
.payment-dropdown-option strong,
.payment-dropdown-option small {
  display: block;
}

.payment-dropdown-option span {
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.payment-dropdown-option strong {
  color: #ffe2a5;
  font-size: 14px;
  text-align: right;
}

.payment-dropdown-option small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.payment-plan-switcher {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.payment-plan-switcher button {
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 8rem),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.payment-plan-switcher button:hover,
.payment-plan-switcher button.is-active {
  border-color: rgba(var(--accent-secondary-rgb), 0.64);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.18), transparent 8rem),
    rgba(var(--accent-secondary-rgb), 0.055);
  transform: translateY(-1px);
}

.payment-plan-switcher span,
.payment-plan-switcher strong,
.payment-plan-switcher small {
  display: block;
}

.payment-plan-switcher span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-plan-switcher strong {
  margin-top: 7px;
  color: var(--text);
  font-size: 19px;
}

.payment-plan-switcher small {
  margin-top: 5px;
  color: #ffe2a5;
  font-size: 11px;
  font-weight: 850;
}

.payment-coupon-field {
  display: grid;
  align-content: start;
  min-height: 100px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(22, 27, 37, 0.88), rgba(10, 14, 22, 0.9)),
    rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-coupon-field span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 9px;
}

.payment-coupon-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-transform: uppercase;
}

.payment-coupon-field button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  cursor: pointer;
}

.payment-coupon-field button.is-active {
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
}

.payment-method-pickers .payment-dropdown-option {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
}

.payment-method-pickers .payment-dropdown-option small {
  grid-column: auto;
}

.payment-method-pickers .payment-dropdown-option .payment-method-copy small {
  margin-top: 5px;
}

.payment-method-pickers .payment-dropdown-option strong,
.payment-method-pickers .payment-dropdown-option small {
  text-align: left;
}

.payment-method-select {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.payment-method-select button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.08), transparent 10rem),
    rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.payment-method-select button:hover,
.payment-method-select button.is-active {
  border-color: rgba(var(--accent-secondary-rgb), 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.18), transparent 11rem),
    rgba(var(--accent-secondary-rgb), 0.07);
  transform: translateY(-1px);
}

.payment-method-select strong,
.payment-method-select small {
  display: block;
}

.payment-method-select strong {
  font-size: 20px;
}

.payment-method-select small {
  margin-top: 6px;
  color: var(--muted);
}

.payment-method-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.payment-method-icon b {
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0;
}

.payment-method-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.28));
}

.payment-method-icon.usdt img {
  transform: translateY(1px) scale(1.04);
}

.payment-method-icon.btc img {
  transform: translateX(-1px) scale(1.02);
}

.payment-method-icon.eth img {
  transform: translateX(-1px) scale(1.08);
}

.payment-method-icon.sol img {
  transform: scale(1.12);
}

.payment-method-icon.ltc img {
  transform: translateX(1px) scale(1.1);
}

.payment-method-icon.trx img {
  transform: translateX(1px) scale(1.22);
}

.payment-method-icon.bnb img {
  transform: scale(1.16);
}

.payment-method-icon.usdt,
.payment-method-icon.usdt-trc20,
.payment-method-icon.usdt-bep20 {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.32), transparent 1.4rem),
    linear-gradient(135deg, #4ac7a3 0%, #26a17b 54%, #13785d 100%);
}

.payment-method-icon.btc {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 1.4rem),
    linear-gradient(135deg, #ffca62 0%, #f7931a 58%, #a75c08 100%);
}

.payment-method-icon.eth {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 1.4rem),
    linear-gradient(135deg, #94a2ff 0%, #627eea 54%, #3443a1 100%);
}

.payment-method-icon.sol {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 1.4rem),
    linear-gradient(135deg, #66f9a1 0%, #45d7e8 48%, #9945ff 100%);
}

.payment-method-icon.ltc {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.46), transparent 1.4rem),
    linear-gradient(135deg, #f1f1f1 0%, #bfbfbb 52%, #6f777e 100%);
}

.payment-method-icon.trx {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 1.4rem),
    linear-gradient(135deg, #ff5b73 0%, #ef0027 54%, #8b0017 100%);
}

.payment-method-icon.bnb {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.38), transparent 1.4rem),
    linear-gradient(135deg, #ffe08a 0%, #f3ba2f 54%, #9b7413 100%);
}

.payment-method-copy {
  min-width: 0;
}

.payment-method-chain {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.34);
  border-radius: 999px;
  color: #ffe0a0;
  background: rgba(var(--accent-secondary-rgb), 0.08);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-network-empty {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 17px 18px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 10rem),
    linear-gradient(180deg, rgba(24, 29, 39, 0.88), rgba(10, 13, 20, 0.88));
}

.payment-network-empty[hidden] {
  display: none;
}

.payment-network-empty span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-network-empty strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
}

.payment-network-empty small {
  color: var(--muted);
  font-size: 13px;
}

.payment-submit-row {
  display: grid;
  justify-items: end;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--accent-secondary-rgb), 0.18);
}

.button.payment-create-button {
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 2px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.62);
  border-radius: 12px;
  color: #160d00;
  background:
    linear-gradient(135deg, #ffe178 0%, #ffbf35 38%, #f58a22 72%, #ffda72 100%);
  font-size: 15px;
  box-shadow: 0 18px 46px rgba(var(--accent-secondary-rgb), 0.2);
}

.button.payment-create-button:hover,
.button.payment-create-button:focus-visible {
  border-color: rgba(var(--accent-cyan-rgb), 0.55);
  box-shadow: 0 20px 52px rgba(var(--accent-secondary-rgb), 0.26);
}

.button.payment-check-button {
  min-height: 44px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.58);
  border-radius: 8px;
  color: #160d00;
  background:
    linear-gradient(135deg, #ffe178 0%, #ffbd31 42%, #f58a22 78%, #ffd46c 100%);
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(var(--accent-secondary-rgb), 0.18);
}

.button.payment-check-button:hover,
.button.payment-check-button:focus-visible {
  border-color: rgba(var(--accent-secondary-rgb), 0.75);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(var(--accent-secondary-rgb), 0.24);
}

.button.payment-check-button:disabled,
.button.payment-check-button.is-loading {
  cursor: wait;
  opacity: 0.76;
  transform: none;
}

.button.payment-create-button:disabled,
.button.payment-create-button.is-disabled {
  color: rgba(255, 226, 165, 0.52);
  border-color: rgba(var(--accent-secondary-rgb), 0.2);
  background:
    linear-gradient(180deg, rgba(30, 34, 45, 0.88), rgba(13, 17, 25, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.payment-total-panel {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  border-top: 0;
}

.payment-total-panel div {
  min-width: 0;
  max-width: 520px;
  text-align: right;
}

.payment-total-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-total-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.95;
}

.payment-total-panel small {
  display: block;
  margin-top: 8px;
  color: #ffe2a5;
  font-size: 12px;
  font-weight: 850;
}

.payment-invoice-card {
  display: block;
  margin-top: 0;
  padding: 18px;
  animation: paymentInvoiceIn 260ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.payment-invoice-card[hidden] {
  display: none !important;
}

@keyframes paymentInvoiceIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-invoice-top strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(var(--accent-secondary-rgb), 0.08);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-invoice-top strong small {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 2px;
  padding-left: 8px;
  border-left: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
}

.payment-invoice-top strong.is-final .payment-status-spinner,
.payment-invoice-top strong.is-final small:empty {
  display: none;
}

.payment-status-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(var(--accent-secondary-rgb), 0.22);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: paymentSpin 850ms linear infinite;
}

@keyframes paymentSpin {
  to {
    transform: rotate(360deg);
  }
}

.payment-warning {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.24);
  border-radius: 10px;
  color: var(--text);
  background: rgba(var(--accent-secondary-rgb), 0.07);
}

.payment-copy-grid label,
.payment-tx-check label {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.payment-copy-grid label span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}

.payment-copy-grid input,
.payment-tx-check input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.payment-copy-grid button {
  min-width: 112px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.26);
  border-radius: 8px;
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
  font-weight: 950;
  cursor: pointer;
}

.payment-tx-check {
  align-items: end;
  gap: 14px;
  margin-top: 22px;
}

.payment-tx-check label {
  display: grid;
  gap: 8px;
}

.payment-tx-input {
  position: relative;
  display: block;
}

.payment-tx-input input {
  padding-right: 46px;
}

.payment-tx-input i {
  position: absolute;
  right: 13px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(-50%) scale(0.82);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.payment-tx-input i::before {
  width: 9px;
  height: 5px;
  border-left: 2px solid #170d00;
  border-bottom: 2px solid #170d00;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}

.payment-tx-input.is-accepted i {
  border-color: rgba(var(--accent-secondary-rgb), 0.7);
  background: var(--accent-button-gradient);
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.payment-status-line {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--accent-secondary-rgb), 0.12);
  color: var(--muted);
  line-height: 1.6;
}

.payment-help-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
}

.payment-help-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.payment-help-row button,
.payment-active-dismiss {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.28);
  border-radius: 8px;
  color: #ffe2a5;
  background: rgba(var(--accent-secondary-rgb), 0.07);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.payment-help-row button:hover,
.payment-help-row button:focus-visible,
.payment-active-dismiss:hover,
.payment-active-dismiss:focus-visible {
  border-color: rgba(var(--accent-secondary-rgb), 0.48);
  background: rgba(var(--accent-secondary-rgb), 0.12);
}

.payment-disabled-state {
  margin-top: 16px;
  padding: 18px;
}

.payment-disabled-state strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.payment-disabled-state p {
  max-width: 700px;
  color: var(--muted);
}

.payment-history-list {
  display: grid;
  gap: 10px;
}

.payment-active-list {
  display: grid;
  gap: 10px;
}

.payment-history-list article,
.payment-active-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-history-list article div,
.payment-active-list article > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.payment-history-list p,
.payment-history-list small,
.payment-active-list p,
.payment-active-list small {
  margin: 8px 0 0;
  color: var(--muted);
}

.payment-active-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.payment-history-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.22);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(var(--accent-secondary-rgb), 0.08);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.payment-history-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.42);
  border-radius: 8px;
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(var(--accent-secondary-rgb), 0.13);
}

.payment-history-return:hover,
.payment-history-return:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(var(--accent-secondary-rgb), 0.2);
}

.payment-history-return:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-method-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 4px;
}

.payment-method-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 177, 42, 0.44);
  border-radius: 14px;
  color: #120b05;
  background: linear-gradient(135deg, #ffe27a, #ff9d1b 72%, #7b350b);
  box-shadow: 0 16px 38px rgba(255, 155, 24, 0.14);
  font-size: 12px;
  font-weight: 1000;
}

.payment-method-title span,
.payment-method-title strong,
.payment-method-title small {
  display: block;
}

.payment-method-title span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.payment-method-title strong {
  margin-top: 2px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.05;
}

.payment-method-title small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.payment-method-head .admin-badge {
  justify-self: end;
}

.payment-method-card code {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.payment-method-admin-list {
  display: grid;
  gap: 10px;
}

.payment-method-admin-item {
  border: 1px solid rgba(255, 154, 24, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.045), rgba(255, 154, 24, 0.05)),
    rgba(5, 10, 18, 0.54);
  overflow: hidden;
}

.payment-method-admin-item[open] {
  border-color: rgba(255, 154, 24, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.payment-method-admin-item summary {
  display: block;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.payment-method-admin-item summary::marker {
  content: "";
  font-size: 0;
}

.payment-method-admin-item summary::-webkit-details-marker {
  display: none;
}

.payment-method-admin-item summary:hover {
  background: rgba(255, 154, 24, 0.045);
}

.payment-method-admin-row {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) minmax(190px, 0.85fr) minmax(190px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
}

.payment-method-admin-main strong,
.payment-method-admin-main small,
.payment-method-admin-network strong,
.payment-method-admin-network small,
.payment-method-admin-meta strong,
.payment-method-admin-meta small,
.payment-method-admin-meta em {
  display: block;
}

.payment-method-admin-main strong,
.payment-method-admin-network strong,
.payment-method-admin-meta strong {
  color: var(--text);
  line-height: 1.1;
}

.payment-method-admin-main strong {
  font-size: 18px;
}

.payment-method-admin-network strong,
.payment-method-admin-meta strong {
  margin-top: 4px;
  font-size: 14px;
}

.payment-method-admin-main small,
.payment-method-admin-network small,
.payment-method-admin-meta small,
.payment-method-admin-meta em {
  margin-top: 5px;
  color: var(--muted);
}

.payment-method-admin-main small,
.payment-method-admin-network small,
.payment-method-admin-meta small {
  margin-top: 0;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payment-method-admin-meta em {
  font-style: normal;
  font-size: 12px;
}

.payment-method-admin-meta {
  color: var(--text);
  font-weight: 850;
  overflow: hidden;
}

.payment-method-admin-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-method-admin-row > b {
  color: var(--amber);
  font-size: 12px;
  text-transform: uppercase;
}

.payment-method-admin-form {
  padding: 16px;
  border-top: 1px solid rgba(255, 154, 24, 0.2);
  background: rgba(0, 0, 0, 0.16);
}

.payment-method-admin-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.payment-invoices-panel {
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 154, 24, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.payment-invoice-table {
  min-width: 1120px;
}

.payment-invoice-table th:nth-child(4),
.payment-invoice-table td:nth-child(4) {
  width: 210px;
}

.payment-invoice-table th:nth-child(5),
.payment-invoice-table td:nth-child(5) {
  width: 140px;
}

.payment-invoice-code strong {
  overflow-wrap: anywhere;
}

.payment-invoice-amount strong {
  color: var(--text);
  font-size: 16px;
}

.payment-invoice-amount small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.payment-invoice-network {
  white-space: nowrap;
}

.payment-admin-method-chip,
.payment-admin-network-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-admin-method-chip {
  color: #120b05;
  background: linear-gradient(135deg, #ffe27a, #ff9d1b);
}

.payment-admin-network-chip {
  color: var(--amber);
  border: 1px solid rgba(255, 154, 24, 0.34);
  background: rgba(255, 154, 24, 0.08);
}

.payment-admin-address {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.payment-invoice-status .admin-badge {
  margin-bottom: 2px;
}

.admin-check-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px;
  align-items: center;
}

.admin-check-row input {
  width: auto !important;
  min-height: auto !important;
}

@media (max-width: 900px) {
  .admin-stat-grid,
  .admin-two-col,
  .admin-user-primary-grid,
  .admin-user-card-grid,
  .admin-user-license-layout,
  .diagnostics-metric-grid,
  .diagnostics-kpi-grid,
  .diagnostics-storage-form,
  .download-grid,
  .license-card-grid,
  .admin-alert-grid,
  .admin-health-grid,
  .admin-filter-grid,
  .account-command-grid,
  .account-support-grid {
    grid-template-columns: 1fr;
  }

  .account-command-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-command-grid a:last-child {
    border-bottom: 0;
  }

  .admin-user-workspace {
    padding: 10px;
  }

  .admin-user-subnav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .admin-user-subnav::-webkit-scrollbar {
    display: none;
  }

  .admin-user-subnav button {
    flex: 0 0 auto;
  }

  .admin-user-mail-actions {
    grid-template-columns: 1fr;
  }

  .account-plan-carousel {
    grid-template-columns: 1fr;
  }

  .account-plan-arrow {
    display: none;
  }

  .account-plan-grid {
    grid-auto-columns: min(86vw, 360px);
  }

  .payment-stepper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .payment-stepper::-webkit-scrollbar {
    display: none;
  }

  .payment-stepper button {
    min-width: 150px;
  }

  .payment-plan-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-choice-grid,
  .payment-method-pickers {
    grid-template-columns: 1fr;
  }

  .payment-existing-invoice {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-submit-row {
    justify-items: stretch;
  }

  .payment-total-panel {
    justify-content: flex-start;
  }

  .payment-total-panel div {
    max-width: none;
    text-align: left;
  }

  .button.payment-create-button {
    width: 100%;
  }

  .account-payment-selected,
  .payment-copy-grid,
  .payment-tx-check,
  .payment-method-select,
  .payment-method-grid {
    grid-template-columns: 1fr;
  }

  .license-issue-form,
  .license-issue-meta {
    max-width: none;
  }

  .license-issue-form {
    padding-left: 0;
  }

  .license-issue-form::before {
    display: none;
  }

  .license-step-number {
    position: static;
    margin-bottom: -2px;
  }

  .license-issue-extra {
    grid-template-columns: 1fr;
  }

  .license-issue-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .license-issue-actions .button {
    width: 100%;
    flex: 0 0 auto;
  }

  .payment-method-admin-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .payment-method-admin-meta,
  .payment-method-admin-network,
  .payment-method-admin-row > b {
    grid-column: 2 / -1;
  }

  .payment-method-admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-tab-nav {
    top: 70px;
    margin-left: -4px;
    margin-right: -4px;
    border-radius: 10px;
  }

  .account-sales-hero h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .account-dev-hero {
    grid-template-columns: 1fr;
  }

  .account-dev-visual {
    min-height: 260px;
  }

  .audit-list {
    display: grid;
    gap: 10px;
  }

.audit-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.audit-list strong,
.audit-list small,
.audit-list span,
.audit-list p {
  min-width: 0;
}

.audit-list strong {
  display: block;
  color: var(--text);
}

.audit-list small,
.audit-list span,
.audit-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.audit-list span {
  font-weight: 850;
}

.audit-list p {
  grid-column: 1 / -1;
  margin: 0;
  overflow-wrap: anywhere;
}
  .admin-top,
  .user-summary,
  .admin-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .diagnostics-cleanup-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Aurora palette layer: visual-only color system, no layout changes. */
:root {
  --bg: #020611;
  --bg-2: #071224;
  --panel: #0a1526;
  --panel-2: #0f1d32;
  --line: rgba(176, 207, 255, 0.14);
  --line-strong: rgba(176, 207, 255, 0.26);
  --text: #f6f9ff;
  --muted: #a8b6ca;
  --soft: #76869d;
  --green: #ffb82e;
  --cyan: #46d9ff;
  --amber: #f58a22;
  --violet: #7658ff;
  --blue: #ffc64d;
  --accent-ink: #050914;
  --accent-primary-rgb: 255, 184, 46;
  --accent-secondary-rgb: 245, 138, 34;
  --accent-cyan-rgb: 70, 217, 255;
  --accent-primary-light: #ffe178;
  --accent-secondary-light: #ffb447;
  --accent-gradient: linear-gradient(100deg, #f58a22 0%, #ffbf35 24%, #ffe178 42%, #ffac28 58%, #f06b1b 76%, #46d9ff 100%);
  --accent-button-gradient: linear-gradient(135deg, #ffe178 0%, #ffbf35 36%, #f58a22 72%, #ffda72 100%);
  --accent-text-gradient: linear-gradient(100deg, #fff3b0 0%, #ffcf54 32%, #ff9a24 67%, #ffe178 100%);
  --accent-card-gradient: radial-gradient(circle at 92% 0%, rgba(255, 207, 84, 0.16), transparent 15rem), radial-gradient(circle at 8% 0%, rgba(245, 138, 34, 0.11), transparent 13rem);
  --theme-panel-tint: rgba(255, 184, 46, 0.09);
  --theme-panel-tint-2: rgba(245, 138, 34, 0.08);
}

::selection {
  color: var(--accent-ink);
  background: rgba(var(--accent-primary-rgb), 0.9);
}

body,
.auth-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(var(--accent-primary-rgb), 0.16), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(var(--accent-secondary-rgb), 0.16), transparent 28rem),
    linear-gradient(180deg, #020712 0%, #020611 55%, #01030a 100%);
}

.brand-mark,
.footer-brand-mark {
  color: #3a2104;
  background: var(--brand-gold-mark-bg);
  border: 1px solid var(--brand-gold-mark-border);
  box-shadow: var(--brand-gold-mark-shadow);
}

.eyebrow,
.bulk-feature-card span,
.bulk-delivery-copy .eyebrow,
.resource-hub-head h2 span,
.plan-label,
.resource-hub-head .eyebrow,
.delivery-icon,
.quick-start-list li.is-current strong,
.text-button,
.stat-status-list strong,
.account-hero-card .eyebrow {
  color: var(--blue);
}

.button-primary,
.button.is-active,
.term-presets button.is-active,
.admin-badge.active,
.admin-badge.verified,
.admin-badge.admin,
.admin-badge.stable,
.admin-badge.resolved,
.quick-start-list li.is-current > span,
.quick-start-list li.is-done > span {
  color: var(--accent-ink);
  border-color: var(--blue);
  background: var(--accent-button-gradient);
}

.button-primary:hover,
.button-primary:focus-visible,
.button.is-active:hover,
.button.is-active:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(var(--accent-primary-rgb), 0.16);
}

.button-amber,
.pricing-arrow {
  color: var(--accent-ink);
  border-color: rgba(var(--accent-secondary-rgb), 0.86);
  background: var(--accent-button-gradient);
  box-shadow: 0 16px 34px rgba(var(--accent-secondary-rgb), 0.18);
}

.button-amber:hover,
.button-amber:focus-visible,
.pricing-arrow:hover,
.pricing-arrow:focus-visible {
  border-color: rgba(var(--accent-cyan-rgb), 0.72);
  box-shadow: 0 22px 54px rgba(var(--accent-secondary-rgb), 0.26);
}

.badge,
.plan-card .badge {
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
}

.price-card li::before,
.plan-card .plan-feature-list li::before,
.delivery-icon::before,
.stats-chart-tooltip .registrations,
.stats-legend-button.registrations i {
  background: var(--accent-button-gradient);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.12);
}

.plan-card {
  isolation: isolate;
  border-radius: 12px;
  border-color: rgba(var(--accent-secondary-rgb), 0.24);
  background:
    var(--accent-card-gradient),
    radial-gradient(circle at 100% 0%, var(--theme-panel-tint), transparent 15rem),
    linear-gradient(135deg, var(--theme-panel-tint-2), transparent 34%),
    linear-gradient(180deg, rgba(15, 22, 36, 0.98), rgba(7, 12, 22, 0.98));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.16);
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
  will-change: transform;
}

.plan-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% -8%, rgba(var(--accent-secondary-rgb), 0.18), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card:hover,
.plan-card:focus-within {
  border-color: rgba(var(--accent-secondary-rgb), 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-secondary-rgb), 0.13), transparent 14rem),
    var(--accent-card-gradient),
    radial-gradient(circle at 100% 0%, var(--theme-panel-tint), transparent 15rem),
    linear-gradient(135deg, var(--theme-panel-tint-2), transparent 34%),
    linear-gradient(180deg, rgba(18, 23, 32, 0.99), rgba(7, 12, 22, 0.99));
  box-shadow:
    0 26px 72px rgba(var(--accent-secondary-rgb), 0.14),
    0 0 0 1px rgba(var(--accent-secondary-rgb), 0.1);
  transform: translateY(-7px);
}

.plan-card:hover::after,
.plan-card:focus-within::after {
  opacity: 1;
}

.plan-card.featured {
  border-color: rgba(var(--accent-secondary-rgb), 0.78);
  background:
    radial-gradient(circle at 45% 0%, rgba(var(--accent-secondary-rgb), 0.18), transparent 16rem),
    var(--accent-card-gradient),
    radial-gradient(circle at 100% 0%, var(--theme-panel-tint), transparent 15rem),
    linear-gradient(180deg, rgba(18, 22, 28, 0.99), rgba(7, 12, 22, 0.99));
  box-shadow:
    0 0 0 1px rgba(var(--accent-secondary-rgb), 0.2),
    0 28px 90px rgba(var(--accent-secondary-rgb), 0.13);
}

.plan-card.featured:hover,
.plan-card.featured:focus-within {
  border-color: rgba(var(--accent-secondary-rgb), 0.92);
  box-shadow:
    0 32px 96px rgba(var(--accent-secondary-rgb), 0.2),
    0 0 0 1px rgba(var(--accent-secondary-rgb), 0.28);
}

.plan-device-pill,
.resource-hub-head .eyebrow,
.resource-card,
.bulk-feature-card,
.delivery-card-grid article {
  border-color: rgba(var(--accent-secondary-rgb), 0.22);
  background: rgba(var(--accent-secondary-rgb), 0.055);
}

.plan-device-pill {
  color: #ffe5a1;
  border-color: rgba(var(--accent-secondary-rgb), 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.16), transparent 5rem),
    rgba(var(--accent-secondary-rgb), 0.06);
}

.plan-card .button {
  min-height: 46px;
  border-color: rgba(var(--accent-secondary-rgb), 0.38);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.plan-card:hover .button,
.plan-card:focus-within .button {
  border-color: rgba(var(--accent-secondary-rgb), 0.58);
  box-shadow: 0 15px 34px rgba(var(--accent-secondary-rgb), 0.18);
  transform: translateY(-1px);
}

.pricing-arrow:disabled {
  opacity: 0.34;
  filter: saturate(0.7);
}

.farm-hero,
.farm-hero-phone,
.social-suite-shell,
.bulk-ops-shell,
.access-panel,
.auth-card,
.dashboard-shell,
.admin-shell {
  border-color: rgba(var(--accent-primary-rgb), 0.18);
}

.farm-hero-kicker,
.phone-live-dot,
.phone-device-list .is-live,
.phone-task,
.farm-hero-panel,
.account-license-ring {
  border-color: rgba(var(--accent-primary-rgb), 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.12), transparent 12rem),
    rgba(var(--accent-primary-rgb), 0.055);
}

.farm-hero-kicker,
.farm-hero-title span,
.phone-task strong,
.phone-live-dot,
.phone-device-list .is-live,
.admin-stat strong,
.metric-card strong {
  color: var(--blue);
}

.farm-hero-title mark,
.phone-live-dot,
.phone-device-list .is-live,
.phone-bottom-nav span:first-child,
.download-card .button,
.form-success-icon,
.auth-check.is-valid::before {
  color: var(--accent-ink);
  background: var(--accent-button-gradient);
  box-shadow: 0 0 18px rgba(var(--accent-primary-rgb), 0.44);
}

.phone-task.cyan,
.admin-badge.in_progress,
.admin-badge.reviewed {
  border-color: rgba(var(--accent-cyan-rgb), 0.32);
  background: rgba(var(--accent-cyan-rgb), 0.075);
}

.phone-task.cyan strong,
.proof-icon.cyan,
.stats-chart-tooltip .licenses,
.stats-legend-button.licenses i {
  color: var(--cyan);
}

.social-channel-card.is-active,
.social-demo,
.dashboard-card.is-selected,
.dashboard-widget-picker {
  border-color: rgba(var(--accent-primary-rgb), 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.12), transparent 15rem),
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(24, 22, 19, 0.9), rgba(7, 12, 18, 0.94));
}

.social-channel-card.threads,
.social-channel-card.is-soon,
.admin-badge.trial,
.admin-badge.beta,
.admin-badge.pending,
.admin-badge.new,
.admin-badge.open,
.stats-chart-tooltip .reports,
.stats-legend-button.reports i {
  color: var(--amber);
  border-color: rgba(var(--accent-secondary-rgb), 0.32);
  background: rgba(var(--accent-secondary-rgb), 0.075);
}

.social-channel-card.threads {
  background:
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb), 0.12), transparent 10rem),
    var(--accent-card-gradient),
    linear-gradient(180deg, rgba(28, 23, 15, 0.78), rgba(7, 12, 18, 0.9));
}

.bulk-ops-shell,
.resource-hub,
.pricing-logic .module-board article,
.operator-board article,
.stats-chart-panel {
  border-color: rgba(var(--accent-primary-rgb), 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.08), transparent 16rem),
    rgba(255, 255, 255, 0.035);
}

.bulk-delivery,
.resource-card:hover,
.resource-card:focus-visible,
.proof-grid article:hover,
.visual-card:hover {
  border-color: rgba(var(--accent-secondary-rgb), 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-secondary-rgb), 0.1), transparent 12rem),
    rgba(255, 255, 255, 0.05);
}

.operator-board-active,
.dashboard-card.is-selected,
.license-term-card {
  border-color: rgba(var(--accent-primary-rgb), 0.42) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-primary-rgb), 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.045) !important;
}

.operator-board-active span,
.operator-board-active h3,
.proof-icon.green,
.timeline-step.is-complete span,
.license-card h3,
.download-card h3,
.report-card h3 {
  color: var(--blue) !important;
}

.flash-success {
  border-color: rgba(var(--accent-primary-rgb), 0.34);
  background: rgba(var(--accent-primary-rgb), 0.08);
}

.flash-warning {
  border-color: rgba(var(--accent-secondary-rgb), 0.38);
  background: rgba(var(--accent-secondary-rgb), 0.08);
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(var(--accent-primary-rgb), 0.78);
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

.term-presets button:hover,
.date-picker-button:hover,
.date-picker-button:focus-visible,
.stats-custom-period input:focus,
.stats-range-tabs .button.is-active {
  border-color: rgba(var(--accent-primary-rgb), 0.58);
  background: rgba(var(--accent-primary-rgb), 0.1);
}

.stats-bar.registrations,
.stats-legend-button.registrations {
  --series-color: var(--blue);
}

.stats-bar.licenses,
.stats-legend-button.licenses {
  --series-color: var(--cyan);
}

.stats-bar.reports,
.stats-legend-button.reports {
  --series-color: var(--amber);
}

.meter-ring,
.account-license-ring {
  background:
    radial-gradient(circle, #0f1b2a 0 56%, transparent 57%),
    conic-gradient(var(--blue) var(--meter), rgba(255, 255, 255, 0.11) 0);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.98), #03050b 72%),
    #03050b;
}

.admin-top h1 {
  max-width: none;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.user-profile-summary {
  align-items: center;
}

.user-identity {
  min-width: 0;
}

.user-summary h2 {
  max-width: 100%;
  margin-bottom: 6px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: auto;
}

.user-summary p {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-inline-actions,
.table-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.table-actions {
  min-width: 170px;
}

.users-table {
  min-width: 1040px;
}

.users-table tr.is-expired td {
  background: rgba(255, 79, 109, 0.045);
}

.subscription-cell {
  min-width: 118px;
}

.license-expiry-cell {
  min-width: 128px;
}

.license-expiry-cell .license-date {
  margin-bottom: 0;
}

.license-date {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.muted-dash {
  color: var(--muted);
  font-weight: 900;
}

.danger-action {
  color: #ffdce3;
  border-color: rgba(255, 79, 109, 0.42);
  background: rgba(255, 79, 109, 0.1);
}

.danger-action:hover,
.danger-action:focus-visible {
  color: #fff;
  border-color: rgba(255, 79, 109, 0.82);
  background: rgba(255, 79, 109, 0.2);
}

.danger-action.is-locked,
.danger-action:disabled {
  cursor: not-allowed;
  color: rgba(255, 220, 227, 0.42);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transform: none;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 5, 10, 0.74);
  backdrop-filter: blur(10px);
}

.confirm-modal[hidden] {
  display: none !important;
}

.confirm-dialog {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  width: min(440px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 79, 109, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 79, 109, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(18, 28, 43, 0.98), rgba(8, 15, 26, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54);
}

.confirm-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 79, 109, 0.46);
  border-radius: 999px;
  color: #ffdce3;
  background: rgba(255, 79, 109, 0.13);
  font-weight: 950;
}

.confirm-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.confirm-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.report-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-stat-grid article {
  min-height: 112px;
}

.support-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.6fr);
  gap: 14px;
  align-items: start;
}

.support-ticket-list,
.support-conversation {
  min-height: 560px;
}

.support-ticket-stack {
  display: grid;
  gap: 10px;
  max-height: 690px;
  overflow: auto;
  padding-right: 4px;
}

.support-ticket-card {
  display: grid;
  gap: 7px;
  padding: 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.support-ticket-card.active {
  border-color: rgba(49, 233, 129, 0.55);
  background: linear-gradient(135deg, rgba(49, 233, 129, 0.12), rgba(35, 210, 235, 0.05));
}

.support-ticket-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.support-ticket-card span,
.support-conversation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-ticket-card strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.support-ticket-card small,
.support-ticket-card p,
.support-conversation-head p,
.support-message small,
.support-attachments {
  color: var(--muted);
}

.support-ticket-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.support-conversation-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.support-conversation-head h2 {
  margin: 4px 0 6px;
  overflow-wrap: anywhere;
  font-size: 24px;
}

.support-status-form {
  align-items: center;
  flex-wrap: nowrap;
}

.support-status-form select {
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font: 800 13px/1 inherit;
}

.support-message-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.support-message {
  display: grid;
  gap: 9px;
  max-width: 82%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.support-message.admin {
  justify-self: end;
  border-color: rgba(49, 233, 129, 0.35);
  background: rgba(49, 233, 129, 0.08);
}

.support-message.user {
  justify-self: start;
}

.support-message div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.support-message p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.support-attachments a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-primary-rgb), 0.35);
}

.support-attachments a:hover {
  color: var(--accent-strong);
  border-bottom-color: currentColor;
}

.support-reply-form {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.traffic-stat-grid article strong {
  font-size: 34px;
}

.traffic-stat-grid article small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.movement-alert-grid strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .report-list-grid {
    grid-template-columns: 1fr;
  }

  .support-workspace {
    grid-template-columns: 1fr;
  }

  .support-message {
    max-width: 100%;
  }

  .user-profile-summary {
    align-items: flex-start;
  }
}


.dashboard-control-panel {
  position: relative;
  overflow: visible;
  margin-bottom: 14px;
}

.dashboard-panel-head {
  align-items: flex-start;
}

.dashboard-panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-range-actions {
  justify-content: flex-end;
}

.dashboard-range-tabs {
  justify-content: flex-end;
}

.dashboard-widget-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.dashboard-widget-picker[hidden],
[data-dashboard-widget][hidden],
.dashboard-empty[hidden] {
  display: none !important;
}

.dashboard-widget-picker label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-widget-picker input {
  width: auto;
  min-height: auto;
  accent-color: var(--green);
}

.dashboard-widget-picker .text-button {
  justify-self: start;
  align-self: center;
}

.button.is-active {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.stats-chart-panel {
  position: relative;
  overflow: visible;
}

.stats-panel-head {
  align-items: flex-start;
}

.stats-panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stats-range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stats-range-tabs a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 900;
}

.stats-range-tabs a:hover,
.stats-range-tabs a.active {
  color: #021008;
  border-color: var(--green);
  background: var(--green);
}

.stats-custom-period {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  position: absolute;
  z-index: 20;
  top: 72px;
  right: 18px;
  width: min(600px, calc(100% - 36px));
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(154, 184, 219, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.1), transparent 13rem),
    rgba(17, 27, 42, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.stats-custom-period[hidden] {
  display: none !important;
}

.stats-custom-period label {
  display: grid;
  gap: 6px;
  min-width: 170px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-custom-period input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  font: 750 13px/1.3 inherit;
}

.stats-custom-period .button {
  min-height: 38px;
}

.stats-chart-shell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-height: 330px;
  padding: 16px 14px 10px;
  border: 1px solid rgba(154, 184, 219, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(49, 233, 129, 0.1), transparent 18rem),
    rgba(3, 10, 18, 0.36);
}

.stats-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.stats-chart-scroll {
  overflow: visible;
  padding-bottom: 0;
}

.stats-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(3px, 0.7vw, 10px);
  height: 284px;
  width: 100%;
  padding: 8px 4px 2px;
  border-bottom: 0;
  background: repeating-linear-gradient(
    to top,
    rgba(154, 184, 219, 0.14) 0,
    rgba(154, 184, 219, 0.14) 1px,
    transparent 1px,
    transparent 70px
  );
}

.stats-date-axis {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: clamp(3px, 0.7vw, 10px);
  padding: 7px 4px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.stats-date-axis span {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.stats-chart-column {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-items: end;
  justify-items: center;
  gap: 6px;
  height: 100%;
  min-width: 0;
}

.stats-chart-bar {
  align-self: end;
  display: flex;
  flex-direction: column-reverse;
  width: min(100%, 42px);
  max-width: 42px;
  height: var(--height);
  min-height: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, filter 160ms ease;
}

.stats-chart-bar.is-empty {
  height: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.stats-chart-column:hover .stats-chart-bar {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.stats-chart-tooltip {
  position: absolute;
  left: calc(50% + 26px);
  bottom: 48%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: 174px;
  padding: 12px;
  color: var(--text);
  border: 1px solid rgba(154, 184, 219, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 233, 129, 0.14), transparent 7rem),
    rgba(9, 17, 29, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, 50%);
  transition: opacity 150ms ease, transform 150ms ease;
}

.stats-chart-tooltip::after {
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(154, 184, 219, 0.28);
  border-bottom: 1px solid rgba(154, 184, 219, 0.28);
  background: rgba(9, 17, 29, 0.98);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.stats-chart-column.tooltip-right .stats-chart-tooltip,
.stats-chart-column:first-child .stats-chart-tooltip {
  left: calc(50% + 20px);
  right: auto;
  transform: translate(8px, 50%);
}

.stats-chart-column.tooltip-right .stats-chart-tooltip::after,
.stats-chart-column:first-child .stats-chart-tooltip::after {
  left: -6px;
  right: auto;
  border-left: 1px solid rgba(154, 184, 219, 0.28);
  border-bottom: 1px solid rgba(154, 184, 219, 0.28);
  border-right: 0;
  border-top: 0;
  transform: translateY(-50%) rotate(45deg);
}

.stats-chart-column.tooltip-left .stats-chart-tooltip,
.stats-chart-column:last-child .stats-chart-tooltip {
  right: calc(50% + 20px);
  left: auto;
  transform: translate(-8px, 50%);
}

.stats-chart-column.tooltip-left .stats-chart-tooltip::after,
.stats-chart-column:last-child .stats-chart-tooltip::after {
  right: -6px;
  left: auto;
  top: 50%;
  border-right: 1px solid rgba(154, 184, 219, 0.28);
  border-bottom: 0;
  border-left: 0;
  border-top: 1px solid rgba(154, 184, 219, 0.28);
  transform: translateY(-50%) rotate(45deg);
}

.stats-chart-column:hover .stats-chart-tooltip,
.stats-chart-column:focus-within .stats-chart-tooltip {
  opacity: 1;
  transform: translate(14px, 50%);
}

.stats-chart-column.tooltip-right:hover .stats-chart-tooltip,
.stats-chart-column.tooltip-right:focus-within .stats-chart-tooltip,
.stats-chart-column:first-child:hover .stats-chart-tooltip,
.stats-chart-column:first-child:focus-within .stats-chart-tooltip {
  transform: translate(14px, 50%);
}

.stats-chart-column.tooltip-left:hover .stats-chart-tooltip,
.stats-chart-column.tooltip-left:focus-within .stats-chart-tooltip,
.stats-chart-column:last-child:hover .stats-chart-tooltip,
.stats-chart-column:last-child:focus-within .stats-chart-tooltip {
  transform: translate(-14px, 50%);
}

.stats-chart-tooltip strong {
  font-size: 12px;
  font-weight: 950;
}

.stats-chart-tooltip span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stats-chart-tooltip i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.stats-chart-tooltip b {
  color: var(--text);
  font-weight: 950;
}

.stats-segment {
  display: block;
  height: var(--segment);
}

.stats-segment[hidden],
.stats-chart-tooltip [hidden] {
  display: none !important;
}

.stats-segment.registrations,
.stats-legend i.registrations,
.stats-chart-tooltip .registrations { background: var(--green); }
.stats-segment.licenses,
.stats-legend i.licenses,
.stats-chart-tooltip .licenses { background: var(--cyan); }
.stats-segment.reports,
.stats-legend i.reports,
.stats-chart-tooltip .reports { background: var(--amber); }

.stats-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stats-legend-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid color-mix(in srgb, var(--series-color) 34%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font: 900 12px/1 inherit;
  transition: color 150ms ease, opacity 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.stats-legend-button:hover,
.stats-legend-button:focus-visible {
  color: #021008;
  border-color: var(--series-color);
  background: var(--series-color);
  transform: translateY(-1px);
}

.stats-legend-button[aria-pressed="false"] {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

.stats-legend-button.registrations { --series-color: var(--green); }
.stats-legend-button.licenses { --series-color: var(--cyan); }
.stats-legend-button.reports { --series-color: var(--amber); }

.stats-legend i,
.stats-legend-button i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.stat-status-list p span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(5, 7, 8, 0.98), #050605 72%),
    #050605;
}

.site-footer-inner {
  width: min(1132px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.footer-brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #3a2104;
  border: 1px solid var(--brand-gold-mark-border);
  border-radius: 999px;
  background: var(--brand-gold-mark-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 0 4px rgba(255, 161, 31, 0.1);
  font-size: 11px;
  font-weight: 950;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 18px;
  color: #c7d1df;
  font-size: 15px;
  font-weight: 700;
}

.footer-links a {
  transition: color 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-note {
  max-width: 790px;
  margin: 0 0 34px;
  color: #858e9d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7e8794;
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .dashboard-widget-picker {
    grid-template-columns: 1fr;
  }

  .stats-panel-head {
    gap: 12px;
  }

  .stats-range-tabs {
    justify-content: flex-start;
  }

  .stats-custom-period {
    position: static;
    width: 100%;
    margin: -4px 0 16px;
    align-items: stretch;
  }

  .stats-custom-period label,
  .stats-custom-period .button {
    width: 100%;
  }

  .stats-chart-shell {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 12px 10px 8px;
  }

  .stats-chart {
    gap: 8px;
  }

  .site-footer-inner {
    width: min(100% - 32px, 1132px);
    padding: 42px 0 30px;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

.account-password-form .button:disabled,
.account-security-actions .button:disabled {
  color: rgba(246, 249, 255, 0.48);
  border-color: rgba(var(--accent-primary-rgb), 0.18);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

@media (max-width: 980px) {
  .account-security-grid,
  .account-security-roadmap,
  .account-session-split,
  .account-recommendation-layout {
    grid-template-columns: 1fr;
  }

  .account-security-wide {
    grid-column: auto;
  }

  .account-recommendation-wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .account-under-dev {
    min-height: auto;
    padding: 20px;
  }

  .account-dev-copy h2 {
    font-size: 40px;
  }

  .account-dev-visual {
    min-height: 220px;
    border-radius: 18px;
  }

  .account-security-hero {
    flex-direction: column;
    padding: 22px;
  }

  .account-security-hero h2 {
    font-size: 34px;
    line-height: 1;
  }

  .account-security-score {
    width: 100%;
    justify-items: start;
  }

  .account-security-card {
    padding: 16px;
  }

  .account-password-form .admin-form-grid,
  .account-password-checks,
  .account-security-facts,
  .account-profile-layout,
  .account-2fa-preview,
  .account-session-meta {
    grid-template-columns: 1fr;
  }

  .account-avatar-preview {
    width: 112px;
  }

  .account-profile-form .button {
    width: 100%;
  }

  .account-2fa-preview {
    align-items: start;
  }

  .account-support-hero {
    flex-direction: column;
  }

  .support-type-switch {
    grid-template-columns: 1fr;
  }

  .account-qr-grid {
    width: 96px;
  }

  .account-session-board-head {
    flex-direction: column;
  }

  .account-session-row-main {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .account-session-row-main em {
    grid-column: 2;
    width: fit-content;
  }

  .account-session-list article > div {
    align-items: flex-start;
  }
}

@media (min-width: 621px) {
  .account-app-shell {
    display: block;
    padding-left: 264px;
  }

  .account-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 264px;
    height: 100vh;
    z-index: 40;
  }

  .account-workspace {
    min-height: 100vh;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  .account-app-shell {
    padding-left: 220px;
  }

  .account-sidebar {
    width: 220px;
  }
}

@media (max-width: 620px) {
  .account-security-subnav {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .account-security-subnav::-webkit-scrollbar {
    display: none;
  }

  .account-security-subnav button {
    flex: 0 0 auto;
  }

  .security-action-list,
  .security-type-grid,
  .security-ip-list {
    grid-template-columns: 1fr;
  }
}

/* ===== Home v2: language switch · trust grid · FAQ (2026-06) ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.lang-switch a.is-active {
  color: #150d00;
  background: linear-gradient(180deg, #ffd765, #ffae33);
}

.lang-switch a:not(.is-active):hover { color: var(--text); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 36px auto 0;
}

.trust-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.1), transparent 12rem),
    rgba(255, 255, 255, 0.045);
}

.trust-card h3 { margin: 0; font-size: 18px; }
.trust-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.trust-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 189, 74, 0.48);
  border-radius: 11px;
  background: rgba(255, 189, 74, 0.08);
}

.trust-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffd765, #ffae33);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.08), transparent 11rem),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 189, 74, 0.5);
  border-radius: 8px;
  color: #ffd765;
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item > p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .trust-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
}

/* ===== Home v2: bento redesign (2026-06) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: row dense;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.bento-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 74, 0.09), transparent 13rem),
    rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease;
}

.bento-tile:hover { transform: translateY(-3px); border-color: rgba(255, 189, 74, 0.4); }
.bento-tile h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.bento-tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.bento-hero { grid-column: span 2; grid-row: span 2; }
.bento-live { grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-hero .bento-tile-body { display: grid; gap: 10px; }
.bento-hero h3 { font-size: clamp(22px, 2.4vw, 30px); }
.bento-hero p { font-size: 15px; max-width: 460px; }

.bento-devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}

.bento-devices span {
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-devices .is-live { background: linear-gradient(180deg, #ffd765, #ffae33); border-color: transparent; }
.bento-devices .is-warm { background: rgba(255, 189, 74, 0.32); border-color: rgba(255, 189, 74, 0.4); }

.bento-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 189, 74, 0.45);
  background: rgba(255, 189, 74, 0.08);
  color: #ffd27a;
  font-size: 20px;
  font-weight: 800;
}

.bento-live {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 189, 74, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bento-hero { grid-column: span 2; grid-row: auto; }
  .bento-live { grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .bento-tile { min-height: 168px; }
}

@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-hero, .bento-wide { grid-column: auto; }
}

/* showcase */
.showcase-shell {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 44px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.showcase-copy h2 { margin-bottom: 16px; }
.showcase-copy > p { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; }

.showcase-points { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.showcase-points li { position: relative; padding-left: 28px; color: var(--text); font-weight: 650; font-size: 15px; }
.showcase-points li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffd765, #ffae33);
}
.showcase-points li::after {
  content: "";
  position: absolute; left: 6px; top: 5px;
  width: 4px; height: 8px;
  border: solid #150d00; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.showcase-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #0a1421;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.showcase-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .showcase-shell { grid-template-columns: 1fr; gap: 30px; }
}

/* compare */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.compare-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.compare-win {
  border-color: rgba(255, 189, 74, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 189, 74, 0.13), transparent 17rem),
    rgba(255, 255, 255, 0.05);
}

.compare-card header { margin-bottom: 8px; }
.compare-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.compare-win .compare-badge { color: #150d00; background: linear-gradient(180deg, #ffd765, #ffae33); }
.compare-lose .compare-badge { color: var(--muted); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); }

.compare-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; }
.compare-card li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.45; }
.compare-win li { color: var(--text); }
.compare-lose li { color: var(--muted); }
.compare-win li::before { content: "\2713"; position: absolute; left: 0; top: -1px; color: #ffd27a; font-weight: 900; font-size: 15px; }
.compare-lose li::before { content: "\2715"; position: absolute; left: 0; top: -1px; color: var(--red); font-weight: 900; font-size: 14px; }

.compare-note { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--soft); font-size: 12px; line-height: 1.5; }

@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* scale band */
.scale-band {
  margin-top: 8px;
  padding: 48px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 189, 74, 0.06), transparent 70%);
}

.scale-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.scale-inner strong { display: block; font-size: clamp(30px, 4vw, 50px); line-height: 1; color: #ffd27a; }
.scale-inner span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

@media (max-width: 680px) {
  .scale-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ===== News / blog (2026-06) ===== */
.news-main { width: min(1280px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 30px 0 90px; }

.news-hero { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.news-hero h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 16px; }
.news-hero-sub { color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; }

.news-tags-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.news-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--muted); font-size: 13px; font-weight: 750;
}
.news-chip:hover { color: var(--text); border-color: var(--line-strong); }
.news-chip.is-active { color: #150d00; background: linear-gradient(180deg, #ffd765, #ffae33); border-color: transparent; }

.news-grid, .news-teaser-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  max-width: 1180px; margin: 0 auto;
}
.news-card-link {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease;
}
.news-card-link:hover { transform: translateY(-4px); border-color: rgba(255, 189, 74, 0.4); }
.news-card-cover { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: #0a1421; }
.news-card-cover-fallback { background: radial-gradient(circle at 30% 20%, rgba(255, 189, 74, 0.22), transparent 60%), linear-gradient(135deg, #0c1726, #0a1421); }
.news-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.news-card-meta { color: var(--soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.news-card-title { font-size: 19px; line-height: 1.25; color: var(--text); }
.news-card-excerpt { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.news-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.news-tag { color: #ffd27a; font-size: 12px; font-weight: 750; }
a.news-tag:hover { text-decoration: underline; }
.news-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.news-teaser-more { text-align: center; margin-top: 30px; }

.post-article { max-width: 760px; margin: 0 auto; }
.post-breadcrumb a { color: var(--muted); font-weight: 700; font-size: 14px; }
.post-breadcrumb a:hover { color: var(--text); }
.post-meta { color: var(--soft); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 18px 0 8px; }
.post-title { font-size: clamp(25px, 2.9vw, 38px); line-height: 1.16; margin-bottom: 14px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.post-cover { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.post-cover img { display: block; width: 100%; height: auto; }
.post-body { color: var(--text); font-size: 17px; line-height: 1.7; }
.post-body p { margin: 0 0 18px; color: #d7e0ee; }
.post-body h2 { font-size: clamp(24px, 3vw, 34px); margin: 34px 0 14px; }
.post-body h3 { font-size: 21px; margin: 26px 0 10px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; color: #d7e0ee; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: #ffd27a; text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 18px 0; }
.post-body blockquote { margin: 18px 0; padding: 14px 20px; border-left: 3px solid rgba(255, 189, 74, 0.6); background: rgba(255, 255, 255, 0.04); border-radius: 0 12px 12px 0; color: var(--muted); }
.post-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 46px; padding: 28px; border: 1px solid rgba(255, 189, 74, 0.4); border-radius: 18px;
  background: radial-gradient(circle at 0% 0%, rgba(255, 189, 74, 0.12), transparent 16rem), rgba(255, 255, 255, 0.04);
}
.post-cta h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }

@media (max-width: 900px) {
  .news-grid, .news-teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .news-grid, .news-teaser-grid { grid-template-columns: 1fr; }
  .news-main { padding-top: 18px; }
}

/* ===== News magazine layout (2026-06) ===== */
.tag-pill {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 8px;
  background: rgba(255, 189, 74, 0.1); border: 1px solid rgba(255, 189, 74, 0.32);
  color: #ffd27a; font-size: 11px; font-weight: 800; letter-spacing: 0.01em;
}
a.tag-pill:hover { background: rgba(255, 189, 74, 0.18); }
.read-more { color: #ffd27a; font-weight: 800; font-size: 14px; white-space: nowrap; }
.read-more:hover { text-decoration: underline; }

/* release banner */
.news-release {
  max-width: none; margin: 0 0 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 15px 24px; border: 1px solid rgba(255, 189, 74, 0.4); border-radius: 16px;
  background: radial-gradient(circle at 0% 0%, rgba(255, 189, 74, 0.14), transparent 18rem), rgba(255, 255, 255, 0.04);
}
.news-release-body { flex: 1; min-width: 240px; }
.news-release-kicker { display: flex; align-items: center; gap: 8px; color: #ffd27a; font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.news-release-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffc64a; box-shadow: 0 0 12px rgba(255, 198, 74, 0.8); }
.news-release-title { font-size: 18px; font-weight: 850; margin: 6px 0 2px; }
.news-release-sub { color: var(--muted); font-size: 13px; margin: 0; }
.news-release .button { flex: none; }

/* featured */
.news-featured { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto 30px; }

.news-hero-card {
  position: relative; min-height: 440px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 189, 74, 0.45); display: flex; flex-direction: column; justify-content: flex-end;
}
.news-hero-card .nh-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.news-hero-card .nh-cover-fallback { background: radial-gradient(circle at 70% 30%, rgba(255, 189, 74, 0.25), transparent 55%), linear-gradient(135deg, #0c1726, #060d16); }
.news-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 5, 10, 0.94) 0%, rgba(2, 5, 10, 0.72) 42%, rgba(2, 5, 10, 0.12) 100%); }
.news-hero-card .nh-inner { position: relative; z-index: 1; padding: 34px; max-width: 580px; }
.nh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #ffd765, #ffae33); color: #150d00; font-size: 11px; font-weight: 900; letter-spacing: 0.03em; }
.nh-date { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 22px 0 10px; }
.nh-title { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.05; margin: 0 0 14px; }
.nh-excerpt { color: #cdd7e6; font-size: 16px; line-height: 1.5; margin: 0 0 20px; max-width: 480px; }
.nh-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nh-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.news-side { display: grid; grid-auto-rows: 1fr; gap: 18px; }
.news-side-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); display: flex; min-height: 205px; transition: transform 180ms ease, border-color 180ms ease; }
.news-side-card:hover { transform: translateY(-3px); border-color: rgba(255, 189, 74, 0.4); }
.news-side-card .ns-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-side-card .ns-cover { width: 40%; flex: none; background-size: cover; background-position: center; background-color: #0a1421; }
.news-side-card .ns-cover-fallback { background: radial-gradient(circle at 50% 30%, rgba(255, 189, 74, 0.22), transparent 60%), linear-gradient(135deg, #0c1726, #0a1421); }
.ns-date { color: var(--soft); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.ns-title { font-size: 17px; line-height: 1.22; color: var(--text); }
.ns-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }

/* grid card foot (Читать статью) */
.news-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.news-card .tag-pill, .news-card-tags .tag-pill { font-size: 11px; }

@media (max-width: 920px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-hero-card { min-height: 360px; }
  .news-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .news-side { grid-template-columns: 1fr; }
  .news-hero-card .nh-inner { padding: 24px; }
  .news-release { flex-direction: column; align-items: flex-start; }
}

/* ===== News polish pass: depth, glow, motion (modern) ===== */
.news-hero-card {
  box-shadow: 0 0 0 1px rgba(255, 189, 74, 0.30), 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(255, 170, 40, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255, 189, 74, 0.6), 0 42px 104px rgba(0, 0, 0, 0.66), 0 0 96px rgba(255, 170, 40, 0.18);
}
.news-hero-card .nh-cover { transition: transform 0.5s ease; }
.news-hero-card:hover .nh-cover { transform: scale(1.05); }
.nh-title .g { color: #ffd27a; }

.news-card-link, .news-side-card { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42); }
.news-card-link:hover, .news-side-card:hover { box-shadow: 0 28px 72px rgba(0, 0, 0, 0.52), 0 0 52px rgba(255, 170, 40, 0.10); }
.news-card-cover, .ns-cover { transition: transform 0.5s ease; }
.news-card-link:hover .news-card-cover { transform: scale(1.06); }
.news-side-card:hover .ns-cover { transform: scale(1.05); }

/* лёгкая глубина на обложках карточек */
.news-card-cover { position: relative; }
.news-card-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 5, 10, 0.5) 100%);
}

.news-tags-bar { gap: 10px; padding: 6px; }
.news-chip { backdrop-filter: blur(6px); transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease, background 0.16s ease; }
.news-chip:hover { transform: translateY(-1px); }
.news-chip.is-active { box-shadow: 0 10px 26px rgba(255, 170, 40, 0.30); }

.news-release { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 170, 40, 0.08); }
.tag-pill { transition: background 0.16s ease, border-color 0.16s ease; }

/* ===== Overlay banner cards: image background + text on top ===== */
.ncard {
  position: relative; display: block; min-height: 244px; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center; background-color: #0a1320;
  border: 1px solid rgba(255, 189, 74, 0.38); isolation: isolate;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 189, 74, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ncard:hover { transform: translateY(-4px); border-color: rgba(255, 189, 74, 0.45); box-shadow: 0 30px 76px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 170, 40, 0.14); }
.ncard-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(2, 5, 10, 0.05) 0%, rgba(2, 5, 10, 0.5) 50%, rgba(2, 5, 10, 0.95) 100%); }
.ncard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 7px; }
.ncard-meta { color: #ffffff; font-size: 11px; font-weight: 850; letter-spacing: 0.03em; text-transform: uppercase; }
.ncard-title { color: #ffffff; font-size: 16px; line-height: 1.22; margin: 0; }
.ncard-ex { color: #dbe4f0; font-size: 13px; line-height: 1.5; }
.ncard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
.ncard-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* side variant (короткие баннеры справа от главной) — высота тянется под главную */
.ncard-side { min-height: 0; height: 100%; }
.ncard-side .ncard-title { font-size: 15px; }

/* hero variant (главная новость) — текст слева, шире */
.ncard-hero { min-height: 460px; }
.ncard-hero .ncard-shade { background: linear-gradient(90deg, rgba(2, 5, 10, 0.95) 0%, rgba(2, 5, 10, 0.74) 42%, rgba(2, 5, 10, 0.12) 100%); }
.ncard-hero .ncard-body { max-width: 580px; padding: 34px; gap: 12px; }
.ncard-hero .ncard-title { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.05; }
.ncard-hero .ncard-title .g { color: #ffd27a; }
.ncard-hero .ncard-ex { font-size: 16px; max-width: 480px; }
.ncard-hero:hover { transform: translateY(-3px); }

/* кнопка «Читать статью» */
.btn-read {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 16px;
  border-radius: 9px; border: 1px solid rgba(255, 189, 74, 0.6); color: #ffffff;
  font-size: 13px; font-weight: 800; white-space: nowrap;
  background: rgba(255, 189, 74, 0.06); transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn-read::after { content: "\2192"; color: #ffd27a; font-weight: 900; font-size: 15px; }
.btn-read:hover { background: rgba(255, 189, 74, 0.14); border-color: rgba(255, 189, 74, 0.9); transform: translateY(-1px); }

.ncard-hero .nh-badge { position: absolute; top: 28px; left: 34px; z-index: 2; }

/* ярче шрифт у блёклых мест */
.nh-date, .ns-date, .news-card-meta, .post-meta { color: #aab8cc; }
.news-card-excerpt, .ns-title, .nh-excerpt { color: #dbe4f0; }

/* =================================================================
   News magazine layout v2 — точно под референс
   featured: текст слева / картинка справа, кнопка в правом нижнем углу
   side: текст слева / картинка справа (сплит)
   grid: картинка сверху / текст снизу
   ================================================================= */
.news-featured { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; max-width: none; margin: 0 0 24px; }

/* --- главная новость --- */
.feat-card {
  position: relative; display: block; min-height: 372px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 189, 74, 0.42); background: #0a1320;
  box-shadow: 0 0 0 1px rgba(255, 189, 74, 0.16), 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 170, 40, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 189, 74, 0.55), 0 44px 108px rgba(0, 0, 0, 0.66), 0 0 104px rgba(255, 170, 40, 0.18); }
.feat-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.feat-card:hover .feat-img { transform: scale(1.04); }
.feat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 9, 16, 0.96) 0%, rgba(5, 11, 19, 0.9) 36%, rgba(6, 13, 22, 0.55) 64%, rgba(6, 13, 22, 0.08) 100%); }
.feat-body { position: relative; z-index: 1; height: 100%; min-height: 372px; padding: 26px 30px 72px; max-width: 560px; display: flex; flex-direction: column; }
.feat-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: linear-gradient(180deg, #ffd765, #ffae33); color: #150d00; font-size: 10.5px; font-weight: 900; letter-spacing: 0.03em; }
.feat-main { margin-top: auto; display: flex; flex-direction: column; }
.feat-date { display: block; color: #ffffff; font-size: 11px; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
.feat-title { display: block; color: #fff; font-size: clamp(22px, 1.95vw, 29px); line-height: 1.1; margin: 0 0 11px; }
.feat-title .g { color: #ffd27a; }
.feat-ex { display: block; color: #cdd7e6; font-size: 14px; line-height: 1.5; margin: 0; max-width: 440px; }
.feat-foot { position: absolute; left: 34px; right: 34px; bottom: 26px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feat-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* --- боковые карточки (сплит) --- */
.news-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; height: 100%; align-content: stretch; }
.side-card { display: flex; min-height: 230px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.10); background: #0b1622; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease, border-color 0.2s ease; }
.side-card:hover { transform: translateY(-3px); border-color: rgba(255, 189, 74, 0.45); }
.side-body { flex: 1; padding: 20px; display: flex; flex-direction: column; }
.side-date { color: #ffffff; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.04em; }
.side-title { color: #fff; font-size: 16px; line-height: 1.26; margin: 9px 0 0; }
.side-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.side-img { width: 42%; flex: none; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.side-card:hover .side-img { transform: scale(1.05); }

/* --- сетка: картинка сверху, текст снизу --- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; margin: 0; }
.post-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.10); background: #0b1622; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease, border-color 0.2s ease; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(255, 189, 74, 0.45); }
.pc-imgwrap { overflow: hidden; display: block; }
.pc-img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.post-card:hover .pc-img { transform: scale(1.06); }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pc-date { color: #ffffff; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.04em; }
.pc-title { color: #fff; font-size: 16px; line-height: 1.24; margin: 0; }
.pc-ex { color: #c2cde0; font-size: 13px; line-height: 1.5; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.pc-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-read { display: inline-flex; align-items: center; gap: 6px; color: #ffd27a; font-size: 13px; font-weight: 850; white-space: nowrap; transition: gap 0.16s ease; }
.pc-read::after { content: "\2192"; font-weight: 900; font-size: 15px; }
.post-card:hover .pc-read { gap: 9px; }

@media (max-width: 920px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-side { grid-template-columns: 1fr; }
  .feat-body { max-width: none; }
}

/* ════════ News v2: img-обложки, крошки, поиск, пагинация, TOC, шеры, related ════════ */
html { scroll-behavior: smooth; }

/* <img>-обложки вместо background-image (lazy + alt + srcset/webp) */
.ncard-img { position: absolute; inset: 0; overflow: hidden; }
.ncard-img picture { display: block; width: 100%; height: 100%; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ncard:hover .ncard-img img { transform: scale(1.05); }
.ncard-shade { z-index: auto; }
.ncard-body { z-index: auto; }
/* stretched-link: вся карточка кликабельна, теги — отдельные ссылки поверх */
.ncard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ncard .ncard-tags .tag-pill { position: relative; z-index: 2; }
.feat-card { isolation: isolate; }
.feat-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.feat-card .feat-tags .tag-pill { position: relative; z-index: 3; }
.feat-img { overflow: hidden; }
.feat-img picture { display: block; width: 100%; height: 100%; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Хлебные крошки */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.breadcrumbs a { color: var(--muted); transition: color 0.16s ease; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current="page"] { color: var(--text); }
.bc-sep { opacity: 0.45; }

/* Поиск */
.news-search { display: flex; gap: 8px; margin-top: 18px; max-width: 460px; }
.news-search input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-strong, rgba(255,255,255,0.16)); background: rgba(255,255,255,0.04); color: var(--text); font-size: 14px; }
.news-search input::placeholder { color: var(--muted); }
.news-search input:focus { outline: none; border-color: rgba(255,189,74,0.6); }
.news-search button { padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; background: linear-gradient(180deg,#ffd765,#ffae33); color: #150d00; font-weight: 800; cursor: pointer; }
.news-search button:hover { filter: brightness(1.05); }
.news-searchinfo { color: var(--muted); margin: 6px 0 18px; }
.news-searchinfo a { color: #ffd27a; }

/* Пагинация */
.news-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 38px; }
.news-pager-btn { padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong, rgba(255,255,255,0.16)); color: var(--text); font-weight: 700; transition: border-color 0.16s ease, transform 0.16s ease; }
.news-pager-btn:hover { border-color: rgba(255,189,74,0.6); transform: translateY(-1px); }
.news-pager-info { color: var(--muted); font-size: 14px; }

/* Прогресс чтения */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#ffd765,#ffae33); box-shadow: 0 0 12px rgba(255,170,40,0.6); transition: width 0.1s linear; }

/* Мета поста */
.post-readtime, .post-updated { color: var(--muted); }
.post-dot { color: var(--muted); margin: 0 8px; opacity: 0.55; }

/* Оглавление */
.post-toc { border: 1px solid var(--line, rgba(255,255,255,0.1)); border-left: 3px solid #ffae33; border-radius: 10px; background: rgba(255,255,255,0.03); padding: 16px 20px; margin: 0 0 26px; }
.post-toc-title { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #ffd27a; margin: 0 0 10px; }
.post-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.post-toc a { color: var(--text); }
.post-toc a:hover { color: #ffd27a; }
.post-body h2 { scroll-margin-top: 24px; }

/* Поделиться */
.post-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 32px 0; padding: 18px 0; border-top: 1px solid var(--line, rgba(255,255,255,0.1)); border-bottom: 1px solid var(--line, rgba(255,255,255,0.1)); }
.post-share-label { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; border-radius: 12px; padding: 0;
  border: 1px solid var(--line-strong, rgba(255,255,255,0.16)); background: rgba(255,255,255,0.03);
  color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.share-btn svg { width: 19px; height: 19px; display: block; }
.share-btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.share-btn.s-tg:hover   { background: #2aabee; }
.share-btn.s-wa:hover   { background: #25d366; }
.share-btn.s-vk:hover   { background: #0077ff; }
.share-btn.s-ok:hover   { background: #ee8208; }
.share-btn.s-x:hover    { background: #000; border-color: rgba(255,255,255,0.35); }
.share-btn.s-fb:hover   { background: #1877f2; }
.share-btn.s-mail:hover { background: #7c8aa0; }
.share-btn.s-copy { width: auto; padding: 0 16px; }
.share-btn.s-copy:hover { background: linear-gradient(180deg, #ffd765, #ffae33); color: #150d00; }

/* ── Editorial-шапка статьи: рубрика + мета с иконками + теги-чипы ── */
.post-head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1)); }
.post-head .post-title { margin-bottom: 0; }
.post-cat { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #ffd765, #ffae33); color: #150d00; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; box-shadow: 0 8px 22px rgba(255, 170, 40, 0.25); transition: filter 0.16s ease, transform 0.16s ease; }
.post-cat:hover { filter: brightness(1.05); transform: translateY(-1px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 18px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.post-meta-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; position: relative; }
.post-meta-item:first-child { padding-left: 0; }
.post-meta-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background: rgba(255, 255, 255, 0.16); }
.post-meta-item svg { width: 15px; height: 15px; color: #ffd27a; flex: none; }
.post-meta-item time { color: inherit; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.post-tag { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.14)); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 13px; font-weight: 600; transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease; }
.post-tag:hover { border-color: rgba(255, 189, 74, 0.6); color: #ffd27a; transform: translateY(-1px); }

/* Блок тегов внизу статьи */
.post-tags-block { margin: 34px 0 6px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.post-tags-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #9aa4b0); margin-bottom: 12px; }
.post-tags-block .post-tags { margin: 0; }

/* FAQ (частые вопросы) */
.post-faq { margin: 40px 0 6px; }
.post-faq-title { font-size: 22px; margin: 0 0 16px; }
.post-faq-list { display: flex; flex-direction: column; gap: 10px; }
.post-faq-item { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(255, 255, 255, 0.03); padding: 2px 16px; }
.post-faq-item summary { cursor: pointer; list-style: none; padding: 14px 0; font-size: 16px; font-weight: 700; color: var(--text); position: relative; padding-right: 28px; }
.post-faq-item summary::-webkit-details-marker { display: none; }
.post-faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: #ffd27a; transition: transform 0.18s ease; }
.post-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.post-faq-item p { margin: 0 0 16px; color: var(--muted, #c3ccd6); font-size: 15px; line-height: 1.6; }

/* Похожие посты */
.post-related { margin: 42px 0 10px; }
.post-related-title { font-size: 22px; margin: 0 0 18px; }
.post-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.post-related-grid .ncard { min-height: 200px; }
@media (max-width: 860px) { .post-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-related-grid { grid-template-columns: 1fr; } .news-search { max-width: none; } }

/* ════════ Пост: 2-колоночный макет с сайдбаром-навигацией ════════ */
.post-layout { display: grid; grid-template-columns: minmax(0, 820px) 340px; gap: 40px; justify-content: space-between; align-items: start; }
.post-layout .post-article { max-width: none; margin: 0; }
.post-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.aside-block { border: 1px solid var(--line, rgba(255,255,255,0.1)); border-radius: 16px; background: rgba(255,255,255,0.025); padding: 18px 18px 20px; }
.aside-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #ffd27a; margin: 0 0 14px; }
.aside-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aside-cats a { display: inline-block; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong, rgba(255,255,255,0.14)); color: var(--text); font-size: 13px; font-weight: 600; transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease; }
.aside-cats a:hover { border-color: rgba(255,189,74,0.6); color: #ffd27a; transform: translateY(-1px); }
.aside-latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.aside-news { display: flex; gap: 12px; align-items: flex-start; }
.aside-thumb { flex: none; width: 64px; height: 48px; border-radius: 9px; overflow: hidden; background: #0a1320; }
.aside-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aside-news-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aside-news-title { font-size: 13.5px; line-height: 1.3; font-weight: 600; color: var(--text); transition: color 0.16s ease; }
.aside-news:hover .aside-news-title { color: #ffd27a; }
.aside-news-date { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.aside-cta { background: radial-gradient(120% 140% at 50% 0%, rgba(255,170,40,0.12), transparent 60%), rgba(255,255,255,0.025); text-align: center; }
.aside-cta-title { font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.aside-cta-sub { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.aside-cta .button { width: 100%; }
.aside-rss { display: inline-block; margin-top: 12px; color: #ffd27a; font-size: 13px; }
.aside-tg { display: flex; align-items: center; gap: 13px; text-decoration: none; transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease; }
.aside-tg:hover { border-color: rgba(42,171,238,0.55); transform: translateY(-2px); background: rgba(42,171,238,0.06); }
.aside-tg-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg,#2aabee,#1c93d2); color: #fff; box-shadow: 0 8px 22px rgba(42,171,238,0.3); }
.aside-tg-icon svg { width: 24px; height: 24px; display: block; }
.aside-tg-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aside-tg-text strong { font-size: 14px; color: var(--text); }
.aside-tg-text span { font-size: 12px; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; gap: 30px; }
  .post-aside { position: static; width: auto; }
}

/* ════════ News v2: hero-контейнер (панель со свечением + акцент) ════════ */
.news-hero {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: none; margin: 0 0 34px; padding: 30px 40px 44px;
  text-align: center; border-radius: 24px;
  border: 1px solid rgba(255, 189, 74, 0.22);
  background:
    radial-gradient(130% 150% at 50% -25%, rgba(255, 170, 40, 0.13), rgba(255, 170, 40, 0.03) 46%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.news-hero .breadcrumbs { position: relative; z-index: 1; justify-content: flex-start; margin: 0 0 24px; }
/* тонкая золотая полоса-акцент сверху контейнера */
.news-hero::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 2px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #ffae33, transparent);
}
.news-hero .eyebrow { position: relative; z-index: 1; }
.news-hero h1 { position: relative; z-index: 1; max-width: none; margin-left: auto; margin-right: auto; text-align: center; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.1; margin-bottom: 14px; }
.news-hero h1 .g { color: #ffd27a; }
.news-hero-sub { position: relative; z-index: 1; }
.news-search { position: relative; z-index: 1; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .news-hero { padding: 20px 18px 30px; border-radius: 18px; } }

/* Популярные темы под поиском */
.news-pop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.news-pop-label { color: var(--muted); font-size: 13px; margin-right: 2px; }
.news-pop-chip {
  padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.14)); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.news-pop-chip:hover { border-color: rgba(255, 189, 74, 0.6); color: #ffd27a; transform: translateY(-1px); }
.news-pop { position: relative; z-index: 1; }

/* === шапка сайта: языковой дропдаун + блок аккаунта (общее для index + PHP-страниц) === */
.lang-dd { position:relative; }
.lang-dd-btn { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border:1px solid rgba(255,255,255,0.14); border-radius:999px; background:rgba(255,255,255,0.05); color:#e7ecf2; font:inherit; font-size:13px; font-weight:750; line-height:1; cursor:pointer; }
.lang-dd-btn:hover { border-color:rgba(255,189,74,0.45); background:rgba(255,189,74,0.08); }
.lang-flag { width:22px; height:16px; border-radius:3px; object-fit:cover; display:block; }
.lang-caret { width:14px; height:14px; stroke:currentColor; stroke-width:2.2; fill:none; stroke-linecap:round; stroke-linejoin:round; opacity:.7; transition:transform .18s; }
.lang-dd.is-open .lang-caret { transform:rotate(180deg); }
.lang-menu { position:absolute; top:calc(100% + 8px); right:0; min-width:188px; margin:0; padding:6px; list-style:none; border:1px solid rgba(255,255,255,0.12); border-radius:14px; background:rgba(12,14,18,0.97); backdrop-filter:blur(14px); box-shadow:0 22px 54px rgba(0,0,0,0.55); opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .16s, transform .16s; z-index:60; }
.lang-dd.is-open .lang-menu { opacity:1; visibility:visible; transform:translateY(0); }
.lang-menu li { margin:0; }
.lang-menu a { display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:9px; color:#cdd5de; font-size:13.5px; font-weight:650; text-decoration:none; }
.lang-menu a:hover { background:rgba(255,189,74,0.12); color:#fff; }
.lang-menu a.is-active { background:rgba(255,189,74,0.1); color:#ffd765; }
.lang-menu img { width:22px; height:16px; border-radius:3px; object-fit:cover; display:block; flex:none; }
/* Языковой переключатель в сайдбаре кабинета: на всю ширину, меню — влево/вверх. */
.account-sidebar-lang { margin:14px 0 4px; }
.account-sidebar-lang .lang-dd { display:block; }
.account-sidebar-lang .lang-dd-btn { width:100%; justify-content:flex-start; padding:10px 12px; border-radius:12px; font-size:13.5px; }
.account-sidebar-lang .lang-dd-btn .lang-caret { margin-left:auto; }
.account-sidebar-lang .lang-menu { left:0; right:auto; bottom:calc(100% + 8px); top:auto; width:100%; display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.account-sidebar-lang .lang-menu a { padding:8px 9px; gap:7px; font-size:12.5px; }
.account-sidebar-lang .lang-menu img { width:18px; height:13px; }
.nav-auth-area { display:inline-flex; align-items:center; gap:10px; }
.nav-acc-av { position:relative; width:28px; height:28px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:linear-gradient(135deg,#ffd765,#ffae33); color:#0c0d10; font-size:13px; font-weight:900; flex:none; }
.nav-acc-av::before { content:attr(data-i); }
.nav-acc-av img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nav-acc-name { color:#ffe6b0; font-size:13px; font-weight:800; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.acc-dd { position:relative; }
.acc-dd-btn { display:inline-flex; align-items:center; gap:9px; padding:5px 11px 5px 5px; border:1px solid rgba(255,189,74,0.42); border-radius:999px; background:rgba(255,189,74,0.08); color:#ffe6b0; font:inherit; cursor:pointer; }
.acc-dd-btn:hover { background:rgba(255,189,74,0.14); }
.acc-dd-btn .lang-caret { width:13px; height:13px; }
.acc-menu { position:absolute; top:calc(100% + 9px); right:0; min-width:256px; padding:7px; border:1px solid rgba(255,255,255,0.12); border-radius:15px; background:rgba(12,14,18,0.97); backdrop-filter:blur(14px); box-shadow:0 22px 54px rgba(0,0,0,0.55); opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .16s, transform .16s; z-index:60; }
.acc-dd.is-open .acc-menu { opacity:1; visibility:visible; transform:translateY(0); }
.acc-menu-head { display:flex; align-items:center; gap:12px; padding:11px 14px 12px; border-radius:11px; text-decoration:none; }
.acc-menu-head:hover { background:rgba(255,255,255,0.05); }
.acc-menu-head .nav-acc-av { width:36px; height:36px; font-size:15px; }
.acc-menu-id { display:grid; gap:3px; min-width:0; }
.acc-menu-id b { color:#fff; font-size:14px; font-weight:800; line-height:1.1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:188px; }
.acc-menu-id small { color:#8b95a1; font-size:12px; line-height:1.1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:188px; }
.acc-menu .acc-sep { margin:6px 8px; }
.acc-sep { height:1px; margin:5px 6px; background:rgba(255,255,255,0.08); }
.acc-item { display:flex; align-items:center; gap:11px; padding:9px 14px; border-radius:10px; color:#cdd5de; font-size:13.5px; font-weight:700; text-decoration:none; }
.acc-item:hover { background:rgba(255,189,74,0.12); color:#fff; }
.acc-item.danger:hover { background:rgba(224,106,106,0.14); color:#ff9b9b; }
.acc-item svg { width:16px; height:16px; stroke:currentColor; stroke-width:1.9; fill:none; stroke-linecap:round; stroke-linejoin:round; opacity:.85; }
