:root {
  --reh-bg: #08090b;
  --reh-bg-2: #0c0e11;
  --reh-panel: #111317;
  --reh-panel-2: #15181d;
  --reh-panel-3: #1a1e24;
  --reh-line: rgba(255,255,255,.075);
  --reh-line-strong: rgba(255,255,255,.12);
  --reh-text: #f3f1ec;
  --reh-muted: #8f959e;
  --reh-dim: #5d636d;
  --reh-red: #cf2836;
  --reh-red-2: #a81925;
  --reh-red-soft: rgba(207,40,54,.11);
  --reh-red-glow: rgba(207,40,54,.24);
  --reh-green: #57ba7a;
  --reh-amber: #d0a45d;
  --reh-sidebar: 272px;
  --reh-topbar: 76px;
  --reh-radius: 16px;
  --reh-radius-sm: 11px;
  --reh-shadow: 0 24px 60px rgba(0,0,0,.26);
  --reh-font: 'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --reh-display: 'Barlow Condensed','Arial Narrow',sans-serif;
  --reh-mono: 'JetBrains Mono',monospace;
}

html { background: var(--reh-bg); }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 540px at 93% -8%, rgba(207,40,54,.08), transparent 62%),
    radial-gradient(700px 460px at 12% 108%, rgba(207,40,54,.045), transparent 68%),
    var(--reh-bg) !important;
  color: var(--reh-text) !important;
  font-family: var(--reh-font) !important;
  cursor: auto !important;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
::selection { background: rgba(207,40,54,.36); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #343941 transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #343941; border: 2px solid transparent; background-clip: padding-box; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #474d57; border: 2px solid transparent; background-clip: padding-box; }

a { color: inherit; }
a:hover { color: inherit; }

/* Shell */
.main-container, #container, #content, .main-content, .middle-content, .layout-px-spacing { background: transparent !important; }
.main-container { min-height: 100vh; }
#content.main-content {
  margin-left: var(--reh-sidebar) !important;
  padding-top: var(--reh-topbar) !important;
  min-height: 100vh;
  transition: margin-left .22s ease;
}
.reh-content-frame { padding: 36px 42px 0 !important; }
.middle-content.container-xxl { max-width: 1680px !important; }
.main-container.sidebar-closed #content, body.sidebar-closed #content { margin-left: 92px !important; }

