/* ═══════════════════════════════════════════════════════
   CCL Dashboard v3 — Component Styles
   Generated: 2026-02-10

   Requires: tokens.css loaded first.
   Components are organized by page / feature area.
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   BASE RESET
   ───────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────
   LAYOUT: CONTAINER
   ───────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ─────────────────────────────────────────────────────
   APP HEADER (frosted glass, sticky)
   ───────────────────────────────────────────────────── */
.app-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 var(--s-8);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-left {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}
.header-right {
    display: flex;
    align-items: center;
    gap: var(--s-6);
}

/* Logo */
.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* Credits indicator */
.credits-indicator {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: 13px;
    color: var(--gray-600);
}
.credits-text {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-900);
}
.credits-pips {
    display: flex;
    gap: 3px;
}
.credits-pip {
    width: 6px;
    height: 18px;
    border-radius: 2px;
    background: var(--gray-200);
    transition: background var(--base);
}
.credits-pip.used {
    background: var(--teal);
}

/* Get More link (persistent — appears in header + other locations) */
.get-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--r-full);
    border: 1px solid var(--teal-subtle);
    background: var(--teal-wash);
    transition: all var(--fast);
    cursor: pointer;
}
.get-more-link:hover {
    background: var(--teal-subtle);
    border-color: var(--teal);
}
/* Urgent variant (0 credits) */
.get-more-link--urgent {
    background: var(--orange-wash);
    color: var(--orange);
    border-color: rgba(246, 141, 46, 0.2);
}
.get-more-link--urgent:hover {
    background: rgba(246, 141, 46, 0.15);
    border-color: var(--orange);
}

/* User name + logout */
.user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

/* ─────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    transition: all var(--fast);
    box-shadow: var(--shadow-teal);
    width: 100%;
}
.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(72, 122, 123, 0.25);
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    transition: all var(--fast);
    width: 100%;
}
.btn-secondary:hover {
    background: var(--teal-wash);
    transform: translateY(-1px);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--error);
    border: 1.5px solid var(--error);
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    transition: all var(--fast);
    width: 100%;
}
.btn-danger:hover {
    background: var(--error-wash);
    transform: translateY(-1px);
}

.btn-ghost {
    font: 500 13px/1 var(--font-sans);
    padding: 6px 12px;
    border-radius: var(--r-md);
    border: none;
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--fast);
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-get-credits {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    transition: all var(--fast);
    width: 100%;
}
.btn-get-credits:hover {
    background: #E07D1E;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(246, 141, 46, 0.25);
}

.btn-view {
    font: 600 13px/1 var(--font-sans);
    padding: 6px 14px;
    border-radius: var(--r-md);
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--teal);
    cursor: pointer;
    transition: all var(--fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-view:hover {
    border-color: var(--teal);
    background: var(--teal-wash);
}

.btn-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    width: 100%;
    margin-top: var(--s-3);
    transition: all var(--fast);
    box-shadow: var(--shadow-teal);
}
.btn-request:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────
   SEARCH SLOTS
   ───────────────────────────────────────────────────── */
.slots-section {
    padding-top: var(--s-8);
    padding-bottom: var(--s-6);
}
.slots-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: var(--s-4);
}
.slots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}

/* Base slot card */
.slot-card {
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--gray-200);
    padding: var(--s-6);
    transition: all var(--base);
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}
.slot-card:hover {
    box-shadow: var(--shadow-md);
}
.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-4);
}
.slot-label {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
}
.slot-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--r-full);
}
.slot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slot-address {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--s-3);
}

/* Slot input preview (placeholder for address field) */
.slot-input-preview {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font: 400 14px/1.4 var(--font-sans);
    color: var(--gray-400);
    background: var(--gray-50);
    margin-bottom: var(--s-4);
}

/* Active/Ready slot */
.slot-active {
    border-color: var(--teal);
    border-left-width: 3px;
}
.slot-active .slot-status {
    color: var(--teal);
    background: var(--teal-wash);
}

/* Generating slot */
.slot-generating {
    border-color: var(--orange);
    border-left-width: 3px;
    animation: slot-pulse 2.5s ease-in-out infinite;
}
.slot-generating .slot-status {
    color: var(--orange);
    background: var(--orange-wash);
}

