@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Colors */
  --primary: #00ADEE;
  --primary-hover: #0099d6;
  --primary-transparent: rgba(0, 173, 238, 0.1);
  --secondary: #57C5CE;
  --secondary-transparent: rgba(87, 197, 206, 0.15);
  --tertiary: #D1AB66;
  --tertiary-transparent: rgba(209, 171, 102, 0.15);

  /* Surfaces & Backgrounds */
  --bg-main: #F8F7F4;
  --surface: #FFFFFF;
  --surface-hover: #FDFDFD;
  --sidebar-bg: rgba(255, 255, 255, 0.75);

  /* Text & Lines */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --line: #E2E8F0;
  --line-light: #F1F5F9;

  /* Status Colors */
  --green: #10B981;
  --green-light: #D1FAE5;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --purple: #8B5CF6;
  --purple-light: #EDE9FE;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 173, 238, 0.06);

  /* Easing */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

/* Base Styles */
* { box-sizing: border-box; }
body { 
  margin: 0; 
  font-family: 'Manrope', sans-serif; 
  background: var(--bg-main); 
  color: var(--text-main); 
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric Background Blur Shapes */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}
body::before {
  top: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-transparent) 0%, transparent 70%);
}
body::after {
  bottom: -10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--secondary-transparent) 0%, transparent 70%);
}

h1, h2, h3, h4, h5, h6 { 
  margin: 0; 
  font-family: 'Sora', sans-serif; 
  font-weight: 700;
  letter-spacing: -0.02em;
}
a { text-decoration: none; color: inherit; }

/* Forms & Inputs */
label {
  display: block; margin: 0 0 8px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; 
  letter-spacing: 0.05em; color: var(--text-muted);
}
.field { margin-top: 18px; }
input, select, textarea {
  width: 100%; padding: 12px 16px; 
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md); 
  font-size: 14px; background: var(--surface); 
  color: var(--text-main); outline: none;
  font-family: inherit;
  transition: all 0.3s var(--ease-standard);
  box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
input:hover, select:hover, textarea:hover {
  border-color: #CBD5E1;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); 
  box-shadow: 0 0 0 4px var(--primary-transparent);
  transform: translateY(-1px);
}
textarea { min-height: 80px; resize: vertical; }

/* Buttons */
.btn {
  border: 0; border-radius: var(--radius-full); 
  padding: 12px 20px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap;
  font-family: inherit;
  transition: all 0.3s var(--ease-standard);
}
.btn:active { transform: scale(0.95); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px var(--primary-transparent); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 20px rgba(0, 173, 238, 0.25); transform: translateY(-1px); }

.btn-sec { background: var(--surface); color: var(--text-main); border: 1.5px solid var(--line); box-shadow: 0 2px 5px rgba(0,0,0,0.01); }
.btn-sec:hover { background: #F8FAFC; border-color: #CBD5E1; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-danger { background: var(--red-light); color: var(--red); }
.btn-danger:hover { background: #FECACA; }

.btn-success { background: var(--green-light); color: var(--green); }
.btn-gold { background: var(--gold-light); color: var(--gold); }

.btn-sm { font-size: 12px; padding: 8px 14px; }
.full { width: 100%; }
.muted { color: var(--text-muted); }

/* App Layout */
.app { display: flex; min-height: 100vh; }

/* Sidebar */
.side {
  width: 280px; background: var(--sidebar-bg); 
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  padding: 24px 20px; overflow: auto;
  position: fixed; top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  z-index: 50;
}
.brand { 
  display: flex; gap: 14px; align-items: center; margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.brand img.logo-img {
  height: 48px; width: auto; object-fit: contain;
}
.brand-text{
  text-align: center;
}
.brand-text h2 { font-size: 16px; color: var(--text-main); }
.brand-text .subtitle { color: var(--text-muted); font-size: 12px; font-weight: 600; font-family: 'Manrope', sans-serif;}

.nav { flex: 1; }
.nav-btn {
  display: flex; align-items: center; width: 100%; border: 0; 
  background: transparent; color: var(--text-muted); 
  padding: 12px 16px; border-radius: var(--radius-md);
  text-align: left; font-weight: 600; font-size: 14px; cursor: pointer;
  margin-bottom: 4px;
  transition: all 0.2s var(--ease-standard);
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
}
.mobile-logout-btn { display: none; }
.nav-btn::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--primary); border-radius: 0 4px 4px 0;
  transform: scaleY(0); transition: transform 0.2s var(--ease-standard);
  transform-origin: center;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.9); color: var(--text-main); transform: translateX(4px); }
