/* ==========================================================================
   CRIZANT INNOVATIONS PRIVATE LIMITED — BRAND DESIGN SYSTEM (v1.0)
   Product: Crizant Shield™ — Enterprise Life Insurance FRMU & Graph Platform
   Brand Guidelines Compliance:
   - Canvas: Pure White (#FFFFFF) with Mist-100 (#F3F6F9) & Slate-100 surfaces
   - Palette: Navy-900 (#0A2240), Blue-600 (#0057D9), Cyan-400 (#00A9EF)
   - Typography: Saira (Headings/Display), IBM Plex Sans (Body), IBM Plex Mono (Eyebrows)
   - Layout: Precision 8pt grid, zero-wrap financial tables, responsive mobile frame
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     Crizant Core Brand Colors (Per Brand Guidelines v1.0)
     ------------------------------------------------------------------------ */
  --crizant-navy-900: #0A2240; /* Primary brand dark, wordmark, display */
  --crizant-navy-800: #0E2B52;
  --crizant-navy-700: #12386B; /* Secondary dark, hover state */
  --crizant-blue-600: #0057D9; /* Primary action, links, icon fills */
  --crizant-blue-500: #0080F0; /* Gradient midtone, chart accents */
  --crizant-cyan-400: #00A9EF; /* Accent, highlights, mark dispersing pixels */
  --crizant-ice-200:  #B9E4FA; /* Tints, chart fills, soft accents */
  --crizant-ice-050:  #EAF6FE; /* Light accent surface */
  --crizant-slate-600:#5A6675; /* Muted body text on light */
  --crizant-slate-400:#8A98A8;
  --crizant-slate-300:#C7D0DA; /* Hairline borders, dividers */
  --crizant-slate-200:#E2E8F0;
  --crizant-slate-100:#EEF2F6; /* Subtle control fills */
  --crizant-mist-100: #F3F6F9; /* Page tint & soft card headers */
  --crizant-white:    #FFFFFF; /* Base canvas surface */

  /* Semantic Alert System (IRDAI Risk Levels) */
  --crizant-red:       #D92D20;
  --crizant-red-bg:    #FEF3F2;
  --crizant-red-border:#FECDCA;
  
  --crizant-amber:       #B54708;
  --crizant-amber-bg:    #FFFAEB;
  --crizant-amber-border:#FEDF89;
  
  --crizant-green:       #027A48;
  --crizant-green-bg:    #ECFDF3;
  --crizant-green-border:#A6F4C5;
  
  --crizant-purple:       #6941C6;
  --crizant-purple-bg:    #F9F5FF;
  --crizant-purple-border:#E9D7FE;

  /* Official Mark Gradient (135° navy-900 -> blue-600 -> cyan-400) */
  --crizant-mark-gradient: linear-gradient(135deg, #0A2240 0%, #0057D9 52%, #00A9EF 100%);

  /* Aliases for semantic mapping (Strict Brand Guidelines v1.0 Section 05) */
  --text-main:     var(--crizant-navy-900);
  --text-body:     var(--crizant-navy-900);
  --text-muted:    var(--crizant-slate-600);
  --text-light:    var(--crizant-slate-400);
  --border-color:  var(--crizant-slate-300);
  --border-strong: var(--crizant-slate-300);
  --bg-subtle:     var(--crizant-mist-100);
  --crizant-blue:  var(--crizant-blue-600);
  --red-text:      var(--crizant-red);
  --amber-text:    var(--crizant-amber);
  --green-text:    var(--crizant-green);
  --purple-text:   var(--crizant-purple);

  /* ------------------------------------------------------------------------
     Typography Stacks (Per Brand Guidelines v1.0 Section 06)
     ------------------------------------------------------------------------ */
  --font-display: 'Saira', 'Poppins', -apple-system, sans-serif;
  --font-heading: 'Saira', 'Poppins', -apple-system, sans-serif;
  --font-sans:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* ------------------------------------------------------------------------
     Spacing Scale (Per Brand Guidelines v1.0 Section 07)
     ------------------------------------------------------------------------ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;

  /* Radii (Per Brand Guidelines v1.0 Section 07 — Three radii cover every component) */
  --radius-sm:   4px;   /* chips, tags */
  --radius-md:   8px;   /* buttons, cards */
  --radius-lg:   8px;   /* mapped to --radius-md (8px) per Section 07 */
  --radius-xl:   8px;   /* mapped to --radius-md (8px) per Section 07 */
  --radius-pill: 999px; /* pills, badges */

  /* Shadows (Refined Layered Elevation) */
  --shadow-sm:     0 1px 2px rgba(10, 34, 64, 0.04);
  --shadow-card:   0 1px 3px rgba(10, 34, 64, 0.05), 0 1px 2px rgba(10, 34, 64, 0.03);
  --shadow-hover:  0 6px 16px rgba(10, 34, 64, 0.08), 0 2px 4px rgba(10, 34, 64, 0.03);
  --shadow-modal:  0 20px 48px rgba(10, 34, 64, 0.16), 0 8px 16px rgba(10, 34, 64, 0.08);
  --shadow-drawer: -12px 0 40px rgba(10, 34, 64, 0.14);
}

