/* ===== DATABASE.CSS — Provider card & database UI styles ===== */
/* Extracted from inline <style> — shared across all city pages */

/* ===== SEARCH INPUT ===== */
.db-search {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.25rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--charcoal);
    border: 1px solid var(--rule);
    border-radius: 6px;
    outline: none;
    margin-top: 1.25rem;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A99A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.75rem center;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.db-search + .db-filter-row {
    margin-top: 0.5rem;
}
.db-search:focus {
    border-color: var(--pool);
    box-shadow: 0 0 0 2px rgba(11,133,122,0.1);
}
.db-search::placeholder { color: var(--light-gray); }

/* ===== FILTER SELECTS ===== */
.db-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.db-filter-select {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--charcoal);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    background: var(--white);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A99A8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.15s;
}
.db-filter-select:focus {
    border-color: var(--pool);
    box-shadow: 0 0 0 2px rgba(11,133,122,0.1);
}
/* Highlight active (non-default) filters */
.db-filter-select--active {
    border-color: var(--pool);
    background-color: rgba(11,133,122,0.04);
    font-weight: 500;
}
/* Active filter summary bar */
.db-active-filters {
    display: none;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 0;
}
.db-active-filters.visible { display: flex; }
.db-active-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(11,133,122,0.08);
    color: var(--pool);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
}
.db-active-filters__clear {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--light-gray);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    text-decoration: underline;
}
.db-active-filters__clear:hover { color: var(--charcoal); }

/* ===== PROVIDER CARDS (dynamic database) ===== */
.db-cards { padding: 0.5rem 0; display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
.db-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
}
.db-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
    border-color: rgba(11,133,122,0.3);
    transform: translateY(-2px);
}
.db-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.db-card__top > div:first-child { min-width: 0; }
.db-card__name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.3rem; color: var(--black); line-height: 1.2; }
.db-card__score {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; border-radius: 50%;
    background: var(--grade-B); font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem; font-weight: 800; color: var(--white); flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.db-card__score--A { background: var(--grade-A); box-shadow: 0 2px 8px rgba(11,133,122,0.3); }
.db-card__score--B { background: var(--grade-B); box-shadow: 0 2px 8px rgba(21,87,176,0.3); }
.db-card__score--C { background: var(--grade-C); box-shadow: 0 2px 8px rgba(217,119,6,0.3); }
.db-card__score--D { background: var(--grade-D); box-shadow: 0 2px 8px rgba(220,38,38,0.3); }
.db-card__score--none { background: var(--rule); color: var(--gray); font-size: 0.6rem; font-weight: 600; box-shadow: none; }
.db-card__score--locked { background: var(--rule); color: var(--light-gray); box-shadow: none; }
.db-card__score[data-score-id] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px currentColor;
}
.db-card__score[data-score-id]:hover {
    transform: scale(1.12);
}
.db-card__score--A[data-score-id] { box-shadow: 0 2px 8px rgba(11,133,122,0.3), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(11,133,122,0.35); }
.db-card__score--A[data-score-id]:hover { box-shadow: 0 4px 14px rgba(11,133,122,0.45), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(11,133,122,0.55); }
.db-card__score--B[data-score-id] { box-shadow: 0 2px 8px rgba(21,87,176,0.3), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(21,87,176,0.35); }
.db-card__score--B[data-score-id]:hover { box-shadow: 0 4px 14px rgba(21,87,176,0.45), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(21,87,176,0.55); }
.db-card__score--C[data-score-id] { box-shadow: 0 2px 8px rgba(217,119,6,0.3), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(217,119,6,0.35); }
.db-card__score--C[data-score-id]:hover { box-shadow: 0 4px 14px rgba(217,119,6,0.45), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(217,119,6,0.55); }
.db-card__score--D[data-score-id] { box-shadow: 0 2px 8px rgba(220,38,38,0.3), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(220,38,38,0.35); }
.db-card__score--D[data-score-id]:hover { box-shadow: 0 4px 14px rgba(220,38,38,0.45), 0 0 0 2.5px rgba(255,255,255,0.85), 0 0 0 4px rgba(220,38,38,0.55); }
.db-card__tags { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-top: 0.25rem; }
.db-card__tag {
    font-size: 0.62rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 0.25rem 0.6rem;
    border: 1px solid var(--rule); color: var(--gray);
    border-radius: 3px;
}
.db-card__tag--cat { color: var(--purple); border-color: var(--purple); }
.db-card__tag--hood { color: var(--sage); border-color: var(--sage); }
.db-card__tag--verified { color: var(--white); background: var(--pool); border-color: var(--pool); }
.db-card__tag--filter { cursor: pointer; transition: all 0.15s; }
.db-card__tag--filter:hover { border-color: var(--pool); color: var(--pool); }
.db-card__tag--active { background: var(--pool); color: var(--white); border-color: var(--pool); }
.db-tag-filter-bar { font-size: 0.72rem; color: var(--charcoal); margin-left: 0.5rem; }
.db-card__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem; margin-top: 0.75rem;
}
.db-card__fl { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 0.15rem; }
.db-card__fv { font-size: 0.82rem; color: var(--charcoal); font-weight: 500; }
.db-card__fv--empty { color: var(--rule); font-style: italic; font-weight: 400; }
.db-card__nd { color: var(--light-gray); font-style: italic; font-weight: 400; font-size: 0.72rem; }
.db-card__review { margin-top: 0.5rem; font-size: 0.88rem; color: var(--charcoal); line-height: 1.75; }
.db-card__verdict { font-family: 'Inter', -apple-system, sans-serif; font-size: 0.82rem; color: var(--charcoal); margin-top: 0.2rem; line-height: 1.55; }
.db-card__verdict--hook { font-size: 0.75rem; }

