/* Portal24 — вход по SMS + кабинет (матовая угольная палитра) */
:root {
  --g24-auth-accent: #1f1f1f;
  --g24-auth-accent-hover: #2c2c2c;
  --g24-auth-accent-soft: rgba(31, 31, 31, 0.07);
  --g24-auth-text: #171717;
  --g24-auth-muted: #737373;
  --g24-auth-border: #e5e5e5;
  --g24-auth-radius: 24px;
  --g24-sidebar-bg: #1f1f1f;
  --g24-sidebar-bg-hover: rgba(255, 255, 255, 0.08);
  --g24-sidebar-text: #f5f5f5;
  --g24-sidebar-muted: #a3a3a3;
  --g24-sidebar-border: rgba(255, 255, 255, 0.1);
}

/* Кнопка в шапке (fallback, если glass CSS ещё не подхватил) */
.g24-auth-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--g24-auth-border);
  border-radius: 999px;
  background: #fff;
  color: var(--g24-auth-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.g24-auth-header-btn:hover {
  border-color: var(--g24-auth-accent);
  color: var(--g24-auth-accent);
  text-decoration: none;
}
.g24-auth-header-btn--primary {
  background: var(--g24-auth-accent);
  border-color: var(--g24-auth-accent);
  color: #fff;
  box-shadow: none;
}
.g24-auth-header-btn--primary:hover {
  background: var(--g24-auth-accent-hover);
  border-color: var(--g24-auth-accent-hover);
  color: #fff;
}

/* Оверлей + модалка — матовая угольная палитра (как в референсе) */
.g24-auth-overlay {
  --g24-auth-accent: #1f1f1f;
  --g24-auth-accent-hover: #2c2c2c;
  --g24-auth-accent-soft: rgba(31, 31, 31, 0.07);
  --g24-auth-text: #171717;
  --g24-auth-muted: #737373;
  --g24-auth-border: #e5e5e5;
  --g24-auth-surface: #f5f5f5;
  --g24-auth-focus: rgba(31, 31, 31, 0.1);

  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 23, 23, 0.52);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  animation: g24AuthFadeIn 0.22s ease;
}
.g24-auth-overlay[hidden] {
  display: none !important;
}
@keyframes g24AuthFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.g24-auth-modal,
.g24-auth-modal--v2 {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 30px 26px 26px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 24px 56px rgba(23, 23, 23, 0.18),
    0 2px 8px rgba(23, 23, 23, 0.04);
  text-align: center;
  animation: g24AuthPop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes g24AuthPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.g24-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--g24-auth-surface);
  color: #737373;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.g24-auth-close:hover {
  background: #ebebeb;
  color: #171717;
}

.g24-auth-brand {
  margin: 4px 0 14px;
}
.g24-auth-logo {
  display: block;
  max-width: 180px;
  width: auto;
  height: auto;
  max-height: 36px;
  margin: 0 auto;
  object-fit: contain;
}

.g24-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--g24-auth-surface);
  color: #525252;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--g24-auth-border);
}

.g24-auth-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--g24-auth-text);
}

.g24-auth-lead {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--g24-auth-muted);
  text-align: center;
}

.g24-auth-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.g24-auth-trust li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--g24-auth-surface);
  border: 1px solid var(--g24-auth-border);
  color: #525252;
  font-size: 11.5px;
  font-weight: 600;
}

.g24-auth-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g24-auth-text);
  text-align: left;
}
#g24AuthStepCode .g24-auth-label {
  text-align: center;
}

.g24-auth-phone-field {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--g24-auth-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--g24-auth-surface);
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.g24-auth-phone-field:focus-within {
  border-color: #a3a3a3;
  background: #fff;
  box-shadow: 0 0 0 3px var(--g24-auth-focus);
}
.g24-auth-prefix {
  padding: 14px 12px 14px 16px;
  font-weight: 700;
  color: var(--g24-auth-text);
  border-right: 1px solid var(--g24-auth-border);
  background: transparent;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.g24-auth-input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  font-size: 1.05rem;
  outline: none;
  background: transparent;
  color: var(--g24-auth-text);
}
/* OTP — 5 ячеек */
.g24-auth-otp {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 0 6px;
}
.g24-auth-otp__cells {
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.g24-auth-otp__cell {
  width: 44px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--g24-auth-border);
  border-radius: 12px;
  background: var(--g24-auth-surface);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--g24-auth-text);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.g24-auth-otp__cell.is-filled {
  background: #fff;
  border-color: #a3a3a3;
}
.g24-auth-otp__cell.is-active {
  border-color: var(--g24-auth-accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--g24-auth-focus);
}
.g24-auth-otp__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 16px; /* iOS zoom guard */
  letter-spacing: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  cursor: text;
}
.g24-auth-otp:focus-within .g24-auth-otp__cell.is-active {
  border-color: var(--g24-auth-accent);
  box-shadow: 0 0 0 3px var(--g24-auth-focus);
}

.g24-auth-hint,
.g24-auth-meta {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--g24-auth-muted);
  text-align: center;
  line-height: 1.4;
}
.g24-auth-hint {
  margin: 0 0 10px;
}

.g24-auth-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  font-size: 0.85rem;
  color: #b91c1c;
  text-align: left;
}

/* Матовая угольная кнопка — без градиента и яркого glow */
.g24-auth-submit {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 16px;
  background: #1f1f1f;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease, transform 0.15s ease;
}
.g24-auth-submit:hover:not(:disabled) {
  background: #2c2c2c;
  transform: none;
  filter: none;
  box-shadow: none;
}
.g24-auth-submit:active:not(:disabled) {
  background: #171717;
}
.g24-auth-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.g24-auth-submit[data-loading="1"] .g24-auth-submit__label::after {
  content: '…';
}

