/* BEElio V2.0 — Account & Multi-Profile Activity History Styles (Offline-First, Dual-Lens) */

.beelio-ah-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 96px;
  box-sizing: border-box;
  font-family: var(--beelio-font-body);
  color: var(--beelio-text);
}

/* --- TOP HERO & DUAL-LENS SWITCHER --- */
.beelio-ah-hero {
  position: relative;
  border-radius: 26px;
  padding: 22px 24px;
  margin-bottom: 18px;
  border: 2.5px solid #FCD34D;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 55%, #FFEDD5 100%);
  box-shadow: 0 10px 26px rgba(246, 185, 26, 0.16), 0 4px 0 #F59E0B;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.beelio-ah-hero.is-parent-lens {
  border-color: #93C5FD;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 55%, #ECFDF5 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.13), 0 4px 0 #3B82F6;
}

[data-theme="dark"] .beelio-ah-hero {
  background: linear-gradient(135deg, #2A2416 0%, #332915 60%, #2C2117 100%);
  border-color: #B45309;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 4px 0 #92400E;
}

[data-theme="dark"] .beelio-ah-hero.is-parent-lens {
  background: linear-gradient(135deg, #17253B 0%, #192E47 60%, #14312B 100%);
  border-color: #2563EB;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 4px 0 #1D4ED8;
}

[data-theme="sepia"] .beelio-ah-hero {
  background: linear-gradient(135deg, #FAF0DA 0%, #F4E4C1 100%);
  border-color: #D4A94E;
}

.beelio-ah-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.beelio-ah-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(36, 50, 74, 0.16);
  background: var(--beelio-surface);
  color: var(--beelio-text);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.beelio-ah-back-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--beelio-shadow-xs);
}

.beelio-ah-lens-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(36, 50, 74, 0.14);
  max-width: 100%;
  flex-wrap: wrap;
}

[data-theme="dark"] .beelio-ah-lens-switch {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.25);
}

.beelio-ah-lens-btn {
  border: none;
  background: transparent;
  color: var(--beelio-text-muted);
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.beelio-ah-lens-btn.active {
  background: linear-gradient(135deg, #F6B91A 0%, #F47B20 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(244, 123, 32, 0.32);
}

.beelio-ah-hero.is-parent-lens .beelio-ah-lens-btn.active {
  background: linear-gradient(135deg, #2563EB 0%, #0D9488 100%);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.32);
}

.beelio-ah-hero-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.beelio-ah-hero-title-group {
  flex: 1 1 320px;
  min-width: 0;
}

.beelio-ah-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(245, 158, 11, 0.18);
  color: #92400E;
  margin-bottom: 8px;
}

.beelio-ah-hero.is-parent-lens .beelio-ah-eyebrow {
  background: rgba(37, 99, 235, 0.15);
  color: #1E40AF;
}

[data-theme="dark"] .beelio-ah-eyebrow {
  background: rgba(251, 191, 36, 0.2);
  color: #FDE68A;
}

[data-theme="dark"] .beelio-ah-hero.is-parent-lens .beelio-ah-eyebrow {
  background: rgba(96, 165, 250, 0.22);
  color: #BFDBFE;
}

.beelio-ah-title {
  margin: 0 0 6px;
  font-family: var(--beelio-font-rounded);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--beelio-text);
}

.beelio-ah-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--beelio-text-muted);
  line-height: 1.5;
}

/* --- PROFILE PILL SELECTOR (6 SIBLINGS + ALL COMBINED) --- */
.beelio-ah-profiles-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.beelio-ah-profiles-bar::-webkit-scrollbar {
  display: none;
}

.beelio-ah-profile-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--beelio-border);
  background: var(--beelio-surface);
  color: var(--beelio-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.beelio-ah-profile-chip.active {
  border-color: #F59E0B;
  background: #FFFBEB;
  color: #92400E;
  box-shadow: 0 2px 0 #F59E0B;
}

.beelio-ah-hero.is-parent-lens .beelio-ah-profile-chip.active {
  border-color: #2563EB;
  background: #EFF6FF;
  color: #1E40AF;
  box-shadow: 0 2px 0 #2563EB;
}

[data-theme="dark"] .beelio-ah-profile-chip.active {
  background: #3B2F15;
  color: #FDE68A;
}

[data-theme="dark"] .beelio-ah-hero.is-parent-lens .beelio-ah-profile-chip.active {
  background: #1E3A5F;
  color: #BFDBFE;
}

/* --- FEEDBACK TOAST BANNER --- */
.beelio-ah-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid #10B981;
  background: #ECFDF5;
  color: #065F46;
}