/* ===== SCORE INSIGHT LINE ===== */
.db-card__score-insight { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; font-size: 0.78rem; color: var(--gray); line-height: 1.4; }
.db-card__score-insight strong { font-weight: 700; color: var(--charcoal); }
.db-card__score-insight-missing { color: var(--light-gray); font-size: 0.68rem; }

/* ===== BENCHMARK PILLS ===== */
.bench { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.56rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px; margin-left: 0.3rem; white-space: nowrap; vertical-align: baseline; }
.bench--good { color: #0B857A; background: rgba(11,133,122,0.1); }
.bench--heads-up { color: #D97706; background: rgba(217,119,6,0.1); }
.bench__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ===== DIFFERENTIATOR ICONS ===== */
.db-card__diff-icons { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }
.db-card__diff-icon { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.58rem; font-weight: 600; color: #1e3a5f; background: rgba(30,58,95,0.08); padding: 0.15rem 0.5rem; border-radius: 3px; white-space: nowrap; cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAYAAACEYr13AAAAUElEQVR4nGNkYGBg4G6tmsZABvha3ZbFQK4BMD1MDBQCplEDGEYNYBgRBnATyGgshDSCsiwym6At3K1V03DZiq4ORDOiS+C0BYshVClQKAYAEC0kYUViEQEAAAAASUVORK5CYII=") 8 10, help; }
.db-card__diff-icon .db-tip { visibility: hidden; opacity: 0; position: absolute; top: calc(100% + 6px); left: 0; background: var(--charcoal); color: var(--white); font-size: 0.65rem; font-weight: 400; line-height: 1.45; padding: 0.45rem 0.65rem; border-radius: 5px; white-space: normal; width: max-content; max-width: 240px; z-index: 200; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: opacity 0.15s, visibility 0.15s; }
.db-card__diff-icon .db-tip::before { content: ''; position: absolute; bottom: 100%; left: 12px; border: 5px solid transparent; border-bottom-color: var(--charcoal); }
.db-card__diff-icon:hover .db-tip { visibility: visible; opacity: 1; }
/* ===== CARD DENSITY TOGGLE ===== */
.db-density-toggle {
    display: inline-flex;
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    margin-left: 0.35rem;
    flex-shrink: 0;
}
.db-density-toggle__btn {
    background: var(--white);
    border: none;
    padding: 0.4rem 0.55rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: var(--light-gray);
}
.db-density-toggle__btn + .db-density-toggle__btn { border-left: 1px solid var(--rule); }
.db-density-toggle__btn:hover { color: var(--charcoal); background: var(--cream); }
.db-density-toggle__btn--active { background: var(--pool); color: var(--white); }
.db-density-toggle__btn--active:hover { background: var(--pool); color: var(--white); opacity: 0.9; }

/* Density: compact — 3 cards per row, tighter sizing */
.db-cards--compact { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.db-cards--compact .db-card { padding: 0.85rem 1rem; }
.db-cards--compact .db-card__name { font-size: 0.95rem; }
.db-cards--compact .db-card__top { gap: 0.4rem; }
.db-cards--compact .db-card__score { min-width: 32px; height: 32px; font-size: 0.65rem; }
.db-cards--compact .db-card__score-insight { font-size: 0.62rem; }
.db-cards--compact .db-card__score-insight-missing { font-size: 0.56rem; }
.db-cards--compact .db-card__verdict { font-size: 0.68rem; }
.db-cards--compact .db-card__summary-row { font-size: 0.65rem; flex-wrap: wrap; gap: 0.2rem 0.5rem; }
.db-cards--compact .db-card__summary-row > span + span { border-left: none; padding-left: 0; }
.db-cards--compact .db-card__tags { gap: 0.15rem; }
.db-cards--compact .db-card__tag { font-size: 0.5rem; padding: 0.1rem 0.35rem; }
.db-cards--compact .db-card__diff-icons { gap: 0.15rem; }
.db-cards--compact .db-card__diff-icon { font-size: 0.5rem; padding: 0.1rem 0.35rem; }
.db-cards--compact .db-card__enrollment { font-size: 0.55rem; }
.db-cards--compact .db-card__toggle { font-size: 0.56rem; }
.db-cards--compact .db-compare-check__label { font-size: 0.5rem; }

/* Density: comfortable — 2 cards per row */
.db-cards--comfortable { grid-template-columns: repeat(2, 1fr); }

/* Density: spacious — 1 per row (default grid) */
.db-cards--spacious { grid-template-columns: 1fr; }
.db-cards--spacious .db-card { padding: 2rem 2.25rem; }
.db-cards--spacious .db-card__name { font-size: 1.5rem; }
.db-cards--spacious .db-card__score { min-width: 50px; height: 50px; font-size: 0.95rem; }
.db-cards--spacious .db-card__score-insight { font-size: 0.88rem; margin-top: 0.5rem; }
.db-cards--spacious .db-card__score-insight-missing { font-size: 0.75rem; }
.db-cards--spacious .db-card__verdict { font-size: 0.92rem; line-height: 1.7; margin-top: 0.5rem; }
.db-cards--spacious .db-card__summary-row { font-size: 0.92rem; margin-top: 0.65rem; }
.db-cards--spacious .db-card__diff-icons { margin-top: 0.55rem; }
.db-cards--spacious .db-card__diff-icon { font-size: 0.65rem; padding: 0.2rem 0.6rem; }
.db-cards--spacious .db-card__enrollment { font-size: 0.68rem; margin-top: 0.55rem; }
.db-cards--spacious .db-card__tag { font-size: 0.72rem; }
.db-cards--spacious .db-card__toggle { font-size: 0.92rem; }
.db-cards--spacious .db-compare-check__label { font-size: 0.68rem; }

/* ===== ENROLLMENT STATUS BADGE ===== */
.db-card__enrollment {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 0.2rem 0.55rem;
    border-radius: 3px; margin-top: 0.4rem;
}
.db-card__enrollment--accepting { background: rgba(11,133,122,0.1); color: #0B857A; }
.db-card__enrollment--waitlist { background: rgba(217,119,6,0.1); color: #D97706; }
.db-card__enrollment--full { background: rgba(107,125,142,0.08); color: #6B7D8E; }
.db-card__enrollment-dot {
    width: 6px; height: 6px; border-radius: 50%;
}
.db-card__enrollment--accepting .db-card__enrollment-dot { background: #0B857A; }
.db-card__enrollment--waitlist .db-card__enrollment-dot { background: #D97706; }
.db-card__enrollment--full .db-card__enrollment-dot { background: #6B7D8E; }

.db-card__report { margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--rule); text-align: left; font-family: 'Inter', -apple-system, sans-serif; font-size: 0.72rem; color: var(--light-gray); letter-spacing: 0; }
.db-card__report a { font-size: inherit; color: var(--light-gray); text-decoration: none; }
.db-card__report a:hover { color: var(--pool); text-decoration: underline; }
/* ===== COLLAPSED / EXPANDED CARD ===== */
.db-card__summary-row {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    margin-top: 0.3rem;
    font-size: 0.82rem;
}
.db-card__summary-row > span + span {
    border-left: 1px solid var(--rule);
    padding-left: 1rem;
}
.db-card__summary-field .db-card__fl { margin-bottom: 0; }
.db-card__expand-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}
.db-card--expanded .db-card__expand-wrap {
    grid-template-rows: 1fr;
}
.db-card__expand-section {
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s 0.25s;
}
.db-card--expanded .db-card__expand-section {
    visibility: visible;
    transition: visibility 0s;
}
.db-card--expanded .db-card__summary-row { display: none; }
.db-card__toggle {
    display: inline-block;
    margin-top: 0.25rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--pool);
    background: none;
    border: none;
    padding: 0.15rem 0;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: color 0.15s;
}
.db-card__toggle:hover { color: var(--black); }

.db-card__field-empty { background: var(--cream); border-left: 2px solid var(--pool); padding: 0.5rem 0.6rem; }
.db-card__field-status { font-size: 0.72rem; color: var(--gray); font-style: italic; }
.db-card__tour-prompt { font-size: 0.68rem; color: var(--charcoal); margin-top: 0.25rem; line-height: 1.45; }
.db-card__req-count { font-size: 0.65rem; color: var(--pool); font-weight: 600; }
.db-card__req-btn { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pool); background: none; border: 1px solid var(--pool); padding: 0.25rem 0.6rem; margin-top: 0.3rem; cursor: pointer; display: inline-block; }
.db-card__req-btn:hover { background: var(--pool); color: var(--white); }

/* ===== STANDOUT CALLOUTS (deprecated — standouts now woven into verdict) ===== */
.db-card__standout {
    background: rgba(11,133,122,0.06);
    border-left: 3px solid var(--pool);
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 0.75rem;
    margin-top: 0.6rem;
}
.db-card__standout-label {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pool);
    margin-bottom: 0.25rem;
}
.db-card__standout-item {
    font-size: 0.75rem;
    color: var(--charcoal);
    line-height: 1.5;
    font-weight: 500;
}
.db-card__standout-item + .db-card__standout-item {
    margin-top: 0.15rem;
}

/* ===== PEER GROUP COST/HOUR BENCHMARK ===== */
.db-peer-rank {
    display: inline;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--pool);
    border-bottom: 1px dashed var(--pool);
    cursor: pointer;
    margin-left: 0.4rem;
    white-space: nowrap;
}
.db-peer-rank:hover { color: var(--black); border-bottom-color: var(--black); }

.db-peer-panel {
    background: var(--cream);
    border-left: 3px solid var(--pool);
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    animation: dbPeerSlide 0.2s ease-out;
}
@keyframes dbPeerSlide {
    from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
    to { opacity: 1; max-height: 500px; }
}
.db-peer-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.db-peer-panel__title {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}
.db-peer-panel__close {
    font-size: 1rem;
    color: var(--light-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
}
.db-peer-panel__close:hover { color: var(--black); }
.db-peer-panel__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.3rem 0.4rem;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--rule);
}
.db-peer-panel__row:last-child { border-bottom: none; }
.db-peer-panel__row--current { background: rgba(11,133,122,0.08); font-weight: 600; }
.db-peer-panel__rank {
    flex-shrink: 0;
    width: 2.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pool);
}
.db-peer-panel__name { flex: 1; color: var(--charcoal); }
.db-peer-panel__name a { color: var(--charcoal); }
.db-peer-panel__cost {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ===== SCORE DRILL-IN PANEL ===== */
.db-score-panel {
    background: var(--cream);
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    animation: dbPeerSlide 0.2s ease-out;
}
.db-score-panel--A { border-left: 3px solid #0B857A; }
.db-score-panel--B { border-left: 3px solid #1557B0; }
.db-score-panel--C { border-left: 3px solid #D97706; }
.db-score-panel--D { border-left: 3px solid #DC2626; }
.db-score-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.db-score-panel__title {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}
.db-score-panel__close {
    font-size: 1.2rem;
    color: var(--light-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.db-score-panel__close:hover { color: var(--black); }
.db-score-panel__grade {
    font-size: 0.82rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.db-score-panel__grade strong {
    font-weight: 700;
}
.db-score-panel__completeness {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1.5rem;
    margin-bottom: 0.6rem;
}
.db-score-panel__dot-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--charcoal);
    padding: 0.15rem 0;
}
.db-score-panel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.db-score-panel__dot--present {
    background: #0B857A;
}
.db-score-panel__dot--missing {
    background: none;
    border: 1.5px solid var(--light-gray);
}
.db-score-panel__verdict {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.88rem;
    color: var(--pool);
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.db-score-panel__link {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--pool);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.db-score-panel__link:hover { color: var(--black); }
.db-score-panel__tier { margin-bottom: 0.5rem; }
.db-score-panel__tier-header {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}
.db-score-panel__sentiment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 0.6rem;
    padding: 0.4rem 0;
    border-top: 1px solid var(--off-white);
    border-bottom: 1px solid var(--off-white);
}
.db-sentiment-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.db-sentiment-badge__icon {
    font-size: 0.6rem;
}

/* Standalone CTA banner above card list */
.db-cta-banner {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    border: 1px dashed var(--rule);
}
.db-cta-banner__label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--light-gray);
    white-space: nowrap;
}
.db-cta-banner__text {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
}
.db-cta-banner__cta {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pool);
    text-decoration: none;
    border: 1px solid var(--pool);
    padding: 0.4rem 1.25rem;
    white-space: nowrap;
    transition: all 0.15s;
    margin-left: auto;
}
.db-cta-banner__cta:hover { background: var(--pool); color: var(--white); }
.db-cta-banner__refund {
    font-size: 0.6rem;
    color: var(--light-gray);
}

/* Locked teaser for non-subscribers */
.db-card__locked {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border: 1px dashed var(--rule);
    text-align: center;
}
.db-card__locked-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--light-gray);
    margin-bottom: 0.4rem;
}
.db-card__locked-fields {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.db-card__locked-cta {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pool);
    text-decoration: none;
    border: 1px solid var(--pool);
    padding: 0.4rem 1.25rem;
    transition: all 0.15s;
}
.db-card__locked-cta:hover { background: var(--pool); color: var(--white); }
.db-card__locked-anchor {
    font-size: 0.68rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}
.db-card__locked-refund {
    font-size: 0.6rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

/* Inline lock link — cards 3+ for non-subscribers */
.db-card__locked-link {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--pool);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.15s;
}
.db-card__locked-link:hover {
    color: var(--black);
    text-decoration: underline;
}

/* Consolidated data request link — subscriber cards */
.db-card__request-link {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--pool);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.15s;
}
.db-card__request-link:hover {
    color: var(--black);
    text-decoration: underline;
}

/* Curiosity hook teaser for free users */
.db-card__verdict--teaser { color: var(--gray); font-size: 0.75rem; }
.db-card__teaser-icon { font-style: normal; }
.db-card__teaser-link { color: var(--pool); text-decoration: underline; cursor: pointer; }
.db-card__teaser-link:hover { opacity: 0.8; }

/* Verdict teaser (legacy) */
.db-card__verdict-teaser {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 0.6rem;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.88rem;
    color: var(--light-gray);
    font-style: italic;
    line-height: 1.4;
}

/* Review snippet — ungated editorial content on teaser cards */
.db-card__review-snippet {
    position: relative;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--charcoal);
    line-height: 1.65;
    max-height: 4.2em;
    overflow: hidden;
}
.db-card__review-snippet::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.8em;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
}