/* ==========================================================================
   RESET & BASE STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #FFFFFF !important;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TOPBAR NAVIGATION (CRISP, ELEVATED & PROFESSIONAL)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  min-height: 72px;
  height: auto;
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 72px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

/* Official Crizant Brand Lockup (Section 03 & 04: Mark + Vertical Rule + Wordmark + Tagline) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 120px; /* Section 04: Full lockup >= 120px wide on screen */
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-mark-svg {
  width: 36px;
  height: 36px;
  min-width: 24px;  /* Section 04: Mark alone >= 24px */
  min-height: 24px;
  flex-shrink: 0;
}

.brand-lockup-divider {
  width: 1.5px;
  height: 30px;
  background: var(--crizant-slate-300);
  flex-shrink: 0;
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
}

.brand-wordmark-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--crizant-navy-900);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.brand-a-cyan {
  position: relative;
  display: inline-block;
}

.brand-a-cyan::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 2.6px solid transparent;
  border-right: 2.6px solid transparent;
  border-bottom: 4.5px solid var(--crizant-cyan-400);
  pointer-events: none;
}

.brand-suite-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--crizant-blue-600);
  background: var(--crizant-ice-050);
  border: 1px solid var(--crizant-ice-200);
  border-radius: var(--radius-sm);
  padding: 1px 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-org {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--crizant-slate-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.brand-tagline-rule {
  display: inline-block;
  width: 8px;
  height: 1.5px;
  background: var(--crizant-cyan-400);
  flex-shrink: 0;
}

/* Section 07 Official Line Iconography Chips (2px stroke on blue-600 or cyan-400) */
.crizant-icon-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crizant-icon-chip svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.crizant-icon-chip-blue {
  background: var(--crizant-blue-600);
  color: var(--crizant-white); /* 6.24:1 AA pass */
}
.crizant-icon-chip-cyan {
  background: var(--crizant-cyan-400);
  color: var(--crizant-navy-900); /* 6.02:1 AA pass — NEVER white on cyan-400 */
}

/* Workspace Segmented Navigation Pills (Hybrid Top-3 + ☰ More Dropdown) */
.nav-pills {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3px;
  background: var(--crizant-mist-100);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: visible !important;
  flex: 0 0 auto;
  min-width: 0;
  position: relative;
}

@media (max-width: 1080px) {
  .nav-pills {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    flex-wrap: wrap;
  }
}

.nav-pill {
  border: none;
  background: transparent;
  padding: 6px 13px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--crizant-slate-600);
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-pill-icon {
  font-size: 13px;
  line-height: 1;
}

.nav-pill:hover {
  color: var(--crizant-navy-900);
  background: rgba(255, 255, 255, 0.72);
}

.nav-pill.active {
  background: #FFFFFF;
  color: var(--crizant-blue-600);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(10, 34, 64, 0.08);
}

/* Divider & [ ☰ More ] Hamburger Dropdown */
.nav-pill-divider {
  width: 1px;
  height: 18px;
  background: #CBD5E1;
  margin: 0 2px;
  flex-shrink: 0;
}

.nav-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more-trigger {
  gap: 7px;
  padding: 6px 12px;
}

.nav-hamburger-svg {
  flex-shrink: 0;
  color: currentColor;
}

.nav-more-caret {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.nav-more-wrap.open .nav-more-caret {
  transform: rotate(180deg);
}

.nav-more-wrap.open .nav-more-trigger {
  background: #FFFFFF;
  color: var(--crizant-navy-900);
  box-shadow: 0 1px 3px rgba(10, 34, 64, 0.08);
}

.nav-more-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  max-height: 75vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--crizant-slate-300);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(10, 34, 64, 0.14), 0 4px 12px rgba(10, 34, 64, 0.06);
  z-index: 260;
  flex-direction: column;
  gap: 3px;
  animation: navDropdownIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-more-wrap.open .nav-more-dropdown {
  display: flex;
}

@keyframes navDropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-more-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--crizant-blue-600);
  padding: 6px 10px 6px;
  border-bottom: 1px solid var(--crizant-slate-300);
  margin-bottom: 3px;
}

