:root {
  --ink: #111827;
  --text: #273242;
  --muted: #687386;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --line: #dfe7ef;
  --line-strong: #cfd9e5;
  --lime: #8fd11f;
  --lime-dark: #53a312;
  --lime-hot: #63d900;
  --teal: #12a5a6;
  --teal-dark: #078486;
  --deep: #073a4a;
  --deep-ink: #071126;
  --blue: #1875f0;
  --vk: #2f7be7;
  --amber: #f1a51e;
  --red: #ee4141;
  --shadow: 0 22px 64px rgba(29, 41, 57, 0.11);
  --shadow-soft: 0 12px 36px rgba(29, 41, 57, 0.08);
  --shadow-brand: 0 28px 80px rgba(7, 58, 74, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 72% 5%, rgba(18, 165, 166, 0.24), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(99, 217, 0, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f0f7f9 46%, #ffffff 100%);
  line-height: 1.55;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

svg {
  display: block;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(405px, 0.8fr) minmax(440px, 1.45fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 231, 239, 0.9);
  box-shadow: 0 10px 38px rgba(7, 58, 74, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--lime-dark);
  filter: drop-shadow(0 10px 16px rgba(7, 58, 74, 0.18));
}

.brand-mark img,
.brand-mark svg {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand em {
  display: block;
  color: var(--lime-dark);
  font-size: 19px;
  font-style: normal;
  line-height: 1.05;
}

.main-nav,
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #3d4655;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a,
nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after,
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a.active,
nav a:hover {
  color: var(--ink);
}

.main-nav a.active::after {
  background: var(--lime);
}

.channel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(7, 58, 74, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.channel-link:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 165, 166, 0.32);
  box-shadow: 0 16px 34px rgba(7, 58, 74, 0.12);
}

.channel-link.vk {
  color: var(--vk);
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.vk-icon {
  border-radius: 7px;
  background: var(--vk);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.launch-hero {
  position: relative;
  padding: 64px clamp(20px, 5vw, 76px) 34px;
}

.launch-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 14%, rgba(99, 217, 0, 0.18), transparent 30%),
    radial-gradient(circle at 72% 6%, rgba(18, 165, 166, 0.16), transparent 30%);
}

.hero-title {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.eyebrow,
.mini-label {
  display: inline-block;
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title h1 {
  margin: 10px 0 14px;
  color: var(--deep-ink);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-title p {
  margin: 0 auto;
  max-width: 720px;
  color: #435569;
  font-size: clamp(17px, 2vw, 21px);
}

.task-launcher {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(197, 215, 226, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 72px rgba(7, 58, 74, 0.16);
}

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

.launcher-head h2,
h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.08;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(117, 205, 25, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #f6ffe8, #eafbd9);
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.task-input {
  display: grid;
  gap: 8px;
}

.task-input span {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.task-input textarea {
  width: 100%;
  min-height: 74px;
  resize: vertical;
  padding: 16px 18px;
  border: 1px solid #cddde8;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
}

.task-input textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 165, 166, 0.12);
}

.launcher-controls {
  display: grid;
  grid-template-columns: auto auto minmax(196px, 0.42fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8e5ee;
  border-radius: 12px;
  background: #f7fbfd;
}

.link-panel[hidden] {
  display: none;
}

.link-panel label {
  display: grid;
  gap: 7px;
}

.link-panel span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.link-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cddde8;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.link-panel input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 165, 166, 0.12);
}

.task-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.soft-button,
.market-switch button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 12px;
  font-weight: 900;
}

.soft-button {
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #d8e5ee;
  background: linear-gradient(180deg, #ffffff, #f5fafc);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(7, 58, 74, 0.06);
}

.control-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: #536073;
}

.control-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.file-icon {
  color: var(--blue);
}

.link-icon {
  color: var(--teal);
}

.market-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #d8e5ee;
  border-radius: 12px;
  background: #f7fbfd;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.market-switch::-webkit-scrollbar {
  display: none;
}

.market-switch button {
  gap: 0;
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}

.market-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.market-switch button:first-child {
  border-left: 0;
  border-radius: 11px 0 0 11px;
}

.market-switch button:last-child {
  border-radius: 0 11px 11px 0;
}

.market-switch button.selected {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f5ffe8);
  box-shadow: inset 0 0 0 1px var(--lime-hot);
}

.market-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 32px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 5px 12px rgba(7, 58, 74, 0.1);
}

.market-badge.ozon {
  background: #005bff;
  font-size: 12px;
  letter-spacing: -0.4px;
  text-transform: lowercase;
}

.market-badge.wb {
  background: linear-gradient(135deg, #7a1fa2 0%, #b824c9 50%, #ec4b9b 100%);
  font-size: 13px;
  letter-spacing: -0.2px;
}

.market-badge.ym {
  position: relative;
  flex-basis: 46px;
  width: 46px;
  min-width: 46px;
  background: linear-gradient(135deg, #ff8a00 0%, #ffb000 48%, #ff4b22 100%);
  overflow: hidden;
}

.market-badge.ym::before {
  content: "";
  position: absolute;
  inset: 5px 8px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff06a 0%, #ffd21a 100%);
  box-shadow: 0 5px 10px rgba(57, 37, 0, 0.18);
  transform: rotate(-1deg);
}

.market-badge.ym span {
  position: relative;
  color: #101827;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 1000;
  line-height: 1;
  transform: skew(-12deg) translateY(1px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 1320px) {
  .launcher-controls {
    grid-template-columns: auto auto minmax(174px, 0.72fr) auto;
  }

  .market-switch {
    grid-template-columns: repeat(3, minmax(58px, 1fr));
  }

  .market-switch button {
    padding: 0 10px;
  }
}

.primary-action {
  gap: 12px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--lime-hot), #46bd00);
  color: #102703;
  box-shadow: 0 18px 34px rgba(82, 195, 0, 0.32);
}

.primary-action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.progress-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #d7e5ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f3f8fb);
}

.progress-strip::before {
  display: none;
}

.progress-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: var(--radius);
  background: #f9fbfd;
}

.progress-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef6ff;
  color: var(--blue);
}

.progress-item.done .progress-icon {
  background: #eef9df;
  color: var(--lime-dark);
}

.progress-item.active .progress-icon {
  background: #e8fbfb;
  color: var(--teal);
}

.progress-item.waiting .progress-icon {
  background: #f1f5f9;
  color: var(--muted);
}

.progress-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.step-state {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--panel);
  color: var(--lime-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(29, 41, 57, 0.12);
}

.step-state.check {
  background: var(--lime);
  color: #173006;
}

.step-state.check::before {
  content: "✓";
  line-height: 1;
}

.step-state.loading {
  border: 3px solid #ffffff;
  border-top-color: var(--teal);
  background: #e8fbfb;
  animation: spin 1s linear infinite;
}

.step-state.queued {
  background: #ffffff;
}

.step-state.queued::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.progress-item strong,
.progress-item em {
  display: block;
}

.progress-item strong {
  color: var(--ink);
  font-size: 16px;
}

.progress-item em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  width: min(1280px, 100%);
  margin: 34px auto 0;
  padding: 22px 24px;
  column-gap: 0;
  row-gap: 18px;
  border: 1px solid rgba(198, 215, 225, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(7, 58, 74, 0.1);
  backdrop-filter: blur(16px);
}

.promise-strip div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 12px;
  padding: 4px 18px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.promise-strip div:first-child {
  border-left: 0;
}

.promise-icon {
  grid-row: 1 / 3;
  display: inline-grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #eef9df;
  color: var(--lime-dark);
}

.promise-icon svg {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  min-width: 26px;
  height: 26px;
  aspect-ratio: 1;
  fill: currentColor;
}

.promise-icon.barcode {
  background: #f0fae7;
}

.promise-icon.image {
  background: #e8fbfb;
  color: var(--teal);
}

.promise-icon.report {
  background: #edf6ff;
  color: var(--blue);
}

.promise-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.promise-strip em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.social-icon,
.control-icon,
.market-badge,
.progress-icon,
.promise-icon,
.module-icon {
  flex-shrink: 0;
  aspect-ratio: 1;
}

.social-icon svg,
.control-icon svg,
.progress-icon svg,
.promise-icon svg,
.module-icon svg,
.primary-action svg {
  flex-shrink: 0;
  max-width: none;
}

.home-modules,
.section {
  padding: 46px clamp(20px, 5vw, 76px) 82px;
}

.module-grid,
.feature-grid,
.tool-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.module-card,
.feature-card,
.tool-grid article,
.account-grid a,
.market-list article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(207, 222, 232, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f9fcfe);
  box-shadow: 0 18px 42px rgba(7, 58, 74, 0.09);
}