.g24-auth-back {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  border: none;
  background: none;
  color: var(--g24-auth-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.g24-auth-back:hover {
  color: var(--g24-auth-text);
}

.g24-auth-sent-to {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--g24-auth-muted);
  text-align: center;
}
.g24-auth-sent-to strong {
  color: var(--g24-auth-text);
  font-weight: 700;
}

.g24-auth-resend {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.g24-auth-resend-meta {
  margin: 0;
  min-height: 1.2em;
  font-variant-numeric: tabular-nums;
}
.g24-auth-resend-meta #g24AuthResendTimer {
  font-weight: 600;
  color: #737373;
}

.g24-auth-resend-btn {
  border: 1px solid var(--g24-auth-border);
  background: #fff;
  color: #404040;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.g24-auth-resend-btn:hover:not(:disabled) {
  background: var(--g24-auth-surface);
  border-color: #d4d4d4;
  color: #171717;
}
.g24-auth-resend-btn:disabled {
  color: #a3a3a3;
  cursor: not-allowed;
  background: #fafafa;
}

@media (max-width: 400px) {
  .g24-auth-otp__cell {
    width: 40px;
    height: 44px;
    font-size: 1.25rem;
  }
  .g24-auth-otp__cells {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .g24-auth-modal,
  .g24-auth-modal--v2 {
    padding: 28px 18px 22px;
    border-radius: 20px;
  }
  .g24-auth-title { font-size: 1.35rem; }
}

/* Личный кабинет */
.g24-cabinet-main {
  padding: 32px 0 48px;
}
/* overflow-x:hidden на html/body в темах ломает sticky → top:108px
   сдвигает сайдбар вниз как relative. clip не создаёт scroll-container. */
html:has(body.g24-cabinet-page),
body.g24-cabinet-page {
  overflow-x: clip !important;
}
/* Отступ под плавающий glass-header (spacer скрыт) */
body.g24-cabinet-page .g24-cabinet-main,
html body:has(.site-header.p24-glass).g24-cabinet-page .g24-cabinet-main,
html body.g24-cabinet-page:has(.site-header.p24-glass) .g24-cabinet-main {
  padding-top: 108px;
}
@media (max-width: 900px) {
  body.g24-cabinet-page .g24-cabinet-main,
  html body.g24-cabinet-page:has(.site-header.p24-glass) .g24-cabinet-main {
    padding-top: 96px;
  }
}
.g24-cabinet {
  max-width: 720px;
}
.g24-cabinet__header h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}
.g24-cabinet__phone {
  margin: 0 0 24px;
  color: var(--g24-auth-muted);
  font-size: 1.05rem;
}
.g24-cabinet__card {
  background: #fff;
  border: 1px solid var(--g24-auth-border);
  border-radius: var(--g24-auth-radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.g24-cabinet__card h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.g24-cabinet__card--muted {
  background: #f9fafb;
}
.g24-cabinet__card--muted p {
  margin: 0;
  color: var(--g24-auth-muted);
  font-size: 0.95rem;
}
.g24-cabinet__meta {
  list-style: none;
  margin: 0;
  padding: 0;
}
.g24-cabinet__meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--g24-auth-border);
}
.g24-cabinet__meta li:last-child {
  border-bottom: none;
}
.g24-cabinet__meta span {
  color: var(--g24-auth-muted);
}
.g24-cabinet__logout {
  margin-top: 8px;
  padding: 12px 24px;
  border: 1px solid var(--g24-auth-border);
  border-radius: 12px;
  background: #fff;
  color: #dc2626;
  font-weight: 600;
  cursor: pointer;
}
.g24-cabinet__guest {
  text-align: center;
  padding: 48px 24px;
  background: #f9fafb;
  border-radius: var(--g24-auth-radius);
}
.g24-cabinet__guest h1 {
  margin-top: 0;
}
.g24-cabinet__login-btn {
  max-width: 280px;
  margin: 0 auto;
}

.g24-cabinet-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1450px;
  width: 100%;
}
body.g24-cabinet-page .g24-cabinet-layout.container {
  max-width: 1450px;
  padding-top: 0;
  /* style.css: .container { overflow-x:hidden } → overflow-y:auto,
     sticky top считается от контейнера и опускает сайдбар на 108px */
  overflow: visible !important;
}
.g24-cabinet-content {
  min-width: 0;
  order: 2;
  margin-top: 0;
}
.g24-cabinet-content--full {
  grid-column: 1 / -1;
}
.g24-cabinet-sidebar {
  position: sticky;
  top: 108px;
  align-self: start;
  margin-top: 0;
  background: var(--g24-sidebar-bg);
  border: none;
  border-radius: var(--g24-auth-radius);
  padding: 22px 18px;
  order: 1;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  color: var(--g24-sidebar-text);
}
.g24-cabinet-content > :first-child {
  margin-top: 0;
}
.g24-cabinet-sidebar__user {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--g24-sidebar-border);
  font-size: 0.9rem;
  color: var(--g24-sidebar-muted);
}
.g24-cabinet-sidebar__user strong {
  font-size: 1.05rem;
  color: var(--g24-sidebar-text);
  line-height: 1.35;
}
.g24-cabinet-sidebar__status {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}
.g24-cabinet-sidebar__status--draft,
.g24-cabinet-sidebar__status--rejected { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.g24-cabinet-sidebar__status--pending { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.g24-cabinet-sidebar__status--approved { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.g24-cabinet-sidebar__balance {
  margin-top: 8px;
  color: var(--g24-sidebar-muted);
  font-size: 0.88rem;
}
.g24-cabinet-sidebar__balance strong {
  color: #fff;
  font-size: 1.05rem;
}
.g24-cabinet-city {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.g24-cabinet-city__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--g24-sidebar-muted);
  margin-bottom: 6px;
}
.g24-cabinet-city__select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.g24-cabinet-city__select option {
  color: #111;
}
.g24-city-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8eef8;
  color: #1e3a5f;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.g24-city-badge--sm {
  font-size: 0.72rem;
  padding: 2px 6px;
  margin-right: 4px;
}
.g24-kind-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  background: #e8eef8;
  color: #1e3a5f;
}
.g24-kind-badge--service {
  background: #e8eef8;
  color: #1e3a5f;
}
.g24-kind-badge--vacancy {
  background: #e8f6ee;
  color: #1b5e3a;
}
.g24-kind-badge--resume {
  background: #f3eef8;
  color: #4a2d6e;
}
.g24-kind-badge--page {
  background: #ecfdf5;
  color: #0f766e;
}
.g24-listings-add-row {
  flex-wrap: wrap;
}
.g24-listings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 0 0 12px;
}
.g24-listings-add-main {
  flex: 0 0 auto;
  white-space: nowrap;
  cursor: pointer;
}
.g24-listings-kind-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
html.g24-add-listing-open {
  overflow: hidden;
}
.g24-add-listing-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.g24-add-listing-modal[hidden] {
  display: none !important;
}
.g24-add-listing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.g24-add-listing-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  padding: 18px 18px 16px;
}
.g24-add-listing-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.g24-add-listing-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}
.g24-add-listing-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.g24-add-listing-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.g24-add-listing-modal__choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.g24-add-listing-choice {
  display: block;
  padding: 14px 14px 13px;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.g24-add-listing-choice:hover {
  text-decoration: none;
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.g24-add-listing-choice strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
  margin-bottom: 2px;
}
.g24-add-listing-choice span {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.35;
}
.g24-add-listing-choice--service strong {
  color: #1e3a5f;
}
.g24-add-listing-choice--vacancy strong {
  color: #1b5e3a;
}
.g24-add-listing-choice--resume strong {
  color: #4a2d6e;
}
@media (max-width: 720px) {
  .g24-listings-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .g24-listings-add-main {
    width: 100%;
    justify-content: center;
  }
  .g24-listings-kind-filter {
    width: 100%;
  }
}
.g24-listings-kind-filter__btn[hidden] {
  display: none !important;
}
.g24-listings-kind-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  line-height: 1.2;
}
.g24-listings-kind-filter__btn em {
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
  font-size: 0.75rem;
}
.g24-listings-kind-filter__btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}
.g24-listings-kind-filter__btn.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.g24-listings-kind-filter__btn.is-active em {
  color: #64748b;
}
.g24-listings-kind-empty {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed #d7dee8;
  border-radius: 12px;
  color: #64748b;
  font-size: 0.9rem;
}
.g24-listing-group {
  margin: 0 0 18px;
}
.g24-listing-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  color: #14221c;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.g24-listing-group__title em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8eef8;
  color: #1e3a5f;
}
.g24-listing-group[hidden],
[data-cabinet-block][hidden],
[data-cabinet-listings][hidden],
.g24-listings-kind-filter[hidden] {
  display: none !important;
}
.g24-listing-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul.g24-listing-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}
.g24-listing-card[hidden] {
  display: none !important;
}
.g24-listing-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: stretch;
  padding: 10px 12px 10px 10px;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}