/* Teaser: redacted data */
.db-card__teaser-price {
    margin-top: 0.5rem; font-size: 0.82rem; color: var(--charcoal); font-weight: 500;
    display: flex; align-items: center; gap: 0.5rem;
}
.db-card__teaser-price .redacted {
    display: inline; filter: blur(4px); -webkit-filter: blur(4px);
    user-select: none; opacity: 0.4; pointer-events: none;
}
.db-card__teaser-review {
    margin-top: 0.5rem; font-size: 0.78rem; color: var(--gray); line-height: 1.65;
    position: relative; max-height: 3.3em; overflow: hidden;
}
.db-card__teaser-review::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2em;
    background: linear-gradient(transparent, var(--white));
}
.db-card__teaser-cta {
    display: inline-block; margin-top: 0.75rem;
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--pool); text-decoration: none;
    border: 1px solid var(--pool); padding: 0.4rem 1.25rem;
    transition: all 0.15s;
}
.db-card__teaser-cta:hover { background: var(--pool); color: var(--white); }

/* Sample provider label */
.db-sample-label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pool);
    padding: 1.75rem 0 0;
    border-bottom: none;
}

/* (sample-banner styles removed — replaced by db-preview) */

/* Preview profile for non-subscribers */
/* Blurred overlay for non-subscribers */
.db-blurred { position: relative; overflow: hidden; max-height: 800px; }
.db-blurred .db-card { pointer-events: none; }
.db-blurred__fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 240px;
    background: linear-gradient(transparent, var(--white)); pointer-events: none; z-index: 2;
}