.beelio-ah-banner.is-warn {
  border-color: #F59E0B;
  background: #FFFBEB;
  color: #92400E;
}

.beelio-ah-banner-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  padding: 2px 6px;
}

/* --- KPI SUMMARY GRID (4 CARDS) --- */
.beelio-ah-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.beelio-ah-kpi-card {
  background: var(--beelio-surface);
  border: 2px solid var(--beelio-border);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--beelio-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.beelio-ah-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--beelio-text-muted);
}

.beelio-ah-kpi-icon {
  font-size: 20px;
  line-height: 1;
}

.beelio-ah-kpi-val {
  font-family: var(--beelio-font-rounded);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 900;
  color: var(--beelio-text);
  line-height: 1.2;
  word-break: break-word;
}

.beelio-ah-kpi-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--beelio-text-muted);
}

/* --- 14-DAY FLAME & SUNSHINE CALENDAR STRIP --- */
.beelio-ah-section-card {
  background: var(--beelio-surface);
  border: 2px solid var(--beelio-border);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--beelio-shadow-xs);
}

.beelio-ah-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.beelio-ah-section-title {
  margin: 0;
  font-family: var(--beelio-font-rounded);
  font-size: 17px;
  font-weight: 900;
  color: var(--beelio-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.beelio-ah-section-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--beelio-surface-soft);
  color: var(--beelio-text-muted);
}

.beelio-ah-calendar-strip {
  display: grid;
  grid-template-columns: repeat(14, minmax(46px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.beelio-ah-cal-day {
  border-radius: 14px;
  border: 1.5px solid var(--beelio-border);
  background: var(--beelio-surface-soft);
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 46px;
}

.beelio-ah-cal-day.is-active {
  border-color: #F59E0B;
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
}

[data-theme="dark"] .beelio-ah-cal-day.is-active {
  background: linear-gradient(180deg, #3A2E14 0%, #453311 100%);
  border-color: #D97706;
}

.beelio-ah-cal-day.is-today {
  box-shadow: 0 0 0 2px #2563EB;
}

.beelio-ah-cal-flame {
  font-size: 17px;
  line-height: 1.1;
}

.beelio-ah-cal-date {
  font-size: 11px;
  font-weight: 800;
  color: var(--beelio-text);
}

.beelio-ah-cal-min {
  font-size: 10px;
  font-weight: 700;
  color: var(--beelio-text-muted);
}

/* --- PARENT 5-SECOND DIAGNOSTIC & SUBJECT BALANCE --- */
.beelio-ah-parent-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 18px;
}

.beelio-ah-diag-card {
  background: var(--beelio-surface);
  border: 2px solid #93C5FD;
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--beelio-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

[data-theme="dark"] .beelio-ah-diag-card {
  border-color: #1D4ED8;
}

.beelio-ah-diag-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.beelio-ah-diag-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--beelio-surface-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.beelio-ah-diag-item.is-good {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.beelio-ah-diag-item.is-attention {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
}

.beelio-ah-diag-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px dashed var(--beelio-border);
}

.beelio-ah-cta-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 0 #1E3A8A;
  transition: transform 0.14s ease;
}

.beelio-ah-cta-btn.is-gold {
  background: linear-gradient(135deg, #F6B91A 0%, #F47B20 100%);
  box-shadow: 0 3px 0 #B45309;
}

.beelio-ah-cta-btn:hover {
  transform: translateY(-1px);
}

/* --- 7-SUBJECT BALANCE BARS --- */
.beelio-ah-subj-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.beelio-ah-subj-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.beelio-ah-subj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.beelio-ah-subj-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: var(--beelio-surface-soft);
  overflow: hidden;
}

.beelio-ah-subj-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

/* --- GEM & FLOWER LEDGER STATEMENT STRIP --- */
.beelio-ah-wallet-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.beelio-ah-wallet-box {
  background: var(--beelio-surface);
  border: 1.5px solid var(--beelio-border);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.beelio-ah-wallet-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--beelio-text-muted);
}

.beelio-ah-wallet-flows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 800;
}

.beelio-ah-flow-in {
  color: #15803D;
}

.beelio-ah-flow-out {
  color: #DC2626;
}

[data-theme="dark"] .beelio-ah-flow-in {
  color: #4ADE80;
}

[data-theme="dark"] .beelio-ah-flow-out {
  color: #F87171;
}

/* --- PARENT TOOLS BAR (PRINT A4, SYNC ZALO CODE, CLEAR WITH PIN) --- */
.beelio-ah-parent-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--beelio-surface);
  border: 1.5px dashed var(--beelio-border);
  margin-bottom: 18px;
}

