:root {
  --navy: #0f2742;
  --navy-light: #16385c;
  --navy-dark: #0a192c;
  --navy-ultra: #060e17;
  --accent-green: #10b981;
  --accent-green-dark: #047857;
  --accent-amber: #f59e0b;
  --accent-amber-dark: #b45309;
  --accent-blue: #2563eb;
  --accent-purple: #8b5cf6;
  --accent-red: #ef4444;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* TOP NOTICE BAR */
.top-notice-bar {
  background: var(--navy-ultra);
  color: #cbd5e1;
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.notice-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38bdf8;
  font-weight: 700;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* GLOBAL SITE HEADER */
header.site {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-group img.logo {
  height: 38px;
  width: auto;
  border-radius: 6px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy-dark);
}
.brand-title span { color: var(--accent-blue); }
.brand-sub {
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav.main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
nav.main a {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
nav.main a:hover {
  background: #f1f5f9;
  color: var(--navy);
}
nav.main a.active {
  background: var(--navy);
  color: #ffffff;
}
nav.main a.btn-cta {
  background: #eff6ff;
  color: var(--accent-blue);
  border: 1px solid #bfdbfe;
}
nav.main a.btn-cta:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

/* PORTAL CONTAINER */
.portal-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 5rem;
}

/* 1. HERO SECTION: COME SI COSTRUISCE IL PIL (LIGHT & AIRY EDITORIAL DESIGN) */
.hero-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  color: var(--text-primary);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 1rem;
  color: #0f172a;
}
.hero-title span.gold { color: #d97706; }
.hero-title span.blue { color: #2563eb; }
.hero-subtitle {
  font-size: 1.08rem;
  color: #475569;
  max-width: 880px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* SEARCH BAR */
.search-wrapper {
  position: relative;
  max-width: 840px;
  margin-bottom: 1.75rem;
}
.search-form {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s;
}
.search-form:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-form:focus-within {
  border-color: #38bdf8;
}
.search-input {
  flex: 1;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
}
.search-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}
.search-btn:hover { background: #1d4ed8; }

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-height: 380px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.search-item {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.search-item:hover { background: #f8fafc; }
.search-badge {
  font-size: 0.65rem;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}
.badge-verifin { background: #dbeafe; color: #1e40af; }
.badge-verifact { background: #fee2e2; color: #991b1b; }

/* QUICK PILLS */
.quick-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.quick-pills span.tag {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--mono);
  font-weight: 600;
  margin-right: 0.25rem;
}
.quick-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
}
.quick-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* 3 NATIONAL PIL MACRO METRICS */
.pil-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}
.pil-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pil-stat-val {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  color: #0f172a;
  display: block;
}
.pil-stat-val.gold { color: #d97706; }
.pil-stat-val.green { color: #059669; }
.pil-stat-val.blue { color: #2563eb; }
.pil-stat-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 0.35rem;
}
.pil-stat-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.25rem;
  line-height: 1.45;
}

/* 2. THE SECTORS OF ITALIAN GDP (MACRO-NAVIGATOR) */
.section-wrapper {
  margin-bottom: 3.5rem;
}
.section-header-box {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title-large {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-sub-large {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* SECTOR MATRIX TABS */
.sector-matrix-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
  scrollbar-width: thin;
}
.sector-card-btn {
  flex: 0 0 250px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sector-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}
.sector-card-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px #2563eb;
}
.sector-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.sector-icon {
  font-size: 1.5rem;
}
.sector-status-pill {
  font-size: 0.62rem;
  font-family: var(--mono);
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
}
.status-attivo { background: #dcfce7; color: #15803d; }
.status-prossimo { background: #f1f5f9; color: #64748b; }
.sector-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.3;
}
.sector-kpis {
  margin-top: 0.65rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* 3. ACTIVE SECTOR EXECUTIVE SHOWCASE */
.sector-executive-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 6px solid #2563eb;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .sector-executive-banner { grid-template-columns: 1fr; gap: 1rem; }
}
.exec-title-group h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
}
.exec-title-group p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.5;
}
.exec-metric-col {
  border-left: 1px solid var(--border-light);
  padding-left: 1.25rem;
}
.exec-metric-val {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--navy);
  display: block;
}
.exec-metric-val.green { color: #059669; }
.exec-metric-val.gold { color: #b45309; }
.exec-metric-val.purple { color: #7c3aed; }
.exec-metric-label {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* 4. CONTROLS BAR & CARDS GRID */
.controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.filter-btn-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.cat-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cat-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.cat-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.concession-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}
.concession-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.card-cat-badge {
  font-size: 0.65rem;
  font-family: var(--mono);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.cat-autostrade { background: #e0f2fe; color: #0369a1; }
.cat-aeroporti { background: #fef3c7; color: #b45309; }
.cat-porti { background: #ecfdf5; color: #047857; }
.cat-holding { background: #f3e8ff; color: #7e22ce; }
.cat-utilities { background: #ffedd5; color: #c2410c; }
.cat-telco { background: #e0e7ff; color: #3730a3; }
.cat-software { background: #f1f5f9; color: #0f172a; border: 1px solid #cbd5e1; }

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 700;
  color: #059669;
}
.status-indicator.warning { color: #d97706; }
.status-indicator.tech { color: #2563eb; }

.card-company-name {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}
.card-family-lead {
  font-size: 0.82rem;
  color: #b45309;
  font-weight: 700;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.card-family-lead span.crown { font-size: 0.95rem; }

.card-fact-grid {
  margin: 1.15rem 0;
  padding: 0.85rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: block;
}
.fact-grid-pil, .fact-grid-debt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.fact-item {
  display: flex;
  flex-direction: column;
}
.fact-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.fact-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.card-action-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.card-btn {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}
.card-btn-primary {
  background: var(--navy);
  color: #ffffff;
}
.card-btn-primary:hover { background: #1e3a5f; }
.card-btn-secondary {
  background: #f1f5f9;
  color: var(--navy);
  border: 1px solid var(--border-light);
}
.card-btn-secondary:hover { background: #e2e8f0; }

/* 5. ACCORDION TABLE */
.technical-accordion {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 3.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-toggle-btn {
  width: 100%;
  padding: 1.25rem 1.75rem;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background 0.15s;
}
.accordion-toggle-btn:hover { background: #f1f5f9; }
.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.accordion-icon {
  font-size: 1.35rem;
}
.accordion-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}
.accordion-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.accordion-arrow {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.technical-content {
  display: none;
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  overflow-x: auto;
}

.watchlist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}
.watchlist-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  border-bottom: 2px solid var(--border-light);
}
.watchlist-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.watchlist-table tr:hover td { background: #f8fafc; }
.watchlist-table code {
  font-family: var(--mono);
  font-size: 0.74rem;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* 6. EDITORIAL GRID */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.editorial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
}
.editorial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.editorial-cat {
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 800;
  color: #dc2626;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: block;
}
.editorial-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.editorial-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.editorial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-family: var(--mono);
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}
.editorial-link {
  color: var(--accent-blue);
  font-weight: 700;
  text-decoration: none;
}
.editorial-link:hover { text-decoration: underline; }

/* ============================================================================
   WEBRADIO (VERINDEX.LIVE) & PODCAST STYLES
   ============================================================================ */
.live-radio-bar {
  background: linear-gradient(90deg, #091728 0%, #0f2b48 50%, #091728 100%);
  color: #ffffff;
  border-bottom: 2px solid #2563eb;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.radio-live-badge {
  background: #dc2626;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulseRadioLive 1.8s infinite;
}
@keyframes pulseRadioLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}
.equalizer-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  margin-right: 0.5rem;
}
.eq-bar {
  width: 3px;
  background: #38bdf8;
  border-radius: 1px;
  height: 4px;
  transition: height 0.15s ease;
}
.equalizer-wave.active .eq-bar:nth-child(1) { animation: eqMove 0.8s ease infinite alternate; }
.equalizer-wave.active .eq-bar:nth-child(2) { animation: eqMove 0.5s ease infinite alternate 0.1s; }
.equalizer-wave.active .eq-bar:nth-child(3) { animation: eqMove 1.1s ease infinite alternate 0.2s; }
.equalizer-wave.active .eq-bar:nth-child(4) { animation: eqMove 0.6s ease infinite alternate 0.3s; }
.equalizer-wave.active .eq-bar:nth-child(5) { animation: eqMove 0.9s ease infinite alternate 0.15s; }
@keyframes eqMove {
  0% { height: 3px; }
  100% { height: 16px; }
}
.radio-track-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.radio-track-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: var(--mono);
}
.radio-btn-play {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
}
.radio-btn-play:hover {
  background: #1d4ed8;
  transform: scale(1.08);
}
.webradio-studio-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.5rem;
}
.podcast-chip-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--mono);
}
.podcast-chip-btn:hover, .podcast-chip-btn.active {
  background: #1e3a5f;
  color: #ffffff;
  border-color: #1e3a5f;
}
.podcast-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
  transition: all 0.2s ease;
  position: relative;
}
.podcast-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
.podcast-card-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.15s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  flex-shrink: 0;
}
.podcast-card-play-btn:hover {
  background: #1d4ed8;
  transform: scale(1.06);
}

/* FOOTER */
footer.site-footer {
  background: #091728;
  color: #94a3b8;
  padding: 3.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 850px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  font-weight: 800;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* VIEW MODE TOGGLE (PIL vs DEBT/DPO) */
.view-mode-bar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.view-mode-label {
  font-size: 0.8rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mode-toggle-group {
  display: flex;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 8px;
  gap: 0.25rem;
}
.mode-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.mode-btn:hover { color: var(--navy); }
.mode-btn.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.mode-btn.active.btn-debt {
  color: #b45309;
}

/* DPO BADGES */
.dpo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.dpo-green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.dpo-yellow { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.dpo-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* FORENSIC DEBT SUMMARY STRIP */
.debt-forensic-strip {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.debt-strip-item {
  border-left: 3px solid #38bdf8;
  padding-left: 1rem;
}
.debt-strip-item.amber { border-left-color: #f59e0b; }
.debt-strip-item.red { border-left-color: #ef4444; }
.debt-strip-item.green { border-left-color: #10b981; }
.debt-strip-val {
  font-size: 1.45rem;
  font-weight: 900;
  font-family: var(--mono);
  color: #ffffff;
}
.debt-strip-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 0.15rem;
}
.debt-strip-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.35;
}


@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.concession-card.animating {
  animation: cardEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cat-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


/* CATEGORY BADGES FOR ALL SECTORS */
.cat-infra { background: #e0f2fe; color: #0369a1; }
.cat-agro { background: #fef9c3; color: #854d0e; }
.cat-manifattura { background: #f1f5f9; color: #334155; }
.cat-moda { background: #fce7f3; color: #9d174d; }
.cat-pharma { background: #ecfeff; color: #0e7490; }
.cat-finanza { background: #e0e7ff; color: #3730a3; }
.cat-utilities { background: #ffedd5; color: #c2410c; }
.cat-telco { background: #e0e7ff; color: #3730a3; }
.cat-software { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.card-btn-website:hover { background: #eff6ff !important; border-color: #2563eb !important; }


/* ==========================================================================
   VERINDEX TERMINAL & BILLIONAIRES INDEX STYLES (VERINDEX 2026)
   ========================================================================== */
:root {
  --bb-black: #000000;
  --bb-navy: #0f172a;
  --bb-dark: #1e293b;
  --bb-border: #334155;
  --bb-border-light: #e2e8f0;
  --bb-orange: #fb651e;
  --bb-cyan: #38bdf8;
  --bb-green: #10b981;
  --bb-red: #ef4444;
  --bb-gold: #f59e0b;
}

/* TOP MARKET TICKER STRIP */
.bb-market-ticker-wrap {
  background: #000000;
  border-bottom: 1px solid #1e293b;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  height: 32px;
}
.bb-ticker-label {
  background: var(--bb-orange);
  color: #000000;
  font-weight: 900;
  padding: 0 0.75rem;
  height: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  z-index: 2;
}
.bb-ticker-scroll {
  display: inline-flex;
  gap: 1.5rem;
  padding-left: 1rem;
  animation: bbTicker 40s linear infinite;
}
.bb-ticker-scroll:hover { animation-play-state: paused; }
@keyframes bbTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.bb-quote-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.bb-quote-sym { font-weight: 800; color: #ffffff; }
.bb-quote-val { color: #cbd5e1; }
.bb-up { color: #34d399; font-weight: 700; }
.bb-down { color: #f87171; font-weight: 700; }

/* VERINDEX HEADER & NAVBAR */
.bb-header {
  background: #0a0f1d;
  border-bottom: 2px solid #0284c7;
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.bb-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.bb-brand-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
  background: #ffffff;
  padding: 2px 6px;
}
.bb-brand-title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
}
.bb-brand-title span { color: var(--bb-cyan); }
.bb-brand-tagline {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bb-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.bb-nav-item {
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}
.bb-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.bb-nav-item.active {
  background: #1e293b;
  color: var(--bb-cyan);
  border-bottom: 2px solid var(--bb-cyan);
}

.bb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bb-btn-popup {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
}
.bb-btn-radio {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}
.bb-btn-radio:hover { background: #dc2626; transform: translateY(-1px); }
.bb-btn-tv {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}
.bb-btn-tv:hover { background: #0369a1; transform: translateY(-1px); }

/* COMPACT BROADCAST STRIP UNDER HEADER */
.bb-broadcast-strip {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #94a3b8;
}
.bb-onair-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ef4444;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.bb-onair-pulse .dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* VERINDEX BILLIONAIRES & TOP COMPANIES TABLE STYLES */
.bb-section-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
}
.bb-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.bb-kpi-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.bb-kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}
.bb-kpi-card.kpi-green::after { background: #10b981; }
.bb-kpi-card.kpi-blue::after { background: #0284c7; }
.bb-kpi-card.kpi-amber::after { background: #f59e0b; }
.bb-kpi-card.kpi-purple::after { background: #8b5cf6; }

.bb-kpi-val {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.bb-kpi-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
}
.bb-kpi-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* VERINDEX TAB SWITCHER */
.bb-tab-switcher {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.bb-tab-btn {
  background: #f1f5f9;
  border: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  color: #475569;
  border-radius: 6px 6px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}
.bb-tab-btn:hover { background: #e2e8f0; color: #0f172a; }
.bb-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
}

/* VERINDEX CONTROLS BAR */
.bb-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.bb-search-input {
  flex: 1;
  max-width: 380px;
  padding: 0.5rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease;
}
.bb-search-input:focus { border-color: #0284c7; }

.bb-sector-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}
.bb-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bb-chip:hover { border-color: #0f172a; color: #0f172a; }
.bb-chip.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* VERINDEX DATA TABLE */
.bb-table-wrapper {
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-height: 650px;
  overflow-y: auto;
}
.bb-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.82rem;
}
.bb-data-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bb-data-table th {
  padding: 0.75rem 0.85rem;
  border-bottom: 2px solid #334155;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.bb-data-table th:hover { background: #1e293b; color: var(--bb-cyan); }
.bb-data-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.12s ease;
  cursor: pointer;
}
.bb-data-table tbody tr:hover { background: #f8fafc; }
.bb-data-table td {
  padding: 0.75rem 0.85rem;
  vertical-align: middle;
}

/* INLINE WEALTH / REVENUE PROGRESS BAR */
.bb-bar-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
}
.bb-val-num {
  font-family: var(--mono);
  font-weight: 800;
  color: #0f172a;
  font-size: 0.88rem;
}
.bb-bar-track {
  width: 75px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.bb-bar-fill-wealth {
  height: 100%;
  background: linear-gradient(90deg, #059669, #10b981);
  border-radius: 3px;
}
.bb-bar-fill-rev {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 3px;
}

/* BADGES & PILLS */
.bb-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #334155;
}
.bb-sector-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #eff6ff;
  color: #1e40af;
  font-weight: 700;
  white-space: nowrap;
}
.bb-forensic-tag {
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
}

/* NATIVE POPUP DIALOGS (WEBRADIO & WEBTV) */
dialog.bb-popup-modal {
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 0;
  background: #0b1324;
  color: #ffffff;
  max-width: 820px;
  width: 94vw;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: fixed;
  inset: 0;
  margin: auto;
  overscroll-behavior: contain;
  z-index: 9999999;
}
dialog.bb-popup-modal.is-minimized {
  display: block !important;
  position: fixed !important;
  bottom: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -999 !important;
}
dialog.bb-popup-modal.is-minimized::backdrop {
  display: none !important;
}
dialog.bb-popup-modal::backdrop {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  overscroll-behavior: contain;
}
.bb-modal-header {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bb-modal-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bb-modal-close-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bb-modal-close-btn:hover { background: #ef4444; color: #ffffff; border-color: #ef4444; }

.bb-modal-body {
  padding: 1.25rem;
  max-height: 80vh;
  overflow-y: auto;
}

/* FLOATING AUDIO DOCK (MINI-PLAYER WHEN POPUP CLOSED) */
.bb-floating-dock {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #0f172a;
  border: 1.5px solid #0284c7;
  border-radius: 30px;
  padding: 0.45rem 1rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 999998;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bb-floating-dock:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(2, 132, 199, 0.4); }

/* ==========================================================================
   VERINDEX EDITORIAL LIGHT THEME & STICKY TOP RESPONSIVE ENGINE (2026)
   ========================================================================== */

/* STICKY TOP WRAPPER (ALWAYS VISIBLE WHILE SCROLLING) */
.bb-sticky-top {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #ffffff;
  border-bottom: 2px solid #ea580c;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

/* LIGHT THEME GLOBALS */
body.bb-light-theme,
body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* HEADER & NAVBAR (LIGHT EDITORIAL) */
.bb-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  padding: 0.6rem 1.5rem;
}
.bb-brand-title {
  color: #0f172a !important;
}
.bb-sub-brand {
  color: #64748b !important;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.bb-nav-link {
  color: #475569;
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.bb-nav-link:hover {
  color: #0284c7;
  background: #f1f5f9;
}
.bb-nav-link.active {
  color: #ea580c !important;
  background: rgba(234, 88, 12, 0.08);
  font-weight: 800;
}

/* MOBILE SWIPEABLE NAV BAR */
.bb-mobile-nav {
  display: none;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 0.4rem 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  gap: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bb-mobile-nav::-webkit-scrollbar {
  display: none;
}
.bb-mobile-nav .bb-nav-link {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.bb-mobile-nav .bb-nav-link.active {
  background: #ea580c;
  color: #ffffff !important;
  border-color: #ea580c;
}

/* CARDS (LIGHT EDITORIAL) */
.bb-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #0f172a !important;
}
.bb-card:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}
.bb-card-title {
  color: #0f172a !important;
}
.bb-card-sub {
  color: #64748b !important;
}
.bb-mini-row {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b;
}

/* HERO COVER (LIGHT EDITORIAL) */
.bb-cover-hero {
  background: #ffffff !important;
  border: 1.5px solid #0284c7 !important;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.08) !important;
  color: #0f172a !important;
}
.bb-cover-hero h1 {
  color: #0f172a !important;
}
.bb-cover-hero p {
  color: #334155 !important;
}

/* KPI CARDS (LIGHT EDITORIAL) */
.bb-kpi-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  color: #0f172a !important;
}
.bb-kpi-label {
  color: #64748b !important;
}
.bb-kpi-val {
  color: #0f172a !important;
}

/* TABLES (LIGHT EDITORIAL) */
.bb-table-wrapper {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.bb-data-table {
  background: #ffffff !important;
  color: #0f172a !important;
}
.bb-data-table thead th {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-bottom: 2px solid #cbd5e1 !important;
}
.bb-data-table tbody tr {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.bb-data-table tbody tr:hover {
  background: #f8fafc !important;
}
.bb-data-table td {
  color: #1e293b !important;
}
.bb-rank-badge {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
.bb-sector-pill {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}
.bb-networth-val {
  color: #0284c7 !important;
  font-weight: 800;
}

/* SEARCH & CHIP CONTROLS */
.bb-controls-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.bb-search-input {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}
.bb-search-input:focus {
  border-color: #0284c7 !important;
  background: #ffffff !important;
}
.bb-chip {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
.bb-chip.active {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

/* FOOTER (CLEAN CONTRAST) */
.bb-footer {
  background: #0f172a !important;
  border-top: 2px solid #1e293b;
  color: #94a3b8 !important;
}

/* MOBILE RESPONSIVE ENGINE (SMARTPHONES & TABLETS) */
@media (max-width: 768px) {
  .bb-market-ticker-wrap {
    height: 28px;
    font-size: 0.68rem;
  }
  .bb-ticker-label {
    font-size: 0.62rem;
    padding: 0 0.5rem;
  }
  .bb-header {
    padding: 0.5rem 0.85rem !important;
    gap: 0.5rem;
  }
  .bb-brand-title {
    font-size: 1.15rem !important;
  }
  .bb-sub-brand {
    display: none;
  }
  .bb-header-nav-desktop {
    display: none !important;
  }
  .bb-mobile-nav {
    display: flex !important;
  }
  .bb-header-actions {
    gap: 0.4rem;
  }
  .bb-btn-live {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
  }
  main {
    padding: 1.25rem 0.85rem !important;
  }
  .bb-kpi-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
  }
  .bb-kpi-val {
    font-size: 1.25rem !important;
  }
  .bb-kpi-label {
    font-size: 0.62rem !important;
  }
  .bb-kpi-sub {
    font-size: 0.65rem !important;
  }
  .bb-cover-hero {
    padding: 1.25rem !important;
  }
  .bb-cover-hero h1 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .bb-cover-hero p {
    font-size: 0.85rem !important;
  }
  .bb-landing-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .bb-card {
    padding: 1.15rem !important;
  }
  .bb-popup-modal {
    width: 96vw !important;
    max-height: 92vh !important;
    padding: 1rem !important;
  }
  .bb-floating-dock {
    bottom: 8px !important;
    right: 8px !important;
    max-width: calc(100vw - 16px) !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.72rem !important;
  }
}