.nav-more-dropdown .nav-more-item,
.mobile-more-sheet .nav-more-item {
  width: 100%;
  padding: 9px 10px !important;
  border-radius: var(--radius-md) !important;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  flex-direction: row !important;
  gap: 10px !important;
  text-align: left;
  background: transparent;
  box-shadow: none;
  white-space: normal;
  flex: none !important;
}

.nav-more-dropdown .nav-more-item:hover,
.mobile-more-sheet .nav-more-item:hover {
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
}

.nav-more-dropdown .nav-more-item.active,
.mobile-more-sheet .nav-more-item.active {
  background: var(--crizant-ice-050);
  color: var(--crizant-blue-600);
  box-shadow: inset 0 0 0 1px var(--crizant-ice-200);
}

.nav-more-item-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--crizant-mist-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-more-item.active .nav-more-item-icon {
  background: var(--crizant-ice-200);
}

.nav-more-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.nav-more-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--crizant-navy-900);
  line-height: 1.2;
}

.nav-more-item.active .nav-more-item-title {
  color: var(--crizant-blue-600);
}

.nav-more-item-sub {
  font-size: 11px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.35;
  margin-top: 2px;
}

.nav-more-item-check {
  font-size: 13px;
  font-weight: 800;
  color: var(--crizant-blue-600);
  opacity: 0;
  flex-shrink: 0;
}

.nav-more-item.active .nav-more-item-check {
  opacity: 1;
}

/* Mobile Hybrid More Bottom-Sheet */
.mobile-more-wrap {
  position: relative;
  display: flex;
  flex: 1 1 0;
  justify-content: center;
}

.mobile-more-sheet {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 70px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 -12px 36px rgba(10, 34, 64, 0.18), 0 4px 12px rgba(10, 34, 64, 0.08);
  z-index: 280;
  flex-direction: column;
  gap: 4px;
  animation: navDropdownIn 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-more-wrap.open .mobile-more-sheet {
  display: flex;
}

/* Topbar Right Controls */
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--crizant-green-bg);
  border: 1px solid var(--crizant-green-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--crizant-green);
  letter-spacing: 0.04em;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crizant-green);
  box-shadow: 0 0 0 2px rgba(2, 122, 72, 0.2);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 122, 72, 0.4); }
  70%  { transform: scale(1.05); box-shadow: 0 0 0 5px rgba(2, 122, 72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 122, 72, 0); }
}

/* ==========================================================================
   MAIN PAGE CONTAINER
   ========================================================================== */
.page-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 32px 96px;
  background: #FFFFFF;
}