/* Completed slot */
.slot-completed {
    border-color: var(--success);
    border-left-width: 3px;
}
.slot-completed .slot-status {
    color: var(--success);
    background: var(--success-wash);
}

/* Error slot */
.slot-error {
    border-color: var(--error);
    border-left-width: 3px;
}
.slot-error .slot-status {
    color: var(--error);
    background: var(--error-wash);
}
.error-msg {
    font-size: 13px;
    color: var(--error);
    margin-bottom: var(--s-3);
}

/* Exhausted slot (0 credits) */
.slot-exhausted {
    border-color: var(--gray-300);
    border-left-width: 3px;
    opacity: 0.8;
}
.slot-exhausted .slot-status {
    color: var(--gray-500);
    background: var(--gray-100);
}

/* Locked slot */
.slot-locked {
    border-style: dashed;
    border-color: var(--gray-300);
    background: var(--gray-50);
}
.slot-locked-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    background: rgba(250, 250, 250, 0.75);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    z-index: 2;
}
.lock-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--r-full);
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}
.slot-locked-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
}
.slot-locked-sub {
    font-size: 12px;
    color: var(--gray-400);
}
/* Ghost content behind locked overlay (loss aversion) */
.slot-locked .slot-ghost {
    opacity: 0.35;
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────
   PROGRESS BAR (generating state)
   ───────────────────────────────────────────────────── */
.progress-wrap {
    margin-bottom: var(--s-2);
}
.progress-track {
    height: 5px;
    background: var(--gray-100);
    border-radius: var(--r-full);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--orange);
    border-radius: var(--r-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 6px;
}
.progress-stage {
    font-weight: 500;
    color: var(--gray-600);
}
.progress-pct {
    font-family: var(--font-mono);
    font-weight: 500;
}
.elapsed {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ─────────────────────────────────────────────────────
   PROPERTIES TABLE
   ───────────────────────────────────────────────────── */
.props-section {
    padding-bottom: var(--s-12);
}
.props-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-5);
}
.props-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}
.props-count {
    font-size: 13px;
    color: var(--gray-400);
    font-family: var(--font-mono);
}
.props-table-wrap {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.props-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.props-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}
.props-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--fast);
    cursor: pointer;
}
.props-table tbody tr:last-child {
    border-bottom: none;
}
.props-table tbody tr:hover {
    background: var(--teal-wash);
}
.props-table td {
    padding: 14px 16px;
    vertical-align: middle;
}
.td-address {
    font-weight: 500;
    color: var(--gray-900);
    max-width: 280px;
}
.td-address-city {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}
.td-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-400);
}
.td-action {
    text-align: right;
}

/* ─────────────────────────────────────────────────────
   GRADE PILL BADGES
   ───────────────────────────────────────────────────── */
.grade-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    color: white;
    letter-spacing: 0.02em;
}
.grade-a  { background: var(--grade-a); }
.grade-b  { background: var(--grade-b); }
.grade-c  { background: var(--grade-c); }
.grade-d  { background: var(--grade-d); }
.grade-f  { background: var(--grade-f); }

/* ─────────────────────────────────────────────────────
   TEMPERATURE PILL BADGES
   ───────────────────────────────────────────────────── */
.temp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.temp-hot    { background: rgba(239, 68, 68, 0.08);   color: var(--temp-hot); }
.temp-warm   { background: rgba(245, 158, 11, 0.08);  color: var(--temp-warm); }
.temp-cool   { background: rgba(59, 130, 246, 0.08);  color: var(--temp-cool); }
.temp-cold   { background: rgba(100, 116, 139, 0.08); color: var(--temp-cold); }
.temp-frozen { background: rgba(156, 163, 175, 0.08); color: var(--temp-frozen); }
.temp-pending {
    background: var(--orange-wash);
    color: var(--orange);
    font-style: italic;
}

/* ─────────────────────────────────────────────────────
   STATUS BADGE (table rows)
   ───────────────────────────────────────────────────── */
