body {
  min-width: 320px;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 35, 43, 0.78) rgba(255, 255, 255, 0.06);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.dashboard-nav-menu__list::-webkit-scrollbar,
.dashboard-bell-menu__list::-webkit-scrollbar,
.dashboard-modal__panel::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.dashboard-nav-menu__list::-webkit-scrollbar-track,
.dashboard-bell-menu__list::-webkit-scrollbar-track,
.dashboard-modal__panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.dashboard-nav-menu__list::-webkit-scrollbar-thumb,
.dashboard-bell-menu__list::-webkit-scrollbar-thumb,
.dashboard-modal__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 101, 109, 0.95), rgba(215, 35, 43, 0.82));
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.dashboard-nav-menu__list::-webkit-scrollbar-thumb:hover,
.dashboard-bell-menu__list::-webkit-scrollbar-thumb:hover,
.dashboard-modal__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 126, 133, 1), rgba(215, 35, 43, 0.95));
  background-clip: padding-box;
}

.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 35, 43, 0.22), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(215, 35, 43, 0.18), transparent 38%),
    #0d0d10;
  color: #f8f8f8;
}

.dashboard-hero__main {
  min-height: auto;
  padding-top: 12px;
}

.dashboard-page__content {
  position: relative;
  z-index: 2;
  overflow-x: hidden;
  padding-bottom: 8rem;
}

.dashboard-page .dashboard-header,
.dashboard-page .topbar,
.dashboard-page .nav-links {
  overflow: visible;
}

.dashboard-header {
  padding: 0 !important;
  margin: 12px auto 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: min(1280px, calc(100% - 28px));
  position: relative;
  z-index: 100;
}

.dashboard-header .hero__grid {
  display: none !important;
}

.dashboard-header .topbar {
  margin: 0 !important;
  top: 0 !important;
  border-radius: 1.45rem !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    linear-gradient(135deg, rgba(31, 32, 39, 0.9), rgba(22, 23, 29, 0.88) 58%, rgba(64, 21, 28, 0.72)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.dashboard-header .social-link,
.dashboard-header .dashboard-topbar-bell__toggle {
  border-color: #464853 !important;
  background: #2b2c34 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.dashboard-header .social-link:hover,
.dashboard-header .dashboard-topbar-bell__toggle:hover {
  border-color: rgba(215, 35, 43, 0.58) !important;
  background: #33343d !important;
  color: #fff !important;
}

.dashboard-header .social-link.is-active,
.dashboard-header .dashboard-topbar-bell[open] .dashboard-topbar-bell__toggle {
  border-color: rgba(240, 67, 75, 0.76) !important;
  background: #cf202b !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(207, 32, 43, 0.22) !important;
}

@media (max-width: 768px) {
  .dashboard-header {
    display: none !important;
  }
}

.dashboard-page #authView .bg-white,
.dashboard-page #authView .dashboard-card,
.dashboard-page #dashboardView .bg-white,
.dashboard-page #dashboardView .dashboard-card,
.dashboard-page #dashboardView .dashboard-listing,
.dashboard-page #dashboardView .dashboard-stat,
.dashboard-page #dashboardView .dashboard-choice,
.dashboard-page .dashboard-modal__panel,
.dashboard-page .dashboard-modal__sheet,
.dashboard-page #dashboardView .dashboard-modal__panel,
.dashboard-page #dashboardView .dashboard-modal__sheet {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.dashboard-page #authView .bg-slate-50,
.dashboard-page #dashboardView .bg-slate-50,
.dashboard-page #dashboardView .dashboard-stat {
  background: rgba(255, 255, 255, 0.03) !important;
}

.dashboard-page #authView .border-slate-200,
.dashboard-page #authView .dashboard-card,
.dashboard-page #dashboardView .border-slate-200,
.dashboard-page #dashboardView .dashboard-choice,
.dashboard-page #dashboardView .dashboard-input,
.dashboard-page #dashboardView .dashboard-select,
.dashboard-page #dashboardView .dashboard-textarea,
.dashboard-page #dashboardView .dashboard-listing,
.dashboard-page #dashboardView .dashboard-stat,
.dashboard-page #dashboardView .dashboard-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-page #authView .text-slate-950,
.dashboard-page #authView .text-slate-900,
.dashboard-page #authView .dashboard-label,
.dashboard-page #authView .dashboard-input,
.dashboard-page #authView .dashboard-select,
.dashboard-page #dashboardView .text-slate-950,
.dashboard-page #dashboardView .text-slate-900,
.dashboard-page #dashboardView .dashboard-stat__value,
.dashboard-page #dashboardView .dashboard-choice__title,
.dashboard-page #dashboardView .dashboard-nav-button,
.dashboard-page #dashboardView .dashboard-label,
.dashboard-page #dashboardView .dashboard-input,
.dashboard-page #dashboardView .dashboard-select,
.dashboard-page #dashboardView .dashboard-textarea {
  color: #fff !important;
}

.dashboard-page #authView .text-slate-700,
.dashboard-page #authView .text-slate-600,
.dashboard-page #authView .text-slate-500,
.dashboard-page #authView .dashboard-label,
.dashboard-page #dashboardView .text-slate-700,
.dashboard-page #dashboardView .text-slate-600,
.dashboard-page #dashboardView .text-slate-500,
.dashboard-page #dashboardView .dashboard-choice__meta,
.dashboard-page #dashboardView .dashboard-stat__label,
.dashboard-page #dashboardView .dashboard-label {
  color: rgba(255, 255, 255, 0.72) !important;
}

.dashboard-page #dashboardView .dashboard-nav-button {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-page #dashboardView .dashboard-card,
.dashboard-page #dashboardView .dashboard-listing,
.dashboard-page #dashboardView .dashboard-stat,
.dashboard-page #dashboardView .dashboard-choice,
.dashboard-page #dashboardView .dashboard-sidebar,
.dashboard-page #dashboardView .dashboard-nav-button {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dashboard-page #dashboardView .dashboard-nav-button:hover,
.dashboard-page #dashboardView .dashboard-nav-button.is-active {
  background: rgba(215, 35, 43, 0.18);
  border-color: rgba(215, 35, 43, 0.48);
  color: #fff;
}

.dashboard-page .dashboard-hero__main {
  display: none;
}

.dashboard-page #dashboardView .dashboard-input,
.dashboard-page #dashboardView .dashboard-select,
.dashboard-page #dashboardView .dashboard-textarea,
.dashboard-page #authView input:not([type="checkbox"]),
.dashboard-page #authView select {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.dashboard-page #dashboardView .dashboard-input::placeholder,
.dashboard-page #dashboardView .dashboard-textarea::placeholder,
.dashboard-page #authView input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.dashboard-page #dashboardView .dashboard-action--primary,
.dashboard-page #authView button[type="submit"] {
  background: linear-gradient(135deg, #d7232b, #f0434b);
  color: #fff;
}

.dashboard-page #dashboardView .dashboard-action--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashboard-page #dashboardView .dashboard-action--ok {
  background: rgba(215, 35, 43, 0.18);
  border-color: rgba(215, 35, 43, 0.4);
  color: #fff;
}

.dashboard-page #dashboardView .dashboard-chip,
.dashboard-page #dashboardView .dashboard-chip--active,
.dashboard-page #dashboardView .dashboard-chip--moderation,
.dashboard-page #dashboardView .dashboard-chip--draft {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashboard-page #authView .dashboard-terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.dashboard-page #authView .dashboard-terms-consent__checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0.12rem 0 0;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: 0.32rem;
  background-color: rgba(255, 255, 255, 0.06);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.8rem 0.8rem;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.dashboard-page #authView .dashboard-terms-consent__checkbox:checked {
  border-color: #f0434b;
  background-color: #d7232b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m3 8.2 3.1 3.1L13 4.7'/%3E%3C/svg%3E");
}

.dashboard-page #authView .dashboard-terms-consent__checkbox:focus-visible {
  outline: 3px solid rgba(240, 67, 75, 0.28) !important;
  outline-offset: 3px;
}