.nav-btn.active { 
  background: var(--surface); color: var(--primary); 
  box-shadow: var(--shadow-sm); font-weight: 700;
}
.nav-btn.active::before { transform: scaleY(0.6); }

.userbox {
  margin-top: 24px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg); padding: 16px;
  font-size: 13px; line-height: 1.6; color: var(--text-main);
  text-align: center;
}
.userbox b { display: block; font-size: 15px; font-family: 'Sora', sans-serif; margin-bottom: 2px; }
.userbox .role { color: var(--secondary); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Main Content Area */
.main { margin-left: 280px; padding: 32px; flex: 1; min-width: 0; }

.top {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  margin-bottom: 32px;
}
.top h1 { font-size: 32px; color: var(--text-main); }
.top .subtitle { font-size: 14px; color: var(--text-muted); margin-top: 6px; font-weight: 500;}
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Cards & Grid */
.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.4s var(--ease-standard);
  position: relative;
}
.grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

/* Metric Cards */
.metric { 
  grid-column: span 3; min-height: 140px; 
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; z-index: 1;
}
.metric::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%; 
  background: var(--line-light); z-index: -1;
  transition: all 0.4s var(--ease-bounce);
}
.metric:hover::before { transform: scale(1.2); }
.metric.green::before { background: var(--green-light); opacity: 0.5; }
.metric.red::before { background: var(--red-light); opacity: 0.5; }
.metric.gold::before { background: var(--gold-light); opacity: 0.5; }
.metric.purple::before { background: var(--purple-light); opacity: 0.5; }
.metric.blue::before { background: var(--primary-transparent); opacity: 0.5; }

.metric .lbl { font-size: 12px; color: var(--text-muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Manrope', sans-serif;}
.metric .num { font-size: 42px; font-weight: 800; margin-top: 8px; color: var(--text-main); font-family: 'Sora', sans-serif; line-height: 1; letter-spacing: -0.02em; }
.metric .sm { font-size: 13px; color: var(--text-muted); margin-top: auto; padding-top: 12px; font-weight: 500; }
.metric-lg { grid-column: span 3; }

.green .num { color: var(--green); }
.red .num { color: var(--red); }
.gold .num { color: var(--gold); }
.purple .num { color: var(--purple); }
.blue .num { color: var(--primary); }

/* Interactive Cards */
.dm-card { cursor: pointer; }
.dm-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
  border-color: var(--primary-transparent);
}
.dm-card:active { transform: translateY(-1px) scale(0.98); }

/* Filters Area */
.filters { margin-bottom: 24px; }
.filter-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; align-items: end; }