.status-badge {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.status-completed  { color: var(--success); }
.status-processing { color: var(--warning); }
.status-generating { color: var(--orange); }
.status-error      { color: var(--error); }

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.status-completed .status-dot  { background: var(--success); }
.status-processing .status-dot { background: var(--warning); }
.status-generating .status-dot { background: var(--orange); animation: blink 1.2s infinite; }
.status-error .status-dot      { background: var(--error); }

/* ─────────────────────────────────────────────────────
   EMPTY STATE
   ───────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: var(--s-16) var(--s-8);
}
.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--s-6);
    background: var(--teal-wash);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
}
.empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--s-2);
}
.empty-desc {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 360px;
    margin: 0 auto var(--s-6);
    line-height: 1.6;
}
.empty-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal);
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--teal-wash);
    border: 1px dashed var(--teal-subtle);
}

/* ─────────────────────────────────────────────────────
   LOGIN PAGE
   ───────────────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--gray-50) 0%, rgba(72, 122, 123, 0.04) 50%, var(--gray-50) 100%);
}
.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: var(--r-xl);
    padding: var(--s-12) var(--s-10);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
}
.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-8);
}
.login-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
}
.login-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--s-2);
}
.login-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: var(--s-8);
}
.login-input-wrap {
    position: relative;
    margin-bottom: var(--s-6);
}
.login-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-400);
}
.login-input {
    width: 100%;
    padding: 14px 14px 14px 64px;
    border: 2px solid var(--gray-200);
    border-radius: var(--r-md);
    font: 600 15px/1.4 var(--font-mono);
    color: var(--gray-900);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--base);
}
.login-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.login-input::placeholder {
    color: var(--gray-300);
    text-transform: uppercase;
}
.login-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: var(--s-3);
}
.login-error {
    font-size: 13px;
    color: var(--error);
    margin-top: var(--s-2);
    display: none;
}

/* ─────────────────────────────────────────────────────
   MODAL (credit request, feedback, etc.)
   ───────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}
.modal-overlay.hidden {
    display: none;
}
.modal {
    background: white;
    border-radius: var(--r-xl);
    padding: var(--s-10);
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--s-6);
}
.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}
.modal-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    border: none;
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--fast);
    flex-shrink: 0;
}
.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* ─────────────────────────────────────────────────────
   FORM ELEMENTS
   ───────────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--s-5);
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--s-2);
}
.form-label-opt {
    font-weight: 400;
    color: var(--gray-400);
}
.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font: 400 14px/1.4 var(--font-sans);
    color: var(--gray-800);
    transition: all var(--base);
}
.form-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-input::placeholder {
    color: var(--gray-400);
}
textarea.form-input {
    resize: vertical;
    min-height: 72px;
}

/* Stepper (report count selector) */
.stepper-row {
    display: flex;
    gap: var(--s-2);
}
.stepper-opt {
    flex: 1;
    padding: 10px 8px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    background: white;
    font: 600 14px/1 var(--font-mono);
    color: var(--gray-600);
    cursor: pointer;
    text-align: center;
    transition: all var(--fast);
}
.stepper-opt:hover {
    border-color: var(--teal);
    color: var(--teal);
}
.stepper-opt.selected {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
    box-shadow: var(--shadow-teal);
}

/* ─────────────────────────────────────────────────────
   REPORT LANDING PAGE
   ───────────────────────────────────────────────────── */

/* Hero section */
.report-hero {
    background: linear-gradient(135deg, #005151 0%, #487A7B 100%);
    padding: var(--s-10) 0;
    color: white;
}
.report-address {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-2);
}
.report-specs {
    display: flex;
    gap: var(--s-5);
    font-size: 13px;
    opacity: 0.8;
}
.report-spec {
    font-family: var(--font-mono);
    font-weight: 500;
}
.report-spec-sep {
    opacity: 0.3;
}
.report-hero-content {
    max-width: 640px;
}
.report-meta {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    margin-top: var(--s-3);
}
.report-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    opacity: 0.75;
}

