:root {
  --p: #6a11cb;
  --p2: #2575fc;
  --primary: var(--p);
  --secondary: var(--p2);
  --dark: #1a1f2e;
  --text: #334155;
  --muted: #64748b;
  --bg: #f5f7fc;
  --white: #fff;
  --line: rgba(148,163,184,.22);
  --sh: 0 20px 60px rgba(15,23,42,.08);
  --sh2: 0 8px 24px rgba(15,23,42,.06);
  --r: 22px;
  --grad: linear-gradient(135deg,var(--p),var(--p2))
;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at 0 0,rgba(106,17,203,.1),transparent 52%),radial-gradient(ellipse at 100% 0,rgba(37,117,252,.09),transparent 52%),var(--bg);
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.eo-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.eo-side {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg,#0d1117,#111827);
  padding: 18px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}

.eo-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.eo-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(37,117,252,.32);
  color: #fff;
}

.eo-logo-name {
  font-weight: 900;
}

.eo-logo-sub {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

.eo-nav-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.28);
  padding: 0 10px;
  margin-top: 8px;
}

.eo-nav {
  display: grid;
  gap: 4px;
}

.eo-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 750;
  font-size: 14px;
  transition: .15s;
}

.eo-nav a:hover,
.eo-nav a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.eo-nav .ico {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
}

.eo-nav a.active .ico {
  background: var(--grad);
}

.eo-side-card {
  margin-top: auto;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg,rgba(106,17,203,.26),rgba(37,117,252,.16));
  border-radius: 20px;
  padding: 16px;
  overflow: hidden;
}

.eo-side-card p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.68);
  margin: 6px 0 12px;
}

.eo-side-card a {
  display: inline-flex;
  height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--p);
  font-weight: 900;
  font-size: 12px;
}

.eo-main {
  min-width: 0;
}

.eo-top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  background: rgba(245,247,252,.84);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
}

.eo-menu {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.eo-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.eo-search:before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 9px;
  color: var(--muted);
  font-weight: 900;
}

.eo-search input {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh2);
  padding: 0 40px;
  outline: none;
}

.eo-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.eo-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.eo-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px;
}

.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a {
  color: var(--p);
  font-weight: 900;
}

.crumbs span:not(:last-child):after {
  content: '/';
  margin-left: 8px;
  color: #cbd5e1;
}

.hero {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--sh);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  overflow: hidden;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  right: -100px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(106,17,203,.12),transparent 70%);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.14);
  color: var(--p);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(30px,3.2vw,50px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--dark);
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 16px;
  line-height: 1.72;
  color: #526176;
  max-width: 72ch;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: .15s;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37,117,252,.24);
}

.btn-ghost {
  border-color: var(--line);
  box-shadow: var(--sh2);
}

.btn-soft {
  background: rgba(106,17,203,.08);
  color: var(--p);
  border-color: rgba(106,17,203,.12);
}

.widget {
  position: relative;
  z-index: 1;
  background: #0d1117;
  border-radius: 22px;
  padding: 18px;
  color: #fff;
  min-height: 220px;
  overflow: hidden;
}

.mini-window {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
}

.mini-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
}

.dot:nth-child(2) {
  background: #fbbf24;
}

.dot:nth-child(3) {
  background: #4ade80;
}

.mini-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 9px 10px;
  animation: in .45s ease both;
}

.mini-row:nth-child(2) {
  animation-delay: .12s;
}

.mini-row:nth-child(3) {
  animation-delay: .24s;
}

.mini-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.mini-title {
  display: block;
  font-size: 12px;
  font-weight: 850;
}

.mini-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

.mini-badge {
  font-size: 10px;
  font-weight: 900;
  color: #99f6e4;
  background: rgba(29,158,117,.14);
  border-radius: 999px;
  padding: 3px 7px;
}

.section {
  margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 16px;
}

.title {
  font-size: 28px;
  letter-spacing: -.025em;
  color: var(--dark);
  line-height: 1.1;
}

.sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 6px;
}

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

.kpi,
.panel,
.card,
.form-card,
.price-card,
.quality,
.flow-step {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--sh2);
  padding: 20px;
}

.kpi-num {
  font-size: 32px;
  font-weight: 950;
  color: var(--dark);
  letter-spacing: -.04em;
}

.kpi-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
}

.trend,
.chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(29,158,117,.12);
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
}

.chip {
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.12);
  color: var(--p);
}

.chip.green {
  background: rgba(45,212,191,.12);
  border-color: rgba(45,212,191,.18);
  color: #0f766e;
}

.chip.blue {
  background: rgba(37,117,252,.1);
  border-color: rgba(37,117,252,.14);
  color: #185fa5;
}

.chip.red {
  background: rgba(231,76,60,.09);
  border-color: rgba(231,76,60,.14);
  color: #c0392b;
}

.chip.gray {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

.toolbar {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: var(--sh2);
  margin-bottom: 16px;
}

.filter {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: rgba(106,17,203,.08);
  border-color: rgba(106,17,203,.18);
  color: var(--p);
}

.view {
  margin-left: auto;
  display: flex;
  gap: 5px;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
}

.view button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.view button.active {
  background: #fff;
  color: var(--p);
  box-shadow: 0 2px 8px rgba(106,17,203,.12);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  transition: .15s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh);
}

.card h3 {
  font-size: 18px;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -.015em;
  margin: 12px 0 9px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
}

.card-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #7b8797;
  font-size: 12px;
  font-weight: 700;
  margin-top: 13px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.small {
  height: 32px;
  line-height: 1;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.small.primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.cards.list {
  grid-template-columns: 1fr;
}

.cards.list .card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.board {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.panel-title {
  font-size: 18px;
  font-weight: 950;
  color: var(--dark);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.activity {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226,232,240,.85);
}

.activity:last-child {
  border-bottom: 0;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(106,17,203,.08);
  display: grid;
  place-items: center;
  color: var(--p);
  font-weight: 900;
  flex-shrink: 0;
}

.activity b {
  font-size: 14px;
  color: var(--dark);
}

.activity p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 18px;
      align-items: flex-start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 900;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 11px 13px;
  outline: none;
  color: var(--dark);
  transition: .15s;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(106,17,203,.32);
  box-shadow: 0 0 0 4px rgba(106,17,203,.07);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.editor {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.editor-toolbar {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding: 8px;
  border-bottom: 1px solid rgba(226,232,240,.85);
  background: #f8faff;
}

.editor-toolbar button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  cursor: pointer;
}

.editor textarea {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 0;
  min-height: 280px;
}

.dropbox {
  border: 2px dashed rgba(106,17,203,.2);
  border-radius: 16px;
  background: rgba(106,17,203,.025);
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.seo {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}

.seo-url {
  color: #0f766e;
  font-size: 12px;
  margin-bottom: 4px;
  word-break: break-all;
}

.seo-title {
  font-size: 18px;
  line-height: 1.25;
  color: #1a0dab;
  margin-bottom: 5px;
}

.seo-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #4d5156;
}

.checklist {
  display: grid;
  gap: 8px;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.check.done {
  color: #0f766e;
}

.check.done .check-dot {
  border-color: #1d9e75;
  background: #1d9e75;
  color: #fff;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: .3s;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 18px;
}

.article {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--sh);
  padding: 34px;
}

.article h1 {
  font-size: clamp(30px,3vw,46px);
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -.035em;
  margin: 10px 0 14px;
}

.article h2 {
  font-size: 24px;
  color: var(--dark);
  margin: 28px 0 10px;
}

.article p,
.article li {
  font-size: 16px;
  line-height: 1.75;
}

.article ul {
  padding-left: 20px;
  margin: 10px 0;
}

.note {
  border-left: 4px solid var(--p);
  background: rgba(106,17,203,.06);
  border-radius: 0 14px 14px 0;
  padding: 14px 16px;
  margin: 18px 0;
}

.toc {
  position: sticky;
  top: 82px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(226,232,240,.85);
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
}

.toc a:hover {
  color: var(--p);
}

.star {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: #f59e0b;
  font-size: 17px;
}

.cover {
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(106,17,203,.14),rgba(37,117,252,.12)),radial-gradient(circle at 70% 20%,rgba(255,255,255,.9),transparent 35%);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.cover b {
  font-size: 12px;
  color: var(--p);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: var(--sh2);
}

.switch {
  display: inline-flex;
  background: #eef2ff;
  border-radius: 14px;
  padding: 4px;
  margin-top: 18px;
}

.switch button {
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 11px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.switch button.active {
  background: #fff;
  color: var(--p);
  box-shadow: 0 2px 10px rgba(106,17,203,.14);
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.price-card {
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(106,17,203,.32);
  box-shadow: 0 24px 70px rgba(106,17,203,.13);
  transform: translateY(-8px);
}

.price-card.featured:before {
  content: 'Популярный';
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  padding: 6px 10px;
}

.price-name {
  font-size: 21px;
  font-weight: 950;
  color: var(--dark);
}

.price-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
  margin: 8px 0 18px;
}

.price {
  font-size: 42px;
  font-weight: 950;
  color: var(--dark);
  letter-spacing: -.05em;
}

.price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 800;
}

.features {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.features li {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.features li:before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(29,158,117,.12);
  color: #0f766e;
  font-size: 11px;
  font-weight: 950;
  flex-shrink: 0;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sh2);
}

.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226,232,240,.85);
  font-size: 14px;
  text-align: left;
}