/* Mobile Frame Preview Simulation Mode */
.page-container.mobile-frame-mode {
  max-width: 412px;
  margin: 24px auto 96px;
  padding: 24px 18px 84px;
  border: 10px solid var(--crizant-navy-900);
  border-radius: 36px;
  box-shadow: 0 24px 64px rgba(10, 34, 64, 0.22);
  position: relative;
  background: #FFFFFF;
}

.page-container.mobile-frame-mode::before {
  content: "";
  display: block;
  width: 120px;
  height: 18px;
  background: var(--crizant-navy-900);
  border-radius: 0 0 12px 12px;
  margin: -24px auto 20px;
}

.page-container.mobile-frame-mode .kpi-strip {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-container.mobile-frame-mode .kpi-box {
  padding: 14px 14px;
}

.page-container.mobile-frame-mode .kpi-box-value {
  font-size: 20px;
}

.page-container.mobile-frame-mode .kpi-box-foot {
  display: none;
}

.page-container.mobile-frame-mode .clean-table thead {
  display: none;
}

.page-container.mobile-frame-mode .clean-table,
.page-container.mobile-frame-mode .clean-table tbody,
.page-container.mobile-frame-mode .clean-table tr,
.page-container.mobile-frame-mode .clean-table td {
  display: block;
  width: 100%;
}

.page-container.mobile-frame-mode .clean-table tr {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.page-container.mobile-frame-mode .clean-table td {
  padding: 8px 0;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #F1F5F9;
}

.page-container.mobile-frame-mode .clean-table td:last-child {
  border-bottom: none;
  padding-top: 10px;
}

.page-container.mobile-frame-mode .clean-table td::before {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--crizant-slate-600);
  font-weight: 600;
  text-transform: uppercase;
}

/* Page Intro Header */
.page-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.eyebrow-label,
.eyebrow,
.workspace-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--crizant-blue-600);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--crizant-navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--crizant-slate-600);
  margin-top: 6px;
  max-width: 860px;
  line-height: 1.6;
}

/* ==========================================================================
   4-CARD KPI STRIP (RESTRUCTURED, MODERN FINTECH METRICS)
   ========================================================================== */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle colored top accent line */
.kpi-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--crizant-slate-300);
  transition: height 0.15s ease;
}

.kpi-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--crizant-blue-600);
}

.kpi-box:hover::before {
  height: 4px;
}

.kpi-box-green::before  { background: linear-gradient(90deg, #027A48, #10B981); }
.kpi-box-purple::before { background: linear-gradient(90deg, #6941C6, #8B5CF6); }
.kpi-box-amber::before  { background: linear-gradient(90deg, #B54708, #F59E0B); }
.kpi-box-red::before    { background: linear-gradient(90deg, #D92D20, #EF4444); }

.kpi-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kpi-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.kpi-icon-green  { background: var(--crizant-green-bg); color: var(--crizant-green); }
.kpi-icon-purple { background: var(--crizant-purple-bg); color: var(--crizant-purple); }
.kpi-icon-amber  { background: var(--crizant-amber-bg); color: var(--crizant-amber); }
.kpi-icon-red    { background: var(--crizant-red-bg); color: var(--crizant-red); }

.kpi-box-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crizant-slate-600);
  margin-bottom: 6px;
}

.kpi-box-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--crizant-navy-900);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-feature-settings: "tnum" 1, "cv02" 1;
}

.kpi-box-foot {
  font-size: 12px;
  color: var(--crizant-slate-600);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-box-foot span.arrow {
  color: var(--crizant-blue-600);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.kpi-box:hover .kpi-box-foot span.arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   FILTER TOOLBAR & SEARCH (STREAMLINED, UNCLUTTERED)
   ========================================================================== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.segment-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--crizant-mist-100);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.segment-btn {
  padding: 7px 15px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--crizant-slate-600);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.segment-btn:hover {
  color: var(--crizant-navy-900);
  background: rgba(255, 255, 255, 0.6);
}

.segment-btn.active {
  background: #FFFFFF;
  color: var(--crizant-navy-900);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(10, 34, 64, 0.08);
}

.segment-count {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  background: #E2E8F0;
  color: var(--crizant-navy-900);
}

.segment-btn.active .segment-count {
  background: var(--crizant-ice-050);
  color: var(--crizant-blue-600);
}

/* Search Box with Integrated Icon */
.search-wrapper {
  position: relative;
  min-width: 340px;
  flex: 0 1 380px;
}

.search-icon-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--crizant-slate-400);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 9px 12px 9px 36px;
  font-size: 13px;
  color: var(--crizant-navy-900);
  transition: all 0.15s ease;
}

.search-input-field::placeholder {
  color: var(--crizant-slate-400);
}

.search-input-field:focus {
  outline: none;
  border-color: var(--crizant-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--crizant-blue-600);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 87, 217, 0.15);
}

.btn-primary:hover {
  background: var(--crizant-navy-700);
  box-shadow: 0 2px 6px rgba(0, 87, 217, 0.25);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--crizant-navy-900);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--crizant-mist-100);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--crizant-slate-600);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
  border-color: var(--crizant-blue-600);
}