.g24-listing-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #cbd5e1;
}
.g24-listing-card.is-free::before { background: #3b82f6; }
.g24-listing-card.is-paid::before { background: #f59e0b; }
.g24-listing-card.is-page::before { background: #0f766e; }
.g24-listing-card.is-page { overflow: visible; }
.g24-listing-card.is-page .g24-listing-card__tariff-chip { background: rgba(15, 118, 110, 0.92); }
.g24-listing-card .g24-page-note {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
}
.g24-listing-card__media {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef6;
  flex: 0 0 auto;
}
.g24-listing-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.g24-listing-card__media-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #dbeafe, #eef2f7 55%, #f8fafc);
}
.g24-listing-card__views {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px 3px 5px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  line-height: 1;
  z-index: 1;
}
.g24-listing-card__views svg {
  flex: 0 0 auto;
  opacity: 0.95;
}
.g24-listing-card__views em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.g24-listing-card__tariff-chip {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
}
.g24-listing-card.is-free .g24-listing-card__tariff-chip { background: rgba(37, 99, 235, 0.9); }
.g24-listing-card.is-paid .g24-listing-card__tariff-chip { background: rgba(217, 119, 6, 0.92); }
.g24-listing-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.g24-listing-card__head { min-width: 0; }
.g24-listing-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 2px;
  position: relative;
  min-height: 22px;
  padding-right: 148px;
}
.g24-listing-card__top .g24-kind-badge {
  padding: 2px 7px;
  font-size: 0.68rem;
}
.g24-listing-card__status {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}
.g24-listing-card__status--published { color: #15803d; }
.g24-listing-card__status--pending { color: #b45309; }
.g24-listing-card__status--mixed { color: #0369a1; }
.g24-listing-card__status--paused { color: #64748b; }
.g24-listing-card__status--rejected { color: #b91c1c; }
.g24-listing-card__days {
  position: absolute;
  top: 0;
  right: 0;
  margin-left: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.g24-listing-card__days.is-warn {
  color: #92400e;
  background: #fef3c7;
}
.g24-listing-card__days.is-bad {
  color: #991b1b;
  background: #fee2e2;
}
.g24-listing-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f172a;
}
.g24-listing-card__title a {
  color: inherit;
  text-decoration: none;
}
.g24-listing-card__title a:hover {
  color: #0f766e;
}
.g24-listing-card__meta-line {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #64748b;
}
.g24-listing-card__dot {
  margin: 0 4px;
  opacity: 0.5;
}
.g24-listing-card__cities-inline a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.g24-listing-card__cities-inline a:hover {
  text-decoration: underline;
}
.g24-listing-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
}
.g24-listing-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  font-size: 0.74rem;
  color: #64748b;
}
.g24-listing-card__stats em {
  font-style: normal;
  font-weight: 800;
  color: #0f172a;
}
.g24-listing-card__until {
  color: #94a3b8;
}
.g24-listing-card__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.g24-listing-card__form {
  display: inline;
  margin: 0;
}
.g24-listing-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 9px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.g24-listing-card__btn:hover {
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
}
.g24-listing-card__btn--primary {
  background: #0f172a;
  border-color: transparent;
  color: #fff;
}
.g24-listing-card__btn--primary:hover {
  background: #1e293b;
  color: #fff;
}
.g24-listing-card__btn--bump {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #eff6ff;
}
.g24-listing-card__btn--bump:hover {
  background: #dbeafe;
  color: #1e40af;
}
.g24-listing-card__btn--disabled {
  cursor: default;
  opacity: 0.75;
  color: #64748b;
  background: #f8fafc;
}
.g24-listing-card__btn--ok {
  border-color: #86efac;
  color: #166534;
  background: #f0fdf4;
}
.g24-listing-card__btn--danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}
@media (max-width: 720px) {
  .g24-listing-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }
  .g24-listing-card__media {
    width: 88px;
    height: 88px;
  }
  .g24-listing-card__top {
    padding-right: 0;
  }
  .g24-listing-card__days {
    position: static;
    margin-left: auto;
  }
  .g24-listing-card__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
.g24-listing-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.g24-listing-edit-form .g24-cabinet-form__field {
  margin-bottom: 14px;
}
.g24-listing-edit-form label,
.g24-listing-edit-form .g24-lf-field-label {
  display: block;
  font-weight: 650;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.g24-listing-edit-form input[type="text"],
.g24-listing-edit-form input[type="email"],
.g24-listing-edit-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--g24-auth-border, #d0d7e2);
  border-radius: 10px;
  font: inherit;
}
.g24-listing-edit-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.g24-listing-edit-photos__item {
  position: relative;
  margin: 0;
  width: 120px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--g24-auth-border, #e2e8f0);
}
.g24-listing-edit-photos__item img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.g24-listing-edit-photos__rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 640px) {
  .g24-listing-edit-grid {
    grid-template-columns: 1fr;
  }
}
html.g24-stats-modal-open {
  overflow: hidden;
}
.g24-stats-modal[hidden] {
  display: none !important;
}
.g24-stats-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.g24-stats-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}
.g24-stats-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}
.g24-stats-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  position: sticky;
  top: 0;
  z-index: 2;
}
.g24-stats-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.g24-stats-modal__sub {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.g24-stats-modal__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.g24-stats-modal__body {
  padding: 12px 16px 18px;
}
.g24-stats-modal__loading {
  margin: 24px 0;
  text-align: center;
  color: #64748b;
}
.g24-stats-toolbar--modal {
  margin-bottom: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  gap: 8px;
}
.g24-stats-filter-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border-radius: 12px;
}
.g24-stats-filter-block--period {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.g24-stats-filter-block--city {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.g24-stats-filter-block--period .g24-stats-toolbar__label {
  color: #1d4ed8;
}
.g24-stats-filter-block--period .g24-stats-periods__btn.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.g24-stats-kpi__ms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.g24-stats-kpi__ms-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: #475569;
}
.g24-stats-kpi__ms-item em {
  font-style: normal;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.g24-ms-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
}
.g24-stats-kpis--modal {
  margin-bottom: 12px;
}
.g24-stats-table-card--modal {
  margin-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
}
.g24-stats-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
}
.g24-stats-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.g24-stats-toolbar__label {
  min-width: 64px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}
