/* ============================================================
   LOCAL BUSINESS HEALTH CHECK | Space Coast Marketing Agency
   Stardew Valley Theme — Warm Pastoral, Pixel-Art Charm
   Palette: parchment bg, golden accent, forest green, warm brown
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #F5F0E1;
    --bg-card: #FFFEF9;
    --bg-card-hover: #FFF9E6;
    --bg-input: #FDFBF5;
    --bg-terminal: #F0EAD6;
    --accent: #DAA520;
    --accent-hover: #F0C040;
    --accent-glow: rgba(218, 165, 32, 0.25);
    --accent-dim: rgba(218, 165, 32, 0.1);
    --gold: #DAA520;
    --gold-dim: rgba(218, 165, 32, 0.2);
    --green: #6B8E23;
    --green-light: #7A9E2E;
    --brown: #8B4513;
    --brown-light: #A0845C;
    --brown-border: #8B7355;
    --text: #4E342E;
    --text-bright: #3E2723;
    --text-muted: #7B6B5D;
    --text-dim: #A89880;
    --border: #D4C5B2;
    --border-light: #E8DCC8;
    --border-soft: #C4B5A2;
    --success: #4CAF50;
    --success-bg: rgba(76, 175, 80, 0.1);
    --warning: #FF9800;
    --warning-bg: rgba(255, 152, 0, 0.1);
    --danger: #C0392B;
    --danger-bg: rgba(192, 57, 43, 0.1);
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Courier New', 'Consolas', 'Monaco', 'Liberation Mono', monospace;
    --shadow: 0 3px 16px rgba(139, 115, 85, 0.15);
    --shadow-hover: 0 6px 24px rgba(139, 115, 85, 0.2);
    --shadow-glow: 0 0 16px var(--accent-glow);
    --transition: 0.25s ease;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    /* Subtle parchment texture via noise */
    background-image:
        radial-gradient(ellipse at 20% 50%, #FDF5E6 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, #F5E6D3 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, #EDE0C8 0%, transparent 50%);
    background-attachment: fixed;
}

/* --- Header --- */
.header {
    background: linear-gradient(180deg, #FFFEF9 0%, #FDF8EE 100%);
    border-bottom: 3px solid var(--brown-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(139, 115, 85, 0.12);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--brown);
}

.logo-icon {
    color: var(--accent);
    font-size: 1.3rem;
}

.logo-text {
    color: var(--text-bright);
}

.logo-accent {
    color: var(--green);
}

.logo-ver {
    color: var(--text-dim);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* --- Decorative Dividers --- */
.star-divider {
    text-align: center;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin-bottom: 1.5rem;
    user-select: none;
}

.pixel-divider {
    text-align: center;
    color: var(--border-soft);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    margin: 1rem 0;
    user-select: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--brown-border);
    background: var(--bg-card);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.65rem 1.3rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn:hover {
    border-color: var(--accent);
    color: var(--text-bright);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(180deg, #F0C940 0%, #DAA520 100%);
    border-color: #C8960C;
    color: #3E2723;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
    box-shadow: 0 3px 0 #B8860B, 0 4px 12px rgba(139, 115, 85, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #F5D568 0%, #E6B800 100%);
    border-color: #B8860B;
    box-shadow: 0 3px 0 #A0720A, 0 6px 20px rgba(139, 115, 85, 0.3);
    color: #3E2723;
}

.btn-primary:active {
    box-shadow: 0 1px 0 #B8860B, 0 2px 8px rgba(139, 115, 85, 0.2);
    transform: translateY(2px);
}

.btn-tactical {
    background: var(--bg-card);
    border: 2px solid var(--border);
    color: var(--text-muted);
}

.btn-tactical:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- Buttons (health-check specific) --- */
.hc-btn-run {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
}

.hc-btn-full {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
    border-radius: var(--radius);
}

/* ============================================================
   HEALTH CHECK LAYOUT
   ============================================================ */

.hc-main {
    max-width: 940px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.hc-section {
    animation: fadeSlideIn 0.45s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Cards --- */
.hc-card {
    background: var(--bg-card);
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--shadow);
}

/* --- Hero Card --- */
.hc-hero-card {
    text-align: center;
    padding: 3rem 2rem;
    border-color: var(--brown-border);
    box-shadow: 0 4px 24px rgba(139, 115, 85, 0.18);
}

.hc-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(107, 142, 35, 0.08) 100%);
    color: var(--brown);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border: 2px solid var(--brown-border);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-mono);
}

.hc-hero-title {
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.accent-text {
    color: var(--accent);
}

.hc-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* --- Form --- */
.hc-form {
    max-width: 620px;
    margin: 0 auto;
}

.hc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.hc-field-full {
    grid-column: 1 / -1;
}

.hc-field-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hc-optional {
    font-weight: 400;
    text-transform: none;
    color: var(--text-dim);
    font-size: 0.75rem;
}

.hc-input {
    background: var(--bg-input);
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-bright);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hc-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim);
}