.compare th {
  background: #f8faff;
  color: var(--dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

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

.quality {
  text-align: center;
}

.quality-num {
  font-size: 30px;
  font-weight: 950;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.flow-step {
  position: relative;
}

.flow-step:not(:last-child):after {
  content: '→';
  position: absolute;
  right: -13px;
  top: 38px;
  color: var(--p);
  font-weight: 950;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab {
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

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

.calc-result {
  background: linear-gradient(135deg,rgba(106,17,203,.09),rgba(37,117,252,.08));
  border: 1px solid rgba(106,17,203,.16);
  border-radius: 18px;
  padding: 16px;
}

.calc-result b {
  font-size: 26px;
  color: var(--dark);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh2);
}

.faq-q {
  width: 100%;
  background: #fff;
  border: 0;
  text-align: left;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.open .faq-a {
  display: block;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #111827;
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  z-index: 99;
  opacity: 0;
  transform: translateY(12px);
  transition: .2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:1120px) {
  .eo-app {
    grid-template-columns: 1fr;
  }

  .eo-side {
    position: fixed;
    left: -300px;
    transition: .2s;
  }

  .eo-side.open {
    left: 0;
  }

  .eo-menu {
    display: block;
  }

  .hero,
  .board,
  .form-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .cards,
  .prices {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-grid,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toc {
    position: static;
  }

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

@media (max-width:720px) {
  .eo-top {
    padding: 0 14px;
  }

  .eo-search {
    display: none;
  }

  .eo-page {
    width: 100%;
    padding: 18px;
  }

  .hero {
    padding: 20px;
  }

  .actions,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .kpi-grid,
  .cards,
  .prices,
  .quality-grid,
  .flow,
  .calc {
    grid-template-columns: 1fr;
  }

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

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

  .view {
    margin-left: 0;
  }

  .article {
    padding: 22px;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .flow-step:not(:last-child):after {
    display: none;
  }
}

/* ===== CLIENT/PUBLIC VIEW PAGES ===== */

.eo-public {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245,247,252,.86);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.76);
}

.public-nav {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.public-top .eo-logo {
  border-bottom: 0;
  padding: 0;
  min-width: 270px;
  color: var(--dark);
}

.public-top .eo-logo-mark--site {
  background: transparent;
  box-shadow: none;
  color: var(--p);
}

.public-top .eo-logo-mark--site img {
  width: 28px;
  height: 28px;
  display: block;
}

.public-top .eo-logo-sub {
  color: var(--muted);
  line-height: 1.12;
  margin-top: 0;
}

.public-top .eo-logo-name {
  display: block;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.12;
}

.public-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.public-links a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: .15s;
}

.public-links a:hover,
.public-links a.active {
  background: #fff;
  color: var(--p);
  box-shadow: var(--sh2);
}

/* --- nav services dropdown --- */
.nav-has-dropdown {
  position: relative;
}

.nav-has-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px;
}

.nav-dropdown-toggle {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  background: #fff;
  color: var(--p);
  box-shadow: var(--sh2);
}

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid rgba(106,17,203,.3);
  outline-offset: 2px;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(15,23,42,.15);
  width: min(760px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 4px;
  padding: 8px;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, transform .15s;
}

.nav-dropdown-panel--grouped {
  width: min(940px, calc(100vw - 32px));
  max-height: min(74vh, 650px);
  grid-template-columns: repeat(4, minmax(126px, 1fr));
  gap: 10px;
  padding: 12px;
}

.nav-has-dropdown:hover .nav-dropdown-panel,
.nav-has-dropdown.open .nav-dropdown-panel {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-group {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.nav-dropdown-group__title {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
}

.nav-dropdown-group__items {
  display: grid;
  gap: 3px;
}

.nav-dropdown-group--extra {
  grid-column: span 2;
}

.nav-dropdown-group--extra .nav-dropdown-group__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  transition: .12s;
  white-space: nowrap;
}

.nav-dropdown-panel--grouped a {
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown-group--extra a {
  white-space: normal;
  line-height: 1.22;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a.active {
  background: var(--bg);
  color: var(--p);
}

.public-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-register {
  white-space: nowrap;
}

.public-links .public-mobile-cta {
  display: none;
}

.public-register,
.public-links .public-mobile-cta {
  text-wrap-mode: nowrap;
  white-space: nowrap;
}

.public-burger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  display: none;
  place-items: center;
  box-shadow: var(--sh2);
  cursor: pointer;
  transition: .15s;
}

.public-burger:hover,
.public-top.is-menu-open .public-burger {
  border-color: rgba(106,17,203,.22);
  color: var(--p);
  box-shadow: var(--sh2);
}

.public-burger__lines {
  display: grid;
  gap: 4px;
}

.public-burger__lines span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
}

.eo-header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.eo-header-search__toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh2);
  transition: .15s;
}

.eo-header-search__toggle:hover,
.eo-header-search.is-open .eo-header-search__toggle {
  color: var(--p);
  border-color: rgba(106,17,203,.28);
  box-shadow: 0 0 0 4px rgba(106,17,203,.08);
}

.eo-header-search__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 32px));
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15,23,42,.14);
  z-index: 320;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}

.eo-header-search.is-open .eo-header-search__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eo-header-search__panel input[type=search] {
  min-width: 0;
  flex: 1;
  height: 34px;
  border: 0;
  outline: none;
  background: #f6f8fc;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--dark);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.eo-header-search__panel button[type=submit] {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37,117,252,.22);
}

.eo-lang-menu {
  position: relative;
}

.eo-lang-menu__trigger {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 0 12px;
  box-shadow: var(--sh2);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  outline: none;
}

.eo-lang-menu__trigger:hover,
.eo-lang-menu.is-open .eo-lang-menu__trigger {
  border-color: rgba(106,17,203,.28);
  box-shadow: 0 0 0 4px rgba(106,17,203,.08);
}

.eo-lang-menu__code {
  color: var(--p);
  font-weight: 950;
}

.eo-lang-menu__name {
  max-width: 82px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eo-lang-menu__chevron {
  font-size: 10px;
  color: var(--muted);
}

.eo-lang-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 178px;
  padding: 7px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15,23,42,.14);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}

.eo-lang-menu.is-open .eo-lang-menu__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eo-lang-menu__options {
  display: grid;
  gap: 3px;
  max-height: 260px;
  overflow: auto;
}

.eo-lang-menu__options button {
  min-height: 38px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--dark);
  padding: 0 10px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.eo-lang-menu__options button:hover,
.eo-lang-menu__options button.is-selected {
  background: #f4f7ff;
  color: var(--p);
}

.eo-lang-menu__option-code {
  width: 28px;
  color: inherit;
  font-weight: 950;
}

.eo-lang-menu__option-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eo-site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px);
  margin-top: 20px;
}

.eo-site-footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(190px, 1fr);
  gap: 40px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.eo-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.eo-site-footer__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.eo-site-footer__mark img {
  width: 25px;
  height: 25px;
  display: block;
}

.eo-site-footer__name {
  display: block;
  font-weight: 900;
  font-size: 17px;
  color: var(--dark);
}

.eo-site-footer__tag {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.eo-site-footer__brand p {
  max-width: 420px;
  line-height: 1.7;
  margin-top: 12px;
}

.eo-site-footer__menus,
.eo-site-footer__menu-col,
.eo-site-footer__contact {
  display: grid;
  gap: 9px;
  align-content: start;
}

.eo-site-footer__menus {
  grid-template-columns: repeat(4, max-content);
  column-gap: 48px;
  justify-self: center;
}

.eo-site-footer__contact {
  justify-self: end;
}

.eo-site-footer strong {
  color: var(--dark);
  font-size: 13px;
}

.eo-site-footer a {
  color: var(--muted);
  font-weight: 750;
}

.eo-site-footer a:hover {
  color: var(--p);
}

.eo-site-footer__contact small {
  margin-top: 8px;
  color: #94a3b8;
}

.eo-legal-page {
  max-width: 1120px;
}

.eo-legal-hero {
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--line);
}

.eo-legal-hero h1 {
  position: relative;
  width: fit-content;
  max-width: 860px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: #122033;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.eo-legal-hero h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.eo-legal-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.eo-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

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

.eo-legal-nav a:hover,
.eo-legal-nav a.is-active {
  border-color: rgba(37,117,252,.32);
  background: rgba(37,117,252,.08);
  color: var(--p);
}

.eo-legal-content,
.eo-legal-extra {
  max-width: 860px;
  padding-top: 12px;
}

.eo-legal-content h2,
.eo-legal-extra h2 {
  margin: 34px 0 12px;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0;
}

.eo-legal-content p,
.eo-legal-content li,
.eo-legal-extra p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
}

.eo-legal-content p,
.eo-legal-extra p {
  margin: 12px 0;
}

.eo-legal-content ul {
  margin: 12px 0 20px;
  padding-left: 22px;
}

.eo-legal-content li {
  margin: 7px 0;
}

.eo-legal-content a,
.eo-legal-extra a {
  color: var(--p);
  font-weight: 850;
}

.eo-legal-date {
  color: var(--muted) !important;
  font-weight: 800;
}

.eo-legal-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.eo-legal-index-card {
  min-height: 138px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(15,23,42,.06);
}

.eo-legal-index-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37,117,252,.28);
  box-shadow: 0 22px 52px rgba(37,117,252,.12);
}

.eo-legal-index-card span {
  display: block;
  color: var(--dark);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

.eo-legal-index-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.eo-search-hero {
  grid-template-columns: 1fr;
}

.eo-search-page-form {
  width: min(760px, 100%);
  margin-top: 24px;
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sh2);
}

.eo-search-page-form input[type=search] {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 0;
  outline: none;
  border-radius: 12px;
  background: #f6f8fc;
  color: var(--dark);
  padding: 0 14px;
  font: inherit;
  font-weight: 750;
}

.eo-search-page-form button {
  height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,117,252,.24);
}

.eo-search-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.eo-search-tabs a {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.eo-search-tabs a.is-active,
.eo-search-tabs a:hover {
  color: var(--p);
  border-color: rgba(106,17,203,.24);
  box-shadow: var(--sh2);
}

.eo-search-note,
.eo-section-search-empty {
  color: var(--muted);
  font-weight: 750;
}

.eo-search-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.eo-section-search {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(260px, 420px);
  align-items: center;
}

.eo-section-search label {
  color: var(--dark);
  font-weight: 900;
}

.eo-section-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  outline: none;
  padding: 0 14px;
  color: var(--dark);
  font: inherit;
  font-weight: 750;
  box-shadow: var(--sh2);
}