.btn-danger {
  background: var(--crizant-red-bg);
  color: var(--crizant-red);
  border: 1px solid var(--crizant-red-border);
}

.btn-danger:hover {
  background: #FEE4E2;
}

.btn-review {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-review:hover {
  background: var(--crizant-blue-600);
  color: #FFFFFF;
  border-color: var(--crizant-blue-600);
  transform: translateX(2px);
}

/* ==========================================================================
   PILLS, BADGES & RISK METERS (PIXEL-PERFECT CONTRAST)
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.35;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.pill-red {
  background: var(--crizant-red-bg);
  color: var(--crizant-red);
  border: 1px solid var(--crizant-red-border);
}
.pill-red .pill-dot { background: var(--crizant-red); }

.pill-amber {
  background: var(--crizant-amber-bg);
  color: var(--crizant-amber);
  border: 1px solid var(--crizant-amber-border);
}
.pill-amber .pill-dot { background: var(--crizant-amber); }

.pill-green {
  background: var(--crizant-green-bg);
  color: var(--crizant-green);
  border: 1px solid var(--crizant-green-border);
}
.pill-green .pill-dot { background: var(--crizant-green); }

.pill-blue {
  background: var(--crizant-ice-050);
  color: var(--crizant-blue-600);
  border: 1px solid var(--crizant-ice-200);
}
.pill-blue .pill-dot { background: var(--crizant-blue-600); }

.pill-purple {
  background: var(--crizant-purple-bg);
  color: var(--crizant-purple);
  border: 1px solid var(--crizant-purple-border);
}
.pill-purple .pill-dot { background: var(--crizant-purple); }

.pill-neutral {
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
  border: 1px solid var(--border-color);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ==========================================================================
   FULL-WIDTH ENTERPRISE TABLE (NO AWKWARD WRAPPING)
   ========================================================================== */
.surface-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: auto;
}

.clean-table th {
  background: var(--crizant-mist-100);
  color: var(--crizant-slate-600);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.clean-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
  background: #FFFFFF;
}

.clean-table tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}

.clean-table tbody tr:hover td {
  background: #F8FAFC;
}

.clean-table tbody tr:last-child td {
  border-bottom: none;
}

/* Table Specific Cell Helpers to PREVENT WRAPPING */
.cell-case-id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--crizant-navy-900);
  white-space: nowrap;
}