/* Property specs bar (below hero) */
.report-specs-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: var(--s-4) 0;
}
.specs-bar-items {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    flex-wrap: wrap;
}
.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    color: var(--gray-600);
}
.specs-divider {
    color: var(--gray-300);
    font-size: 16px;
}

/* Glance section */
.glance-section {
    padding: var(--s-8) 0;
}
.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
    margin-bottom: var(--s-8);
}
.glance-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    text-align: center;
    box-shadow: var(--shadow-xs);
}
.glance-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: var(--s-3);
}
.glance-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.02em;
}
.glance-sub {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: var(--s-1);
}
.grade-value-a { color: #059669; }
.grade-value-b { color: var(--teal); }
.grade-value-c { color: #D97706; }
.grade-value-d { color: #EA580C; }
.grade-value-f { color: #DC2626; }
.temp-value-hot  { color: var(--temp-hot); }
.temp-value-warm { color: var(--temp-warm); }
.temp-value-cool { color: var(--temp-cool); }
.temp-value-cold { color: var(--temp-cold); }

/* Report cards (market / zoning) */
.report-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
}
.report-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--base);
}
.report-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.report-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-4);
}
.report-card-icon.market {
    background: var(--teal-wash);
    color: var(--teal);
}
.report-card-icon.zoning {
    background: var(--teal-wash);
    color: var(--teal);
}
.report-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--s-2);
}
.report-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: var(--s-5);
}
.report-card-stats {
    display: flex;
    gap: var(--s-6);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--gray-100);
}
.report-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.report-stat-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-900);
}
.report-card-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: gap var(--fast);
}
.report-card-action:hover {
    gap: 10px;
}

/* Zoning unavailable card */
.zoning-unavailable {
    border-style: dashed;
    border-color: var(--gray-300);
}
.zoning-unavailable:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}
.zoning-expand-msg {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--s-5);
    padding: var(--s-4);
    background: var(--teal-wash);
    border-radius: var(--r-md);
    border-left: 3px solid var(--teal);
}
.zoning-expand-msg strong {
    color: var(--gray-800);
}
.zoning-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
}
.zoning-request-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-8);
    text-align: center;
}
.zoning-request-success p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.pagination-info {
    font-size: 13px;
    color: var(--gray-400);
}
.pagination-info strong {
    color: var(--gray-600);
    font-weight: 600;
}
.pagination-controls {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}
.pagination-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 500 13px/1 var(--font-sans);
    transition: all var(--fast);
}
.pagination-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}
.pagination-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination-per-page {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-left: var(--s-4);
    font-size: 13px;
    color: var(--gray-400);
}
.pagination-per-page select {
    padding: 4px 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-sm);
    font: 500 13px/1 var(--font-sans);
    color: var(--gray-600);
    background: white;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────
   CUSTOM STEPPER INPUT
   ───────────────────────────────────────────────────── */
.stepper-custom-wrap {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-top: var(--s-2);
}
.stepper-custom-input {
    width: 80px;
    padding: 8px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font: 600 14px/1 var(--font-mono);
    color: var(--gray-800);
    text-align: center;
    transition: all var(--base);
}
.stepper-custom-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.stepper-custom-label {
    font-size: 13px;
    color: var(--gray-500);
}

/* ─────────────────────────────────────────────────────
   FEEDBACK BUTTON (floating, persistent)
   ───────────────────────────────────────────────────── */
.feedback-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gray-800);
    color: white;
    border: none;
    border-radius: var(--r-full);
    font: 500 13px/1 var(--font-sans);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--base);
}
.feedback-btn:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ─────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────── */
#toast-container {
    position: fixed;
    top: var(--s-6);
    right: var(--s-6);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}
.toast {
    background: white;
    border-radius: var(--r-md);
    padding: var(--s-4) var(--s-5);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: var(--s-3);
    animation: slideUp 0.3s ease;
    max-width: 380px;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error   { border-left: 3px solid var(--error); }
.toast-info    { border-left: 3px solid var(--teal); }

/* ─────────────────────────────────────────────────────
   FORM ERROR STATE
   ───────────────────────────────────────────────────── */
.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: var(--s-2);
}