.eo-section-search input:focus {
  border-color: rgba(106,17,203,.28);
  box-shadow: 0 0 0 4px rgba(106,17,203,.08);
}

.cases-list-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 0px;
}

.cases-list-hero h1 {
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  color: #122033;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.cases-list-hero h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.eo-section-search--hero {
  position: relative;
  grid-template-columns: minmax(280px, 440px) auto;
  margin: 0 0 0 auto;
}

.eo-section-search--hero label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eo-section-search--hero input {
  height: 46px;
  min-width: min(440px, 42vw);
}

.eo-public-main {
  flex: 1;
  width: 100%;
}

.eo-public .eo-page {
  max-width: 1500px;
  padding: 30px 25px 40px;
}

.eo-public .hero {
  max-width: none;
}

.eo-public .section {
  max-width: none;
}

.floating-edit {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(37,117,252,.34);
  transition: .18s;
  border: 1px solid rgba(255,255,255,.22);
}

.floating-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(37,117,252,.42);
}

.floating-edit .fe-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  line-height: 1;
}

.eo-public .article-layout {
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 22px;
}

.eo-public .article-layout-full {
  grid-template-columns: 1fr;
}

.eo-public .article {
  min-height: 560px;
}

.eo-public .toc {
  top: 92px;
}

.eo-register-cta {
  margin: 34px auto 0;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(106,17,203,.96), rgba(37,117,252,.96)),
    #2575fc;
  color: #fff;
  box-shadow: 0 22px 58px rgba(37,117,252,.28);
  overflow: hidden;
  position: relative;
}

.eo-register-cta:before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

.eo-register-cta > * {
  position: relative;
  z-index: 1;
}

.eo-register-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.08;
  color: #fff;
  letter-spacing: 0;
}

.eo-register-cta p {
  margin: 0;
  max-width: 64ch;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.65;
}

.eo-register-cta a {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  color: #2575fc;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 14px 34px rgba(15,23,42,.18);
  white-space: nowrap;
}

.eo-register-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(15,23,42,.24);
}

/* About page editorial blocks */
.about-content {
  display: grid;
  gap: 26px;
}

.about-lead {
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(106,17,203,.12), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(37,117,252,.12), transparent 34%),
    #f8faff;
  border: 1px solid rgba(106,17,203,.12);
}

.article .about-lead p {
  margin: 0;
  color: #334155;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 750;
  letter-spacing: -.015em;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh2);
}

.about-metric {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.about-metric:last-child {
  border-right: 0;
}

.about-metric strong {
  display: block;
  margin-bottom: 6px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.about-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.about-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh2);
}

.article .about-card h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.2;
}

.article .about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.about-highlight {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(106,17,203,.96), rgba(37,117,252,.96));
  color: #fff;
  box-shadow: 0 22px 56px rgba(37,117,252,.24);
}

.article .about-highlight h2,
.article .about-highlight p {
  color: #fff;
}

.article .about-highlight h2 {
  margin-top: 0;
}

.article .about-highlight p {
  color: rgba(255,255,255,.84);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.article .about-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

.about-list li:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

.about-cta-note {
  padding: 22px 24px;
  border-left: 4px solid var(--p);
  border-radius: 0 18px 18px 0;
  background: rgba(106,17,203,.06);
}

.article .about-cta-note p {
  margin: 0;
}

@media (max-width: 820px) {
  .about-metrics,
  .about-grid,
  .about-list {
    grid-template-columns: 1fr;
  }

  .about-metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-metric:last-child {
    border-bottom: 0;
  }
}

@media (max-width:1120px) {
  .public-nav {
    height: auto;
    min-height: 66px;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .public-top .eo-logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .public-links {
    order: 4;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh2);
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .public-top.is-menu-open .public-links {
    display: flex;
    margin-bottom: 20px;
  }

  .public-links a,
  .public-links .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
    border-radius: 10px;
  }

  .public-links .nav-has-dropdown {
    width: 100%;
  }

  .public-links .nav-has-dropdown::after {
    display: none;
  }

  .public-links .nav-dropdown-panel,
  .public-links .nav-dropdown-panel--grouped {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    grid-template-columns: 1fr;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid rgba(148,163,184,.16);
    margin-top: 6px;
    padding: 8px;
    border-radius: 12px;
    background: #f8fafc;
  }

  .public-links .nav-dropdown-panel--grouped {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .public-links .nav-has-dropdown.open .nav-dropdown-panel {
    display: grid;
    transform: none;
  }

  .public-links .nav-dropdown-group {
    padding: 8px;
    gap: 5px;
    min-width: 0;
  }

  .public-links .nav-dropdown-group__items {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 2px 6px;
  }

  .public-links .nav-dropdown-group__title {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .public-links .nav-dropdown-panel--grouped a {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.15;
  }

  .public-links .nav-dropdown-group--extra {
    grid-column: auto;
  }

  .public-links .nav-dropdown-group--extra .nav-dropdown-group__items {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .public-links a.public-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 12px 24px rgba(37,117,252,.24);
  }

  .public-links a.public-mobile-cta:hover {
    color: #fff;
    box-shadow: 0 14px 28px rgba(37,117,252,.3);
  }

  .public-actions {
    order: 2;
    margin-left: auto;
  }

  .public-register {
    display: none;
  }

  .public-burger {
    display: grid;
    order: 3;
  }

  .public-top .eo-lang-menu__name {
    display: none;
  }

  .eo-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .eo-site-footer__menus,
  .eo-site-footer__contact {
    justify-self: start;
  }

  .eo-site-footer__menus {
    grid-template-columns: repeat(2, max-content);
    gap: 14px 48px;
  }

  .eo-legal-index-grid {
    grid-template-columns: 1fr;
  }

  .eo-public .article-layout {
    grid-template-columns: 1fr;
  }

  .floating-edit {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width:720px) {
  .public-top .eo-logo {
    min-width: auto;
  }

  .public-top .eo-logo-sub {
    display: none;
  }

  .public-nav {
    gap: 12px;
  }

  .public-links a {
    font-size: 13px;
    padding: 0 11px;
  }

  .eo-lang-menu__name {
    display: none;
  }

  .public-register {
    display: none;
  }

  .eo-search-page-form {
    flex-direction: column;
  }

  .eo-search-page-form button {
    width: 100%;
  }

  .eo-section-search {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cases-list-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .cases-list-hero h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .eo-section-search--hero {
    margin-left: 0;
  }

  .eo-section-search--hero input {
    min-width: 0;
  }

  .eo-site-footer__inner {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    gap: 24px;
  }

  .eo-site-footer__menus {
    grid-template-columns: repeat(2, max-content);
    gap: 14px 32px;
  }

  .eo-legal-hero {
    padding: 18px 0 22px;
  }

  .eo-legal-hero h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .eo-legal-hero p,
  .eo-legal-content p,
  .eo-legal-content li,
  .eo-legal-extra p {
    font-size: 15px;
  }

  .eo-legal-content h2,
  .eo-legal-extra h2 {
    font-size: 21px;
  }

  .eo-legal-nav a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .public-actions .btn-ghost {
    display: none;
  }

  .eo-public .eo-page {
    padding: 30px 25px 40px;
  }

  .floating-edit {
    height: 46px;
    padding: 0 14px;
  }

  .eo-register-cta {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    margin-bottom: 58px;
  }

  .eo-register-cta a {
    width: 100%;
  }

  .floating-edit b {
    display: none;
  }
}

/* ===== V3: PUBLIC NEWS & CASES ===== */

.public-news-hero .widget,
.cases-hero .widget {
  min-height: 280px;
}

.news-public-grid .card,
.case-grid .card {
  min-height: 100%;
  animation: in .28s ease both;
}

.featured-news {
  border-color: rgba(106,17,203,.28);
  box-shadow: 0 22px 70px rgba(106,17,203,.13);
}

.case-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg,#0d1117,#111827);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.case-map:before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%,rgba(106,17,203,.32),transparent 34%),radial-gradient(circle at 80% 70%,rgba(37,117,252,.26),transparent 34%);
  pointer-events: none;
}

.case-node {
  position: relative;
  z-index: 1;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 950;
  font-size: 15px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.case-node.engine {
  background: var(--grad);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 18px 46px rgba(37,117,252,.34);
}

.case-line {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.75),rgba(255,255,255,.2));
  animation: casePulse 1.8s ease-in-out infinite;
}

.case-metrics {
  grid-column: 1/-1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.case-metrics span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  padding: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.68);
}

.case-metrics b {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

@keyframes casePulse {
  0%,
  100% {
    opacity: .42;
    transform: scaleX(.9);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }
}

.case-cover {
  height: 170px;
  border-radius: 18px;
  background: radial-gradient(circle at 75% 20%,rgba(255,255,255,.9),transparent 30%),linear-gradient(135deg,rgba(106,17,203,.16),rgba(37,117,252,.14));
  border: 1px solid var(--line);
  margin-bottom: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.case-cover span {
  background: #fff;
  color: var(--p);
  font-size: 12px;
  font-weight: 950;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: var(--sh2);
}

.case-cover b {
  font-size: 34px;
  letter-spacing: -.05em;
  color: var(--dark);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.case-stats span {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faff;
  padding: 9px 8px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}

.case-stats b {
  display: block;
  font-size: 18px;
  color: var(--dark);
  line-height: 1.1;
}

.case-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.case-detail-metrics div {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.case-detail-metrics b {
  display: block;
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.case-detail-metrics span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin-top: 6px;
}

.case-flow .card {
  box-shadow: var(--sh2);
}

@media (max-width:920px) {
  .case-map {
    grid-template-columns: 1fr;
  }

  .case-line {
    width: 2px;
    height: 28px;
    margin: auto;
  }

  .case-metrics,
  .case-detail-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width:620px) {
  .case-metrics,
  .case-detail-metrics {
    grid-template-columns: 1fr;
  }
}

/* ===== V4: PUBLIC KNOWLEDGE BASE + KPI FIX ===== */

.public-kb-hero .widget,
.kb-hero-widget {
  min-height: 280px;
}

.kb-public-grid .card {
  min-height: 100%;
  animation: in .28s ease both;
}

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

.kpi .kpi-label {
  display: block;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.kpi > b {
  display: block;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--dark);
  margin: 0 0 6px;
  font-weight: 950;
}

.kpi > small {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 750;
}

.widget .kpi {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
  color: #fff;
}

.widget .kpi .kpi-label {
  color: rgba(255,255,255,.68);
}

.widget .kpi > b {
  color: #fff;
  background: linear-gradient(135deg,#fff,#bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.widget .kpi > small {
  color: rgba(255,255,255,.48);
}

@media (max-width:920px) {
  .public-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .public-kpi-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== V6: MEDIA FIELDS, COVERS, CAROUSELS, LIGHTBOX ===== */
.media-admin {
  border: 1px solid rgba(106,17,203,.14);
  background: linear-gradient(135deg,rgba(106,17,203,.045),rgba(37,117,252,.035));
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 16px;
  margin: 16px 0;
}

.media-admin__head,
.gallery-admin__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.media-admin__head p,
.gallery-admin__top p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.media-live-preview {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
  gap: 12px;
}

.media-live-preview__cover {
  min-height: 210px;
  border-radius: 18px;
  border: 1px dashed rgba(106,17,203,.22);
  background: rgba(255,255,255,.72);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.media-live-preview__cover img,
.media-live-preview__thumb img,
.article-cover-img img,
.media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-live-preview__card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
}

.media-live-preview__thumb {
  height: 86px;
  border-radius: 14px;
  background: #eef2ff;
  overflow: hidden;
}

.media-live-preview__card b {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
}

.media-live-preview__card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.gallery-admin {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.gallery-slide-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.gallery-slide-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) minmax(0,.7fr) 34px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f8faff;
  border: 1px solid rgba(148,163,184,.18);
}

.gallery-slide-thumb {
  width: 72px;
  height: 54px;
  border-radius: 11px;
  background: #e2e8f0;
  overflow: hidden;
}

.gallery-slide-row input {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 11px;
  outline: none;
  background: #fff;
}

.gallery-slide-row button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(231,76,60,.1);
  color: #c0392b;
  cursor: pointer;
  font-weight: 900;
}

.gallery-json {
  width: 100%;
  min-height: 76px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-family: ui-monospace,Menlo,Consolas,monospace;
  font-size: 11px;
}

.article-cover-img {
  position: relative;
  height: clamp(260px,34vw,520px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh2);
  margin: 18px 0 22px;
  background: #e2e8f0;
}

.article-cover-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 35%,rgba(15,23,42,.72));
  pointer-events: none;
}

.article-cover-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.article-cover-caption span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 900;
}

.article-cover-caption b {
  font-size: clamp(18px,2vw,28px);
  max-width: 620px;
  text-align: right;
}

.media-carousel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg,rgba(255,255,255,.94),rgba(248,250,255,.92));
  padding: 16px;
  box-shadow: var(--sh2);
  margin: 22px 0;
}

.media-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.media-carousel__head b {
  display: block;
  color: var(--dark);
  font-size: 17px;
}

.media-carousel__head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.media-carousel__controls {
  display: flex;
  gap: 7px;
}

.media-carousel__controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: .15s;
}