/* Table System */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: auto; max-height: 620px; background: var(--surface);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: middle; }
th {
  background: rgba(248, 250, 252, 0.95); backdrop-filter: blur(8px); color: var(--text-muted);
  position: sticky; top: 0; z-index: 10;
  font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.05em;
  border-bottom: 2px solid var(--line);
}
tfoot td {
  position: sticky; bottom: 0; z-index: 10;
  background: var(--bg-main); border-top: 2px solid var(--line); font-weight: 700;
}
tr { transition: background 0.2s; }
tr:hover td { background: #F8FAFC; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Badges */
.badge {
  display: inline-flex; padding: 6px 12px;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 800; white-space: nowrap;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.b-booked { background: var(--green-light); color: #065F46; }
.b-hot { background: var(--red-light); color: #991B1B; }
.b-warm { background: var(--gold-light); color: #92400E; }
.b-cold { background: #E0F2FE; color: #075985; }
.b-not { background: #F1F5F9; color: #475569; }
.b-follow { background: var(--purple-light); color: #5B21B6; }
.b-revisit { background: var(--secondary-transparent); color: #115E59; }
.b-overdue { background: var(--red-light); color: #991B1B; border: 1px solid #FECACA; }
.b-today { background: var(--gold-light); color: #92400E; border: 1px solid #FDE68A; }
.b-future { background: var(--green-light); color: #065F46; }

/* Rank / List Cards */
.rank-card { grid-column: span 6; display: flex; flex-direction: column; }
.title-row {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: flex-start; margin-bottom: 20px;
}
.title-row h3 { font-size: 18px; color: var(--text-main); }
.title-row .subtitle { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.pill {
  font-size: 12px; background: var(--bg-main); border: 1px solid var(--line);
  color: var(--text-main); border-radius: var(--radius-full); padding: 8px 14px; font-weight: 700;
}
.rank-row {
  display: grid; grid-template-columns: 48px 1fr 80px 80px 80px;
  gap: 16px; align-items: center;
  padding: 14px 12px; border-bottom: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.rank-row:last-child { border-bottom: 0; }
.rank-row[data-rankname] { cursor: pointer; }
.rank-row[data-rankname]:hover { 
  background: var(--surface-hover); 
  transform: scale(1.01);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.rank-no {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--bg-main); color: var(--primary);
  display: grid; place-items: center; font-weight: 800; font-family: 'Sora', sans-serif;
  font-size: 16px;
}
.bar { height: 8px; background: var(--line-light); border-radius: var(--radius-full); overflow: hidden; margin-top: 8px; }
.bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: var(--radius-full);
}

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fadeIn 0.3s ease;
}
.modal-content {
  background: var(--surface); border-radius: var(--radius-xl); width: min(1100px, 100%);
  box-shadow: 0 24px 50px rgba(0,0,0,0.15); max-height: 90vh; display: flex; flex-direction: column;
  animation: slideUp 0.4s var(--ease-bounce); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.modal-header {
  display: flex; align-items: center; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--line);
  background: var(--surface); z-index: 2;
}
.modal-body { overflow-y: auto; flex: 1; padding: 0; background: var(--bg-main); }
.modal-filters { padding: 20px 32px; background: var(--surface); border-bottom: 1px solid var(--line); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Staggered Entry Animation Classes */
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-standard) forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Utility for staggered delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.2s; }
.delay-4 { animation-delay: 0.25s; }
.delay-5 { animation-delay: 0.3s; }
.delay-6 { animation-delay: 0.35s; }
.delay-7 { animation-delay: 0.4s; }
.delay-8 { animation-delay: 0.45s; }
.delay-9 { animation-delay: 0.5s; }
.delay-10 { animation-delay: 0.55s; }

/* Alert cards */
.alert-card {
  border-left: 5px solid var(--red); padding: 16px 20px;
  background: var(--surface); border-radius: var(--radius-md); margin-bottom: 12px;
  border: 1px solid var(--line); border-left-width: 5px; line-height: 1.55;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.alert-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.alert-card.today { border-left-color: var(--gold); }
.alert-card.good { border-left-color: var(--green); }

/* Form layout */
.form-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.span-2 { grid-column: span 2; }
.note {
  background: var(--surface); border: 1px solid var(--primary-transparent);
  border-radius: var(--radius-lg); padding: 16px; color: var(--text-main);
  font-size: 13px; line-height: 1.5; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.toolbar {
  display: flex; gap: 12px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px;
}
.toolbar-l, .toolbar-r { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-inp { min-width: 300px; }

/* Filter Rows */
.filter-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.filter-row.fr-7 { grid-template-columns: repeat(7, 1fr); }

/* Loading */
.loading { color: var(--text-muted); font-size: 14px; padding: 24px 0; text-align: center; font-weight: 500; }

/* Responsive */
@media(max-width:1100px) {
  .side { 
    position: fixed; top: auto; bottom: 0; left: 0; width: 100%; height: 70px; 
    border-right: none; border-top: 1px solid var(--line); border-bottom: none; 
    padding: 0; z-index: 100; flex-direction: row; align-items: center; justify-content: space-around;
  }
  .brand, .userbox { display: none; }
  .nav { display: flex; flex-direction: row; justify-content: space-around; align-items: center; width: 100%; margin: 0; padding: 0 10px; }
  .nav-btn { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    padding: 8px 0; width: 100%; background: transparent !important; border: none !important; margin: 0; gap: 4px; color: var(--text-muted); text-align: center; box-shadow: none !important;
  }
  .nav-btn i { font-size: 20px; }
  .nav-btn span { display: none; }
  .mobile-logout-btn { display: flex !important; }
  .nav-btn.active { color: var(--primary); font-weight: 800; background: transparent !important; }
  .nav-btn.active i { transform: translateY(-2px); }
  .nav-btn:hover { transform: none; background: transparent !important; color: var(--primary); }
  .nav-btn::before { display: none; }
  
  .main { margin-left: 0; padding: 20px 16px 90px 16px; }
  .app { flex-direction: column; }
  .metric { grid-column: span 6; }
  .metric-lg { grid-column: span 12; }
  .filter-row, .filter-row.fr-7 { grid-template-columns: repeat(3,1fr); }
  .form-grid { grid-template-columns: repeat(2,1fr); }
  .rank-card { grid-column: span 12; }
  .top { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media(max-width:620px) {
  .metric { grid-column: span 6; }
  .metric-lg { grid-column: span 12; }
  .filter-row, .filter-row.fr-7, .form-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row > div:last-child { grid-column: span 2; }
  .span-2 { grid-column: span 1; }
  .search-inp { min-width: 100%; }
  .rank-card { overflow-x: auto; padding: 16px; }
  .rank-row { min-width: 420px; }
  .modal-header, .modal-filters { padding: 16px 20px; }
}

/* Print */
@media print {
  .side, .top-actions, .toolbar, .filters, .no-print, .row-actions { display: none !important; }
  .main { margin: 0; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .table-wrap { max-height: none; overflow: visible; }
  body { background: #fff; }
}

/* Login Page */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: var(--bg-main);
  position: relative; overflow: hidden;
}
.login-card {
  width: 100%; max-width: 440px; background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-radius: var(--radius-xl); padding: 40px; 
  box-shadow: 0 24px 50px rgba(0, 173, 238, 0.08); 
  border: 1px solid rgba(255,255,255,0.6);
  z-index: 10;
}
.hint-box {
  font-size: 13px; color: var(--text-muted); background: var(--surface);
  border: 1px solid var(--line-light); border-radius: var(--radius-md);
  padding: 16px; line-height: 1.6; margin-top: 24px;
}

/* Visit Form sections */
.vf-note {
  padding: 16px 24px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--primary-transparent);
  border-bottom: none; color: var(--text-main);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.vf-note b { color: var(--primary); font-family: 'Sora', sans-serif; }

.vf-section { padding: 24px; border-bottom: 1px solid var(--line); transition: background 0.3s ease; }
.vf-section:last-of-type { border-bottom: none; }
.vf-section:hover { background: rgba(248, 250, 252, 0.5); }

.vf-sec-hdr { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.vf-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 12px;
  font-size: 13px; font-weight: 800; flex-shrink: 0; font-family: 'Sora', sans-serif;
}
.b1 { background: var(--primary-transparent); color: var(--primary); }
.b2 { background: var(--green-light); color: var(--green); }
.b3 { background: var(--gold-light); color: var(--gold); }
.b4 { background: var(--red-light); color: var(--red); }
.b5 { background: var(--purple-light); color: var(--purple); }
.b6 { background: var(--secondary-transparent); color: var(--secondary); }

.vf-sec-title { font-size: 16px; font-weight: 700; color: var(--text-main); font-family: 'Sora', sans-serif; }
.vf-sec-sub   { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.vf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vf-f2 { grid-column: span 2; }
.vf-f3 { grid-column: span 3; }
.vf-f4 { grid-column: span 4; }

.vf-field { display: flex; flex-direction: column; }
.vf-field label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 6px;
}
.vf-field .req { color: var(--red); margin-left: 4px; }

.vf-admin-banner {
  margin: 0 24px; padding: 12px 16px;
  background: var(--gold-light); border: 1px solid #FDE68A;
  border-left: 4px solid var(--gold); border-radius: var(--radius-md);
  font-size: 13px; color: #92400E; font-weight: 500;
}

.vf-actions {
  padding: 24px; background: rgba(248, 250, 252, 0.8);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  display: flex; gap: 12px; align-items: center;
}

@media (max-width: 900px) {
  .vf-grid { grid-template-columns: repeat(2, 1fr); }
  .vf-f3, .vf-f4 { grid-column: span 2; }
  .vf-section { padding: 20px 16px; }
  .vf-actions { padding: 16px; }
  .vf-admin-banner { margin: 0 16px; }
}
@media (max-width: 520px) {
  .vf-grid { grid-template-columns: 1fr; }
  .vf-f2, .vf-f3, .vf-f4 { grid-column: span 1; }
}

/* Follow-up History */
.fh-item { border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; }
.fh-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(248, 250, 252, 0.5); cursor: pointer; user-select: none; font-size: 14px; font-weight: 600; color: var(--text-main); }
.fh-header:hover { background: rgba(248, 250, 252, 1); }
.fh-meta { margin-left: auto; color: var(--text-muted); font-size: 12px; white-space: nowrap; font-weight: 500; }
.fh-chevron { font-size: 16px; color: var(--text-muted); transition: transform 0.2s; }
.fh-header.open .fh-chevron { transform: rotate(180deg); }
.fh-body { display: none; padding: 16px 20px; background: #fff; }
.fh-body.fh-open { display: block; }
.fh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; font-size: 13.5px; }
.fh-span2 { grid-column: span 2; }
.fh-lbl { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.05em; }
.fh-val { margin: 0; word-break: break-word; white-space: pre-wrap; color: var(--text-main); }
.fh-badge-1 { background: var(--primary-transparent); color: var(--primary); font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 800; }