/* ─────────────────────────────────────────────────────
   SLOT INPUT GROUP (address input inside slot)
   ───────────────────────────────────────────────────── */
.slot-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

/* ─────────────────────────────────────────────────────
   SLOT PROGRESS / STAGE (aliases for progress bar)
   ───────────────────────────────────────────────────── */
.slot-progress {
    margin-bottom: var(--s-2);
}
.slot-progress .progress-track {
    height: 5px;
    background: var(--gray-100);
    border-radius: var(--r-full);
    overflow: hidden;
}
.slot-progress .progress-fill {
    height: 100%;
    background: var(--orange);
    border-radius: var(--r-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slot-stage {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    margin-top: 6px;
}

/* ─────────────────────────────────────────────────────
   PROPERTIES TABLE FILTERS
   ───────────────────────────────────────────────────── */
.props-filters {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
    flex-wrap: wrap;
}
.props-filter {
    padding: 6px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-full);
    background: white;
    font: 500 13px/1 var(--font-sans);
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--fast);
}
.props-filter:hover {
    border-color: var(--teal);
    color: var(--teal);
}
.props-filter.active {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}
.props-filter-search {
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font: 400 13px/1.4 var(--font-sans);
    color: var(--gray-800);
    min-width: 200px;
    transition: all var(--base);
    margin-left: auto;
}
.props-filter-search:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.props-filter-search::placeholder {
    color: var(--gray-400);
}

/* ─────────────────────────────────────────────────────
   REPORT HEADER (full report pages)
   ───────────────────────────────────────────────────── */
.rpt-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 var(--s-8);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.rpt-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--fast);
}
.rpt-back-link:hover {
    color: var(--gray-800);
}

/* ─────────────────────────────────────────────────────
   REPORT HERO VARIANTS (Market + Zoning)
   ───────────────────────────────────────────────────── */
.rpt-hero-market {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a3a3a 60%, var(--teal-dark) 100%);
    padding: var(--s-12) 0 var(--s-10);
    color: white;
}
.rpt-hero-zoning {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
    padding: var(--s-12) 0 var(--s-10);
    color: white;
}
.rpt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: var(--s-4);
}
.rpt-hero-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-6);
}
.rpt-hero-stats {
    display: flex;
    gap: var(--s-10);
    align-items: center;
}
.rpt-hero-stat {
    text-align: center;
}
.rpt-hero-stat-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 28px;
    display: block;
    letter-spacing: -0.02em;
}
.rpt-hero-stat-label {
    font-size: 12px;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.rpt-hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ─────────────────────────────────────────────────────
   REPORT BODY + FULL REPORT LAYOUT
   ───────────────────────────────────────────────────── */
.rpt-body {
    padding: var(--s-8) 0 var(--s-12);
}
.full-report {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--s-8);
}

/* ─────────────────────────────────────────────────────
   EXECUTIVE SNAPSHOT (market report)
   ───────────────────────────────────────────────────── */
.rpt-snapshot {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--teal);
    padding: var(--s-6) var(--s-8);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--s-6);
}
.rpt-snapshot-header {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
}
.rpt-snapshot-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    background: var(--teal-wash);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rpt-snapshot-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}
.rpt-snapshot-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}
.rpt-snapshot-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
    margin-top: var(--s-5);
}
.rpt-mini-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    padding: var(--s-4);
}
.rpt-mini-card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: var(--s-2);
}
.rpt-mini-card-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}
.rpt-mini-card-detail {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}
.rpt-mini-card.accent {
    background: var(--teal-wash);
    border-color: var(--teal-subtle);
}

/* ─────────────────────────────────────────────────────
   SIGNAL PILLS (positive/caution/negative)
   ───────────────────────────────────────────────────── */