.media-carousel__controls button:hover {
  color: var(--p);
  border-color: rgba(106,17,203,.3);
  transform: translateY(-1px);
}

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

.media-slide {
  position: relative;
  height: 190px;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
  padding: 0;
  text-align: left;
  box-shadow: 0 8px 22px rgba(15,23,42,.08);
}

.media-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 35%,rgba(15,23,42,.74));
}

.media-slide span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
}

.media-slide b,
.media-slide em {
  display: block;
}

.media-slide b {
  font-size: 14px;
  line-height: 1.25;
}

.media-slide em {
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,.75);
}

.media-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,23,42,.14);
}

.eo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8,13,25,.78);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.eo-lightbox.open {
  display: flex;
  animation: lightboxIn .16s ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.eo-lightbox__box {
  width: min(1180px,100%);
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
}

.eo-lightbox__img {
  width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  background: #0f172a;
}

.eo-lightbox__body {
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.eo-lightbox__body b {
  display: block;
  color: var(--dark);
  font-size: 18px;
}

.eo-lightbox__body p {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

.eo-lightbox__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: var(--dark);
}

@media (max-width: 900px) {
  .media-live-preview,
  .media-carousel__track {
    grid-template-columns: 1fr;
  }

  .gallery-slide-row {
    grid-template-columns: 58px 1fr 34px;
  }

  .gallery-slide-row input[data-slide-caption] {
    grid-column: 2 / -1;
  }
}

@media (max-width: 560px) {
  .media-admin__head,
  .gallery-admin__top,
  .media-carousel__head,
  .article-cover-caption,
  .eo-lightbox__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-cover-caption b {
    text-align: left;
  }

  .media-live-preview__card {
    grid-template-columns: 1fr;
  }
}

.eo-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.small {
  height: 32px;
  line-height: 1;
}

.editor textarea {
  width: 100%;
  padding: 15px;
}

.cards {
  align-items: stretch;
}

.cover-media,
.card-media,
.case-cover-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(106, 17, 203, .12), rgba(37, 117, 252, .12));
}

.cover-media img,
.card-media img,
.case-cover-photo img,
.article-cover img,
.article-inline-image img,
.gallery-slide img,
.gallery-preview-thumb img,
.image-frame img,
.related-card-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cover-overlay,
.case-cover-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, .62);
  color: #fff;
  backdrop-filter: blur(10px);
}

.cover-overlay b,
.case-cover-overlay b {
  font-size: 13px;
  letter-spacing: .02em;
}

.cover-overlay span,
.case-cover-overlay span {
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 12px;
  font-weight: 800;
}

.hero-media {
  min-height: 300px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh);
}

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

.hero-media .hero-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, .62);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-media .hero-overlay b {
  display: block;
  font-size: 18px;
}

.hero-media .hero-overlay span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, .84);
}

.media-block {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  margin-top: 18px;
  box-shadow: var(--sh2);
}

.media-block .panel-title {
  margin-bottom: 14px;
}

.input-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.media-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: #f8fafc;
}

.media-card.media-card-wide {
  grid-column: span 3;
}

.media-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.image-frame {
  min-height: 190px;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
}

.image-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(106, 17, 203, .12), rgba(37, 117, 252, .12));
  color: var(--muted);
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

.image-placeholder.wide {
  min-height: 150px;
}

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

.gallery-preview-thumb {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  min-height: 120px;
  box-shadow: var(--sh2);
}

.article-cover,
.article-inline-image {
  margin: 22px 0 26px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sh);
}

.article-inline-image figcaption,
.gallery-slide figcaption {
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.gallery-section {
  margin: 30px 0;
}

.gallery-section .panel-title {
  margin-bottom: 14px;
}

.gallery-carousel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--sh2);
}

.gallery-window {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform .35s ease;
}

.gallery-slide {
  min-width: 100%;
  padding: 0 4px;
}

.gallery-slide figure {
  overflow: hidden;
  border-radius: 20px;
  background: #f8fafc;
}

.gallery-slide img {
  height: 420px;
  cursor: zoom-in;
}

.carousel-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--sh2);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}

.carousel-nav.left {
  position: absolute;
  left: 18px;
  top: calc(50% - 22px);
}

.carousel-nav.right {
  position: absolute;
  right: 18px;
  top: calc(50% - 22px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--p), var(--p2));
}

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

.related-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh2);
}

.related-card-thumb {
  height: 180px;
}

.related-card-body {
  padding: 16px;
}

.related-card-body h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.related-card-body p {
  color: var(--muted);
  line-height: 1.7;
}

.featured-news {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}

.featured-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh);
}

.featured-panel-body {
  padding: 18px 20px 20px;
}

.featured-panel-body h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 12px;
}

.featured-panel-body p {
  color: var(--muted);
  line-height: 1.75;
}

.stats-stack {
  display: grid;
  gap: 16px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--sh2);
}

.stat-card b {
  display: block;
  font-size: 34px;
  color: var(--dark);
}

.stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.7;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

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

.case-metrics-grid .metric-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--sh2);
}

.case-metrics-grid .metric-card b {
  display: block;
  font-size: 28px;
  color: var(--dark);
}

.case-metrics-grid .metric-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.kb-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
}