/* Auth gate */
.db-gate { padding: 3.5rem 2rem; background: var(--cream); border-top: 1px solid var(--rule); text-align: center; }
.db-gate h2 { font-size: 1.5rem; color: var(--black); margin-bottom: 0.75rem; }
.db-gate > p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; max-width: 480px; margin: 0 auto 1.75rem; }
.db-gate__cta {
    display: inline-block; padding: 0.75rem 2.5rem; background: var(--pool);
    color: var(--white); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none;
}
.db-gate__cta:hover { opacity: 0.9; color: var(--white); }
.db-gate__signin { font-size: 0.78rem; color: var(--light-gray); margin-top: 1.5rem; }
.db-gate__signin a { color: var(--pool); text-decoration: underline; cursor: pointer; }
.db-gate__auth { max-width: 400px; margin: 1.25rem auto 0; }
.db-gate__form { display: flex; gap: 0.5rem; }
.db-gate__input {
    flex: 1; padding: 0.7rem 1rem; font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem; border: 1px solid var(--rule); outline: none; color: var(--charcoal);
}
.db-gate__input:focus { border-color: var(--pool); }
.db-gate__input::placeholder { color: var(--light-gray); }
.db-gate__btn {
    padding: 0.7rem 1.5rem; background: var(--pool); color: var(--white); border: none;
    font-family: 'Inter', -apple-system, sans-serif; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; white-space: nowrap;
}
.db-gate__btn:hover { opacity: 0.9; }
.db-gate__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.db-gate__msg { font-size: 0.78rem; line-height: 1.6; min-height: 1.5rem; margin-top: 0.75rem; }
.db-gate__msg--success { color: var(--pool); }
.db-gate__msg--error { color: #DC2626; }
.db-gate__testimonial {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}
.db-gate__testimonial-attr {
    display: block;
    font-size: 0.68rem;
    font-style: normal;
    color: var(--light-gray);
    margin-top: 0.35rem;
}
.db-gate__anchor {
    font-size: 0.72rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}
.db-gate__pricing { margin-bottom: 1.5rem; }
.db-gate__price { font-family: 'DM Serif Display', Georgia, serif; font-size: 2.25rem; color: var(--black); margin-bottom: 0.25rem; }
.db-gate__terms { font-size: 0.72rem; color: var(--gray); margin-bottom: 1rem; }
.db-gate__hook { font-size: 0.78rem; color: var(--gray); font-style: italic; margin-top: 1rem; max-width: 360px; margin-left: auto; margin-right: auto; }

/* ===== SUGGEST A PROGRAM ===== */
.suggest-section {
    padding: 2.5rem 0;
    background: var(--cream);
    border-top: 1px solid var(--rule);
    text-align: center;
}
.suggest-section__heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.4rem;
}
.suggest-section__desc {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}
.suggest-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.suggest-form__input,
.suggest-form__textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    border: 1px solid var(--rule);
    outline: none;
    color: var(--charcoal);
    background: var(--white);
    box-sizing: border-box;
}
.suggest-form__input:focus,
.suggest-form__textarea:focus { border-color: var(--pool); }
.suggest-form__textarea { resize: vertical; min-height: 3rem; }
.suggest-form__btn {
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    background: var(--pool);
    color: var(--white);
    border: none;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.15s;
}
.suggest-form__btn:hover { opacity: 0.9; }
.suggest-form__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.suggest-form__msg {
    font-size: 0.75rem;
    min-height: 1.2rem;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .suggest-section { padding: 2rem 0; }
    .suggest-section__heading { font-size: 1rem; }
    .suggest-form__btn { width: 100%; }
}

