/*
 * theme-light.css — Soft Light Theme (Notion-style)
 * Batch 24: CSS token override only. Loaded last — wins all specificity.
 * No HTML, JS, or other CSS files touched.
 *
 * Philosophy:
 *   - Light grey surfaces (#f0f2f4) with white cards
 *   - Cyan (#134160 → darkened to #134160 for text readability) for data values
 *   - Gold (#FDA929) kept for primary actions and highlights
 *   - Glows reduced 60% — subtle on light backgrounds
 *   - All layout, spacing, sizing unchanged — color only
 */

/* ============================================================
   ROOT TOKEN OVERRIDES
   ============================================================ */
:root {
    /* --- Backgrounds --- */
    --bg-abyss-start:       #f0f2f4 !important;
    --bg-abyss-mid:         #e8eaed !important;
    --bg-abyss-end:         #f0f2f4 !important;
    --bg-gradient:          #f0f2f4 !important;

    /* --- Surfaces --- */
    --surface-glass:        rgba(255, 255, 255, 0.85) !important;
    --surface-glass-hover:  rgba(255, 255, 255, 0.95) !important;
    --surface-glass-border: rgba(0, 0, 0, 0.08) !important;
    --surface-dark:         #ffffff !important;
    --surface-dark-2:       #f8f9fa !important;
    --surface-card:         rgba(255, 255, 255, 0.90) !important;
    --surface-card-hover:   rgba(255, 255, 255, 1.00) !important;
    --surface-overlay:      rgba(0, 0, 0, 0.30) !important;
    --surface-nav:          rgba(255, 255, 255, 0.95) !important;

    /* --- Text --- */
    --text-primary:         #1a1a2e !important;
    --text-secondary:       #4a5568 !important;
    --text-muted:           #718096 !important;
    --text-dim:             #a0aec0 !important;
    --text-inverse:         #ffffff !important;
    --text-gold:            var(--gold-600) !important;
    --text-cyan:            #134160 !important;

    /* --- Glass components --- */
    --glass-bg:             rgba(255, 255, 255, 0.80) !important;
    --glass-bg-hover:       rgba(255, 255, 255, 0.95) !important;
    --glass-border:         rgba(0, 0, 0, 0.09) !important;
    --glass-border-hover:   rgba(19, 65, 96, 0.30) !important;
    --glass-blur:           blur(8px) !important;
    --glass-shadow:         0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06) !important;

    --glass-dark-bg:        rgba(255, 255, 255, 0.90) !important;
    --glass-dark-border:    rgba(19, 65, 96, 0.18) !important;
    --glass-dark-shadow:    0 2px 8px rgba(0, 0, 0, 0.08) !important;

    /* --- Glow (reduced 60%) --- */
    --glow-cyan-sm:         0 0 6px rgba(19, 65, 96, 0.18) !important;
    --glow-cyan-md:         0 0 10px rgba(19, 65, 96, 0.22), 0 0 20px rgba(19, 65, 96, 0.10) !important;
    --glow-cyan-lg:         0 0 16px rgba(19, 65, 96, 0.24), 0 0 32px rgba(19, 65, 96, 0.12) !important;
    --glow-gold-sm:         0 0 6px rgba(253, 169, 41, 0.18) !important;
    --glow-gold-md:         0 0 10px rgba(253, 169, 41, 0.22), 0 0 20px rgba(253, 169, 41, 0.10) !important;
    --glow-gold-lg:         0 0 16px rgba(253, 169, 41, 0.24), 0 0 32px rgba(253, 169, 41, 0.12) !important;

    /* --- Buttons --- */
    --btn-primary-bg:       var(--gold-500) !important;
    --btn-primary-bg-hover: var(--gold-400) !important;
    --btn-primary-fg:       #1a1a1a !important;
    --btn-secondary-fg:     #134160 !important;
    --btn-secondary-border: #134160 !important;
    --btn-secondary-bg-hover: rgba(19, 65, 96, 0.08) !important;

    /* --- Cyan alpha (used for tints) --- */
    --cyan-alpha-10: rgba(19, 65, 96, 0.08) !important;
    --cyan-alpha-20: rgba(19, 65, 96, 0.15) !important;
    --cyan-alpha-30: rgba(19, 65, 96, 0.25) !important;
    --cyan-alpha-50: rgba(19, 65, 96, 0.45) !important;

    /* --- Gold alpha --- */
    --gold-alpha-10: rgba(253, 169, 41, 0.10) !important;
    --gold-alpha-20: rgba(253, 169, 41, 0.16) !important;
    --gold-alpha-30: rgba(253, 169, 41, 0.26) !important;

    /* --- Status colors (slightly richer on light bg) --- */
    --color-positive:        #00a050 !important;
    --color-positive-bg:     rgba(0, 160, 80, 0.08) !important;
    --color-positive-border: rgba(0, 160, 80, 0.22) !important;
    --color-negative:        #dc2626 !important;
    --color-negative-bg:     rgba(220, 38, 38, 0.08) !important;
    --color-negative-border: rgba(220, 38, 38, 0.20) !important;
    --color-purple:          #7c3aed !important;
    --color-purple-bg:       rgba(124, 58, 237, 0.08) !important;
    --color-purple-border:   rgba(124, 58, 237, 0.22) !important;
}