.module-card {
  display: grid;
  align-content: start;
  gap: 10px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.module-card:hover,
.feature-card:hover,
.tool-grid article:hover,
.account-grid a:hover,
.market-list article:hover {
  transform: translateY(-2px);
  border-color: rgba(117, 205, 25, 0.36);
  box-shadow: 0 24px 52px rgba(7, 58, 74, 0.13);
}

.module-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: #eef9df;
  color: var(--lime-dark);
}

.module-icon.history {
  background: #e8fbfb;
  color: var(--teal);
}

.module-icon.media {
  background: #fff5df;
  color: var(--amber);
}

.module-icon.account {
  background: #edf6ff;
  color: var(--blue);
}

.module-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.module-card h3,
h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.module-card p,
.feature-card p,
.tool-grid p,
.account-grid p,
.market-list p {
  margin: 0;
  color: var(--muted);
}

.module-card strong {
  margin-top: 10px;
  color: var(--teal);
}

.history-panel {
  width: min(1280px, 100%);
  margin: 28px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.search-intent-section {
  padding: 56px clamp(20px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 250, 253, 0.92)),
    radial-gradient(circle at 8% 16%, rgba(117, 205, 25, 0.16), transparent 30%);
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1280px, 100%);
  margin: 0 auto 22px;
}

