@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage_grotesque_2.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage_grotesque_1.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/dm_sans_6.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/dm_sans_5.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm_sans_4.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-apple-canvas: #f5f5f7;
  --color-apple-dark: #1d1d1f;
  --color-apple-graphite: #161617;
  --color-apple-muted: #86868b;
  --color-apple-border: rgba(0, 0, 0, 0.08);
  --color-apple-blue: #0d1d3f;
  --color-apple-blue-hover: #162b54;
  --color-apple-blue-active: #0d1d3f;
  --color-apple-blue-light: rgba(0, 113, 227, 0.08);
  --color-apple-green: #34c759;
  --color-apple-orange: #ff9500;
  --color-apple-red: #ff3b30;

  --font-heading:
    "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --color-navy: #0d1d3f;
  --color-navy-dark: #0d1d3f;
  --color-navy-light: #162b54;
  --color-navy-hover: #1c3566;
  --color-navy-subtle: #f0f4fa;
  --color-navy-tint: #e2eaf6;

  --color-gold: #ce9955;
  --color-gold-bright: #f5d098;
  --color-gold-mid: #d9a166;
  --color-gold-hover: #ba8540;
  --color-gold-light: #fbf4e8;
  --color-gold-border: #e8d3b0;
  --color-gold-gradient: linear-gradient(135deg, #f5d098 0%, #d9a166 45%, #ba8540 100%);
  --color-gold-glow: 0 4px 18px rgba(206, 153, 85, 0.35);

  --color-bg: #f5f5f7;
  --color-bg-alt: #ebebed;
  --color-white: #ffffff;
  --color-charcoal: #1d1d1f;
  --color-text-body: #1d1d1f;
  --color-text-muted: #86868b;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-light: rgba(0, 0, 0, 0.05);

  --color-verified: #0d1d3f;
  --color-verified-gold: #ce9955;
  --color-emerald: #ce9955;
  --color-emerald-light: #fbf4e8;
  --color-forest: #0d1d3f;
  --color-forest-dark: #0d1d3f;
  --color-forest-light: #162b54;
  --color-ivory: #f8f9fc;
  --color-ivory-dark: #f0f4fa;
  --color-charcoal-muted: #5a6a85;

  --color-amber: #c67a18;
  --color-amber-light: #fef6eb;
  --color-red: #c53b34;
  --color-red-light: #fdeeee;
  --color-blue: #0d1d3f;
  --color-blue-light: #f0f4fa;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 980px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 18px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 12px 34px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-glass: 0 8px 32px rgba(13, 29, 63, 0.12);

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms var(--ease-apple);
  --transition-base: 240ms var(--ease-apple);
  --transition-smooth: 350ms var(--ease-apple);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

html {
  font-size: 15px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #0d1d3f #f0f4fa;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f4fa;
}

::-webkit-scrollbar-thumb {
  background: #0d1d3f;
  border-radius: 9999px;
  border: 1px solid #f0f4fa;
  transition: background-color var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: #ce9955;
  border-color: #f8f9fc;
}

body {
  font-family: var(--font-main) !important;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-body);
  background-color: var(--color-bg);
}

p,
span,
li,
td,
label,
input,
select,
textarea {
  font-family: var(--font-main);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-gold-hover);
}

button,
input,
select,
textarea {
  font-size: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.hero-title,
.hero-headline,
.card-title,
.product-title,
.product-title a,
.category-card h3,
.brand-name,
.modal-header h4,
.section-title,
.page-title,
.step-circle,
.step-title,
.dealroom-sidebar h5,
.font-heading,
.stat-value,
.stat-number,
.metric-value,
.price-display,
.btn,
.badge,
.nav-brand,
.table th,
.display-1,
.display-2,
.display-3 {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.025em;
  color: var(--color-charcoal);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.125rem;
}
h4 {
  font-size: 0.95rem;
}
h5 {
  font-size: 0.85rem;
}
h6 {
  font-size: 0.78rem;
}

p {
  margin-bottom: var(--space-4);
}
p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--color-text-muted);
}
.text-navy,
.text-forest {
  color: var(--color-navy) !important;
}
.text-gold,
.text-emerald {
  color: var(--color-gold) !important;
}
.text-gold-bright {
  color: var(--color-gold-bright) !important;
}