/* ============================================================
   BODY + HTML — flat light background, no abyss gradient
   ============================================================ */
html, body {
    background: #f0f2f4 !important;
    color: #1a1a2e !important;
}

body::before {
    display: none !important; /* remove abyss particle/gradient overlay */
}

/* ============================================================
   APP FRAME
   ============================================================ */
#lf-app-frame {
    background: #f0f2f4 !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
#lf-sidebar {
    background: #e8eaed !important;
    border-right: 1px solid #d1d5db !important;
}

.lf-sb-topbar {
    background: #e8eaed !important;
    border-bottom: 1px solid #d1d5db !important;
}

.lf-sb-wordmark {
    background: linear-gradient(90deg, var(--gold-600), var(--gold-500)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.lf-sb-btn-ghost {
    background: rgba(255, 255, 255, 0.60) !important;
    border-color: #d1d5db !important;
    color: #4a5568 !important;
}

.lf-sb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.90) !important;
    border-color: #134160 !important;
    color: #1a1a2e !important;
}

.lf-sb-search {
    background: rgba(255, 255, 255, 0.70) !important;
    border-color: #d1d5db !important;
}

.lf-sb-search:focus-within {
    background: #ffffff !important;
    border-color: #134160 !important;
}

.lf-sb-search-input {
    color: #1a1a2e !important;
}

.lf-sb-section-label .lf-sb-badge {
    color: #a0aec0 !important;
}

/* Sidebar property items */
.lf-property-item:hover {
    background: #dde1e7 !important;
}

.lf-property-item.lf-prop-active {
    background: #eef0f3 !important;
    border-left-color: #134160 !important;
}

.lf-prop-address {
    color: #1a1a2e !important;
}

.lf-sb-user-btn {
    background: rgba(255, 255, 255, 0.60) !important;
    border-color: #d1d5db !important;
}

.lf-sb-user-btn:hover {
    background: rgba(255, 255, 255, 0.90) !important;
    border-color: #134160 !important;
}

.lf-sb-user-name {
    color: #4a5568 !important;
}

/* ============================================================
   MAIN TABS BAR
   ============================================================ */
#lf-main-tabs {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e4e8 !important;
}

.lf-main-tab {
    color: #718096 !important;
}

.lf-main-tab:hover {
    color: #4a5568 !important;
}

.lf-main-tab.lf-main-tab--active {
    color: #1a1a2e !important;
    border-bottom-color: var(--gold-500) !important;
}

/* ============================================================
   SNAPSHOT STRIP
   ============================================================ */
#lf-snapshot {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e4e8 !important;
}

.lf-kpi-tile {
    background: #ffffff !important;
    border-right-color: #e2e4e8 !important;
}

.lf-kpi-tile:hover {
    background: #f8f9fa !important;
}

