:root {
  --bg: #f0f0f0;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --border: #c8c4b8;
  --primary: #c41e3a;
  --primary-dark: #9a1829;
  --accent: #e8c547;
  --accent-dark: #c9a832;
  --accent-light: #fff9e6;
  --accent-glow: rgba(255, 220, 80, 0.55);
  --onec-yellow: #ffeb7a;
  --onec-yellow-mid: #f5d76e;
  --onec-yellow-dark: #c9a832;
  --onec-red: #d71921;
  --warning: #e8a317;
  --danger: #c41e3a;
  --shadow: 0 1px 2px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.1);
  --radius: 0;
  --radius-sm: 0;
  --font: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  --btn-border: #8a7a48;
  --btn-border-light: #a8a498;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #fffef8 0%, #fff4c8 55%, #f5dc50 100%);
  border: 1px solid #d4b840;
  border-radius: 0;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(180, 150, 40, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand__cube {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand:hover .brand__mark {
  transform: translateY(-1px);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(180, 150, 40, 0.2);
}
.brand__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  min-width: 0;
}
.brand__text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1c1c1c;
}
.brand__dot { color: var(--onec-red); }
.brand__tagline {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: #9a8a58;
}
.brand--app .brand__text { font-size: 1.1875rem; }

.nav-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-tabs__item {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color .15s, background .15s;
}
.nav-tabs__item:hover:not(:disabled) { background: #f1f5f9; color: var(--text); }
.nav-tabs__item--active {
  color: #78350f;
  background: var(--accent-light);
  font-weight: 600;
  border: 1px solid #fde68a;
}

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

.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 0;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.wallet-pill:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.wallet-pill__icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: var(--accent-light);
  color: #92400e;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.wallet-pill__text { font-variant-numeric: tabular-nums; }

.btn--cabinet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  transition: all .15s;
  white-space: nowrap;
}
.btn--cabinet:hover {
  border-color: #c9a832;
  color: #78350f;
  background: var(--accent-light);
}
.btn--cabinet--active {
  border-color: #c9a832;
  background: var(--accent-light);
  color: #78350f;
}
.btn__icon { flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 0;
  display: grid; place-items: center;
  color: var(--muted);
  transition: background .15s;
}
.icon-btn:hover { background: #f1f5f9; color: var(--text); }

.wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border);
}
.wallet__amount { font-weight: 700; font-size: 0.95rem; line-height: 1.1; }
.wallet__hint { font-size: 0.7rem; color: var(--muted); }

