/* ── SIDEBAR LAYOUT ── */
.sidebar {
  position: absolute;
  left: 16px;
  top: 74px;
  bottom: 16px;
  width: var(--panel-w);
  background: rgba(248, 243, 235, 0.9);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 32px 80px rgba(6, 51, 40, 0.22),
    0 8px 24px rgba(6, 51, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateX(calc(-100% - 32px));
  transition: none;
  z-index: 10;
  overflow: hidden;
}
.sidebar.animate { transition: transform .7s cubic-bezier(.22,.8,.2,1); }
.sidebar.open { transform: translateX(0); }

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 51, 40, 0.12) transparent;
}

/* ════════════════════════
   HEADER
════════════════════════ */
.panel-head {
  padding: 22px 20px 18px;
  background: linear-gradient(150deg, var(--forest) 0%, #0b3d2e 55%, #0f5a44 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.panel-head::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 65%);
  pointer-events: none;
}
.panel-head::after {
  content: '';
  position: absolute;
  bottom: -30px; left: 20px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(20, 170, 105, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold2);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kicker::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--gold2);
  opacity: 0.45;
}

.address, .panel-address-line {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 2px;
  padding-right: 8px;
}
.address-sub, .panel-sub-line {
  font-size: 10.5px;
  color: rgba(245, 239, 228, 0.35);
  font-weight: 400;
  margin-bottom: 16px;
}

.score-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 239, 228, 0.1);
}
.score-num-wrap { position: relative; }
.score-num, .head-score-num {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.06em;
  filter: blur(7px);
  user-select: none;
  -webkit-user-select: none;
}
.score-denom, .head-score-denom {
  position: absolute;
  bottom: 4px; right: -20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 239, 228, 0.22);
  filter: blur(8px);
  user-select: none;
}
.score-right { flex: 1; padding-bottom: 4px; }
.score-lbl {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold2);
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}
.score-bar {
  width: 100%; height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.score-fill, .head-score-fill {
  height: 100%; width: 76%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  filter: blur(1.5px);
}
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold2);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.lock-pill, .head-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(245, 239, 228, 0.28);
  margin-top: 14px;
}

/* ════════════════════════
   FREE CHECKS
════════════════════════ */
.free-section {
  padding: 14px 20px 13px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-main);
}
.check-dot {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(20, 170, 105, 0.1);
  border: 1px solid rgba(20, 170, 105, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ════════════════════════
   SECTION LABEL
════════════════════════ */
.sec-lbl {
  padding: 14px 20px 10px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-lbl::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

/* ════════════════════════
   BLURRED BLOCKS
════════════════════════ */
.blur-block {
  margin: 0 14px 4px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.blur-inner, .blur-block-inner {
  padding: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(6, 51, 40, 0.07);
  border-radius: 14px;
  filter: blur(8px);
  opacity: 0.45;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.blur-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
.lock-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(248, 243, 235, 0.97);
  border: 1px solid rgba(6, 51, 40, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--forest);
  box-shadow:
    0 8px 24px rgba(6, 51, 40, 0.14),
    0 2px 8px rgba(6, 51, 40, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ════════════════════════
   MINI GRID 2×2
════════════════════════ */
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 7px;
}
.mini-card {
  background: #fff;
  border: 1px solid rgba(6, 51, 40, 0.08);
  border-radius: 10px;
  padding: 9px 11px;
  box-shadow: 0 2px 8px rgba(6, 51, 40, 0.04);
}
.mini-lbl {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.mini-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
}
.mini-val span { font-size: 10px; color: rgba(6,51,40,.25); font-weight: 500; }
.mini-sub-g { font-size: 9px; font-weight: 700; color: #0a6038; margin-top: 1px; }
.mini-sub-r { font-size: 9px; font-weight: 700; color: #9b2d1f; margin-top: 1px; }
.mini-bar {
  width: 100%; height: 2px;
  background: rgba(6,51,40,.07);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.mini-bar-fill { height: 100%; border-radius: 2px; }

/* ════════════════════════
   DATA ROWS
════════════════════════ */
.data-rows { display: flex; flex-direction: column; gap: 4px; }
.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid rgba(6, 51, 40, 0.07);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(6,51,40,.03);
}
.dr-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}
.dr-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(6,51,40,.18);
  flex-shrink: 0;
}
.tags { display: flex; gap: 4px; flex-shrink: 0; margin-left: 8px; }
.tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-g { background: rgba(20,170,105,.1);  color: #0a6038; border: 1px solid rgba(20,170,105,.14); }
.tag-y { background: rgba(184,146,74,.1);  color: #7a5800; border: 1px solid rgba(184,146,74,.14); }
.tag-r { background: rgba(192,57,43,.08);  color: #8b2519; border: 1px solid rgba(192,57,43,.12); }
.tag-d { background: rgba(6,51,40,.07);    color: rgba(6,51,40,.5); border: 1px solid rgba(6,51,40,.1); }

/* ════════════════════════
   EXEC BOX
════════════════════════ */
.exec-box {
  padding: 10px 12px;
  background: rgba(6,51,40,.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 7px;
}
.exec-box strong { color: var(--forest); }

/* ════════════════════════
   TOPO CARDS
════════════════════════ */
.topo-row { display: flex; gap: 5px; margin-top: 7px; }
.topo-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(6,51,40,.08);
  border-radius: 10px;
  padding: 9px 10px;
  box-shadow: 0 2px 8px rgba(6,51,40,.04);
}
.topo-lbl { font-size: 8px; font-weight: 700; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.topo-val { font-size: 12px; font-weight: 900; color: var(--forest); letter-spacing: -.02em; line-height: 1.15; }
.topo-sub { font-size: 8.5px; color: rgba(6,51,40,.4); margin-top: 2px; }

/* ════════════════════════
   RADAR
════════════════════════ */
.radar-row { display: flex; gap: 5px; margin-top: 7px; }
.radar-item {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(6,51,40,.08);
  border-radius: 10px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(6,51,40,.04);
}
.radar-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}
.radar-lbl { font-size: 8.5px; font-weight: 700; color: var(--text-muted); text-align: center; line-height: 1.2; }

/* ════════════════════════
   CTA
════════════════════════ */
.cta-section { padding: 14px 14px 22px; }
.cta-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest2) 100%);
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--cream);
  cursor: pointer;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(6,51,40,.22), 0 2px 8px rgba(6,51,40,.12);
  transition: transform 0.18s, box-shadow 0.18s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(6,51,40,.28), 0 4px 12px rgba(6,51,40,.14); }
.cta-btn:active { transform: translateY(0); }
.cta-hint {
  text-align: center;
  margin-top: 7px;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ════════════════════════
   MOBILE
════════════════════════ */
@media (max-width: 700px) {
  .sidebar {
    left: 0; right: 0; top: auto;
    bottom: 0; width: 100%;
    border-radius: 20px 20px 0 0;
    height: 62vh;
    transform: translateY(100%);
  }
  .sidebar.open { transform: translateY(0) !important; }
}