/* ===== STICKY PRICE BAR ===== */
.sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--black); color: var(--white);
    padding: 0.65rem 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 1.25rem;
    transform: translateY(100%); transition: transform 0.3s ease;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar__text { font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.sticky-bar__price { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.1rem; }
.sticky-bar__cta {
    display: inline-block; padding: 0.5rem 1.5rem;
    background: var(--pool); color: var(--white);
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; text-decoration: none; white-space: nowrap;
}
.sticky-bar__cta:hover { opacity: 0.9; color: var(--white); }

/* ===== RESPONSIVE — Database ===== */
@media (max-width: 600px) {
    /* Tighten database header spacing */
    .data-preview .section-header { padding: 1rem 0 0.5rem; margin-bottom: 0.5rem; border-bottom: none; }
    .data-preview .db-search { margin-top: 0.5rem; }

    /* Hide inline CTA — sticky bar handles upsell on mobile */
    #db-unlock-cta { display: none !important; }

    /* Refined mobile filters — underline selects, lighter weight */
    .db-search {
        border: none;
        border-bottom: 1px solid var(--rule);
        border-radius: 0;
        padding: 0.6rem 0.75rem 0.6rem 2rem;
        font-size: 0.78rem;
        font-weight: 300;
        background-position: 0.25rem center;
    }
    .db-search:focus { box-shadow: none; border-bottom-color: var(--pool); }
    .db-filter-row { gap: 0.25rem; }
    .db-filter-select {
        border: none;
        border-bottom: 1px solid var(--rule);
        border-radius: 0;
        padding: 0.5rem 1.5rem 0.5rem 0;
        font-size: 0.72rem;
        font-weight: 300;
        color: var(--gray);
        background-position: right 0.25rem center;
        min-height: 44px;
    }
    .db-filter-select:focus { border-bottom-color: var(--pool); }
    .db-filter-checkbox {
        font-size: 0.68rem;
        font-weight: 300;
        color: var(--gray);
        padding: 0.5rem 0;
        border-bottom: 1px solid transparent;
    }
    .db-view-toggle {
        border: none;
        border-radius: 0;
        gap: 0;
        overflow: visible;
        width: 100%;
    }
    .db-view-toggle__btn {
        flex: 1;
        justify-content: center;
        border: none;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        padding: 0.35rem 0;
        font-size: 0.62rem;
        font-weight: 600;
        background: none;
        min-height: 0;
    }
    .db-view-toggle__btn + .db-view-toggle__btn { border-left: none; }
    .db-view-toggle__btn--active {
        color: var(--charcoal);
        border-bottom-color: var(--pool);
        background: none;
    }
    .db-view-toggle__btn:hover { background: none; }

    .sticky-bar { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .sticky-bar__text { font-size: 0.62rem; }
    .sticky-bar__price { font-size: 0.9rem; }
    .sticky-bar__cta { padding: 0.5rem 1rem; font-size: 0.58rem; min-height: 44px; display: inline-flex; align-items: center; }

    .db-card { padding: 0.85rem 0.85rem; border-radius: 8px; }
    .db-card:hover { box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06); border-color: var(--rule); transform: none; }
    .db-card__top { flex-direction: row; align-items: flex-start; gap: 0.75rem; }
    .db-card__name { font-size: 1.05rem; }
    .db-card__score { min-width: 38px; height: 38px; font-size: 0.7rem; }
    .db-card__tags { gap: 0.25rem; margin-top: 0.2rem; }
    .db-card__tag { font-size: 0.56rem; padding: 0.15rem 0.4rem; min-height: 0; display: inline-flex; align-items: center; font-weight: 600; letter-spacing: 0.04em; }
    .db-card__grid { grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; margin-top: 0.6rem; }
    .db-card__fl { font-size: 0.56rem; letter-spacing: 0.06em; font-weight: 600; }
    .db-card__fv { font-size: 0.78rem; }
    .db-card__review { font-size: 0.78rem; line-height: 1.65; margin-top: 0.5rem; }
    .db-card__verdict { font-size: 0.78rem; margin-top: 0.25rem; line-height: 1.6; }
    .db-card__verdict--hook { font-size: 0.68rem; }
    .db-card__score-insight { font-size: 0.68rem; gap: 0.25rem; margin-top: 0.3rem; }
    .db-card__score-insight-missing { font-size: 0.6rem; }
    .bench { font-size: 0.5rem; padding: 0.08rem 0.3rem; }
    .bench__dot { width: 4px; height: 4px; }
    .db-card__diff-icons { gap: 0.2rem; margin-top: 0.3rem; }
    .db-card__diff-icon { font-size: 0.52rem; padding: 0.12rem 0.4rem; }
    .db-card__diff-icon .db-tip { display: none !important; }
    .db-card__verdict-teaser { font-size: 0.78rem; }
    .db-card__review-snippet { font-size: 0.75rem; max-height: 3.6em; }
    .db-card__report a { font-size: 0.58rem; }
    .db-card__standout { padding: 0.5rem 0.75rem; margin-top: 0.5rem; }
    .db-card__standout-label { font-size: 0.54rem; font-weight: 600; }
    .db-card__standout-item { font-size: 0.68rem; }
    .db-cta-banner { flex-wrap: wrap; justify-content: center; text-align: center; padding: 1rem; gap: 0.5rem; }
    .db-cta-banner__label { width: 100%; }
    .db-cta-banner__text { font-size: 0.68rem; width: 100%; }
    .db-cta-banner__cta { padding: 0.45rem 1rem; min-height: 44px; display: inline-flex; align-items: center; margin-left: 0; }
    .db-card__locked { padding: 0.75rem 1rem; }
    .db-card__locked-fields { font-size: 0.68rem; }
    .db-card__locked-cta { padding: 0.45rem 1rem; }
    .db-card__locked-link { font-size: 0.6rem; min-height: 44px; display: inline-flex; align-items: center; }
    .db-card__request-link { font-size: 0.6rem; min-height: 44px; display: inline-flex; align-items: center; }
    .db-density-toggle { display: none; }
    .db-cards, .db-cards--compact, .db-cards--comfortable, .db-cards--spacious { grid-template-columns: 1fr !important; }
    .db-cards--compact .db-card__name { font-size: 1.05rem; }
    .db-cards--compact .db-card__score { min-width: 38px; height: 38px; font-size: 0.7rem; }
    .db-cards--compact .db-card__tag { font-size: 0.56rem; padding: 0.15rem 0.4rem; }
    .db-cards--compact .db-card__summary-row { font-size: 0.68rem; }
    .db-cards--compact .db-card__summary-row > span + span { border-left: 1px solid var(--rule); padding-left: 0.75rem; }
    .db-cards--compact .db-card__verdict { font-size: 0.72rem; }
    .db-cards--compact .db-card__diff-icon { font-size: 0.52rem; }
    .db-cards--compact .db-card__enrollment { font-size: 0.62rem; }
    .db-card__summary-row { flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: 0.68rem; margin-top: 0.3rem; }
    .db-card__summary-row > span + span { border-left: none; padding-left: 0; }
    .db-card__toggle { font-size: 0.68rem; min-height: 44px; display: inline-flex; align-items: center; }
    .db-gate { padding: 2rem 1rem; }
    .db-gate h2 { font-size: 1.25rem; }
    .db-gate > p { font-size: 0.8rem; margin-bottom: 1.25rem; }
    .db-gate__form { flex-direction: column; }
    .db-gate__price { font-size: 1.8rem; }
    .db-sample-banner { padding: 1rem; }
    .db-sample-banner__text { font-size: 0.75rem; }
    .db-sample-banner__cta { padding: 0.5rem 1.5rem; font-size: 0.6rem; }

    .db-search { font-size: 0.75rem; padding: 0.65rem 1rem 0.65rem 2rem; min-height: 44px; }
    .db-filter-row { grid-template-columns: 1fr 1fr; gap: 0.35rem; }

    .db-peer-rank { display: block; margin-left: 0; margin-top: 0.2rem; }
    .db-peer-panel { padding: 0.5rem 0.75rem; }
    .db-peer-panel__row { gap: 0.5rem; font-size: 0.68rem; }
    .db-peer-panel__rank { width: 2rem; font-size: 0.58rem; }
    .db-peer-panel__cost { font-size: 0.65rem; }

    .db-score-panel { padding: 0.5rem 0.75rem; }
    .db-score-panel__completeness { grid-template-columns: 1fr; gap: 0.2rem; }
    .db-score-panel__grade { font-size: 0.75rem; }
    .db-score-panel__dot-row { font-size: 0.62rem; }
    .db-score-panel__verdict { font-size: 0.78rem; }

    .db-card__tag--filter { min-height: 0; display: inline-flex; align-items: center; padding: 0.15rem 0.4rem; }
    .db-peer-panel__close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; }
    .db-compare-check__label { font-size: 0.55rem; }
    .db-compare-bar { padding: 0.6rem 1rem; font-size: 0.72rem; }
    .db-compare-bar__cta { padding: 0.4rem 1rem; font-size: 0.58rem; min-height: 44px; display: inline-flex; align-items: center; }
    .db-compare-bar__clear { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; }
}