.seo-copy-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(207, 222, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.seo-copy-grid span,
.panel-seo-text {
  color: var(--teal);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seo-copy-grid h3 {
  margin: 10px 0 12px;
}

.seo-copy-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.inline-card-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 900;
}

.inline-card-link:hover {
  color: var(--lime-dark);
}

.section-title {
  max-width: 760px;
  margin-bottom: 24px;
}

.account-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 44%, #ffffff 100%);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
  padding: 72px clamp(20px, 5vw, 76px) 42px;
  border-bottom: 1px solid var(--line);
}

.account-hero > div:first-child {
  max-width: 900px;
}

.account-login-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.account-login-card h2 {
  margin: 8px 0;
  font-size: 24px;
}

.account-login-card p {
  color: var(--muted);
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.login-note,
.telegram-connect {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbfd;
}

.login-note strong,
.login-note span,
.telegram-connect span {
  display: block;
}

.login-note strong {
  color: var(--ink);
  font-size: 14px;
}

.login-note span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.telegram-connect {
  background: linear-gradient(180deg, #ffffff, #f4ffe7);
}

.telegram-connect span {
  color: var(--lime-dark);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.telegram-connect ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  width: min(1360px, calc(100% - 40px));
  margin: 46px auto 82px;
  align-items: start;
}

.account-sidebar,
.account-panel,
.account-overview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.account-sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
}

.profile-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: #eef9df;
  color: var(--lime-dark);
  font-weight: 900;
}

.profile-card strong,
.profile-card span {
  display: block;
}

.profile-card span {
  color: var(--muted);
  font-size: 13px;
}

.account-menu {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 900;
}

.account-menu a span {
  color: var(--teal);
  font-size: 12px;
}