.public-section-gap {
  margin-top: 24px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.lightbox.show {
  display: flex;
}

.lightbox-dialog {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 20px;
  display: block;
  box-shadow: var(--sh);
}

.lightbox-caption {
  margin-top: 10px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1080px) {
  .featured-news,
  .kb-hero-grid,
  .case-hero-grid {
    grid-template-columns: 1fr;
  }

  .media-preview {
    grid-template-columns: 1fr 1fr;
  }

  .media-card.media-card-wide {
    grid-column: span 2;
  }

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

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

@media (max-width: 760px) {
  .media-preview,
  .related-grid,
  .case-metrics-grid {
    grid-template-columns: 1fr;
  }

  .media-card.media-card-wide {
    grid-column: span 1;
  }

  .gallery-slide img {
    height: 260px;
  }

  .carousel-nav.left,
  .carousel-nav.right {
    top: auto;
    bottom: 72px;
  }

  .carousel-nav.left {
    left: 14px;
  }

  .carousel-nav.right {
    right: 14px;
  }
}


.freepik-credit {
  max-width: 1500px;
  margin: 18px auto 0;
  padding: 0 32px 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.freepik-credit a {
  color: var(--p);
  font-weight: 800;
}

@media (max-width: 760px) {
  .freepik-credit {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.media-mode-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.media-mode-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .15s;
}

.media-mode-tabs label:has(input:checked) {
  background: #fff;
  color: var(--p);
  box-shadow: 0 4px 12px rgba(106, 17, 203, .10);
}

.media-mode-tabs input {
  accent-color: var(--p);
}

.mode-panel {
  display: none;
}

.mode-panel.active {
  display: block;
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 20px;
  border: 2px dashed rgba(106, 17, 203, .24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(106, 17, 203, .04), rgba(37, 117, 252, .04));
  text-align: center;
  cursor: pointer;
  transition: .15s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: rgba(106, 17, 203, .55);
  background: linear-gradient(135deg, rgba(106, 17, 203, .08), rgba(37, 117, 252, .08));
  transform: translateY(-1px);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-zone b {
  color: var(--dark);
  font-size: 14px;
}

.upload-zone small {
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.upload-zone-wide {
  min-height: 180px;
}

.upload-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(37, 117, 252, .22);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.gallery-file-thumb {
  position: relative;
  min-height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: var(--sh2);
}

.gallery-file-thumb img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.gallery-file-thumb button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, .74);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.gallery-file-thumb span {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-file-name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-frame {
  position: relative;
}


/* ===== COMPACT MEDIA + ADMIN ENTITY SIDEBAR ===== */
.eo-side-compact {
  gap: 10px;
  overflow-y: auto;
  padding: 14px 10px;
}

.eo-side-compact .eo-logo {
  padding: 6px 8px 12px;
}

.admin-entity-block {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  padding: 10px;
}

.admin-entity-block.active {
  border-color: rgba(106,17,203,.45);
  background: linear-gradient(135deg, rgba(106,17,203,.16), rgba(37,117,252,.08));
}

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

.admin-entity-head span {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-entity-head a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 9px;
  background: #fff;
  color: var(--p);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-entity-list {
  display: grid;
  gap: 7px;
}

.admin-entity-list a {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 6px;
  border-radius: 12px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
  transition: .15s;
}

.admin-entity-list a:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
}

.admin-entity-list img {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.admin-entity-list b {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-entity-list small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  padding: 12px;
}

.compact-card b,
.compact-card p {
  flex: 0 0 100%;
}

.compact-card a {
  height: 28px;
  padding: 0 9px;
  font-size: 11px;
}

/* area reduction: media takes much less vertical screen space */
.hero {
  gap: 18px !important;
}

.hero .hero-media {
  width: min(100%, 420px) !important;
  min-height: 0 !important;
  height: 170px !important;
  max-height: 170px !important;
  border-radius: 18px !important;
  justify-self: end;
}

.hero-media .hero-overlay {
  inset: auto 10px 10px 10px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
}

.hero-media .hero-overlay b {
  font-size: 13px !important;
}

.hero-media .hero-overlay span {
  font-size: 11px !important;
}

.cover-media,
.card-media,
.case-cover-photo {
  min-height: 0 !important;
  height: 112px !important;
  border-radius: 14px !important;
}

.cover-overlay,
.case-cover-overlay {
  inset: auto 8px 8px 8px !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
}

.cover-overlay b,
.case-cover-overlay b {
  font-size: 11px !important;
}

.cover-overlay span,
.case-cover-overlay span,
.cover-badge {
  font-size: 10px !important;
}

.cover-badge {
  padding: 4px 7px !important;
}

.article-cover,
.article-inline-image {
  max-width: 620px;
  margin: 14px 0 18px !important;
  border-radius: 16px !important;
}

.article-cover img,
.article-inline-image img {
  height: 190px !important;
  object-fit: cover;
}

.related-card-thumb {
  height: 105px !important;
}

.gallery-carousel {
  padding: 10px !important;
  border-radius: 16px !important;
}

.gallery-slide img {
  height: 150px !important;
}

.gallery-slide figure {
  border-radius: 14px !important;
}

.gallery-slide figcaption,
.article-inline-image figcaption {
  padding: 8px 10px 0 !important;
  font-size: 11px !important;
}

.carousel-nav {
  width: 32px !important;
  height: 32px !important;
  font-size: 16px !important;
}

.carousel-nav.left {
  left: 10px !important;
  top: calc(50% - 16px) !important;
}

.carousel-nav.right {
  right: 10px !important;
  top: calc(50% - 16px) !important;
}

.carousel-dots {
  margin-top: 8px !important;
}

.carousel-dot {
  width: 8px !important;
  height: 8px !important;
}

.media-block {
  padding: 12px !important;
  border-radius: 16px !important;
  margin-top: 12px !important;
}

.media-block .form-grid {
  gap: 10px !important;
}

.media-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

.media-card {
  padding: 8px !important;
  border-radius: 14px !important;
}

.media-card-title {
  font-size: 11px !important;
  margin-bottom: 6px !important;
}

.image-frame,
.image-placeholder {
  min-height: 0 !important;
  height: 82px !important;
  border-radius: 10px !important;
}

.gallery-preview {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.gallery-preview-thumb,
.gallery-file-thumb {
  min-height: 0 !important;
  height: 84px !important;
  border-radius: 10px !important;
}

.gallery-file-thumb img,
.gallery-preview-thumb img {
  height: 84px !important;
}

.gallery-file-thumb span {
  padding: 4px 6px !important;
  font-size: 9px !important;
}

.gallery-file-thumb button {
  top: 5px !important;
  right: 5px !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 14px !important;
}

.upload-zone {
  min-height: 76px !important;
  padding: 10px !important;
  gap: 3px !important;
  border-radius: 12px !important;
}

.upload-zone-wide {
  min-height: 86px !important;
}

.upload-ico {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
}

.upload-zone b {
  font-size: 12px !important;
}

.upload-zone small,
.input-hint {
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.media-mode-tabs {
  gap: 4px !important;
  padding: 3px !important;
}

.media-mode-tabs label {
  padding: 5px 7px !important;
  font-size: 10px !important;
}

.gallery-toolbar {
  margin-top: 6px !important;
  font-size: 10px !important;
}

.featured-panel .cover-media {
  height: 145px !important;
}

.featured-panel-body {
  padding: 12px 14px !important;
}

.featured-panel-body h3 {
  font-size: 20px !important;
}

.stat-card {
  padding: 12px !important;
}

.stat-card b {
  font-size: 24px !important;
}

.case-metrics-grid {
  margin: 14px 0 !important;
  gap: 10px !important;
}

.case-metrics-grid .metric-card {
  padding: 10px !important;
  border-radius: 14px !important;
}

.case-metrics-grid .metric-card b {
  font-size: 22px !important;
}

@media (max-width: 900px) {
  .hero .hero-media {
    justify-self: stretch;
    width: 100% !important;
    height: 150px !important;
  }

  .media-preview {
    grid-template-columns: 1fr 1fr !important;
  }

  .media-card.media-card-wide {
    grid-column: span 2 !important;
  }

  .gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .media-preview,
  .gallery-preview {
    grid-template-columns: 1fr 1fr !important;
  }

  .media-card.media-card-wide {
    grid-column: span 2 !important;
  }

  .admin-entity-list a {
    grid-template-columns: 78px 1fr;
  }

  .admin-entity-list img {
    width: 78px;
    height: 50px;
  }
}

/* ===== Admin entity pages: sidebar only has sections, lists live on pages ===== */
.admin-list-section {
  padding-top: 28px;
}

.admin-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-list-head h1 {
  color: var(--dark);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 8px 0 6px;
}

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

.admin-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--sh2);
}

.admin-row > img {
  width: 100px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  background: #e2e8f0;
}

.admin-row h3 {
  color: var(--dark);
  font-size: 17px;
  line-height: 1.3;
  margin: 6px 0 4px;
}

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

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tariff-admin-list .admin-row > img {
  height: 68px;
}

.eo-side .eo-side-card a + a {
  margin-left: 6px;
}

/* compact image mode */
.hero-media {
  min-height: 210px !important;
  max-height: 300px;
}

.cover-media,
.card-media,
.case-cover-photo {
  min-height: 120px !important;
  margin-bottom: 15px;
}

.article-cover {
  max-height: 310px;
}

.article-cover img {
  max-height: 310px;
}

.article-inline-image {
  max-height: 260px;
}

.article-inline-image img {
  max-height: 220px;
}

.gallery-slide img {
  height: 240px !important;
}

.media-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.image-frame,
.image-placeholder {
  min-height: 92px !important;
}

.gallery-preview-thumb {
  min-height: 78px !important;
}

.related-card-thumb {
  height: 110px !important;
}

@media (max-width: 840px) {
  .admin-list-head {
    flex-direction: column;
  }

  .admin-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .admin-row > img {
    width: 84px;
    height: 64px;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}


/* ===== Admin filters, selection and responsive hardening ===== */
.admin-tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.tag-cloud,
.bulk-panel,
.admin-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-cloud button,
.bulk-panel button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--sh2);
  transition: .16s ease;
}

.tag-cloud button:hover,
.tag-cloud button.active,
.bulk-panel button:hover {
  border-color: rgba(37,117,252,.35);
  background: rgba(37,117,252,.08);
  color: var(--p2);
}

.bulk-panel {
  justify-content: flex-end;
}

.bulk-panel span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.bulk-panel .danger {
  color: #dc2626;
}

.bulk-panel .danger:hover {
  border-color: rgba(220,38,38,.28);
  background: rgba(220,38,38,.08);
  color: #b91c1c;
}

.eo-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  user-select: none;
}

.eo-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.eo-check span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(100,116,139,.34);
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff, var(--sh2);
  position: relative;
  transition: .16s ease;
}

.eo-check span:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.72);
  transition: .16s ease;
}

.eo-check input:checked + span {
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(37,117,252,.24);
}

.eo-check input:checked + span:after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.eo-check em {
  font-style: normal;
}

.admin-row-check em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.admin-row {
  grid-template-columns: 34px 100px minmax(0, 1fr) auto;
}

.admin-row.is-human-reviewed {
  background: rgb(231 255 235);
}

.admin-row.is-selected {
  border-color: rgba(37,117,252,.36);
  box-shadow: 0 12px 34px rgba(37,117,252,.12);
}

.admin-row.is-inactive {
  opacity: .72;
}

.admin-row-body {
  min-width: 0;
}

.admin-row h3,
.admin-row p,
.meta {
  overflow-wrap: anywhere;
}

.eo-top,
.eo-actions,
.actions,
.card-actions,
.admin-row-actions {
  min-width: 0;
}

.btn,
.small,
.tag-cloud button,
.bulk-panel button {
  white-space: normal;
  text-align: center;
}

@media (max-width: 980px) {
  .admin-tools {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .bulk-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .admin-row {
    grid-template-columns: 28px 84px minmax(0, 1fr);
  }

  .admin-row-actions {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  .eo-top {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .eo-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .eo-actions .btn {
    flex: 1 1 140px;
  }

  .admin-list-head .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-row {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: flex-start;
  }

  .admin-row > img {
    grid-column: 2 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .admin-row-body,
  .admin-row-actions {
    grid-column: 2 / -1;
  }

  .bulk-panel button,
  .tag-cloud button {
    flex: 1 1 auto;
  }
}


@media (max-width: 1120px) {
  .eo-app {
    display: block;
  }

  .eo-side {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    max-width: calc(100vw - 24px);
  }

  .eo-side.open {
    left: 0;
  }

  .eo-main {
    width: 100%;
  }
}


/* Case announcement cards do not use preview images */
.case-card {
  align-content: start;
}

.case-grid .case-card > .card-top:first-child {
  margin-top: 0;
}

.admin-list .admin-row:not(:has(> img)) {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

@media (max-width: 840px) {
  .admin-list .admin-row:not(:has(> img)) {
    grid-template-columns: 28px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .admin-list .admin-row:not(:has(> img)) .admin-row-body,
  .admin-list .admin-row:not(:has(> img)) .admin-row-actions {
    grid-column: 2 / -1;
  }
}


/* ===== Gutenberg-like block editor ===== */
.block-builder {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
  margin: 18px 0;
}

.block-library,
.block-workspace,
.block-preview-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--sh2);
  padding: 14px;
  min-width: 0;
}

.block-library {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 8px;
}

.block-library button,
.block-add-inline {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  transition: .16s ease;
}

.block-library button:hover,
.block-add-inline:hover {
  border-color: rgba(37,117,252,.36);
  background: rgba(37,117,252,.07);
}

.block-library button span,
.block-add-inline span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(37,117,252,.1);
  color: var(--p2);
  font-size: 11px;
  font-weight: 950;
}

.block-library button b,
.block-add-inline b {
  font-size: 12px;
  line-height: 1.2;
}

.block-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.block-workspace-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.block-canvas {
  display: grid;
  gap: 10px;
}

.content-block {
  border: 1px solid rgba(148,163,184,.3);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.content-block-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  background: linear-gradient(180deg,rgba(248,250,252,.95),rgba(241,245,249,.82));
  border-bottom: 1px solid rgba(148,163,184,.2);
}

.content-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 950;
  font-size: 13px;
}

.content-block-title span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
}

.block-controls {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.block-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.block-controls button:hover {
  background: rgba(37,117,252,.08);
  color: var(--p2);
}

.block-controls .danger:hover {
  background: rgba(220,38,38,.08);
  color: #dc2626;
}

.content-block-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.content-block-body .field {
  margin: 0;
}

.content-block-body textarea {
  min-height: 92px;
  resize: vertical;
}

.block-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.block-preview-panel {
  position: sticky;
  top: 78px;
}

.block-preview {
  display: grid;
  gap: 12px;
  color: var(--text);
}

.preview-block {
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  overflow: hidden;
}

.preview-block h2 {
  color: var(--dark);
  font-size: 24px;
  line-height: 1.18;
  margin: 0;
}

.preview-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.preview-image img,
.preview-slider img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

.preview-image.left,
.preview-image.right,
.preview-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
}

.preview-image.right img {
  order: 2;
}

.preview-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.preview-slider-track,
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-stats span {
  border-radius: 12px;
  background: rgba(37,117,252,.08);
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
}

.preview-stats b {
  display: block;
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 3px;
}

.preview-quote {
  border-left: 4px solid var(--p2);
  background: rgba(37,117,252,.06);
}

.preview-cta {
  background: linear-gradient(135deg,rgba(106,17,203,.1),rgba(37,117,252,.12));
}

.preview-cta .small {
  margin-top: 10px;
}

.legacy-body-source {
  display: none !important;
}

@media (max-width: 1180px) {
  .block-builder {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .block-preview-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 760px) {
  .block-builder,
  .block-mini-grid,
  .preview-image.left,
  .preview-image.right,
  .preview-split,
  .preview-slider-track,
  .preview-stats {
    grid-template-columns: 1fr;
  }

  .block-library,
  .block-preview-panel {
    position: static;
  }

  .block-workspace-head {
    flex-direction: column;
  }
}


/* ===== Single announcement image field ===== */
.announcement-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--sh2);
  padding: 14px;
  margin: 18px 0;
}

.announcement-media p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.announcement-preview {
  min-height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
}

.announcement-preview img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: block;
  object-fit: cover;
}

@media (max-width: 760px) {
  .announcement-media {
    grid-template-columns: 1fr;
  }
}


/* Live preview panel removed from block editor */
.block-builder {
  grid-template-columns: 190px minmax(0, 1fr);
}

@media (max-width: 1180px) {
  .block-builder {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .block-builder {
    grid-template-columns: 1fr;
  }
}


.announcement-upload {
  margin-top: 10px;
}

.announcement-upload .upload-ico {
  letter-spacing: 0;
}


/* Wider block library */
.block-builder {
  grid-template-columns: minmax(300px, 300px) minmax(0, 1fr);
}

.block-library {
  min-width: 300px;
}

@media (max-width: 760px) {
  .block-builder {
    grid-template-columns: 1fr;
  }

  .block-library {
    min-width: 0;
    width: 100%;
  }
}


.block-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.block-file-list span {
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(37,117,252,.08);
  color: var(--p2);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}


/* ===== Multilingual content editor ===== */
.form-note { margin: -4px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.content-form-card { min-width: 0; }

.translation-shell { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(248,250,252,.72); padding: 14px; display: grid; gap: 14px; }
.translation-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.95fr); gap: 14px; align-items: start; }
.translation-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.translation-select { max-width: 360px; justify-self: end; }
.translation-select select,
.public-lang-select select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--dark); padding: 0 38px 0 12px; font-weight: 800; box-shadow: var(--sh2); outline: none; cursor: pointer; }
.translation-select select:focus,
.public-lang-select select:focus { border-color: rgba(106,17,203,.35); box-shadow: 0 0 0 4px rgba(106,17,203,.08); }
.translation-panel { display: none; min-width: 0; }
.translation-panel.active { display: grid; gap: 12px; }
.translation-panel .eofferix-wysiwyg { margin-top: 8px; }

