/* KPI Analytics | Interface refresh, October 2026
   Presentation only. No database operations or changes to user-entered content. */
:root {
  --hb-ink:#17243c; --hb-muted:#69768b; --hb-navy:#111d35; --hb-navy-2:#1c2c4b;
  --hb-red:#db3451; --hb-red-hover:#bc2541; --hb-line:#e6ebf2;
  --hb-white:#fff; --hb-ground:#f5f7fb; --hb-ring:rgba(219,52,81,.15);
  --hb-radius:15px;
}
*, *::before, *::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body.hb-admin,body.hb-staff,body.hb-auth,body.hb-landing {
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--hb-ink);font-size:14px;letter-spacing:-.008em;-webkit-font-smoothing:antialiased;
}
body.hb-admin {margin:0;background:var(--hb-ground);overflow:hidden}
body.hb-staff {background:var(--hb-ground)}
body.hb-admin ::selection,body.hb-staff ::selection {background:#ffdce4;color:#721c2f}
/* Main application shell */
.hb-shell {height:100dvh;min-height:500px;display:flex;overflow:hidden}
.hb-sidebar {width:258px;flex:0 0 258px;background:var(--hb-navy);color:#f1f5ff;display:flex;flex-direction:column;min-height:0;position:relative;z-index:40;box-shadow:10px 0 35px rgba(12,27,53,.035)}
.hb-brand {padding:26px 20px 27px;display:flex;align-items:center;gap:11px;border-bottom:1px solid rgba(255,255,255,.09);min-height:101px}
.hb-brand-mark {width:42px;height:42px;border-radius:12px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#ef536b,#bd1c3d);box-shadow:0 7px 18px rgba(220,40,80,.23)}
.hb-brand-mark svg {width:22px;height:22px}
.hb-brand-name {font-size:17px;font-weight:800;letter-spacing:-.045em;line-height:1.25;white-space:nowrap}
.hb-brand-sub {font-size:9px;letter-spacing:.15em;color:#adb9d1;font-weight:750;margin-top:4px}
.hb-navigation-label {padding:27px 26px 12px;color:#8090ae;font-size:9px;font-weight:800;letter-spacing:.18em}
.hb-navigation {min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 22px;display:flex;flex-direction:column;gap:4px;scrollbar-color:#475674 transparent;scrollbar-width:thin}
.hb-nav-item {position:relative;display:flex;align-items:center;min-height:44px;padding:10px 12px;gap:12px;border-radius:10px;color:#b9c5d9!important;text-decoration:none!important;font-size:12.6px;font-weight:580;transition:background .18s,color .18s,transform .18s;white-space:nowrap}
.hb-nav-item:hover,.hb-nav-item:focus-visible {background:#243452;color:white!important}
.hb-nav-item.is-active {color:white!important;background:#2a3b58;font-weight:700;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.hb-nav-item.is-active::before {content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;background:#f4506f;border-radius:0 4px 4px 0}
.hb-nav-icon {width:18px;height:18px;flex-shrink:0;color:#a3b2cb}
.hb-nav-item.is-active .hb-nav-icon {color:#ff778e}
.hb-nav-name {min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}
.hb-nav-count {background:var(--hb-red);color:#fff;font-size:10px;padding:2px 7px;min-width:22px;text-align:center;border-radius:20px;font-weight:750}
.hb-sidebar-bottom {margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:15px 13px 18px}
.hb-sidebar-bottom-label {padding:3px 12px 8px;font-size:9px;font-weight:700;letter-spacing:.105em;color:#7e90ad}
.hb-logout {margin-top:4px}
.hb-main-column {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.hb-topbar {height:76px;min-height:76px;background:#fff;border-bottom:1px solid var(--hb-line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:15px;z-index:2}
.hb-topbar-left,.hb-topbar-right {display:flex;align-items:center;gap:14px}
.hb-topbar-eyebrow {font-size:10px;font-weight:780;letter-spacing:.105em;color:#8e9bad;line-height:1.5}
.hb-topbar-title {font-size:16px;font-weight:800;letter-spacing:-.03em;color:var(--hb-ink);line-height:1.35}
.hb-topbar-date {color:#7e899d;font-size:12px;font-weight:550;padding:8px 13px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:9px}
.hb-admin-avatar,.hb-staff-avatar {width:35px;height:35px;flex:0 0 35px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#ffe9ed;color:#b92343;font-weight:800;box-shadow:inset 0 0 0 1px #fbdbe2}
.hb-content {min-width:0;min-height:0;flex:1;overflow:auto;background:radial-gradient(ellipse 700px 290px at 72% 0%,#eef3fd 0,transparent 88%),var(--hb-ground);padding:30px 34px 55px;overscroll-behavior:contain}
.hb-content > * {max-width:1600px;margin-left:auto;margin-right:auto}
.hb-menu-trigger,.hb-close-nav {display:none}
.hb-overlay {display:none}
/* Headlines and surfaces without modifying data, table columns or content */
.hb-content h2 {letter-spacing:-.045em;line-height:1.25;color:#14223c;font-weight:780}
.hb-content h2.text-3xl {font-size:26px}
.hb-content h2.text-2xl {font-size:25px}
.hb-content h3 {letter-spacing:-.024em}
.hb-content p.text-gray-600,.hb-content p.text-gray-500,.hb-staff-content p.text-gray-600 {color:var(--hb-muted)}
.hb-admin .hb-content div.bg-white[class*="rounded"],
.hb-staff .hb-staff-content div.bg-white[class*="rounded"] {border-color:#e9edf4!important;border-radius:var(--hb-radius)!important;box-shadow:0 3px 10px rgba(27,46,85,.025),0 13px 32px rgba(27,46,85,.04)!important}
.hb-admin .hb-content div.bg-gray-50[class*="rounded"],
.hb-staff .hb-staff-content div.bg-gray-50[class*="rounded"] {border-radius:var(--hb-radius)!important}
.hb-admin .hb-content .shadow-lg,.hb-staff-content .shadow-lg {box-shadow:0 6px 24px rgba(31,51,87,.06)!important}
.hb-admin .hb-content .rounded-2xl,.hb-staff-content .rounded-2xl {border-radius:16px}
.hb-admin .hb-content .bg-purple-50,.hb-staff-content .bg-purple-50 {background-color:#f6f5fd}
.hb-admin .hb-content div[class*="border-l-4"].bg-green-50 {background:#f0faf5;border-color:#18a86f;color:#186344}
.hb-admin .hb-content div[class*="border-l-4"].bg-red-50 {background:#fff2f2;border-color:#e3485d;color:#983041}
/* Form fields, selected controls, buttons */
.hb-content :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select),
.hb-staff-content :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select),
.hb-auth :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) {
  border-radius:9px!important;border:1px solid #dce3ee!important;background-color:#fff;color:#202d43;min-height:40px;
  transition:border-color .17s,box-shadow .17s,background .17s;max-width:100%;font-size:13px;
}
.hb-content :is(input,textarea,select):focus,.hb-staff-content :is(input,textarea,select):focus,.hb-auth :is(input,textarea,select):focus {outline:none!important;border-color:#dc526b!important;box-shadow:0 0 0 3px var(--hb-ring)!important}
.hb-content input[type="checkbox"],.hb-content input[type="radio"],.hb-staff-content input[type="checkbox"] {accent-color:var(--hb-red)}
.hb-content input::placeholder,.hb-staff-content input::placeholder {color:#a4afc0}
.hb-content label,.hb-staff-content label {color:#44536a}
.hb-content :is(button,a)[class*="bg-purple-600"],.hb-content :is(button,a)[class*="bg-purple-700"],
.hb-staff-content :is(button,a)[class*="bg-blue-600"] {background:#203657!important;color:#fff!important}
.hb-content :is(button,a)[class*="bg-purple-600"]:hover,.hb-content :is(button,a)[class*="bg-purple-700"]:hover,
.hb-staff-content :is(button,a)[class*="bg-blue-600"]:hover {background:#132540!important}
.hb-content :is(button,a)[class*="bg-blue-600"],.hb-content :is(button,a)[class*="bg-blue-700"] {background:#263f66!important;color:#fff!important}
.hb-content :is(button,a)[class*="bg-blue-600"]:hover,.hb-content :is(button,a)[class*="bg-blue-700"]:hover {background:#162b49!important}
.hb-content :is(button,a)[class*="bg-green-600"]:hover {background:#0b9365!important}
.hb-content :is(button,a)[class*="bg-red-600"]:hover {background:#bd2142!important}
.hb-content button,.hb-staff-content button,.hb-content a[class*="bg-"],.hb-staff-content a[class*="bg-"] {transition:background .17s,box-shadow .17s,transform .17s,border-color .17s}
.hb-content button:active,.hb-staff-content button:active {transform:translateY(1px)}
.hb-content button:focus-visible,.hb-staff-content a:focus-visible,.hb-content a:focus-visible {outline:3px solid var(--hb-ring);outline-offset:2px}
.hb-content button[class*="bg-"],.hb-staff-content a[class*="bg-"] {border-radius:9px!important;font-size:13px}
.hb-field-note {margin-top:7px;color:#77869b;font-weight:500;font-size:11px;line-height:1.5}
/* Data grid and score cards */
.hb-content table,.hb-staff-content table {font-size:12.5px;border-collapse:separate;border-spacing:0;width:100%}
.hb-content thead,.hb-staff-content thead {background:#f5f7fb!important}
.hb-content thead th,.hb-staff-content thead th {font-size:10px!important;font-weight:780!important;letter-spacing:.075em;color:#72819a!important;background:#f5f7fb;padding-top:13px!important;padding-bottom:13px!important;border-bottom:1px solid #e7ebf1;text-transform:uppercase}
.hb-content tbody tr,.hb-staff-content tbody tr {transition:background .15s}
.hb-content tbody tr:hover,.hb-staff-content tbody tr:hover {background-color:#f8faff}
.hb-content tbody td,.hb-staff-content tbody td {border-bottom:1px solid #f0f2f6}
.hb-content table tbody tr:last-child td,.hb-staff-content table tbody tr:last-child td {border-bottom:0}
.hb-admin .hb-content .group-hover\:opacity-100 {opacity:1}
.hb-content .text-purple-700,.hb-content .text-purple-600 {color:#374e73}
.hb-admin .hb-content > .grid.md\:grid-cols-3 > .bg-white {position:relative;overflow:hidden;min-height:130px}
.hb-admin .hb-content > .grid.md\:grid-cols-3 > .bg-white::after {content:"";position:absolute;height:3px;left:22px;right:22px;bottom:0;background:linear-gradient(90deg,#dc3655,#fdc0c9);border-radius:3px 3px 0 0}
.hb-admin .hb-content > .grid.md\:grid-cols-3 > .bg-white p.text-3xl {font-size:29px;font-weight:850;color:#182741}
.hb-content canvas {max-width:100%}
.hb-content .overflow-x-auto,.hb-staff-content .overflow-x-auto {scrollbar-width:thin;scrollbar-color:#cdd6e6 transparent}
.hb-content .overflow-x-auto::-webkit-scrollbar,.hb-staff-content .overflow-x-auto::-webkit-scrollbar {height:7px}
.hb-content .overflow-x-auto::-webkit-scrollbar-thumb,.hb-staff-content .overflow-x-auto::-webkit-scrollbar-thumb {border-radius:8px;background:#ccd5e3}
/* Staff shell */
.hb-staff-header {background:#fff;border-bottom:1px solid var(--hb-line);box-shadow:0 5px 22px rgba(24,42,72,.03);position:sticky;top:0;z-index:30}
.hb-staff-header-inner {max-width:1320px;padding:12px 27px;min-height:74px;margin:auto;display:flex;align-items:center;gap:28px;justify-content:space-between}
.hb-staff-brand {text-decoration:none!important;display:flex;align-items:center;gap:10px;flex-shrink:0;color:#14223c!important;font-weight:800;font-size:17px;letter-spacing:-.04em;line-height:1.2}
.hb-staff-brand small {display:block;font-size:9px;color:#8995a6;letter-spacing:.13em;margin-top:4px;font-weight:800}
.hb-staff-nav {display:flex;align-items:center;gap:4px;margin-right:auto;margin-left:25px}
.hb-staff-nav a {padding:10px 16px;color:#68788f;text-decoration:none!important;border-radius:9px;font-size:12.5px;font-weight:620;white-space:nowrap}
.hb-staff-nav a:hover {background:#f5f7fb;color:#1b2a47}
.hb-staff-nav a.is-active {color:#b92849;background:#ffedf1;font-weight:800}
.hb-staff-user {display:flex;align-items:center;gap:10px;margin-left:auto}
.hb-staff-greeting {color:#718097;font-size:12px;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-staff-signout {padding:9px 14px;border:1px solid #e4eaf2;border-radius:9px;color:#31415b;font-size:12.5px;font-weight:700;white-space:nowrap;text-decoration:none!important}
.hb-staff-signout:hover {background:#f5f7fc}
.hb-staff-content {max-width:1320px!important;padding-top:35px!important;padding-bottom:45px!important}
.hb-staff-content h2 {font-weight:820;letter-spacing:-.04em;color:#14223c}
.hb-staff-content h3 {letter-spacing:-.025em}
.hb-staff footer {border-top:1px solid var(--hb-line);color:#8290a5}
/* Entry and login */
body.hb-auth {background:radial-gradient(circle at 10% 8%,#fce4e9,transparent 33%),radial-gradient(circle at 86% 95%,#e1eafa,transparent 45%),#f5f7fb;min-height:100dvh}
.hb-auth > div:first-of-type h2 {color:var(--hb-ink);font-size:29px;letter-spacing:-.045em}
.hb-auth > div:nth-of-type(2) > .bg-white {border-radius:20px;box-shadow:0 24px 80px rgba(31,52,84,.10),0 3px 12px rgba(31,52,84,.03);border-color:#e9eefa;padding:34px 36px}
.hb-auth input {padding:10px 12px}
.hb-auth button[class*="bg-purple-"],.hb-auth button[class*="bg-blue-"] {background:#1e3355!important;border-radius:10px;min-height:43px}
.hb-auth button[class*="bg-purple-"]:hover,.hb-auth button[class*="bg-blue-"]:hover {background:#152643!important}
body.hb-landing {background:radial-gradient(circle at 14% 5%,#394c74 0,transparent 40%),radial-gradient(circle at 90% 100%,#542741 0,transparent 40%),#111d35!important;min-height:100dvh}
.hb-landing .glass-card {background:#fff;border:1px solid rgba(255,255,255,.2);border-radius:23px;box-shadow:0 18px 65px rgba(4,11,29,.22);backdrop-filter:none}
.hb-landing h1 {letter-spacing:-.055em;line-height:1.06}
.hb-landing .glass-card h2 {letter-spacing:-.035em}
.hb-landing .glass-card a[class*="bg-blue-"],.hb-landing .glass-card a[class*="bg-purple-"] {background:#1d3254!important;border-radius:10px;box-shadow:none;transition:background .18s,transform .18s}
.hb-landing .glass-card a[class*="bg-blue-"]:hover,.hb-landing .glass-card a[class*="bg-purple-"]:hover {background:#d53252!important;transform:translateY(-1px)}
/* Accessibility and responsive scaling */
@media (max-width:1100px) {
  .hb-sidebar {width:228px;flex-basis:228px}
  .hb-brand {padding-left:16px;padding-right:12px}
  .hb-navigation {padding-left:9px;padding-right:9px}
  .hb-content {padding-left:24px;padding-right:24px}
  .hb-staff-header-inner {gap:13px}
  .hb-staff-nav {margin-left:0}
  .hb-staff-greeting {display:none}
}
@media (max-width:790px) {
  body.hb-admin {overflow:hidden}
  .hb-sidebar {position:fixed;top:0;left:0;bottom:0;width:min(290px,86vw);max-height:100dvh;transform:translateX(-102%);transition:transform .24s ease;box-shadow:25px 0 55px rgba(8,21,46,.23)}
  body.hb-nav-open .hb-sidebar {transform:translateX(0)}
  .hb-overlay {position:fixed;inset:0;background:rgba(15,27,48,.58);z-index:35}
  body.hb-nav-open .hb-overlay {display:block}
  .hb-menu-trigger {border:1px solid #e3e9f1;background:white;color:#263652;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;cursor:pointer}
  .hb-close-nav {display:inline-flex;margin-left:auto;background:rgba(255,255,255,.07);width:29px;height:29px;border-radius:8px;font-size:22px;color:#fff;align-items:center;justify-content:center}
  .hb-topbar {height:69px;min-height:69px;padding:0 18px}
  .hb-topbar-date {display:none}
  .hb-content {padding:22px 15px 38px}
  .hb-content h2.text-3xl,.hb-content h2.text-2xl {font-size:23px}
  .hb-content > .flex {gap:12px;flex-wrap:wrap}
  .hb-content table {min-width:540px}
  .hb-staff-header-inner {padding:12px 15px;flex-wrap:wrap;gap:9px}
  .hb-staff-brand {font-size:16px}
  .hb-staff-brand .hb-brand-mark {width:37px;height:37px}
  .hb-staff-nav {order:3;flex-basis:100%;overflow-x:auto;border-top:1px solid #edf0f5;padding-top:10px;padding-bottom:1px;gap:2px}
  .hb-staff-nav a {padding:9px 13px}
  .hb-staff-user {margin-left:auto}
  .hb-staff-content {padding:25px 15px 40px!important}
  .hb-staff-content table {min-width:540px}
}
@media (max-width:480px) {
  .hb-topbar-title {font-size:14px}
  .hb-topbar-eyebrow {font-size:9px}
  .hb-admin-avatar {width:31px;height:31px;flex-basis:31px}
  .hb-content > .mb-6.flex,.hb-content > .mb-8.flex {align-items:flex-start}
  .hb-content h2.text-3xl,.hb-content h2.text-2xl {font-size:22px}
  .hb-staff-greeting {display:none}
  .hb-staff-avatar {display:none}
  .hb-staff-brand .hb-brand-mark {width:34px;height:34px}
  .hb-auth > div:nth-of-type(2) > .bg-white {padding:26px 22px}
  .hb-landing h1 {font-size:36px}
  .hb-content .flex.justify-between {flex-wrap:wrap;gap:10px}
  .hb-admin .hb-content .group-hover\:opacity-100 {opacity:1!important}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* 2026 interface refinement: restrained Humanology red, deep navy and compact data surfaces.
   Styles only: all metrics, field labels, database values and calculations remain as stored. */
:root {
  --hb-navy:#121f38;--hb-navy-2:#1b2d4b;--hb-ink:#192941;
  --hb-red:#d53553;--hb-red-hover:#be2743;--hb-line:#e8edf4;
  --hb-ground:#f4f6fb;--hb-radius:16px;
}
html,body.hb-admin,body.hb-staff,body.hb-auth,body.hb-landing {font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif}
body.hb-admin {font-size:13.5px}
.hb-sidebar {background:linear-gradient(165deg,#15233d 0%,#101b30 74%);border-right:1px solid #293754;width:258px;flex-basis:258px;transition:width .22s,flex-basis .22s}
.hb-sidebar::after {content:"";position:absolute;top:95px;right:0;width:1px;height:calc(100% - 95px);background:rgba(255,255,255,.035);pointer-events:none}
.hb-brand {min-height:91px;padding:22px 17px;border-bottom-color:rgba(255,255,255,.065)}
.hb-brand-mark {width:40px;height:40px;border-radius:12px;box-shadow:0 7px 20px rgba(226,44,83,.16)}
.hb-brand-name {font-size:16px;letter-spacing:-.04em}
.hb-brand-sub {font-size:9px;letter-spacing:.11em}
.hb-nav-search {display:flex;align-items:center;gap:8px;margin:18px 13px 4px;padding:0 11px;border:1px solid rgba(174,193,227,.12);border-radius:10px;background:rgba(255,255,255,.055);color:#889ab5;min-height:40px}
.hb-nav-search:focus-within {border-color:rgba(245,137,155,.65);box-shadow:0 0 0 3px rgba(213,53,83,.11)}
.hb-nav-search input {outline:none;min-width:0;flex:1;border:0!important;background:transparent!important;color:#f5f7fd!important;font:inherit;font-size:12px;box-shadow:none!important}
.hb-nav-search input::placeholder {color:#8f9fb9}
.hb-nav-search input::-webkit-search-cancel-button {cursor:pointer}
.hb-nav-search-shortcut {font-size:11px;border:1px solid rgba(255,255,255,.17);padding:2px 6px;border-radius:5px;color:#a1b0c7}
.hb-navigation-label {padding:19px 25px 8px;font-size:10px;letter-spacing:.14em}
.hb-navigation {gap:2px;padding-left:11px;padding-right:11px}
.hb-nav-item {min-height:43px;font-size:12.2px;padding:10px 11px;gap:11px;border:1px solid transparent;transition:background .12s,border-color .12s}
.hb-nav-item[hidden] {display:none!important}
.hb-nav-item:hover,.hb-nav-item:focus-visible {border-color:rgba(255,255,255,.075);background:rgba(255,255,255,.068)}
.hb-nav-item.is-active {border-color:rgba(252,143,161,.08);background:linear-gradient(90deg,rgba(225,62,91,.19),rgba(255,255,255,.064));box-shadow:none}
.hb-nav-item.is-active::before {top:7px;bottom:7px;width:3px;background:#ff637e}
.hb-nav-icon {width:17px;height:17px;color:#91a5c0}
.hb-nav-item.is-active .hb-nav-icon {color:#ff8ba0}
.hb-nav-count {background:#e14863;min-width:23px}
.hb-sidebar-bottom {padding:10px 11px 16px}
.hb-sidebar-bottom-label {font-size:9px}
.hb-no-results {padding:14px 24px;color:#b9c5d8;font-size:12px}
.hb-no-results[hidden] {display:none}
.hb-collapse {display:flex;align-items:center;width:100%;gap:12px;padding:10px 12px;margin-bottom:9px;border-radius:9px;color:#aebcd2;font-size:12px;text-align:left;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);cursor:pointer}
.hb-collapse:hover {background:rgba(255,255,255,.09);color:#fff}
.hb-collapse svg {flex-shrink:0;transition:transform .2s}
.hb-logout {margin-top:2px}
.hb-topbar {height:72px;min-height:72px;padding:0 30px;box-shadow:0 2px 12px rgba(30,49,81,.015)}
.hb-topbar-eyebrow {color:#8995a8;font-size:9px;letter-spacing:.15em}
.hb-topbar-title {font-size:16px;font-weight:780}
.hb-topbar-right {gap:12px}
.hb-topbar-search {display:inline-flex;align-items:center;gap:10px;min-width:184px;padding:9px 11px;border:1px solid #e4eaf3;border-radius:10px;background:#fafbfd;color:#7c899d;font-size:11.5px;text-align:left;cursor:pointer;transition:background .15s,border .15s}
.hb-topbar-search:hover,.hb-topbar-search:focus-visible {background:white;border-color:#c4ccda;color:#263c5f}
.hb-topbar-search svg {flex-shrink:0}
.hb-topbar-search span {flex:1}
.hb-topbar-search kbd {white-space:nowrap;padding:2px 5px;border-radius:4px;background:#fff;border:1px solid #e5e9f0;color:#8793a5;font-size:10px;font-family:inherit;box-shadow:0 1px 1px rgba(8,20,40,.04)}
.hb-topbar-date {background:transparent;border:none;padding:8px 6px;font-size:11px;color:#7a899e}
.hb-admin-avatar {border-radius:50%;width:34px;height:34px;flex-basis:34px;background:#fae7ec}
.hb-content {padding:26px 29px 50px;background:radial-gradient(ellipse 850px 300px at 86% -10%,#eaf0fc 0%,transparent 75%),var(--hb-ground)}
.hb-content > * {max-width:1540px}
.hb-content h2.text-3xl {font-size:24px!important}
.hb-content h2.text-2xl {font-size:23px!important}
.hb-content h2 {font-weight:770!important}
.hb-content h3.text-lg,.hb-staff-content h3.text-lg {font-size:15px!important;font-weight:770!important}
.hb-content p.text-sm,.hb-staff-content p.text-sm {font-size:12.5px}
.hb-admin .hb-content div.bg-white[class*="rounded"],.hb-staff .hb-staff-content div.bg-white[class*="rounded"] {border:1px solid #e7ebf2!important;border-radius:14px!important;box-shadow:0 5px 25px rgba(22,39,72,.045)!important}
.hb-content .p-8 {padding:25px}
.hb-content .p-6 {padding:21px}
.hb-content .px-6 {padding-left:21px;padding-right:21px}
.hb-content .py-5 {padding-top:16px;padding-bottom:16px}
.hb-content .gap-8 {gap:21px}
.hb-content .gap-6 {gap:19px}
.hb-content :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),.hb-staff-content :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {font-size:12.5px;min-height:39px;border-radius:9px!important}
.hb-content :is(input,select,textarea):focus,.hb-staff-content :is(input,select,textarea):focus {border-color:#d53553!important;box-shadow:0 0 0 3px rgba(213,53,83,.10)!important}
.hb-content :is(button,a)[class*="bg-blue-600"],.hb-content :is(button,a)[class*="bg-purple-600"],.hb-staff-content :is(button,a)[class*="bg-blue-600"] {background:#263d61!important}
.hb-content :is(button,a)[class*="bg-blue-600"]:hover,.hb-content :is(button,a)[class*="bg-purple-600"]:hover,.hb-staff-content :is(button,a)[class*="bg-blue-600"]:hover {background:#142844!important}
.hb-content :is(button,a)[class*="bg-red-600"],.hb-staff-content :is(button,a)[class*="bg-red-600"] {background:#d53553!important}
.hb-content :is(button,a)[class*="bg-red-600"]:hover,.hb-staff-content :is(button,a)[class*="bg-red-600"]:hover {background:#b5223f!important}
.hb-content .shadow-lg {box-shadow:0 5px 20px rgba(27,42,69,.06)!important}
.hb-content table,.hb-staff-content table {font-size:12px;line-height:1.5}
.hb-content thead th,.hb-staff-content thead th {font-size:10px!important;letter-spacing:.045em;padding:12px 15px!important;white-space:nowrap}
.hb-content tbody td,.hb-staff-content tbody td {padding:12px 15px!important;vertical-align:middle}
.hb-content tbody tr:nth-child(even),.hb-staff-content tbody tr:nth-child(even) {background:rgba(248,250,254,.64)}
.hb-content tbody tr:hover,.hb-staff-content tbody tr:hover {background:#eef4ff}
.hb-content td :is(button,a),.hb-staff-content td :is(button,a) {font-size:11.7px}
.hb-content .overflow-x-auto,.hb-staff-content .overflow-x-auto {overscroll-behavior-x:contain}
.hb-content .overflow-x-auto:focus-visible,.hb-staff-content .overflow-x-auto:focus-visible {outline:2px solid #d53553;outline-offset:2px}
.hb-content .overflow-x-auto > table,.hb-staff-content .overflow-x-auto > table {width:100%}
.hb-content .bg-gray-50,.hb-staff-content .bg-gray-50 {border-color:#edf0f5}
.hb-dashboard-heading,.hb-staff-dashboard-heading {border-bottom:1px solid #e8edf4;padding-bottom:17px;margin-bottom:23px}
/* Dashboard cards: visual presentation only, contents are untouched */
.hb-metric-grid {gap:17px!important}
.hb-admin .hb-metric {position:relative;min-height:132px;gap:2px;overflow:hidden;box-shadow:0 5px 26px rgba(23,40,70,.045)!important}
.hb-metric::before {content:"";position:absolute;left:0;top:17px;bottom:17px;width:3px;background:#cf4762;border-radius:0 4px 4px 0}
.hb-metric:nth-child(2)::before {background:#18a579}
.hb-metric:nth-child(3)::before {background:#5276bd}
.hb-metric > div:first-child {width:51px;height:51px;flex:0 0 51px;margin-right:18px!important;border-radius:13px!important}
.hb-metric > div:first-child svg {width:27px;height:27px}
.hb-metric p.text-3xl {font-size:31px!important;letter-spacing:-.055em}
.hb-metric p.text-sm {font-size:11.5px!important;font-weight:620}
.hb-chart-card {padding:23px!important}
.hb-chart-card h3 {margin-bottom:24px}
.hb-recent-card > .px-6 {padding-top:17px;padding-bottom:17px}
.hb-recent-card td span.rounded-full {border-radius:7px!important;padding:4px 9px}
/* KPI administration and workflow: compact lists, clear panel divisions */
.hb-page-admin-kpis .xl\:col-span-1 > form,.hb-page-admin-staff .xl\:col-span-1 > form {font-size:12.5px}
.hb-page-admin-kpis .shadow-lg,.hb-page-admin-requests .shadow-lg {box-shadow:0 7px 28px rgba(23,42,79,.052)!important}
.hb-page-admin-kpis :is(h3,h4),.hb-page-admin-requests :is(h3,h4) {line-height:1.35}
/* Staff experience */
.hb-staff-header {box-shadow:0 3px 20px rgba(28,46,79,.035)}
.hb-staff-header-inner {max-width:1450px;min-height:72px;padding:11px 25px}
.hb-staff-content {max-width:1450px!important;padding-top:27px!important}
.hb-staff-nav {gap:4px}
.hb-staff-nav a {font-size:12.5px;padding:9px 13px}
.hb-staff-nav a.is-active {background:#fcebf0;color:#b32543}
.hb-staff-user {gap:9px}
.hb-staff-avatar {background:#fce6eb;color:#ad2a46;border-radius:50%}
.hb-staff-signout {padding:9px 13px}
.hb-staff-entry-card,.hb-staff-note-card {min-height:180px}
.hb-staff-entry-card {position:relative;overflow:hidden}
.hb-staff-entry-card::before {content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d53553}
.hb-staff-entry-card a {margin-top:14px;min-height:44px;display:flex;align-items:center;justify-content:center;box-shadow:none!important}
.hb-staff-note-card {background:linear-gradient(130deg,#eef4ff,#f5f7fd)!important;border:1px solid #e1eafb!important}
.hb-staff-note-card p.text-blue-800 {color:#3d587b!important;line-height:1.7}
/* Accessible, modern entry/login cards with no extra markup */
body.hb-auth {background:radial-gradient(ellipse 600px 400px at 5% 13%,#ffe6ed,transparent),radial-gradient(ellipse 700px 560px at 97% 97%,#dde8fa,transparent),#f7f9fd}
.hb-auth > div:first-of-type h2 {font-size:27px;font-weight:800;letter-spacing:-.04em}
.hb-auth > div:first-of-type h2::before {content:"";display:block;width:44px;height:44px;margin:0 auto 18px;border-radius:14px;background:linear-gradient(135deg,#ed526e,#c92a48);box-shadow:0 9px 25px rgba(207,39,71,.22)}
.hb-auth > div:nth-of-type(2) > .bg-white {padding:33px 34px;border-radius:20px!important;border:1px solid #e7ebf4;box-shadow:0 21px 66px rgba(24,45,79,.095)}
.hb-auth label {font-weight:650}
.hb-auth input,.hb-auth select {min-height:44px;font-size:13px!important}
.hb-auth button[type="submit"] {min-height:44px!important;background:linear-gradient(105deg,#1c2d4b,#293f63)!important;font-weight:740!important}
.hb-auth button[type="submit"]:hover {background:#13223c!important}
body.hb-landing {background:radial-gradient(ellipse 630px 480px at 7% 20%,#344867,transparent 80%),radial-gradient(ellipse 680px 520px at 95% 92%,#462f48,transparent 80%),#101b30!important}
body.hb-landing .glass-card {border-radius:19px!important;box-shadow:0 14px 50px rgba(6,14,31,.21)}
/* Compact desktop navigation with optional expanded view */
@media(min-width:791px){
  .hb-nav-compact .hb-sidebar {width:74px;flex-basis:74px}
  .hb-nav-compact .hb-brand {justify-content:center;padding:22px 11px}
  .hb-nav-compact .hb-brand > div:nth-child(2),.hb-nav-compact .hb-nav-search,.hb-nav-compact .hb-navigation-label,.hb-nav-compact .hb-nav-name,.hb-nav-compact .hb-sidebar-bottom-label,.hb-nav-compact .hb-collapse span,.hb-nav-compact .hb-logout span,.hb-nav-compact .hb-no-results {display:none!important}
  .hb-nav-compact .hb-navigation {padding:15px 11px;align-items:center}
  .hb-nav-compact .hb-nav-item {width:48px;min-width:48px;justify-content:center;padding:11px 7px}
  .hb-nav-compact .hb-nav-icon {width:21px;height:21px}
  .hb-nav-compact .hb-nav-item.is-active::before {left:-10px}
  .hb-nav-compact .hb-nav-count {position:absolute;right:-4px;top:2px;font-size:8px;min-width:16px;padding:1px 4px}
  .hb-nav-compact .hb-sidebar-bottom {display:flex;flex-direction:column;align-items:center;padding:10px 5px 16px}
  .hb-nav-compact .hb-collapse {width:48px;justify-content:center}
  .hb-nav-compact .hb-collapse svg {transform:rotate(180deg)}
  .hb-nav-compact .hb-logout {width:48px;min-width:48px}
}
/* Quick navigator */
.hb-command-backdrop[hidden] {display:none!important}
.hb-command-active {overflow:hidden}
.hb-command-backdrop {position:fixed;inset:0;z-index:100;background:rgba(15,26,44,.55);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding:13vh 16px 24px}
.hb-command-panel {width:min(520px,100%);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 35px 100px rgba(10,23,45,.3);border:1px solid rgba(230,235,244,.8)}
.hb-command-header {display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid #ecf0f6;color:#7c899c}
.hb-command-header input {flex:1;min-width:0;border:0;background:transparent;padding:8px 1px;outline:none;color:#1e314d;font-size:15px}
.hb-command-exit {font-size:10px;padding:4px 7px;border:1px solid #e6eaf0;background:#f8fafc;color:#8995a6;border-radius:5px;cursor:pointer}
.hb-command-title {padding:14px 20px 6px;color:#8a97a9;font-size:10px;letter-spacing:.14em;font-weight:800}
.hb-command-results {padding:5px 11px 15px;max-height:350px;overflow:auto}
.hb-command-option {display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#293b58;padding:13px 13px;border-radius:9px;font-size:13px;font-weight:660;cursor:pointer}
.hb-command-option:hover,.hb-command-option.is-selected {background:#f3f6fb;color:#cf3150}
.hb-command-arrow {font-weight:400;color:#9aa6b7}
.hb-command-empty {padding:22px 13px;color:#7a8799;text-align:center;font-size:12px}
.hb-command-footer {padding:10px 19px;border-top:1px solid #edf0f5;background:#fafbfd;color:#97a1b0;font-size:10px}
@media(max-width:1100px) and (min-width:791px) {
  .hb-sidebar {width:232px;flex-basis:232px}
  .hb-content {padding-left:22px;padding-right:22px}
  .hb-topbar-search {min-width:150px}
}
@media(max-width:790px) {
  .hb-sidebar {width:min(290px,86vw);flex-basis:auto}
  .hb-nav-compact .hb-sidebar {width:min(290px,86vw)}
  .hb-topbar {padding:0 15px;height:66px;min-height:66px}
  .hb-topbar-search {min-width:40px;width:40px;height:39px;padding:10px;justify-content:center}
  .hb-topbar-search span,.hb-topbar-search kbd {display:none}
  .hb-topbar-right {gap:7px}
  .hb-content {padding:20px 14px 40px}
  .hb-content .p-6 {padding:17px}
  .hb-content .px-6 {padding-left:16px;padding-right:16px}
  .hb-content .gap-6,.hb-content .gap-8 {gap:14px}
  .hb-content table,.hb-staff-content table {min-width:570px}
  .hb-content tbody td,.hb-staff-content tbody td {padding:11px 13px!important}
  .hb-nav-search {margin-top:16px}
  .hb-collapse {display:none}
  .hb-staff-header-inner {padding:11px 14px}
  .hb-staff-content {padding:22px 14px 38px!important}
  .hb-metric {min-height:112px!important}
  .hb-metric-grid {gap:13px!important}
  .hb-chart-card {padding:17px!important}
  .hb-command-backdrop {padding-top:9vh}
}
@media(max-width:480px) {
  .hb-topbar-title {font-size:14px}
  .hb-dashboard-heading,.hb-staff-dashboard-heading {padding-bottom:12px}
  .hb-staff-action-grid {gap:12px!important}
  .hb-auth > div:nth-of-type(2) > .bg-white {padding:25px 22px}
}