.account-menu a.active,
.account-menu a:hover {
  background: var(--soft);
  color: var(--ink);
}

.account-workspace {
  display: grid;
  gap: 22px;
}

.account-overview {
  padding: 26px;
}

.workspace-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.workspace-head h2,
.panel-head h3,
.account-panel h3 {
  margin: 4px 0 0;
}

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

.account-stats article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.account-stats span,
.account-stats em,
.quota-list span,
.task-row em,
.integration-grid span {
  color: var(--muted);
  font-style: normal;
}

.account-stats strong {
  display: block;
  margin: 10px 0 2px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.account-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.account-panel {
  padding: 24px;
}

.task-history {
  display: grid;
  gap: 14px;
}

.panel-head a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--teal);
  font-weight: 900;
}

.task-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.task-row > span {
  width: 12px;
  height: 38px;
  border-radius: 999px;
  background: var(--line-strong);
}

.task-row.done > span {
  background: var(--teal);
}

.task-row.progress > span {
  background: var(--amber);
}

.task-row.blocked > span {
  background: var(--red);
}

.task-row strong,
.task-row em {
  display: block;
}

.task-row b {
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
}

.tariff-panel,
.settings-panel,
.integration-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.tariff-panel p {
  margin: 0;
  color: var(--muted);
}

.quota-list,
.settings-list,
.integration-grid {
  display: grid;
  gap: 10px;
}

.quota-list div,
.integration-grid div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.quota-list strong,
.integration-grid strong {
  color: var(--ink);
}

.panel-seo-text {
  margin: 4px 0 0;
  padding: 14px;
  border: 1px solid rgba(207, 222, 232, 0.9);
  border-radius: var(--radius);
  background: #f7fbfd;
  line-height: 1.5;
  text-transform: none;
}

.settings-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--text);
  font-weight: 700;
}

.settings-list input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
}

.section-title h2 {
  margin-top: 6px;
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
}

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

.history-list {
  display: grid;
  gap: 10px;
}

.history-list button {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--text);
  text-align: left;
}

.history-list button.selected {
  border-color: var(--lime);
  background: #f8fde9;
}

.history-list strong {
  font-size: 15px;
}

.history-list span {
  color: var(--muted);
  font-size: 13px;
}

.dialog-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfdff, #f6f9fc);
}

.dialog-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.dialog-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dialog-row p {
  margin: 0;
  color: var(--text);
}

.dialog-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: #effadf;
  color: #244a08;
}