.admin-note-list { display: grid; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.admin-note-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.announcement-empty { min-height: 150px; display: grid; place-items: center; color: var(--muted); font-weight: 800; text-align: center; padding: 16px; }

/* ===== General data row (content editor) ===== */
.eo-general-row {
  display: grid;
  grid-template-columns: 148px 180px 155px 1fr;
  gap: 12px;
  align-items: end;
}
.eo-general-row--no-img {
  grid-template-columns: 148px 1fr 155px;
}

.eo-img-preview-zone {
  display: block;
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 80px;
  width: 80px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  transition: border-color .15s;
}
.eo-img-preview-zone:hover { border-color: var(--p); }
.eo-img-preview-zone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eo-img-preview-zone.has-img { height: 90px; border-style: solid; border-color: var(--line); }
.eo-img-preview-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
    text-align: center;
  font-weight: 700;
  color: var(--muted);
}

/* ===== Admin login page ===== */
.admin-login-wrap { margin: 0; font-family: system-ui; background: #f6f7fb; color: #111827; display: grid; place-items: center; min-height: 100vh; }
.admin-login-card { width: min(420px, calc(100% - 32px)); background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 18px 50px rgba(15,23,42,.1); padding: 28px; }
.admin-login-card h1 { margin: 0 0 18px; }
.admin-login-card label { display: grid; gap: 7px; margin-top: 14px; font-weight: 800; color: #475467; }
.admin-login-card input { height: 46px; border: 1px solid #d0d5dd; border-radius: 12px; padding: 0 12px; font: inherit; width: 100%; box-sizing: border-box; }
.admin-login-card .btn { width: 100%; height: 48px; margin-top: 20px; border: 0; border-radius: 12px; background: #111827; color: #fff; font-weight: 900; cursor: pointer; }
.admin-login-err { background: #fff1f3; color: #b42318; border: 1px solid #ffd7de; border-radius: 12px; padding: 12px; margin: 12px 0; }

@media (max-width: 980px) {
  .translation-head { grid-template-columns: 1fr; }
  .translation-select { justify-self: stretch; max-width: none; }
}
@media (max-width: 700px) {
  .eo-general-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .translation-shell,
  .announcement-media { padding: 12px; border-radius: 14px; }
}

/* ===== Codex visual refresh: public/static pages ===== */
.eo-public {
  background:
    linear-gradient(180deg, #f5fbfa 0%, #fff 36%, #f2f6fb 100%);
}

.eo-public .eo-page {
  position: relative;
}

.eo-public .hero {
  border-color: rgba(28,45,68,.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,251,250,.88)),
    linear-gradient(120deg, rgba(106,17,203,.09), transparent 42%, rgba(37,117,252,.08));
  box-shadow: 0 24px 70px rgba(18,32,51,.1);
  overflow: hidden;
}

.eo-public .hero:after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(106,17,203,.13), transparent 70%);
  pointer-events: none;
}

.eo-public .hero .label,
.eo-public .article .label {
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.18);
  color: var(--p);
}

.eo-public .hero h1,
.eo-public .article h1 {
  color: #122033;
  text-wrap: balance;
  font-weight: 600;
}

.eo-public .cards {
  align-items: stretch;
}

.eo-public .card {
  border-color: rgba(28,45,68,.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,252,252,.94));
  box-shadow: 0 14px 38px rgba(18,32,51,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.eo-public .card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106,17,203,.08), transparent 44%, rgba(37,117,252,.08));
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.eo-public .card:hover {
  transform: translateY(-6px);
  border-color: rgba(106,17,203,.22);
  box-shadow: 0 24px 64px rgba(18,32,51,.12);
}

.eo-public .card:hover:before {
  opacity: 1;
}

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

.eo-public .article {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(28,45,68,.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,253,.96));
  box-shadow: 0 22px 64px rgba(18,32,51,.09);
  overflow: hidden;
}