.lf-kpi-tile__label {
    color: #718096 !important;
}

.lf-kpi-tile__value {
    color: #134160 !important;
    text-shadow: none !important;
}

.lf-kpi-tile__value--positive { color: #00a050 !important; text-shadow: none !important; }
.lf-kpi-tile__value--negative { color: #dc2626 !important; text-shadow: none !important; }

.lf-confidence-chip {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
    color: #718096 !important;
}

.lf-snapshot__confidence {
    border-left-color: #e2e4e8 !important;
}

/* ============================================================
   STRATEGY SWITCHER
   ============================================================ */
#lf-strategy {
    background: #f0f2f4 !important;
    border-bottom: 1px solid #e2e4e8 !important;
}

.lf-strategy-tab {
    color: #718096 !important;
}

.lf-strategy-tab:hover {
    color: #4a5568 !important;
}

.lf-strategy-tab.lf-strategy-tab--active {
    color: var(--gold-600) !important;
    border-bottom-color: var(--gold-500) !important;
}

/* ============================================================
   INTEL BAR
   ============================================================ */
#lf-intel-bar {
    background: #ffffff !important;
    border-bottom-color: #e2e4e8 !important;
}

.lf-intel-chip {
    background: #f8f9fa !important;
    border-color: #e2e4e8 !important;
    color: #4a5568 !important;
}

.lf-intel-chip__label {
    color: #a0aec0 !important;
}

.lf-intel-divider {
    background: #e2e4e8 !important;
}

.lf-intel-range__value {
    color: #134160 !important;
}

/* ============================================================
   WORKSPACE PANELS
   ============================================================ */
#lf-workspace {
    background: #f0f2f4 !important;
}

#lf-panel-left,
#lf-panel-right {
    background: #f8f9fa !important;
    border-color: #e2e4e8 !important;
}

#lf-panel-center {
    background: #f0f2f4 !important;
}

.lf-panel-card {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.lf-panel-card:hover {
    border-color: #134160 !important;
}

.lf-panel-card__header {
    background: #ffffff !important;
}

.lf-panel-card__title {
    color: #4a5568 !important;
}

.lf-panel-card__caret {
    color: #a0aec0 !important;
}

/* ============================================================
   GLASS CARDS (shared utility class)
   ============================================================ */
.glass-card {
    background: #ffffff !important;
    border: 1px solid #e2e4e8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.glass-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) !important;
}

.glass-dark {
    background: #f8f9fa !important;
    border-color: #e2e4e8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* ============================================================
   EYEBROW BADGES + BADGE PILLS
   ============================================================ */
.eyebrow-badge {
    background: #eef2f5 !important;
    border-color: #b3c6d4 !important;
    color: #134160 !important;
}

.badge-pill {
    background: #eef2f5 !important;
    border-color: #b3c6d4 !important;
    color: #134160 !important;
}

/* ============================================================
   PROPERTY INTELLIGENCE TAB
   ============================================================ */
.pi-header {
    background: #ffffff !important;
    border-bottom-color: #e2e4e8 !important;
}

.pi-header__address {
    color: #1a1a2e !important;
}

.pi-header__type-badge {
    background: #f0f2f4 !important;
    border-color: #d1d5db !important;
    color: #718096 !important;
}

#pi-scenario-trigger {
    background: #f0f2f4 !important;
    border-color: #d1d5db !important;
    color: #4a5568 !important;
}

#pi-scenario-trigger:hover {
    background: #ffffff !important;
    border-color: #134160 !important;
    color: #1a1a2e !important;
}

#pi-scenario-panel {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.pi-scenario-item:hover {
    background: #f0f2f4 !important;
}

.pi-scenario-item--active {
    background: #eef2f5 !important;
}

.pi-scenario-item__name {
    color: #4a5568 !important;
}

.pi-scenario-item--active .pi-scenario-item__name {
    color: #134160 !important;
}

.pi-scenario-add-btn {
    color: #718096 !important;
    border-color: #d1d5db !important;
}