.dashboard-page #authView .dashboard-terms-consent__checkbox:active {
  transform: scale(0.92);
}

.dashboard-page #dashboardView .dashboard-chip--active {
  border-color: rgba(34, 197, 94, 0.48) !important;
  background: rgba(22, 163, 74, 0.18) !important;
  color: #bdf8cf !important;
}

.dashboard-page #dashboardView .dashboard-chip--draft,
.dashboard-page #dashboardView .dashboard-chip--moderation {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: #111216 !important;
  color: #ffffff !important;
}

.dashboard-page #authView .from-blue-600,
.dashboard-page #authView .to-sky-500 {
  --tw-gradient-from: #8e2f33 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(142 47 51 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), #d7232b var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.dashboard-page #authView .bg-slate-100 {
  background: rgba(255, 255, 255, 0.05) !important;
}

.dashboard-page #authView .dashboard-input:focus,
.dashboard-page #authView .dashboard-select:focus {
  border-color: rgba(240, 67, 75, 0.54);
  box-shadow: 0 0 0 2px rgba(215, 35, 43, 0.16);
}

.dashboard-page #dashboardView .dashboard-input:focus,
.dashboard-page #dashboardView .dashboard-select:focus,
.dashboard-page #dashboardView .dashboard-textarea:focus {
  border-color: rgba(240, 67, 75, 0.46) !important;
  box-shadow: none !important;
  outline: none !important;
}

.dashboard-page #dashboardView .dashboard-input:hover,
.dashboard-page #dashboardView .dashboard-select:hover,
.dashboard-page #dashboardView .dashboard-textarea:hover,
.dashboard-page #dashboardView .dashboard-input:active,
.dashboard-page #dashboardView .dashboard-select:active,
.dashboard-page #dashboardView .dashboard-textarea:active {
  box-shadow: none !important;
}

.dashboard-page #dashboardView,
.dashboard-page #dashboardView * {
  -webkit-tap-highlight-color: transparent;
}

.dashboard-page ::selection {
  background: rgba(215, 35, 43, 0.24);
  color: #fff;
}

.dashboard-page #dashboardView h1,
.dashboard-page #dashboardView h2,
.dashboard-page #dashboardView h3,
.dashboard-page #dashboardView .dashboard-nav-button,
.dashboard-page #dashboardView .dashboard-stat,
.dashboard-page #dashboardView .dashboard-chip,
.dashboard-page #dashboardView .dashboard-action,
.dashboard-page #dashboardView .dashboard-label,
.dashboard-page #dashboardView .dashboard-sidebar,
.dashboard-page #dashboardView .dashboard-empty {
  user-select: none;
  -webkit-user-select: none;
}

.dashboard-page #dashboardView h1::selection,
.dashboard-page #dashboardView h2::selection,
.dashboard-page #dashboardView h3::selection,
.dashboard-page #dashboardView .dashboard-nav-button::selection,
.dashboard-page #dashboardView .dashboard-stat::selection,
.dashboard-page #dashboardView .dashboard-chip::selection,
.dashboard-page #dashboardView .dashboard-action::selection,
.dashboard-page #dashboardView .dashboard-label::selection,
.dashboard-page #dashboardView .dashboard-sidebar::selection,
.dashboard-page #dashboardView .dashboard-empty::selection {
  background: transparent;
  color: inherit;
}

.dashboard-page #dashboardView .dashboard-input,
.dashboard-page #dashboardView .dashboard-select,
.dashboard-page #dashboardView .dashboard-textarea,
.dashboard-page #dashboardView .dashboard-input *,
.dashboard-page #dashboardView .dashboard-select *,
.dashboard-page #dashboardView .dashboard-textarea * {
  user-select: text;
  -webkit-user-select: text;
}

.dashboard-page #dashboardView .dashboard-input::selection,
.dashboard-page #dashboardView .dashboard-select::selection,
.dashboard-page #dashboardView .dashboard-textarea::selection {
  background: rgba(215, 35, 43, 0.24);
  color: #fff;
}

.dashboard-page #dashboardView .dashboard-empty {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  user-select: none;
}

.dashboard-page #dashboardView .dashboard-empty .text-slate-900,
.dashboard-page #dashboardView .dashboard-empty p {
  color: #fff !important;
}