.eo-public .article:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--grad);
}

.eo-public .article h1 {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -.025em;
  margin-bottom: 18px;
}

.eo-public .article .note {
  display: inline-flex;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.18);
  color: var(--p);
  font-weight: 800;
}

.eo-register-cta {
  background:
    var(--grad) !important;
  box-shadow: 0 28px 72px rgba(37,117,252,.26);
}

.eo-register-cta:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent);
  pointer-events: none;
}

.eo-register-cta a {
  color: var(--p) !important;
  position: relative;
  overflow: hidden;
}

.eo-register-cta a:after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(106,17,203,.16), transparent);
  transition: transform .55s ease;
}

.eo-register-cta a:hover:after {
  transform: translateX(120%);
}

.eo-public-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.eo-public-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Public pricing page ===== */
.pricing-page {
  display: grid;
  gap: 24px;
}

.pricing-hero {
  display: block;
  padding: 12px 0 6px;
}

.pricing-hero__copy {
  min-height: 100%;
  padding: 34px;
  border: 1px solid rgba(28,45,68,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 64px rgba(18,32,51,.08);
}

.pricing-hero__copy h1 {
  margin: 0 0 14px;
  color: #122033;
  font-size: 46px;
  line-height: 1.05;
}

.pricing-hero > h1 {
  position: relative;
  width: fit-content;
  margin: 0 0 12px;
  padding-bottom: 10px;
  color: #122033;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 600;
}

.pricing-hero > h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.pricing-hero__copy p {
  margin: 0;
  max-width: 760px;
  color: #526176;
  font-size: 17px;
  line-height: 1.72;
}

.payment-current-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(106,17,203,.96), rgba(59,91,255,.94) 58%, rgba(37,117,252,.94));
  box-shadow: 0 26px 70px rgba(64,54,188,.24);
}

.payment-current-card__eyebrow {
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.payment-current-card h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
}

.payment-current-card p {
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.68;
}

.payment-current-card__meta,
.pricing-plan-card__limits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(15,23,42,.045);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.payment-current-card .pricing-pill {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}

.pricing-section {
  display: grid;
  gap: 18px;
}

.pricing-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.pricing-section__head h2 {
  margin: 0 0 6px;
  color: #122033;
  font-size: 30px;
  line-height: 1.18;
}

.pricing-section__head p {
  margin: 0;
  max-width: 820px;
  color: #64748b;
  line-height: 1.65;
}

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

.pricing-plan-card,
.pricing-addon-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(15,23,42,.045);
}

.pricing-plan-card--free {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
}

.pricing-plan-card--start {
  border-color: rgba(106,17,203,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,240,255,.95));
}

.pricing-plan-card--pro {
  border-color: rgba(37,117,252,.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,246,255,.95));
}

.pricing-plan-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.pricing-plan-card__eyebrow {
  margin-bottom: 8px;
  color: var(--p);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-plan-card__head h3 {
  margin: 0;
  color: #122033;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
}

.pricing-addon-card__head h3 {
  margin: 0;
  color: #122033;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
}

.pricing-plan-card__credits-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pricing-plan-card__credits {
  color: #1f2a44;
  font-size: 17px;
  font-weight: 600;
}

.pricing-credits-help {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.pricing-credits-help summary {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106,17,203,.2);
  border-radius: 50%;
  background: #fff;
  color: var(--p);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
}

.pricing-credits-help summary::-webkit-details-marker {
  display: none;
}

.pricing-credits-help__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 20;
  width: min(320px, calc(100vw - 48px));
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;
  color: #475569;
  box-shadow: 0 20px 48px rgba(15,23,42,.18);
}

.pricing-credits-help__panel strong {
  color: #122033;
  font-size: 14px;
}

.pricing-credits-help__panel p,
.pricing-credits-help__panel ul {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.pricing-credits-help__panel ul {
  padding-left: 18px;
}

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

.pricing-price-block {
  display: grid;
  gap: 6px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(15,23,42,.035);
}

.pricing-price-block__label {
  color: #64748b;
  font-size: 13px;
}

.pricing-price-block strong {
  color: #122033;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.pricing-plan-card__free-price {
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(29,158,117,.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29,158,117,.1), rgba(37,117,252,.06));
  color: #0f766e;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.15;
}

.pricing-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 25px;
  color: #475569;
  line-height: 1.62;
}

.pricing-feature-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .56em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.pricing-plan-card__free-note,
.pricing-addon-card__single-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15,23,42,.04);
  color: #64748b;
  line-height: 1.55;
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37,117,252,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.pricing-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37,117,252,.28);
}

.pricing-button--secondary {
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.14);
  color: var(--p);
  box-shadow: none;
}

.pricing-cluster {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.72fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow: 0 18px 46px rgba(15,23,42,.045);
}

.pricing-cluster--servers {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,240,255,.95) 52%, rgba(239,247,255,.94));
}

.pricing-cluster__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-right: 4px;
}

.pricing-cluster__head h2 {
  margin: 0;
  color: #122033;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 600;
}

.pricing-cluster__head p {
  margin: 0;
  color: #64748b;
  line-height: 1.62;
}

.pricing-cluster__note {
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid rgba(106,17,203,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.66);
  color: #526176;
  font-size: 14px;
  line-height: 1.5;
}

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

.pricing-server-option {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.pricing-server-option span {
  color: #122033;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.pricing-server-option strong,
.pricing-addon-price {
  color: #122033;
  font-size: 19px;
  font-weight: 700;
}

.pricing-server-option a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(106,17,203,.08);
  border: 1px solid rgba(106,17,203,.14);
  color: var(--p);
  font-size: 13px;
  font-weight: 700;
}

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

.pricing-addons-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 18px 46px rgba(15,23,42,.055);
}

.pricing-addons-panel__head {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.pricing-addons-panel__head h2 {
  margin: 0;
  color: #122033;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 600;
}

.pricing-addons-panel__head p {
  margin: 0;
  color: #64748b;
  line-height: 1.62;
}

.pricing-addons-panel .pricing-addon-card {
  position: relative;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  min-height: 132px;
  padding: 18px 20px;
  border-color: rgba(148,163,184,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}

.pricing-addons-panel .pricing-addon-card:before {
  content: "";
  grid-row: 1 / 3;
  align-self: stretch;
  width: 3px;
  min-height: 76px;
  border-radius: 99px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  box-shadow: 0 8px 18px rgba(106,17,203,.24);
}

.pricing-addons-panel .pricing-addon-card__head,
.pricing-addons-panel .pricing-addon-price {
  grid-column: 2;
}

.pricing-addons-panel .pricing-addon-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: auto;
}

.pricing-addons-panel .pricing-addon-price {
  justify-self: start;
  padding: 8px 12px;
  border: 1px solid rgba(106,17,203,.12);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(106,17,203,.08), rgba(37,117,252,.06));
}

.pricing-addon-card__head p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.62;
}

.pricing-page .eo-register-cta {
  width: 100%;
  margin-top: 6px;
  padding: 26px 30px;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(37,117,252,.2);
}

.pricing-page .eo-register-cta h2 {
  font-weight: 600;
}

.pricing-page .eo-register-cta a {
  font-weight: 700;
}

/* ===== Support ===== */
.support-page {
  display: grid;
  gap: 28px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 26px;
  align-items: stretch;
  padding: 18px 0 0;
}

.support-hero__copy {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-hero h1,
.support-section h2,
.support-panel h2 {
  position: relative;
  margin: 0;
  padding-bottom: 12px;
  color: var(--dark);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.support-hero h1:after,
.support-section h2:after,
.support-panel h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.support-hero__copy p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.support-email-card,
.support-topic-card,
.support-panel,
.support-note {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15,23,42,.07);
}

.support-email-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 28px;
}

.support-email-card > span,
.support-topic-card__index {
  color: var(--p);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.support-email-card__mail {
  color: var(--dark);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.support-email-card p,
.support-topic-card p,
.support-panel span,
.support-note p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.support-email-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.support-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  font-weight: 800;
  transition: .15s;
}

.support-btn:hover {
  border-color: rgba(37,117,252,.35);
  color: var(--p);
}

.support-btn--primary {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37,117,252,.22);
}

.support-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.support-section,
.support-workflow {
  display: grid;
  gap: 18px;
}

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

.support-topic-card {
  padding: 22px;
}

.support-topic-card h3 {
  margin: 12px 0 8px;
  color: var(--dark);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
}

.support-workflow {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  align-items: stretch;
}

.support-panel {
  padding: 24px;
}

.support-panel--muted {
  background: #f8fafc;
}

.support-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: support-list;
}