.g24-stats-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.g24-stats-periods__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.g24-stats-periods__btn:hover {
  background: #f8fafc;
  text-decoration: none;
  cursor: pointer;
}
.g24-stats-periods__btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.g24-stats-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.g24-stats-kpi {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.g24-stats-kpi__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: #64748b;
  margin-bottom: 4px;
}
.g24-stats-kpi__value {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.g24-stats-kpi__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: #94a3b8;
}
.g24-stats-section-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}
.g24-stats-table-card {
  margin-bottom: 14px;
  padding: 14px 16px;
}
.g24-stats-table th,
.g24-stats-table td {
  white-space: nowrap;
}
.g24-stats-city-link {
  font-size: 0.72rem;
  color: #2563eb;
  text-decoration: none;
}
.g24-stats-city-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .g24-stats-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .g24-stats-kpis {
    grid-template-columns: 1fr 1fr;
  }
}
.g24-lf-city-bar {
  margin-bottom: 16px;
  padding: 16px 18px;
}
.g24-lf-city-bar__label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.g24-lf-city-bar__select {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d0d7e2;
  font-size: 1rem;
  font-weight: 600;
}
.g24-cabinet-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.g24-cabinet-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--g24-sidebar-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.g24-cabinet-nav__badge {
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.g24-cabinet-nav__link:hover {
  background: var(--g24-sidebar-bg-hover);
  text-decoration: none;
  color: #fff;
}
.g24-cabinet-nav__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #fff;
}
.g24-cabinet-nav__link.is-locked {
  opacity: 0.55;
}
.g24-cabinet-nav__lock {
  font-size: 0.85rem;
}
.g24-cabinet-nav__group {
  display: grid;
  gap: 2px;
}
.g24-cabinet-nav__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 2px;
}
.g24-cabinet-nav__link--main {
  border-radius: 10px 0 0 10px;
}
.g24-cabinet-nav__toggle {
  width: 40px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.g24-cabinet-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.g24-cabinet-nav__group.is-open .g24-cabinet-nav__toggle {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.g24-cabinet-nav__group.is-open .g24-cabinet-nav__toggle svg {
  transform: rotate(180deg);
}
.g24-cabinet-nav__toggle svg {
  transition: transform 0.2s ease;
}
.g24-cabinet-nav__sub {
  display: grid;
  gap: 2px;
  margin: 2px 0 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.g24-cabinet-nav__sub[hidden] {
  display: none;
}
.g24-cabinet-nav__sublink {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.g24-cabinet-nav__sublink:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}
.g24-cabinet-sidebar__logout {
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--g24-sidebar-border);
  border-radius: 10px;
  background: transparent;
  color: #fca5a5;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.g24-cabinet-sidebar__logout:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}
.g24-cabinet-page__head h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.g24-cabinet-page__head p {
  margin: 0 0 20px;
  color: var(--g24-auth-muted);
}
.g24-cabinet-page__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.g24-cabinet-card,
.g24-cabinet-balance-card {
  background: #fff;
  border: 1px solid var(--g24-auth-border);
  border-radius: var(--g24-auth-radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.g24-cabinet-card h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.g24-cabinet-balance-card__label {
  display: block;
  color: var(--g24-auth-muted);
  font-size: 0.9rem;
}
.g24-cabinet-balance-card__value {
  display: block;
  font-size: 2rem;
  color: var(--g24-auth-accent);
  margin: 8px 0;
}
.g24-cabinet-balance-card__note {
  margin: 0;
  color: var(--g24-auth-muted);
  font-size: 0.9rem;
}
.g24-cabinet-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.g24-cabinet-alert--ok { background: #dcfce7; color: #166534; }
.g24-cabinet-alert--warn { background: #fef3c7; color: #92400e; }
.g24-cabinet-alert--info { background: #dbeafe; color: #1e40af; }
.g24-cabinet-alert--err { background: #fee2e2; color: #991b1b; }
.g24-cabinet-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.g24-cabinet-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.g24-cabinet-form__field[hidden],
.g24-profile-bank[hidden],
.g24-profile-fields [data-profile-field][hidden] {
  display: none !important;
}
.g24-cabinet-form__field span {
  font-size: 0.9rem;
  font-weight: 600;
}
.g24-cabinet-form__field input,
.g24-cabinet-form__field textarea,
.g24-cabinet-form__field select {
  padding: 10px 12px;
  border: 1px solid var(--g24-auth-border);
  border-radius: 10px;
  font: inherit;
}
.g24-cabinet-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.g24-cabinet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background: var(--g24-auth-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease;
}
.g24-cabinet-btn:hover {
  background: var(--g24-auth-accent-hover);
  text-decoration: none;
  color: #fff;
}
.g24-cabinet-btn--ghost {
  background: #fff;
  color: var(--g24-auth-text);
  border: 1px solid var(--g24-auth-border);
}
.g24-cabinet-btn--ghost:hover {
  background: #f5f5f5;
  color: var(--g24-auth-text);
}
.g24-cabinet-form__hint,
.g24-cabinet-bonus-hint,
.g24-cabinet-empty {
  color: var(--g24-auth-muted);
  font-size: 0.95rem;
}
.g24-cabinet-table-wrap {
  overflow-x: auto;
}
.g24-cabinet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.g24-cabinet-table th,
.g24-cabinet-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--g24-auth-border);
  text-align: left;
}
.g24-cabinet-table th {
  color: var(--g24-auth-muted);
  font-weight: 600;
}
.g24-cabinet-table .is-plus { color: #16a34a; font-weight: 600; }
.g24-cabinet-ticket-list,
.g24-cabinet-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.g24-cabinet-ticket,
.g24-cabinet-review {
  padding: 14px 0;
  border-bottom: 1px solid var(--g24-auth-border);
}
.g24-cabinet-ticket__head,
.g24-cabinet-review__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.g24-cabinet-ticket__reply {
  margin-top: 8px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 0.9rem;
}
.g24-cabinet-ticket.is-unread {
  background: #fffbeb;
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}

.g24-cabinet-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.g24-cabinet-alert--error {
  background: #fee2e2;
  color: #991b1b;
}
.g24-cabinet-alert--success {
  background: #dcfce7;
  color: #166534;
}
.g24-cabinet-pay-card__lead {
  color: var(--g24-auth-muted);
  margin-top: 0;
}
.g24-cabinet-pay-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 4px;
}
.g24-pay-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 18px;
}
.g24-pay-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--g24-auth-border);
  background: #f8fafc;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.g24-pay-method strong {
  font-size: 0.98rem;
}
.g24-pay-method span {
  font-size: 0.82rem;
  color: var(--g24-auth-muted);
  line-height: 1.35;
}
.g24-pay-method:hover {
  border-color: #a3a3a3;
  background: #fff;
}
.g24-pay-method.is-active {
  border-color: #1f1f1f;
  background: #f5f5f5;
  box-shadow: 0 0 0 3px rgba(31, 31, 31, 0.08);
}
.g24-pay-panel[hidden] {
  display: none !important;
}
.g24-cabinet-form__field--wide {
  grid-column: 1 / -1;
}
.g24-bank-invoice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g24-bank-invoice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}
.g24-bank-invoice__grid h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.g24-bank-invoice__grid p {
  margin: 0 0 4px;
  font-size: 0.92rem;
}
.g24-bank-invoice__table {
  margin-bottom: 14px;
}
.g24-bank-invoice__purpose {
  margin: 0;
  font-size: 0.92rem;
  color: var(--g24-auth-muted);
}
@media (max-width: 700px) {
  .g24-pay-methods,
  .g24-bank-invoice__grid {
    grid-template-columns: 1fr;
  }
}
.g24-pay-amount-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.g24-pay-amount-field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--g24-auth-text);
}
.g24-pay-amount-field__wrap {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--g24-auth-border);
  border-radius: 14px;
  background: #fafafa;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.g24-pay-amount-field__wrap:focus-within {
  border-color: var(--g24-auth-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}
.g24-pay-amount-field__input {
  flex: 1;
  min-width: 0;
  padding: 16px 12px 16px 18px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--g24-auth-text);
  letter-spacing: -0.02em;
  -moz-appearance: textfield;
}
.g24-pay-amount-field__input::-webkit-outer-spin-button,
.g24-pay-amount-field__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.g24-pay-amount-field__input:focus {
  outline: none;
}
.g24-pay-amount-field__currency {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--g24-auth-muted);
  background: rgba(15, 23, 42, 0.04);
  border-left: 1px solid var(--g24-auth-border);
  user-select: none;
}
.g24-cabinet-pay-form__submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.g24-cabinet-pay-form__submit:disabled {
  opacity: 0.72;
  cursor: wait;
}
.g24-cabinet-pay-form__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--g24-auth-muted);
}
.g24-cabinet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.g24-cabinet-btn--primary {
  background: var(--g24-auth-accent);
  color: #fff;
  box-shadow: none;
}
.g24-cabinet-btn--primary:hover {
  background: var(--g24-auth-accent-hover);
  color: #fff;
}
.g24-cabinet-btn--secondary {
  background: #fff;
  color: var(--g24-auth-text);
  border: 1px solid var(--g24-auth-border);
}
.g24-cabinet-btn--secondary:hover {
  background: #f5f5f5;
  color: var(--g24-auth-text);
}
.g24-cabinet-pay-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.g24-cabinet-pay-status__label {
  font-size: 0.85rem;
  color: var(--g24-auth-muted);
}
.g24-cabinet-pay-invoice {
  margin: 8px 0;
}
.g24-cabinet-pay-invoice span {
  color: var(--g24-auth-muted);
}
.g24-cabinet-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.g24-cabinet-pay-steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--g24-auth-muted);
}

