/* AURELION_UI_V140_START */

/*
  One clean UI layer after rollback.
  Purpose:
  - keep public index/FAQ header/footer polish
  - keep logo icon consistent
  - keep Telegram button clean
  - only cosmetic cleanup for office/admin header
  - NO app logic, NO data loading logic
*/

/* Public pages: prevent white line under footer */
html {
  background: #071226;
}

body.preview-v120 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.preview-v120 main {
  flex: 1 0 auto;
}

body.preview-v120 .footer-v120 {
  flex-shrink: 0;
  margin-bottom: -1px;
  transform: translateY(1px);
}

/* Public pages: header aligned with office/admin */
body.preview-v120 .preview-header-v120 {
  height: 70px;
  min-height: 70px;
  padding: 0 34px;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99));
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 16px 44px rgba(7, 18, 38, 0.20);
}

body.preview-v120 .preview-brand-v120 {
  height: 70px;
  min-width: 245px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: -0.025em;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.preview-v120 .preview-brand-v120:hover,
body.preview-v120 .preview-brand-v120:focus,
html body.aurelion-app-shell-v124 .office-brand:hover,
html body.aurelion-app-shell-v124 .office-brand:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: none;
  text-decoration: none;
}

body.preview-v120 .preview-brand-icon-v120,
html body.aurelion-app-shell-v124 .office-logo {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.preview-v120 .preview-brand-icon-v120 {
  background-image: url("/assets/aurelion-icon.png?v=20260624-v140");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55));
}

body.preview-v120 .preview-brand-icon-v120::before,
body.preview-v120 .preview-brand-icon-v120::after {
  content: none;
  display: none;
}

html body.aurelion-app-shell-v124 .office-logo::before,
.footer-brand-v120 i::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("/assets/aurelion-icon.png?v=20260624-v140");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55));
}

/* Public pages: nav/auth */
body.preview-v120 .preview-nav-v120 {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: 70px;
}

body.preview-v120 .preview-nav-v120 a:not(.login-v120):not(.aurelion-public-admin-v140),
body.preview-v120 .preview-nav-v120 button.aurelion-public-bell-v140 {
  height: 36px;
  min-height: 36px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.8px;
  font-weight: 760;
  box-shadow: none;
  text-decoration: none;
}

body.preview-v120 .preview-nav-v120 a:hover {
  color: #ffffff;
}

body.preview-v120 .preview-nav-v120 a.aurelion-public-active-v140 {
  padding: 0 14px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(59, 130, 246, 0.38);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10);
}

body.preview-v120 .preview-nav-v120 .aurelion-public-admin-v140 {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.34);
  box-shadow: none;
  font-size: 12.8px;
  font-weight: 850;
  text-decoration: none;
}

body.preview-v120 .preview-nav-v120 button.aurelion-public-bell-v140 {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
  color: #facc15;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(148, 163, 184, 0.16);
  cursor: default;
}

body.preview-v120 .preview-nav-v120 .aurelion-public-session-v140 {
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

body.preview-v120 .preview-nav-v120 .aurelion-public-session-v140 i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72);
}

body.preview-v120 .preview-nav-v120 .aurelion-public-session-v140 b {
  color: #ffffff;
  font-weight: 850;
}

body.preview-v120 .preview-nav-v120 .aurelion-public-logout-v140 {
  height: 38px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff5b5b, #ef4444);
  border: 1px solid rgba(239, 68, 68, 0.46);
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.18);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

body.preview-v120 .preview-nav-v120 .login-v120 {
  height: 38px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f7bff, #2563eb);
  border: 1px solid rgba(59, 130, 246, 0.58);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.30);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

/* Office/admin: cosmetic only, do not touch app root/data logic */
html body.aurelion-office-shell-v124.aurelion-polish-v126 .office-nav a[href="/office.html"],
html body.aurelion-office-shell-v124.aurelion-polish-v126 .office-nav a[href="/office.html"].aurelion-nav-active-v125,
html body.aurelion-office-shell-v124.aurelion-polish-v126 .office-nav a[href="/office.html"].active {
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.86);
}

html body.aurelion-app-shell-v124 .office-brand,
html body.aurelion-app-shell-v124 .office-brand * {
  cursor: pointer;
}

html body.aurelion-app-shell-v124 header.office-topbar .office-session,
html body.aurelion-app-shell-v124 header.office-topbar .office-session:hover,
html body.aurelion-app-shell-v124 header.office-topbar .office-session:focus {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 70px;
  padding: 0;
  padding-right: 0;
  margin: 0;
  margin-right: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  overflow: visible;
}

html body.aurelion-app-shell-v124 header.office-topbar .office-session::before,
html body.aurelion-app-shell-v124 header.office-topbar .office-session::after {
  display: none;
  content: none;
}