.support-checklist li {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 42px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  counter-increment: support-list;
}

.support-checklist li:before {
  content: counter(support-list);
  position: absolute;
  left: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(106,17,203,.1);
  color: var(--p);
  font-size: 11px;
  font-weight: 900;
}

.support-route-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.support-route-list div {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
}

.support-route-list strong {
  color: var(--dark);
  font-size: 14px;
  font-weight: 750;
}

.support-note {
  padding: 18px 22px;
  background:
    linear-gradient(135deg, rgba(106,17,203,.06), rgba(37,117,252,.06)),
    #fff;
}

.support-note p {
  color: #334155;
  font-weight: 700;
}

/* ===== Documentation ===== */
.docs-page,
.docs-detail-page {
  display: grid;
  gap: 24px;
}

.docs-hero {
  display: block;
  padding: 12px 0 6px;
}

.docs-hero h1 {
  position: relative;
  width: fit-content;
  margin: 0 0 12px;
  padding-bottom: 10px;
  color: #122033;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.docs-hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.docs-hero-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}

.docs-hero-search input,
.docs-toolbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #122033;
  font: inherit;
  font-weight: 750;
}

.docs-hero-search input {
  height: 42px;
  padding: 0 10px;
}

.docs-hero-search button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.docs-shell,
.docs-detail-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.docs-detail-shell {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 38px rgba(15,23,42,.05);
}

.docs-sidebar--detail {
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.docs-sidebar__title,
.docs-toc__title {
  color: #122033;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.docs-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  text-align: left;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.docs-filter b {
  color: #94a3b8;
  font-size: 12px;
}

.docs-filter:hover,
.docs-filter.is-active,
.docs-sidebar__link:hover,
.docs-sidebar__link.is-current,
.docs-sidebar__back:hover {
  background: rgba(106,17,203,.08);
  color: var(--p);
}

.docs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
}

.docs-toolbar input {
  height: 34px;
}

.docs-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.docs-category {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.docs-category__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.docs-category__head h2 {
  margin: 0;
  color: #122033;
  font-size: 24px;
}

.docs-category__head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.docs-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 20px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 38px rgba(15,23,42,.05);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.docs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(106,17,203,.22);
  box-shadow: 0 22px 50px rgba(15,23,42,.09);
}

.docs-card strong {
  color: #122033;
  font-size: 20px;
  line-height: 1.22;
}

.docs-card span {
  color: #526176;
  line-height: 1.58;
}

.docs-card em {
  align-self: end;
  color: var(--p);
  font-style: normal;
  font-weight: 900;
}

.docs-empty {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: var(--muted);
  font-weight: 800;
}

.docs-sidebar__back,
.docs-sidebar__link,
.docs-toc__link {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: #526176;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.docs-sidebar__back {
  color: var(--p);
  background: rgba(106,17,203,.07);
}

.docs-sidebar__group {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}

.docs-article {
  min-width: 0;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 58px rgba(15,23,42,.07);
  overflow: hidden;
}

.docs-article__head {
  padding: 30px 24px 36px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.docs-article__head h1 {
  margin: 0 0 12px;
  color: #122033;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
}

.docs-article__head p {
  margin: 0;
  max-width: 820px;
  color: #526176;
  font-size: 17px;
  line-height: 1.7;
}

.docs-article__meta {
  margin-top: 14px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.docs-article-content {
  padding: 30px 24px 36px;
}

.docs-article-content h2,
.docs-article-content h3 {
  scroll-margin-top: 92px;
}

.docs-article-content h2 {
  margin-top: 30px;
  padding-top: 4px;
  color: #122033;
  font-size: 26px;
}

.docs-article-content h2:first-child {
  margin-top: 0;
}

.docs-article-content h3 {
  margin-top: 22px;
  padding-bottom: 15px;
  color: #1f2a44;
  font-size: 20px;
}

.docs-article-content p,
.docs-article-content li {
  color: #475569;
  line-height: 1.75;
}

.docs-article-content p:has(+ p) {
  padding-bottom: 10px;
}

.docs-table-wrap {
  margin: 16px 0 24px;
  overflow-x: auto;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
}

.docs-offer-example {
  margin: 12px 0 6px;
  overflow-x: auto;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
}

.docs-offer-example__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.35;
}

.docs-article-content .docs-offer-example__table {
  min-width: 560px;
}

.docs-article-content table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.docs-article-content th,
.docs-article-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  text-align: left;
  vertical-align: top;
}

.docs-article-content th {
  background: #f8fafc;
  color: #122033;
  font-weight: 900;
}

.docs-article-content td {
  color: #334155;
}

.docs-article-content tr:last-child td {
  border-bottom: 0;
}

.docs-ba-tables {
  margin: 18px 0 26px;
}

.docs-ba-tables__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.docs-ba-tables--stacked .docs-ba-tables__grid {
  grid-template-columns: minmax(0, 1fr);
}

.docs-ba-tables__label {
  margin: 0 0 8px;
  color: #334155;
  font-weight: 800;
  line-height: 1.3;
}

.docs-ba-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.docs-article-content .docs-ba-table {
  width: 100%;
  min-width: 0;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.3;
}

.docs-article-content .docs-ba-table th,
.docs-article-content .docs-ba-table td {
  padding: 7px 8px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.docs-article-content .docs-ba-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.docs-article-content .docs-ba-table td {
  color: #334155;
}

.docs-article-content .docs-ba-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 920px) {
  .docs-ba-tables__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.docs-article-content ul,
.docs-article-content ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding-left: 22px;
}

.docs-article-content code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(15,23,42,.06);
  color: #122033;
  font-size: .92em;
}

.docs-article-content pre code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.docs-article-content figure img,
.docs-article-content p > img,
.docs-article-content > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px 0;
  cursor: zoom-in;
}

.docs-article-content figure img:focus-visible,
.docs-article-content p > img:focus-visible,
.docs-article-content > img:focus-visible {
  outline: 3px solid rgba(106,17,203,.42);
  outline-offset: 4px;
}

.docs-image-zoom {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8,13,25,.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .14s ease;
}

.docs-image-zoom.is-open {
  opacity: 1;
}

.docs-image-zoom-open {
  overflow: hidden;
}

.docs-image-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.docs-image-zoom__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1240px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  overflow: hidden;
}

.docs-image-zoom__canvas {
  overflow: auto;
  background: #f8fafc;
  -webkit-overflow-scrolling: touch;
}

.docs-image-zoom__image {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
}

.docs-image-zoom__caption {
  padding: 13px 18px;
  border-top: 1px solid rgba(226,232,240,.95);
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.docs-image-zoom__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148,163,184,.34);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: #122033;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
  cursor: pointer;
}

.docs-image-zoom__close:hover {
  color: var(--p);
}

.docs-toc {
  gap: 4px;
}

.docs-toc__tag-title {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.docs-toc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  padding: 2px 0 12px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.docs-toc__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(106,17,203,.16);
  border-radius: 10px;
  background: rgba(106,17,203,.07);
  color: var(--p);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.docs-toc__link:hover {
  color: var(--p);
  background: rgba(106,17,203,.06);
}

.docs-toc__link--3 {
  padding-left: 22px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .eo-public-reveal,
  .eo-public .card,
  .pricing-button,
  .docs-card {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .pricing-plan-grid,
  .pricing-server-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-cluster {
    grid-template-columns: 1fr;
  }

  .pricing-cluster__note {
    margin-top: 0;
  }

  .docs-shell,
  .docs-detail-shell {
    grid-template-columns: 1fr;
  }

  .docs-sidebar,
  .docs-toc {
    position: static;
  }

  .docs-sidebar--detail {
    max-height: none;
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-dropdown-panel--grouped {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-dropdown-group--extra {
    grid-column: 1 / -1;
  }

  .nav-dropdown-group--extra .nav-dropdown-group__items {
    grid-template-columns: 1fr;
  }

  .pricing-plan-grid,
  .pricing-addon-grid,
  .pricing-server-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero__copy,
  .payment-current-card,
  .pricing-plan-card,
  .pricing-addon-card,
  .pricing-cluster,
  .pricing-addons-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .pricing-hero > h1,
  .pricing-hero__copy h1 {
    font-size: 34px;
  }

  .pricing-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-section__head h2 {
    font-size: 26px;
  }

  .pricing-cluster__head h2 {
    font-size: 24px;
  }

  .pricing-plan-card__pricing {
    grid-template-columns: 1fr;
  }

  .docs-hero {
    padding-top: 4px;
  }

  .docs-hero h1 {
    font-size: 30px;
  }

  .docs-hero-search,
  .docs-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-hero-search button {
    width: 100%;
  }

  .docs-list {
    grid-template-columns: 1fr;
  }

  .docs-article__head h1 {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  .eo-public .eo-page {
    padding: 30px 5px 40px;
  }

  .docs-detail-page {
    gap: 10px;
  }

  .docs-article__head,
  .docs-article-content {
    padding: 20px 15px 25px;
  }

  .docs-image-zoom {
    align-items: stretch;
    padding: 10px;
  }

  .docs-image-zoom__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .docs-image-zoom__image {
    min-width: 1100px;
  }

  .support-hero,
  .support-workflow,
  .support-topic-grid,
  .support-checklist {
    grid-template-columns: 1fr;
  }

  .support-hero {
    gap: 18px;
  }

  .support-hero__copy {
    min-height: 0;
  }

  .support-hero h1,
  .support-section h2,
  .support-panel h2 {
    font-size: 28px;
  }

  .support-hero__copy p {
    font-size: 16px;
  }

  .support-email-card,
  .support-panel,
  .support-topic-card {
    padding: 20px;
  }

  .support-email-card__actions {
    flex-direction: column;
  }

  .eo-public .hero,
  .eo-public .article,
  .eo-register-cta {
    border-radius: 20px;
  }

  .eo-register-cta {
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }
}