/* —— Страница оплаты —— */
.g24-pay-head {
  margin-bottom: 4px;
}
.g24-pay-head__amount {
  margin: 0 0 20px;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--g24-auth-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.g24-pay-head__amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g24-auth-muted);
  margin-left: 4px;
}
.g24-pay-card {
  padding: 28px 28px 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.g24-pay-card__top {
  margin-bottom: 20px;
}
.g24-pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.g24-pay-badge--awaiting {
  background: #fef3c7;
  color: #92400e;
}
.g24-pay-badge--paid {
  background: #dcfce7;
  color: #166534;
}
.g24-pay-badge--inactive {
  background: #f3f4f6;
  color: #6b7280;
}
.g24-pay-erip-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.g24-pay-erip {
  background: linear-gradient(135deg, #fff8f8 0%, #fff 50%, #f8fafc 100%);
  border: 2px solid rgba(211, 47, 47, 0.18);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 0;
}
.g24-pay-erip__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g24-auth-accent);
  margin-bottom: 10px;
}
.g24-pay-erip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.g24-pay-erip__number {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--g24-auth-text);
  letter-spacing: 0.02em;
  word-break: break-all;
  line-height: 1.4;
  background: none;
  padding: 0;
}
.g24-pay-erip__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid var(--g24-auth-border);
  border-radius: 10px;
  background: #fff;
  color: var(--g24-auth-text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.g24-pay-erip__copy:hover {
  border-color: var(--g24-auth-accent);
  color: var(--g24-auth-accent);
}
.g24-pay-erip__copy.is-copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.g24-pay-erip__hint {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--g24-auth-muted);
}
.g24-pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--g24-auth-border);
  border-radius: 14px;
  min-width: 206px;
}
.g24-pay-qr__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g24-auth-muted);
  margin-bottom: 10px;
}
.g24-pay-qr__img {
  display: block;
  width: 174px;
  height: 174px;
  border-radius: 8px;
  background: #fff;
}
.g24-pay-qr__hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--g24-auth-muted);
  max-width: 180px;
  line-height: 1.4;
}
.g24-pay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 4px;
  padding: 14px 16px;
  background: #f9fafb;
  border-radius: 10px;
}
.g24-pay-meta__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g24-pay-meta__label {
  font-size: 0.8rem;
  color: var(--g24-auth-muted);
}
.g24-pay-meta__value {
  font-size: 0.95rem;
  color: var(--g24-auth-text);
}
.g24-pay-actions {
  margin: 24px 0;
}
.g24-pay-actions__primary {
  min-width: 200px;
}
.g24-pay-steps {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--g24-auth-border);
}
.g24-pay-steps--before-actions {
  margin: 20px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--g24-auth-border);
}
.g24-pay-steps--before-actions + .g24-pay-actions {
  margin-top: 0;
}
.g24-pay-steps h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.g24-pay-steps ol {
  line-height: 1.65;
}
.g24-pay-footer-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--g24-auth-border);
}