.beelio-ah-tool-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.beelio-ah-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--beelio-border);
  background: var(--beelio-surface-soft);
  color: var(--beelio-text);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.14s ease;
}

.beelio-ah-tool-btn:hover {
  border-color: var(--beelio-blue);
}

.beelio-ah-tool-btn.is-primary {
  background: #1E3A8A;
  border-color: #1E3A8A;
  color: #FFFFFF;
}

.beelio-ah-tool-btn.is-danger {
  color: var(--beelio-crimson);
}

/* --- TIMELINE FILTER & SEARCH BAR --- */
.beelio-ah-filter-bar {
  background: var(--beelio-surface);
  border: 2px solid var(--beelio-border);
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beelio-ah-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.beelio-ah-cat-pills,
.beelio-ah-day-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.beelio-ah-cat-pills::-webkit-scrollbar,
.beelio-ah-day-pills::-webkit-scrollbar {
  display: none;
}

.beelio-ah-pill {
  flex: 0 0 auto;
  border: 1.5px solid var(--beelio-border);
  background: var(--beelio-surface-soft);
  color: var(--beelio-text);
  font-size: 12.5px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.beelio-ah-pill.active {
  background: var(--beelio-ink);
  border-color: var(--beelio-ink);
  color: var(--beelio-surface);
}

.beelio-ah-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--beelio-surface-soft);
  border: 1.5px solid var(--beelio-border);
  border-radius: 14px;
  padding: 8px 12px;
}

.beelio-ah-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--beelio-text);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

/* --- GROUPED DAILY TIMELINE --- */
.beelio-ah-day-group {
  margin-bottom: 20px;
}

.beelio-ah-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 4px 10px;
}

.beelio-ah-day-title {
  font-family: var(--beelio-font-rounded);
  font-size: 15.5px;
  font-weight: 900;
  color: var(--beelio-text);
}

.beelio-ah-day-summary {
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--beelio-blue);
}

.beelio-ah-events-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beelio-ah-event-card {
  background: var(--beelio-surface);
  border: 1.5px solid var(--beelio-border);
  border-radius: 18px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.beelio-ah-event-card:hover {
  border-color: #94A3B8;
  box-shadow: var(--beelio-shadow-xs);
}

.beelio-ah-event-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 280px;
  min-width: 0;
}

.beelio-ah-event-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--beelio-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.beelio-ah-event-card.tone-success .beelio-ah-event-icon {
  background: rgba(16, 185, 129, 0.14);
}

.beelio-ah-event-card.tone-reward .beelio-ah-event-icon {
  background: rgba(245, 158, 11, 0.18);
}

.beelio-ah-event-card.tone-spend .beelio-ah-event-icon {
  background: rgba(236, 72, 153, 0.14);
}

.beelio-ah-event-body {
  flex: 1;
  min-width: 0;
}

.beelio-ah-event-meta-top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--beelio-text-muted);
  margin-bottom: 3px;
}

.beelio-ah-prof-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--beelio-surface-soft);
  color: var(--beelio-text);
}

.beelio-ah-event-title {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 800;
  color: var(--beelio-text);
  line-height: 1.35;
  word-break: break-word;
}