/* ===== COMPARE CHECKBOX ===== */
.db-compare-check {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    white-space: nowrap;
}
.db-compare-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--pool);
    cursor: pointer;
    margin: 0;
}
.db-compare-check__label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--light-gray);
}
.db-compare-check input:checked + .db-compare-check__label {
    color: var(--pool);
}

/* ===== COMPARE FLOATING BAR ===== */
.db-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    animation: dbCompareSlideUp 0.25s ease-out;
}
@keyframes dbCompareSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.db-compare-bar__text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
}
.db-compare-bar__cta {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    background: var(--pool);
    color: var(--white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.15s;
}
.db-compare-bar__cta:hover { opacity: 0.85; color: var(--white); }
.db-compare-bar__clear {
    font-size: 1.1rem;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    padding: 0 0.25rem;
    line-height: 1;
}
.db-compare-bar__clear:hover { color: var(--white); }

/* ===== SAVE / FAVORITE PROVIDERS ===== */
.db-save-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}
.db-save-btn:hover { transform: scale(1.1); }
.db-save-btn svg { pointer-events: none; transition: transform 0.15s ease; }
@keyframes dbSaveBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.db-save-btn--bounce svg { animation: dbSaveBounce 0.3s ease-out; }

/* Save email prompt — inline below card */
.db-save-prompt {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    animation: dbPeerSlide 0.25s ease-out;
}
.db-save-prompt__heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.db-save-prompt__form {
    display: flex;
    gap: 0.5rem;
}
.db-save-prompt__form input[type="email"] {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--rule);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    outline: none;
    min-height: 44px;
}
.db-save-prompt__form input[type="email"]:focus { border-color: var(--pool); }
.db-save-prompt__form button {
    padding: 0.55rem 1rem;
    background: var(--pool);
    color: var(--white);
    border: none;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
    transition: background 0.15s;
}
.db-save-prompt__form button:hover { background: var(--black); }
.db-save-prompt__msg { font-size: 0.75rem; margin-top: 0.5rem; min-height: 1rem; }
.db-save-prompt--flash { animation: save-prompt-flash 0.8s ease; }
@keyframes save-prompt-flash {
    0%, 100% { box-shadow: none; }
    30% { box-shadow: 0 0 0 3px rgba(11,133,122,0.35); }
}