.dashboard-section-kicker {
  margin: 0;
  color: #9facbf;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dashboard-card-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  border: 1px solid #3d404a;
  background: #25262d;
  padding: 0.28rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-card-view-toggle__button {
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  padding: 0.52rem;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dashboard-card-view-toggle__button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.dashboard-card-view-toggle__button.is-active {
  background: #cf2028;
  color: #fff;
}

.dashboard-card-view-toggle__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.dashboard-page .dashboard-modal__panel .text-slate-400,
.dashboard-page .dashboard-modal__panel .text-slate-500,
.dashboard-page .dashboard-modal__panel .dashboard-label,
.dashboard-page .dashboard-modal__panel .dashboard-choice__meta {
  color: rgba(255, 255, 255, 0.72) !important;
}

.dashboard-page .dashboard-modal__panel .text-slate-950,
.dashboard-page .dashboard-modal__panel .text-slate-900,
.dashboard-page .dashboard-modal__panel .dashboard-choice__title,
.dashboard-page .dashboard-modal__panel .dashboard-step,
.dashboard-page .dashboard-modal__panel .dashboard-step__index,
.dashboard-page .dashboard-modal__panel .dashboard-input,
.dashboard-page .dashboard-modal__panel .dashboard-select,
.dashboard-page .dashboard-modal__panel .dashboard-textarea {
  color: #fff !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-step,
.dashboard-page .dashboard-modal__panel .dashboard-choice {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-input,
.dashboard-page .dashboard-modal__panel .dashboard-select,
.dashboard-page .dashboard-modal__panel .dashboard-textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-input::placeholder,
.dashboard-page .dashboard-modal__panel .dashboard-textarea::placeholder {
  color: rgba(255, 255, 255, 0.44) !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-select option,
.dashboard-page .dashboard-modal__panel .dashboard-select optgroup {
  color: #0f172a !important;
  background: #ffffff !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-step.is-active,
.dashboard-page .dashboard-modal__panel .dashboard-choice:has(input:checked) {
  background: rgba(215, 35, 43, 0.18) !important;
  border-color: rgba(215, 35, 43, 0.42) !important;
}

.dashboard-page .dashboard-modal__panel .dashboard-step__index {
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-modal__panel .dashboard-step.is-active .dashboard-step__index {
  background: #d7232b;
}

.dashboard-page .dashboard-modal__panel .dashboard-input:focus,
.dashboard-page .dashboard-modal__panel .dashboard-select:focus,
.dashboard-page .dashboard-modal__panel .dashboard-textarea:focus {
  border-color: rgba(240, 67, 75, 0.46) !important;
  box-shadow: none !important;
}

.dashboard-page input:-webkit-autofill,
.dashboard-page input:-webkit-autofill:hover,
.dashboard-page input:-webkit-autofill:focus,
.dashboard-page textarea:-webkit-autofill,
.dashboard-page select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.dashboard-page #dashboardView input:-webkit-autofill,
.dashboard-page #dashboardView input:-webkit-autofill:hover,
.dashboard-page #dashboardView input:-webkit-autofill:focus,
.dashboard-page #dashboardView textarea:-webkit-autofill,
.dashboard-page #dashboardView select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px #434349 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.dashboard-page #authView .dashboard-select option,
.dashboard-page #authView .dashboard-select optgroup {
  color: #0f172a !important;
  background: #ffffff !important;
}

.dashboard-page #dashboardView .dashboard-select option,
.dashboard-page #dashboardView .dashboard-select optgroup {
  color: #0f172a !important;
  background: #ffffff !important;
}

.dashboard-auth-grid {
  display: grid;
  gap: 1.5rem;
}

.dashboard-auth-card {
  min-height: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: none !important;
}

.dashboard-auth-banner {
  position: relative;
  overflow: hidden;
}

.dashboard-auth-feature {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-auth-feature p:first-child {
  color: #fff !important;
}

.dashboard-auth-feature p:last-child {
  color: rgba(255, 255, 255, 0.74) !important;
}

.dashboard-auth-tabs {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-auth-tab {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: 0.2s ease;
}

.dashboard-auth-tab:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-auth-tab.is-active {
  background: linear-gradient(135deg, rgba(215, 35, 43, 0.92), rgba(240, 67, 75, 0.88)) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(215, 35, 43, 0.22);
}

.dashboard-google-auth,
.dashboard-telegram-auth {
  margin: 0 0 0.8rem;
}

.dashboard-google-auth__button,
.dashboard-telegram-auth__button {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 58px;
  padding: 0.92rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(39, 41, 50, 0.64), rgba(21, 22, 28, 0.72));
  color: #f8fafc;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
  backdrop-filter: blur(12px);
}

.dashboard-google-auth__button:hover,
.dashboard-google-auth__button:focus-visible,
.dashboard-telegram-auth__button:hover:not(:disabled),
.dashboard-telegram-auth__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 47, 58, 0.72);
  background: linear-gradient(135deg, rgba(47, 49, 58, 0.78), rgba(63, 18, 25, 0.82));
  color: #fff;
}

.dashboard-google-auth__icon,
.dashboard-telegram-auth__icon {
  display: inline-flex;
  grid-column: 1;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
}

.dashboard-google-auth__button > span:last-child,
.dashboard-telegram-auth__button > span:last-child {
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.dashboard-google-auth__icon svg,
.dashboard-telegram-auth__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dashboard-telegram-auth__icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  padding: 0.32rem;
  border-radius: 999px;
  background: #2aabee;
  color: #fff;
}

.dashboard-telegram-auth {
  display: block;
}

.dashboard-telegram-auth__label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.dashboard-telegram-auth__widget {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-telegram-auth__button {
  color: #f8fafc;
}

.dashboard-telegram-auth__button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.dashboard-telegram-auth__button.is-loading span:last-child::after {
  content: "...";
}

.dashboard-telegram-auth__icon svg {
  fill: currentColor;
}

.dashboard-telegram-auth__fallback {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.dashboard-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 1.15rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-auth-divider::before,
.dashboard-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-page #authView [data-auth-features-tab].text-black {
  color: #fff !important;
}

.dashboard-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  overflow: visible;
}

.dashboard-shell > * {
  min-width: 0;
}

.dashboard-sidebar {
  position: static;
  overflow: visible;
  z-index: 25;
}

.dashboard-sidebar__core {
  position: sticky !important;
  top: 1rem;
  align-self: start;
  height: fit-content;
  overflow: visible;
  z-index: 60;
  padding: 1rem !important;
  border-radius: 1.55rem !important;
  border-color: #343640 !important;
  background: #202127 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-sidebar__profile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0.72rem;
  padding: 0.78rem !important;
  border-radius: 1.25rem !important;
  border-color: #434550 !important;
  background: #2b2c34 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 32px rgba(0, 0, 0, 0.16);
}

.dashboard-sidebar__avatar {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px;
  border-radius: 1rem !important;
}

.dashboard-sidebar__meta {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  align-content: center;
}

.dashboard-sidebar__name {
  min-width: 0;
  line-height: 1.08;
  font-size: 1.08rem !important;
}

.dashboard-sidebar__name .dashboard-user-name {
  gap: 0.3rem;
  width: 100%;
}

.dashboard-sidebar__name .dashboard-user-name__text,
.dashboard-sidebar__email {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sidebar__email {
  max-width: 100%;
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.66) !important;
}

.dashboard-sidebar__core .dashboard-nav-menu__toggle,
.dashboard-sidebar__core .dashboard-profile-shortcut,
.dashboard-sidebar__core #logoutButton {
  border-color: #4a4d58;
  background: #30313a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-sidebar__core .dashboard-nav-menu {
  margin-top: 0.85rem !important;
  position: relative;
  z-index: 90;
}

.dashboard-sidebar__core .dashboard-nav-menu[open] {
  z-index: 160;
}

.dashboard-sidebar__core .dashboard-nav-menu__toggle {
  min-height: 58px;
  border-color: rgba(215, 35, 43, 0.88) !important;
  background: #cf202b !important;
  background-image: none !important;
  color: #fff !important;
  padding: 0.78rem 0.95rem;
  border-radius: 1.15rem;
  box-shadow: 0 14px 28px rgba(207, 32, 43, 0.24);
}

.dashboard-sidebar__core .dashboard-profile-shortcut {
  width: 42px;
  min-width: 42px;
  height: 42px;
  flex-basis: 42px;
  font-size: 1rem;
}

.dashboard-sidebar__core .dashboard-nav-menu__toggle:hover,
.dashboard-sidebar__core .dashboard-nav-menu[open] .dashboard-nav-menu__toggle,
.dashboard-sidebar__core .dashboard-profile-shortcut:hover,
.dashboard-sidebar__core #logoutButton:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #353640;
}

.dashboard-sidebar__core .dashboard-nav-menu__toggle:hover,
.dashboard-sidebar__core .dashboard-nav-menu[open] .dashboard-nav-menu__toggle {
  border-color: rgba(240, 67, 75, 0.9) !important;
  background: #d7232b !important;
  background-image: none !important;
  box-shadow: 0 16px 30px rgba(215, 35, 43, 0.3);
}

.dashboard-sidebar__core .dashboard-nav-menu__list {
  max-width: 100%;
  max-height: min(360px, calc(100vh - 180px));
  overflow-y: auto;
  border-color: #3d404a !important;
  background:
    linear-gradient(145deg, rgba(39, 40, 48, 0.98), rgba(21, 22, 28, 0.98)) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-sidebar__core > .mt-5.grid {
  margin-top: 0.85rem !important;
  gap: 0.65rem !important;
}

.dashboard-sidebar__core #logoutButton {
  min-height: 48px;
  padding: 0.62rem 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  background: #25262d !important;
}

.dashboard-sidebar__core #logoutButton:hover {
  color: #fff !important;
  background: #30313a !important;
}

.dashboard-sidebar__core .dashboard-nav-count {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

body.dashboard-page .footer {
  margin-top: 5rem;
}

.dashboard-nav-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  transition: 0.2s ease;
}

.dashboard-nav-menu__list .dashboard-nav-button {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dashboard-nav-menu__list .dashboard-nav-button:hover,
.dashboard-nav-menu__list .dashboard-nav-button.is-active {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

.dashboard-nav-button:hover,
.dashboard-nav-button.is-active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dashboard-card {
  border: 1px solid #e2e8f0;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  max-width: 100%;
}

.dashboard-page #dashboardView .dashboard-sidebar__core.dashboard-card {
  border-color: rgba(255, 255, 255, 0.11) !important;
  background:
    linear-gradient(145deg, rgba(38, 39, 47, 0.86), rgba(20, 21, 27, 0.78)) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dashboard-stat {
  display: grid;
  gap: 0.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.1rem 1.15rem;
}

.dashboard-stat__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94a3b8;
}

.dashboard-stat__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #1d4ed8;
}

.dashboard-chip--active {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.dashboard-chip--moderation {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.dashboard-chip--draft {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.dashboard-chip--rejected {
  border-color: rgba(240, 67, 75, 0.45);
  background: rgba(215, 35, 43, 0.14);
  color: #ffb5ba;
}

.dashboard-listing__rejected {
  color: #ff7e86;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.dashboard-nav-menu,
.dashboard-bell-menu {
  position: relative;
  z-index: 30;
}

.dashboard-nav-menu[open],
.dashboard-bell-menu[open] {
  z-index: 70;
}

.dashboard-nav-menu__toggle,
.dashboard-bell-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.dashboard-nav-menu__toggle {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.94), rgba(42, 28, 33, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 26px rgba(0, 0, 0, 0.18);
}

.dashboard-nav-menu__toggle:hover,
.dashboard-nav-menu[open] .dashboard-nav-menu__toggle {
  border-color: rgba(215, 35, 43, 0.34);
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(54, 33, 39, 0.94));
}

.dashboard-nav-menu__toggle::-webkit-details-marker,
.dashboard-bell-menu__toggle::-webkit-details-marker {
  display: none;
}

.dashboard-nav-menu__dots {
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  font-weight: 900;
}

.dashboard-nav-menu__list,
.dashboard-bell-menu__list {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(28, 28, 31, 0.98);
  padding: 0.6rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  z-index: 35;
  max-height: min(360px, calc(100vh - 220px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 35, 43, 0.78) rgba(255, 255, 255, 0.06);
}

.dashboard-nav-menu__list.is-floating,
.dashboard-action-menu__list.is-floating,
.dashboard-topbar-bell__list.is-floating {
  position: fixed !important;
  top: var(--floating-top, 80px) !important;
  left: var(--floating-left, 12px) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--floating-width, 280px);
  max-width: calc(100vw - 24px);
  max-height: var(--floating-max-height, calc(100vh - 120px));
  z-index: 340 !important;
}

.dashboard-nav-menu__list.is-preparing,
.dashboard-action-menu__list.is-preparing,
.dashboard-topbar-bell__list.is-preparing {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.dashboard-nav-menu__list {
  top: calc(100% + 0.65rem);
  bottom: auto;
  z-index: 120;
}

.dashboard-nav-count,
.dashboard-bell-menu__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(215, 35, 43, 0.24);
  color: #fff;
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-nav-icon {
  font-size: 1rem;
  line-height: 1;
}

.dashboard-bell-menu {
  flex: 0 0 auto;
}

.dashboard-bell-menu__toggle {
  position: relative;
  width: 48px;
  min-width: 48px;
  height: 48px;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
}

.dashboard-bell-menu__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.dashboard-bell-menu__count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 1.4rem;
  height: 1.4rem;
  font-size: 0.7rem;
}

.dashboard-bell-menu__list {
  left: 0;
  right: auto;
  width: min(360px, calc(100vw - 40px));
}

.dashboard-profile-shortcut,
.dashboard-topbar-bell__toggle,
.social-link--button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
}

.social-link--button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.social-link--button:hover {
  border-color: rgba(215, 35, 43, 0.42);
  background: rgba(215, 35, 43, 0.16);
}

.social-link--button.is-active {
  border-color: rgba(215, 35, 43, 0.42);
  background: rgba(215, 35, 43, 0.16);
}

.dashboard-profile-shortcut {
  width: 48px;
  min-width: 48px;
  height: 48px;
  margin-left: auto;
  flex: 0 0 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.dashboard-profile-shortcut:hover {
  border-color: rgba(215, 35, 43, 0.42);
  background: rgba(215, 35, 43, 0.16);
}

.dashboard-user-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.dashboard-user-name__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-name__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  box-shadow: none;
}

.dashboard-premium-status-trigger {
  appearance: none;
  cursor: pointer;
  transform: translateY(0.02em);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.dashboard-premium-status-trigger:hover,
.dashboard-premium-status-trigger:focus-visible,
.dashboard-premium-status-trigger.is-open {
  filter: brightness(1.12);
  outline: none;
  transform: translateY(-0.03em) scale(1.06);
}

.dashboard-topbar-bell {
  position: relative;
  z-index: 220;
}

.dashboard-topbar-bell__toggle {
  position: relative;
  min-width: 54px;
  padding-inline: 0.9rem;
}

.dashboard-topbar-bell__toggle::-webkit-details-marker {
  display: none;
}

.dashboard-topbar-bell__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.dashboard-topbar-bell__count {
  position: absolute;
  top: -7px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(215, 35, 43, 0.92);
  color: #fff;
  padding: 0 0.38rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.dashboard-topbar-bell__list {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - 40px));
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(28, 28, 31, 0.98);
  padding: 0.6rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  z-index: 260;
  max-height: min(360px, calc(100vh - 180px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 35, 43, 0.78) rgba(255, 255, 255, 0.06);
}

#headerBellMenu {
  overflow: visible;
}

.dashboard-notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.dashboard-notification-head__side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.dashboard-notification-time {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  line-height: 1.2;
  text-align: right;
}

.dashboard-notification-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dashboard-notification-delete:hover {
  border-color: rgba(215, 35, 43, 0.42);
  background: rgba(215, 35, 43, 0.14);
  color: #fff;
}

.dashboard-welcome-notice {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  overflow: visible;
}

.dashboard-welcome-notice__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-welcome-notice__text {
  margin-top: 1rem;
  max-width: 68rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.65;
}

.dashboard-bell-item,
.dashboard-notice-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem 1rem;
}

.dashboard-bell-item--neutral.is-unread,
.dashboard-notice-card--neutral.is-unread {
  border-color: rgba(215, 35, 43, 0.3);
  background: rgba(215, 35, 43, 0.08);
}

.dashboard-bell-item--approved,
.dashboard-notice-card--approved {
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.06);
}

.dashboard-bell-item--approved.is-unread,
.dashboard-notice-card--approved.is-unread {
  border-color: rgba(22, 163, 74, 0.42);
  background: rgba(22, 163, 74, 0.12);
}

.dashboard-bell-item--rejected,
.dashboard-notice-card--rejected {
  border-color: rgba(215, 35, 43, 0.22);
  background: rgba(215, 35, 43, 0.06);
}

.dashboard-bell-item--rejected.is-unread,
.dashboard-notice-card--rejected.is-unread {
  border-color: rgba(215, 35, 43, 0.42);
  background: rgba(215, 35, 43, 0.12);
}

.dashboard-chip--approved {
  border-color: rgba(22, 163, 74, 0.32);
  background: rgba(22, 163, 74, 0.14);
  color: #b7f7c8;
}

.dashboard-chip--rejected {
  border-color: rgba(215, 35, 43, 0.32);
  background: rgba(215, 35, 43, 0.14);
  color: #ffd2d6;
}

.dashboard-bell-item__title,
.dashboard-notice-card__title {
  margin: 0.2rem 0 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
}

.dashboard-bell-item__text,
.dashboard-notice-card__text {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
}

.dashboard-bell-item__empty {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0.2rem;
}

.dashboard-notifications {
  display: grid;
  gap: 1rem;
}

.dashboard-notice-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dashboard-inline-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-inline-notice {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.dashboard-inline-notice--success {
  border-left: 3px solid rgba(215, 35, 43, 0.85);
}

.dashboard-inline-notice--error {
  border-left: 3px solid rgba(215, 35, 43, 0.85);
  color: #ffd3d6 !important;
  background: rgba(215, 35, 43, 0.08) !important;
  border-color: rgba(215, 35, 43, 0.22) !important;
}

.dashboard-profile-message-box {
  border-radius: 1.15rem;
}

.dashboard-inline-message__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(215, 35, 43, 0.14);
  color: #ff737a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.dashboard-inline-message__close:hover {
  background: rgba(215, 35, 43, 0.22);
  color: #ff9ea3;
}

.dashboard-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.dashboard-action--center {
  justify-content: center;
  text-align: center;
}

.dashboard-action--primary {
  background: #2563eb;
  color: #fff;
}

.dashboard-action--primary:hover {
  filter: brightness(1.08);
}

.dashboard-action--ghost {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #2563eb;
}

.dashboard-action--ghost:hover {
  background: #dbeafe;
}

.dashboard-action--ok {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.dashboard-action--ok:hover {
  background: #dcfce7;
}

.dashboard-action--danger {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.dashboard-action--danger:hover {
  background: #fee2e2;
}

.dashboard-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.dashboard-icon-button:hover {
  transform: translateY(-1px);
}

.dashboard-icon-button--danger {
  border-color: rgba(254, 202, 202, 0.38);
  background: rgba(220, 38, 38, 0.12);
  color: #fecaca;
}

.dashboard-icon-button--danger:hover {
  background: rgba(220, 38, 38, 0.2);
  color: #fff;
}

.dashboard-card .dashboard-icon-button--danger {
  flex-shrink: 0;
}

.dashboard-listing__top-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: max-content;
}

.dashboard-open-card-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-color: #565966 !important;
  background: #18191f !important;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: none !important;
}

.dashboard-open-card-button:hover {
  border-color: rgba(215, 35, 43, 0.72) !important;
  background: #0f1014 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.dashboard-open-card-button__icon {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.dashboard-favorites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.dashboard-profile-card-grid--wide {
  grid-template-columns: 1fr !important;
}

.dashboard-page #dashboardView .dashboard-profile-card-grid--wide .dashboard-favorite-card.dashboard-card {
  grid-template-columns: clamp(230px, 27%, 320px) minmax(0, 1fr) 52px;
  gap: 1.12rem;
  min-height: 228px;
  padding: 1.15rem !important;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card__media {
  border-radius: 1.2rem;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card__content {
  gap: 0.78rem;
  justify-content: flex-start;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card__category {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card__title {
  font-size: clamp(1.14rem, 1.55vw, 1.55rem);
  line-height: 1.1;
  -webkit-line-clamp: 2;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card .dashboard-chip {
  padding: 0.36rem 0.72rem;
  font-size: 0.76rem;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card__actions {
  gap: 1rem;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card .dashboard-open-card-button,
.dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-action-menu__toggle {
  width: 52px;
  min-width: 52px;
  height: 52px;
}

.dashboard-profile-card-grid--wide .dashboard-favorite-card .dashboard-favorite-remove {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  flex-basis: 28px;
}

.dashboard-profile-card-grid--wide .dashboard-owned-card__address {
  font-size: 0.84rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.dashboard-profile-card-grid--wide .dashboard-owned-card__notice {
  max-width: min(100%, 360px);
  padding: 0.42rem 0.74rem;
  font-size: 0.76rem;
}

.dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card {
  display: grid;
  grid-template-columns: clamp(150px, 32%, 190px) minmax(0, 1fr) 44px;
  align-items: stretch;
  gap: 0.78rem;
  min-width: 0;
  min-height: 176px;
  padding: 0.92rem !important;
  overflow: hidden;
}

.dashboard-favorite-card__media {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: #16171d;
  aspect-ratio: 4 / 3;
}

.dashboard-favorite-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-favorite-card__content {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.62rem;
  overflow: hidden;
}

.dashboard-favorite-card__category {
  margin: 0;
  color: #a7b2c5;
  max-width: 100%;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-favorite-card__title {
  display: -webkit-box;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.04rem, 1.25vw, 1.34rem);
  font-weight: 900;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.dashboard-favorite-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.dashboard-favorite-card__actions {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.dashboard-favorite-card .dashboard-open-card-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.dashboard-hours-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 13, 17, 0.84);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dashboard-hours-badge__dot {
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 0.52rem;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.dashboard-hours-badge--open {
  border-color: rgba(110, 231, 183, 0.34);
}

.dashboard-hours-badge--open .dashboard-hours-badge__dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 0 14px rgba(34, 197, 94, 0.58);
}

.dashboard-hours-badge--closed {
  border-color: rgba(248, 113, 113, 0.3);
}

.dashboard-hours-badge--closed .dashboard-hours-badge__dot {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), 0 0 14px rgba(239, 68, 68, 0.52);
}

.dashboard-favorite-card .dashboard-favorite-remove {
  width: 26px !important;
  min-width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px;
  border: 0 !important;
  background: transparent !important;
  color: #ffd0d4 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dashboard-favorite-card .dashboard-favorite-remove:hover {
  background: transparent !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.dashboard-favorite-card .dashboard-favorite-remove__icon {
  width: 17px;
  height: 17px;
}

.dashboard-favorite-card .dashboard-chip {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0.34rem 0.72rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-owned-card .dashboard-action-menu {
  margin: 0;
  align-self: auto;
}

.dashboard-owned-card:has(.dashboard-action-menu[open]) {
  z-index: 120;
}

.dashboard-owned-card .dashboard-action-menu[open] {
  z-index: 160;
}

.dashboard-owned-card .dashboard-action-menu__list {
  top: calc(100% + 0.55rem);
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 180;
}

.dashboard-page #dashboardView .dashboard-owned-card.dashboard-card {
  grid-template-columns: clamp(148px, 30%, 184px) minmax(0, 1fr) 42px;
  gap: 0.72rem;
  min-height: 162px;
  overflow: visible !important;
  position: relative;
}

.dashboard-owned-card .dashboard-favorite-card__content {
  gap: 0.48rem;
  justify-content: center;
}

.dashboard-owned-card .dashboard-favorite-card__category {
  color: #a6b2c6;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.dashboard-owned-card .dashboard-favorite-card__title {
  font-size: clamp(1.02rem, 1.08vw, 1.22rem);
  line-height: 1.08;
}

.dashboard-owned-card .dashboard-chip {
  padding: 0.3rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 850;
}

.dashboard-owned-card .dashboard-action-menu__toggle {
  width: 42px;
  min-width: 42px;
  height: 42px;
  background: #18191f;
  box-shadow: none;
}

.dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-favorite-card__content {
  gap: 0.72rem;
  justify-content: flex-start;
}

.dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-favorite-card__category {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-favorite-card__title {
  font-size: clamp(1.14rem, 1.55vw, 1.55rem);
}

.dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-chip {
  padding: 0.36rem 0.72rem;
  font-size: 0.76rem;
}

.dashboard-owned-card__media {
  isolation: isolate;
}

.dashboard-owned-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  max-width: calc(100% - 1.5rem);
  align-items: center;
  gap: 0.38rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 13, 17, 0.86);
  color: #fff;
  padding: 0.38rem 0.66rem;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-owned-status::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 0.52rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.dashboard-owned-status--active {
  border-color: rgba(110, 231, 183, 0.34);
  color: #dcfce7;
}

.dashboard-owned-status--active::before {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 0 14px rgba(34, 197, 94, 0.48);
}

.dashboard-owned-status--dark::before {
  background: #737780;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.dashboard-owned-status--rejected {
  border-color: rgba(248, 113, 113, 0.34);
  color: #ffd0d4;
}

.dashboard-owned-card__address {
  display: -webkit-box;
  margin: -0.08rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.dashboard-owned-card__notice {
  display: inline-flex;
  width: auto;
  max-width: min(100%, 260px);
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  padding: 0.36rem 0.66rem;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-owned-card__notice--danger {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(127, 29, 29, 0.24);
  color: #ffd0d4;
}

@media (min-width: 1180px) {
  .dashboard-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-favorite-card__chips {
    gap: 0.42rem;
  }

  .dashboard-favorite-card .dashboard-chip {
    padding-inline: 0.62rem;
  }
}

@media (min-width: 1180px) and (max-width: 1360px) {
  .dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card {
    grid-template-columns: clamp(142px, 31%, 172px) minmax(0, 1fr) 42px;
    gap: 0.66rem;
  }

  .dashboard-favorite-card .dashboard-open-card-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .dashboard-owned-card .dashboard-action-menu__toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .dashboard-favorites-grid {
    gap: 0.82rem;
  }

  .dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card {
    grid-template-columns: 104px minmax(0, 1fr) 34px;
    min-height: 150px;
    gap: 0.58rem;
    padding: 0.76rem !important;
    border-radius: 1.12rem !important;
  }

  .dashboard-favorite-card__media {
    align-self: start;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0.92rem;
  }

  .dashboard-favorite-card__content {
    gap: 0.58rem;
  }

  .dashboard-favorite-card__category {
    font-size: 0.57rem;
    letter-spacing: 0.16em;
  }

  .dashboard-favorite-card__title {
    font-size: clamp(0.98rem, 4.45vw, 1.16rem);
  }

  .dashboard-favorite-card .dashboard-open-card-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .dashboard-owned-card .dashboard-action-menu__toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .dashboard-favorite-card .dashboard-favorite-remove {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    flex-basis: 22px;
  }

  .dashboard-favorite-card .dashboard-favorite-remove__icon {
    width: 14px;
    height: 14px;
  }

  .dashboard-favorite-card .dashboard-chip {
    padding: 0.28rem 0.54rem;
    font-size: 0.68rem;
  }

  .dashboard-hours-badge {
    left: 0.45rem;
    top: 0.45rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.32rem 0.5rem;
    gap: 0.32rem;
    font-size: 0.62rem;
  }

  .dashboard-owned-status {
    left: 0.45rem;
    top: 0.45rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.32rem 0.5rem;
    gap: 0.32rem;
    font-size: 0.62rem;
  }

  .dashboard-owned-status::before {
    width: 0.42rem;
    height: 0.42rem;
    flex-basis: 0.42rem;
  }

  .dashboard-owned-card__address {
    font-size: 0.72rem;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .dashboard-owned-card__notice {
    padding: 0.34rem 0.5rem;
    font-size: 0.64rem;
  }

  .dashboard-page #dashboardView .dashboard-profile-card-grid--wide .dashboard-favorite-card.dashboard-card {
    grid-template-columns: minmax(0, 1fr) 34px;
    min-height: 0;
    gap: 0.72rem;
    padding: 0.9rem !important;
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card__media {
    grid-column: 1 / -1;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card__content {
    grid-column: 1 / 2;
    gap: 0.62rem;
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card__actions {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card__category {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card__title {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .dashboard-profile-card-grid--wide .dashboard-favorite-card .dashboard-open-card-button,
  .dashboard-profile-card-grid--wide .dashboard-owned-card .dashboard-action-menu__toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .dashboard-hours-badge__dot {
    width: 0.42rem;
    height: 0.42rem;
    flex-basis: 0.42rem;
  }
}

@media (max-width: 380px) {
  .dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card {
    grid-template-columns: 92px minmax(0, 1fr) 32px;
    gap: 0.5rem;
  }

  .dashboard-page #dashboardView .dashboard-profile-card-grid--wide .dashboard-favorite-card.dashboard-card {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .dashboard-favorite-card__chips {
    gap: 0.36rem;
  }

  .dashboard-favorite-card .dashboard-chip {
    padding-inline: 0.46rem;
    font-size: 0.64rem;
  }
}

.dashboard-listing__actions [data-delete-place] {
  order: 99;
  margin-left: auto;
}

.dashboard-avatar-tools {
  display: grid;
  gap: 1rem;
}

.dashboard-avatar-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 800;
}

.dashboard-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-avatar-uploader {
    display: grid;
    gap: 0.75rem;
}

.dashboard-file-picker {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 64px;
    padding: 0.95rem 1rem;
    border: 1px solid #434550;
    border-radius: 1rem;
    background: #2b2c34;
}

.dashboard-file-picker__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid #555864;
    background: #353640;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dashboard-file-picker__button:hover {
    border-color: rgba(215, 35, 43, 0.45);
    background: rgba(215, 35, 43, 0.12);
}

.dashboard-file-picker__name {
    min-width: 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-preferences-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid #434550;
  border-radius: 1.5rem;
  background: #2b2c34;
  padding: 1rem;
}

.dashboard-preferences-panel__head {
  display: grid;
  gap: 0.45rem;
}

.dashboard-preferences-panel__hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dashboard-preferences-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.dashboard-preferences-group {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  align-items: start;
}

.dashboard-preferences-group__title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 800;
}

.dashboard-preferences-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  align-content: flex-start;
}

.dashboard-preferences-list--districts {
  gap: 0.6rem;
  align-items: flex-start;
  align-content: flex-start;
}

.dashboard-preference-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid #4a4d58;
  background: #30313a;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.dashboard-preference-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-preference-chip.is-active {
  border-color: rgba(215, 35, 43, 0.46);
  background: rgba(215, 35, 43, 0.18);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .dashboard-preference-chip:hover {
    border-color: rgba(215, 35, 43, 0.46);
    background: rgba(215, 35, 43, 0.18);
    color: #fff;
  }
}

.dashboard-page #dashboardView .dashboard-profile-card.dashboard-card {
  background: #202127 !important;
  border-color: #343640 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dashboard-profile-card,
.dashboard-profile-card * {
  box-shadow: none;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

.dashboard-profile-card .dashboard-action,
.dashboard-profile-card .dashboard-avatar-preview,
.dashboard-profile-card .dashboard-input,
.dashboard-profile-card .dashboard-select {
  box-shadow: none !important;
}

.dashboard-profile-card .dashboard-input,
.dashboard-profile-card .dashboard-select,
.dashboard-profile-card .dashboard-textarea,
.dashboard-profile-card .dashboard-role-lock,
.dashboard-profile-card .dashboard-avatar-preview {
  background: #2b2c34 !important;
  border-color: #434550 !important;
  color: #ffffff !important;
}

.dashboard-profile-card .dashboard-input,
.dashboard-profile-card .dashboard-select,
.dashboard-profile-card .dashboard-textarea {
  height: 54px;
  min-height: 54px;
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.dashboard-profile-card .dashboard-input::placeholder,
.dashboard-profile-card .dashboard-textarea::placeholder {
  color: rgba(255, 255, 255, 0.48) !important;
}

.dashboard-profile-card .dashboard-label {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.dashboard-profile-card .dashboard-field {
  min-width: 0;
  align-self: start;
  align-content: start;
}

.dashboard-profile-card .dashboard-form-grid {
  align-items: start;
}

.dashboard-profile-card h3,
.dashboard-profile-card strong,
.dashboard-profile-card button,
.dashboard-profile-card input,
.dashboard-profile-card select,
.dashboard-profile-card textarea,
.dashboard-profile-card span,
.dashboard-profile-card p {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
}

.dashboard-profile-card h3 {
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.dashboard-profile-card .dashboard-action,
.dashboard-profile-card .dashboard-file-picker__button {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dashboard-profile-card .dashboard-file-picker__name,
.dashboard-profile-card .dashboard-avatar-uploader [data-avatar-upload-status],
.dashboard-profile-card .dashboard-role-lock span,
.dashboard-profile-card .dashboard-preferences-panel__hint {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

.dashboard-avatar-uploader [data-avatar-upload-status] {
  color: rgba(255, 255, 255, 0.72) !important;
}

.dashboard-file-input,
#profileAvatarFile {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dashboard-file-input::file-selector-button,
#profileAvatarFile::file-selector-button {
  margin-right: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-file-input::-webkit-file-upload-button,
#profileAvatarFile::-webkit-file-upload-button {
  margin-right: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

#listingImageFile,
#listingGalleryFiles {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 700;
}

#listingImageFile::file-selector-button,
#listingGalleryFiles::file-selector-button,
#listingImageFile::-webkit-file-upload-button,
#listingGalleryFiles::-webkit-file-upload-button {
  margin-right: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #343640, #25262d);
  color: #ffffff;
  padding: 0.68rem 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
}

#listingImageFile:hover::file-selector-button,
#listingGalleryFiles:hover::file-selector-button,
#listingImageFile:hover::-webkit-file-upload-button,
#listingGalleryFiles:hover::-webkit-file-upload-button {
  border-color: rgba(239, 68, 68, 0.5);
  background: #3a2227;
}

.dashboard-action--upload {
  border: 1px solid rgba(239, 68, 68, 0.58) !important;
  background: linear-gradient(135deg, #ef3b43, #c91f28) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(215, 35, 43, 0.24);
}

.dashboard-action--upload:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.dashboard-action--upload[disabled] {
  opacity: 0.64;
  cursor: not-allowed;
  filter: grayscale(0.18);
  transform: none;
}

.dashboard-upload-status {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 320px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.dashboard-upload-status--loading {
  color: #fff;
}

.dashboard-upload-status--success {
  color: #6ee7b7;
}

.dashboard-upload-status--error {
  color: #fca5a5;
}

.dashboard-upload-progress {
  width: min(100%, 300px);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dashboard-upload-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7a81, #ef3b43 48%, #c91f28);
  transition: width 0.18s ease;
}

.dashboard-upload-status small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 900;
}

.dashboard-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(215, 35, 43, 0.42);
  border-radius: 999px;
  background: rgba(215, 35, 43, 0.16);
  color: #ff666d;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.dashboard-modal__close:hover {
  background: rgba(215, 35, 43, 0.24);
  color: #fff;
}

.dashboard-action--modal-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dashboard-action--modal-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-action--modal-secondary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-listing {
  display: grid;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1rem;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.dashboard-listings {
  display: grid;
  gap: 1rem;
}

.dashboard-listing__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #e2e8f0;
}

.dashboard-listing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-listing h3,
.dashboard-listing p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dashboard-listing__title {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.dashboard-listing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dashboard-listing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
}

.dashboard-listing__actions .dashboard-icon-button {
  flex: 0 0 auto;
}

.dashboard-listing__actions .dashboard-action--muted {
  opacity: 0.92;
}

.dashboard-action-menu {
  position: relative;
  margin-left: auto;
  align-self: flex-start;
  flex: 0 0 auto;
}

.dashboard-action-menu[open] {
  z-index: 30;
}

.dashboard-action-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.dashboard-action-menu__toggle::-webkit-details-marker {
  display: none;
}

.dashboard-action-menu__list {
  position: absolute;
  top: calc(100% + 0.55rem);
  bottom: auto;
  right: 0;
  min-width: 220px;
  max-width: min(220px, calc(100vw - 56px));
  display: grid;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(28, 28, 31, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
  padding: 0.45rem;
  z-index: 40;
}

.dashboard-section-shell {
  overflow: visible;
}

.dashboard-page #dashboardView .dashboard-section-shell.dashboard-card {
  background:
    linear-gradient(145deg, rgba(35, 36, 44, 0.86), rgba(24, 25, 31, 0.78)) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.dashboard-section-shell .dashboard-listings,
.dashboard-section-shell > .grid {
  padding-bottom: 0;
}

.dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card {
  background: #25262d !important;
  border-color: #3d404a !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dashboard-page #dashboardView .dashboard-favorite-card.dashboard-card:hover {
  border-color: #4a4d58 !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28) !important;
}

.dashboard-favorite-remove {
  width: 26px;
  height: 26px;
  border: 0 !important;
  background: transparent !important;
  color: #f2c2c6 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dashboard-favorite-remove:hover {
  background: transparent !important;
  color: #ffffff !important;
}

.dashboard-favorite-remove__icon {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.dashboard-action-menu__item {
  width: 100%;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  color: #fff;
  padding: 0.8rem 0.9rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-action-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-action-menu__item--danger {
  color: #ffb4b8;
}

.dashboard-action-menu__item--danger:hover {
  background: rgba(220, 38, 38, 0.14);
  color: #fff;
}

.dashboard-form-grid {
  display: grid;
  gap: 1rem;
}

.dashboard-field {
  display: grid;
  gap: 0.45rem;
}

.dashboard-role-lock {
  display: grid;
  gap: 0.45rem;
  border: 1px solid #434550;
  border-radius: 1.1rem;
  background: #2b2c34;
  padding: 0.95rem 1rem;
}

.dashboard-role-lock strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.dashboard-role-lock__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
}

.dashboard-role-lock span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-premium-status-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid #434550;
  border-radius: 1.15rem;
  background: #2b2c34;
}

.dashboard-premium-status-panel__head {
  display: grid;
  gap: 0.35rem;
}

.dashboard-premium-status-panel__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.dashboard-premium-status-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dashboard-premium-status-option {
  position: relative;
  cursor: pointer;
}

.dashboard-premium-status-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dashboard-premium-status-option span {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-premium-status-option:hover span,
.dashboard-premium-status-option input:focus-visible + span {
  transform: translateY(-1px);
  border-color: rgba(255, 211, 106, 0.5);
  background: rgba(255, 211, 106, 0.1);
}

.dashboard-premium-status-option input:checked + span {
  border-color: rgba(239, 68, 68, 0.82);
  background: rgba(239, 68, 68, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 26px rgba(215, 35, 43, 0.18);
}

.dashboard-premium-status-popover {
  position: fixed;
  z-index: 1200;
  width: min(286px, calc(100vw - 24px));
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: #202127;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
}

.dashboard-premium-status-popover__title {
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-premium-status-popover__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}

.dashboard-premium-status-popover__option {
  appearance: none;
  min-width: 0;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-premium-status-popover__option:hover,
.dashboard-premium-status-popover__option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.dashboard-premium-status-popover__option.is-active {
  border-color: rgba(239, 68, 68, 0.72);
  background: rgba(239, 68, 68, 0.18);
}

.dashboard-field--span-2 {
  grid-column: 1 / -1;
}

.dashboard-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.dashboard-input,
.dashboard-select,
.dashboard-textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 1.1rem;
  background: #fff;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-input:focus,
.dashboard-select:focus,
.dashboard-textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.dashboard-textarea {
  min-height: 130px;
  resize: vertical;
}

.dashboard-choice-grid {
  display: grid;
  gap: 0.75rem;
}

.dashboard-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: #fff;
  padding: 0.9rem 1rem;
  transition: 0.2s ease;
}

.dashboard-choice:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.dashboard-choice input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: #2563eb;
}

.dashboard-choice__title {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
}

.dashboard-choice__meta {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.8rem;
  color: #64748b;
}

.dashboard-choice:has(input:checked) {
  border-color: #93c5fd;
  background: #eff6ff;
}

.dashboard-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overscroll-behavior: contain;
}

html.dashboard-modal-open,
body.dashboard-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.dashboard-modal.is-open {
  display: flex;
}

.dashboard-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.84);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.dashboard-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background: linear-gradient(160deg, rgba(29, 28, 36, 0.99), rgba(19, 19, 26, 0.99) 58%, rgba(11, 12, 18, 0.99));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 35, 43, 0.68) rgba(255, 255, 255, 0.06);
  overscroll-behavior: contain;
}

.dashboard-page .dashboard-modal__panel,
.dashboard-page #dashboardView .dashboard-modal__panel,
.dashboard-page .dashboard-modal__sheet,
.dashboard-page #dashboardView .dashboard-modal__sheet {
  background: linear-gradient(160deg, rgba(29, 28, 36, 0.99), rgba(19, 19, 26, 0.99) 58%, rgba(11, 12, 18, 0.99)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dashboard-modal__panel::-webkit-scrollbar {
  width: 12px;
}

.dashboard-modal__panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-modal__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 101, 109, 0.95), rgba(215, 35, 43, 0.82));
  background-clip: padding-box;
}

.dashboard-modal__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 126, 133, 1), rgba(215, 35, 43, 0.95));
  background-clip: padding-box;
}

.dashboard-modal__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(15, 15, 18, 0.24);
}

.dashboard-modal__title {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.08;
}

.dashboard-modal__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(15, 15, 18, 0.24);
}

.dashboard-modal__message {
  border-radius: 1.15rem;
  border: 1px solid rgba(215, 35, 43, 0.18);
  padding: 0.85rem 1rem;
}

.dashboard-stepper {
  display: grid;
  gap: 0.75rem;
}

.dashboard-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  padding: 0.8rem 0.95rem;
}

.dashboard-step.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.dashboard-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.dashboard-step.is-active .dashboard-step__index {
  background: #2563eb;
  color: #fff;
}

.dashboard-step-panel {
  display: none;
}

.dashboard-step-panel.is-active {
  display: block;
}

.dashboard-upload-preview {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(10px);
}

.dashboard-upload-preview__frame {
  width: 100%;
  min-height: 220px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03) !important;
}

.dashboard-upload-preview img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 1.25rem;
}

.dashboard-upload-preview__state {
  display: flex;
  width: 100%;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 1.25rem;
  text-align: center;
}

.dashboard-upload-preview__state--error {
  border-color: rgba(215, 35, 43, 0.4);
  background: rgba(215, 35, 43, 0.08);
}

.dashboard-upload-preview__icon {
  display: inline-flex;
  min-width: 4.25rem;
  min-height: 4.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-upload-preview__state--error .dashboard-upload-preview__icon {
  background: rgba(215, 35, 43, 0.22);
  color: #ffb4b8;
}

.dashboard-upload-preview__text {
  max-width: 16rem;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.dashboard-media-stack {
  display: grid;
  gap: 1rem;
}

.dashboard-gallery-editor {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.dashboard-gallery-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.84);
}

.dashboard-gallery-editor__head strong {
  color: #fff;
  font-size: 0.98rem;
}

.dashboard-gallery-preview {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.dashboard-gallery-preview__empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-gallery-preview__empty strong,
.dashboard-gallery-preview__empty span {
  display: block;
}

.dashboard-gallery-preview__empty strong {
  margin-bottom: 0.35rem;
  color: #fff;
}

.dashboard-gallery-preview__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: grab;
  transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
}

.dashboard-gallery-preview__item:active {
  cursor: grabbing;
}

.dashboard-gallery-preview__item.is-dragging {
  opacity: 0.54;
  transform: scale(0.98);
}

.dashboard-gallery-preview__item.is-drag-over {
  border-color: rgba(239, 68, 68, 0.72);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.dashboard-gallery-preview__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.dashboard-gallery-preview__order {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.dashboard-gallery-preview__item figcaption {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem 0.8rem 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  pointer-events: none;
}

.dashboard-gallery-preview__item figcaption span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
}

.dashboard-gallery-preview__remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.82);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-gallery-preview__remove:hover {
  background: rgba(215, 35, 43, 0.92);
}

.dashboard-textarea--compact {
  min-height: 120px;
}

.dashboard-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
}

.dashboard-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 1.5rem;
  background: #f8fafc;
  padding: 2rem 1.25rem;
  text-align: center;
  color: #64748b;
}

@media (min-width: 1024px) {
  .dashboard-auth-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  }

  .dashboard-shell {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .dashboard-listing {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }

  .dashboard-form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-preferences-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-preferences-list--districts {
    gap: 0.5rem;
  }

  .dashboard-preferences-list--districts .dashboard-preference-chip {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 36px;
    padding: 0 0.9rem !important;
    border-radius: 999px;
    font-size: 0.84rem;
    line-height: 1;
    white-space: nowrap;
    align-self: flex-start;
  }

  .dashboard-preferences-list--districts .dashboard-preference-chip span {
    line-height: 1;
  }

  .dashboard-choice-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-avatar-tools {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 1023px) {
  .dashboard-sidebar__core {
    position: sticky !important;
    top: 0.85rem;
    height: auto;
  }
}

@media (max-width: 767px) {
  .dashboard-page,
  .dashboard-page__content,
  #dashboardView {
    overflow-x: hidden;
  }

  .dashboard-page #dashboardView {
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
  }

  .dashboard-shell {
    gap: 1rem;
  }

  .dashboard-page .nav-links {
    width: 100%;
    align-items: center;
  }

  .dashboard-page #headerBellMenu {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .dashboard-google-auth__button,
  .dashboard-telegram-auth__button {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 0.55rem;
    min-height: 56px;
    padding: 0.82rem 0.95rem;
    font-size: 0.95rem;
  }

  .dashboard-google-auth__button > span:last-child,
  .dashboard-telegram-auth__button > span:last-child {
    line-height: 1.16;
  }

  .dashboard-sidebar {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .dashboard-sidebar__core {
    position: sticky !important;
    top: 0.75rem;
    z-index: 70;
    padding: 0.78rem !important;
    border-radius: 1.35rem !important;
  }

  .dashboard-sidebar__profile {
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    gap: 0.62rem;
    padding: 0.68rem !important;
    border-radius: 1.15rem !important;
  }

  .dashboard-sidebar__avatar {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px;
    border-radius: 0.95rem !important;
  }

  .dashboard-sidebar__name {
    font-size: 1.02rem !important;
  }

  .dashboard-sidebar__name .dashboard-user-name {
    gap: 0.28rem;
  }

  .dashboard-sidebar__name .dashboard-user-name__badge {
    font-size: 0.9rem;
  }

  .dashboard-profile-shortcut {
      width: 40px;
      min-width: 40px;
      height: 40px;
      flex-basis: 40px;
      font-size: 0.95rem;
    }

  .dashboard-sidebar__core .dashboard-nav-menu {
    margin-top: 0.72rem !important;
  }

  .dashboard-sidebar__core .dashboard-nav-menu__toggle {
    min-height: 54px;
    padding: 0.68rem 0.86rem;
    border-radius: 1.05rem;
  }

  .dashboard-sidebar__core > .mt-5.grid {
    margin-top: 0.72rem !important;
    gap: 0.55rem !important;
  }

  .dashboard-sidebar__core #logoutButton {
    min-height: 44px;
    padding: 0.55rem 0.85rem;
  }

    .dashboard-file-picker {
      align-items: flex-start;
      flex-direction: column;
    }

    .dashboard-file-picker__name {
      white-space: normal;
      word-break: break-word;
    }

  .dashboard-page__content {
    padding-bottom: 4rem;
  }

  .dashboard-card,
  .dashboard-listing,
  .dashboard-stat {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .dashboard-card {
    border-radius: 1.4rem;
  }

  .dashboard-modal__panel {
    border-radius: 1.4rem;
  }

  .dashboard-modal__close {
    margin-left: auto;
  }

  .dashboard-modal__title {
    font-size: clamp(1.7rem, 6.4vw, 2.35rem);
    line-height: 1.06;
  }

  .dashboard-stat__value {
    font-size: 1.6rem;
  }

  .dashboard-modal__footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .dashboard-welcome-notice__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-welcome-notice__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .dashboard-listing__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .dashboard-listing__actions .dashboard-action,
  .dashboard-listing__actions .dashboard-icon-button {
    min-width: 0;
  }

  .dashboard-listing__actions .dashboard-action--ok,
  .dashboard-listing__actions .dashboard-action--muted {
    flex: 1 1 calc(100% - 3.6rem);
    min-width: 0;
  }

  .dashboard-listing__actions .dashboard-action--muted {
    width: auto;
  }

  .dashboard-action-menu {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .dashboard-action-menu__list {
    top: calc(100% + 0.5rem);
    bottom: auto;
    right: 0;
    left: auto;
    min-width: min(180px, calc(100vw - 72px));
    max-width: min(200px, calc(100vw - 72px));
  }

  .dashboard-nav-menu__list,
  .dashboard-bell-menu__list {
    max-height: min(320px, calc(100vh - 180px));
  }

  .dashboard-bell-menu__list {
    right: auto;
    left: 0;
    width: min(300px, calc(100vw - 48px));
  }

  .dashboard-topbar-bell__list {
    right: 0;
    left: auto;
    transform: none;
    width: min(320px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: min(320px, calc(100vh - 180px));
  }

  .dashboard-listing__title {
    font-size: clamp(1.75rem, 6vw, 2.15rem);
    line-height: 1.08;
  }

  .dashboard-section-shell .dashboard-listings,
  .dashboard-section-shell > .grid {
    padding-bottom: 0;
  }

  .dashboard-modal__footer > div {
    width: 100%;
    justify-content: center;
  }

  .dashboard-gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================================
   Bottom Tab Bar (Fixed for iOS Chrome)
========================================= */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 860px) {
  /* Приховуємо стару мобільну навігацію */
  .brand { transform: scale(0.9); }
  .hero .topbar { display: none !important; }

  body::after {
    content: '';
    display: block;
    height: var(--mobile-bottom-bar-height, 80px);
  }

  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-top: 10px;
    background: rgba(13, 13, 16, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10000 !important;
  }

  .mobile-bottom-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 700;
    width: 100%;
    transition: color 0.2s ease;
  }

  .mobile-bottom-bar__item.is-active,
  .mobile-bottom-bar__item:hover {
    color: #f8f8f8;
  }

  .mobile-bottom-bar__item.is-active .mobile-bottom-bar__icon {
    color: #d7232b;
  }

  .mobile-bottom-bar__icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .mobile-bottom-bar__item.is-active .mobile-bottom-bar__icon {
    transform: translateY(-2px) scale(1.1);
  }
}