.rpt-signals {
    display: flex;
    gap: var(--s-3);
    flex-wrap: wrap;
    margin-top: var(--s-5);
}
.rpt-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 600;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}
.rpt-signal-value {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gray-900);
}
.rpt-signal.positive {
    background: var(--success-wash);
    border-color: rgba(16, 185, 129, 0.15);
    color: #059669;
}
.rpt-signal.positive .rpt-signal-value { color: #059669; }
.rpt-signal.caution {
    background: var(--warning-wash);
    border-color: rgba(245, 158, 11, 0.15);
    color: #D97706;
}
.rpt-signal.caution .rpt-signal-value { color: #D97706; }
.rpt-signal.negative {
    background: var(--error-wash);
    border-color: rgba(239, 68, 68, 0.15);
    color: #DC2626;
}
.rpt-signal.negative .rpt-signal-value { color: #DC2626; }

/* ─────────────────────────────────────────────────────
   REPORT SECTIONS (white card blocks)
   ───────────────────────────────────────────────────── */
.rpt-section {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    padding: var(--s-6) var(--s-8);
    box-shadow: var(--shadow-xs);
    margin-bottom: var(--s-5);
}
.rpt-section-header {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--gray-100);
}
.rpt-section-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    background: var(--teal-wash);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rpt-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}
.rpt-section-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ─────────────────────────────────────────────────────
   QUESTION CARDS (Q1-Q5 co-living questions)
   ───────────────────────────────────────────────────── */
.rpt-questions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
}
.rpt-q-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    box-shadow: var(--shadow-xs);
}
.rpt-q-card.featured {
    border-color: var(--teal);
    border-left-width: 3px;
    grid-column: 1 / -1;
}
.rpt-q-number {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--s-2);
}
.rpt-q-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--s-3);
}
.rpt-q-body {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}
.rpt-q-metric {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    color: var(--teal);
    margin-bottom: var(--s-1);
}
.rpt-q-metric-label {
    font-size: 12px;
    color: var(--gray-400);
}

/* ─────────────────────────────────────────────────────
   TABS (pill-style tab switcher)
   ───────────────────────────────────────────────────── */
.rpt-tabs {
    display: flex;
    gap: var(--s-1);
    background: var(--gray-100);
    padding: 3px;
    border-radius: var(--r-md);
    margin-bottom: var(--s-5);
}
.rpt-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: var(--r-sm);
    font: 600 13px/1 var(--font-sans);
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--fast);
    text-align: center;
}
.rpt-tab:hover {
    color: var(--gray-700);
}
.rpt-tab.active {
    background: white;
    color: var(--teal);
    box-shadow: var(--shadow-xs);
}
.rpt-tab-panel {
    display: none;
    padding: var(--s-4) 0;
}
.rpt-tab-panel.active {
    display: block;
}

/* ─────────────────────────────────────────────────────
   INDEX SCORE BAR
   ───────────────────────────────────────────────────── */
.rpt-index-score {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-bottom: var(--s-4);
}
.rpt-index-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 24px;
    color: var(--gray-900);
    min-width: 48px;
}
.rpt-index-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--r-full);
    overflow: hidden;
}
.rpt-index-fill {
    height: 100%;
    border-radius: var(--r-full);
    background: var(--teal);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rpt-index-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    min-width: 80px;
    text-align: right;
}

/* ─────────────────────────────────────────────────────
   TAKEAWAYS LIST
   ───────────────────────────────────────────────────── */
.rpt-takeaway {
    display: flex;
    gap: var(--s-3);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--gray-100);
}
.rpt-takeaway:last-child {
    border-bottom: none;
}
.rpt-takeaway-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--r-full);
    background: var(--teal-wash);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.rpt-takeaway-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────
   TEMPERATURE GAUGE CARD (zoning report)
   ───────────────────────────────────────────────────── */
.rpt-temp-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--s-6);
}
.rpt-temp-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: var(--s-5);
}
.rpt-gauge {
    position: relative;
    width: 220px;
    height: 120px;
    margin: 0 auto var(--s-4);
}
.rpt-gauge-arc {
    width: 220px;
    height: 110px;
    border-radius: 110px 110px 0 0;
    background: conic-gradient(
        from 180deg,
        #9CA3AF 0deg,
        #64748B 36deg,
        #3B82F6 72deg,
        #F59E0B 108deg,
        #EF4444 144deg,
        transparent 144deg
    );
    overflow: hidden;
    position: relative;
}
.rpt-gauge-mask {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 80px;
    background: white;
    border-radius: 80px 80px 0 0;
}
.rpt-gauge-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: -0.02em;
}
.rpt-gauge-label {
    font-size: 14px;
    font-weight: 600;
    margin-top: var(--s-1);
}