.profile-menu { position: relative; }
.profile-menu__trigger { padding: 0; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 0;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.profile-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
}
.header-user__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(33, 32, 31, 0.12);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #21201f;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.header-user__trigger:hover {
  border-color: rgba(33, 32, 31, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.header-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: linear-gradient(135deg, #fff4a8, #ffcc00);
  color: #21201f;
  font-weight: 700;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.header-user__name {
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-user__chevron {
  color: #9ca3af;
  flex-shrink: 0;
}
.profile-menu__link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #21201f;
  text-decoration: none;
  cursor: pointer;
}
.profile-menu__link:hover {
  background: #f7f7f7;
}
.profile-menu__link--logout {
  color: #dc2626;
}
.profile-menu__link--logout:hover {
  background: #fef2f2;
}
.profile-menu--landing .profile-menu__dropdown {
  min-width: 200px;
}
.landing-header__actions .header-user {
  margin-left: 2px;
}
.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.role-switch__btn {
  padding: 8px 10px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
}
.role-switch__btn--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.dropdown-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  border-radius: 0;
  font-size: 0.9rem;
  color: var(--text);
}
.dropdown-link:hover { background: #f8fafc; }
.dropdown-link--danger { color: var(--danger); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--btn-border);
  background: linear-gradient(180deg, #fffef5 0%, var(--onec-yellow-mid) 42%, #dcc860 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(120,100,40,0.2),
    0 1px 2px rgba(0,0,0,0.14);
  color: var(--text);
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn:hover {
  background: linear-gradient(180deg, #fffff8 0%, #fff0b0 42%, #efd878 100%);
  border-color: #9a8f50;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 10px var(--accent-glow),
    0 1px 3px rgba(0,0,0,0.12);
}
.btn:active {
  background: linear-gradient(180deg, #dcc860 0%, #f0e090 100%);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.18);
}
.btn--primary {
  border-color: var(--btn-border);
  font-weight: 600;
}
.btn--primary:hover { /* inherits .btn:hover */ }
.btn--accent {
  border-color: var(--btn-border);
}
.btn--accent:hover { /* inherits .btn:hover */ }
.btn--outline {
  border: 1px solid var(--btn-border-light);
  background: linear-gradient(180deg, #fafaf8 0%, #eceae4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(0,0,0,0.1);
  color: var(--text);
}
.btn--outline:hover {
  background: linear-gradient(180deg, #fffef8 0%, #f5f0dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 8px rgba(255, 220, 80, 0.35),
    0 1px 2px rgba(0,0,0,0.1);
}
.btn--ghost { background: transparent; color: var(--onec-red); border-color: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--accent-light); box-shadow: none; }
.btn--sm { padding: 6px 12px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn--cta { white-space: nowrap; }

.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.feed__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.feed__subtitle { margin: 6px 0 0; color: var(--muted); font-size: 0.875rem; max-width: 520px; }

.feed-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.feed-header__count {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted);
}
.feed-header__count span:first-child {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.role-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.role-banner--customer {
  background: linear-gradient(135deg, #fff9e6, #fff4cc);
  border-color: #e8d070;
}
.role-banner--executor {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fde68a;
}
.role-banner__text { display: flex; flex-direction: column; gap: 2px; }
.role-banner__text strong { font-size: 0.9375rem; font-weight: 600; }
.role-banner__text span { font-size: 0.8125rem; color: var(--muted); }

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.category-tab {
  padding: 7px 14px;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  transition: all .15s;
  white-space: nowrap;
}
.category-tab:hover { background: #fff; color: var(--text); border-color: var(--border); }
.category-tab--active {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.sort-bar__select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  font: inherit;
  font-size: 0.8125rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  color: var(--text);
}
.accent { color: var(--primary); }

.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  align-items: stretch;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
}
.task-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}
.task-card--urgent { border-left: 3px solid var(--warning); }
.task-card__body {
  flex: 1;
  padding: 16px 20px;
  min-width: 0;
}
.task-card__aside {
  flex: 0 0 168px;
  width: 168px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: center;
  gap: 6px;
  padding: 14px 14px 14px 12px;
  border-left: 1px solid var(--border);
  background: var(--surface);
}
.task-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
  color: var(--text);
}
.task-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-card__time {
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  text-align: right;
}
.task-card__price {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1f1a0f;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  min-height: 1.35em;
  width: 100%;
}
.task-card__btn {
  align-self: stretch;
  margin-top: 2px;
}
.task-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.tag--category { background: #f1f5f9; color: #475569; }
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
  text-transform: none;
}
.tag--beginner { background: #dbeafe; color: #1d4ed8; }
.tag--urgent { background: #ffedd5; color: #c2410c; }
.tag--location { background: #f1f5f9; color: #64748b; }
.tag--responses { background: #eef2ff; color: #4338ca; }

.task-detail__title { margin: 0 0 12px; font-size: 1.25rem; }
.task-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--muted);
}
.task-detail__meta strong { margin-left: auto; font-size: 1.125rem; color: var(--text); }
.task-detail__desc { margin: 0 0 16px; line-height: 1.55; color: var(--text); white-space: pre-wrap; }
.task-detail__hint {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--muted);
}
.task-detail__contacts {
  margin-bottom: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #fff9e6, #fff4cc);
  border: 1px solid #e8d070;
  border-radius: var(--radius);
}
.task-detail__contacts h3 { margin: 0 0 12px; font-size: 0.9375rem; }
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(232, 208, 112, 0.5);
  font-size: 0.875rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-row span:first-child { color: var(--muted); }
.contact-row a { color: var(--onec-red); font-weight: 600; }

.modal__panel--narrow { max-width: 420px; width: 100%; padding: 28px 24px 24px; text-align: center; }

.respond-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: linear-gradient(180deg, #fff8c8, var(--onec-yellow));
  border: 2px solid #e8d070;
  color: #166534;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(120, 90, 30, 0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}
.respond-success__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.respond-success__text {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}
.respond-success__text strong { color: var(--text); font-weight: 600; }
.respond-success__hint {
  margin: 0 0 22px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff9e6, #fff4cc);
  border: 1px solid #e8d070;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #5c4e18;
}
.respond-success .btn-win { margin-bottom: 10px; }
.respond-success__later {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
.respond-success__later:hover { color: var(--text); text-decoration: underline; }

.modal--respond-success .modal__backdrop {
  background: rgba(30, 26, 15, 0.45);
  backdrop-filter: blur(4px);
}

.auth-required__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: linear-gradient(180deg, #fff8c8, var(--onec-yellow));
  border: 2px solid #e8d070;
  color: #78350f;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(120, 90, 30, 0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}
.auth-required__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.auth-required__text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}
.auth-required__text strong { color: var(--text); font-weight: 600; }
.auth-required .btn-win { margin-bottom: 10px; }
.auth-required__login {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}
.auth-required__login:hover { text-decoration: underline; }
.auth-required__later {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
.auth-required__later:hover { color: var(--text); text-decoration: underline; }
.modal--auth-required .modal__backdrop {
  background: rgba(30, 26, 15, 0.45);
  backdrop-filter: blur(4px);
}

.sidebar-ads {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}
.ad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.ad-card--premium {
  position: relative;
  background: linear-gradient(180deg, #fffef8 0%, #fffbeb 50%, #fff6d8 100%);
  color: var(--text);
  border: 1px solid #f0d878;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(180, 140, 30, 0.1);
}
.ad-card--premium-shine::before {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(255, 255, 255, 0.18) 46%,
    rgba(255, 236, 170, 0.55) 50%,
    rgba(255, 255, 255, 0.22) 54%,
    transparent 58%
  );
  transform: translateX(-55%) rotate(8deg);
  animation: premium-shine 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.ad-card--premium-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}
.ad-card--premium > * { position: relative; z-index: 3; }
@keyframes premium-shine {
  0%, 100% { transform: translateX(-60%) rotate(8deg); opacity: 0.55; }
  45% { transform: translateX(60%) rotate(8deg); opacity: 1; }
  55% { transform: translateX(60%) rotate(8deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-card--premium-shine::before { animation: none; opacity: 0.35; }
}
.ad-card--premium__hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 16px 6px;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 210, 80, 0.28) 0%, transparent 72%);
}
.ad-card--premium__img {
  width: min(196px, 88%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(160, 110, 10, 0.22));
}
.ad-card--premium__body {
  padding: 4px 18px 18px;
  text-align: left;
}
.ad-card--premium__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 0;
  background: rgba(253, 230, 138, 0.65);
  color: #92400e;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ad-card--premium h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
}
.ad-card--premium__lead {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 12px;
  text-align: center;
}
.ad-card__list--premium {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.ad-card__list--premium li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(240, 216, 120, 0.35);
}
.ad-card__list--premium li:last-child { border-bottom: none; }
.ad-card__check {
  flex-shrink: 0;
  width: 16px;
  color: #b45309;
  font-weight: 700;
  line-height: 1.45;
}
.ad-card--premium__price {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: #21201f;
}
.ad-card--premium__price span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.ad-card--premium__btn {
  box-shadow: 0 4px 14px rgba(180, 130, 20, 0.22);
}
.ad-card__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
}
.ad-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.ad-card__list li { padding: 4px 0; }
.ad-card--referral h4 { margin: 0 0 8px; }
.ad-card--referral p { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }

.ad-slot {
  min-height: 120px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.85rem;
}
.ad-slot--tall { min-height: 280px; }
.ad-slot__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__links { display: flex; gap: 16px; }
.footer__links a:hover { color: var(--primary); }

.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.45); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  background: var(--surface);
  border-radius: 0;
  padding: 28px;
  width: min(440px, 100%);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__panel--wide { width: min(560px, 100%); }
.modal__panel--paywall { width: min(480px, 100%); }
.modal__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
}
.modal__close:hover { background: #f1f5f9; }

.paywall { text-align: center; }
.paywall__icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 0;
  background: var(--accent-light);
  color: #92400e;
  display: grid;
  place-items: center;
  border: 1px solid #e8d070;
}
.paywall h2 { margin: 0 0 10px; font-size: 1.5rem; }
.paywall p { color: var(--muted); margin: 0 0 20px; }
.paywall__price { margin-bottom: 16px; }
.paywall__amount { font-size: 2rem; font-weight: 800; color: var(--text); }
.paywall__period { color: var(--muted); }
.paywall__features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.paywall__features li {
  padding: 6px 0;
  font-size: 0.92rem;
}
.paywall__features li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.paywall__note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.paywall__alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  text-align: left;
  border-radius: 0;
  background: #fff9e6;
  border: 1px solid #e8dfc0;
}
.paywall__alert strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  color: #78350f;
}
.paywall__alert span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c4a20;
}
.topup-form__note {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--danger); font-size: 0.85rem; margin: 0; }
.form-switch { text-align: center; margin-top: 12px; font-size: 0.9rem; }
.form-switch button { color: var(--primary); font-weight: 600; }

.toast {
  position: fixed;
  top: 80px;
  right: 20px;
  left: auto;
  transform: none;
  background: var(--surface);
  color: var(--text);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 2000;
  animation: toast-in .25s ease;
  max-width: 320px;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Windows-style volumetric buttons (1C brand) */
.btn-win {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--btn-border);
  background: linear-gradient(180deg, #fffef5 0%, var(--onec-yellow-mid) 42%, #dcc860 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(120,100,40,0.2),
    0 1px 2px rgba(0,0,0,0.14);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
  font-family: var(--font);
}
.btn-win__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
}
.btn-win__label {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
}
.btn-win__sub {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
}
.btn-win:hover {
  background: linear-gradient(180deg, #fffff8 0%, #fff0b0 42%, #efd878 100%);
  border-color: #9a8f50;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 10px var(--accent-glow),
    0 1px 3px rgba(0,0,0,0.12);
}
.btn-win:active {
  background: linear-gradient(180deg, #dcc860 0%, #f0e090 100%);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.18);
}
.btn-win--primary {
  border-color: #8a7a30;
  font-weight: 600;
}
.btn-win--ghost {
  background: linear-gradient(180deg, #fafaf8 0%, #eceae4 100%);
  border-color: var(--btn-border-light);
}
.btn-win--ghost:hover {
  background: linear-gradient(180deg, #fffef8 0%, #f5f0dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 8px rgba(255, 220, 80, 0.35),
    0 1px 2px rgba(0,0,0,0.1);
}
.btn-win--header .btn-win__text { padding: 8px 16px; }
.btn-win--header .btn-win__label { font-size: 0.875rem; }
.btn-win--sm .btn-win__text { padding: 8px 10px; width: 100%; }
.btn-win--sm .btn-win__label { font-size: 0.8125rem; font-weight: 600; }
.btn-win--block { display: flex; width: 100%; }
.btn-win--auth .btn-win__text { padding: 12px 20px; width: 100%; }
.btn-win--auth .btn-win__label { font-size: 0.9375rem; }
.btn-win--disabled,
.btn-win:disabled {
  background: linear-gradient(180deg, #f5f5f3 0%, #e8e6e0 100%);
  border-color: #c8c4b8;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  pointer-events: none;
}
.btn-win--disabled:hover,
.btn-win:disabled:hover {
  background: linear-gradient(180deg, #f5f5f3 0%, #e8e6e0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

/* App pages — neutral feed, yellow title block only */
body.page-app {
  background: var(--bg);
  min-height: 100vh;
}
body.page-app .topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
}
body.page-app .layout {
  max-width: 1360px;
}
body.page-app .feed-header {
  background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
  border: 1px solid #e8d070;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
body.page-app .footer {
  background: var(--surface);
  border-top-color: var(--border);
}

/* Landing — 1C Windows identity */
.page-landing { background: #fff; }

/* Landing — lighter buttons */
.page-landing .btn-win--primary {
  background: linear-gradient(180deg, #fffffc 0%, #fff9e0 45%, #fff4c8 100%);
  border-color: #ddd4a8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(200, 190, 140, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.06);
}
.page-landing .btn-win--primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fffce8 45%, #fff8d0 100%);
  border-color: #cfc498;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 8px rgba(255, 235, 150, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.06);
}
.page-landing .btn-win--primary:active {
  background: linear-gradient(180deg, #fff4c8 0%, #fff0b8 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}
.page-landing .btn-win--ghost {
  background: linear-gradient(180deg, #ffffff 0%, #f8f6f0 100%);
  border-color: #e0dcd0;
}
.page-landing .btn-win--ghost:hover {
  background: linear-gradient(180deg, #fffffe 0%, #faf8f2 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 6px rgba(255, 235, 150, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 24px;
}
.landing-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-header__actions { display: flex; align-items: center; gap: 10px; }

.landing-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.landing-nav__link {
  padding: 9px 16px;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5c5c5c;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.landing-nav__link:hover {
  color: #2d2d2d;
  background: rgba(0, 0, 0, 0.04);
}
.landing-nav__link--active {
  color: #2d2d2d;
  font-weight: 600;
}

.section--news {
  background: #fff;
  padding: 48px 24px 64px;
  border-top: 1px solid #ececec;
}
.page-news {
  background: #fff;
}
.page-news .landing-header--static {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}
.news-page {
  padding: 40px 24px 64px;
  min-height: calc(100vh - 140px);
}
.news-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.news-page-head {
  margin-bottom: 36px;
}
.news-page-head__title {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  text-align: left;
}
.news-page-head__lead {
  margin: 0;
  max-width: 640px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #666;
  text-align: left;
}

.news-list {
  border-top: 1px solid #e8e8e8;
}
.news-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
  align-items: start;
}
.news-row__date {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
}
.news-row__cat {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}
.news-row__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}
.news-row__excerpt {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #444;
}
.news-row__details {
  margin: 0;
}
.news-row__more {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
}
.news-row__more::-webkit-details-marker {
  display: none;
}
.news-row__more::marker {
  content: '';
}
.news-row__details[open] .news-row__more {
  margin-bottom: 12px;
}
.news-row__full {
  padding-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #444;
}
.news-row__full p {
  margin: 0 0 12px;
}
.news-row__full p:last-child {
  margin-bottom: 0;
}
.news-row__full ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}
.news-row__full li {
  margin-bottom: 6px;
}
.news-row__full a {
  color: #78350f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-row__full code {
  font-size: 0.875em;
  padding: 1px 5px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
}
@media (max-width: 720px) {
  .news-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
  .news-page-head__title { font-size: 1.625rem; }
}

.brand--light .brand__text { color: #fff; }
.brand--light .brand__dot { color: var(--onec-yellow); }
.brand__mark--light {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  font-weight: 800;
  font-size: 1rem;
}

/* Landing buttons — thin borders, label scale on hover */
.btn-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.btn-landing__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  transition: transform .2s ease;
  transform-origin: center;
}
.btn-landing:hover .btn-landing__text,
.btn-landing:focus-visible .btn-landing__text {
  transform: scale(1.05);
}
.btn-landing__label {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.btn-landing__sub {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

.btn-landing--fill {
  background: linear-gradient(180deg, #fffef5 0%, var(--onec-yellow-mid) 42%, #dcc860 100%);
  border-color: var(--btn-border);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 1px 2px rgba(0,0,0,0.14);
}
.btn-landing--fill:hover {
  background: linear-gradient(180deg, #fffff8 0%, #fff0b0 42%, #efd878 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 10px var(--accent-glow), 0 1px 3px rgba(0,0,0,0.12);
}

.btn-landing--line {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-landing--line:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

.btn-landing--header-ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,.9);
}
.btn-landing--header-ghost .btn-landing__text { padding: 8px 14px; }
.btn-landing--header-ghost:hover { color: #fff; }

.btn-landing--header-line {
  background: rgba(15,23,42,.35);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-landing--header-line .btn-landing__text { padding: 10px 18px; }
.btn-landing--header-line:hover {
  border-color: #fff;
  background: rgba(15,23,42,.5);
}

.btn-landing--dark-fill {
  background: linear-gradient(180deg, #fffef5 0%, var(--onec-yellow-mid) 42%, #dcc860 100%);
  border-color: var(--btn-border);
  color: var(--text);
}
.btn-landing--dark-fill:hover {
  background: linear-gradient(180deg, #fffff8 0%, #fff0b0 42%, #efd878 100%);
  box-shadow: 0 0 10px var(--accent-glow);
}

.btn-landing--dark-line {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-landing--dark-line:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.landing-hero {
  position: relative;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 45%, #172554 100%);
  color: #fff;
  padding: 120px 24px 72px;
  overflow: hidden;
}

/* Light landing theme — 1C niche */
.landing-header--light {
  position: relative;
  background: linear-gradient(180deg, #fffef8 0%, rgba(255, 255, 255, 0.97) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(33, 32, 31, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 12px 24px;
}
.landing-header--light .landing-header__inner { max-width: 1360px; margin: 0 auto; }

.brand--landing .brand__text { font-size: 1.375rem; }
.brand--landing {
  align-items: center;
  gap: 12px;
}
.brand--landing .brand__name {
  gap: 2px;
}
.brand__domain {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a7a48;
}

.landing-hero__domain-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a7a48;
  background: linear-gradient(180deg, #fffef8, #fff6d8);
  border: 1px solid #e8dfc0;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Hero — soft yellow fade into white */
.landing-hero--yellow {
  background: linear-gradient(
    180deg,
    #fffef8 0%,
    #fff9e8 22%,
    #fffdf6 55%,
    #ffffff 100%
  );
  color: var(--text);
  padding: 40px 24px 56px;
  border-bottom: none;
}
.landing-hero--yellow .landing-hero__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px 56px;
  align-items: center;
}
.landing-hero--yellow .landing-hero__copy {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.landing-hero__title-panel {
  display: block;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0 0 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232, 208, 112, 0.45);
  border-radius: 0;
  box-shadow: none;
}
.landing-hero--yellow .landing-hero__title {
  color: #1f1a0f;
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.03em;
}
.landing-hero--yellow .landing-hero__title .title-accent {
  color: #c41e3a;
  position: relative;
  text-shadow: none;
}
.landing-hero--yellow .landing-hero__title .title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, #e8a317);
  border-radius: 0;
  opacity: 0.85;
}
.landing-hero--yellow .landing-hero__lead {
  color: #2a2418;
  max-width: 580px;
  margin: 0 0 12px;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
}
.landing-hero__sub {
  color: #4a4028;
  max-width: 580px;
  margin: 0 0 22px;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
}
.landing-hero__note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: #5c5030;
}

.hero-promo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  background: transparent;
}
.hero-promo__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(120, 90, 30, 0.1));
}

/* Pro1C hero banner — pro1c.su */
.pro1c-banner {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.pro1c-banner__glow {
  position: absolute;
  inset: -20px -10px -10px;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 204, 0, 0.35) 0%, transparent 65%);
  pointer-events: none;
}
.pro1c-banner__panel {
  position: relative;
  padding: 22px 22px 18px;
  background: linear-gradient(155deg, #1a1a1a 0%, #2d2a24 45%, #1f1c16 100%);
  border: 1px solid #3d3830;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(26, 22, 10, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pro1c-banner__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, #ffcc00, #c41e3a);
}
.pro1c-banner__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pro1c-banner__cube {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.pro1c-banner__cube-face {
  position: absolute;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
}
.pro1c-banner__cube-face--front {
  inset: 0;
  background: linear-gradient(145deg, #fff9df 0%, #ffcc00 55%, #e8b800 100%);
  border: 1px solid #c9a832;
  border-radius: 0;
  color: #c41e3a;
  box-shadow: 2px 2px 0 #8a7020;
  z-index: 2;
}
.pro1c-banner__cube-face--side {
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(145deg, #d4b840, #a88820);
  border-radius: 0;
  z-index: 1;
}
.pro1c-banner__brand { min-width: 0; }
.pro1c-banner__domain {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.pro1c-banner__domain span { color: #ffcc00; }
.pro1c-banner__slogan {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}
.pro1c-banner__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.pro1c-banner__card {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}
.pro1c-banner__card strong {
  display: block;
  margin: 4px 0 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.3;
}
.pro1c-banner__card em {
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.pro1c-banner__card--2 { transform: translateX(12px); opacity: 0.92; }
.pro1c-banner__card--3 { transform: translateX(24px); opacity: 0.84; }
.pro1c-banner__card-tag {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2d2a24;
  background: #ffcc00;
  border-radius: 0;
}
.pro1c-banner__card-tag--hot { background: #c41e3a; color: #fff; }
.pro1c-banner__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pro1c-banner__footer svg { color: #ffcc00; opacity: 0.8; }

.footer__domain {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.footer__domain:hover { color: var(--onec-red); text-decoration: underline; }

.landing-hero--light {
  background: linear-gradient(180deg, #f5f2ea 0%, #ece9e1 100%);
  color: var(--text);
  padding: 32px 24px 48px;
  border-bottom: 1px solid var(--border);
}
.landing-hero--light .landing-hero__tag {
  color: var(--onec-red);
  background: var(--accent-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #e8d070;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.landing-hero--light .landing-hero__title {
  color: var(--text);
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
}
.landing-hero--light .landing-hero__lead { color: var(--muted); max-width: 540px; }

.landing-hero__features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 540px;
}
.landing-hero__features li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}
.landing-hero__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--onec-red);
}

.landing-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.landing-hero__btns .btn-win--hero {
  flex: 1 1 180px;
  max-width: 220px;
}
.landing-hero__btns .btn-win--hero .btn-win__text {
  padding: 12px 16px;
  min-height: 48px;
  width: 100%;
}
.landing-hero__note {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Hero right side — cube blended into page */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.hero-visual__cube {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 6px 20px rgba(120, 90, 30, 0.12));
}

.onec-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}
.onec-visual__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.onec-visual__card--accent {
  border-color: #fcd34d;
  background: #fffbeb;
  transform: translateX(12px);
}
.onec-visual__badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b45309;
}
.onec-visual__card strong { font-size: 0.9375rem; }
.onec-visual__card span:last-child { font-size: 0.8125rem; color: var(--muted); }

.landing-stats--light {
  background: linear-gradient(180deg, #faf8f2, #f5f2ea);
  border-bottom: 1px solid var(--border);
}
.landing-cta--light {
  background: linear-gradient(180deg, #f5f2ea, #ece9e1);
  border-top: 1px solid var(--border);
}

.section__lead {
  text-align: center;
  color: var(--muted);
  margin: -24px 0 28px;
  font-size: 0.9375rem;
}
.section--about { padding-top: 32px; background: #fff; }

.about-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

.about-text p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.about-list {
  margin: 16px 0 0;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.about-list li { margin-bottom: 8px; }
.about-list li::marker { color: var(--onec-red); }

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-stat {
  background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
  border: 1px solid #e8d070;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.about-stat__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f1a0f;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.about-stat__label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.about-aside__note {
  margin: 4px 0 0;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-subtitle {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.workflow-scheme {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 20px 16px;
  background: #fafaf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.workflow-step {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.workflow-step__num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: linear-gradient(180deg, #fff8c8, var(--onec-yellow));
  border: 1px solid #e8d070;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #78350f;
}

.workflow-step__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.workflow-step__desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.workflow-arrow {
  flex: 0 0 28px;
  align-self: center;
  position: relative;
  height: 2px;
  background: #d4b840;
  margin: 0 2px;
}
.workflow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 7px solid #d4b840;
}

.section--executors { padding-top: 48px; }

.executors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
}
.executor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.executor-card:hover {
  border-color: #fcd34d;
  box-shadow: var(--shadow-lg);
}
.executor-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.executor-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: linear-gradient(180deg, #fff8c8, var(--onec-yellow));
  color: #92400e;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid #e8d070;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.executor-card__name { margin: 0; font-size: 1rem; font-weight: 600; }
.executor-card__level {
  font-size: 0.75rem;
  color: var(--muted);
}
.executor-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.executor-card__stars { color: #f59e0b; letter-spacing: -1px; }
.executor-card__reviews { color: var(--muted); font-size: 0.8125rem; }
.executor-card__spec { margin: 0 0 4px; font-size: 0.8125rem; color: var(--text); }
.executor-card__done { margin: 0; font-size: 0.75rem; color: var(--muted); }

.ad-card--rating h4 { margin: 0 0 12px; font-size: 0.9375rem; }
.sidebar-executors { display: flex; flex-direction: column; gap: 10px; }
.sidebar-exec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-exec:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-exec__name { font-weight: 600; font-size: 0.875rem; }
.sidebar-exec__rating { font-size: 0.8125rem; color: #92400e; }

.landing-hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255,220,80,.15) 0%, transparent 70%);
  pointer-events: none;
}
.landing-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.landing-hero__tag {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--onec-red);
}
.landing-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.landing-hero__lead {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 480px;
}
.landing-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.landing-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.landing-visual {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: .95;
}

.landing-stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.landing-stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.landing-stat { text-align: center; }
.landing-stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--onec-red);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.landing-stat__label {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--muted);
}

.landing-cta {
  padding: 56px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.landing-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.landing-cta h2 {
  margin: 0 0 10px;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.landing-cta p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.landing-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn--lg { padding: 14px 28px; font-size: 1rem; }

.section { max-width: 1360px; margin: 0 auto; padding: 56px 24px; }
.section--muted { background: #f5f2ea; max-width: none; }
.section--muted > * { max-width: 1360px; margin-left: auto; margin-right: auto; }
.section__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 36px;
  letter-spacing: -0.02em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: linear-gradient(180deg, #fff8c8, var(--onec-yellow));
  color: var(--onec-red);
  border: 1px solid #e8d070;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.category-chip {
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all .15s;
}
.category-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.benefit-card h3 { margin: 0 0 8px; font-size: 1rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.faq { max-width: 720px; margin: 0 auto; }
.faq-section { margin-bottom: 36px; }
.faq-section__title {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq__item summary { font-weight: 600; cursor: pointer; }
.faq__item p { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.faq__item a { color: var(--primary); font-weight: 600; }
.faq__item a:hover { text-decoration: underline; }
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.help-page .faq { max-width: none; }

.cta-banner {
  text-align: center;
  padding: 64px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
}
.cta-banner h2 { margin: 0 0 10px; font-size: 2rem; }
.cta-banner p { color: #cbd5e1; margin: 0 0 24px; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filters__group { display: flex; align-items: center; gap: 8px; }
.filters__label { font-size: 0.8125rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.filters__select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.875rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  min-width: 160px;
  color: var(--text);
}
.filters__count { margin-left: auto; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }

.tag--category { background: #f1f5f9; color: #475569; text-transform: none; letter-spacing: 0; }
.empty-msg { color: var(--muted); padding: 24px 0; }

/* Subscription plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: all .15s;
  text-align: center;
}
.plan-card:hover { border-color: #bae6fd; }
.plan-card--active { border-color: var(--primary); background: #f0f9ff; box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.plan-card--premium { border-color: #e8d070; }
.plan-card--premium.plan-card--active { border-color: var(--accent-dark); background: var(--accent-light); }
.plan-card__badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 0;
}
.plan-card__price { font-size: 1.35rem; font-weight: 800; }
.plan-card__label { font-weight: 600; font-size: 0.92rem; }
.plan-card__hint { font-size: 0.78rem; color: var(--muted); }

.quick-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick-btn {
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--muted);
}
.quick-btn:hover { border-color: var(--primary); color: var(--primary); }
.field-hint { font-size: 0.78rem; color: var(--muted); }

/* Balance page */
.balance-page { padding: 28px 20px 48px; }
.balance-page__inner { max-width: 960px; margin: 0 auto; }
.balance-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}
.balance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.balance-card--wide { min-height: 320px; }
.balance-card__label { margin: 0; color: var(--muted); font-size: 0.88rem; }
.balance-card__amount { margin: 8px 0 24px; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }
.balance-card__heading { margin: 0 0 16px; font-size: 1.1rem; }
.topup-form { margin-top: 8px; }

.tx-list { display: flex; flex-direction: column; gap: 0; }
.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tx-row:last-child { border-bottom: none; }
.tx-row__main { display: flex; flex-direction: column; gap: 2px; }
.tx-row__kind { font-weight: 600; font-size: 0.92rem; }
.tx-row__note { font-size: 0.82rem; color: var(--muted); }
.tx-row__meta { text-align: right; }
.tx-row__amount { display: block; font-weight: 700; font-size: 0.95rem; }
.tx-row__amount--plus { color: var(--accent); }
.tx-row__amount--minus { color: var(--danger); }
.tx-row__date { font-size: 0.78rem; color: var(--muted); }

.tx-row__date { font-size: 0.78rem; color: var(--muted); }

/* Auth modal — Work-zilla style */
.modal--auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal--auth .modal__backdrop {
  background: linear-gradient(180deg, #dceefb 0%, #e8f4fc 40%, #f0f7ff 100%);
  backdrop-filter: none;
}
.auth-screen {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.auth-screen__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.auth-card {
  position: relative;
  width: 100%;
  background: var(--surface);
  border-radius: 0;
  padding: 32px 28px 28px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255,255,255,.8);
}
.auth-card__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
}
.auth-card__close:hover { background: #f1f5f9; color: var(--text); }
.auth-card__title {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  line-height: 1.35;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-step { display: flex; flex-direction: column; gap: 14px; }
.input-line { display: flex; flex-direction: column; gap: 6px; }
.input-line__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.input-line input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input-line input::placeholder { color: #94a3b8; }
.input-line input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.auth-back {
  align-self: flex-start;
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  padding: 0;
  margin-bottom: -4px;
}
.auth-back:hover { text-decoration: underline; }
.auth-email-preview {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.field--auth { margin: 0; }
.role-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.role-pill { cursor: pointer; }
.role-pill input { position: absolute; opacity: 0; pointer-events: none; }
.role-pill span {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: all .15s;
}
.role-pill input:checked + span {
  border-color: var(--primary);
  background: #f0f9ff;
  color: var(--primary);
  font-weight: 600;
}
.btn--continue {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  transition: background .15s, color .15s;
}
.btn--continue--ready {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.btn--continue--ready:hover { background: var(--accent-dark); }
.btn--continue:disabled { opacity: 1; }
.auth-card__switch {
  text-align: center;
  margin: 20px 0 0;
  font-size: 0.875rem;
}
.auth-card__switch button {
  color: var(--primary);
  font-weight: 500;
}
.auth-card__switch button:hover { text-decoration: underline; }

/* Cabinet page */
body.page-cabinet {
  background: linear-gradient(180deg, #f6f5f2 0%, #ece9e1 100%);
}
.topbar--cabinet {
  background: #fff;
  border-bottom: 1px solid rgba(33, 32, 31, 0.12);
  box-shadow: 0 1px 0 rgba(33, 32, 31, 0.04);
}
.topbar__inner--cabinet {
  max-width: 1440px;
}
.topbar__start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.cabinet-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(33, 32, 31, 0.15);
  background: #fff;
  color: #5a5856;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.cabinet-back:hover {
  color: #21201f;
  border-color: #21201f;
  background: #fff9df;
}
.cabinet-back__icon { flex-shrink: 0; }
.cabinet-back--card {
  position: absolute;
  top: 16px;
  left: 16px;
}

.cabinet-page { padding: 32px 24px 56px; }
.cabinet-page__inner { max-width: 880px; margin: 0 auto; }

.cabinet-guest {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.cabinet-guest__card {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: 0;
  padding: 56px 32px 48px;
  border: 1px solid rgba(33, 32, 31, 0.2);
  box-shadow: 0 12px 32px rgba(33, 32, 31, 0.08);
}
.cabinet-guest__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 0;
  background: linear-gradient(180deg, #fff9df 0%, #ffd84d 100%);
  border: 1px solid rgba(214, 170, 0, 0.55);
  color: #21201f;
  display: grid;
  place-items: center;
}
.cabinet-guest__card h1 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 700; }
.cabinet-guest__card p { margin: 0 0 28px; color: var(--muted); max-width: 360px; margin-left: auto; margin-right: auto; }

.cabinet-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.cabinet-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cabinet-hero__name { margin: 0 0 4px; font-size: 1.375rem; font-weight: 700; }
.cabinet-hero__email { margin: 0 0 12px; color: var(--muted); font-size: 0.9rem; }
.cabinet-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  background: #eff6ff;
  color: var(--primary);
}
.badge--customer { background: #f0fdf4; color: var(--accent-dark); }
.badge--premium { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }

.cabinet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.cabinet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.cabinet-card--wide { grid-column: 1 / -1; }
.cabinet-card__title { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cabinet-card__value { margin: 0 0 12px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.cabinet-card__value--sm { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.cabinet-card__desc { margin: 0 0 14px; font-size: 0.875rem; color: var(--muted); }
.cabinet-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.cabinet-card__link:hover { text-decoration: underline; }
.cabinet-card__link--btn { text-align: left; }

.role-toggle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}
.role-toggle-head__text { min-width: 0; flex: 1; }
.role-switcher {
  display: grid;
  grid-template-columns: 96px 52px 96px;
  align-items: center;
  column-gap: 10px;
  flex-shrink: 0;
  width: 274px;
  padding: 8px 12px;
  border: 1px solid rgba(33, 32, 31, 0.12);
  border-radius: 0;
  background: #fafaf8;
  box-sizing: border-box;
}
.role-switcher__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  transition: color 0.2s;
  user-select: none;
  white-space: nowrap;
  text-align: center;
  width: 96px;
  line-height: 1.2;
}
.role-switcher__label--left { justify-self: end; }
.role-switcher__label--right { justify-self: start; }
.role-switcher__label--active {
  color: #21201f;
}
.role-switcher__track {
  position: relative;
  width: 52px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: linear-gradient(180deg, #fff4a8 0%, #ffcc00 100%);
  box-shadow: inset 0 0 0 1px rgba(33, 32, 31, 0.08);
  cursor: pointer;
  transition: background 0.25s ease;
  flex-shrink: 0;
  justify-self: center;
}
.role-switcher__track--customer,
.role-switcher--customer .role-switcher__track {
  background: linear-gradient(180deg, #dbeafe 0%, #93c5fd 100%);
}
.role-switcher__track:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.role-switcher__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}
.role-switcher--customer .role-switcher__thumb {
  transform: translateX(24px);
}
.role-switcher--disabled { opacity: 0.6; }

.cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cabinet-action {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .15s;
}
.cabinet-action:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

.cabinet-card--cta {
  background: linear-gradient(135deg, #fff9e6, #fff4cc);
  border-color: #e8d070;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.btn--logout { margin-top: 8px; color: var(--danger); border-color: #fecaca; }
.btn--logout:hover { background: #fef2f2; }

/* Cabinet — profile-settings sidebar */
.page-cabinet .cabinet-shell { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.cabinet-layout { min-height: calc(100vh - 140px); padding: 28px 0 48px; }
.cabinet-app {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.cabinet-sidebar {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.cabinet-sidebar__title {
  margin: 0;
  padding: 22px 22px 16px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: -0.01em;
}
.cabinet-nav {
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
}
.cabinet-nav__divider {
  height: 1px;
  margin: 3px 22px;
  background: #ececec;
  border: none;
}
.cabinet-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 6px 22px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #5c5c5c;
  border: none;
  background: transparent;
  transition: color 0.12s, background 0.12s;
  text-decoration: none;
  cursor: pointer;
}
.cabinet-nav__item:hover {
  color: #2d2d2d;
  background: #f7f7f7;
}
.cabinet-nav__item--active {
  color: #2d2d2d;
  font-weight: 500;
  background: #f3f3f3;
}
.cabinet-nav__item--logout:hover { color: var(--danger); }
.cabinet-nav__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
}
.cabinet-nav__item--active .cabinet-nav__icon,
.cabinet-nav__item:hover .cabinet-nav__icon { color: #5c5c5c; }
.cabinet-nav__label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.cabinet-nav__label strong {
  font-weight: 600;
  color: #2d2d2d;
}
.cabinet-nav__count {
  flex-shrink: 0;
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 0;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.cabinet-main { min-width: 0; }
.cabinet-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 24px 28px 32px;
  box-shadow: none;
}
.cabinet-panel__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(33, 32, 31, 0.08);
}
.cabinet-panel__head h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #21201f;
}
.cabinet-panel__head p {
  margin: 0;
  color: #5a5856;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 640px;
}
.cabinet-panel__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cabinet-notifications {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cabinet-notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 0;
  background: #fafafa;
  cursor: default;
  transition: background 0.12s, border-color 0.12s;
}
.cabinet-notification--unread {
  background: #fffef8;
  border-color: #e8dfc0;
  cursor: pointer;
}
.cabinet-notification--unread:hover {
  background: #fffdf0;
}
.cabinet-notification__main { flex: 1; min-width: 0; }
.cabinet-notification__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.cabinet-notification__kind {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a7a48;
}
.cabinet-notification__date {
  font-size: 0.8125rem;
  color: #8a8a8a;
}
.cabinet-notification__title {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2d2d2d;
}
.cabinet-notification__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5c5c5c;
}
.cabinet-notification__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 0;
  background: #4338ca;
}

.cabinet-overview-card {
  border: 1px solid rgba(33, 32, 31, 0.15);
  background: #fff;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(33, 32, 31, 0.03);
}
.cabinet-overview-card__head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(33, 32, 31, 0.1);
  background: rgba(255, 249, 223, 0.5);
}
.cabinet-overview-card__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.cabinet-overview-card__title {
  margin: 6px 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: #21201f;
  letter-spacing: -0.02em;
}
.cabinet-overview-card__sub {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: #5a5856;
}
.cabinet-overview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cabinet-overview-stat--collapsed {
  visibility: hidden;
  pointer-events: none;
}
.cabinet-overview-stat {
  display: block;
  padding: 16px 18px;
  text-align: left;
  border: none;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  border-right: 1px solid rgba(33, 32, 31, 0.1);
}
.cabinet-overview-stat:last-child { border-right: none; }
.cabinet-overview-stat:hover { background: rgba(246, 245, 242, 0.7); }
.cabinet-overview-stat__icon {
  display: inline-flex;
  color: #9a9a9a;
  margin-bottom: 8px;
}
.cabinet-overview-stat__value {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #21201f;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cabinet-overview-stat__value--sm {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.cabinet-overview-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.cabinet-overview-stat__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #9a9a9a;
  line-height: 1.35;
}

.cabinet-block {
  border: 1px solid rgba(33, 32, 31, 0.15);
  background: #fff;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(33, 32, 31, 0.03);
}
.cabinet-block--cta {
  background: linear-gradient(135deg, #fff9e6, #fff4cc);
  border-color: rgba(214, 170, 0, 0.45);
}
.cabinet-block__head { margin-bottom: 14px; }
.cabinet-block__title {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #21201f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cabinet-block__desc {
  margin: 0;
  font-size: 0.875rem;
  color: #5a5856;
}

.cabinet-balance-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.cabinet-balance-card {
  background: #fff;
  border: 1px solid rgba(33, 32, 31, 0.15);
  padding: 22px;
}
.cabinet-balance-card--wide { min-height: 280px; }
.cabinet-balance-card__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.cabinet-balance-card__amount {
  margin: 10px 0 22px;
  font-size: 2rem;
  font-weight: 800;
  color: #21201f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cabinet-balance-card__heading {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #21201f;
}
.cabinet-nav__item--external::after {
  content: none;
}

/* My responses cards */
.cabinet-responses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cabinet-response-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid #ececec;
  border-radius: 0;
  background: #fafafa;
}
.cabinet-response-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cabinet-response-card__date {
  font-size: 0.8125rem;
  color: #8a8a8a;
}
.cabinet-response-card__title {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #2d2d2d;
  line-height: 1.35;
}
.cabinet-response-card__desc {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cabinet-response-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  font-size: 0.8125rem;
}
.cabinet-response-card__contacts-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a9a9a;
  margin-bottom: 4px;
}
.cabinet-response-card__contacts a {
  color: var(--onec-red);
  text-decoration: none;
}
.cabinet-response-card__contacts a:hover { text-decoration: underline; }
.cabinet-response-card__no-contacts {
  margin: 0;
  font-size: 0.8125rem;
  color: #9a9a9a;
  font-style: italic;
}
.cabinet-response-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 110px;
  text-align: right;
}
.cabinet-response-card__time {
  font-size: 0.8125rem;
  color: #8a8a8a;
}
.cabinet-response-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d2d2d;
  white-space: nowrap;
}
.cabinet-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.cabinet-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.cabinet-stat__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cabinet-stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cabinet-stat__value--sm { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.cabinet-stat__meta { font-size: 0.8125rem; color: var(--muted); }
.cabinet-stat__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--onec-red);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.cabinet-stat__link:hover { text-decoration: underline; }

.sub-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 0;
  border: 1px solid rgba(33, 32, 31, 0.12);
  margin-bottom: 0;
}
.sub-status--active {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fcd34d;
}
.sub-status--inactive { background: #f8fafc; }
.sub-status--neutral { background: #f0fdf4; border-color: #bbf7d0; }
.sub-status__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.7);
  color: #b45309;
}
.sub-status__body { min-width: 0; }
.sub-status strong { display: block; margin-bottom: 2px; font-size: 0.9375rem; }
.sub-status p { margin: 0; font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }

.sub-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sub-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.sub-section-title {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sub-body__checkout { position: relative; }
.sub-checkout-card {
  position: sticky;
  top: 84px;
  padding: 18px;
  background: #fafaf8;
  border: 1px solid rgba(33, 32, 31, 0.12);
  border-radius: 0;
}
.sub-checkout-card__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #21201f;
}

.sub-yookassa-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0 0 16px;
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}
.plan-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 16px 14px 14px;
  min-height: 0;
  border: 1px solid rgba(33, 32, 31, 0.14);
  border-radius: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.plan-tile:hover { border-color: #d4b840; background: #fffef8; }
.plan-tile--active {
  border-color: #c9a832;
  box-shadow: 0 0 0 2px rgba(255, 220, 80, 0.22);
  background: #fffef8;
}
.plan-tile--premium { border-color: #e8d070; }
.plan-tile__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-right: 56px;
}
.plan-tile__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #92400e;
  background: #fde68a;
  padding: 2px 7px;
  border-radius: 0;
}
.plan-tile__price {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.plan-tile__price small { font-size: 0.8125rem; font-weight: 600; }
.plan-tile__name { font-size: 0.9375rem; font-weight: 600; color: #21201f; }
.plan-tile__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
  min-height: 2.8em;
}
.plan-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.plan-tile__tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 0;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 500;
}
.plan-tile--active .plan-tile__tag {
  background: #fef3c7;
  color: #92400e;
}

.sub-pay-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.sub-pay-bar__info span { font-size: 0.8125rem; color: var(--muted); }
.sub-pay-bar__info strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.sub-pay-bar .btn-win { max-width: none; flex: none; }

.cabinet-panel--subscription .cabinet-panel__head--compact {
  margin-bottom: 16px;
  padding-bottom: 14px;
}
.cabinet-panel--subscription .cabinet-panel__head p {
  max-width: 56em;
}

.sub-balance-use {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.sub-balance-use input {
  margin-top: 3px;
  flex-shrink: 0;
}
.sub-balance-use strong {
  color: #21201f;
}

.partner-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.partner-intro {
  padding: 18px 20px;
  background: #fafaf8;
  border: 1px solid rgba(33, 32, 31, 0.12);
}
.partner-intro__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}
.partner-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: #5c5c5c;
  font-size: 0.875rem;
  line-height: 1.55;
}
.partner-steps li + li {
  margin-top: 8px;
}
.partner-link-card {
  padding: 18px 20px;
  border: 1px solid rgba(33, 32, 31, 0.12);
  background: #fff;
}
.partner-link-card__label {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.partner-link-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.partner-link-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(33, 32, 31, 0.15);
  background: #fafaf8;
  font: inherit;
  font-size: 0.875rem;
}
.partner-link-card__hint {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.partner-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.partner-stat {
  padding: 16px 14px;
  border: 1px solid rgba(33, 32, 31, 0.12);
  background: #fff;
}
.partner-stat__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #21201f;
  margin-bottom: 4px;
}
.partner-stat__label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}
.partner-referrals__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}
.partner-referrals-list {
  border: 1px solid rgba(33, 32, 31, 0.12);
  background: #fff;
}
.partner-referral-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(33, 32, 31, 0.08);
}
.partner-referral-row:last-child {
  border-bottom: none;
}
.partner-referral-row__main {
  min-width: 0;
}
.partner-referral-row__name {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}
.partner-referral-row__email {
  font-size: 0.8125rem;
  color: var(--muted);
}
.partner-referral-row__meta {
  text-align: right;
  flex-shrink: 0;
}
.partner-referral-row__amount {
  display: block;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 2px;
}
.partner-referral-row__date {
  font-size: 0.75rem;
  color: var(--muted);
}

.profile-card {
  background: #fff;
  border: 1px solid rgba(33, 32, 31, 0.2);
  border-radius: 0;
  overflow: hidden;
}
.profile-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.profile-card__row:last-child { border-bottom: none; }
.profile-card__row span { color: var(--muted); }

/* Profile form — cabinet */
.profile-form { max-width: 720px; }
.profile-form__section {
  margin: 0 0 24px;
  padding: 0;
  border: none;
}
.profile-form__legend {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0 0 8px;
  border-bottom: 1px solid #ececec;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
}
.profile-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.profile-field--wide { grid-column: 1 / -1; }
.profile-field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a4a4a;
}
.profile-field__label em {
  font-style: normal;
  color: var(--onec-red);
}
.profile-field__hint {
  font-size: 0.75rem;
  color: #9a9a9a;
  line-height: 1.35;
}
.profile-field input,
.profile-field select,
.profile-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  font: inherit;
  font-size: 0.9375rem;
  color: #2d2d2d;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.profile-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus {
  outline: none;
  border-color: #c9a832;
  box-shadow: 0 0 0 3px rgba(255, 220, 80, 0.25);
}
.profile-field__readonly {
  background: #f5f5f5 !important;
  color: #6b6b6b !important;
  cursor: default;
}
.profile-form__actions {
  margin-top: 8px;
  padding-top: 8px;
}
.profile-form__success {
  margin: 0 0 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0;
}

.plan-card__meta { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar-ads { position: static; }
  .nav-tabs { display: none; }
  .topbar__inner { gap: 12px; }
  .hero__inner { grid-template-columns: 1fr; }
  .landing-hero__inner { grid-template-columns: 1fr; }
  .landing-hero--yellow .landing-hero__inner { grid-template-columns: 1fr; }
  .landing-hero__visual { order: -1; }
  .pro1c-banner { max-width: 100%; }
  .pro1c-banner__card--2,
  .pro1c-banner__card--3 { transform: none; opacity: 1; }
  .landing-header__actions .btn-landing--header-line .btn-landing__label { font-size: 0.8125rem; }
  .landing-stats__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-app { grid-template-columns: 1fr; }
  .cabinet-sidebar { position: static; }
  .cabinet-stats { grid-template-columns: 1fr; }
  .cabinet-overview-stats { grid-template-columns: 1fr; }
  .cabinet-overview-stat--collapsed { display: none; }
  .cabinet-overview-stat { border-right: none; border-bottom: 1px solid rgba(33, 32, 31, 0.1); }
  .cabinet-back__label { display: none; }
  .topbar__start { gap: 8px; }
  .cabinet-response-card { grid-template-columns: 1fr; }
  .cabinet-response-card__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }
  .cabinet-balance-grid { grid-template-columns: 1fr; }
  .profile-form__grid { grid-template-columns: 1fr; }
  .cabinet-panel { padding: 16px 14px 20px; }
  .role-toggle-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .role-switcher { width: 100%; max-width: 274px; margin: 0 auto; }
  .partner-stats { grid-template-columns: 1fr 1fr; }
  .partner-link-row { flex-direction: column; }
  .partner-referral-row { flex-direction: column; gap: 8px; }
  .partner-referral-row__meta { text-align: left; }
  .sub-body { grid-template-columns: 1fr; }
  .sub-checkout-card { position: static; }
  .plan-picker { grid-template-columns: 1fr; }
  .plan-tile__head { padding-right: 0; flex-wrap: wrap; }
  .plan-tile__hint { min-height: 0; }
  .btn--cabinet .btn__label { display: none; }
  .btn--cabinet { padding: 9px 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .workflow-scheme { flex-direction: column; align-items: stretch; }
  .workflow-arrow {
    flex: 0 0 24px;
    width: 2px;
    height: 24px;
    margin: 4px auto;
    background: #d4b840;
  }
  .workflow-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top: 7px solid #d4b840;
    border-left: 5px solid transparent;
  }
}