.dialog-result a {
  color: var(--lime-dark);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  background: #101820;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

/* Secondary pages */
.page {
  background: var(--soft);
}

.page-hero {
  padding: 72px clamp(20px, 5vw, 76px) 58px;
  background: linear-gradient(180deg, #ffffff, #f5f8fb);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead,
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.section {
  background: var(--panel);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  background: #101820;
  color: #ffffff;
}

.section-head {
  width: min(980px, 100%);
  margin-bottom: 34px;
}

.section-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-dark h2,
.section-dark .section-head p {
  color: #ffffff;
}

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

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

.tools-section .section-head {
  width: min(1280px, 100%);
  margin: 0 auto 26px;
}

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

.tool-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 90% 8%, rgba(117, 205, 25, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.tool-card:hover::after,
.tool-card.is-active::after {
  opacity: 1;
}

.tool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tool-card-head strong {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(117, 205, 25, 0.42);
  border-radius: 999px;
  background: #f5ffe8;
  color: var(--lime-dark);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef9df;
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
  box-shadow: inset 0 -10px 18px rgba(7, 58, 74, 0.05);
}

.tool-icon.required {
  background: #fff6df;
  color: #c16a00;
  font-size: 26px;
}

.tool-icon.codes {
  background: #e9fbfb;
  color: var(--teal);
  font-size: 12px;
}

.tool-icon.price {
  background: #eef9df;
  color: var(--lime-dark);
  font-size: 24px;
}

.tool-icon.media {
  background: #edf6ff;
  color: var(--blue);
  font-size: 12px;
}

.tool-icon.compare {
  background: #f2efff;
  color: #7651cc;
  font-size: 22px;
}

.tool-icon.queue {
  background: #edf6ff;
  color: var(--blue);
  font-size: 20px;
}

.tool-icon.rules {
  background: #f4ffe7;
  color: var(--lime-dark);
  font-size: 26px;
}

.tool-card.is-active {
  border-color: rgba(117, 205, 25, 0.82);
  box-shadow: 0 24px 52px rgba(82, 195, 0, 0.14);
}

.tool-card.is-system .tool-card-head strong {
  border-color: rgba(11, 116, 228, 0.24);
  background: #edf6ff;
  color: var(--blue);
}

.tool-card.is-soon .tool-card-head strong {
  border-color: #d9e4ec;
  background: #f4f7f9;
  color: var(--muted);
}

.tool-type {
  margin-bottom: 0 !important;
}

.tool-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.tool-card p {
  max-width: 560px;
}

.tool-card .tool-keywords {
  max-width: none;
  padding: 12px 14px;
  border: 1px solid rgba(207, 222, 232, 0.88);
  border-radius: 12px;
  background: rgba(247, 251, 253, 0.86);
  color: #526173;
  font-size: 14px;
  font-weight: 700;
}

.tool-card ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
}

.tool-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-weight: 700;
}

.tool-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(117, 205, 25, 0.14);
}

.tool-action {
  justify-self: start;
  margin-top: 4px;
}

.tool-seo-section {
  background: #ffffff;
}

.keyword-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.keyword-cluster span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(207, 222, 232, 0.95);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(7, 58, 74, 0.06);
}