/* Telegram button: one consistent view */
html body .telegram-v120,
html body .telegram-support-v118,
html body .aurelion-telegram-support-wrap-v116,
html body .aurelion-telegram-wrap-v126,
html body .aurelion-telegram-wrap-v127 {
  right: 24px;
  bottom: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

html body .telegram-v120 a,
html body .telegram-support-v118 a,
html body .aurelion-telegram-button-v126,
html body .aurelion-telegram-button-v127,
html body a.aurelion-telegram-button-v127,
html body button.aurelion-telegram-button-v127,
html body .office-telegram-support-fallback {
  min-height: 42px;
  height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #27a9e5, #168ac2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 34px rgba(34, 158, 217, 0.30);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.footer-shield-v120 {
  color: rgba(226, 232, 240, 0.88);
  font-size: 16px;
  font-weight: 900;
}

/* AURELION_UI_V140_END */

/* AURELION_APP_STATIC_PUBLIC_HEADER_V144_START */

/*
  Static public-style header for office/admin.
  Goal: same visual header as index/FAQ, without runtime header overlay.
*/

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 {
  height: 70px !important;
  min-height: 70px !important;
  padding: 0 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  box-shadow: 0 16px 44px rgba(7, 18, 38, 0.20) !important;
  position: relative !important;
  z-index: 50 !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-v120 {
  height: 70px !important;
  min-width: 245px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  letter-spacing: -0.025em !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-v120:hover,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-v120:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-icon-v120 {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-block !important;
  background-image: url("/assets/aurelion-icon.png?v=20260624-v144") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-icon-v120::before,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-icon-v120::after {
  content: none !important;
  display: none !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 70px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 > a:not(.login-v120):not(.aurelion-public-admin-v140),
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 > button.aurelion-public-bell-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 12.8px !important;
  font-weight: 760 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 > a:hover,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 > button:hover {
  color: #ffffff !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 > a.aurelion-public-active-v140 {
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: rgba(37, 99, 235, 0.24) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10) !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 .aurelion-public-admin-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #d1fae5 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.34) !important;
  box-shadow: none !important;
  font-size: 12.8px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 .aurelion-public-admin-v140.aurelion-public-active-v140 {
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.26) !important;
  border-color: rgba(16, 185, 129, 0.52) !important;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.12) !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 button.aurelion-public-bell-v140 {
  width: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  color: #facc15 !important;
  background: rgba(255, 255, 255, 0.065) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  cursor: default !important;
  position: relative !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeNotificationDot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.70) !important;
  display: none !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeNotificationBell.has-unread #officeNotificationDot {
  display: block !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession {
  min-width: 350px !important;
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession .office-session-box,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession > a {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession .office-session-box::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72) !important;
  display: inline-block !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession .office-session-checking::before {
  background: #facc15 !important;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.62) !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession .office-session-box b {
  color: #ffffff !important;
  font-weight: 850 !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession button,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeLogoutBtn {
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff5b5b, #ef4444) !important;
  border: 1px solid rgba(239, 68, 68, 0.46) !important;
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.18) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeLoginTopBtn {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2f7bff, #2563eb) !important;
  border: 1px solid rgba(59, 130, 246, 0.58) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.30) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .hidden,
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 [data-auth-visible="no"],
html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 [data-admin-visible="no"] {
  display: none !important;
}

@media (max-width: 980px) {
  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 {
    height: auto !important;
    min-height: 70px !important;
    padding: 16px 18px !important;
    flex-wrap: wrap !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-brand-v120 {
    min-width: 0 !important;
    height: 40px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 .preview-nav-v120 {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-app-header-v144 #officeSession {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* AURELION_APP_STATIC_PUBLIC_HEADER_V144_END */

/* AURELION_UNIFIED_TOPBAR_V145_START */

html body header.preview-header-v120.aurelion-unified-topbar-v145 {
  height: 70px !important;
  min-height: 70px !important;
  padding: 0 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  box-shadow: 0 16px 44px rgba(7, 18, 38, 0.20) !important;
  position: relative !important;
  z-index: 80 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
  height: 70px !important;
  min-width: 245px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  letter-spacing: -0.025em !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120:hover,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120 {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-block !important;
  background-image: url("/assets/aurelion-icon.png?v=20260624-v145") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120::before,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120::after {
  content: none !important;
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 70px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a:not(.login-v120):not(.aurelion-public-admin-v140),
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button.aurelion-public-bell-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 12.8px !important;
  font-weight: 760 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a:hover,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button:hover {
  color: #ffffff !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a.aurelion-public-active-v140 {
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: rgba(37, 99, 235, 0.24) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10) !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 .aurelion-public-admin-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #d1fae5 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.34) !important;
  box-shadow: none !important;
  font-size: 12.8px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 .aurelion-public-admin-v140.aurelion-public-active-v140 {
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.26) !important;
  border-color: rgba(16, 185, 129, 0.52) !important;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.12) !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 button.aurelion-public-bell-v140 {
  width: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  color: #facc15 !important;
  background: rgba(255, 255, 255, 0.065) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  cursor: default !important;
  position: relative !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationDot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.70) !important;
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell.has-unread #officeNotificationDot {
  display: block !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
  min-width: 350px !important;
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box,
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession > a {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72) !important;
  display: inline-block !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-checking::before {
  background: #facc15 !important;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.62) !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box b {
  color: #ffffff !important;
  font-weight: 850 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession button,
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeLogoutBtn {
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff5b5b, #ef4444) !important;
  border: 1px solid rgba(239, 68, 68, 0.46) !important;
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.18) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeLoginTopBtn {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2f7bff, #2563eb) !important;
  border: 1px solid rgba(59, 130, 246, 0.58) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.30) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .hidden,
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-admin-visible="no"] {
  display: none !important;
}

@media (max-width: 980px) {
  html body header.preview-header-v120.aurelion-unified-topbar-v145 {
    height: auto !important;
    min-height: 70px !important;
    padding: 16px 18px !important;
    flex-wrap: wrap !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
    min-width: 0 !important;
    height: 40px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* AURELION_UNIFIED_TOPBAR_V145_END */

/* AURELION_UNIFIED_HEADER_V147_START */

/* Hard isolation: same header typography/style on index, FAQ, office, admin */
html body header.preview-header-v120.aurelion-unified-topbar-v145,
html body header.preview-header-v120.aurelion-unified-topbar-v145 *,
html body header.preview-header-v120.aurelion-unified-topbar-v145 a,
html body header.preview-header-v120.aurelion-unified-topbar-v145 button,
html body header.preview-header-v120.aurelion-unified-topbar-v145 span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  box-sizing: border-box !important;
}

/* Force exactly one topbar look even when admin inline CSS has global header/header a/button rules */
html body header.preview-header-v120.aurelion-unified-topbar-v145 {
  height: 70px !important;
  min-height: 70px !important;
  padding: 0 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  box-shadow: 0 16px 44px rgba(7, 18, 38, 0.20) !important;
  position: relative !important;
  z-index: 100 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
  height: 70px !important;
  min-width: 245px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  letter-spacing: -0.025em !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120 {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-block !important;
  background-image: url("/assets/aurelion-icon.png?v=20260624-v147") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.55)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120::before,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-icon-v120::after {
  content: none !important;
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 70px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a:not(.login-v120):not(.aurelion-public-admin-v140),
html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button.aurelion-public-bell-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 12.8px !important;
  font-weight: 760 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a.aurelion-public-active-v140:not(.aurelion-public-admin-v140) {
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: rgba(37, 99, 235, 0.24) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10) !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .aurelion-public-admin-v140,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .aurelion-public-admin-v140.aurelion-public-active-v140 {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  color: #d1fae5 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.34) !important;
  box-shadow: none !important;
  font-size: 12.8px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* Protected nav visibility */
html body header.preview-header-v120.aurelion-unified-topbar-v145 .hidden,
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-admin-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="no"] {
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="yes"] {
  display: inline-flex !important;
}

/* Bell */
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell {
  width: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  color: #facc15 !important;
  background: rgba(255, 255, 255, 0.065) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  cursor: default !important;
  position: relative !important;
}

/* Session block */
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
  min-width: 350px !important;
  height: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box,
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession > a {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box img {
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72) !important;
  display: inline-block !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-checking::before {
  background: #facc15 !important;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.62) !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box b {
  color: #ffffff !important;
  font-weight: 850 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession button,
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeLogoutBtn {
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff5b5b, #ef4444) !important;
  border: 1px solid rgba(239, 68, 68, 0.46) !important;
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.18) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeLoginTopBtn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2f7bff, #2563eb) !important;
  border: 1px solid rgba(59, 130, 246, 0.58) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.30) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  html body header.preview-header-v120.aurelion-unified-topbar-v145 {
    height: auto !important;
    min-height: 70px !important;
    padding: 16px 18px !important;
    flex-wrap: wrap !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
    min-width: 0 !important;
    height: 40px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* AURELION_UNIFIED_HEADER_V147_END */

/* AURELION_HEADER_TG_FOOTER_BLINK_V149_START */

/* Hide footer checkmark completely */
html body .footer-shield-v120 {
  display: none !important;
}

/* Telegram official-style icon inside support button */
html body .aurelion-telegram-logo-v149 {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  display: inline-block !important;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%232AA9E0'/%3E%3Cpath d='M4.35 9.28c2.77-1.2 4.62-2 5.56-2.39 2.64-1.1 3.19-1.29 3.55-1.3.08 0 .25.02.37.11.1.08.12.18.14.31.01.13.03.42.02.64-.15 1.61-.8 5.52-1.13 7.33-.14.77-.42 1.03-.68 1.05-.58.05-1.02-.38-1.58-.75-.88-.58-1.37-.94-2.22-1.5-.99-.65-.35-1 .21-1.59.15-.15 2.7-2.48 2.75-2.69.01-.03.01-.13-.05-.18-.06-.05-.15-.03-.22-.02-.09.02-1.58 1.01-4.47 2.97-.42.29-.81.43-1.16.42-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.72.02-.2.31-.42.86-.65Z' fill='white'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Make telegram button content stable after JS normalization */
html body .telegram-v120 a,
html body .telegram-support-v118 a,
html body .aurelion-telegram-button-v126,
html body .aurelion-telegram-button-v127,
html body a.aurelion-telegram-button-v127,
html body button.aurelion-telegram-button-v127,
html body .office-telegram-support-fallback {
  gap: 8px !important;
}

/* Strongest final header isolation */
html body header.preview-header-v120.aurelion-unified-topbar-v145,
html body header.preview-header-v120.aurelion-unified-topbar-v145 *,
html body header.preview-header-v120.aurelion-unified-topbar-v145 a,
html body header.preview-header-v120.aurelion-unified-topbar-v145 button,
html body header.preview-header-v120.aurelion-unified-topbar-v145 span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 .hidden,
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-admin-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="no"] {
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="yes"] {
  display: inline-flex !important;
}

/* Keep admin pill same green style on all pages, including admin page */
html body header.preview-header-v120.aurelion-unified-topbar-v145 .aurelion-public-admin-v140,
html body header.preview-header-v120.aurelion-unified-topbar-v145 .aurelion-public-admin-v140.aurelion-public-active-v140 {
  color: #d1fae5 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.34) !important;
  box-shadow: none !important;
  font-weight: 850 !important;
}

/* No avatar in header even if another script tries to insert it */
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box img {
  display: none !important;
}

/* AURELION_HEADER_TG_FOOTER_BLINK_V149_END */

/* AURELION_FEATURES_TG_V151_START */

/* Footer checkmark must not be visible */
html body .footer-shield-v120 {
  display: none !important;
}

/* Remove old Telegram visual layers if old CSS created them */
html body .aurelion-telegram-button-v126,
html body .aurelion-telegram-button-v127,
html body button.aurelion-telegram-button-v127,
html body a.aurelion-telegram-button-v127,
html body .office-telegram-support-fallback {
  display: none !important;
}

/* Single clean floating Telegram button */
html body #aurelionTelegramFloatingV151.aurelion-telegram-floating-v151 {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9999 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2aa9e0, #168ac2) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 18px 44px rgba(14, 165, 233, 0.36) !important;
  text-decoration: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html body #aurelionTelegramFloatingV151.aurelion-telegram-floating-v151:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.04) !important;
}

/* Official-style Telegram icon */
html body .aurelion-telegram-logo-v151 {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  display: inline-block !important;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%232AA9E0'/%3E%3Cpath d='M4.35 9.28c2.77-1.2 4.62-2 5.56-2.39 2.64-1.1 3.19-1.29 3.55-1.3.08 0 .25.02.37.11.1.08.12.18.14.31.01.13.03.42.02.64-.15 1.61-.8 5.52-1.13 7.33-.14.77-.42 1.03-.68 1.05-.58.05-1.02-.38-1.58-.75-.88-.58-1.37-.94-2.22-1.5-.99-.65-.35-1 .21-1.59.15-.15 2.7-2.48 2.75-2.69.01-.03.01-.13-.05-.18-.06-.05-.15-.03-.22-.02-.09.02-1.58 1.01-4.47 2.97-.42.29-.81.43-1.16.42-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.72.02-.2.31-.42.86-.65Z' fill='white'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

html body .aurelion-telegram-text-v151 {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 850 !important;
}

/* FAQ/content Telegram buttons: normal readable white text */
html body a.aurelion-telegram-normalized-v151,
html body button.aurelion-telegram-normalized-v151,
html body .telegram-v120 a.aurelion-telegram-normalized-v151,
html body .telegram-support-v118 a.aurelion-telegram-normalized-v151,
html body .faq-support-card-v120 a.aurelion-telegram-normalized-v151,
html body .faq-support-card-v120 button.aurelion-telegram-normalized-v151 {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2aa9e0, #168ac2) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  font-weight: 850 !important;
}

html body a.aurelion-telegram-normalized-v151 *,
html body button.aurelion-telegram-normalized-v151 *,
html body .faq-support-card-v120 a.aurelion-telegram-normalized-v151 *,
html body .faq-support-card-v120 button.aurelion-telegram-normalized-v151 * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Header remains isolated from admin/office CSS */
html body header.preview-header-v120.aurelion-unified-topbar-v145,
html body header.preview-header-v120.aurelion-unified-topbar-v145 *,
html body header.preview-header-v120.aurelion-unified-topbar-v145 a,
html body header.preview-header-v120.aurelion-unified-topbar-v145 button,
html body header.preview-header-v120.aurelion-unified-topbar-v145 span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Protected nav visibility */
html body header.preview-header-v120.aurelion-unified-topbar-v145 .hidden,
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 [data-admin-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="no"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="no"] {
  display: none !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeCabinetNavLink[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeNotificationBell[data-auth-visible="yes"],
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeAdminLink[data-admin-visible="yes"] {
  display: inline-flex !important;
}

/* AURELION_FEATURES_TG_V151_END */

/* AURELION_PUBLIC_TEXTS_FOOTER_V152_START */

/* Less bold public section headings */
html body .aurelion-soft-heading-v152 {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

/* Full FAQ link: whole text bold */
html body .aurelion-full-faq-bold-v152,
html body .aurelion-full-faq-bold-v152 * {
  font-weight: 900 !important;
}

/* Footer links must be clickable and visible */
html body footer a[href="/terms.html"],
html body footer a[href="/privacy.html"],
html body footer a[href="/refund.html"],
html body footer a[href="/contact.html"] {
  pointer-events: auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Keep footer checkmark hidden */
html body .footer-shield-v120 {
  display: none !important;
}

/* Telegram readable button text in FAQ/contact */
html body a.aurelion-telegram-normalized-v152,
html body button.aurelion-telegram-normalized-v152,
html body .faq-support-card-v120 a,
html body .telegram-v120 a,
html body .telegram-support-v118 a {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

html body a.aurelion-telegram-normalized-v152 *,
html body button.aurelion-telegram-normalized-v152 *,
html body .faq-support-card-v120 a *,
html body .telegram-v120 a *,
html body .telegram-support-v118 a * {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 850 !important;
}

/* Telegram icon */
html body .aurelion-telegram-logo-v152 {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  display: inline-block !important;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%232AA9E0'/%3E%3Cpath d='M4.35 9.28c2.77-1.2 4.62-2 5.56-2.39 2.64-1.1 3.19-1.29 3.55-1.3.08 0 .25.02.37.11.1.08.12.18.14.31.01.13.03.42.02.64-.15 1.61-.8 5.52-1.13 7.33-.14.77-.42 1.03-.68 1.05-.58.05-1.02-.38-1.58-.75-.88-.58-1.37-.94-2.22-1.5-.99-.65-.35-1 .21-1.59.15-.15 2.7-2.48 2.75-2.69.01-.03.01-.13-.05-.18-.06-.05-.15-.03-.22-.02-.09.02-1.58 1.01-4.47 2.97-.42.29-.81.43-1.16.42-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.72.02-.2.31-.42.86-.65Z' fill='white'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Single clean floating Telegram button from V152 */
html body #aurelionTelegramFloatingV152 {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9999 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2aa9e0, #168ac2) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  box-shadow: 0 18px 44px rgba(14,165,233,.36) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Hide previous custom floating Telegram buttons if they exist */
html body #aurelionTelegramFloatingV151 {
  display: none !important;
}

/* Legal pages */
html body.aurelion-legal-page-v152 {
  min-height: 100vh !important;
}

html body .aurelion-legal-main-v152 {
  width: min(1060px, calc(100% - 36px)) !important;
  margin: 0 auto !important;
  padding: 80px 0 100px !important;
}

html body .aurelion-legal-card-v152 {
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.08) !important;
  padding: 34px !important;
}

html body .aurelion-legal-kicker-v152 {
  display: inline-flex !important;
  margin-bottom: 14px !important;
  padding: 8px 13px !important;
  border-radius: 12px !important;
  background: rgba(37,99,235,.10) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  color: #2563eb !important;
  font-weight: 850 !important;
}

html body .aurelion-legal-card-v152 h1 {
  margin: 0 0 16px !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: .95 !important;
  letter-spacing: -0.06em !important;
}

html body .aurelion-legal-card-v152 p {
  color: #52627a !important;
  font-weight: 650 !important;
  line-height: 1.75 !important;
  font-size: 16px !important;
}

/* AURELION_PUBLIC_TEXTS_FOOTER_V152_END */

/* AURELION_GUEST_LOGIN_NEAR_FAQ_V153_START */

/*
  Guest header:
  Keep "Войти" directly after FAQ.
  Do not reserve the big logged-in session width for guest state.
*/

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession[data-aurelion-auth-state="guest"] {
  min-width: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  margin-left: 0 !important;
}

html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession[data-aurelion-auth-state="guest"] #officeLoginTopBtn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* While auth is checking and guest-only links are hidden, do not create a huge empty gap */
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession[data-aurelion-auth-state="checking"] {
  min-width: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Logged-in users still keep stable right-side session pill width */
html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession[data-aurelion-auth-state="user"] {
  min-width: 350px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
}

/* AURELION_GUEST_LOGIN_NEAR_FAQ_V153_END */

/* AURELION_LEGAL_PAGES_V154_START */

html body.aurelion-legal-page-v154 {
  min-height: 100vh !important;
}

html body .aurelion-legal-main-v154 {
  width: min(1080px, calc(100% - 36px)) !important;
  margin: 0 auto !important;
  padding: 76px 0 104px !important;
}

html body .aurelion-legal-card-v154 {
  background: rgba(255,255,255,.84) !important;
  border: 1px solid rgba(148,163,184,.20) !important;
  border-radius: 30px !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.08) !important;
  padding: 38px !important;
}

html body .aurelion-legal-kicker-v154 {
  display: inline-flex !important;
  margin-bottom: 16px !important;
  padding: 8px 13px !important;
  border-radius: 12px !important;
  background: rgba(37,99,235,.10) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  color: #2563eb !important;
  font-weight: 850 !important;
}

html body .aurelion-legal-card-v154 h1 {
  margin: 0 0 10px !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: .95 !important;
  letter-spacing: -0.06em !important;
  color: #0f172a !important;
}

html body .aurelion-legal-updated-v154 {
  margin: 0 0 28px !important;
  color: #64748b !important;
  font-weight: 750 !important;
}

html body .aurelion-legal-card-v154 h2 {
  margin: 30px 0 10px !important;
  color: #0f172a !important;
  font-size: 22px !important;
  letter-spacing: -0.03em !important;
}

html body .aurelion-legal-card-v154 p,
html body .aurelion-legal-card-v154 li {
  color: #52627a !important;
  font-weight: 650 !important;
  line-height: 1.75 !important;
  font-size: 16px !important;
}

html body .aurelion-legal-card-v154 ul {
  margin: 12px 0 0 !important;
  padding-left: 22px !important;
}

html body .aurelion-legal-card-v154 a {
  color: #2563eb !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

html body .aurelion-legal-card-v154 a:hover {
  text-decoration: underline !important;
}

/* AURELION_LEGAL_PAGES_V154_END */

/* AURELION_LEGAL_FOOTER_TG_V156_START */

/* Legal pages footer: force same dark SaaS footer look as main page */
html body.aurelion-legal-page-v154 footer.preview-footer-v120,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 18px 34px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.15) !important;
  color: rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 -16px 44px rgba(7, 18, 38, 0.12) !important;
  box-sizing: border-box !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div {
  display: block !important;
  color: rgba(226, 232, 240, 0.88) !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 b,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 b {
  display: block !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  margin-bottom: 4px !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 p,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 p {
  margin: 0 !important;
  max-width: 360px !important;
  color: rgba(203, 213, 225, 0.78) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  white-space: nowrap !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav a,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav a {
  color: rgba(226, 232, 240, 0.88) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav a:hover,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav a:hover {
  color: #ffffff !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
  display: block !important;
  text-align: right !important;
  color: rgba(203, 213, 225, 0.72) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* Legal page Telegram button inside text/card */
html body .aurelion-legal-card-v154 a.aurelion-telegram-normalized-v152,
html body .aurelion-legal-card-v154 a[href*="t.me/AurelionSupportBot"],
html body .aurelion-legal-card-v152 a.aurelion-telegram-normalized-v152,
html body .aurelion-legal-card-v152 a[href*="t.me/AurelionSupportBot"] {
  width: fit-content !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2aa9e0, #168ac2) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.28) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

html body .aurelion-legal-card-v154 a.aurelion-telegram-normalized-v152 *,
html body .aurelion-legal-card-v154 a[href*="t.me/AurelionSupportBot"] *,
html body .aurelion-legal-card-v152 a.aurelion-telegram-normalized-v152 *,
html body .aurelion-legal-card-v152 a[href*="t.me/AurelionSupportBot"] * {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

/* Legal page Telegram icon size fix */
html body .aurelion-legal-card-v154 .aurelion-telegram-logo-v152,
html body .aurelion-legal-card-v154 .aurelion-telegram-logo-v151,
html body .aurelion-legal-card-v152 .aurelion-telegram-logo-v152,
html body .aurelion-legal-card-v152 .aurelion-telegram-logo-v151 {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Mobile */
@media (max-width: 820px) {
  html body.aurelion-legal-page-v154 footer.preview-footer-v120,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    padding: 22px 18px !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
    text-align: left !important;
  }
}

/* AURELION_LEGAL_FOOTER_TG_V156_END */

/* AURELION_LEGAL_FOOTER_MAIN_LAYOUT_V157_START */

/*
  Legal pages footer must match main page footer layout:
  centered content width, left brand block, center links, right copyright.
*/

html body.aurelion-legal-page-v154,
html body.aurelion-legal-page-v152 {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

html body.aurelion-legal-page-v154 .aurelion-legal-main-v154,
html body.aurelion-legal-page-v152 .aurelion-legal-main-v152 {
  flex: 1 0 auto !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
  width: 100% !important;
  margin: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  padding-left: max(24px, calc((100vw - 980px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 980px) / 2)) !important;

  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 24px !important;

  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.15) !important;
  color: rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 -16px 44px rgba(7, 18, 38, 0.12) !important;
  box-sizing: border-box !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div {
  justify-self: start !important;
  text-align: left !important;
  max-width: 260px !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
  white-space: nowrap !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
  justify-self: end !important;
  text-align: right !important;
  max-width: 300px !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 b,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 b {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 p,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 p {
  margin: 4px 0 0 !important;
  color: rgba(203, 213, 225, 0.78) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav a,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav a {
  color: rgba(226, 232, 240, 0.88) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav a:hover,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav a:hover {
  color: #ffffff !important;
}

@media (max-width: 900px) {
  html body.aurelion-legal-page-v154 footer.preview-footer-v120,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
    padding-left: 18px !important;
    padding-right: 18px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
    justify-self: start !important;
    text-align: left !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
}

/* AURELION_LEGAL_FOOTER_MAIN_LAYOUT_V157_END */

/* AURELION_LEGAL_FOOTER_EXACT_MAIN_V158_START */

/*
  Legal pages footer must visually match main page footer:
  same wide inner layout, same left/center/right positioning.
*/

html body.aurelion-legal-page-v154 footer.preview-footer-v120,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;

  padding-top: 16px !important;
  padding-bottom: 16px !important;

  /*
    Main page content starts much wider than legal card.
    On 1920px screens this gives about 330px side offset,
    matching the main footer screenshot.
  */
  padding-left: max(28px, calc((100vw - 1256px) / 2)) !important;
  padding-right: max(28px, calc((100vw - 1256px) / 2)) !important;

  display: grid !important;
  grid-template-columns: minmax(300px, 1fr) auto minmax(360px, 1fr) !important;
  align-items: center !important;
  gap: 32px !important;

  background: linear-gradient(180deg, rgba(7, 18, 38, 0.995), rgba(8, 17, 34, 0.99)) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.15) !important;
  box-shadow: 0 -16px 44px rgba(7, 18, 38, 0.12) !important;
  box-sizing: border-box !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div {
  justify-self: start !important;
  width: 300px !important;
  max-width: 300px !important;
  text-align: left !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 b,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 b {
  display: block !important;
  margin: 0 0 4px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 p,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 p {
  margin: 0 !important;
  max-width: 260px !important;
  color: rgba(203, 213, 225, 0.78) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  white-space: nowrap !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav a,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav a {
  color: rgba(226, 232, 240, 0.88) !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
  justify-self: end !important;
  width: 360px !important;
  max-width: 360px !important;
  text-align: right !important;
  color: rgba(203, 213, 225, 0.72) !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* Prevent ugly copyright wrapping on desktop */
@media (min-width: 901px) {
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 small br,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 small br {
    display: block !important;
  }
}

/* Mobile fallback */
@media (max-width: 900px) {
  html body.aurelion-legal-page-v154 footer.preview-footer-v120,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
    padding-left: 18px !important;
    padding-right: 18px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
}

/* AURELION_LEGAL_FOOTER_EXACT_MAIN_V158_END */

/* AURELION_RESPONSIVE_PUBLIC_LEGAL_V161_START */

/* Global safety */
html,
body {
  max-width: 100% !important;
}

body {
  overflow-x: hidden !important;
}

img,
svg,
video,
canvas {
  max-width: 100% !important;
}

/* ---------- LARGE LAPTOPS / SMALL DESKTOPS ---------- */

@media (max-width: 1400px) {
  html body .preview-shell-v120,
  html body .faq-shell-v122,
  html body .aurelion-legal-main-v154,
  html body .aurelion-legal-main-v152 {
    width: min(1120px, calc(100% - 44px)) !important;
  }

  html body .hero-v120 {
    grid-template-columns: minmax(460px, 0.95fr) minmax(560px, 1.05fr) !important;
    gap: 54px !important;
  }

  html body .preview-window-v120 {
    max-width: 620px !important;
  }
}

/* ---------- TABLETS / SMALL LAPTOPS ---------- */

@media (max-width: 1180px) {
  html body .hero-v120 {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding-top: 58px !important;
  }

  html body .hero-copy-v120 {
    max-width: 760px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html body .hero-actions-v120 {
    justify-content: center !important;
  }

  html body .hero-stats-v120 {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body .preview-window-v120 {
    width: min(760px, 100%) !important;
    margin: 0 auto !important;
  }

  html body .features-grid-v120 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body .faq-grid-v120,
  html body .faq-grid-clean-v122 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ---------- TABLETS / BIG PHONES ---------- */

@media (max-width: 900px) {
  html body header.preview-header-v120.aurelion-unified-topbar-v145 {
    height: auto !important;
    min-height: 64px !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
    min-width: 0 !important;
    height: 36px !important;
    flex: 0 0 auto !important;
    font-size: 14px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a,
  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
    min-width: 0 !important;
    width: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    justify-content: flex-start !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box,
  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession > a {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }

  html body .preview-shell-v120,
  html body .faq-shell-v122,
  html body .aurelion-legal-main-v154,
  html body .aurelion-legal-main-v152 {
    width: min(100%, calc(100% - 28px)) !important;
  }

  html body .hero-v120 {
    padding-top: 42px !important;
  }

  html body .hero-copy-v120 h1 {
    font-size: clamp(50px, 12vw, 76px) !important;
    line-height: 0.92 !important;
  }

  html body .hero-copy-v120 p {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  html body .hero-actions-v120 {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body .hero-actions-v120 a,
  html body .hero-actions-v120 button {
    width: 100% !important;
    justify-content: center !important;
  }

  html body .hero-stats-v120 {
    grid-template-columns: 1fr !important;
  }

  html body .preview-window-v120 {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px !important;
  }

  html body .preview-app-grid-v120 {
    grid-template-columns: 1fr !important;
  }

  html body .features-grid-v120 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .faq-head-v120 {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  html body .faq-grid-v120,
  html body .faq-grid-clean-v122 {
    grid-template-columns: 1fr !important;
  }

  html body .faq-bottom-note-v122 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body .footer-inner-v120,
  html body footer.preview-footer-v120,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    gap: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html body .footer-left-v120,
  html body .footer-links-v120,
  html body .footer-copy-v120,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 small,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 > div,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 small {
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  html body .footer-links-v120,
  html body.aurelion-legal-page-v154 footer.preview-footer-v120 nav,
  html body.aurelion-legal-page-v152 footer.preview-footer-v120 nav {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  html body .aurelion-legal-card-v154,
  html body .aurelion-legal-card-v152 {
    padding: 26px !important;
    border-radius: 24px !important;
  }

  html body .aurelion-legal-card-v154 h1,
  html body .aurelion-legal-card-v152 h1 {
    font-size: clamp(36px, 11vw, 54px) !important;
  }

  html body #aurelionTelegramFloatingV152,
  html body #aurelionTelegramFloatingV151,
  html body .telegram-v120 a {
    right: 16px !important;
    bottom: 16px !important;
    max-width: calc(100vw - 32px) !important;
  }
}

/* ---------- PHONES ---------- */

@media (max-width: 640px) {
  html body header.preview-header-v120.aurelion-unified-topbar-v145 {
    padding: 12px 14px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
    width: 100% !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
    gap: 7px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a:not(.aurelion-public-admin-v140),
  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  html body header.preview-header-v120.aurelion-unified-topbar-v145 #officeLoginTopBtn {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body .preview-shell-v120,
  html body .faq-shell-v122,
  html body .aurelion-legal-main-v154,
  html body .aurelion-legal-main-v152 {
    width: min(100%, calc(100% - 22px)) !important;
  }

  html body .hero-v120 {
    padding-top: 34px !important;
  }

  html body .hero-copy-v120 h1 {
    font-size: clamp(42px, 15vw, 62px) !important;
    letter-spacing: -0.075em !important;
  }

  html body .hero-copy-v120 p {
    font-size: 14px !important;
  }

  html body .badge-v120 {
    max-width: 100% !important;
  }

  html body .preview-window-v120 {
    display: none !important;
  }

  html body .features-title-v120 h2,
  html body .faq-head-v120 h2,
  html body .faq-hero-v122 h1 {
    font-size: clamp(26px, 8vw, 38px) !important;
    line-height: 1.05 !important;
  }

  html body .features-grid-v120 {
    grid-template-columns: 1fr !important;
  }

  html body .feature-card-v120 {
    min-height: auto !important;
  }

  html body .faq-head-v120 {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  html body .aurelion-full-faq-bold-v152 {
    justify-self: start !important;
  }

  html body .faq-item-v122,
  html body .faq-grid-v120 details {
    min-width: 0 !important;
  }

  html body .faq-item-v122 summary,
  html body .faq-grid-v120 summary {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  html body .aurelion-legal-main-v154,
  html body .aurelion-legal-main-v152 {
    padding-top: 34px !important;
    padding-bottom: 86px !important;
  }

  html body .aurelion-legal-card-v154,
  html body .aurelion-legal-card-v152 {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  html body .aurelion-legal-card-v154 h2,
  html body .aurelion-legal-card-v152 h2 {
    font-size: 19px !important;
  }

  html body .aurelion-legal-card-v154 p,
  html body .aurelion-legal-card-v154 li,
  html body .aurelion-legal-card-v152 p,
  html body .aurelion-legal-card-v152 li {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  html body #aurelionTelegramFloatingV152,
  html body #aurelionTelegramFloatingV151 {
    height: 42px !important;
    min-height: 42px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 12px !important;
  }
}

/* ---------- VERY SMALL PHONES ---------- */

@media (max-width: 430px) {
  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a,
  html body header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button {
    font-size: 11.5px !important;
  }

  html body .hero-copy-v120 h1 {
    font-size: 42px !important;
  }

  html body .hero-copy-v120 p {
    font-size: 13.5px !important;
  }

  html body .btn-v120 {
    min-height: 44px !important;
    font-size: 13px !important;
  }

  html body .feature-card-v120 {
    padding: 18px !important;
  }

  html body .footer-inner-v120,
  html body footer.preview-footer-v120 {
    padding-bottom: 74px !important;
  }
}

/* AURELION_RESPONSIVE_PUBLIC_LEGAL_V161_END */

/* AURELION_RESPONSIVE_OFFICE_ADMIN_V162_START */

/*
  Responsive layer for /office.html and /admin.html.
  Goal:
  - keep desktop unchanged;
  - make tablets/phones usable;
  - wide tables/cards scroll inside their blocks, not by breaking the whole page.
*/

html body.aurelion-app-shell-v124,
html body.aurelion-app-shell-v124 * {
  box-sizing: border-box !important;
}

html body.aurelion-app-shell-v124 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Shared app header safety */
@media (max-width: 980px) {
  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 {
    height: auto !important;
    min-height: 64px !important;
    padding: 14px 18px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-brand-v120 {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a,
  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 #officeSession .office-session-box {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    height: auto !important;
    min-height: 36px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* =========================
   OFFICE RESPONSIVE
   ========================= */

html body.aurelion-office-shell-v124 .office-page {
  max-width: 100% !important;
}

@media (max-width: 1320px) {
  html body.aurelion-office-shell-v124 .office-page {
    width: min(100%, calc(100vw - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.aurelion-office-shell-v124 .office-hero,
  html body.aurelion-office-shell-v124 .office-root,
  html body.aurelion-office-shell-v124 .office-card,
  html body.aurelion-office-shell-v124 .office-panel {
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  html body.aurelion-office-shell-v124 .office-page {
    width: min(100%, calc(100vw - 24px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body.aurelion-office-shell-v124 .office-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 24px 0 14px !important;
  }

  html body.aurelion-office-shell-v124 .office-hero h1 {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.02 !important;
  }

  html body.aurelion-office-shell-v124 .office-hero p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  html body.aurelion-office-shell-v124 .office-root {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body.aurelion-office-shell-v124 .office-root [class*="grid"],
  html body.aurelion-office-shell-v124 .office-root [class*="cards"],
  html body.aurelion-office-shell-v124 .office-root [class*="stats"] {
    grid-template-columns: 1fr !important;
  }

  html body.aurelion-office-shell-v124 .office-root input,
  html body.aurelion-office-shell-v124 .office-root textarea,
  html body.aurelion-office-shell-v124 .office-root select {
    max-width: 100% !important;
  }

  html body.aurelion-office-shell-v124 .office-root button,
  html body.aurelion-office-shell-v124 .office-root .btn,
  html body.aurelion-office-shell-v124 .office-root a[class*="btn"] {
    max-width: 100% !important;
  }

  html body.aurelion-office-shell-v124 .office-root table {
    min-width: 760px !important;
  }

  html body.aurelion-office-shell-v124 .office-root .table-wrap,
  html body.aurelion-office-shell-v124 .office-root .history-table,
  html body.aurelion-office-shell-v124 .office-root .history-list,
  html body.aurelion-office-shell-v124 .office-root .office-history,
  html body.aurelion-office-shell-v124 .office-root [class*="table"],
  html body.aurelion-office-shell-v124 .office-root [class*="history"] {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 640px) {
  html body.aurelion-office-shell-v124 .office-page {
    width: min(100%, calc(100vw - 18px)) !important;
  }

  html body.aurelion-office-shell-v124 .office-hero {
    padding-top: 18px !important;
  }

  html body.aurelion-office-shell-v124 .office-hero h1 {
    font-size: 32px !important;
  }

  html body.aurelion-office-shell-v124 .office-root {
    font-size: 13px !important;
  }

  html body.aurelion-office-shell-v124 .office-root input,
  html body.aurelion-office-shell-v124 .office-root textarea,
  html body.aurelion-office-shell-v124 .office-root select,
  html body.aurelion-office-shell-v124 .office-root button {
    width: 100% !important;
  }

  html body.aurelion-office-shell-v124 .office-toast {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* =========================
   ADMIN RESPONSIVE
   ========================= */

html body.aurelion-admin-shell-v124 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

html body.aurelion-admin-shell-v124 main,
html body.aurelion-admin-shell-v124 .admin-main,
html body.aurelion-admin-shell-v124 .admin-page,
html body.aurelion-admin-shell-v124 .admin-shell {
  max-width: 100% !important;
}

@media (max-width: 1320px) {
  html body.aurelion-admin-shell-v124 main,
  html body.aurelion-admin-shell-v124 .admin-main,
  html body.aurelion-admin-shell-v124 .admin-page,
  html body.aurelion-admin-shell-v124 .admin-shell {
    width: min(100%, calc(100vw - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.aurelion-admin-shell-v124 .grid,
  html body.aurelion-admin-shell-v124 .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.aurelion-admin-shell-v124 .provider-subgrid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  html body.aurelion-admin-shell-v124 main,
  html body.aurelion-admin-shell-v124 .admin-main,
  html body.aurelion-admin-shell-v124 .admin-page,
  html body.aurelion-admin-shell-v124 .admin-shell {
    width: min(100%, calc(100vw - 24px)) !important;
  }

  html body.aurelion-admin-shell-v124 .admin-global-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  html body.aurelion-admin-shell-v124 .admin-global-toolbar button,
  html body.aurelion-admin-shell-v124 .admin-global-toolbar a {
    width: 100% !important;
    justify-content: center !important;
  }

  html body.aurelion-admin-shell-v124 .grid,
  html body.aurelion-admin-shell-v124 .provider-grid,
  html body.aurelion-admin-shell-v124 .provider-subgrid {
    grid-template-columns: 1fr !important;
  }

  html body.aurelion-admin-shell-v124 .panel,
  html body.aurelion-admin-shell-v124 section,
  html body.aurelion-admin-shell-v124 .provider-card,
  html body.aurelion-admin-shell-v124 .support-panel-collapsed {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body.aurelion-admin-shell-v124 table {
    min-width: 760px !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-list,
  html body.aurelion-admin-shell-v124 .support-admin-chat {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-search {
    width: 100% !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-search input {
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  html body.aurelion-admin-shell-v124 main,
  html body.aurelion-admin-shell-v124 .admin-main,
  html body.aurelion-admin-shell-v124 .admin-page,
  html body.aurelion-admin-shell-v124 .admin-shell {
    width: min(100%, calc(100vw - 18px)) !important;
  }

  html body.aurelion-admin-shell-v124 .panel,
  html body.aurelion-admin-shell-v124 section {
    padding-left: 14px !important;
    padding-right: 14px !important;
    border-radius: 18px !important;
  }

  html body.aurelion-admin-shell-v124 .grid {
    gap: 10px !important;
  }

  html body.aurelion-admin-shell-v124 input,
  html body.aurelion-admin-shell-v124 textarea,
  html body.aurelion-admin-shell-v124 select,
  html body.aurelion-admin-shell-v124 button {
    max-width: 100% !important;
  }

  html body.aurelion-admin-shell-v124 button {
    white-space: normal !important;
  }

  html body.aurelion-admin-shell-v124 [class*="users"],
  html body.aurelion-admin-shell-v124 [class*="user"],
  html body.aurelion-admin-shell-v124 [id*="users"],
  html body.aurelion-admin-shell-v124 [id*="Users"] {
    max-width: 100% !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  html body.aurelion-admin-shell-v124 .support-admin-tabs button {
    flex: 1 1 auto !important;
  }
}

/* Very small phones */
@media (max-width: 430px) {
  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > a,
  html body.aurelion-app-shell-v124 header.preview-header-v120.aurelion-unified-topbar-v145 .preview-nav-v120 > button {
    font-size: 11.5px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  html body.aurelion-office-shell-v124 .office-page,
  html body.aurelion-admin-shell-v124 main {
    width: min(100%, calc(100vw - 14px)) !important;
  }
}

/* AURELION_RESPONSIVE_OFFICE_ADMIN_V162_END */