.text-gold-gradient {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.text-sm {
  font-size: 0.78rem;
}
.text-xs {
  font-size: 0.7rem;
}
.font-mono {
  font-family: var(--font-mono);
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  width: 100%;
  position: relative;
}

.container,
.container-narrow {
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section-sm {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section-ivory-dark {
  background-color: var(--color-bg-alt);
}

.section-white {
  background-color: var(--color-white);
}

.section-forest,
.section-navy {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  color: #e2e8f4 !important;
}

.section-forest h1,
.section-forest h2,
.section-forest h3,
.section-forest h4,
.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: #ffffff !important;
}

.section-forest .text-muted,
.section-navy .text-muted {
  color: #aec1dc !important;
}

.section-forest a:not(.btn),
.section-navy a:not(.btn) {
  color: var(--color-gold-bright) !important;
}

.section-forest a:not(.btn):hover,
.section-navy a:not(.btn):hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.d-flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.gap-1 {
  gap: var(--space-1);
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1 1 0%;
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-12 {
  grid-template-columns: repeat(12, 1fr);
}

@media (max-width: 992px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .grid-12 {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .grid-12 > [style*="grid-column"] {
    grid-column: span 12 !important;
    width: 100% !important;
  }
  .section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
  .section-sm {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
  .section-sm {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
  }
  h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  h2 {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .card {
    padding: var(--space-4);
    border-radius: var(--radius-sm);
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
  .btn-lg {
    padding: 11px 20px;
    font-size: 0.875rem;
  }
}

.top-notice-bar {
  background-color: #0d1d3f;
  color: #9eafca;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 0;
  white-space: nowrap !important;
}

.top-notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap !important;
  gap: 16px;
}

.top-notice-bar a,
.top-notice-bar span {
  white-space: nowrap !important;
}

.top-notice-bar a {
  color: var(--color-gold-bright) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.top-notice-bar a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.site-header.header-scrolled {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  border-bottom: 1px solid rgba(206, 153, 85, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 78px;
  gap: 16px;
  flex-wrap: nowrap !important;
  width: 100%;
}

.brand-logo,
.logo-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.brand-logo-img,
.logo-img {
  height: 56px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  display: block;
  flex-shrink: 0 !important;
}
.brand-logo:hover .brand-logo-img,
.logo-wrapper:hover .logo-img {
  opacity: 0.95;
  filter: none !important;
  box-shadow: none !important;
}

.admin-sidebar-header .brand-logo-img,
.admin-sidebar-header .logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}

.brand-title-text {
  display: none !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  color: #bacadf;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  white-space: nowrap !important;
  transition: all var(--transition-fast);
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none;
  line-height: 1;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.header-actions .btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.header-user-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px;
  padding: 4px 11px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap !important;
  text-decoration: none;
  flex-shrink: 0 !important;
  transition: all var(--transition-fast);
}
.header-user-badge:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(206, 153, 85, 0.4);
}

.header-user-badge span {
  white-space: nowrap !important;
  display: inline-block !important;
}

.header-user-badge .user-badge-name {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap !important;
}

.header-user-badge .badge {
  padding: 2px 7px;
  font-size: 0.6875rem;
  white-space: nowrap !important;
  border-radius: var(--radius-full);
}

.header-logout-btn {
  color: #a3b5ce !important;
  font-size: 0.78rem;
  padding: 4px 8px;
  white-space: nowrap !important;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  flex-shrink: 0 !important;
}
.header-logout-btn:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.auth-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.auth-dropdown-toggle {
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  font-family: inherit;
  color: var(--color-white);
  border-radius: 6px;
  padding: 6px 8px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}
.auth-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff;
}
.auth-dropdown-toggle:focus {
  outline: none;
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: #aec1dc;
}
.auth-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
}

.auth-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 205px;
  background-color: #0d1d3f;
  border: 1.5px solid rgba(206, 153, 85, 0.45) !important;
  border-radius: 10px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  padding: 5px;
  z-index: 1050;
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.auth-dropdown-wrapper.open .auth-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.auth-dropdown-header {
  padding: 6px 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3px;
}
.auth-user-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auth-user-subtitle {
  color: #8e9fb8;
  font-size: 0.68rem;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-dropdown-section-title {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c7e98;
  padding: 5px 8px 2px;
}

.auth-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 3px 0;
}

.auth-dropdown-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #c0cfe5 !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  box-sizing: border-box;
}
.auth-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.auth-dropdown-item.active-role {
  color: var(--color-gold-bright) !important;
  font-weight: 600;
}

.auth-signout-btn {
  color: #ff8e8e !important;
}
.auth-signout-btn:hover {
  background: rgba(197, 59, 52, 0.16) !important;
  color: #ffffff !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}
.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .header-container {
    height: 66px;
  }
  .brand-logo-img {
    height: 46px;
  }
  .main-nav {
    display: none !important;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #0d1d3f !important;
    background: #0d1d3f !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column !important;
    padding: var(--space-4) var(--space-4);
    gap: var(--space-2);
    align-items: stretch !important;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }
  .main-nav.show {
    display: flex !important;
  }
  .nav-link {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
  }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
  }
  .nav-link.active::after {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-actions {
    gap: 8px;
  }
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .top-notice-bar,
  .top-notice-bar .container,
  .top-notice-bar span,
  .top-notice-bar a {
    white-space: normal !important;
  }
  .top-notice-bar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  .form-control,
  .search-dark-input,
  .search-dark-select {
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 40px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .auth-dropdown-toggle .user-badge-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
  }
  .top-notice-bar {
    padding: 6px 0;
    font-size: 0.7rem;
  }
  .top-notice-bar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .top-notice-bar .d-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px !important;
  }

  .card[style*="padding: var(--space-8)"],
  .card[style*="padding:var(--space-8)"] {
    padding: var(--space-4) !important;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 34px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .btn {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
  .auth-dropdown-toggle {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
  .auth-dropdown-toggle .user-badge-name {
    max-width: 55px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.25;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus,
.btn:focus-visible,
button:focus,
button:focus-visible {
  outline: none !important;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
  border-color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(13, 29, 63, 0.18);
}
.btn-primary:hover {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy-light);
  color: var(--color-white) !important;
  box-shadow: 0 4px 14px rgba(13, 29, 63, 0.25);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--color-gold-gradient);
  color: #08132b !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 10px rgba(206, 153, 85, 0.35);
}
.btn-gold:hover {
  color: #08132b !important;
  box-shadow: 0 4px 16px rgba(206, 153, 85, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy) !important;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: #ffffff;
  border-color: #cbd2df;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: inherit;
}
.btn-ghost:hover {
  background-color: rgba(13, 29, 63, 0.05);
}

.btn-danger {
  background-color: var(--color-red);
  color: var(--color-white) !important;
  border-color: var(--color-red);
}
.btn-danger:hover {
  background-color: #a82e28;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.72rem;
}
.btn-lg {
  padding: 10px 22px;
  font-size: 0.875rem;
}
.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-verified {
  background-color: var(--color-gold-light);
  color: #79521e !important;
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 1px 3px rgba(206, 153, 85, 0.12);
}
.badge-verified::before {
  content: "✓";
  font-weight: 800;
  color: var(--color-gold);
}

.badge-assessed {
  background-color: #ebf1fa;
  color: var(--color-navy) !important;
  border: 1px solid #cfdaec;
}
.badge-assessed::before {
  content: "●";
  font-size: 0.5rem;
  color: var(--color-gold);
}

.badge-review {
  background-color: var(--color-amber-light);
  color: #8c5311 !important;
  border: 1px solid #f0d4af;
}

.badge-needsfix {
  background-color: var(--color-red-light);
  color: var(--color-red) !important;
  border: 1px solid #f5c6c6;
}

.badge-unassessed {
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted) !important;
  border: 1px solid var(--color-border);
}

.badge-gold {
  background: var(--color-gold-gradient);
  color: #08132b !important;
  border: 1px solid #ba8540;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(206, 153, 85, 0.25);
}

.badge-gold-dark {
  background-color: rgba(206, 153, 85, 0.18);
  color: var(--color-gold-bright) !important;
  border: 1px solid rgba(206, 153, 85, 0.45);
}

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: #cbd2df;
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.category-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0f4fa 0%, #e3eaf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-thumb {
  height: 180px;
  background: linear-gradient(135deg, #eff3f9 0%, #e4ebf5 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}
.product-card:hover .product-thumb img {
  transform: scale(1.05);
}
.product-thumb-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 29, 63, 0.05);
  border: 1px solid rgba(13, 29, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  transition: transform var(--transition-base);
}
.product-card:hover .product-thumb-icon {
  transform: scale(1.08);
  color: var(--color-gold);
}
.product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 1.0625rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-supplier {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
  font-size: 0.8125rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.table th {
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background-color: rgba(240, 244, 250, 0.6);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-body);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #8c9bb0;
  opacity: 1;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(13, 29, 63, 0.12);
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.upload-dropzone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  background-color: var(--color-bg);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.upload-dropzone:hover {
  border-color: var(--color-navy);
  background-color: #ebf0f8;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  transition: all var(--transition-fast);
}

.step-item.active .step-circle {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(13, 29, 63, 0.2);
}

.step-item.completed .step-circle {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
  color: #08132b;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.step-item.active .step-label {
  color: var(--color-navy);
}

@media (max-width: 640px) {
  .stepper {
    margin-bottom: var(--space-6);
  }
  .stepper::before {
    top: 15px;
    left: 15px;
    right: 15px;
  }
  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
    margin-bottom: 2px;
  }
  .step-label {
    font-size: 0.625rem;
    max-width: 58px;
    line-height: 1.15;
  }
}

.timeline-list {
  list-style: none;
  position: relative;
  padding-left: var(--space-8);
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 10px;
  width: 2px;
  background-color: var(--color-border);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-6);
}
.timeline-marker {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}
.timeline-item.done .timeline-marker {
  background-color: var(--color-navy);
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.timeline-item.active .timeline-marker {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 19, 43, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
  padding: var(--space-4);
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--color-white);
  border: 1.5px solid #cad5e2 !important;
  border-radius: 16px !important;
  width: 100%;
  max-width: 580px;
  max-height: 86vh;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow:
    0 24px 64px rgba(8, 19, 43, 0.32),
    0 0 0 1px rgba(13, 29, 63, 0.12) !important;
  transform: scale(0.96) translateY(8px);
  transition: transform var(--transition-smooth);
  position: relative;
}

.modal-backdrop.show .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-dialog-lg {
  max-width: 880px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
  flex-shrink: 0 !important;
}

.modal-form-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  margin: 0;
}

.modal-body {
  padding: 20px 22px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(86vh - 130px);
  scrollbar-width: thin;
  scrollbar-color: #0d1d3f #f0f4fa;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f0f4fa;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
  background-color: #0d1d3f;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background-color: #ce9955;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: 14px 22px;
  border-top: 1px solid #e2e8f0;
  background-color: #f8fafd;
  flex-shrink: 0 !important;
}

.modal-close {
  background: rgba(13, 29, 63, 0.06);
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.modal-close:hover {
  background: rgba(13, 29, 63, 0.12);
  color: var(--color-charcoal);
}

@media (max-width: 576px) {
  .modal-backdrop {
    padding: 10px;
  }
  .modal-dialog {
    max-height: 94vh;
    border-radius: 12px !important;
  }
  .modal-header {
    padding: 12px 14px;
  }
  .modal-body {
    padding: 14px;
    max-height: calc(94vh - 110px);
  }
  .modal-footer {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .modal-footer .btn {
    flex: 1 1 auto;
    font-size: 0.8125rem;
    padding: 8px 12px;
  }
}

.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: auto;
  animation: slideIn 240ms var(--ease-apple);
}

.toast-warning {
  border-left-color: var(--color-amber);
}
.toast-error {
  border-left-color: var(--color-red);
}

@media (max-width: 576px) {
  .toast-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
  }
  .toast {
    padding: 10px 14px;
    font-size: 0.8125rem;
    width: 100%;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

html.admin-html,
body.admin-body,
html:has(.admin-shell),
body:has(.admin-shell) {
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.admin-shell {
  display: flex;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: #f5f6f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1e293b;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", var(--font-body), system-ui,
    sans-serif;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar {
  width: 260px;
  height: 100vh;
  max-height: 100vh;
  background: #0d1d3f;
  color: #8e9db8;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 120;
  transition:
    margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-shell.sidebar-collapsed .admin-sidebar {
  margin-left: -260px !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.sidebar-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: #64748b;
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
  background: #f1f3f7;
  color: #0d1d3f;
}

.sidebar-toggle-btn:active {
  transform: scale(0.95);
}

.admin-sidebar .sidebar-toggle-btn {
  border-color: rgba(255, 255, 255, 0.08);
  color: #8e9db8;
}

.admin-sidebar .sidebar-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-sidebar-logout {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 980px;
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.btn-sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.btn-sidebar-logout:active {
  transform: scale(0.98);
}

.admin-sidebar-header {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar a {
  color: #8e9db8 !important;
  text-decoration: none;
}
.admin-sidebar a:hover {
  color: #ffffff !important;
}

.admin-nav {
  padding: 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #8e9db8 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: none;
}

.admin-nav-item svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  transform: none;
}
.admin-nav-item:hover svg {
  opacity: 1;
  stroke: #ffffff;
}

.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  border-left: none;
}
.admin-nav-item.active svg {
  opacity: 1;
  stroke: #e5b26e;
}

.admin-sidebar-user {
  padding: 12px 14px;
  margin: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #8e9db8;
}

.admin-main {
  flex: 1;
  height: 100vh;
  max-height: 100vh;
  background-color: #f5f6f9;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.admin-topbar h2,
.admin-topbar h1,
.admin-topbar h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--font-display, "Bricolage Grotesque"),
    sans-serif;
  color: #0d1d3f;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.admin-content {
  padding: 28px 32px 48px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.admin-content .card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 16px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.admin-content .card:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 10px 28px -4px rgba(0, 0, 0, 0.06);
}

.admin-content .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 16px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 10px 28px -4px rgba(0, 0, 0, 0.06);
}

.admin-stat-card .uppercase {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #64748b;
}

.admin-stat-number {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--font-display, "Bricolage Grotesque"),
    sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0d1d3f;
  line-height: 1.1;
  margin: 8px 0 6px;
}

.admin-content .table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0;
  border: 1px solid #cbd0db !important;
  box-shadow: none !important;
}

.admin-content .table thead th {
  background-color: #f1f4f9 !important;
  color: #0d1d3f !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 16px !important;
  border: 1px solid #cbd0db !important;
}

.admin-content .table tbody td {
  padding: 12px 16px !important;
  border: 1px solid #e2e6ee !important;
  color: #1e293b !important;
  vertical-align: middle !important;
  font-size: 0.8125rem !important;
}

.admin-content .table tbody tr:hover td {
  background-color: rgba(248, 250, 253, 0.85);
}

.admin-content .table-responsive,
.card .table-responsive,
.admin-card .table-responsive {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow-x: auto;
  box-shadow: none !important;
}

.admin-shell .btn {
  border-radius: 9px;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.admin-shell .btn:active {
  transform: scale(0.98);
}
.admin-shell .btn-primary {
  background: linear-gradient(180deg, #d4a360 0%, #c49148 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 1px 2px rgba(197, 146, 71, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.admin-shell .btn-primary:hover {
  background: linear-gradient(180deg, #dea966 0%, #ce9955 100%);
  box-shadow:
    0 2px 6px rgba(197, 146, 71, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.admin-shell .btn-secondary {
  background: #f1f3f7;
  color: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.admin-shell .btn-secondary:hover {
  background: #e5e9f0;
  color: #0d1d3f;
}

.admin-shell .badge {
  border-radius: 980px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-shell .badge-verified {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.admin-shell .badge-gold {
  background: rgba(206, 153, 85, 0.12);
  color: #8a5f23;
  border: 1px solid rgba(206, 153, 85, 0.22);
}
.admin-shell .badge-assessed {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.admin-shell .badge-review {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.admin-shell .badge-needsfix {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.admin-shell .badge-unassessed {
  background: #f1f3f7;
  color: #64748b;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 992px) {
  html.admin-html,
  body.admin-body,
  html:has(.admin-shell),
  body:has(.admin-shell) {
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
  }
  .admin-shell {
    height: auto;
    max-height: none;
    overflow: visible;
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    max-height: none;
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .admin-main {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .admin-topbar {
    position: sticky;
    top: 0;
  }
  .admin-sidebar-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px 14px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-nav-item {
    margin: 0;
    padding: 8px 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 9px;
  }
  .admin-sidebar-user {
    display: none;
  }
  .admin-topbar {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-content {
    padding: 18px 14px;
  }
}

.dataTables_wrapper {
  font-size: 0.8125rem;
  color: #334155;
  padding: 12px 0 6px;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #64748b;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  background-color: #f1f3f7;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  background-color: #f1f3f7;
  color: #0f172a;
  outline: none;
  min-width: 240px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  background-color: #ffffff;
  border-color: #ce9955;
  box-shadow: 0 0 0 3px rgba(206, 153, 85, 0.22);
}

.dataTables_wrapper .dataTables_info {
  padding-top: 14px;
  font-size: 0.75rem;
  color: #64748b;
}

.dataTables_wrapper .dataTables_paginate {
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f1f3f7 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0d1d3f !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #0d1d3f !important;
  border-color: #0d1d3f !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(13, 29, 63, 0.2);
  font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: #f8fafd !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
  color: #94a3b8 !important;
}

table.dataTable,
table.dataTable.no-footer,
table.dataTable.display {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 12px 0 !important;
  border: 1px solid #cbd0db !important;
  box-shadow: none !important;
}

table.dataTable thead th,
table.dataTable thead td {
  background-color: #f1f4f9 !important;
  color: #0d1d3f !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 9px 12px !important;
  border: 1px solid #cbd0db !important;
}

table.dataTable tbody td,
table.dataTable.display tbody td {
  padding: 9px 12px !important;
  border: 1px solid #e2e6ee !important;
  color: #1e293b !important;
  vertical-align: middle !important;
  font-size: 0.8125rem !important;
}

table.dataTable tbody tr:hover td {
  background-color: rgba(248, 250, 253, 0.9) !important;
}

.dataTables_wrapper,
.dataTables_wrapper.no-footer,
.dataTables_wrapper .dataTables_scrollHead,
.dataTables_wrapper .dataTables_scrollBody {
  border: none !important;
  box-shadow: none !important;
}

.rbac-role-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 12px center;
  padding: 7px 32px 7px 14px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d1d3f;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.rbac-role-select:focus {
  border-color: #ce9955;
  box-shadow: 0 0 0 3px rgba(206, 153, 85, 0.22);
}

.rbac-banner {
  display: none !important;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-list-item:hover {
  background-color: #f8fafd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.admin-shell .form-control {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background-color: #f8fafd;
  padding: 9px 14px;
  font-size: 0.8125rem;
  color: #0f172a;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-shell .form-control:focus {
  background-color: #ffffff;
  border-color: #ce9955;
  box-shadow: 0 0 0 3px rgba(206, 153, 85, 0.22);
  outline: none;
}

.admin-shell .modal-backdrop,
body:has(.admin-shell) .modal-backdrop {
  background: rgba(13, 29, 63, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-shell .modal-dialog,
body:has(.admin-shell) .modal-dialog {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  background: #ffffff;
}

.admin-shell .modal-header,
body:has(.admin-shell) .modal-header {
  background: #f8fafd;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 24px;
}

.admin-shell .modal-close,
body:has(.admin-shell) .modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e9f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-shell .modal-close:hover,
body:has(.admin-shell) .modal-close:hover {
  background: #d9dfe8;
  color: #0f172a;
}

.admin-shell *::-webkit-scrollbar,
.admin-sidebar::-webkit-scrollbar,
.admin-main::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.admin-shell *::-webkit-scrollbar-track,
.admin-sidebar::-webkit-scrollbar-track,
.admin-main::-webkit-scrollbar-track {
  background: transparent;
}

.admin-shell *::-webkit-scrollbar-thumb,
.admin-sidebar::-webkit-scrollbar-thumb,
.admin-main::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 980px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}

.admin-shell *::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.26);
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.dealroom-container {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-height: 600px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dealroom-sidebar {
  border-right: 1px solid var(--color-border-light);
  padding: var(--space-5);
  background-color: var(--color-bg);
}

.dealroom-chat {
  display: flex;
  flex-direction: column;
}

.dealroom-messages {
  flex: 1;
  padding: var(--space-5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.dealroom-composer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-bg);
}

.offer-card-pinned {
  background-color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.site-footer {
  background-color: var(--color-navy-dark);
  color: #c0cfe5;
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  color: #9db0cc;
  line-height: 1.6;
}

.site-footer .text-xs,
.site-footer .text-muted {
  color: #9db0cc !important;
}

.site-footer a {
  color: #c0cfe5 !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: var(--color-gold-bright) !important;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-col h5 {
  color: var(--color-white) !important;
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: #c0cfe5 !important;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold-bright) !important;
  text-decoration: underline;
}

.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: var(--space-4) !important;
  padding-top: var(--space-6) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 0.75rem !important;
  color: #9db0cc !important;
  padding-right: 90px !important;
}

.footer-copyright {
  flex: 1 1 300px;
  text-align: left;
}

.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: var(--space-4) !important;
  flex: 0 1 auto;
  flex-wrap: wrap !important;
}

.footer-legal-links a {
  color: #c0cfe5 !important;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 4px 6px;
}

.footer-legal-links a:hover {
  color: var(--color-gold-bright) !important;
  text-decoration: underline;
}

.back-to-top-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: #c0cfe5 !important;
  padding: 4px 12px 4px 14px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  margin-left: 6px !important;
  flex-shrink: 0 !important;
}

.back-to-top-btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

.back-to-top-btn:active {
  transform: scale(0.96) !important;
}

.back-to-top-btn svg {
  display: inline-block;
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

.footer-bottom a {
  color: #c0cfe5 !important;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 2px 4px;
}

.footer-bottom a:hover {
  color: var(--color-gold-bright) !important;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: var(--space-4) !important;
  }
  .footer-copyright,
  .footer-legal-links,
  .footer-bottom-right {
    flex: initial !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .dealroom-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

.hero-navy-grid {
  background-color: #0d1d3f;
  background-image:
    radial-gradient(rgba(206, 153, 85, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #0d1d3f 0%, #0d1d3f 100%);
  background-size:
    28px 28px,
    100% 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-navy-grid > .container {
  width: 100%;
}

@media (min-width: 992px) {
  .hero-navy-grid {
    min-height: calc(100vh - 92px);
    min-height: calc(100dvh - 92px);
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
}

.hero-navy-grid::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(206, 153, 85, 0.14) 0%, rgba(13, 29, 63, 0) 70%);
  pointer-events: none;
}

.hero-search-card {
  background: #0d1d3f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 32px 30px 24px 30px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.hero-search-card:hover {
  border-color: rgba(206, 153, 85, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(206, 153, 85, 0.16);
}

.hero-search-title {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.25;
}

.hero-search-subtitle {
  color: #aec1dc;
  font-size: 0.8125rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.search-field-group {
  margin-bottom: 14px;
}

.search-field-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c0cfe5;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.search-dark-input,
.search-dark-select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 0.84rem;
  color: #ffffff;
  font-family: var(--font-main);
  transition: all var(--transition-fast);
}

.search-dark-input::placeholder {
  color: #7285a5;
  opacity: 1;
}

.search-dark-input:focus,
.search-dark-select:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: #162b54;
  box-shadow: 0 0 0 3px rgba(206, 153, 85, 0.25);
}

.search-dark-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C0CFE5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.search-dark-select option {
  background-color: #0d1d3f;
  color: #ffffff;
  padding: 6px 10px;
}

.search-dark-select option:checked {
  background-color: #162b54;
  color: var(--color-gold-bright);
}

.search-btn-gold {
  width: 100%;
  background: var(--color-gold-gradient);
  color: #08132b !important;
  font-family: var(--font-heading) !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(206, 153, 85, 0.35);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.search-btn-gold:hover {
  box-shadow: 0 6px 24px rgba(206, 153, 85, 0.55);
  transform: translateY(-1px);
  color: #08132b !important;
}

.search-btn-gold:active {
  transform: scale(0.98);
}

.hero-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.hero-search-footer span {
  color: #8c9fb8;
}

.hero-search-footer a {
  color: var(--color-gold-bright) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.hero-search-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.whatsapp-float-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

.whatsapp-float-btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .hero-search-card {
    padding: 20px 16px 18px 16px;
    border-radius: 16px;
  }
  .whatsapp-float-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
  }
}

.video-section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.video-wrapper-card {
  background: #0d1d3f;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 29, 63, 0.12);
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 580px;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.video-wrapper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(13, 29, 63, 0.2);
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-wrapper-card:hover .video-thumbnail-img {
  transform: scale(1.025);
}

.video-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(13, 29, 63, 0.15) 0%,
    rgba(13, 29, 63, 0.55) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-wrapper-card:hover .video-thumbnail-overlay {
  background: radial-gradient(
    circle at center,
    rgba(13, 29, 63, 0.05) 0%,
    rgba(13, 29, 63, 0.42) 100%
  );
}

.video-play-btn-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1d3f;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.video-wrapper-card:hover .video-play-btn-circle {
  transform: scale(1.12);
  background: #ffffff;
  color: var(--color-gold);
  box-shadow: 0 14px 40px rgba(206, 153, 85, 0.45);
}

.video-play-btn-circle svg {
  margin-left: 4px;
}

@media (max-width: 768px) {
  .video-play-btn-circle {
    width: 60px;
    height: 60px;
  }
  .video-play-btn-circle svg {
    width: 22px;
    height: 22px;
  }
}

.product-visualizer-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: start !important;
}

.product-sticky-col {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 76px !important;
  align-self: start !important;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #0d1d3f #f0f4fa;
  padding-right: 2px;
}

.product-sticky-col::-webkit-scrollbar {
  width: 4px;
}
.product-sticky-col::-webkit-scrollbar-track {
  background: #f0f4fa;
}
.product-sticky-col::-webkit-scrollbar-thumb {
  background: #0d1d3f;
  border-radius: 4px;
}
.product-sticky-col::-webkit-scrollbar-thumb:hover {
  background: #ce9955;
}

.product-scroll-col {
  min-width: 0;
}

@media (max-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .product-sticky-col {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0;
  }
}

.visualizer-stage {
  height: 360px;
  background: radial-gradient(circle at 50% 40%, #15274d 0%, #0d1d3f 100%);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.visualizer-stage-light {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f4fa 100%);
}

.visualizer-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 29, 63, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
  z-index: 5;
}

.visualizer-badge-bottom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(13, 29, 63, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(206, 153, 85, 0.4);
  color: var(--color-gold-bright);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 5;
}

.visualizer-tab-btn {
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  flex: 1;
}

.visualizer-tab-btn:hover {
  border-color: rgba(206, 153, 85, 0.6);
  background: #fcfdfe;
}

.visualizer-tab-btn.active {
  border-color: var(--color-gold);
  background: #fdf9f2;
  box-shadow: 0 0 0 1px var(--color-gold);
}

.visualizer-tab-btn .tab-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-navy);
}

.visualizer-tab-btn .tab-desc {
  font-size: 0.625rem;
  color: var(--color-charcoal-muted);
}

.tier-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.tier-price-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  transition: all var(--transition-fast);
}

.tier-price-card.highlight {
  border-color: var(--color-gold);
  background: #fffdf9;
}

.tier-price-card .tier-qty {
  font-size: 0.6875rem;
  color: var(--color-charcoal-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tier-price-card .tier-rate {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 2px;
}

.evidence-ledger-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.evidence-ledger-item:hover {
  border-color: var(--color-border);
  background: #fafcfe;
}

@media (max-width: 768px) {
  #visualizerTabGroup {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .visualizer-stage {
    height: 250px;
  }
  .tier-price-grid {
    grid-template-columns: 1fr !important;
  }
}

*,
*::before,
*::after,
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
label,
li,
button,
input,
select,
textarea,
.btn,
.badge,
.card,
.table,
.admin-shell,
.admin-sidebar,
.admin-topbar,
.admin-content,
.dataTables_wrapper,
.dataTables_wrapper input,
.dataTables_wrapper select {
  font-family:
    "Bricolage Grotesque",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

body {
  background-color: var(--color-bg) !important;
  color: #1d1d1f !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  letter-spacing: -0.01em !important;
}

h1 {
  letter-spacing: -0.035em !important;
}
h2 {
  letter-spacing: -0.028em !important;
}
h3 {
  letter-spacing: -0.022em !important;
}
h4 {
  letter-spacing: -0.016em !important;
}
h5,
h6 {
  letter-spacing: -0.012em !important;
}

.site-header {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header.header-scrolled {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  border-bottom: 1px solid rgba(206, 153, 85, 0.28) !important;
}

.top-notice-bar {
  background-color: #0d1d3f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hero-navy-grid {
  background-color: #0d1d3f !important;
}

.hero-search-card {
  background-color: #0d1d3f !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.search-dark-input,
.search-dark-select {
  background-color: #0d1d3f !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.nav-link {
  border-radius: 980px !important;
  padding: 6px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.18s ease !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  font-weight: 500 !important;
}

.nav-link.active::after {
  display: none !important;
}

.btn {
  border-radius: 980px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  padding: 9px 20px !important;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.btn-sm {
  padding: 6px 15px !important;
  font-size: 0.8125rem !important;
}

.btn-xs {
  padding: 4px 11px !important;
  font-size: 0.75rem !important;
}

.btn-lg {
  padding: 13px 28px !important;
  font-size: 1rem !important;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary,
.btn-navy {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  color: #ffffff !important;
  border: 1px solid #0d1d3f !important;
  box-shadow: 0 2px 8px rgba(13, 29, 63, 0.25) !important;
}

.btn-primary:hover,
.btn-navy:hover {
  background-color: #162b54 !important;
  background: #162b54 !important;
  border-color: #ce9955 !important;
  box-shadow: 0 4px 14px rgba(13, 29, 63, 0.35) !important;
  transform: translateY(-1px) !important;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #1d1d1f !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  transform: translateY(-1px) !important;
}

.btn-gold {
  background: linear-gradient(135deg, #c5a059 0%, #b38b42 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.32) !important;
}

.btn-gold:hover {
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.48) !important;
  transform: translateY(-1px) !important;
}

.card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow:
    0 4px 20px -2px rgba(0, 0, 0, 0.04),
    0 2px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.card.card-navy,
.card.card-forest,
.card.card-dark,
.card[style*="var(--color-forest)"],
.card[style*="#0D1D3F"],
.card[style*="#0d1d3f"] {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 30px rgba(13, 29, 63, 0.25) !important;
}

.card.card-navy h1,
.card.card-navy h2,
.card.card-navy h3,
.card.card-navy h4,
.card.card-navy h5,
.card.card-forest h1,
.card.card-forest h2,
.card.card-forest h3,
.card.card-forest h4,
.card.card-forest h5,
.card.card-dark h1,
.card.card-dark h2,
.card.card-dark h3,
.card.card-dark h4,
.card.card-dark h5,
.card[style*="var(--color-forest)"] h1,
.card[style*="var(--color-forest)"] h2,
.card[style*="var(--color-forest)"] h3,
.card[style*="var(--color-forest)"] h4,
.card[style*="var(--color-forest)"] h5,
.card[style*="#0D1D3F"] h1,
.card[style*="#0D1D3F"] h2,
.card[style*="#0D1D3F"] h3,
.card[style*="#0D1D3F"] h4,
.card[style*="#0D1D3F"] h5,
.card[style*="#0d1d3f"] h1,
.card[style*="#0d1d3f"] h2,
.card[style*="#0d1d3f"] h3,
.card[style*="#0d1d3f"] h4,
.card[style*="#0d1d3f"] h5 {
  color: #ffffff !important;
}

.card.card-navy p,
.card.card-forest p,
.card.card-dark p,
.card[style*="var(--color-forest)"] p,
.card[style*="#0D1D3F"] p,
.card[style*="#0d1d3f"] p {
  color: #e2e8f4 !important;
}

.card.card-navy li,
.card.card-forest li,
.card.card-dark li,
.card[style*="var(--color-forest)"] li,
.card[style*="#0D1D3F"] li,
.card[style*="#0d1d3f"] li {
  color: #ffffff !important;
}

.card.card-navy strong,
.card.card-forest strong,
.card.card-dark strong,
.card[style*="var(--color-forest)"] strong,
.card[style*="#0D1D3F"] strong,
.card[style*="#0d1d3f"] strong {
  color: #ffffff !important;
}

.card.card-navy .text-muted,
.card.card-forest .text-muted,
.card.card-dark .text-muted,
.card[style*="var(--color-forest)"] .text-muted,
.card[style*="#0D1D3F"] .text-muted,
.card[style*="#0d1d3f"] .text-muted {
  color: #aec1dc !important;
}

.card.card-navy .btn-secondary,
.card.card-forest .btn-secondary,
.card.card-dark .btn-secondary,
.card[style*="var(--color-forest)"] .btn-secondary,
.card[style*="#0D1D3F"] .btn-secondary,
.card[style*="#0d1d3f"] .btn-secondary {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.card.card-navy .btn-secondary:hover,
.card.card-forest .btn-secondary:hover,
.card.card-dark .btn-secondary:hover,
.card[style*="var(--color-forest)"] .btn-secondary:hover,
.card[style*="#0D1D3F"] .btn-secondary:hover,
.card[style*="#0d1d3f"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.card.card-navy .btn-primary,
.card.card-forest .btn-primary,
.card.card-dark .btn-primary,
.card[style*="var(--color-forest)"] .btn-primary,
.card[style*="#0D1D3F"] .btn-primary,
.card[style*="#0d1d3f"] .btn-primary {
  background: #ffffff !important;
  color: #0d1d3f !important;
  border: 1.5px solid #ffffff !important;
  font-weight: 700 !important;
}

.card.card-navy .badge-verified,
.card.card-forest .badge-verified,
.card.card-dark .badge-verified,
.card[style*="var(--color-forest)"] .badge-verified,
.card[style*="#0D1D3F"] .badge-verified,
.card[style*="#0d1d3f"] .badge-verified {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
}

.card:hover {
  box-shadow:
    0 14px 34px -4px rgba(0, 0, 0, 0.08),
    0 4px 12px -2px rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.09) !important;
}

.category-card,
.product-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.badge {
  border-radius: 980px !important;
  padding: 4px 12px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-width: 1px !important;
  border-style: solid !important;
}

.badge-verified {
  background: rgba(52, 199, 89, 0.12) !important;
  color: #1b8738 !important;
  border-color: rgba(52, 199, 89, 0.25) !important;
}

.badge-assessed {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  color: #f5d098 !important;
  border-color: rgba(206, 153, 85, 0.4) !important;
}

.badge-gold {
  background: rgba(197, 160, 89, 0.14) !important;
  color: #8e681c !important;
  border-color: rgba(197, 160, 89, 0.3) !important;
}

.badge-review {
  background: rgba(255, 149, 0, 0.12) !important;
  color: #c46800 !important;
  border-color: rgba(255, 149, 0, 0.25) !important;
}

.badge-needsfix {
  background: rgba(255, 59, 48, 0.1) !important;
  color: #d70015 !important;
  border-color: rgba(255, 59, 48, 0.22) !important;
}

.badge-unassessed {
  background: rgba(142, 142, 147, 0.12) !important;
  color: #636366 !important;
  border-color: rgba(142, 142, 147, 0.25) !important;
}

.admin-shell {
  background-color: #f5f5f7 !important;
}

.admin-sidebar {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 24px 20px 20px !important;
}

.admin-nav-item {
  border-radius: 12px !important;
  margin: 3px 10px !important;
  padding: 9px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #8e9db8 !important;
  transition: all 0.15s ease !important;
  border-left: none !important;
}

.admin-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.admin-nav-item.active {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.admin-sidebar-user {
  margin: 12px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 16px 32px !important;
}

.admin-content {
  background: #f5f5f7 !important;
  padding: 32px 32px 48px !important;
}

.admin-stat-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  padding: 22px 24px !important;
}

.admin-stat-number {
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  color: #0d1d3f !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #d2d2d7 !important;
  font-size: 0.9375rem !important;
  padding: 10px 14px !important;
  color: #1d1d1f !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0d1d3f !important;
  box-shadow: 0 0 0 3px rgba(13, 29, 63, 0.2) !important;
  outline: none !important;
  background: #ffffff !important;
}

.dataTables_wrapper {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 !important;
  margin-top: 6px !important;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 980px !important;
  padding: 7px 18px !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-size: 0.8125rem !important;
  color: #1d1d1f !important;
  min-width: 220px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  background: #ffffff !important;
  border-color: #0d1d3f !important;
  box-shadow: 0 0 0 3px rgba(13, 29, 63, 0.2) !important;
}

.dataTables_wrapper .dataTables_length select {
  border-radius: 980px !important;
  padding: 6px 14px !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-size: 0.8125rem !important;
  color: #1d1d1f !important;
  outline: none !important;
}

.dataTables_wrapper .dataTables_length select:focus {
  background: #ffffff !important;
  border-color: #0d1d3f !important;
  box-shadow: 0 0 0 3px rgba(13, 29, 63, 0.2) !important;
}

.dataTables_wrapper table.dataTable thead th {
  background-color: #fafafc !important;
  color: #86868b !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.dataTables_wrapper table.dataTable tbody td {
  padding: 15px 18px !important;
  font-size: 0.875rem !important;
  color: #1d1d1f !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: background-color 0.15s ease !important;
}

.dataTables_wrapper table.dataTable tbody tr:hover td {
  background-color: #f5f5f7 !important;
}

.dataTables_wrapper .dataTables_info {
  font-size: 0.8125rem !important;
  color: #86868b !important;
  padding-top: 14px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 980px !important;
  padding: 5px 12px !important;
  font-size: 0.8125rem !important;
  margin: 0 2px !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #1d1d1f !important;
  border-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #0d1d3f !important;
  background: #0d1d3f !important;
  color: #ffffff !important;
  border-color: #0d1d3f !important;
  border-radius: 980px !important;
}

.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(13, 29, 63, 0.55) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
  padding: 24px 16px !important;
  box-sizing: border-box !important;
}

.modal-overlay[style*="display: none"],
.modal-overlay[style*="display:none"] {
  display: none !important;
}

.modal-card {
  position: relative !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.35) !important;
  margin: auto !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.site-footer {
  background-color: #0d1d3f !important;
  color: #c0cfe5 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 0.8125rem !important;
}

.site-footer p {
  color: #9db0cc !important;
  line-height: 1.6;
}

.site-footer .text-xs,
.site-footer .text-muted {
  color: #9db0cc !important;
}

.site-footer h5 {
  color: #ffffff !important;
}

.site-footer a {
  color: #c0cfe5 !important;
  transition: color 0.18s ease !important;
}

.site-footer a:hover {
  color: #f5d098 !important;
  text-decoration: underline;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #9db0cc !important;
}

.site-footer .footer-bottom a {
  color: #c0cfe5 !important;
}

.site-footer .footer-bottom a:hover {
  color: #f5d098 !important;
}

table,
.table,
.admin-content table,
.admin-content .table,
table.dataTable,
table.dataTable.no-footer,
table.dataTable.display,
.dataTables_wrapper table,
.dataTables_wrapper table.dataTable {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: 1px solid #cbd0db !important;
  box-shadow: none !important;
}

table thead th,
.table thead th,
.admin-content table thead th,
.admin-content .table thead th,
table.dataTable thead th,
table.dataTable thead td,
.dataTables_wrapper table thead th,
.dataTables_wrapper table.dataTable thead th {
  background-color: #f1f4f9 !important;
  color: #0d1d3f !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 9px 12px !important;
  border: 1px solid #cbd0db !important;
}

table tbody td,
.table tbody td,
.admin-content table tbody td,
.admin-content .table tbody td,
table.dataTable tbody td,
table.dataTable.display tbody td,
.dataTables_wrapper table tbody td,
.dataTables_wrapper table.dataTable tbody td {
  padding: 9px 12px !important;
  border: 1px solid #e2e6ee !important;
  color: #1e293b !important;
  font-size: 0.8125rem !important;
  vertical-align: middle !important;
}

table tbody tr:hover td,
.table tbody tr:hover td,
.admin-content table tbody tr:hover td,
.admin-content .table tbody tr:hover td,
table.dataTable tbody tr:hover td,
.dataTables_wrapper table tbody tr:hover td,
.dataTables_wrapper table.dataTable tbody tr:hover td {
  background-color: #f8fafd !important;
}

.table-responsive {
  border: none !important;
  border-radius: 0 !important;
  overflow-x: auto !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.table-responsive > table,
.table-responsive > .table {
  border-collapse: collapse !important;
  border: 1px solid #cbd0db !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dataTables_wrapper {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 12px 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.dataTables_wrapper table.dataTable {
  border: 1px solid #cbd0db !important;
  border-collapse: collapse !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dataTables_wrapper table.dataTable th {
  border: 1px solid #cbd0db !important;
  background-color: #f1f4f9 !important;
}

.dataTables_wrapper table.dataTable td {
  border: 1px solid #e2e6ee !important;
}

.card .card-header,
.admin-content .card .card-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.card .dataTables_wrapper,
.admin-content .card .dataTables_wrapper,
.card .table-responsive,
.admin-content .card .table-responsive {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.dataTables_wrapper .dataTables_length {
  padding-left: 0 !important;
  margin-left: 0 !important;
  float: left !important;
}

.dataTables_wrapper .dataTables_filter {
  padding-right: 0 !important;
  margin-right: 0 !important;
  float: right !important;
  text-align: right !important;
}

.dataTables_wrapper .dataTables_info {
  padding-left: 0 !important;
  margin-left: 0 !important;
  float: left !important;
}

.dataTables_wrapper .dataTables_paginate {
  padding-right: 0 !important;
  margin-right: 0 !important;
  float: right !important;
  text-align: right !important;
}

.admin-sidebar-header {
  padding: 20px 18px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.portal-role-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.portal-role-card.role-admin {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.portal-role-card.role-admin .role-indicator-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8) !important;
  flex-shrink: 0 !important;
}

.portal-role-card.role-admin .role-title {
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.portal-role-card.role-admin .role-subtitle {
  color: #94a3b8 !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.portal-role-card.role-buyer {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

.portal-role-card.role-buyer .role-indicator-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #34c759 !important;
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.9) !important;
  flex-shrink: 0 !important;
}

.portal-role-card.role-buyer .role-title {
  color: #34d399 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.portal-role-card.role-buyer .role-subtitle {
  color: #a7f3d0 !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.portal-role-card.role-supplier {
  background: rgba(206, 153, 85, 0.15) !important;
  border: 1px solid rgba(245, 208, 152, 0.4) !important;
  box-shadow: 0 2px 8px rgba(206, 153, 85, 0.18) !important;
}

.portal-role-card.role-supplier .role-indicator-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #f5d098 !important;
  box-shadow: 0 0 10px rgba(245, 208, 152, 0.9) !important;
  flex-shrink: 0 !important;
}

.portal-role-card.role-supplier .role-title {
  color: #f5d098 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.portal-role-card.role-supplier .role-subtitle {
  color: #e2d0b6 !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.portal-role-pill {
  margin-left: auto !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
}

.portal-role-card.role-admin .portal-role-pill {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.portal-role-card.role-buyer .portal-role-pill {
  background: rgba(52, 211, 153, 0.2) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

.portal-role-card.role-supplier .portal-role-pill {
  background: rgba(206, 153, 85, 0.22) !important;
  color: #fde68a !important;
  border: 1px solid rgba(245, 208, 152, 0.4) !important;
}

.footer-compliance-notice {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 16px 22px !important;
  margin-top: var(--space-8) !important;
  margin-bottom: var(--space-6) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.footer-compliance-notice p {
  color: #9db0cc !important;
  font-size: 0.75rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.footer-compliance-notice strong {
  color: #c0cfe5 !important;
  font-weight: 600 !important;
}

.footer-giant-watermark {
  width: 100%;
  margin: 40px 0 20px 0;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-giant-watermark svg {
  width: 100%;
  height: auto;
  max-height: 160px;
  display: block;
}

.footer-giant-watermark text {
  font-family:
    "Bricolage Grotesque",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 115px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  fill: rgba(255, 255, 255, 0.055);
  transition: fill 0.3s ease;
}

.site-footer:hover .footer-giant-watermark text {
  fill: rgba(255, 255, 255, 0.08);
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.faq-accordion-item {
  background: var(--color-white);
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.faq-accordion-item:hover {
  border-color: rgba(206, 153, 85, 0.5) !important;
  box-shadow: 0 6px 18px rgba(13, 29, 63, 0.06);
}

.faq-accordion-item[open] {
  border-color: var(--color-gold) !important;
  box-shadow: 0 8px 24px rgba(206, 153, 85, 0.12);
  outline: none !important;
}

.faq-accordion-item:focus,
.faq-accordion-item:focus-visible,
.faq-accordion-item:focus-within,
details.faq-accordion-item:focus,
details.faq-accordion-item:focus-visible,
details.faq-accordion-item:focus-within {
  outline: none !important;
  border-color: var(--color-gold) !important;
}

.faq-accordion-header {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background-color 0.2s ease;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.faq-accordion-header:focus,
.faq-accordion-header:focus-visible,
.faq-accordion-header:active,
summary.faq-accordion-header:focus,
summary.faq-accordion-header:focus-visible,
summary.faq-accordion-header:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-accordion-header::marker {
  display: none;
}

.faq-accordion-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-accordion-item:hover .faq-accordion-title {
  color: var(--color-navy-light);
}

.faq-accordion-item[open] .faq-accordion-title {
  color: var(--color-navy);
}

.faq-chevron-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-ivory);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.faq-accordion-item:hover .faq-chevron-icon {
  background: var(--color-ivory-dark);
}

.faq-accordion-item[open] .faq-chevron-icon {
  transform: rotate(180deg);
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #08132b;
}

.faq-chevron-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.faq-accordion-body {
  padding: 0 24px 22px 24px;
  animation: faqFadeSlide 0.3s ease-out;
}

.faq-accordion-body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  border-top: 1px solid var(--color-border-light);
  padding-top: 14px;
}

@keyframes faqFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card #trustBadgesTable,
#trustBadgesTable,
table#trustBadgesTable {
  background-color: #ffffff !important;
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
}

.card #trustBadgesTable thead th,
#trustBadgesTable thead th,
table#trustBadgesTable thead th {
  background-color: #f8fafd !important;
  color: #0d1d3f !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 18px !important;
  border: none !important;
  border-bottom: 1px solid #cbd0db !important;
}

.card #trustBadgesTable tbody td,
#trustBadgesTable tbody td,
table#trustBadgesTable tbody td {
  background-color: #ffffff !important;
  padding: 16px 18px !important;
  border: none !important;
  border-bottom: 1px solid #e2e6ee !important;
  color: #1e293b !important;
  vertical-align: middle !important;
  font-size: 0.8125rem !important;
}

.card #trustBadgesTable tbody tr:last-child td,
#trustBadgesTable tbody tr:last-child td,
table#trustBadgesTable tbody tr:last-child td {
  border-bottom: none !important;
}

.card #trustBadgesTable tbody tr:hover td,
#trustBadgesTable tbody tr:hover td,
table#trustBadgesTable tbody tr:hover td {
  background-color: rgba(248, 250, 253, 0.85) !important;
}

@media (min-width: 1025px) {
  .admin-content .table-responsive,
  .admin-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .admin-content table,
  .admin-content .table,
  .admin-card table,
  .admin-card .table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }
  .admin-content .table thead th,
  .admin-card .table thead th {
    padding: 9px 12px !important;
    white-space: normal !important;
  }
  .admin-content .table tbody td,
  .admin-card .table tbody td {
    padding: 9px 12px !important;
    white-space: normal !important;
    word-break: break-word;
  }
  .admin-content .table th:last-child,
  .admin-content .table td:last-child,
  .admin-card .table th:last-child,
  .admin-card .table td:last-child {
    white-space: nowrap !important;
  }
}

.ien-standard-card {
  background: #ffffff;
  border: 1px solid rgba(13, 29, 63, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 12px 32px -4px rgba(13, 29, 63, 0.06),
    0 4px 12px -2px rgba(13, 29, 63, 0.03);
  position: relative;
  overflow: hidden;
}

.ien-standard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold-gradient);
}

.ien-standard-header {
  margin-bottom: 24px;
}

.ien-standard-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-hover);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ien-standard-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.ien-standard-subtitle {
  font-size: 0.8125rem;
  color: var(--color-apple-muted);
  margin: 0;
  line-height: 1.5;
}

.ien-standard-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ien-standard-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--color-apple-canvas);
  border: 1px solid rgba(13, 29, 63, 0.05);
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ien-standard-item:hover {
  background: #ffffff;
  border-color: rgba(206, 153, 85, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 29, 63, 0.06);
}

.ien-standard-index {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(13, 29, 63, 0.1);
  color: var(--color-navy);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.ien-standard-item:hover .ien-standard-index {
  background: var(--color-navy);
  color: var(--color-gold-bright);
  border-color: var(--color-navy);
}

.ien-standard-body {
  flex: 1;
}

.ien-standard-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.ien-standard-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #525f7f;
  margin: 0;
}

/* Site Preloader */
#ienPreloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

#ienPreloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ien-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(13, 29, 63, 0.12);
  border-top-color: #ce9955;
  border-radius: 50%;
  animation: ienSpin 0.75s linear infinite;
}

@keyframes ienSpin {
  to {
    transform: rotate(360deg);
  }
}