.hc-input::placeholder {
    color: var(--text-dim);
}

/* --- Loading --- */
.hc-loading-card {
    text-align: center;
    padding: 3rem 2rem;
}

.hc-loading-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.hc-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(218, 165, 32, 0.35);
    animation: hcPulse 1.5s ease-in-out infinite;
}

@keyframes hcPulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.25; }
    100% { transform: scale(0.8); opacity: 0.7; }
}

.hc-pulse-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.hc-loading-title {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-bright);
}

.hc-loading-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* Pixel-art style progress bar: segmented blocks */
.hc-progress-bar {
    height: 10px;
    background: var(--border-light);
    border-radius: 5px;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto 2rem;
    border: 1px solid var(--border-soft);
}

.hc-progress-fill {
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--green) 0px,
        var(--green) 10px,
        var(--green-light) 10px,
        var(--green-light) 20px
    );
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.hc-loading-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 340px;
    margin: 0 auto;
}

.hc-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border-light);
}

.hc-check-item.done {
    color: var(--green);
    background: rgba(107, 142, 35, 0.08);
    border-color: rgba(107, 142, 35, 0.25);
}

.hc-check-item.done .hc-check-icon {
    animation: hcPopIn 0.3s ease;
}

@keyframes hcPopIn {
    0% { transform: scale(0.5); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hc-check-icon {
    font-size: 1.1rem;
    width: 1.4rem;
    text-align: center;
}

/* --- Score Card --- */
.hc-score-layout {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hc-score-gauge-wrap {
    flex-shrink: 0;
}

.hc-score-gauge {
    width: 180px;
    height: 180px;
}

.gauge-bg {
    fill: none;
    stroke: var(--border-light);
    stroke-width: 12;
}

.gauge-fill {
    fill: none;
    stroke: var(--green);
    stroke-width: 12;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1s ease, stroke 0.5s ease;
}

.gauge-value {
    font-size: 44px;
    font-weight: 800;
    fill: var(--text-bright);
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: var(--font-mono);
}

.gauge-label {
    font-size: 13px;
    fill: var(--text-muted);
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: var(--font-mono);
}

.hc-score-info {
    flex: 1;
    min-width: 250px;
}

.hc-score-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.04em;
}

.hc-score-grade {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hc-score-desc {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.hc-score-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hc-meta-value {
    font-weight: 700;
    color: var(--text-bright);
}

.hc-score-note {
    margin-top: 0.75rem;
    padding: 0.55rem 0.85rem;
    background: var(--warning-bg);
    border: 1px solid rgba(255, 152, 0, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: #E67E00;
    font-family: var(--font-mono);
}

/* --- Category Grid --- */
.hc-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hc-cat-card {
    background: var(--bg-card);
    border: 2px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.hc-cat-card:hover {
    box-shadow: var(--shadow-hover);
}

.hc-cat-card.status-pass {
    border-color: rgba(76, 175, 80, 0.4);
}

.hc-cat-card.status-warn {
    border-color: rgba(255, 152, 0, 0.4);
}

.hc-cat-card.status-fail {
    border-color: rgba(192, 57, 43, 0.4);
}

.hc-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.hc-cat-title {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-bright);
    letter-spacing: 0.03em;
}

.hc-cat-icon {
    font-size: 1.3rem;
}

.hc-cat-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

.badge-pass {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-warn {
    background: var(--warning-bg);
    color: #E67E00;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.badge-fail {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(192, 57, 43, 0.3);
}

.hc-cat-score {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-bright);
    font-family: var(--font-mono);
}

.hc-cat-findings {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hc-cat-findings li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.4;
}

.hc-cat-findings li:last-child {
    border-bottom: none;
}

.hc-finding-good { color: var(--success); }
.hc-finding-warn { color: #E67E00; }
.hc-finding-bad  { color: var(--danger); }

/* --- Recommendations --- */
.hc-section-title {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-bright);
    letter-spacing: 0.04em;
}

.hc-section-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hc-recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hc-rec-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--bg-input);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
}

.hc-rec-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border: 2px solid var(--brown-border);
    border-radius: var(--radius-sm);
}

.hc-rec-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-bright);
}