.db-save-prompt__share {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.db-save-prompt__share-btn {
    background: none;
    border: 1px solid var(--rule);
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pool);
    cursor: pointer;
    transition: all 0.15s;
}
.db-save-prompt__share-btn:hover { border-color: var(--pool); }

/* Age bucket select in save prompt */
.db-save-prompt__age-select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0.55rem 0.5rem;
    padding-right: 1.75rem;
    border: 1px solid var(--rule);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    color: var(--gray);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
    min-height: 44px;
    outline: none;
    cursor: pointer;
    border-radius: 0;
}
.db-save-prompt__age-select:focus { border-color: var(--pool); }

/* Tools upsell line — non-subscribers, after verdict */
.db-card__tools-upsell {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: var(--light-gray);
    line-height: 1.5;
}
.db-card__tools-upsell a {
    color: var(--pool);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.db-card__tools-upsell a:hover { color: var(--black); }

/* Compare priority pills */
.compare-priority-pills {
    margin-top: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--rule);
}
.compare-priority-pills__label {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}
.compare-priority-pills__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.compare-priority-pill {
    padding: 0.4rem 1rem;
    border: 1px solid var(--rule);
    background: var(--white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.15s;
    border-radius: 20px;
}
.compare-priority-pill:hover { border-color: var(--pool); color: var(--pool); }
.compare-priority-pill.active {
    background: var(--pool);
    color: var(--white);
    border-color: var(--pool);
}
.compare-priority-pills__response {
    display: none;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Floating save bar */
.db-save-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--black);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.db-save-bar.visible { transform: translateY(0); }
.db-save-bar__text {
    font-size: 0.75rem;
    font-weight: 500;
}
.db-save-bar__link {
    color: var(--pool);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
}
.db-save-bar__link:hover { color: #5EEAD4; }

@media (max-width: 600px) {
    .db-save-prompt__form { flex-direction: column; }
    .db-save-prompt__form input[type="email"],
    .db-save-prompt__form select,
    .db-save-prompt__form button { width: 100%; }
    .db-save-bar { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .db-save-bar__text { font-size: 0.68rem; }
}

/* ===== MAP VIEW TOGGLE ===== */
.db-view-toggle {
    display: inline-flex;
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    margin-left: auto;
    flex-shrink: 0;
}
.db-view-toggle__btn {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    background: var(--white);
    border: none;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.db-view-toggle__btn + .db-view-toggle__btn {
    border-left: 1px solid var(--rule);
}
.db-view-toggle__btn:hover {
    color: var(--charcoal);
    background: var(--cream);
}
.db-view-toggle__btn--active {
    background: var(--pool);
    color: var(--white);
}
.db-view-toggle__btn--active:hover {
    background: var(--pool);
    color: var(--white);
    opacity: 0.9;
}

/* ===== MAP CONTAINER ===== */
#db-map {
    display: none;
    width: 100%;
    height: 520px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    margin-top: 0.75rem;
    z-index: 1;
}
#db-map.db-map--visible {
    display: block;
}

/* ===== LEAFLET OVERRIDES — Shortlist brand ===== */

/* Popup bubble */
#db-map .leaflet-popup-content-wrapper {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--charcoal);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 0;
}
#db-map .leaflet-popup-content {
    margin: 14px 16px;
    line-height: 1.45;
    font-size: 13px;
}
#db-map .leaflet-popup-tip {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Popup inner content */
.sl-map-popup { min-width: 180px; max-width: 240px; }
.sl-map-popup__name { font-weight: 700; font-size: 13px; margin-bottom: 4px; color: var(--charcoal); }
.sl-map-popup__badge {
    display: inline-block; width: 20px; height: 20px; line-height: 20px;
    text-align: center; border-radius: 50%; margin-right: 6px; vertical-align: -2px;
    color: #fff; font-weight: 800; font-size: 10px; letter-spacing: 0.02em;
}
.sl-map-popup__meta { font-size: 11px; color: var(--gray); margin-bottom: 2px; }
.sl-map-popup__price { font-size: 11px; color: var(--gray); margin-bottom: 8px; }
.sl-map-popup__link {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: var(--highlight); text-decoration: none; letter-spacing: 0.01em;
}
.sl-map-popup__link:hover { text-decoration: underline; }