.g24-cabinet-telegram-card {
  margin-top: 20px;
}
.g24-cabinet-telegram-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.g24-cabinet-telegram-card__lead {
  color: var(--g24-auth-muted);
  margin: 0 0 14px;
}
.g24-cabinet-telegram-card__hint {
  margin: 0 0 12px;
}
.g24-cabinet-telegram-card__code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.g24-cabinet-telegram-card__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 10px 14px;
  background: #f3f4f6;
  border-radius: 10px;
}
.g24-cabinet-telegram-card__link {
  display: inline-flex;
  text-decoration: none;
}

/* —— Дашборд кабинета —— */
.g24-dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #1f1f1f;
  color: #fff;
  box-shadow: 0 12px 32px rgba(23, 23, 23, 0.14);
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.g24-dash-hero::after {
  content: '';
  position: absolute;
  right: -36px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.g24-dash-hero__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1 1 220px;
}
.g24-dash-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.g24-dash-hero__title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.g24-dash-hero__sub {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}
.g24-dash-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.g24-dash-hero__actions .g24-cabinet-btn {
  padding: 9px 14px;
  font-size: 0.88rem;
  border-radius: 11px;
}
.g24-dash-hero__actions .g24-cabinet-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.g24-dash-hero__actions .g24-cabinet-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.g24-dash-hero__actions .g24-cabinet-btn--primary {
  background: #fff;
  color: #171717;
  border-color: #fff;
}
.g24-dash-hero__actions .g24-cabinet-btn--primary:hover {
  background: #f5f5f5;
  color: #171717;
}

