/* DonFix cabinet auth + stub cabinet shell */

/* Drawer (90) must stay above header (50). Do not raise header on auth pages. */
.df-auth-page main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 160px);
}

.df-auth {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px) 16px clamp(40px, 7vw, 72px);
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(241, 213, 73, 0.22), transparent 62%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(28, 39, 76, 0.05), transparent 55%),
    linear-gradient(180deg, #f4f6fb 0%, #ffffff 58%);
}

.df-auth__card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: clamp(28px, 4.5vw, 40px) clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(221, 225, 234, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(28, 39, 76, 0.09),
    0 2px 8px rgba(28, 39, 76, 0.04);
}

.df-auth__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  box-shadow: 0 4px 12px rgba(241, 213, 73, 0.45);
}

.df-auth__eyebrow {
  margin: 8px 0 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-auth__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(26px, 4.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy, #1c274c);
}

.df-auth__lead {
  margin: 0 0 26px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #6a738f);
}

.df-auth__notice {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.df-auth__notice-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.df-auth__notice-text {
  font-weight: 500;
  opacity: 0.92;
}

.df-auth__notice--error {
  background: #fff1f1;
  border: 1px solid #f5c2c2;
  color: #9b1c1c;
}

.df-auth__notice--success {
  background: #eefaf1;
  border: 1px solid #b7e4c7;
  color: #1b5e35;
}

.df-auth__social {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
}

.df-auth__form {
  display: grid;
  gap: 16px;
}

.df-auth__field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.df-auth__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1c274c);
}

.df-auth__label abbr {
  text-decoration: none;
  color: #c0392b;
}

.df-auth__input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line, #dde1ea);
  border-radius: 16px;
  background: var(--surface, #f7f7f7);
  color: var(--navy, #1c274c);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.df-auth__password .df-auth__input {
  padding-right: 46px;
}

.df-auth__input::placeholder {
  color: #9aa3b8;
}

.df-auth__input:hover {
  border-color: #cfd5e2;
}

.df-auth__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold, #f1d549);
  box-shadow: 0 0 0 4px rgba(241, 213, 73, 0.28);
}

.df-auth__field.is-invalid .df-auth__input {
  border-color: #ef4444;
  background: #fff5f5;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.df-auth__check.is-invalid {
  color: #9b1c1c;
}

.df-auth__check.is-invalid::before {
  border-color: #ef4444;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.df-auth__pw {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.df-auth__pw[hidden] {
  display: none !important;
}

.df-auth__pw-bar {
  flex: 1 1 auto;
  min-width: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.1);
  overflow: hidden;
}

.df-auth__pw-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #ef4444;
  transition: width 0.2s ease, background 0.2s ease;
}

.df-auth__pw[data-level="fair"] .df-auth__pw-fill {
  background: #f59e0b;
}

.df-auth__pw[data-level="good"] .df-auth__pw-fill {
  background: #22c55e;
}

.df-auth__pw[data-level="strong"] .df-auth__pw-fill {
  background: #16a34a;
}

.df-auth__pw-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--muted, #6a738f);
}