.pi-scenario-add-btn:hover {
    color: #134160 !important;
    border-color: #134160 !important;
    background: #eef2f5 !important;
}

.pi-body {
    background: #f0f2f4 !important;
}

.pi-photo {
    background: linear-gradient(135deg, #eef2f5 0%, #f0f2f4 60%, #fff8ec 100%) !important;
    border-color: #e2e4e8 !important;
}

.pi-photo__placeholder i,
.pi-photo__placeholder span {
    color: #a0aec0 !important;
}

.pi-ai-panel {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
}

.pi-ai-panel__header {
    background: #ffffff !important;
    border-bottom-color: #e2e4e8 !important;
}

.pi-ai-panel__title {
    color: #1a1a2e !important;
}

.pi-ai-panel__grid {
    background: #e2e4e8 !important; /* grid gap color */
}

.pi-ai-card {
    background: #ffffff !important;
}

.pi-ai-card__title {
    color: #4a5568 !important;
}

.pi-ai-card__text {
    color: #718096 !important;
}

/* AI card icon colors on light */
.pi-ai-card--summary .pi-ai-card__icon { background: #eef2f5 !important; color: #134160 !important; }
.pi-ai-card--risks   .pi-ai-card__icon { background: rgba(220,38,38,.08) !important; color: #dc2626 !important; }
.pi-ai-card--opps    .pi-ai-card__icon { background: rgba(0,160,80,.08) !important; color: #00a050 !important; }
.pi-ai-card--action  .pi-ai-card__icon { background: rgba(253,169,41,.10) !important; color: var(--gold-600) !important; }

.pi-facts-card {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
}

.pi-facts-card__title {
    color: #a0aec0 !important;
}

.pi-fact-chip {
    background: #f8f9fa !important;
    border-color: #e2e4e8 !important;
}

.pi-fact-chip__label {
    color: #a0aec0 !important;
}

.pi-fact-chip__value {
    color: #1a1a2e !important;
}

.pi-fact-chip__icon {
    color: #134160 !important;
}

.pi-kpi-section__title {
    color: #a0aec0 !important;
}

.pi-kpi-card {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
}

.pi-kpi-card:hover {
    border-color: #134160 !important;
}

.pi-kpi__label {
    color: #a0aec0 !important;
}

.pi-kpi__value {
    color: #134160 !important;
    text-shadow: none !important;
}

.pi-kpi__value--positive { color: #00a050 !important; text-shadow: none !important; }
.pi-kpi__value--negative { color: #dc2626 !important; text-shadow: none !important; }

.pi-decision-box {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
}

.pi-decision-box__label {
    color: #a0aec0 !important;
}

.pi-suggested-offer {
    color: var(--gold-600) !important;
    text-shadow: none !important;
}

.pi-confidence-label {
    color: #a0aec0 !important;
}

.pi-confidence-bar {
    background: #e2e4e8 !important;
}

.pi-confidence-bar__fill {
    background: linear-gradient(90deg, #134160, #00c5e8) !important;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
#lf-landing {
    background: #f0f2f4 !important;
}

#lf-landing::before {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,153,187,0.06) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(253,169,41,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 80% 100%, rgba(0,153,187,0.04) 0%, transparent 65%) !important;
}

.lf-landing__mark {
    box-shadow: 0 0 12px rgba(253, 169, 41, 0.20) !important;
}

.lf-landing__headline {
    color: #1a1a2e !important;
}

.lf-landing__headline span {
    color: #134160 !important;
    text-shadow: none !important;
}

.lf-landing__subheadline,
.lf-landing__subtext {
    color: #718096 !important;
}

.lf-landing__search-box {
    background: rgba(255, 255, 255, 0.90) !important;
    border-color: rgba(19, 65, 96, 0.30) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    animation: none !important;
}

.lf-landing__search-box:focus-within {
    border-color: #134160 !important;
    box-shadow: 0 0 0 3px rgba(19, 65, 96, 0.12) !important;
}

.lf-landing__search-input {
    color: #1a1a2e !important;
    background: none !important;
}

.lf-landing__search-input::placeholder {
    color: #a0aec0 !important;
}

.lf-landing__chip {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #4a5568 !important;
}

.lf-landing__chip:hover {
    background: #eef2f5 !important;
    border-color: #134160 !important;
    color: #134160 !important;
    box-shadow: none !important;
}

/* ============================================================
   STRATEGY SURFACES
   ============================================================ */
.lf-strategy-surface {
    background: #ffffff !important;
}

.lf-surface-title {
    color: #1a1a2e !important;
}

.lf-surface-subtitle {
    color: #718096 !important;
}

.lf-surface-zone {
    background: #f8f9fa !important;
    border-color: #e2e4e8 !important;
}

.lf-surface-zone__label {
    color: #4a5568 !important;
}

.lf-surface-zone__placeholder {
    color: #a0aec0 !important;
}

/* ============================================================
   MODALS (New Property + Settings)
   ============================================================ */
.np-card {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
}

.np-card__title {
    color: #1a1a2e !important;
}

.np-card__close {
    color: #718096 !important;
}

.np-card__close:hover {
    color: #1a1a2e !important;
    background: #f0f2f4 !important;
}

.np-address-wrap {
    background: #ffffff !important;
    border-color: rgba(19, 65, 96, 0.30) !important;
}

.np-address-wrap:focus-within {
    border-color: #134160 !important;
    box-shadow: 0 0 0 3px rgba(19, 65, 96, 0.10) !important;
}

#np-address-input {
    color: #1a1a2e !important;
}

#np-address-input::placeholder {
    color: #a0aec0 !important;
}

.np-strategy-label {
    color: #718096 !important;
}

.np-strategy-chip {
    background: #f8f9fa !important;
    border-color: #d1d5db !important;
    color: #4a5568 !important;
}

.np-strategy-chip:hover {
    background: #f0f2f4 !important;
    color: #1a1a2e !important;
}

.np-btn-cancel {
    border-color: #134160 !important;
    color: #134160 !important;
}

.np-btn-cancel:hover {
    background: #eef2f5 !important;
}

.lf-modal-panel {
    background: #ffffff !important;
    border-color: #e2e4e8 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
}

.lf-modal-title {
    color: #1a1a2e !important;
}

.lf-modal-close {
    color: #718096 !important;
}

.lf-modal-close:hover {
    color: #1a1a2e !important;
    background: #f0f2f4 !important;
}

.lf-modal-body {
    color: #718096 !important;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
#lf-dashboard-panel {
    background: #f0f2f4 !important;
}

.db-topbar {
    background: #ffffff !important;
    border-bottom-color: #e2e4e8 !important;
}

.db-topbar__title {
    color: #1a1a2e !important;
}

.db-kpi-row {
    background: #ffffff !important;
    border-bottom-color: #e2e4e8 !important;
}

.db-kpi-card {
    background: #ffffff !important;
    border-right-color: #e2e4e8 !important;
}

.db-kpi-card:hover {
    background: #f8f9fa !important;
}

.db-kpi__label {
    color: #a0aec0 !important;
}

.db-kpi__value {
    color: #134160 !important;
    text-shadow: none !important;
}

.db-kpi__value--gold     { color: var(--gold-600) !important; text-shadow: none !important; }
.db-kpi__value--positive { color: #00a050 !important; text-shadow: none !important; }
.db-kpi__value--neutral  { color: #4a5568 !important; }

.db-table-wrap {
    background: #f0f2f4 !important;
}

.db-section-title {
    color: #a0aec0 !important;
}

.db-table thead th {
    background: #f8f9fa !important;
    color: #a0aec0 !important;
    border-bottom-color: #e2e4e8 !important;
}

.db-table tbody tr {
    background: #ffffff !important;
    border-bottom-color: #f0f2f4 !important;
}

.db-table tbody tr:nth-child(even) {
    background: #f8f9fa !important;
}

.db-table tbody tr:hover {
    background: #eef2f5 !important;
}

.db-table tbody td {
    color: #4a5568 !important;
}

.db-td-address {
    color: #1a1a2e !important;
}

.db-td-currency {
    color: #134160 !important;
}

.db-empty i {
    color: #a0aec0 !important;
}

.db-empty__title {
    color: #718096 !important;
}

.db-empty__sub {
    color: #a0aec0 !important;
}

/* ============================================================
   PROPERTY INTEL SURFACE (old Batch 04 surface inside calculators tab)
   ============================================================ */
.pi-empty {
    background: #f0f2f4 !important;
}

.pi-empty__title {
    color: #1a1a2e !important;
}

.pi-empty__title span {
    color: #134160 !important;
    text-shadow: none !important;
}

.pi-empty__subtext {
    color: #a0aec0 !important;
}

.pi-search-box {
    background: #ffffff !important;
    border-color: rgba(19, 65, 96, 0.28) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.pi-search-box:focus-within {
    border-color: #134160 !important;
}

.pi-search-input {
    color: #1a1a2e !important;
}

.pi-search-input::placeholder {
    color: #a0aec0 !important;
}

.pi-search-btn {
    background: var(--btn-primary-bg) !important;
    color: #1a1a1a !important;
}

/* ============================================================
   SCROLLBARS
   ============================================================ */
* {
    scrollbar-color: #134160 #e2e4e8 !important;
}

*::-webkit-scrollbar-track {
    background: #e2e4e8 !important;
}

*::-webkit-scrollbar-thumb {
    background: #134160 !important;
    border-radius: 4px !important;
}

*::-webkit-scrollbar-thumb:hover {
    background: #007a99 !important;
}

/* ============================================================
   ORBITRON / data values — keep readable on light bg
   ============================================================ */
.lf-kpi-tile__value,
.pi-kpi__value,
.pi-suggested-offer,
.db-kpi__value,
.db-td-currency,
.lf-intel-range__value {
    text-shadow: none !important;
    filter: none !important;
}

/* Reduce Alfarn glow on display font */
.lf-topbar__wordmark,
.lf-sb-wordmark,
.lf-landing__wordmark {
    filter: drop-shadow(0 0 4px rgba(253, 169, 41, 0.20)) !important;
}

/* ============================================================
   RESPONSIVE — keep overrides on mobile
   ============================================================ */
@media (max-width: 768px) {
    #lf-sidebar {
        background: #e8eaed !important;
    }
}

/* ============================================================
   BATCH 31 — GLOBAL ROUNDED CORNERS PASS
   All !important to override any existing border-radius values.
   ============================================================ */

/* --- Cards and panels --- */
.glass-card                          { border-radius: 16px !important; }
.glass-dark                          { border-radius: 16px !important; }
.lf-panel-card                       { border-radius: 12px !important; }
.dash-metric-card,
.rd-kpi-card,
.db-kpi-card                         { border-radius: 12px !important; }
.lf-surface-accent-bar + .glass-card { border-radius: 16px !important; }
.comp-card                           { border-radius: 12px !important; }
.lf-strategy-surface                 { border-radius: 0 !important; }
#lf-reports-panel                    { border-radius: 16px 0 0 16px !important; }
.rd-card                             { border-radius: 20px !important; }
.np-card                             { border-radius: 20px !important; }
.sm-card                             { border-radius: 20px !important; }
.lf-modal-panel                      { border-radius: 20px !important; }
.db-kpi-card                         { border-radius: 12px !important; }
.lf-property-item                    { border-radius: 8px !important; }
#lf-sidebar                          { border-radius: 0 !important; }
.comps-arv-section                   { border-radius: 0 0 10px 10px !important; }
.pi-ai-panel                         { border-radius: 16px !important; }
.pi-decision-box,
.dash-decision-box                   { border-radius: 12px !important; }
.pi-facts-card                       { border-radius: 12px !important; }
.pi-kpi-card                         { border-radius: 10px !important; }
.rp-card                             { border-radius: 12px !important; }
.dash-card                           { border-radius: 12px !important; }
.comps-stat-chip                     { border-radius: 10px !important; }
.comps-map-placeholder               { border-radius: 12px !important; }

/* --- Photo / map placeholders --- */
.pi-photo,
.pi-summary-photo                    { border-radius: 12px !important; }

/* --- Inputs and form elements --- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea                             { border-radius: 8px !important; }
.lf-sb-search,
.lf-sb-search-input                  { border-radius: 10px !important; }
.sm-name-input                       { border-radius: 8px !important; }

/* --- Buttons --- */
.btn-primary,
.lf-sb-btn-primary,
.np-btn-analyze,
.pi-run-btn,
.sm-btn-next,
.sm-btn-save,
.comps-add-btn                       { border-radius: 10px !important; }

.btn-secondary,
.np-btn-cancel,
.sm-btn-back,
.pi-reports-btn,
.rp-btn-download,
.rp-btn-view,
.rd-print-btn,
.lf-sb-btn-ghost,
.pi-save-btn                         { border-radius: 8px !important; }

/* Strategy subtabs — keep full pill */
.pi-strategy-tab,
.comps-subtab,
.comps-method-chip,
.np-strategy-chip,
.lf-main-tab,
.lf-strategy-tab,
.sm-step__num                        { border-radius: 999px !important; }

/* Badges and eyebrow — always full pill */
.eyebrow-badge,
.badge-pill,
.lf-prop-chip,
.rp-strategy-badge,
.rd-strategy-badge,
.db-strategy-badge,
.db-conf-badge,
.pi-verdict-badge,
.dash-verdict,
.pi-ai-status-pill,
.pi-header__type-badge,
.pi-ai-panel__eyebrow                { border-radius: 999px !important; }

/* Sidebar special buttons */
#lf-new-analysis                     { border-radius: 10px !important; }
.lf-sb-user-btn                      { border-radius: 10px !important; }

/* Tab bar — flat */
.lf-main-tab                         { border-radius: 0 !important; }

/* Snapshot strip tiles */
.lf-kpi-tile                         { border-radius: 10px !important; }

/* --- Confidence bars --- */
.pi-confidence-bar,
.dash-conf-bar                       { border-radius: 999px !important; }

.pi-confidence-bar__fill,
.dash-conf-bar__fill                 { border-radius: 999px !important; }

/* --- CSS chart bars --- */
.dash-bar-track                      { border-radius: 4px !important; }
.dash-bar-fill                       { border-radius: 4px !important; }
.dash-bar-segment:first-child        { border-radius: 4px 0 0 4px !important; }
.dash-bar-segment:last-child         { border-radius: 0 4px 4px 0 !important; }
.dash-bar-segment:only-child         { border-radius: 4px !important; }

/* --- Scrollbar thumb --- */
*::-webkit-scrollbar-thumb           { border-radius: 999px !important; }

/* --- Search boxes (landing + pi) --- */
.lf-landing__search-box,
.pi-search-box,
.lf-sb-search                        { border-radius: 16px !important; }
.lf-landing__search-btn,
.pi-search-btn                       { border-radius: 12px !important; }
.lf-landing__chip,
.pi-suggestions .lf-landing__chip   { border-radius: 999px !important; }

/* --- Scenario panel dropdown --- */
#pi-scenario-panel                   { border-radius: 12px !important; }
#pi-scenario-trigger                 { border-radius: 8px !important; }

/* --- Sidebar collapse / scenario action buttons --- */
.lf-sb-collapse-btn,
.pi-scenario-action                  { border-radius: 6px !important; }

/* --- Dashboard table --- */
.db-table                            { border-radius: 10px !important; overflow: hidden; }
.db-table-wrap                       { border-radius: 10px !important; }
.db-count-badge                      { border-radius: 999px !important; }

/* --- Misc summary chips --- */
.pi-summary-chip                     { border-radius: 999px !important; }
.comp-distance                       { border-radius: 999px !important; }
.lf-intel-chip                       { border-radius: 999px !important; }
.lf-confidence-chip                  { border-radius: 999px !important; }