.g24-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.g24-dash-head__eyebrow {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--g24-auth-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.g24-dash-head h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.g24-dash-head__sub {
  margin: 0;
  color: var(--g24-auth-muted);
  max-width: 520px;
}
.g24-dash-head__profile {
  flex-shrink: 0;
}
.g24-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.g24-dash-stat {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid var(--g24-auth-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.g24-dash-stat__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.g24-dash-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  border-radius: 11px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.g24-dash-icon svg {
  display: block;
}
.g24-dash-icon--lg {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 13px;
}
.g24-dash-icon--wallet {
  background: rgba(211, 47, 47, 0.1);
  color: #c62828;
}
.g24-dash-icon--listings {
  background: rgba(31, 31, 31, 0.08);
  color: #404040;
}
.g24-dash-icon--views {
  background: rgba(31, 31, 31, 0.08);
  color: #525252;
}
.g24-dash-icon--reviews {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}
.g24-dash-icon--add {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.g24-dash-icon--profile {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}
.g24-dash-icon--support {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}
a.g24-dash-stat:hover {
  border-color: rgba(211, 47, 47, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transform: translateY(-1px);
}
.g24-dash-stat--accent {
  background: linear-gradient(145deg, #fff 0%, #fff5f5 100%);
  border-color: rgba(211, 47, 47, 0.18);
}
.g24-dash-stat--accent .g24-dash-stat__value {
  color: var(--g24-auth-accent);
}
.g24-dash-stat__label {
  font-size: 0.78rem;
  color: var(--g24-auth-muted);
  font-weight: 600;
}
.g24-dash-stat__value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.g24-dash-stat__value span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--g24-auth-muted);
}
.g24-dash-stat__meta {
  font-size: 0.78rem;
  color: var(--g24-auth-muted);
}
.g24-dash-section-title {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--g24-auth-muted);
}
.g24-dash-actions {
  margin-bottom: 22px;
}
.g24-dash-actions--bottom {
  margin: 8px 0 0;
  padding-top: 8px;
}
.g24-dash-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.g24-dash-actions__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g24-dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--g24-auth-border);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.g24-dash-chip:hover {
  border-color: rgba(31, 31, 31, 0.28);
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.06);
  text-decoration: none;
  background: #fafafa;
}
.g24-dash-chip__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}
.g24-dash-action {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--g24-auth-border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  min-height: 112px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.g24-dash-action:hover {
  border-color: rgba(211, 47, 47, 0.28);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  text-decoration: none;
}
.g24-dash-action:hover .g24-dash-icon {
  transform: scale(1.04);
}
.g24-dash-action__title {
  font-weight: 700;
  font-size: 0.95rem;
}
.g24-dash-action__desc {
  font-size: 0.82rem;
  color: var(--g24-auth-muted);
  line-height: 1.35;
}
.g24-dash-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.g24-dash-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.g24-dash-panel__head h2 {
  margin: 0;
}
.g24-dash-panel__head a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--g24-auth-accent);
  text-decoration: none;
}
.g24-dash-panel__head a:hover {
  text-decoration: underline;
}
.g24-dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.g24-dash-list__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--g24-auth-border);
}
.g24-dash-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.g24-dash-list__sub {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--g24-auth-muted);
}
.g24-dash-list__amount {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.92rem;
}
.g24-dash-list__amount.is-plus { color: #16a34a; }
.g24-dash-list__amount.is-minus { color: #dc2626; }
.g24-dash-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.g24-dash-badge--ok {
  background: #dcfce7;
  color: #166534;
}
.g24-dash-telegram__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.g24-dash-telegram__head h2 {
  margin: 0 0 6px;
}

/* —— Профиль —— */
.g24-profile-page {
  max-width: 720px;
}
.g24-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.g24-profile-head--compact h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.g24-profile-head--compact p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--g24-auth-muted);
}
.g24-profile-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.g24-profile-status--draft { background: #f3f4f6; color: #374151; }
.g24-profile-status--pending { background: #dbeafe; color: #1e40af; }
.g24-profile-status--approved { background: #dcfce7; color: #166534; }
.g24-profile-status--rejected { background: #fee2e2; color: #991b1b; }
.g24-profile-card--compact {
  padding: 18px 18px 16px;
}
.g24-profile-form .g24-cabinet-form__grid--compact {
  gap: 10px 12px;
}
.g24-profile-form .g24-cabinet-form__field span {
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.g24-profile-form input,
.g24-profile-form textarea {
  min-height: 40px;
  padding: 8px 11px;
  font-size: 0.92rem;
}
.g24-profile-form textarea {
  min-height: 72px;
  resize: vertical;
}
.g24-payer-types {
  margin: 0 0 14px;
  padding: 0;
  border: none;
}
.g24-payer-types__legend {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}
.g24-payer-types__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g24-payer-types__grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.g24-payer-type {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.g24-payer-type--card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
}
.g24-payer-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.g24-payer-type__label {
  font-size: 0.9rem;
  font-weight: 750;
  color: #334155;
  line-height: 1.2;
}
.g24-payer-type__desc {
  font-size: 0.72rem;
  line-height: 1.25;
  color: #94a3b8;
}
.g24-payer-type:hover {
  border-color: #a3a3a3;
}
.g24-payer-type.is-active {
  border-color: #17824a;
  background: #f3faf6;
  box-shadow: 0 0 0 3px rgba(23, 130, 74, 0.12);
}
.g24-payer-type.is-active .g24-payer-type__label {
  color: #146b3a;
}
.g24-payer-types__hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}
.g24-req {
  color: #dc2626;
  font-style: normal;
  font-weight: 700;
}
.g24-profile-fields {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eef2f0;
}
.g24-profile-bank {
  margin-top: 12px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
.g24-profile-bank__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.g24-profile-bank__title strong {
  font-size: 0.86rem;
  color: #0f172a;
}
.g24-profile-bank__title span {
  font-size: 0.75rem;
  color: #94a3b8;
}
.g24-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2f0;
}
.g24-profile-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.82rem;
  color: #64748b;
}
.g24-profile-bonus-line {
  margin: 10px 2px 0;
  font-size: 0.84rem;
  color: #64748b;
}
.g24-profile-phone-ro {
  background: #f3f4f6 !important;
  color: #374151 !important;
  cursor: default;
}
.g24-profile-lock-wrap {
  position: relative;
}
.g24-profile-lock-wrap.is-locked {
  user-select: none;
}
.g24-profile-glass {
  position: absolute;
  inset: -6px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  pointer-events: all;
  cursor: not-allowed;
}
.g24-profile-glass__label {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.g24-profile-unlock {
  margin-top: 10px;
  padding: 12px 14px;
}
.g24-profile-unlock__head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 0 0 8px;
}
.g24-profile-unlock__head strong {
  font-size: 0.92rem;
  color: #0f172a;
}
.g24-profile-unlock__head span {
  font-size: 0.8rem;
  color: #64748b;
}
.g24-profile-unlock__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.g24-cabinet-btn--sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.86rem;
}
.g24-profile-unlock__status {
  font-size: 0.8rem;
  color: #166534;
}
.g24-profile-unlock__status.is-err {
  color: #991b1b;
}
.g24-profile-unlock__verify {
  display: flex;
  gap: 6px;
  align-items: center;
}
.g24-profile-unlock__verify input {
  width: 88px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
}
.g24-profile-fields[data-payer-type="individual"] [data-profile-field="address"],
.g24-profile-fields[data-payer-type="individual"] [data-profile-field="bank"],
.g24-profile-fields[data-payer-type="individual"] [data-profile-field="company_name"],
.g24-profile-fields[data-payer-type="individual"] [data-profile-field="unp"],
.g24-profile-fields[data-payer-type="self_employed"] [data-profile-field="address"],
.g24-profile-fields[data-payer-type="self_employed"] [data-profile-field="bank"],
.g24-profile-fields[data-payer-type="self_employed"] [data-profile-field="company_name"] {
  display: none !important;
}
@media (max-width: 720px) {
  .g24-payer-types__grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}
.g24-bank-need-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
}
.g24-bank-need-card__text {
  flex: 1 1 220px;
  min-width: 0;
}
.g24-bank-need-card__text strong {
  display: block;
  margin-bottom: 4px;
  color: #92400e;
  font-size: 0.98rem;
}
.g24-bank-need-card__text p {
  margin: 0;
  color: #a16207;
  font-size: 0.88rem;
  line-height: 1.45;
}
.g24-bank-need-card__btn {
  flex-shrink: 0;
  text-decoration: none;
}
.g24-profile-meta {
  margin: 0;
}
.g24-profile-meta div {
  padding: 10px 0;
  border-bottom: 1px solid var(--g24-auth-border);
}
.g24-profile-meta div:last-child {
  border-bottom: none;
}
.g24-profile-meta dt {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: var(--g24-auth-muted);
}
.g24-profile-meta dd {
  margin: 0;
  font-size: 0.95rem;
}
.g24-profile-side-card__link {
  width: 100%;
  margin-top: 14px;
  text-decoration: none;
}
.g24-profile-bonus p {
  margin: 0;
  color: var(--g24-auth-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* —— Список объявлений —— */
.g24-listings-add-btn {
  flex-shrink: 0;
  text-decoration: none;
}
.g24-listings-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 52px;
}
.g24-listings-empty-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(211, 47, 47, 0.1);
  color: var(--g24-auth-accent);
  margin-bottom: 20px;
}
.g24-listings-empty-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}
.g24-listings-empty-card p {
  margin: 0 0 28px;
  max-width: 420px;
  color: var(--g24-auth-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.g24-listings-empty-card__btn {
  min-width: 220px;
  padding: 14px 28px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .g24-cabinet-layout {
    grid-template-columns: 1fr;
  }
  .g24-cabinet-sidebar {
    position: static;
    order: 0;
  }
  .g24-cabinet-content {
    order: 1;
  }
  .g24-cabinet-form__grid {
    grid-template-columns: 1fr;
  }
  .g24-pay-erip-layout {
    grid-template-columns: 1fr;
  }
  .g24-pay-qr {
    min-width: 0;
    width: 100%;
  }
  .g24-pay-erip__row {
    flex-direction: column;
    align-items: stretch;
  }
  .g24-pay-erip__copy {
    justify-content: center;
  }
  .g24-pay-head__amount {
    font-size: 2rem;
  }
  .g24-dash-stats,
  .g24-dash-actions__grid,
  .g24-dash-columns,
  .g24-profile-layout {
    grid-template-columns: 1fr;
  }
  .g24-dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g24-dash-hero {
    padding: 14px 16px;
  }
  .g24-dash-hero__title {
    font-size: 1.2rem;
  }
}

.g24-mobile-auth-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 12px 0;
}

@media (max-width: 640px) {
  .g24-auth-header-btn span.g24-auth-header-label {
    display: none;
  }
  .g24-auth-modal {
    padding: 28px 20px 24px;
  }
}