.df-auth__pw[data-level="weak"] .df-auth__pw-label { color: #b91c1c; }
.df-auth__pw[data-level="fair"] .df-auth__pw-label { color: #b45309; }
.df-auth__pw[data-level="good"] .df-auth__pw-label,
.df-auth__pw[data-level="strong"] .df-auth__pw-label { color: #15803d; }

.df-auth__password {
  position: relative;
  display: block;
}

.df-auth__eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted, #6a738f);
  cursor: pointer;
}

.df-auth__eye svg,
.df-auth__eye-ico {
  width: 20px;
  height: 20px;
}

.df-auth__eye .df-auth__eye-ico--open {
  display: block;
}

.df-auth__eye .df-auth__eye-ico--closed {
  display: none;
}

.df-auth__eye.is-open .df-auth__eye-ico--open {
  display: none;
}

.df-auth__eye.is-open .df-auth__eye-ico--closed {
  display: block;
}

.df-auth__eye:hover {
  color: var(--navy, #1c274c);
  background: rgba(28, 39, 76, 0.05);
}

.df-auth__hint {
  font-size: 12px;
  color: #9b1c1c;
}

.df-auth__hint[hidden] {
  display: none !important;
}

.df-auth__check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 0;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.df-auth__check:hover {
  background: rgba(28, 39, 76, 0.04);
}

.df-auth__check:has(input:checked) {
  background: rgba(28, 39, 76, 0.06);
}

.df-auth__check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.df-auth__check::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid #c5ccd9;
  background: #fff;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.df-auth__check:hover::before {
  border-color: var(--navy, #1c274c);
  box-shadow: 0 0 0 3px rgba(28, 39, 76, 0.08);
}

.df-auth__check:has(input:checked)::before {
  border-color: var(--navy, #1c274c);
  background-color: var(--navy, #1c274c);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d549' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  box-shadow: 0 2px 6px rgba(28, 39, 76, 0.2);
}

.df-auth__check > span {
  min-width: 0;
  flex: 1;
}

.df-auth__check a {
  position: relative;
  z-index: 1;
  color: var(--navy, #1c274c);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-auth__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: var(--btn-gold-radius, 999px);
  background: var(--btn-gold-bg, var(--gold, #f1d549));
  color: var(--btn-gold-fg, var(--navy, #1c274c));
  font: inherit;
  font-size: 15px;
  font-weight: var(--btn-gold-weight, 700);
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--btn-gold-shadow, 0 6px 18px rgba(241, 213, 73, 0.32));
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.df-auth__submit:hover {
  background: var(--btn-gold-bg-hover, var(--gold-deep, #d4b82a));
  color: var(--btn-gold-fg-hover, var(--navy-deep, #121933));
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover, 0 10px 24px rgba(241, 213, 73, 0.4));
}

.df-auth__submit:active {
  transform: translateY(0);
}

.df-auth__submit:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
  filter: none;
}

.df-auth__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line, #dde1ea);
  font-size: 14px;
  color: var(--muted, #6a738f);
}

.df-auth__links a {
  color: var(--navy, #1c274c);
  font-weight: 600;
  text-decoration: none;
}

.df-auth__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.df-auth__links p {
  margin: 0;
  width: 100%;
  text-align: center;
}

.df-auth__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted, #6a738f);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.df-auth__divider span {
  flex: 0 0 auto;
  padding: 0 2px;
}

.df-auth__divider::before,
.df-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line, #dde1ea) 18%, var(--line, #dde1ea) 82%, transparent);
}

.df-auth__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.df-auth__yandex {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.df-auth__yandex-stage {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 52px;
  overflow: hidden;
  border-radius: 14px;
}

.df-auth__yandex.is-loading .df-auth__yandex-widget {
  opacity: 0;
  pointer-events: none;
}

.df-auth__yandex-widget {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 48px;
  display: flex;
  justify-content: center;
}

/* Keep YaAuthSuggest button under site header while scrolling */
.df-auth__yandex-widget iframe,
.df-auth__yandex-widget button,
.df-auth__yandex-widget > div,
.df-auth__yandex-widget [class*="Button"],
.df-auth__yandex-widget [class*="button"] {
  position: relative !important;
  z-index: 0 !important;
  width: 100% !important;
  max-width: 100%;
}

.df-auth__yandex-error {
  margin: 0 0 10px;
  color: #9b1c1c;
  font-size: 13px;
  text-align: center;
}

.df-auth__yandex-error[hidden] {
  display: none !important;
}

.df-auth__yandex-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
  text-align: center;
}

.df-auth__preloader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.is-loading > .df-auth__preloader,
.is-loading .df-auth__preloader {
  display: flex;
}

.df-auth__spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--line, #dde1ea);
  border-top-color: var(--gold-deep, #d4b82a);
  border-radius: 50%;
  animation: df-auth-spin 0.75s linear infinite;
}

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

/* Cabinet — gold hero + content left / menu right */
.df-cabinet {
  padding: 0 0 clamp(28px, 4vw, 40px);
  background: #f7f8fc;
}

.df-cabinet-hero.page-hero {
  margin-bottom: clamp(18px, 3vw, 28px);
  padding: 28px 0 32px;
}

.df-cabinet-hero__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 14px;
  width: 100%;
  padding-right: 52px; /* room for logout */
}

.df-cabinet-hero__avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.df-cabinet-hero__shimmer {
  position: relative;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  background: #e9e9e9;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.12);
  box-sizing: border-box;
}

.df-cabinet-hero__avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.df-cabinet-hero__avatar.is-loading .df-cabinet-hero__avatar-img {
  opacity: 0.35;
}

.df-cabinet-hero__avatar.is-loading .df-cabinet-hero__avatar-btn,
.df-cabinet-hero__avatar.is-loading .df-cabinet-hero__avatar-remove {
  visibility: hidden;
  pointer-events: none;
}

.df-cabinet-hero__avatar-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(28, 39, 76, 0.28);
  z-index: 2;
}

.df-cabinet-hero__avatar.is-loading .df-cabinet-hero__avatar-loader {
  display: flex;
}

.df-cabinet-hero__avatar-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: df-auth-spin 0.75s linear infinite;
}

.df-cabinet-hero__avatar-form {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  bottom: auto;
  transform: translateX(-50%);
  z-index: 1;
}

.df-cabinet-hero__avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: var(--gold, #f1d549);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 39, 76, 0.2);
  white-space: nowrap;
}

.df-cabinet-hero__avatar-btn:hover {
  filter: brightness(1.06);
}

.df-cabinet-hero__avatar-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  margin: 0;
}

.df-cabinet-hero__avatar-remove-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy, #1c274c);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(28, 39, 76, 0.15);
}

.df-cabinet-hero__copy {
  min-width: 0;
  padding-top: 2px;
}

.df-cabinet-hero__copy h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 5.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy, #1c274c);
}

.df-cabinet-hero__hi,
.df-cabinet-hero__name {
  display: inline;
}

.df-cabinet-hero__copy .page-lead {
  margin: 0;
  max-width: 48ch;
}

.df-cabinet-hero__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy, #1c274c);
}

.df-cabinet-hero__meta-item {
  display: block;
}

.df-cabinet-hero__meta-dot {
  display: none;
  color: rgba(28, 39, 76, 0.35);
  font-weight: 700;
}

.df-cabinet-hero__meta-link {
  color: var(--navy, #1c274c);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(28, 39, 76, 0.28);
}

.df-cabinet-hero__meta-link:hover {
  text-decoration-color: var(--navy, #1c274c);
}

.df-cabinet-hero__notice {
  margin-top: 16px;
}

.df-cabinet__wrap {
  display: grid;
  gap: 22px;
}

.df-cabinet__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 39, 76, 0.12);
  background: #fff;
  color: var(--navy, #1c274c);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(28, 39, 76, 0.08);
}

.df-cabinet__logout-ico {
  flex: 0 0 auto;
  display: block;
}

.df-cabinet__logout:hover {
  background: var(--navy, #1c274c);
  border-color: var(--navy, #1c274c);
  color: var(--gold, #f1d549);
}

.df-cabinet__logout--hero {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  gap: 0;
}

.df-cabinet__logout--hero .df-cabinet__logout-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.df-cabinet__logout--head {
  display: none;
}

.df-cabinet__layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

.df-cabinet__aside {
  order: -1;
}

.df-cabinet__panel {
  min-width: 0;
}

/* Mobile nav toggle */
.df-cabinet__nav-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--line, #dde1ea);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.05);
  color: var(--navy, #1c274c);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.df-cabinet__nav-toggle-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-soft, #fff6c8);
  color: var(--navy, #1c274c);
  flex: 0 0 auto;
}

.df-cabinet__nav-toggle-text {
  display: grid;
  gap: 1px;
  flex: 1 1 auto;
  min-width: 0;
}

.df-cabinet__nav-toggle-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-cabinet__nav-toggle-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-cabinet__nav-toggle-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.18s ease;
  flex: 0 0 auto;
  margin-right: 4px;
}

.df-cabinet__aside.is-open .df-cabinet__nav-toggle-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.df-cabinet__aside.is-open .df-cabinet__nav-toggle {
  border-color: rgba(241, 213, 73, 0.75);
  background: #fffdf5;
}

/* Collapsed by default on mobile */
.df-cabinet__nav {
  display: none;
  margin-top: 10px;
}

.df-cabinet__aside.is-open .df-cabinet__nav {
  display: block;
  animation: df-cabinet-nav-in 0.18s ease;
}

@keyframes df-cabinet-nav-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.df-cabinet__nav-card {
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.05);
}

.df-cabinet__nav-title {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-cabinet__nav-title--admin {
  margin-top: 4px;
  color: var(--navy, #1c274c);
}

.df-cabinet__nav-sep {
  height: 1px;
  margin: 12px 4px;
  background: var(--line, #dde1ea);
}

.df-cabinet__nav-list {
  display: grid;
  gap: 4px;
}

.df-cabinet__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--muted, #6a738f);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.df-cabinet__nav-link .df-cabinet__tab-icon {
  flex: 0 0 auto;
  opacity: 0.8;
}

.df-cabinet__nav-link .df-cabinet__tab-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-cabinet__nav-link:hover {
  color: var(--navy, #1c274c);
  background: #f7f8fc;
}

.df-cabinet__nav-link.is-active {
  color: var(--navy, #1c274c);
  background: var(--gold-soft, #fff6c8);
  border-color: rgba(241, 213, 73, 0.65);
}

.df-cabinet__nav-link.is-active .df-cabinet__tab-icon {
  opacity: 1;
}

.df-cabinet__nav-link--admin {
  background: #eef1f8;
  color: var(--navy, #1c274c);
}

.df-cabinet__nav-link--admin:hover {
  background: #e3e8f4;
}

.df-cabinet__nav-link--admin.is-active {
  background: var(--navy, #1c274c);
  border-color: var(--navy, #1c274c);
  color: var(--gold, #f1d549);
}

.df-cabinet__nav-link--admin.is-active .df-cabinet__tab-badge {
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
}

.df-cabinet__tab-icon {
  flex: 0 0 auto;
  display: block;
  opacity: 0.85;
}

.df-cabinet__tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: auto;
}

.df-cabinet__nav-link.is-active .df-cabinet__tab-badge {
  background: var(--gold-deep, #d4b82a);
  color: var(--navy, #1c274c);
}

.df-cabinet__support {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line, #dde1ea);
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 39, 76, 0.05);
  color: var(--navy, #1c274c);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.df-cabinet__support:hover {
  border-color: rgba(34, 158, 217, 0.45);
  background: #f5fbff;
  box-shadow: 0 10px 22px rgba(28, 39, 76, 0.07);
}

.df-cabinet__support-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #229ed9;
  color: #fff;
}

.df-cabinet__support-body {
  display: grid;
  gap: 1px;
  flex: 1 1 auto;
  min-width: 0;
}

.df-cabinet__support-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy, #1c274c);
}

.df-cabinet__support-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted, #6a738f);
}

.df-cabinet__support-go {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(28, 39, 76, 0.04);
  color: var(--muted, #6a738f);
}

.df-cabinet__support:hover .df-cabinet__support-go {
  background: rgba(34, 158, 217, 0.12);
  color: #1a7fad;
}

.df-cabinet__draft-card {
  margin-top: 12px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(241, 213, 73, 0.45);
  background:
    linear-gradient(180deg, rgba(241, 213, 73, 0.16), rgba(241, 213, 73, 0.05)),
    #fff;
  box-shadow: 0 8px 20px rgba(28, 39, 76, 0.06);
}
.df-cabinet__draft-card-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}
.df-cabinet__draft-card-status {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy, #1c274c);
}
.df-cabinet__draft-card-status.is-saving { color: var(--navy, #1c274c); }
.df-cabinet__draft-card-status.is-ok { color: #1f7a45; }
.df-cabinet__draft-card-status.is-err { color: #c62828; }
.df-cabinet__draft-card.is-ok {
  border-color: rgba(31, 122, 69, 0.28);
}
.df-cabinet__draft-card.is-err {
  border-color: rgba(198, 40, 40, 0.28);
}
.df-cabinet__draft-card-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
}

.df-cabinet__logout--nav {
  width: 100%;
  margin-top: 14px;
  border-radius: var(--btn-radius, 999px);
  background: #f7f8fc;
  box-shadow: none;
}

.df-cabinet__logout--head {
  display: none;
}

/* Pager pills (orders / users) still use .df-cabinet__tab */
.df-cabinet__tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  color: var(--muted, #6a738f);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.df-cabinet__tab.is-active,
.df-cabinet__tab:hover {
  color: var(--navy, #1c274c);
  border-color: rgba(241, 213, 73, 0.7);
  background: var(--gold-soft, #fff6c8);
}

@media (min-width: 961px) {
  .df-cabinet__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .df-cabinet__aside {
    order: 2;
    position: sticky;
    top: calc(24px + var(--admin-bar-h, 0px));
  }

  .df-cabinet__panel {
    order: 1;
  }

  .df-cabinet__nav-toggle {
    display: none;
  }

  .df-cabinet__nav {
    display: block;
    margin-top: 0;
  }

  .df-cabinet__nav-card {
    padding: 16px 14px 14px;
  }

  .df-cabinet-hero.page-hero {
    padding: 44px 0 56px;
  }

  .df-cabinet-hero__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: 22px 28px;
    padding-right: 0;
  }

  .df-cabinet-hero__avatar {
    width: 80px;
    height: 80px;
  }

  .df-cabinet-hero__shimmer {
    width: 80px;
    height: 80px;
  }

  .df-cabinet-hero__copy {
    padding-top: 0;
  }

  .df-cabinet-hero__copy h1 {
    margin-bottom: 10px;
  }

  .df-cabinet-hero__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 14px;
  }

  .df-cabinet-hero__meta-item {
    display: inline;
  }

  .df-cabinet-hero__meta-dot {
    display: inline;
  }

  .df-cabinet__logout--hero {
    position: static;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 40px;
    padding: 0 14px;
    gap: 8px;
    margin-top: 4px;
    justify-self: end;
    align-self: start;
  }

  .df-cabinet__logout--hero .df-cabinet__logout-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .df-cabinet__logout--nav {
    display: none;
  }
}

.df-cabinet__card {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.05);
}

.df-cabinet__card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy, #1c274c);
}

.df-cabinet__card > p,
.df-cabinet__card-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #6a738f);
}

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

.df-cabinet__card-head h2 {
  margin-bottom: 4px;
}

.df-cabinet__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--btn-gold-radius, 999px);
  background: var(--btn-gold-bg, var(--gold, #f1d549));
  color: var(--btn-gold-fg, var(--navy, #1c274c));
  font: inherit;
  font-size: 14px;
  font-weight: var(--btn-gold-weight, 600);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--btn-gold-shadow, 0 4px 14px rgba(241, 213, 73, 0.28));
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.df-cabinet__btn:hover {
  background: var(--btn-gold-bg-hover, var(--gold-deep, #d4b82a));
  color: var(--btn-gold-fg-hover, var(--navy-deep, #121933));
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover, 0 8px 20px rgba(241, 213, 73, 0.36));
}

.df-cabinet__btn:disabled,
.df-cabinet__btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.df-cabinet__btn--ghost {
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: none;
  color: var(--navy, #1c274c);
}

.df-cabinet__btn--ghost:hover {
  background: #fff;
  border-color: var(--navy, #1c274c);
  color: var(--navy, #1c274c);
  box-shadow: none;
  transform: none;
}

.df-cabinet__empty {
  padding: 28px 18px;
  border-radius: 16px;
  background: #f7f8fc;
  border: 1px dashed var(--line, #dde1ea);
  text-align: center;
}

.df-cabinet__empty-title {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--navy, #1c274c) !important;
}

/* Shared section hero (pages / orders) — same language as profile */
.df-section {
  display: grid;
  gap: 16px;
}

.df-section__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3.5vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(241, 213, 73, 0.45);
  background:
    linear-gradient(135deg, rgba(241, 213, 73, 0.22) 0%, rgba(255, 255, 255, 0.92) 42%, #fff 100%),
    #fff;
  box-shadow: 0 14px 36px rgba(28, 39, 76, 0.07);
}

.df-section__hero--orders {
  border-color: rgba(28, 39, 76, 0.1);
  background:
    linear-gradient(135deg, rgba(28, 39, 76, 0.06) 0%, rgba(255, 255, 255, 0.95) 48%, #fff 100%),
    #fff;
}

.df-section__hero--payment {
  border-color: rgba(241, 213, 73, 0.5);
}

.df-section__hero--notify {
  border-color: rgba(28, 39, 76, 0.12);
  background:
    linear-gradient(135deg, rgba(241, 213, 73, 0.14) 0%, rgba(255, 255, 255, 0.96) 45%, #fff 100%),
    #fff;
}

.df-section__hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -48%;
  width: min(260px, 70%);
  height: min(200px, 70%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 213, 73, 0.3), transparent 70%);
  pointer-events: none;
}

.df-section__hero--orders::after {
  background: radial-gradient(circle, rgba(28, 39, 76, 0.1), transparent 70%);
}

.df-section__hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.df-section__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--navy, #1c274c);
  color: var(--gold, #f1d549);
  box-shadow: 0 10px 22px rgba(28, 39, 76, 0.18);
}

.df-section__hero-text {
  flex: 1 1 200px;
  min-width: 0;
}

.df-section__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-section__title {
  margin: 0 0 6px !important;
  font-size: clamp(22px, 3.5vw, 28px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--navy, #1c274c) !important;
}

.df-section__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}

.df-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.df-section__cta {
  flex: 0 0 auto;
  gap: 8px;
}

.df-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 40px) 22px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(241, 213, 73, 0.1), transparent 55%),
    #fff;
}

.df-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border-radius: 20px;
  background: var(--gold-soft, #fff6c8);
  color: var(--navy, #1c274c);
  box-shadow: 0 8px 20px rgba(28, 39, 76, 0.06);
}

.df-empty__icon--rub {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.df-empty__title {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--navy, #1c274c) !important;
}

.df-empty__text {
  margin: 0 0 8px !important;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}

.df-empty--inset {
  margin-top: 4px;
  border: 1px dashed var(--line, #dde1ea);
  border-radius: 16px;
  box-shadow: none;
}

.df-ya__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.df-ya__badge.is-on {
  background: #eefaf1;
  color: #1b5e35;
}

.df-ya__badge.is-off {
  background: #f3f5f9;
  color: var(--muted, #6a738f);
}

.df-ya__note {
  margin: 0 0 16px !important;
}

.df-ya__widget-wrap {
  width: 100%;
  max-width: none;
}

.df-ya__widget-wrap .df-auth__yandex-widget {
  display: block;
  width: 100%;
}

.df-ya__widget-wrap .df-auth__yandex-widget iframe,
.df-ya__widget-wrap .df-auth__yandex-widget > div {
  width: 100% !important;
  max-width: 100% !important;
}

.df-settings__form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.df-settings__block {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line, #dde1ea);
  border-radius: 16px;
  background: #fafbfe;
}

.df-settings__block legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}

.df-settings__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}

.df-settings__hint a {
  color: var(--navy, #1c274c);
  font-weight: 600;
}

.df-settings__code {
  display: block;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  font-size: 12px;
  word-break: break-all;
  color: var(--navy, #1c274c);
}

.df-settings .df-auth__notice {
  margin-top: 14px;
}

.df-settings__stats {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted, #6a738f);
}

.df-settings__stats strong {
  color: var(--navy, #1c274c);
}

.df-settings__wpml-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
}

.df-wpml-progress {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface, #f7f7f7);
  border: 1px solid var(--line, #dde1ea);
}

.df-wpml-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: #e3e6ef;
  overflow: hidden;
}

.df-wpml-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  transition: width 0.25s ease;
}

.df-wpml-progress__text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
}

[data-wpml-status]:not(:empty) {
  margin-top: 8px;
  font-size: 14px;
  color: var(--navy, #1c274c);
}

/* Orders — compact lead rows */
.df-orders__stream {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.df-orders__item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 3px 12px rgba(28, 39, 76, 0.04);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.df-orders__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
}

.df-orders__item:hover {
  border-color: rgba(241, 213, 73, 0.5);
  box-shadow: 0 6px 16px rgba(28, 39, 76, 0.07);
}

.df-orders__item.is-new {
  background:
    linear-gradient(90deg, rgba(241, 213, 73, 0.14), #fff 36%),
    #fff;
  border-color: rgba(241, 213, 73, 0.55);
}

.df-orders__item.is-new::before {
  background: var(--gold, #f1d549);
}

.df-orders__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: center;
}

.df-orders__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.df-orders__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.df-orders__name {
  min-width: 0;
  color: var(--navy, #1c274c);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-orders__badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.df-orders__phone {
  color: #1b5e35;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

a.df-orders__phone:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-orders__side {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.df-orders__when {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #6a738f);
  white-space: nowrap;
}

.df-orders__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.df-orders__cat {
  box-sizing: border-box;
  display: block;
  flex: 0 1 auto;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft, #fff6c8);
  border: 1px solid rgba(241, 213, 73, 0.55);
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-orders__page {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line, #dde1ea);
  background: rgba(28, 39, 76, 0.03);
  color: var(--navy, #1c274c);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.df-orders__page:hover {
  background: rgba(241, 213, 73, 0.28);
  border-color: rgba(241, 213, 73, 0.7);
}

.df-orders__page.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.df-orders__msg {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface, #f7f7f7);
  border: 1px solid rgba(221, 225, 234, 0.8);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .df-orders__item {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .df-orders__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .df-orders__side {
    justify-items: stretch;
    gap: 8px;
  }

  .df-orders__when {
    order: -1;
    font-size: 11px;
  }

  .df-orders__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .df-orders__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

/* Payment — flat like pages/orders (no card wrapping lists) */
.df-pay__subhead {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 2px 2px 0;
}

.df-pay__subhead-title {
  margin: 0;
  color: var(--navy, #1c274c);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.df-pay__subhead-lead {
  margin: 0;
  color: var(--muted, #6a738f);
  font-size: 13px;
  line-height: 1.45;
}

/* Payments — page tiles reuse .df-pages-list */
.df-pay__pages.df-pages-list {
  margin: 0;
}

.df-pages-list__item.df-pay__page {
  grid-template-areas:
    "mark main aside"
    "invoices invoices invoices";
}

.df-pay__page.is-focus {
  border-color: rgba(241, 213, 73, 0.85);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.1);
}

.df-pay__invoices {
  grid-area: invoices;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line, #dde1ea);
}

/* Unpaid Tochka invoice (resume / dismiss) */
.df-pay__invoices .df-tariff-pick {
  border-top: none;
}
.df-pay-open {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(28, 39, 76, 0.12);
  background: linear-gradient(165deg, #f7f8fc 0%, #ffffff 60%);
  box-shadow: 0 6px 18px rgba(28, 39, 76, 0.05);
}
.df-pay-open + .df-tariff-pick {
  margin-top: 0;
}
.df-pay-open__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.df-pay-open__badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--navy, #1c274c);
  color: var(--gold, #f1d549);
  font-size: 14px;
  font-weight: 700;
}
.df-pay-open__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-pay-open__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted, #6a738f);
  max-width: 56ch;
}
.df-pay-open__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
}
.df-pay-open__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}
.df-pay-open__name {
  font-size: 14px;
  color: var(--navy, #1c274c);
}
.df-pay-open__days,
.df-pay-open__date {
  font-size: 12px;
  color: var(--muted, #6a738f);
}
.df-pay-open__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-pay-open__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.df-pay-open__pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.df-pay-open__pay:hover {
  color: #fff;
  background: var(--navy-deep, #121933);
}
.df-pay-open__dismiss {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line, #dde1ea);
  background: #fff;
  color: var(--muted, #6a738f);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.df-pay-open__dismiss:hover {
  color: var(--navy, #1c274c);
  border-color: rgba(28, 39, 76, 0.25);
}
.df-pay-open__status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted, #6a738f);
}
.df-pay-open__status.is-error {
  color: #8a1f2b;
}

.df-pay__invoices-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}

/* —— Festive tariff picker (compact, same footprint as old tiles) —— */
.df-tariff-pick {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(241, 213, 73, 0.5);
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(241, 213, 73, 0.28) 0%, transparent 55%),
    linear-gradient(165deg, #fffef8 0%, #ffffff 55%, #fff9e6 100%);
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.06);
  overflow: hidden;
}
.df-tariff-pick__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.df-tariff-pick__badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(212, 184, 42, 0.3);
}
.df-tariff-pick__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-tariff-pick__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted, #6a738f);
  max-width: 56ch;
}
.df-tariff-pick__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.df-tariff-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top actions"
    "meta actions";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(28, 39, 76, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(28, 39, 76, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.df-tariff-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
a.df-tariff-card:hover,
button.df-tariff-card:hover,
label.df-tariff-card:hover {
  text-decoration: none;
  border-color: rgba(241, 213, 73, 0.85);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.28);
}
.df-tariff-card.is-selected,
.df-tariff-card:has(input:checked) {
  border-color: rgba(212, 184, 42, 0.85);
  background: var(--gold-soft, #fff6c8);
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.35);
}
.df-tariff-card--featured {
  border-color: rgba(212, 184, 42, 0.7);
  background: linear-gradient(165deg, #fffef5 0%, #fff6c8 100%);
}
.df-tariff-card--featured:hover,
.df-tariff-card--featured.is-selected,
.df-tariff-card--featured:has(input:checked) {
  border-color: var(--gold-deep, #d4b82a);
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.4);
}
.df-tariff-card__ribbon {
  display: none !important;
}
.df-tariff-card__top {
  grid-area: top;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
.df-tariff-card__term {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  line-height: 1.25;
}
.df-tariff-card__discount {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  font-size: 11px;
  font-weight: 700;
}
.df-tariff-card__days {
  grid-area: meta;
  font-size: 12px;
  color: var(--muted, #6a738f);
  line-height: 1.25;
}
.df-tariff-card__actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}
.df-tariff-card__price {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy, #1c274c);
  line-height: 1;
  white-space: nowrap;
}
.df-tariff-card__per {
  display: none;
}
.df-tariff-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(212, 184, 42, 0.28);
  transition: background 0.15s ease;
}
.df-tariff-card:hover .df-tariff-card__cta,
.df-tariff-card.is-selected .df-tariff-card__cta,
.df-tariff-card:has(input:checked) .df-tariff-card__cta {
  background: var(--gold-deep, #d4b82a);
}
.df-tariff-card--featured .df-tariff-card__cta {
  background: var(--navy, #1c274c);
  color: #fff;
  box-shadow: none;
}
.df-tariff-card--featured:hover .df-tariff-card__cta,
.df-tariff-card--featured.is-selected .df-tariff-card__cta {
  background: var(--navy-deep, #121933);
}
button.df-tariff-card:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Tablet / cabinet with sidebar: one column of compact rows */
@media (max-width: 960px) {
  .df-tariff-pick {
    padding: 10px;
    border-radius: 14px;
  }
  .df-tariff-pick__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .df-tariff-card {
    padding: 11px 12px;
    column-gap: 12px;
  }
  .df-tariff-card__cta {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  .df-tariff-card__price {
    font-size: 16px;
  }
}

/* Phone: same pattern, touch-friendlier, no overflow */
@media (max-width: 560px) {
  .df-tariff-pick {
    padding: 10px 8px 10px;
    margin-left: -2px;
    margin-right: -2px;
  }
  .df-tariff-pick__head {
    gap: 8px;
    margin-bottom: 8px;
  }
  .df-tariff-pick__badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .df-tariff-pick__title {
    font-size: 14px;
  }
  .df-tariff-pick__sub {
    font-size: 12px;
  }
  .df-tariff-pick__grid {
    gap: 7px;
  }
  .df-tariff-card {
    padding: 10px 10px;
    column-gap: 8px;
    border-radius: 12px;
  }
  .df-tariff-card__term {
    font-size: 14px;
  }
  .df-tariff-card__discount {
    font-size: 11px;
    min-height: 18px;
  }
  .df-tariff-card__days {
    font-size: 12px;
  }
  .df-tariff-card__actions {
    gap: 6px;
    max-width: 100%;
  }
  .df-tariff-card__price {
    font-size: 15px;
  }
  .df-tariff-card__cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Very narrow: stack info above price+button row */
@media (max-width: 380px) {
  .df-tariff-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "top"
      "meta"
      "actions";
    row-gap: 4px;
  }
  .df-tariff-card__actions {
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(28, 39, 76, 0.1);
  }
  .df-tariff-card__price {
    font-size: 16px;
  }
  .df-tariff-card__cta {
    min-height: 36px;
    padding: 0 14px;
  }
}

.df-pay__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}

.df-pay__renew-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted, #6a738f);
}

.df-pay__renew-status.is-error {
  color: #8a1f2b;
}

.df-pay__tariff-name {
  font-size: 14px;
  color: var(--muted, #6a738f);
  font-weight: 500;
}

/* Legacy chips (admin / history) */
.df-pay__chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #eef1f7;
  color: var(--navy, #1c274c);
}
.df-pay__chip--active { background: #eefaf1; color: #1b5e35; }
.df-pay__chip--soon { background: #fff6c8; color: #6a5600; }
.df-pay__chip--expired,
.df-pay__chip--draft { background: #fdecee; color: #8a1f2b; }
.df-pay__chip--free { background: #eef1f7; color: var(--muted, #6a738f); }

/* Owner draft preview — floating chip at bottom (like switch banner) */
.df-owner-preview {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  pointer-events: none;
}

/* Sit above admin «режим просмотра» chip when both are visible */
body.df-switched-user .df-owner-preview {
  bottom: 64px;
  padding-bottom: 0;
}

.df-owner-preview .wrap {
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.df-owner-preview__inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.96);
  border: 1px solid rgba(241, 213, 73, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 36px rgba(18, 25, 51, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}

.df-owner-preview__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
}

.df-owner-preview__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}

.df-owner-preview__text strong {
  color: #fff;
  font-weight: 700;
}

.df-owner-preview__muted {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.df-owner-preview__hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.df-owner-preview__btn {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.df-owner-preview__btn:hover {
  background: var(--gold-deep, #d4b82a);
  color: var(--navy, #1c274c);
}

@media (max-width: 640px) {
  .df-owner-preview {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  body.df-switched-user .df-owner-preview {
    bottom: 72px;
  }
  .df-owner-preview .wrap {
    justify-content: stretch;
  }
  .df-owner-preview__inner {
    width: 100%;
    border-radius: 16px;
    flex-wrap: wrap;
  }
  .df-owner-preview__hint {
    display: none;
  }
  .df-owner-preview__btn {
    width: 100%;
    justify-content: center;
  }
}

/* Payment history — same stream language as pages/orders */
.df-pay-hist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.df-pay-hist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 4px 14px rgba(28, 39, 76, 0.04);
}

.df-pay-hist__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-soft, #fff6c8);
  color: var(--navy, #1c274c);
  box-shadow: inset 0 0 0 1px rgba(241, 213, 73, 0.55);
}

.df-pay-hist__body {
  min-width: 0;
}

.df-pay-hist__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
}

.df-pay-hist__page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.df-pay-hist__name {
  color: var(--navy, #1c274c);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

a.df-pay-hist__name:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-pay-hist__cat.df-pages-list__category {
  margin-top: 0;
}

.df-pay-hist__sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}

.df-pay-hist__amount {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1b5e35;
  line-height: 1.2;
  white-space: nowrap;
}

.df-pay-hist__term {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #6a738f);
}

.df-pay-hist__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted, #6a738f);
}

.df-pay-hist__chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eefaf1;
  color: #1b5e35;
  font-size: 11px;
  font-weight: 600;
}

.df-pay-hist__dot {
  opacity: 0.45;
}

@media (max-width: 720px) {
  .df-pay-hist__item {
    padding: 10px;
    column-gap: 10px;
    border-radius: 12px;
  }
  .df-pay-hist__ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .df-pay-hist__top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .df-pay-hist__sum {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 10px;
    text-align: left;
  }
  .df-pay-hist__amount {
    font-size: 13px;
  }
  .df-pay-hist__meta {
    margin-top: 6px;
  }
}

/* User switch banner — floating chip at bottom of viewport */
.df-switch-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  pointer-events: none;
}

.df-switch-banner .wrap {
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.df-switch-banner__inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(241, 213, 73, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 36px rgba(28, 39, 76, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.df-switch-banner__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft, #fff6c8);
  color: var(--navy, #1c274c);
}

.df-switch-banner__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--navy, #1c274c);
}

.df-switch-banner__text strong {
  font-weight: 700;
}

.df-switch-banner__muted {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface, #f7f7f7);
  color: var(--muted, #6a738f);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.df-switch-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.df-switch-banner__btn svg {
  flex-shrink: 0;
}

.df-switch-banner__btn:hover {
  background: var(--navy-deep, #121933);
  color: #fff;
}

@media (max-width: 640px) {
  .df-switch-banner {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .df-switch-banner .wrap {
    justify-content: stretch;
  }
  .df-switch-banner__inner {
    width: 100%;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }
  .df-switch-banner__muted {
    display: none;
  }
  .df-switch-banner__text {
    font-size: 12px;
  }
  .df-switch-banner__btn span {
    max-width: 9.5em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.df-users__search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 18px;
}

.df-users__search .df-auth__field {
  flex: 1 1 220px;
}

/* Admin tables — clean / minimal */
.df-admin-table-wrap,
.df-users__table-wrap {
  overflow-x: auto;
  margin: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.df-admin-table,
.df-users__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.35;
  color: var(--navy, #1c274c);
}

.df-admin-table th,
.df-admin-table td,
.df-users__table th,
.df-users__table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #eef1f6;
  vertical-align: middle;
}

.df-admin-table th,
.df-users__table th {
  padding: 10px 12px;
  background: transparent;
  border-bottom: 1px solid var(--line, #dde1ea);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #6a738f);
  white-space: nowrap;
}

.df-admin-table tbody tr:hover td,
.df-users__table tbody tr:hover td {
  background: #fafbfe;
}

.df-admin-table tbody tr.is-paid td {
  background: linear-gradient(90deg, rgba(241, 213, 73, 0.1), transparent 42%);
}

.df-admin-table tbody tr.is-paid:hover td {
  background: linear-gradient(90deg, rgba(241, 213, 73, 0.16), #fafbfe 42%);
}

.df-admin-table tr:last-child td,
.df-users__table tr:last-child td {
  border-bottom: 0;
}

.df-admin-table .df-cabinet__btn,
.df-users__table .df-cabinet__btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 10px;
}

.df-admin-table__who {
  display: grid;
  gap: 2px;
  min-width: 0;
  max-width: 240px;
}

.df-admin-table__name,
.df-admin-table__link {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  text-decoration: none;
}

.df-admin-table__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-admin-table__meta,
.df-users__meta {
  display: block;
  margin-top: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #6a738f);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-admin-table__email {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--navy, #1c274c);
}

.df-admin-table__date,
.df-admin-table__tariff {
  font-size: 13px;
  color: var(--muted, #6a738f);
  white-space: nowrap;
}

.df-admin-table__num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.df-admin-table__money {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  white-space: nowrap;
}

.df-admin-table__actions,
.df-users__actions {
  white-space: nowrap;
  text-align: right !important;
}

.df-admin-table__na,
.df-users__na {
  color: var(--muted, #6a738f);
}

.df-admin-table__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-admin-table__badge--paid {
  background: var(--gold-soft, #fff6c8);
  border: 1px solid rgba(241, 213, 73, 0.65);
  color: var(--navy, #1c274c);
}

.df-admin-table__badge--muted {
  background: #f3f5f9;
  color: var(--muted, #6a738f);
  font-weight: 600;
}

.df-admin-table--payments td:nth-child(2),
.df-admin-table--payments td:nth-child(3) {
  white-space: normal;
}

.df-admin-table--payments .df-admin-table__who {
  max-width: 200px;
}

.df-admin-table__phone {
  color: #1b5e35;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

a.df-admin-table__phone:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-admin-table tbody tr.is-new td {
  background: linear-gradient(90deg, rgba(241, 213, 73, 0.12), transparent 36%);
}

.df-admin-table tbody tr.is-new:hover td {
  background: linear-gradient(90deg, rgba(241, 213, 73, 0.18), #fafbfe 36%);
}

.df-admin-table--orders-stream {
  min-width: 760px;
}

@media (max-width: 720px) {
  .df-admin-table,
  .df-users__table {
    min-width: 520px;
    font-size: 12px;
  }

  .df-admin-table--orders-stream {
    min-width: 640px;
  }

  .df-admin-table__phone {
    font-size: 11px;
  }

  .df-admin-table th,
  .df-admin-table td,
  .df-users__table th,
  .df-users__table td {
    padding: 8px 8px;
  }

  .df-admin-table th,
  .df-users__table th {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .df-admin-table__who {
    max-width: 140px;
    gap: 1px;
  }

  .df-admin-table--payments .df-admin-table__who {
    max-width: 120px;
  }

  .df-admin-table__name,
  .df-admin-table__link {
    font-size: 12px;
  }

  .df-admin-table__meta,
  .df-users__meta {
    font-size: 10px;
  }

  .df-admin-table__email,
  .df-admin-table__date,
  .df-admin-table__tariff {
    font-size: 11px;
  }

  .df-admin-table__email {
    max-width: 130px;
  }

  .df-admin-table__money {
    font-size: 12px;
  }

  .df-admin-table__badge {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .df-admin-table .df-cabinet__btn,
  .df-users__table .df-cabinet__btn {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 8px;
  }

  .df-pay__chip {
    min-height: 20px;
    padding: 0 6px;
    font-size: 10px;
  }
}

.df-pay-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.df-pay-filters__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line, #dde1ea);
  background: #fff;
  color: var(--muted, #6a738f);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.df-pay-filters__btn.is-active {
  background: var(--navy, #1c274c);
  border-color: var(--navy, #1c274c);
  color: #fff;
}

.df-pay-filters__count {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.08);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}

.df-pay-filters__btn.is-active .df-pay-filters__count {
  background: rgba(241, 213, 73, 0.25);
  color: var(--gold, #f1d549);
}

.df-pay-admin__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.df-pay-admin__sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.df-pay-admin__sync-meta {
  font-size: 12px;
  color: var(--muted, #6a738f);
}

.df-pay__chip--approved {
  background: #eefaf1;
  color: #1b5e35;
}

.df-pay__chip--created {
  background: #fff6c8;
  color: #6a5600;
}

.df-pay__chip--expired-pay,
.df-pay__chip--refunded,
.df-pay__chip--on-refund {
  background: #fdecee;
  color: #8a1f2b;
}

.df-users__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

/* Cabinet load-more + pagination (uses .btn-load-more / .pagination from main.css) */
.df-pager {
  display: grid;
  gap: 0;
}
.df-pager__more {
  margin-top: 20px;
}
.df-pager .pagination {
  margin-top: 16px;
}
.df-pager .listing-more[hidden] + .pagination {
  margin-top: 20px;
}
.df-cabinet__card .df-pager__more .btn-load-more,
.df-section .df-pager__more .btn-load-more {
  max-width: 100%;
}
/* Must beat display:grid / table-row on list items */
[data-df-pager-item][hidden],
[data-df-pager-item].is-pager-hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .df-auth {
    padding-top: 20px;
  }
  .df-auth__card {
    padding: 26px 18px 22px;
    border-radius: 22px;
  }
  .df-auth__social {
    gap: 16px;
    margin-bottom: 20px;
  }
}

/* —— Мои страницы / заявка —— */
.df-pages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.df-pages-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "mark main aside"
    ". progress progress";
  align-items: start;
  column-gap: 16px;
  row-gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line, #dde1ea);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.df-pages-list__item:hover {
  border-color: rgba(241, 213, 73, 0.65);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.08);
}
.df-pages-list__mark {
  grid-area: mark;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 14px;
  background: rgba(28, 39, 76, 0.06);
  color: var(--navy, #1c274c);
}
.df-pages-list__item--draft .df-pages-list__mark {
  background: var(--gold-soft, #fff6c8);
}
.df-pages-list__item--publish .df-pages-list__mark {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
}
.df-pages-list__item--pending .df-pages-list__mark {
  background: rgba(241, 213, 73, 0.35);
}
.df-pages-list__main {
  grid-area: main;
  min-width: 0;
}
.df-pages-list__aside {
  grid-area: aside;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  align-self: center;
}
.df-pages-list__aside .df-pages-list__delete,
.df-pages-list__aside .df-pages-list__action--ghost {
  order: 1;
}
.df-pages-list__aside .df-pages-list__action:not(.df-pages-list__action--ghost) {
  order: 2;
  margin-left: 0;
}
.df-pages-list__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.df-pages-list__title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-pages-list__category {
  box-sizing: border-box;
  display: block;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  height: 24px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft, #fff6c8);
  border: 1px solid rgba(241, 213, 73, 0.55);
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-pages-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted, #6a738f);
}
.df-pages-list__url {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--navy, #1c274c);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}
.df-pages-list__url:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.df-pages-list__url--plain {
  font-weight: 500;
  color: var(--muted, #6a738f);
}
.df-pages-list__progress {
  grid-area: progress;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}
.df-pages-list__progress-label {
  flex: 0 0 auto;
  min-width: 36px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-pages-list__progress-track {
  flex: 1 1 auto;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.08);
  overflow: hidden;
}
.df-pages-list__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  transition: width 0.25s ease;
}
.df-pages-list__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface, #f7f7f7);
  color: var(--navy, #1c274c);
}
.df-pages-list__badge--pending {
  background: rgba(241, 213, 73, 0.35);
} 
.df-pages-list__badge--publish {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
}
.df-pages-list__badge--draft {
  background: rgba(28, 39, 76, 0.08);
}
.df-pages-list__badge--unlisted {
  background: #fdecee;
  color: #8a1f2b;
}
.df-pages-list__item--unlisted .df-pages-list__mark {
  background: #fdecee;
  color: #8a1f2b;
}
.df-pages-list__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(212, 184, 42, 0.28);
}
.df-pages-list__action svg {
  flex-shrink: 0;
}
.df-pages-list__action:hover {
  filter: brightness(1.03);
}
.df-pages-list__action--ghost {
  background: #f7f8fc;
  box-shadow: none;
  border: 1px solid var(--line, #dde1ea);
}
.df-pages-list__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1c274c);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.df-pages-list__link--muted {
  text-decoration: none;
  color: var(--muted, #6a738f);
  font-weight: 500;
}
.df-pages-list__delete {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #c62828;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  min-height: 36px;
}
.df-pages-list__delete svg {
  flex-shrink: 0;
}
.df-pages-list__delete:hover {
  color: #8e1b1b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.df-pages-list__delete:disabled {
  opacity: 0.55;
  cursor: wait;
}

.df-page-app {
  display: grid;
  gap: 18px;
}
.df-page-app__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(241, 213, 73, 0.28), transparent 55%),
    linear-gradient(155deg, #1c274c 0%, #121933 70%, #0d1328 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 25, 51, 0.22);
}
.df-page-app__eyebrow {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(241, 213, 73, 0.35);
  background: rgba(241, 213, 73, 0.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold, #f1d549);
}
.df-page-app__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #f1d549);
}
.df-page-app__top h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.df-page-app__top-copy p:last-child {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.df-page-app__top .df-cabinet__btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.df-page-app__top .df-cabinet__btn--ghost:hover {
  background: var(--gold, #f1d549);
  border-color: transparent;
  color: var(--navy, #1c274c);
}

.df-page-app__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.05);
}
.df-page-app__banner-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--navy, #1c274c);
}
.df-page-app__banner-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}
.df-page-app__banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--btn-gold-radius, 999px);
  background: var(--btn-gold-bg, var(--gold, #f1d549));
  color: var(--btn-gold-fg, var(--navy, #1c274c));
  font-size: 14px;
  font-weight: var(--btn-gold-weight, 600);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--btn-gold-shadow, 0 4px 14px rgba(241, 213, 73, 0.28));
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.df-page-app__banner-btn:hover {
  background: var(--btn-gold-bg-hover, var(--gold-deep, #d4b82a));
  color: var(--btn-gold-fg-hover, var(--navy-deep, #121933));
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover, 0 8px 20px rgba(241, 213, 73, 0.36));
}

.df-page-app__form {
  display: grid;
  gap: 16px;
}
.df-page-app__block {
  padding: 20px 18px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 12px 30px rgba(28, 39, 76, 0.05);
}
.df-page-app__overall {
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 12px 30px rgba(28, 39, 76, 0.05);
}
.df-page-app__overall-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.df-page-app__overall-copy strong {
  font-size: 14px;
  color: var(--navy, #1c274c);
}
.df-page-app__overall-copy span {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  letter-spacing: -0.02em;
}
.df-page-app__overall-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.08);
  overflow: hidden;
}
.df-page-app__overall-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  box-shadow: 0 0 0 1px rgba(212, 184, 42, 0.25);
  transition: width 0.28s ease;
}

.df-page-app__block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(110px, 140px);
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(221, 225, 234, 0.9);
}
.df-page-app__block-num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-soft, #fff6c8), var(--gold, #f1d549));
  color: var(--navy, #1c274c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.df-page-app__block.is-complete .df-page-app__block-num {
  background: #1f7a45;
  color: #fff;
}
.df-page-app__block-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-page-app__block-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
}
.df-page-app__step-meter {
  display: grid;
  gap: 6px;
  justify-items: end;
  min-width: 0;
}
.df-page-app__step-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #1c274c);
  line-height: 1;
}
.df-page-app__step-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.08);
  overflow: hidden;
}
.df-page-app__step-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  transition: width 0.25s ease;
}
.df-page-app__block.is-complete .df-page-app__step-fill {
  background: #1f7a45;
}
.df-page-app__block.is-complete .df-page-app__step-pct {
  color: #1f7a45;
}

.df-page-app__tariffs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.df-page-app__tariff {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.df-page-app__tariff input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.df-page-app__tariff-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #dde1ea);
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.df-page-app__tariff-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1c274c);
  line-height: 1.25;
}
.df-page-app__tariff-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 11px;
  color: var(--muted, #6a738f);
  line-height: 1.2;
}
.df-page-app__tariff-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy, #1c274c);
  white-space: nowrap;
}
.df-page-app__tariff:hover .df-page-app__tariff-body {
  border-color: rgba(241, 213, 73, 0.65);
  background: var(--gold-soft, #fff6c8);
}
.df-page-app__tariff.is-selected .df-page-app__tariff-body,
.df-page-app__tariff input:checked + .df-page-app__tariff-body {
  border-color: rgba(212, 184, 42, 0.55);
  background: var(--gold-soft, #fff6c8);
  box-shadow: none;
}
.df-page-app__tariff-empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #6a738f);
}

@media (max-width: 700px) {
  .df-page-app__block-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .df-page-app__step-meter {
    grid-column: 1 / -1;
    justify-items: stretch;
  }
  .df-page-app__step-pct {
    justify-self: end;
  }
  .df-page-app__tariffs {
    grid-template-columns: 1fr;
  }
}
.df-page-app__fields {
  display: grid;
  gap: 4px;
}
.df-page-app__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.df-page-app__field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.df-page-app__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1c274c);
}
.df-page-app__label em,
.df-page-app__req {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #c62828;
  background: rgba(198, 40, 40, 0.08);
  border-radius: 999px;
  padding: 2px 6px;
  line-height: 1.2;
}
.df-page-app__block-head h3 .df-page-app__req {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
}
.df-page-app__control {
  position: relative;
  display: block;
}
.df-page-app__control .df-auth__input {
  width: 100%;
  padding-right: 42px;
}
.df-page-app__control--area .df-auth__input {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 42px;
  min-height: 118px;
  resize: vertical;
}
.df-page-app .df-field-ok {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #1f7a45;
  opacity: 0;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
}
.df-page-app .df-field.is-valid .df-field-ok {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.df-page-app__control--area .df-field-ok {
  top: 14px;
  transform: scale(0.7);
}
.df-page-app .df-field.is-valid .df-page-app__control--area .df-field-ok {
  transform: scale(1);
}
.df-page-app .df-field.is-valid .df-auth__input {
  background: rgba(31, 122, 69, 0.06);
  border-color: rgba(31, 122, 69, 0.35);
}

.df-page-app__media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.df-page-app__quota {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
}
.df-page-app__quota strong {
  color: var(--navy, #1c274c);
  font-weight: 700;
}
.df-page-app__file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.df-page-app__file-list li.is-uploading {
  align-items: center;
}
.df-page-app__file-list li.is-uploading .df-page-app__file-meta {
  flex: 1;
  min-width: 0;
}
.df-page-app__file-list li.is-uploading .df-page-app__upload-progress {
  flex: none;
  width: 100%;
  margin-top: 0;
}
.df-page-app__upload-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.df-page-app__upload-progress[hidden] {
  display: none !important;
}
.df-page-app__upload-progress-label {
  flex: 0 0 auto;
  min-width: 36px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}
.df-page-app__upload-progress-track {
  flex: 1 1 auto;
  height: 7px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.1);
  overflow: hidden;
}
.df-page-app__upload-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold, #f1d549), var(--gold-deep, #d4b82a));
  transition: width 0.12s linear;
}
.df-page-app__upload {
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed rgba(28, 39, 76, 0.16);
  background:
    linear-gradient(180deg, rgba(241, 213, 73, 0.12), rgba(255, 255, 255, 0.65) 42%, #fff),
    #fff;
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.04);
}
.df-page-app__upload-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.df-page-app__upload-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.df-page-app__upload-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  box-shadow: 0 6px 14px rgba(212, 184, 42, 0.35);
}
.df-page-app__upload-head strong {
  font-size: 15px;
  color: var(--navy, #1c274c);
}
.df-page-app__upload-head span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
}
.df-page-app__file-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--btn-radius, 999px);
  background: var(--gold, #f1d549);
  color: var(--navy, #1c274c);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(212, 184, 42, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.df-page-app__file-btn:hover {
  filter: brightness(1.03);
}
.df-page-app__file-btn svg {
  flex: 0 0 auto;
  display: block;
}
.df-page-app__file-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.df-page-app__file-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.df-page-app__file-list li,
.df-page-app__avatar-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  font-size: 12px;
  color: var(--navy, #1c274c);
}
.df-page-app__file-thumb,
.df-page-app__avatar-preview img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef0f5;
  box-shadow: inset 0 0 0 1px rgba(28, 39, 76, 0.08);
}
.df-page-app__file-thumb--empty {
  display: block;
  background:
    linear-gradient(135deg, rgba(241, 213, 73, 0.25), rgba(28, 39, 76, 0.08));
}
.df-page-app__file-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}
.df-page-app__file-list li .df-page-app__file-name,
.df-page-app__avatar-preview .df-page-app__file-name,
.df-page-app__avatar-preview span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.df-page-app__file-list li.is-uploading .df-page-app__upload-progress {
  margin: 0;
}
.df-page-app__file-remove {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.06);
  color: #5a6484;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.df-page-app__file-remove:hover {
  background: #fff1f1;
  color: #c62828;
}
.df-page-app__file-remove:active {
  transform: scale(0.96);
}
.df-page-app__file-remove-ico {
  display: block;
  flex: 0 0 auto;
}
.df-page-app__file-remove-spin {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(28, 39, 76, 0.16);
  border-top-color: var(--navy, #1c274c);
  border-radius: 50%;
  animation: df-auth-spin 0.7s linear infinite;
}
.df-page-app__file-remove.is-busy {
  pointer-events: none;
  background: rgba(28, 39, 76, 0.08);
  color: var(--navy, #1c274c);
}
.df-page-app__file-remove.is-busy .df-page-app__file-remove-ico {
  display: none;
}
.df-page-app__file-remove.is-busy .df-page-app__file-remove-spin {
  display: block;
}
.df-page-app__avatar-preview {
  margin-top: 12px;
}
.df-page-app__avatar-preview[hidden],
.df-page-app__file-list[hidden] {
  display: none !important;
}

.df-page-app__footer {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line, #dde1ea);
  box-shadow: 0 12px 30px rgba(28, 39, 76, 0.05);
}
.df-page-app__save {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #6a738f);
}
.df-page-app__save.is-saving { color: var(--navy, #1c274c); }
.df-page-app__save.is-ok { color: #1f7a45; }
.df-page-app__save.is-err { color: #c62828; }
.df-page-app__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}
.df-page-app__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--btn-gold-radius, 999px);
  background: var(--btn-gold-bg, var(--gold, #f1d549));
  color: var(--btn-gold-fg, var(--navy, #1c274c));
  font: inherit;
  font-size: 14px;
  font-weight: var(--btn-gold-weight, 600);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-gold-shadow, 0 4px 14px rgba(241, 213, 73, 0.28));
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
a.df-page-app__submit:hover {
  text-decoration: none;
}
.df-page-app__submit:hover {
  background: var(--btn-gold-bg-hover, var(--gold-deep, #d4b82a));
  color: var(--btn-gold-fg-hover, var(--navy-deep, #121933));
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover, 0 8px 20px rgba(241, 213, 73, 0.36));
}
.df-page-app__submit:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
}
.df-page-app__discard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(198, 40, 40, 0.35);
  border-radius: var(--btn-radius, 999px);
  background: #fff;
  color: #c62828;
  font: inherit;
  font-size: 14px;
  font-weight: var(--btn-gold-weight, 600);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.df-page-app__discard:hover {
  background: rgba(198, 40, 40, 0.06);
  border-color: #c62828;
  color: #8e1b1b;
  transform: translateY(-1px);
}
.df-page-app__discard:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
@media (max-width: 560px) {
  .df-page-app__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .df-page-app__discard {
    width: 100%;
  }
}
.df-page-app__legal {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}
.df-page-app__legal a {
  color: var(--navy, #1c274c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 960px) {
  .df-pages-list__item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "mark main"
      "aside aside"
      "progress progress";
    row-gap: 14px;
  }
  .df-pages-list__item.df-pay__page {
    grid-template-areas:
      "mark main"
      "aside aside"
      "invoices invoices";
  }
  .df-pages-list__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    width: 100%;
  }
  .df-pages-list__aside .df-pages-list__action {
    width: 100%;
  }
  .df-pages-list__aside .df-pages-list__delete {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 40px;
    border-radius: 12px;
    background: rgba(198, 40, 40, 0.06);
  }
  .df-pages-list__aside .df-pages-list__action:not(.df-pages-list__action--ghost) {
    order: 2;
  }
  .df-pages-list__aside .df-pages-list__action--ghost {
    order: 1;
  }
}

@media (max-width: 800px) {
  .df-page-app__row {
    grid-template-columns: 1fr;
  }
  .df-section__hero-main {
    align-items: flex-start;
  }
  .df-section__cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .df-pages-list__item {
    padding: 14px;
    column-gap: 12px;
  }
  .df-pages-list__aside {
    grid-template-columns: 1fr;
  }
  .df-pages-list__action span {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* —— Profile tab —— */
.df-profile {
  display: grid;
  gap: 18px;
}

.df-profile__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3.5vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(241, 213, 73, 0.45);
  background:
    linear-gradient(135deg, rgba(241, 213, 73, 0.22) 0%, rgba(255, 255, 255, 0.92) 42%, #fff 100%),
    #fff;
  box-shadow: 0 14px 36px rgba(28, 39, 76, 0.07);
}

.df-profile__hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: min(280px, 70%);
  height: min(220px, 70%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 213, 73, 0.32), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.df-profile__hero-main {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 16px 20px;
  z-index: 1;
}

.df-profile__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
}

.df-profile__avatar-shimmer,
.df-profile__avatar-img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  object-fit: cover;
}

.df-profile__avatar-shimmer {
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.14);
}

.df-profile__avatar-loader {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  z-index: 2;
}

.df-profile__avatar.is-loading .df-profile__avatar-loader {
  display: grid;
}

.df-profile__avatar-form {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  z-index: 3;
}

.df-profile__avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(28, 39, 76, 0.12);
  border-radius: 999px;
  background: var(--navy, #1c274c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(28, 39, 76, 0.22);
  white-space: nowrap;
}

.df-profile__avatar-btn:hover {
  background: var(--navy-deep, #121933);
}

.df-profile__avatar-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 3;
  margin: 0;
}

.df-profile__avatar-remove-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--navy, #1c274c);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 39, 76, 0.16);
}

.df-profile__avatar-remove-btn:hover {
  background: #fff1f1;
  color: #9b1c1c;
}

.df-profile__hero-text {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}

.df-profile__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-profile__title {
  margin: 0 0 6px !important;
  font-size: clamp(22px, 3.5vw, 28px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--navy, #1c274c) !important;
}

.df-profile__email {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(28, 39, 76, 0.06);
  color: var(--navy, #1c274c);
  font-size: 13px;
  font-weight: 600;
}

.df-profile__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted, #6a738f);
}

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

.df-profile__card {
  margin: 0;
  height: 100%;
}

.df-profile__card-title {
  margin: 0 0 4px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--navy, #1c274c) !important;
}

.df-profile__form {
  display: grid;
  gap: 14px;
}

.df-profile__form .df-cabinet__btn {
  justify-self: start;
  margin-top: 4px;
}

.df-profile .df-field__control {
  position: relative;
  display: block;
}

.df-profile .df-field__control > .df-auth__input {
  width: 100%;
  padding-right: 42px;
}

.df-profile .df-auth__password > .df-auth__input {
  padding-right: 78px;
}

.df-profile .df-field-ok {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.df-profile .df-auth__password .df-field-ok {
  right: 44px;
}

.df-profile .df-field.is-valid .df-field-ok {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.df-profile .df-field.is-valid .df-auth__input {
  background: rgba(31, 122, 69, 0.06);
  border-color: rgba(31, 122, 69, 0.35);
}

.df-profile__card--yandex {
  background:
    linear-gradient(180deg, rgba(252, 65, 57, 0.06), transparent 48%),
    #fff;
}

.df-profile__ya-linked {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fc;
  border: 1px solid var(--line, #dde1ea);
}

.df-profile__ya-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fc4139;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.df-profile__ya-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #1c274c);
}

@media (max-width: 900px) {
  .df-profile__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .df-profile__hero {
    padding: 16px 14px 18px;
  }

  .df-profile__hero::after {
    width: 160px;
    height: 160px;
    right: -40px;
    bottom: -70px;
  }

  .df-profile__hero-main {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    text-align: center;
    gap: 12px;
  }

  .df-profile__hero-text {
    flex: 0 1 auto;
  }

  .df-profile__avatar {
    margin-bottom: 8px; /* room for «Сменить» under photo */
  }

  .df-profile__lead {
    margin: 0 auto;
  }

  .df-profile__title {
    margin-bottom: 4px !important;
  }

  .df-profile__email {
    margin-bottom: 6px;
  }

  .df-profile__form .df-cabinet__btn {
    width: 100%;
    justify-self: stretch;
  }
}

/* —— Notifications feed —— */
.df-notif__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.df-notif__stream {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.df-notif__item {
  margin: 0;
}

.df-notif__row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.df-notif__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #dde1ea);
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 39, 76, 0.04);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

a.df-notif__card:hover {
  border-color: rgba(241, 213, 73, 0.55);
  box-shadow: 0 8px 20px rgba(28, 39, 76, 0.07);
}

.df-notif__item.is-unread .df-notif__card {
  background:
    linear-gradient(90deg, rgba(241, 213, 73, 0.14), #fff 40%),
    #fff;
  border-color: rgba(241, 213, 73, 0.5);
}

.df-notif__delete {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  align-self: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line, #dde1ea);
  border-radius: 10px;
  background: #fff;
  color: var(--muted, #6a738f);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.df-notif__delete:hover {
  background: #fdecee;
  border-color: rgba(198, 40, 40, 0.35);
  color: #8a1f2b;
}

.df-notif__delete:disabled {
  opacity: 0.5;
  cursor: default;
}

.df-notif__ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border-radius: 11px;
  background: var(--gold-soft, #fff6c8);
  color: var(--navy, #1c274c);
}

.df-notif__item--app_rejected .df-notif__ico,
.df-notif__item--pay_deactivation .df-notif__ico {
  background: #fdecee;
  color: #8a1f2b;
}

.df-notif__item--app_approved .df-notif__ico,
.df-notif__item--pay_success .df-notif__ico {
  background: #eefaf1;
  color: #1b5e35;
}

.df-notif__item--order_new .df-notif__ico {
  background: rgba(28, 39, 76, 0.07);
  color: var(--navy, #1c274c);
}

.df-notif__body {
  display: grid;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}

.df-notif__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.df-notif__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #6a738f);
}

.df-notif__when {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted, #6a738f);
  white-space: nowrap;
}

.df-notif__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--navy, #1c274c);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-notif__text {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted, #6a738f);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-notif__go {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 8px;
  background: rgba(28, 39, 76, 0.04);
  color: var(--muted, #6a738f);
}

a.df-notif__card:hover .df-notif__go {
  background: rgba(241, 213, 73, 0.28);
  color: var(--navy, #1c274c);
}

@media (max-width: 640px) {
  .df-notif__toolbar {
    margin-bottom: 10px;
  }

  .df-notif__toolbar .df-cabinet__btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 36px;
    font-size: 12px;
  }

  .df-notif__row {
    gap: 6px;
  }

  .df-notif__card {
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .df-notif__delete {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .df-notif__ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .df-notif__title {
    font-size: 14px;
    white-space: normal;
  }

  .df-notif__text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .df-notif__go {
    display: none;
  }
}