/* Header */
.header-container.reh-topbar-wrap {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: var(--reh-sidebar) !important;
  width: auto !important;
  height: var(--reh-topbar) !important;
  padding: 0 32px !important;
  background: rgba(8,9,11,.88) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--reh-line) !important;
  box-shadow: none !important;
  z-index: 1030 !important;
  transition: left .22s ease;
}
.main-container.sidebar-closed ~ .header-container,
body:has(.main-container.sidebar-closed) .header-container.reh-topbar-wrap, body.reh-sidebar-collapsed .header-container.reh-topbar-wrap, body.sidebar-closed .header-container.reh-topbar-wrap { left: 92px !important; }
.reh-topbar {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
}
.reh-topbar-left { display: flex; align-items: center; gap: 16px; }
.reh-icon-button {
  width: 40px; height: 40px;
  border: 1px solid var(--reh-line) !important;
  border-radius: 11px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.025) !important;
  color: #c7cbd1 !important;
  padding: 0 !important;
  transition: .18s ease;
}
.reh-icon-button:hover { border-color: rgba(207,40,54,.35) !important; color: #fff !important; background: var(--reh-red-soft) !important; }
.reh-topbar-mobile-brand { display:none; width:34px; height:34px; border:1px solid var(--reh-line); border-radius:9px; background:#111318; place-items:center; overflow:hidden; }
.reh-topbar-mobile-brand img { width:28px; height:28px; object-fit:contain; }
.reh-topbar-context { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.reh-context-kicker { font: 600 9px/1 var(--reh-mono); letter-spacing: .18em; color: var(--reh-dim); }
.reh-context-title { font: 700 17px/1.2 var(--reh-display); letter-spacing: .055em; color: #f1f0ed; }
.reh-topbar-actions { display: flex !important; align-items: center; gap: 10px; margin: 0 0 0 auto !important; padding: 0 !important; }
.reh-language-item { display: flex; align-items: center; }
.reh-language-select {
  width: 68px !important; height: 40px !important;
  border: 1px solid var(--reh-line) !important;
  border-radius: 11px !important;
  background: var(--reh-panel) !important;
  color: #d8d9dc !important;
  font: 600 11px var(--reh-mono) !important;
  box-shadow: none !important;
  padding: 0 28px 0 12px !important;
}
.reh-user-trigger {
  min-width: 190px;
  max-width: min(300px, 36vw); text-align: start;
  display: flex !important; align-items: center; gap: 10px;
  padding: 6px 10px 6px 7px !important;
  border: 1px solid var(--reh-line) !important;
  border-radius: 13px;
  background: rgba(255,255,255,.025) !important;
  color: var(--reh-text) !important;
  transition: .18s ease;
}
.reh-user-trigger:hover { border-color: var(--reh-line-strong) !important; background: rgba(255,255,255,.045) !important; }
.reh-user-avatar { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 9px; overflow: hidden; background: #20242a; border: 1px solid rgba(255,255,255,.08); }
.reh-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reh-user-meta { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 1px; }
.reh-user-meta strong { color: #f0efeb; font: 600 12px/1.3 var(--reh-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reh-user-meta small { color: var(--reh-dim); font: 500 9px/1.3 var(--reh-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reh-user-chevron { color: #626974; flex: 0 0 auto; }
.reh-user-menu {
  width: 270px !important; margin-top: 10px !important; padding: 10px !important;
  background: #101216 !important; border: 1px solid var(--reh-line-strong) !important; border-radius: 14px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.46) !important;
}
.reh-user-menu-head { display: flex; align-items: center; gap: 11px; padding: 9px 9px 13px; border-bottom: 1px solid var(--reh-line); }
.reh-user-avatar-lg { width: 40px; height: 40px; flex-basis: 40px; }
.reh-user-menu-head > div { min-width: 0; display: flex; flex-direction: column; }
.reh-user-menu-head strong { font-size: 13px; color: #f0efeb; }
.reh-user-menu-head strong { overflow-wrap: anywhere; }
.reh-user-menu { max-width: calc(100vw - 24px); }
.reh-user-menu-actions button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 9px; background: transparent; color: #aeb3ba; font: inherit; font-size: 14px; text-align: start; }
.reh-user-menu-actions a, .reh-user-menu-actions button { min-height: 44px; }
.reh-user-menu-actions button:hover { background: rgba(207,40,54,.09); color: #fff; }
.reh-user-menu-actions button:disabled { opacity: .6; cursor: wait; }
.reh-user-menu-actions svg { flex: 0 0 18px; color: #e66772; }
.reh-account-status { margin: 6px 10px; font-size: 14px; line-height: 1.5; color: #bec3cb; }
.reh-sidebar-profile h6 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reh-user-menu-head small { font: 500 9px var(--reh-mono); color: var(--reh-dim); overflow: hidden; text-overflow: ellipsis; }
.reh-user-menu-actions { padding: 7px 0 0; }
.reh-user-menu-actions a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; color: #aeb3ba !important; font-size: 12px; text-decoration: none; }
.reh-user-menu-actions a:hover { background: rgba(207,40,54,.09); color: #fff !important; }
.reh-user-menu-actions i { width: 18px; text-align: center; color: var(--reh-red); }

/* Sidebar */
.sidebar-wrapper.reh-sidebar-wrap {
  position: fixed !important;
  left: 0 !important; top: 0 !important; bottom: 0 !important;
  width: var(--reh-sidebar) !important;
  height: 100vh !important;
  background: #0b0c0f !important;
  border-right: 1px solid var(--reh-line) !important;
  box-shadow: none !important;
  z-index: 1040 !important;
  overflow: hidden;
  transition: width .22s ease, transform .22s ease !important;
}
.reh-sidebar { height: 100%; background: transparent !important; display: flex; flex-direction: column; }
.reh-sidebar-brand { height: var(--reh-topbar); padding: 0 18px 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--reh-line); flex: 0 0 auto; }
.reh-brand-link { min-width: 0; display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.reh-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 39px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: #111318; overflow: hidden; }
.reh-brand-mark img { width: 32px; height: 32px; object-fit: contain; display: block; }
.reh-brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.reh-brand-copy strong { color: #f4f1eb; font: 700 15px/1.1 var(--reh-display); letter-spacing: .085em; white-space: nowrap; }
.reh-brand-copy small { margin-top: 4px; color: var(--reh-red); font: 600 8px/1 var(--reh-mono); letter-spacing: .18em; }
.reh-sidebar-collapse { width: 31px; height: 31px; display: grid; place-items: center; border: 0; background: transparent; color: #565d67; padding: 0; border-radius: 9px; transition: .18s ease; }
.reh-sidebar-collapse:hover { color: #fff; background: rgba(255,255,255,.045); }
.reh-sidebar-profile { padding: 16px 16px 10px !important; margin: 0 !important; flex: 0 0 auto; }
.reh-sidebar-profile .user-info { position: relative; display: grid !important; grid-template-columns: 39px 1fr 8px; align-items: center; gap: 11px; padding: 11px !important; border: 1px solid var(--reh-line); border-radius: 12px; background: rgba(255,255,255,.022); }
.reh-sidebar-profile .profile-img { width: 39px !important; height: 39px !important; margin: 0 !important; border-radius: 10px !important; overflow: hidden; }
.reh-sidebar-profile .profile-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 10px !important; }
.reh-sidebar-profile .profile-content { min-width: 0; padding: 0 !important; }
.reh-sidebar-profile h6 { margin: 0 !important; color: #eceae5 !important; font: 600 12px/1.35 var(--reh-font) !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reh-sidebar-profile p { margin: 3px 0 0 !important; color: var(--reh-dim) !important; font: 500 8px/1.3 var(--reh-mono) !important; letter-spacing: .04em; text-transform: uppercase; }
.reh-profile-online { width: 7px; height: 7px; background: var(--reh-green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(87,186,122,.08); }
.reh-nav-label { padding: 12px 23px 7px; color: #444a53; font: 600 8px/1 var(--reh-mono); letter-spacing: .2em; flex: 0 0 auto; }
.reh-sidebar .shadow-bottom { display: none !important; }
.reh-sidebar ul.menu-categories { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 4px 10px 24px !important; margin: 0 !important; }
.reh-sidebar ul.menu-categories li.menu { margin: 2px 0 !important; }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle {
  min-height: 43px !important; margin: 0 !important; padding: 0 11px !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  border: 1px solid transparent !important; border-radius: 10px !important;
  color: #777e88 !important; background: transparent !important; text-decoration: none !important;
  transition: .16s ease !important;
}
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:first-child { display: flex !important; align-items: center; min-width: 0; }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.feather-chevron-right),
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle i { width: 18px !important; height: 18px !important; flex: 0 0 18px; margin-right: 11px !important; color: #656c75 !important; stroke: currentColor !important; font-size: 14px; text-align: center; }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle span { color: inherit !important; font: 500 12px/1 var(--reh-font) !important; white-space: nowrap; }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle .feather-chevron-right { width: 14px !important; height: 14px !important; color: #454a52 !important; transition: transform .18s ease; }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] .feather-chevron-right { transform: rotate(90deg); }
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle:hover { color: #e1e2e3 !important; background: rgba(255,255,255,.035) !important; }
.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle,
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] { color: #f2f0ec !important; border-color: rgba(207,40,54,.16) !important; background: linear-gradient(90deg, rgba(207,40,54,.12), rgba(207,40,54,.035)) !important; }
.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle::before { content: ''; width: 3px; height: 20px; border-radius: 3px; background: var(--reh-red); position: absolute; left: -1px; box-shadow: 0 0 14px rgba(207,40,54,.28); }
.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle svg,
.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle i,
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] svg:not(.feather-chevron-right),
.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] i { color: var(--reh-red) !important; }
.reh-sidebar .submenu { margin: 4px 0 8px !important; padding: 3px 0 3px 38px !important; border-left: 1px solid rgba(255,255,255,.055); }
.reh-sidebar .submenu li { margin: 1px 0 !important; }
.reh-sidebar .submenu li a { min-height: 34px !important; display: flex !important; align-items: center !important; padding: 6px 10px !important; border-radius: 8px !important; color: #676e78 !important; font: 500 11px var(--reh-font) !important; text-decoration: none !important; background: transparent !important; }
.reh-sidebar .submenu li a > div { display: flex; align-items: center; min-width: 0; }
.reh-sidebar .submenu li a i { width: 15px; margin-right: 7px !important; font-size: 10px; color: #555c66; }
.reh-sidebar .submenu li a:hover { color: #d7d9dc !important; background: rgba(255,255,255,.025) !important; }
.reh-sidebar .submenu li.active a { color: #fff !important; background: rgba(207,40,54,.085) !important; }
.reh-sidebar .submenu li.active a i { color: var(--reh-red) !important; }
.reh-sidebar .badge.sidebar-label { margin-left: auto; background: var(--reh-red) !important; color: #fff !important; border-radius: 10px !important; padding: 3px 6px !important; font-size: 8px !important; }
.reh-sidebar .badge-icon { display: none; }

/* The legacy stylesheet uses ID selectors. Keep the custom sidebar authoritative. */
#container.reh-shell #content.main-content { width: calc(100% - var(--reh-sidebar)) !important; min-width: 0; float: none !important; }
.reh-ui #sidebar.reh-sidebar { width: 100% !important; min-width: 0; padding: 0 !important; margin: 0 !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories { width: 100% !important; height: auto !important; min-height: 0; overscroll-behavior-y: contain; overflow-y: auto !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu { width: auto !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle { position: relative; min-height: 46px !important; margin: 0 !important; padding: 0 12px !important; background: transparent !important; color: #b2b8c1 !important; border-radius: 10px !important; letter-spacing: normal !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:first-child { display: flex !important; align-items: center; min-width: 0; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle span { color: inherit !important; font: 500 14px/1.35 var(--reh-font) !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.feather-chevron-right),
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle i { width: 20px !important; height: 20px !important; flex: 0 0 20px; color: #a0a8b3 !important; fill: none !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle:hover { color: #fff !important; background: #1a1e24 !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle,
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] { color: #fff !important; background: rgba(207,40,54,.14) !important; border-color: rgba(207,40,54,.35) !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu.active > .dropdown-toggle svg,
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] svg { color: #f07b86 !important; }
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu::before,
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu::after,
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle::before,
.reh-ui #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle::after,
.reh-ui #sidebar.reh-sidebar .submenu li::before,
.reh-ui #sidebar.reh-sidebar .submenu li a::before { content: none !important; display: none !important; }
.reh-ui #sidebar.reh-sidebar .submenu li a { min-height: 44px !important; color: #aeb6c2 !important; font-size: 14px !important; letter-spacing: normal !important; }
.reh-ui #sidebar.reh-sidebar .submenu li.active a { color: #fff !important; background: rgba(207,40,54,.14) !important; }
.reh-sidebar-collapse { min-width: 44px; min-height: 44px; }
@media (min-width: 992px) {
  #container.reh-shell.sidebar-closed #content.main-content { width: calc(100% - 92px) !important; }
  .reh-shell.sidebar-closed #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle { justify-content: center !important; padding: 0 !important; }
  .reh-shell.sidebar-closed #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:first-child { display: flex !important; justify-content: center; }
  .reh-shell.sidebar-closed #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle svg,
  .reh-shell.sidebar-closed #sidebar.reh-sidebar ul.menu-categories li.menu > .dropdown-toggle i { margin: 0 !important; }
}
@media (max-width: 991.98px) {
  #container.reh-shell #content.main-content { width: 100% !important; margin-left: 0 !important; }
  body.reh-nav-open { overflow: hidden; }
  .sidebar-wrapper.reh-sidebar-wrap { height: 100dvh !important; }
}

.main-container.sidebar-closed .sidebar-wrapper.reh-sidebar-wrap, body.sidebar-closed .sidebar-wrapper.reh-sidebar-wrap { width: 92px !important; }
.main-container.sidebar-closed .reh-brand-copy, body.sidebar-closed .reh-brand-copy,
.main-container.sidebar-closed .reh-sidebar-collapse,
.main-container.sidebar-closed .reh-sidebar-profile .profile-content,
.main-container.sidebar-closed .reh-sidebar-profile .reh-profile-online,
.main-container.sidebar-closed .reh-nav-label,
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle span,
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:last-child:not(:first-child) { display: none !important; }
.main-container.sidebar-closed .reh-sidebar-brand { justify-content: center; padding: 0; }
.main-container.sidebar-closed .reh-brand-mark { width: 40px; height: 40px; }
.main-container.sidebar-closed .reh-sidebar-profile { padding: 13px 17px 8px !important; }
.main-container.sidebar-closed .reh-sidebar-profile .user-info { display: flex !important; justify-content: center; padding: 9px !important; }
.main-container.sidebar-closed .reh-sidebar ul.menu-categories { padding-left: 18px !important; padding-right: 18px !important; }
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle { padding: 0 !important; justify-content: center !important; }
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:first-child { justify-content: center; }
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.feather-chevron-right),
.main-container.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle i { margin-right: 0 !important; }
.main-container.sidebar-closed .reh-sidebar .submenu { display: none !important; }


body.sidebar-closed .reh-sidebar-collapse,
body.sidebar-closed .reh-sidebar-profile .profile-content,
body.sidebar-closed .reh-sidebar-profile .reh-profile-online,
body.sidebar-closed .reh-nav-label,
body.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle span,
body.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle > div:last-child:not(:first-child) { display:none !important; }
body.sidebar-closed .reh-sidebar-brand { justify-content:center; padding:0; }
body.sidebar-closed .reh-sidebar ul.menu-categories { padding-left:18px !important; padding-right:18px !important; }
body.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle { padding:0 !important; justify-content:center !important; }
body.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.feather-chevron-right), body.sidebar-closed .reh-sidebar ul.menu-categories li.menu > .dropdown-toggle i { margin-right:0 !important; }
body.sidebar-closed .reh-sidebar .submenu { display:none !important; }

/* Pages */
.reh-page { position: relative; z-index: 1; }
.reh-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.reh-page-heading-compact { align-items: center; }
.reh-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: #676d76; font: 600 9px/1 var(--reh-mono); letter-spacing: .17em; }
.reh-eyebrow > span { width: 22px; height: 2px; border-radius: 2px; background: var(--reh-red); }
.reh-page-heading h1 { margin: 0; color: #f4f2ed !important; font: 700 clamp(32px,4vw,48px)/.95 var(--reh-display) !important; letter-spacing: .015em; text-transform: uppercase; }
.reh-page-heading p { max-width: 660px; margin: 10px 0 0; color: var(--reh-muted); font-size: 13px; line-height: 1.65; }
.reh-page-actions { display: flex; gap: 10px; }

/* Buttons */
.btn.reh-btn { min-height: 42px; border-radius: 10px !important; padding: 0 16px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent !important; box-shadow: none !important; font: 600 11px var(--reh-font) !important; letter-spacing: .02em; transition: .16s ease !important; }
.btn.reh-btn i { font-size: 11px; }
.btn.reh-btn-primary { background: var(--reh-red) !important; color: #fff !important; border-color: var(--reh-red) !important; }
.btn.reh-btn-primary:hover { background: #db3140 !important; border-color: #db3140 !important; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(207,40,54,.18) !important; }
.btn.reh-btn-ghost { background: rgba(255,255,255,.025) !important; color: #c1c5cb !important; border-color: var(--reh-line) !important; }
.btn.reh-btn-ghost:hover { color: #fff !important; border-color: var(--reh-line-strong) !important; background: rgba(255,255,255,.045) !important; }
.reh-btn-block { width: 100%; }
.btn-primary, .btn-success { background: var(--reh-red) !important; border-color: var(--reh-red) !important; color: #fff !important; }
.btn-primary:hover, .btn-success:hover { background: #db3140 !important; border-color: #db3140 !important; }
.btn-danger { background: rgba(207,40,54,.11) !important; border-color: rgba(207,40,54,.26) !important; color: #ff8a94 !important; }
.btn-secondary { background: #1a1d22 !important; border-color: var(--reh-line) !important; color: #c5c8cd !important; }

/* Panels/cards */
.card, .widget, .widget-content, .panel, .reh-data-panel, .reh-form-section, .reh-aside-card {
  background: linear-gradient(180deg, rgba(18,20,24,.98), rgba(14,16,19,.98)) !important;
  border: 1px solid var(--reh-line) !important;
  border-radius: var(--reh-radius) !important;
  box-shadow: none !important;
  color: var(--reh-text) !important;
}
.card-header { background: transparent !important; border-bottom: 1px solid var(--reh-line) !important; color: #fff !important; }
.card-body { color: var(--reh-text) !important; }
.reh-data-panel { overflow: hidden; box-shadow: var(--reh-shadow) !important; }
.reh-panel-head { min-height: 71px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--reh-line); }
.reh-panel-title { display: flex; align-items: center; gap: 11px; }
.reh-panel-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: var(--reh-red-soft); color: var(--reh-red); border: 1px solid rgba(207,40,54,.15); }
.reh-panel-title > div { display: flex; flex-direction: column; gap: 2px; }
.reh-panel-title strong { color: #ebeae6; font-size: 12px; font-weight: 600; }
.reh-panel-title small { color: var(--reh-dim); font: 500 8px var(--reh-mono); text-transform: uppercase; letter-spacing: .08em; }
.reh-live-state { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px; color: #737a84; font: 600 8px var(--reh-mono); letter-spacing: .1em; border: 1px solid var(--reh-line); }
.reh-live-state span { width: 6px; height: 6px; border-radius: 50%; background: var(--reh-green); box-shadow: 0 0 0 3px rgba(87,186,122,.08); }
.reh-table-shell { padding: 4px 18px 17px; }

/* DataTables */
.reh-table, table.dataTable, .table { --bs-table-bg: transparent !important; --bs-table-striped-bg: transparent !important; --bs-table-hover-bg: rgba(255,255,255,.022) !important; color: #c8ccd2 !important; margin-bottom: 0 !important; }
.reh-table thead th, table.dataTable thead th, .table thead th { padding: 13px 11px !important; border: 0 !important; border-bottom: 1px solid var(--reh-line-strong) !important; color: #686f79 !important; background: transparent !important; font: 600 8px var(--reh-mono) !important; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.reh-table tbody td, table.dataTable tbody td, .table tbody td { padding: 14px 11px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.045) !important; color: #bcc1c8 !important; background: transparent !important; font-size: 11px !important; vertical-align: middle !important; }
.reh-table tbody tr:hover td, table.dataTable tbody tr:hover td { background: rgba(255,255,255,.018) !important; color: #eceef0 !important; }
.dataTables_wrapper, .dt-container { color: var(--reh-muted) !important; }
.dataTables_wrapper .row:first-child, .dt-container .dt-layout-row:first-child { padding: 14px 0 11px; align-items: center; }
.dataTables_filter label, .dataTables_length label, .dt-search label, .dt-length label { color: #676e78 !important; font: 500 9px var(--reh-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.dataTables_filter input, .dt-search input, .dataTables_length select, .dt-length select {
  min-height: 38px !important; border: 1px solid var(--reh-line) !important; border-radius: 9px !important;
  background: #0c0e11 !important; color: #e0e2e5 !important; box-shadow: none !important;
}
.dataTables_filter input, .dt-search input { min-width: 240px; margin-left: 8px !important; padding: 0 11px !important; }
.dataTables_info, .dt-info { color: #565d67 !important; font: 500 9px var(--reh-mono) !important; padding-top: 15px !important; }
.dataTables_paginate, .dt-paging { padding-top: 10px !important; }
.dataTables_paginate .paginate_button, .dt-paging .dt-paging-button { min-width: 32px !important; height: 32px !important; padding: 0 9px !important; margin: 0 2px !important; border-radius: 8px !important; border: 1px solid var(--reh-line) !important; background: transparent !important; color: #787f89 !important; font-size: 10px !important; box-shadow: none !important; }
.dataTables_paginate .paginate_button.current, .dataTables_paginate .paginate_button.current:hover, .dt-paging .dt-paging-button.current { background: var(--reh-red) !important; color: #fff !important; border-color: var(--reh-red) !important; }
.dataTables_paginate .paginate_button:hover, .dt-paging .dt-paging-button:hover { background: rgba(255,255,255,.045) !important; color: #fff !important; border-color: var(--reh-line-strong) !important; }
.progress { height: 5px !important; background: #20242a !important; border-radius: 20px !important; overflow: hidden; }
.progress-bar { background: var(--reh-red) !important; }
.badge { font: 600 8px var(--reh-mono) !important; letter-spacing: .04em; border-radius: 7px !important; padding: 5px 7px !important; }
.badge-success, .bg-success { background: rgba(87,186,122,.12) !important; color: #79d69a !important; border: 1px solid rgba(87,186,122,.18); }
.badge-danger, .bg-danger { background: rgba(207,40,54,.12) !important; color: #ff7e89 !important; border: 1px solid rgba(207,40,54,.19); }

/* Forms */
.reh-form-shell { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 18px; }
.reh-form-main { display: flex; flex-direction: column; gap: 16px; }
.reh-form-section { padding: 22px; }
.reh-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.reh-section-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--reh-red-soft); border: 1px solid rgba(207,40,54,.16); color: var(--reh-red); font: 600 8px var(--reh-mono); }
.reh-section-heading > div { display: flex; flex-direction: column; gap: 2px; }
.reh-section-heading strong { color: #efede8; font-size: 13px; font-weight: 600; }
.reh-section-heading small { color: var(--reh-dim); font-size: 10px; }
.reh-form-grid { display: grid; gap: 14px; }
.reh-form-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.reh-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.reh-field-full { grid-column: 1/-1; }
.reh-field label, .form-label { margin: 0 !important; color: #7b828c !important; font: 600 9px var(--reh-mono) !important; letter-spacing: .075em; text-transform: uppercase; }
.form-control, .form-select, textarea.form-control, input.form-control {
  min-height: 44px !important; padding: 10px 12px !important;
  border: 1px solid var(--reh-line) !important; border-radius: 10px !important;
  background: #0c0e11 !important; color: #e1e3e6 !important;
  font: 500 12px var(--reh-font) !important; box-shadow: none !important;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}
textarea.form-control { min-height: 118px !important; resize: vertical; }
.form-control:focus, .form-select:focus, textarea.form-control:focus { border-color: rgba(207,40,54,.52) !important; background: #0e1014 !important; box-shadow: 0 0 0 3px rgba(207,40,54,.07) !important; color: #fff !important; }
.form-control[readonly], .form-control:disabled { opacity: 1 !important; background: #101216 !important; color: #7a818b !important; }
input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(.75); opacity: .6; }
.reh-check-card { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--reh-line); background: rgba(255,255,255,.018); cursor: pointer; margin-top: 3px; }
.reh-check-card > input { position: absolute; opacity: 0; pointer-events: none; }
.reh-check-box { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #0b0d10; border: 1px solid var(--reh-line-strong); color: transparent; transition: .16s ease; }
.reh-check-card > input:checked + .reh-check-box { background: var(--reh-red); border-color: var(--reh-red); color: #fff; }
.reh-check-card > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.reh-check-card strong { color: #d8dade; font-size: 11px; font-weight: 600; }
.reh-check-card small { color: var(--reh-dim); font-size: 9px; }
.reh-form-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--reh-topbar) + 20px); }
.reh-aside-card { padding: 18px; }
.reh-aside-label { display: block; margin-bottom: 8px; color: var(--reh-red); font: 600 8px var(--reh-mono); letter-spacing: .15em; }
.reh-aside-card h3 { margin: 0 0 7px; color: #f1efea; font: 700 22px/1 var(--reh-display); text-transform: uppercase; letter-spacing: .03em; }
.reh-aside-card p { margin: 0 0 15px; color: #747b85; font-size: 10px; line-height: 1.65; }
.reh-aside-warning { border-color: rgba(208,164,93,.16) !important; background: linear-gradient(180deg, rgba(208,164,93,.05), rgba(15,17,20,.98)) !important; }
.reh-aside-warning .reh-aside-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; margin-bottom: 10px; color: var(--reh-amber); background: rgba(208,164,93,.08); border: 1px solid rgba(208,164,93,.14); }
.reh-aside-warning strong { display: block; color: #dfc28e; font-size: 11px; margin-bottom: 6px; }
.reh-aside-warning p { margin-bottom: 0; }

/* Select2 */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single { min-height: 44px !important; border: 1px solid var(--reh-line) !important; border-radius: 10px !important; background: #0c0e11 !important; color: #e1e3e6 !important; padding: 5px 7px !important; }
.select2-container--default.select2-container--focus .select2-selection--multiple { border-color: rgba(207,40,54,.52) !important; box-shadow: 0 0 0 3px rgba(207,40,54,.07); }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background: rgba(207,40,54,.1) !important; border: 1px solid rgba(207,40,54,.18) !important; color: #d9dadd !important; border-radius: 7px !important; padding: 4px 7px 4px 22px !important; font-size: 10px; }
.select2-dropdown { background: #101216 !important; border: 1px solid var(--reh-line-strong) !important; border-radius: 10px !important; color: #d7d9dc !important; box-shadow: 0 18px 50px rgba(0,0,0,.42); overflow: hidden; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--reh-red) !important; color: #fff !important; }
.select2-container--default .select2-results__option--selected { background: rgba(255,255,255,.045) !important; }

/* Alerts, dropdowns, modals */
.alert { border-radius: 11px !important; border: 1px solid var(--reh-line) !important; background: #111419 !important; color: #c4c7cc !important; box-shadow: none !important; }
.alert-danger { border-color: rgba(207,40,54,.2) !important; background: rgba(207,40,54,.065) !important; color: #f1a2a8 !important; }
.alert-success { border-color: rgba(87,186,122,.18) !important; background: rgba(87,186,122,.06) !important; color: #9ad9ae !important; }
.reh-alert-stack { position: relative; z-index: 2; }
.dropdown-menu:not(.reh-user-menu) { background: #101216 !important; border: 1px solid var(--reh-line-strong) !important; border-radius: 11px !important; box-shadow: 0 18px 50px rgba(0,0,0,.4) !important; color: #c7cacf !important; }
.dropdown-item { color: #aeb3ba !important; border-radius: 7px; }
.dropdown-item:hover, .dropdown-item:focus { color: #fff !important; background: rgba(255,255,255,.04) !important; }
.modal-content { background: #111317 !important; border: 1px solid var(--reh-line-strong) !important; border-radius: 16px !important; box-shadow: 0 30px 90px rgba(0,0,0,.55) !important; color: #e7e8ea !important; }
.modal-header, .modal-footer { border-color: var(--reh-line) !important; }
.modal-backdrop.show { opacity: .72 !important; }

/* Generic typography for pages we did not rewrite */
h1,h2,h3,h4,h5,h6 { color: #f0eee9 !important; }
.page-header h3, .page-title { font-family: var(--reh-display) !important; letter-spacing: .03em; }
p { color: var(--reh-muted); }
.breadcrumb { background: transparent !important; }
.breadcrumb-item, .breadcrumb-item a { color: #646b75 !important; font-size: 10px !important; }
.breadcrumb-item.active { color: var(--reh-red) !important; }

/* Footer */
.reh-footer-v3 { position: relative; z-index: 1; padding: 26px 42px 28px; margin-left: 0; }
.reh-footer-v3-inner { max-width: 1680px; margin: 0 auto; min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 18px; border-top: 1px solid var(--reh-line); }
.reh-footer-v3-brand { display: flex; align-items: center; gap: 9px; }
.reh-footer-v3-brand img { width: 28px; height: 28px; object-fit: contain; opacity: .82; }
.reh-footer-v3-brand > div { display: flex; flex-direction: column; }
.reh-footer-v3-brand strong { color: #777e87; font: 600 10px var(--reh-display); letter-spacing: .08em; }
.reh-footer-v3-brand span { color: #444a52; font: 600 7px var(--reh-mono); letter-spacing: .13em; }
.reh-footer-v3-copy { color: #424850; font-size: 9px; text-align: center; }
.reh-footer-v3-status { justify-self: end; display: flex; align-items: center; gap: 7px; color: #555c65; font: 600 7px var(--reh-mono); letter-spacing: .12em; }


/* Loaders */
#load_screen, .load_screen { background: var(--reh-bg) !important; }
.loader { border-color: rgba(255,255,255,.08) !important; border-top-color: var(--reh-red) !important; }

/* Utility cleanup */
.waves-effect { overflow: visible; }
hr { border-color: var(--reh-line) !important; opacity: 1; }
pre, code { font-family: var(--reh-mono) !important; }
.tooltip-inner { background: #181b20 !important; color: #e3e4e6 !important; border: 1px solid var(--reh-line); border-radius: 7px; font-size: 9px; }

@media (max-width: 1199.98px) {
  :root { --reh-sidebar: 250px; }
  .reh-content-frame { padding: 28px 26px 0 !important; }
  .reh-form-shell { grid-template-columns: minmax(0,1fr) 280px; }
}

@media (max-width: 991.98px) {
  .sidebar-wrapper.reh-sidebar-wrap { transform: translateX(-100%) !important; width: 272px !important; }
  .main-container.sbar-open .sidebar-wrapper.reh-sidebar-wrap { transform: translateX(0) !important; }
  #content.main-content, .main-container.sidebar-closed #content { margin-left: 0 !important; }
  .header-container.reh-topbar-wrap, body:has(.main-container.sidebar-closed) .header-container.reh-topbar-wrap { left: 0 !important; padding: 0 20px !important; }
  .reh-content-frame { padding: 26px 20px 0 !important; }
  .reh-form-shell { grid-template-columns: 1fr; }
  .reh-form-aside { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reh-footer-v3 { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 767.98px) {
  :root { --reh-topbar: 68px; }
  .reh-topbar-context { display: none; }
  .reh-topbar-mobile-brand { display:grid; }
  .reh-language-item { display: none; }
  .reh-user-trigger { min-width: 0; width: 42px; height: 42px; padding: 5px !important; justify-content: center; }
  .reh-user-meta, .reh-user-chevron { display: none; }
  .reh-user-avatar { width: 30px; height: 30px; flex-basis: 30px; }
  .reh-content-frame { padding: 22px 14px 0 !important; }
  .reh-page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 21px; }
  .reh-page-heading h1 { font-size: 36px !important; }
  .reh-page-heading p { font-size: 12px; }
  .reh-page-actions, .reh-page-actions .reh-btn, .reh-page-heading-compact > .reh-btn { width: 100%; }
  .reh-form-grid-2 { grid-template-columns: 1fr; }
  .reh-field-full { grid-column: auto; }
  .reh-form-aside { display: flex; }
  .reh-form-section { padding: 17px; }
  .reh-table-shell { padding-left: 10px; padding-right: 10px; }
  .reh-panel-head { padding-left: 13px; padding-right: 13px; }
  .dataTables_filter input, .dt-search input { min-width: 0; width: 100%; margin: 6px 0 0 !important; }
  .dataTables_filter label, .dt-search label { display: block; width: 100%; }
  .reh-footer-v3-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .reh-footer-v3-status { justify-self: center; }
}

@media (max-width: 420px) {
  .reh-page-heading h1 { font-size: 32px !important; }
  .reh-user-menu { width: min(270px, calc(100vw - 28px)) !important; }
}

/* Readable controls and bounded menus retain the existing site palette. */
/* Keep the header in document flow: scrolling rows must never sit underneath it. */
html.reh-ui body.layout-dark .header-container.reh-topbar-wrap {
  position: relative !important; top: auto !important; left: auto !important; right: auto !important;
  width: calc(100% - var(--reh-sidebar)) !important; max-width: none !important;
  margin: 0 0 0 var(--reh-sidebar) !important; border-radius: 0 !important;
  background: #0b0c0f !important; backdrop-filter: none; -webkit-backdrop-filter: none;
}
html.reh-ui body.reh-sidebar-collapsed.layout-dark .header-container.reh-topbar-wrap { width: calc(100% - 92px) !important; margin-left: 92px !important; }
html.reh-ui body.layout-dark #container.reh-shell #content.main-content { margin-top: 0 !important; padding-top: 0 !important; min-height: calc(100vh - var(--reh-topbar)); }
html.reh-ui #container.reh-shell .reh-content-frame { margin-top: 0 !important; padding-top: 28px !important; }
.reh-shell.sidebar-closed .reh-sidebar-brand { padding-inline: 4px; justify-content: space-between; }
.reh-shell.sidebar-closed .reh-sidebar-collapse { display: grid !important; }
.reh-shell.sidebar-closed .reh-sidebar-collapse svg { transform: rotate(180deg); }
@media (max-width: 991.98px) {
  html.reh-ui body.layout-dark .header-container.reh-topbar-wrap,
  html.reh-ui body.reh-sidebar-collapsed.layout-dark .header-container.reh-topbar-wrap { width: 100% !important; margin: 0 !important; }
}
.middle-content, .reh-data-panel, .reh-table-shell, .card-body { min-width: 0; }
.table-responsive { max-width: 100%; overscroll-behavior-inline: contain; }
.reh-actions-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0 !important; color: var(--reh-text) !important; background: var(--reh-panel-3) !important; border: 1px solid var(--reh-line-strong) !important; }
.reh-actions-toggle::before { content: '\22ef'; font: 24px/1 system-ui, sans-serif; }
.reh-actions-toggle > i { display: none; }
.reh-actions-toggle:hover { background: #292e36 !important; }
.reh-floating-menu { z-index: 1085 !important; min-width: 184px; max-width: calc(100vw - 24px); max-height: min(360px, 65dvh); overflow-y: auto; }
.reh-floating-menu .dropdown-item { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 14px; }
.reh-actions-toggle:disabled, .dropdown-item:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #e66772 !important; outline-offset: 3px; }
table.dataTable.collapsed > tbody > tr > td.dtr-control { cursor: pointer; }
table.dataTable.collapsed > tbody > tr > td.dtr-control::before { position: static !important; display: inline-grid !important; place-items: center; width: 24px; height: 24px; margin-right: 6px; content: '+' !important; border: 0 !important; color: #f3f1ec; background: #292e36; border-radius: 6px; box-shadow: none !important; }
table.dataTable > tbody > tr.dtr-expanded > td.dtr-control::before { content: '\2212' !important; }
table.dataTable .dtr-details { width: 100%; margin: 0; padding: 0; list-style: none; }
table.dataTable .dtr-details li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--reh-line); }
table.dataTable .dtr-title { min-width: 90px; color: #bec3cb; font-weight: 600; }
table.dataTable .dtr-data { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 991.98px) {
  body.reh-sidebar-collapsed .header-container.reh-topbar-wrap,
  body.sidebar-closed .header-container.reh-topbar-wrap,
  body:has(.main-container.sidebar-closed) .header-container.reh-topbar-wrap { left: 0 !important; }
  #content.main-content { width: 100% !important; min-width: 0; }
  .sidebar-wrapper.reh-sidebar-wrap { max-width: calc(100vw - 48px); }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .reh-topbar-wrap .reh-icon-button, .reh-user-trigger { min-width: 44px; min-height: 44px; }
  .sidebar-wrapper .menu > a, .sidebar-wrapper .submenu a { min-height: 44px; }
  .form-control, .form-select, input.form-control, textarea.form-control, .dt-input { font-size: 16px !important; }
  .dt-container .dt-layout-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .dt-container .dt-layout-cell { min-width: 0; width: 100%; }
  .dt-container .dt-search { width: 100%; text-align: left; }
  .dt-container .dt-search label, .dt-container .dt-info { font-size: 14px !important; line-height: 1.5; color: #aab1bb !important; }
  .dt-container .dt-search input { width: 100%; min-height: 44px; }
  .dt-container .dt-paging nav { display: flex; justify-content: center; flex-wrap: wrap; }
  .dt-container .dt-paging .dt-paging-button { min-width: 44px !important; height: 44px !important; font-size: 14px !important; }
  table.table > thead > tr > th, table.table > tbody > tr > td { font-size: 14px !important; padding: 12px 9px !important; }
  table.table td.dtr-control { white-space: normal; overflow-wrap: anywhere; }
  table.table .list-profile { display: inline-flex; max-width: 160px; align-items: center; gap: 6px; vertical-align: middle; }
  table.table .list-profile img { width: 28px; height: 28px; flex-shrink: 0; }
  table.table .list-profile a { min-width: 0; overflow-wrap: anywhere; }
  .table .badge { font-size: 11px !important; line-height: 1.3; }
  .modal-dialog { margin: 12px; max-width: calc(100vw - 24px); }
  .modal-body { max-height: 70dvh; overflow: auto; }
  .reh-footer-v3 { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .reh-footer-v3-copy, .reh-page-heading p { font-size: 14px; }
  .reh-orb, .reh-live-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reh-ui *, .reh-ui *::before, .reh-ui *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