/* Close button */
#db-map .leaflet-popup-close-button {
    color: var(--gray);
    font-size: 18px;
    padding: 6px 8px 0 0;
}
#db-map .leaflet-popup-close-button:hover {
    color: var(--charcoal);
}

/* Zoom controls */
#db-map .leaflet-control-zoom a {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--charcoal);
    border-color: var(--rule);
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
}
#db-map .leaflet-control-zoom a:hover {
    background: var(--cream);
}

/* Attribution */
#db-map .leaflet-control-attribution {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 10px;
    color: var(--light-gray);
    background: rgba(255,255,255,0.8);
}
#db-map .leaflet-control-attribution a {
    color: var(--gray);
}

/* Cluster icons */
#db-map .marker-cluster-small,
#db-map .marker-cluster-medium,
#db-map .marker-cluster-large {
    background: rgba(11, 133, 122, 0.2);
}
#db-map .marker-cluster-small div,
#db-map .marker-cluster-medium div,
#db-map .marker-cluster-large div {
    background: var(--highlight);
    color: #fff;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 13px;
}

/* Spiderfy lines */
#db-map .leaflet-cluster-anim .leaflet-marker-icon,
#db-map .leaflet-cluster-anim .leaflet-marker-shadow {
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

@media (max-width: 600px) {
    .db-view-toggle {
        width: 100%;
    }
    .db-view-toggle__btn {
        flex: 1;
        justify-content: center;
        min-height: 44px;
        padding: 0.5rem 0.75rem;
    }
    #db-map {
        height: 400px;
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
}

/* ===== EXTRACTED FROM INLINE STYLES ===== */

/* Background check badges */
.db-bgcheck-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem 0.1rem 0.3rem;
    border-radius: 9px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    vertical-align: middle;
}
.db-bgcheck-badge--enhanced { color: #065F46; background: rgba(6,95,70,0.08); }
.db-bgcheck-badge--standard { color: #0B857A; background: rgba(11,133,122,0.08); }
.db-bgcheck-badge--unknown { color: #6B7D8E; background: rgba(107,125,142,0.08); }

/* Score panel: teaser CTA for non-subscribers */
.db-score-panel__teaser-cta {
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(11,133,122,0.06);
    border-left: 2px solid var(--pool);
    font-size: 0.72rem;
    color: var(--charcoal);
    line-height: 1.5;
}

/* Checkout / magic-link overlay */
.sl-checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.sl-checkout-overlay__inner { max-width: 400px; text-align: center; }
.sl-checkout-overlay__fallback-row { display: flex; gap: 0.5rem; }
.sl-checkout-overlay__email {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    border: 1px solid #D0D8E0;
    outline: none;
    color: #2D3748;
}
.sl-checkout-overlay__send {
    padding: 0.75rem 1.5rem;
    background: #0B857A;
    color: #fff;
    border: none;
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    white-space: nowrap;
}

/* Inline unlock CTA row */
.db-unlock-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    margin: 0.5rem 0;
    background: rgba(11,133,122,0.04);
    border: 1px solid rgba(11,133,122,0.15);
    font-size: 0.72rem;
}
.db-unlock-cta__btn {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    background: var(--pool);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

/* Card header actions row */
.db-card__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card toggle row */
.db-card__toggle-row {
    display: flex;
    justify-content: flex-end;
    clear: both;
}

/* Card expand: bg-check badge margin */
.db-card__bgcheck-wrap { margin-top: 0.35rem; }

/* Profile link in expanded card */
.db-card__profile-link-wrap { margin-top: 0.75rem; }
.db-card__profile-link {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pool);
    border-bottom: 1px solid var(--pool);
    padding-bottom: 1px;
    text-decoration: none;
    transition: opacity 0.2s;
}

/* Report row in expanded card */
.db-card__report-date { color: var(--gray); }
.db-card__report-sep { margin: 0 0.35rem; color: var(--rule); }

/* Zero-results state */
.db-zero-results { text-align: center; padding: 2rem 0 1rem; }
.db-zero-filter-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.db-zero-filter-btn {
    padding: 0.4rem 0.9rem;
    background: var(--white);
    border: 1px solid var(--pool);
    color: var(--pool);
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

/* Zero-results email form */
.db-zero-form { max-width: 380px; margin: 0 auto; }
.db-zero-form__row { display: flex; gap: 0; }
.db-zero-form__email {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid var(--black);
    border-right: none;
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
    outline: none;
    background: var(--white);
    min-height: 44px;
}
.db-zero-form__submit {
    padding: 0.6rem 1.25rem;
    background: var(--pool);
    border: 1px solid var(--pool);
    color: var(--white);
    font-family: Inter, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
}

/* Zero-results nearby suggestions */
.db-zero-nearby { display: flex; flex-direction: column; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.db-zero-suggestion {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--off-white);
    text-align: left;
    cursor: pointer;
}
.db-zero-suggestion__score { flex-shrink: 0; width: 32px; height: 32px; font-size: 0.75rem; line-height: 32px; }
.db-zero-suggestion__info { flex: 1; min-width: 0; }

/* Tag filter clear button */
.db-tag-filter-clear {
    background: none;
    border: none;
    color: var(--pool);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 0.25rem;
}

/* Show more button */
.db-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.85rem;
    margin-top: 1rem;
    background: none;
    border: 1px solid var(--rule);
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.15s;
}
.db-show-more:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

/* Request data prompt dismiss */
.db-request-dismiss {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0 0 0.5rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Request data prompt layout */
.db-request-prompt__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