.hc-rec-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Lead Capture --- */
.hc-lead-card {
    background: linear-gradient(135deg, #FFFEF9 0%, #FDF5E6 100%);
    border: 2px solid var(--brown-border);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 2.5rem 2rem;
}

.hc-lead-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #3E2723;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.hc-lead-title {
    font-family: var(--font-mono);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    color: var(--text-bright);
}

.hc-lead-subtitle {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}

.hc-lead-subtitle strong {
    color: var(--accent);
}

.hc-lead-features {
    list-style: none;
    padding: 0;
    max-width: 450px;
    margin: 0 auto 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hc-lead-features li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 0.25rem;
}

.hc-lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(253, 251, 245, 0.8);
    padding: 1.8rem;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius);
}

.hc-lead-form-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-bright);
    letter-spacing: 0.04em;
}

.hc-lead-disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

/* --- Actions (run another) --- */
.hc-actions {
    text-align: center;
    margin-top: 0.5rem;
}

/* --- Error --- */
.hc-error-card {
    text-align: center;
    padding: 3rem 2rem;
}

.hc-error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hc-error-card h2 {
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
    color: var(--text-bright);
}

.hc-error-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
.hc-footer {
    border-top: 3px solid var(--brown-border);
    background: linear-gradient(180deg, #FFFEF9 0%, #FDF8EE 100%);
    padding: 1.5rem 1rem;
    text-align: center;
}

.hc-footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.hc-footer-brand {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.hc-footer-tagline {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* --- Toast --- */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 0.8rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    animation: toastSlideIn 0.3s ease;
    font-family: var(--font-mono);
    box-shadow: var(--shadow);
}

.toast.success {
    border-color: var(--success);
    color: var(--success);
    background: rgba(76, 175, 80, 0.08);
}

.toast.error {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(192, 57, 43, 0.05);
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* --- Print-only header --- */
.hc-print-header {
    display: none;
}

/* --- Print Styles --- */
@media print {
    .header,
    #hcFormSection,
    #hcLoadingSection,
    #hcErrorSection,
    .hc-lead-card,
    .hc-actions,
    .hc-footer,
    .toast-container {
        display: none !important;
    }

    body {
        background: #fff !important;
        background-image: none !important;
        color: #000 !important;
        font-size: 12px;
    }

    .hc-main {
        max-width: 100%;
        padding: 0;
    }

    .hc-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
        padding: 1rem;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hc-score-gauge-wrap {
        width: 120px;
    }

    .hc-score-gauge {
        width: 120px;
        height: 120px;
    }

    .gauge-bg { stroke: #eee; }
    .gauge-fill { stroke: var(--green); }
    .gauge-value { fill: #000; font-size: 28px; }
    .gauge-label { fill: #666; font-size: 10px; }
    .hc-score-grade { color: #000; }
    .hc-score-desc { color: #333; }
    .hc-score-meta { color: #555; }

    .hc-cat-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    .hc-cat-title { color: #000 !important; }
    .hc-cat-findings li { color: #333 !important; }
    .hc-cat-score { color: #000 !important; }

    .hc-rec-item {
        background: #f5f5f5 !important;
        border-color: #ddd !important;
    }

    .hc-rec-content h4 { color: #000 !important; }
    .hc-rec-content p { color: #333 !important; }

    .hc-print-header {
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 1rem;
        border-bottom: 2px solid var(--accent);
    }

    .hc-print-header h1 { font-size: 1.4rem; color: var(--accent); }
    .hc-print-header p { font-size: 0.85rem; color: #555; }
}

/* --- Responsive --- */
@media (max-width: 700px) {
    .hc-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hc-hero-title { font-size: 1.5rem; }
    .hc-hero-subtitle { font-size: 0.9rem; }
    .hc-form-grid { grid-template-columns: 1fr; }
    .hc-score-layout { flex-direction: column; gap: 1.5rem; }
    .hc-score-info { text-align: center; }
    .hc-lead-form { padding: 1.2rem; }
    .hc-lead-title { font-size: 1.35rem; }
    .hc-score-meta { justify-content: center; }
}