.keyword-cluster.compact span {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.account-seo-section,
.mini-app-intents {
  padding: 54px clamp(20px, 5vw, 76px);
}

.account-seo-section {
  background: #ffffff;
}

.card-kicker,
.tool-grid > article > span,
.account-grid span,
.market-list span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.check-grid div {
  min-height: 160px;
  padding: 24px;
  background: #1c2734;
}

.check-grid strong,
.check-grid span {
  display: block;
}

.check-grid strong {
  margin-bottom: 10px;
  color: #f4c15f;
  font-size: 18px;
}

.check-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.check-grid.light {
  border-color: var(--line);
  background: var(--line);
}

.check-grid.light div {
  background: var(--panel);
}

.check-grid.light strong {
  color: var(--ink);
}

.check-grid.light span {
  color: var(--muted);
}

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

.flow li {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.flow span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.flow strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.flow p {
  color: var(--muted);
}

.market-list {
  display: grid;
  gap: 14px;
}

.market-list article {
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.market-list h2 {
  font-size: 30px;
}

.market-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  padding: 72px clamp(20px, 5vw, 76px) 52px;
  background:
    radial-gradient(circle at 82% 18%, rgba(117, 205, 25, 0.22), transparent 30%),
    radial-gradient(circle at 18% 8%, rgba(18, 165, 166, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4fbfd 100%);
  border-bottom: 1px solid var(--line);
}

.market-hero h1 {
  max-width: 880px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.market-summary-card {
  padding: 26px;
  border: 1px solid rgba(207, 222, 232, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-brand);
}

.market-summary-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.1;
}

.market-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-summary-card li {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fcfd;
}

.market-summary-card strong,
.market-summary-card span {
  display: block;
}

.market-summary-card span {
  color: var(--muted);
}

.ozon-check-grid div {
  min-height: 180px;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.faq-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.faq-grid h3 {
  margin: 0 0 12px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.path-board {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.path-board div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  background: var(--panel);
}

.path-board span {
  color: var(--muted);
  font-weight: 800;
}

.path-board strong {
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-weight: 900;
}

.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #173006;
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(117, 205, 25, 0.42);
  outline-offset: 3px;
}

.button.secondary,
.button.ghost,
.button.dark-text {
  color: var(--ink);
}

.button.disabled,
.button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.seo-console {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.seo-form,
.seo-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

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

.seo-form label,
.seo-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
}

.seo-form label:nth-of-type(3),
.seo-form label:nth-of-type(4),
.seo-form fieldset {
  grid-column: 1 / -1;
}

.seo-form span,
.seo-form legend {
  color: var(--ink);
  font-weight: 800;
}

.seo-form input,
.seo-form select,
.seo-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
  color: var(--ink);
}

.seo-form textarea {
  resize: vertical;
}

.seo-form fieldset {
  padding: 16px;
  border: 1px solid var(--line);
}

.check-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  color: var(--muted);
  font-weight: 700;
}

.check-line input {
  width: 18px;
  min-height: 18px;
}

.protected-fieldset {
  background: linear-gradient(180deg, #fbfdff, #f5fafc);
}

.field-lock-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-lock {
  display: inline-flex !important;
  position: relative;
  align-items: center;
  min-height: 42px;
  padding: 0 14px 0 42px;
  border: 1px solid #d8e5ee;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(7, 58, 74, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field-lock::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #b8c7d3;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #ffffff;
}

.field-lock::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  border: 0;
  opacity: 0;
  transform: translateY(-50%);
}

.field-lock input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.field-lock:has(input:checked) {
  border-color: rgba(91, 190, 0, 0.66);
  background: linear-gradient(180deg, #ffffff, #f4ffe7);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(82, 195, 0, 0.14);
}

.field-lock:has(input:checked)::before {
  border-color: var(--lime-dark);
  background: var(--lime-dark);
}

.field-lock:has(input:checked)::after {
  content: "✓";
  opacity: 1;
}

.field-lock.important:has(input:checked)::before {
  border-color: var(--lime-dark);
  background: var(--lime-dark);
}

.field-lock.soft {
  color: #526173;
}

.seo-preview {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.seo-preview dl {
  display: grid;
  gap: 1px;
  margin: 20px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.seo-preview dl div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--soft);
}

.seo-preview dt {
  color: var(--muted);
  font-weight: 900;
}

.seo-preview dd {
  margin: 0;
}

.command-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #d8e5ee;
  background: linear-gradient(180deg, #fbfdff, #f5fafc);
  color: var(--ink);
}

.command-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-card pre {
  min-height: 0;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px/1.5 Consolas, "Courier New", monospace;
}

.bot-summary {
  display: grid;
  gap: 10px;
}

.bot-summary p {
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
}

.bot-summary p::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--lime-dark);
  font-weight: 1000;
}

.bot-command-raw {
  display: none;
}

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

.action-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-title {
    width: min(760px, 100%);
  }

  .main-nav,
  nav {
    justify-content: start;
    flex-wrap: wrap;
  }

  .channel-actions {
    justify-content: start;
  }

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

  .market-switch {
    grid-column: 1 / -1;
  }

  .primary-action {
    grid-column: 1 / -1;
  }

  .promise-strip,
  .module-grid,
  .tool-grid,
  .seo-copy-grid,
  .account-grid,
  .account-hero,
  .account-stats,
  .check-grid,
  .faq-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

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

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

  .promise-strip div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    padding: 16px 18px;
    gap: 14px;
  }

  .brand strong {
    font-size: 18px;
    white-space: normal;
  }

  .brand em {
    font-size: 16px;
  }

  .brand-mark,
  .brand-mark img,
  .brand-mark svg {
    width: 42px;
    height: 42px;
  }

  .main-nav,
  nav {
    width: 100%;
    justify-content: start;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    font-size: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar,
  nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(7, 58, 74, 0.06);
  }

  .main-nav a::after,
  nav a::after {
    display: none;
  }

  .main-nav a.active,
  nav a.active {
    border-color: rgba(117, 205, 25, 0.62);
    background: #f5ffe8;
  }

  .channel-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .channel-link {
    min-height: 44px;
    padding: 0 12px;
  }

  .launch-hero {
    padding: 42px 18px 24px;
  }

  .hero-title {
    text-align: left;
  }

  .hero-title h1 {
    font-size: 36px;
  }

  h1 {
    font-size: 36px;
  }

  .task-launcher {
    padding: 18px;
  }

  .launcher-head {
    display: grid;
  }

  .launcher-controls,
  .link-panel,
  .progress-strip,
  .promise-strip,
  .module-grid,
  .history-layout,
  .tool-grid,
  .seo-copy-grid,
  .account-grid,
  .account-hero,
  .account-shell,
  .account-stats,
  .account-panels,
  .account-menu,
  .check-grid,
  .faq-grid,
  .flow,
  .seo-console,
  .seo-form {
    grid-template-columns: 1fr;
  }

  .progress-strip {
    gap: 10px;
  }

  .progress-item {
    padding: 8px 6px;
  }

  .market-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .market-switch button {
    gap: 0;
    min-width: 0;
    min-height: 52px;
    padding: 0 8px;
    font-size: 15px;
  }

  .market-badge {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 26px;
    border-radius: 8px;
    font-size: 11px;
  }

  .market-badge.ym {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 26px;
    border-radius: 8px;
  }

  .market-badge.ym::before {
    inset: 4px 7px;
    border-radius: 7px;
  }

  .market-badge.ozon {
    font-size: 10px;
  }

  .market-badge.wb {
    font-size: 11px;
  }

  .market-badge.ym span {
    font-size: 18px;
  }

  .promise-strip div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0;
  }

  .promise-strip div:first-child {
    border-top: 0;
  }

  .home-modules,
  .section {
    padding: 34px 18px 58px;
  }

  .account-hero {
    padding: 42px 18px 24px;
  }

  .account-shell {
    width: calc(100% - 36px);
    margin: 28px auto 58px;
  }

  .account-login-card,
  .account-overview,
  .account-panel {
    padding: 18px;
  }

  .workspace-head,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-actions,
  .task-row,
  .quota-list div,
  .integration-grid div {
    grid-template-columns: 1fr;
  }

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

  .task-row b {
    grid-column: 2;
    justify-self: start;
  }

  .history-panel {
    padding: 18px;
  }

  .dialog-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 42px 18px;
  }

  .market-list article,
  .path-board div {
    grid-template-columns: 1fr;
  }

  .seo-preview {
    position: static;
  }

  footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding: 12px 14px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand em {
    font-size: 15px;
  }

  .brand-mark,
  .brand-mark img,
  .brand-mark svg {
    width: 36px;
    height: 36px;
  }

  .main-nav,
  nav {
    font-size: 13px;
  }

  .main-nav a,
  nav a {
    min-height: 34px;
    padding: 0 10px;
  }

  .channel-actions {
    gap: 8px;
  }

  .channel-link {
    min-height: 40px;
    gap: 8px;
    padding: 0 8px;
  }

  .social-icon,
  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .launch-hero,
  .page-hero,
  .account-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title h1,
  h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .launcher-head h2,
  h2 {
    font-size: 24px;
  }

  .hero-title p {
    font-size: 16px;
  }

  .task-launcher,
  .history-panel,
  .account-login-card,
  .account-overview,
  .account-panel,
  .seo-form,
  .seo-preview {
    padding: 14px;
  }

  .soft-button,
  .market-switch button,
  .primary-action {
    min-height: 48px;
  }

  .market-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .market-switch button {
    justify-content: center;
    min-width: 0;
    gap: 0;
    border-radius: 0;
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .market-switch .market-name {
    display: none;
  }

  .market-switch button:first-child {
    border-left: 0;
    border-radius: 11px 0 0 11px;
  }

  .market-switch button:last-child {
    border-radius: 0 11px 11px 0;
  }

  .status-pill {
    white-space: normal;
  }
}