/* ─────────────────────────────────────────────────────
   DETAILS GRID (3-column, zoning report)
   ───────────────────────────────────────────────────── */
.rpt-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
}
.rpt-detail-item {
    padding: var(--s-4);
    background: var(--gray-50);
    border-radius: var(--r-md);
}
.rpt-detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: var(--s-1);
}
.rpt-detail-value {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
}

/* ─────────────────────────────────────────────────────
   FINDINGS LIST (dot + text)
   ───────────────────────────────────────────────────── */
.rpt-finding {
    display: flex;
    gap: var(--s-3);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
}
.rpt-finding:last-child {
    border-bottom: none;
}
.rpt-finding-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    margin-top: 6px;
}
.rpt-finding-dot.positive { background: var(--success); }
.rpt-finding-dot.caution  { background: var(--warning); }
.rpt-finding-dot.negative { background: var(--error); }
.rpt-finding-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────
   PATHWAYS TABLE (ranked operational pathways)
   ───────────────────────────────────────────────────── */
.rpt-pathways-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.rpt-pathways-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    border-bottom: 1px solid var(--gray-200);
}
.rpt-pathways-table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.rpt-pathways-table tr:last-child td {
    border-bottom: none;
}
.rpt-pathway-rank {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--teal);
    text-align: center;
    width: 40px;
}
.rpt-pathway-name {
    font-weight: 600;
    color: var(--gray-900);
}
.rpt-pathway-feasibility {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--r-full);
}
.rpt-pathway-feasibility.high   { background: var(--success-wash); color: #059669; }
.rpt-pathway-feasibility.medium { background: var(--warning-wash); color: #D97706; }
.rpt-pathway-feasibility.low    { background: var(--error-wash); color: #DC2626; }

/* ─────────────────────────────────────────────────────
   RISK BADGE (low/medium/high)
   ───────────────────────────────────────────────────── */
.rpt-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 600;
}
.rpt-risk-low    { background: var(--success-wash); color: #059669; }
.rpt-risk-medium { background: var(--warning-wash); color: #D97706; }
.rpt-risk-high   { background: var(--error-wash); color: #DC2626; }

/* ─────────────────────────────────────────────────────
   SCORE BREAKDOWN (3-column bars)
   ───────────────────────────────────────────────────── */
.rpt-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}
.rpt-breakdown-item {
    text-align: center;
}
.rpt-breakdown-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: var(--s-2);
}
.rpt-breakdown-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: var(--s-2);
}
.rpt-breakdown-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: var(--r-full);
    overflow: hidden;
}
.rpt-breakdown-fill {
    height: 100%;
    background: var(--teal);
    border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────────────
   REPORT FOOTER
   ───────────────────────────────────────────────────── */
.rpt-footer {
    text-align: center;
    padding: var(--s-8) 0;
    font-size: 13px;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-200);
}

/* ─────────────────────────────────────────────────────
   SKELETON LOADING
   ───────────────────────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--r-md);
}

.skeleton-slot {
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--gray-200);
    padding: var(--s-6);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.skeleton-bar {
    height: 12px;
    border-radius: var(--r-sm);
}

.skeleton-bar-sm { width: 60%; }
.skeleton-bar-md { width: 80%; }
.skeleton-bar-lg { width: 100%; }
.skeleton-bar-xs { width: 40%; }

.skeleton-bar-tall {
    height: 36px;
    border-radius: var(--r-md);
}

.skeleton-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 0.5fr;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--gray-100);
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .slots-row {
        grid-template-columns: 1fr 1fr;
    }
    .slots-row .slot-card:last-child {
        grid-column: 1 / -1;
    }
    .report-cards-grid {
        grid-template-columns: 1fr;
    }
    .glance-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rpt-questions-grid {
        grid-template-columns: 1fr;
    }
    .rpt-questions-grid .rpt-q-card.featured {
        grid-column: auto;
    }
    .rpt-details-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rpt-breakdown {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .rpt-tabs {
        flex-wrap: wrap;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-pad: var(--s-5);
    }
    .app-header {
        padding: 0 var(--s-4);
        gap: var(--s-2);
    }
    .slots-row {
        grid-template-columns: 1fr;
    }
    .slots-row .slot-card:last-child {
        grid-column: auto;
    }
    .glance-grid {
        grid-template-columns: 1fr;
    }
    .props-table-wrap {
        overflow-x: auto;
    }
    .report-address {
        font-size: 20px;
    }
    .report-meta {
        gap: var(--s-3);
    }
    .report-specs {
        flex-wrap: wrap;
        gap: var(--s-2);
    }
    .specs-bar-items {
        gap: var(--s-3);
    }
    .zoning-form-row {
        grid-template-columns: 1fr;
    }
    .header-right {
        gap: var(--s-3);
    }
    .user-name {
        display: none;
    }
    .rpt-header {
        padding: 0 var(--s-4);
    }
    .rpt-hero-title {
        font-size: 22px;
    }
    .rpt-hero-stats {
        gap: var(--s-5);
        flex-wrap: wrap;
    }
    .rpt-hero-stat-value {
        font-size: 22px;
    }
    .rpt-hero-divider {
        display: none;
    }
    .full-report {
        padding: 0 var(--s-5);
    }
    .rpt-section {
        padding: var(--s-5) var(--s-5);
    }
    .rpt-snapshot {
        padding: var(--s-5);
    }
    .rpt-snapshot-cards {
        grid-template-columns: 1fr;
    }
    .rpt-details-grid {
        grid-template-columns: 1fr;
    }
    .rpt-breakdown {
        grid-template-columns: 1fr;
        gap: var(--s-4);
    }
    .rpt-tabs {
        flex-wrap: wrap;
    }
    .rpt-tab {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 12px;
    }
    .props-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .props-filter-search {
        margin-left: 0;
        min-width: auto;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .login-card {
        padding: var(--s-8) var(--s-6);
    }
    .modal {
        padding: var(--s-6);
        width: 95%;
    }
    .stepper-row {
        flex-wrap: wrap;
    }
    .stepper-opt {
        flex: 0 0 calc(50% - 4px);
    }
    .credits-pips {
        display: none;
    }
    .rpt-hero-market,
    .rpt-hero-zoning {
        padding: var(--s-8) 0 var(--s-6);
    }
    .rpt-hero-title {
        font-size: 20px;
    }
    .rpt-gauge {
        width: 180px;
        height: 100px;
    }
    .rpt-gauge-arc {
        width: 180px;
        height: 90px;
        border-radius: 90px 90px 0 0;
    }
    .rpt-gauge-mask {
        width: 130px;
        height: 65px;
        border-radius: 65px 65px 0 0;
    }
    .rpt-gauge-value {
        font-size: 28px;
    }
    .rpt-index-score {
        flex-wrap: wrap;
    }
    .rpt-index-label {
        min-width: auto;
        text-align: left;
    }
}

/* ─────────────────────────────────────────────────────
   STATE PICKER
   ───────────────────────────────────────────────────── */
.state-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.state-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.state-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--teal-dark);
    background: var(--teal-subtle);
    border: 1px solid var(--teal-light);
    border-radius: var(--radius-full, 9999px);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.state-chip:hover {
    background: var(--teal-glow);
    border-color: var(--teal);
}
.state-chip-x {
    font-size: 14px;
    line-height: 1;
    opacity: 0.6;
}
.state-chip:hover .state-chip-x {
    opacity: 1;
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 4px;
}

.state-btn {
    padding: 6px 2px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.02em;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm, 6px);
    cursor: pointer;
    transition: all 0.12s ease;
    text-align: center;
}
.state-btn:hover:not(.disabled) {
    color: var(--teal-dark);
    background: var(--teal-wash);
    border-color: var(--teal-light);
}
.state-btn.selected {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal-dark);
}
.state-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.state-picker-hint {
    font-size: 12px;
    color: var(--gray-400);
    text-align: right;
    margin: 0;
}