.cell-policy-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--crizant-slate-600);
  margin-top: 3px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.row-primary {
  font-weight: 700;
  color: var(--crizant-navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.row-secondary {
  font-size: 12px;
  color: var(--crizant-slate-600);
  margin-top: 3px;
  line-height: 1.4;
}

.cell-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.stage-pre-issuance {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FFEDD5;
}

.stage-nexus-ring {
  background: #FAF5FF;
  color: #7E22CE;
  border: 1px solid #F3E8FF;
}

.stage-early-claim {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
}

.stage-internal-lock {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.stage-revival {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.cell-sum-assured {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--crizant-navy-900);
  white-space: nowrap;
  text-align: right;
  font-feature-settings: "tnum" 1;
}

/* ECI Risk Pill & Graph Link Chip */
.risk-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eci-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
  white-space: nowrap;
}

.eci-score-critical {
  background: var(--crizant-red-bg);
  color: var(--crizant-red);
  border: 1px solid var(--crizant-red-border);
}

.eci-score-high {
  background: var(--crizant-amber-bg);
  color: var(--crizant-amber);
  border: 1px solid var(--crizant-amber-border);
}

.kg-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--crizant-purple);
  background: var(--crizant-purple-bg);
  border: 1px solid var(--crizant-purple-border);
  border-radius: 4px;
  padding: 1px 6px;
  cursor: pointer;
  white-space: nowrap;
  width: fit-content;
  transition: all 0.15s ease;
}

.kg-link-chip:hover {
  background: #EDE9FE;
  border-color: #C4B5FD;
}

/* ==========================================================================
   WORKSPACE 2: KNOWLEDGE GRAPH STUDIO & BFS CONTAGION
   ========================================================================== */
.kg-studio-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.kg-toolbar {
  padding: 12px 20px;
  background: var(--crizant-mist-100);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kg-canvas-stage {
  width: 100%;
  height: 500px;
  background-color: #FFFFFF;
  background-image: radial-gradient(var(--crizant-slate-300) 1px, transparent 1px);
  background-size: 24px 24px;
  cursor: grab;
  display: block;
  touch-action: none;
}

.kg-canvas-stage:active {
  cursor: grabbing;
}

.kg-legend-bar {
  padding: 12px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--crizant-slate-600);
}

.kg-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--crizant-navy-900);
  font-size: 12px;
}

.kg-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.filter-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--crizant-slate-600);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
  border-color: var(--border-strong);
}

.filter-chip.active {
  background: var(--crizant-navy-900);
  color: #FFFFFF;
  border-color: var(--crizant-navy-900);
}

/* Blast Radius Cards */
.blast-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.blast-card:hover {
  border-color: var(--crizant-blue-600);
}

/* ==========================================================================
   INPUTS & SELECT DROPDOWNS
   ========================================================================== */
.input-field {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--crizant-navy-900);
  transition: all 0.15s ease;
  font-family: inherit;
}

.input-field:focus {
  outline: none;
  border-color: var(--crizant-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}

/* ==========================================================================
   CARD PADDED & GRID UTILITIES
   ========================================================================== */
.card-padded {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card-padded-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--crizant-navy-900);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.card-padded-sub {
  font-size: 13px;
  color: var(--crizant-slate-600);
  margin-bottom: 18px;
  line-height: 1.5;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Thin Progress Bars */
.thin-bar {
  width: 100%;
  height: 6px;
  background: var(--crizant-slate-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 6px;
}

.thin-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

/* ==========================================================================
   SLIDE-OVER CASE & INVESTIGATOR DRAWER (RESPONSIVE, EXECUTIVE POLISH)
   ========================================================================== */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 34, 64, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.open {
  display: flex;
  opacity: 1;
}

body.drawer-open {
  overflow: hidden !important;
}

.drawer-sheet {
  width: min(800px, 94vw);
  max-width: 100%;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -16px 0 52px rgba(10, 34, 64, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideInRight 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.drawer-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border-color);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.drawer-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--crizant-slate-600);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: var(--crizant-mist-100);
  color: var(--crizant-navy-900);
  border-color: var(--crizant-slate-300);
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--crizant-navy-900);
  letter-spacing: -0.01em;
  margin: 0;
}

.drawer-meta-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--crizant-slate-600);
  background: var(--crizant-mist-100);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(199, 208, 218, 0.45);
}

.drawer-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.drawer-meta-item b {
  color: var(--crizant-navy-900);
  font-weight: 600;
}

/* Stepper: Clean, horizontal line behind 5 dots, single-line labels */
.drawer-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 8px 8px 2px;
  margin-top: 2px;
}

.drawer-stepper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--crizant-slate-200);
  z-index: 1;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  padding: 0 4px;
}