.beelio-ah-event-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--beelio-text-muted);
  line-height: 1.4;
}

.beelio-ah-parent-note {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.13);
  border-left: 3px solid #F59E0B;
  font-size: 12px;
  font-weight: 700;
  color: #B45309;
}

[data-theme="dark"] .beelio-ah-parent-note {
  color: #FDE68A;
}

.beelio-ah-event-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex: 0 0 auto;
}

.beelio-ah-deltas {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.beelio-ah-delta-chip {
  font-size: 12px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.beelio-ah-delta-chip.is-pos {
  background: #DCFCE7;
  color: #166534;
}

.beelio-ah-delta-chip.is-neg {
  background: #FEE2E2;
  color: #991B1B;
}

[data-theme="dark"] .beelio-ah-delta-chip.is-pos {
  background: rgba(34, 197, 94, 0.2);
  color: #86EFAC;
}

[data-theme="dark"] .beelio-ah-delta-chip.is-neg {
  background: rgba(239, 68, 68, 0.22);
  color: #FCA5A5;
}

.beelio-ah-bal-after {
  font-size: 11px;
  font-weight: 700;
  color: var(--beelio-text-muted);
}

.beelio-ah-action-btn {
  border: 1.5px solid var(--beelio-border);
  background: var(--beelio-surface-soft);
  color: var(--beelio-text);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.beelio-ah-action-btn:hover {
  border-color: var(--beelio-blue);
  color: var(--beelio-blue);
}

.beelio-ah-empty-box {
  text-align: center;
  padding: 38px 20px;
  background: var(--beelio-surface);
  border: 2px dashed var(--beelio-border);
  border-radius: 22px;
}

.beelio-ah-load-more-wrap {
  text-align: center;
  margin-top: 16px;
}

/* --- MODAL (PARENT PIN GATE & SYNC CODE DRAWER) --- */
.beelio-ah-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.beelio-ah-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--beelio-surface);
  border: 2.5px solid var(--beelio-gold);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: var(--beelio-shadow-md);
  color: var(--beelio-text);
}

.beelio-ah-modal-title {
  margin: 0 0 6px;
  font-family: var(--beelio-font-rounded);
  font-size: 19px;
  font-weight: 900;
}

.beelio-ah-modal-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--beelio-text-muted);
  line-height: 1.5;
}

.beelio-ah-pin-input,
.beelio-ah-sync-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 2px solid var(--beelio-border);
  background: var(--beelio-surface-soft);
  color: var(--beelio-text);
  padding: 11px 14px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.beelio-ah-pin-input {
  text-align: center;
  letter-spacing: 0.35em;
  font-size: 22px;
}

.beelio-ah-sync-textarea {
  font-family: var(--beelio-font-mono);
  font-size: 12px;
  font-weight: 600;
  min-height: 92px;
  resize: vertical;
}

.beelio-ah-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

/* --- NON-INVASIVE BRIDGE BUTTONS IN PROFILE MODAL & REWARD HUB --- */
.beelio-ah-bridge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px dashed rgba(148, 163, 184, 0.35);
}

.beelio-ah-bridge-btn {
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1.5px solid #F59E0B;
  background: #FFFBEB;
  color: #92400E;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.beelio-ah-bridge-btn.is-parent {
  border-color: #3B82F6;
  background: #EFF6FF;
  color: #1E40AF;
}

/* --- RESPONSIVE BREAKPOINTS (MOBILE & TABLET ANTI-OVERFLOW) --- */
@media (max-width: 860px) {
  .beelio-ah-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .beelio-ah-parent-grid {
    grid-template-columns: 1fr;
  }
  .beelio-ah-wallet-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .beelio-ah-page {
    padding: 12px 12px 92px;
  }
  .beelio-ah-hero {
    padding: 16px;
    border-radius: 20px;
  }
  .beelio-ah-lens-switch {
    width: 100%;
    justify-content: stretch;
  }
  .beelio-ah-lens-btn {
    flex: 1 1 130px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .beelio-ah-event-card {
    flex-direction: column;
    align-items: stretch;
  }
  .beelio-ah-event-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px dashed var(--beelio-border);
  }
}