.stepper-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--crizant-slate-300);
  color: var(--crizant-slate-400);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  margin-bottom: 5px;
}

.stepper-step.done .stepper-dot {
  background: var(--crizant-green);
  border-color: var(--crizant-green);
  color: #FFFFFF;
}

.stepper-step.current .stepper-dot {
  background: var(--crizant-blue-600);
  border-color: var(--crizant-blue-600);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.18);
}

.stepper-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--crizant-slate-400);
  white-space: nowrap;
}

.stepper-step.current .stepper-label {
  color: var(--crizant-blue-600);
  font-weight: 700;
}

.stepper-step.done .stepper-label {
  color: var(--crizant-navy-900);
}

/* Drawer Tabs */
.drawer-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 24px;
  border-bottom: 1px solid var(--border-color);
  background: #F8FAFC;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.drawer-tabs::-webkit-scrollbar { display: none; }

.drawer-tab {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--crizant-slate-600);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.drawer-tab:hover {
  color: var(--crizant-navy-900);
  background: rgba(0, 0, 0, 0.04);
}

.drawer-tab.active {
  color: var(--crizant-blue-600);
  background: #FFFFFF;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  padding: 22px 28px 36px;
  overflow-y: auto;
  background: #FFFFFF;
}

/* Executive Briefing Card */
.drawer-briefing-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--crizant-blue-600);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.drawer-briefing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.drawer-briefing-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--crizant-blue-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-briefing-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--crizant-navy-900);
}

.drawer-briefing-bullets li {
  margin-bottom: 4px;
}

.drawer-briefing-action {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 12.5px;
  color: var(--crizant-slate-600);
}

.drawer-briefing-action b {
  color: var(--crizant-navy-900);
}

/* Chat Item in Drawer */
.chat-item {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  background: #FFFFFF;
  transition: all 0.15s ease;
}

.chat-item.from-investigator {
  background: #F0FDFA;
  border-color: #CCFBF1;
  border-left: 4px solid #0D9488;
}

.chat-item.from-frmu {
  background: #F8FAFC;
  border-color: #E2E8F0;
  border-left: 4px solid var(--crizant-blue-600);
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
}

.chat-sender {
  font-weight: 700;
  color: var(--crizant-navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-time {
  color: var(--crizant-slate-400);
  font-family: var(--font-mono);
  font-size: 11px;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: #FFFFFF;
  transition: background 0.12s ease;
}

.list-row:hover {
  background: var(--crizant-mist-100);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 34, 64, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 540px;
  padding: 28px;
  box-shadow: var(--shadow-modal);
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   MOBILE BOTTOM TAB BAR & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  z-index: 120;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(10, 34, 64, 0.06);
}

.mobile-tab {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--crizant-slate-600);
  cursor: pointer;
}

.mobile-tab.active {
  color: var(--crizant-blue-600);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-pills {
    display: none;
  }
  .live-badge {
    display: none;
  }
  .mobile-tabbar {
    display: flex;
  }
  .page-container {
    padding: 20px 16px 84px;
  }
  .clean-table thead {
    display: none;
  }
  .clean-table, .clean-table tbody, .clean-table tr, .clean-table td {
    display: block;
    width: 100%;
  }
  .clean-table tr {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
  }
  .clean-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #F1F5F9;
  }
  .clean-table td:last-child {
    border-bottom: none;
    padding-top: 10px;
  }
  .clean-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--crizant-slate-600);
    font-weight: 600;
    text-transform: uppercase;
  }

  /* Responsive Drawer */
  .drawer-sheet {
    width: 100% !important;
  }
  .drawer-header {
    padding: 16px 18px 14px;
  }
  .drawer-tabs {
    padding: 6px 16px;
  }
  .drawer-body {
    padding: 16px 18px 28px;
  }
  .drawer-meta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .drawer-stepper {
    padding: 6px 0 2px;
  }
  .drawer-stepper::before {
    left: 14px;
    right: 14px;
  }
  .stepper-label {
    font-size: 9.5px;
  }
}
