/* ═══════════════════════════════════════
   WARMTEPOMP CALCULATOR — FULL PAGE
   Dedicated styles for Step 2b
   ═══════════════════════════════════════ */

/* ── Type Selector (Woningtype + Daktype) ── */
.wpc-type-selector {
    display: grid;
    gap: 0.5rem;
}
.wpc-type-selector.woning-types { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.wpc-type-selector.dak-types { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

.wpc-type-card {
    position: relative;
    cursor: pointer;
}
.wpc-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.wpc-type-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.65rem 0.4rem;
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    gap: 0.3rem;
}
.wpc-type-card-inner:hover {
    border-color: rgba(0, 170, 255, 0.3);
    background: rgba(0, 170, 255, 0.03);
}
.wpc-type-card input:checked + .wpc-type-card-inner {
    border-color: var(--electric);
    background: rgba(0, 170, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.15);
}
.wpc-type-icon {
    width: 52px;
    height: 36px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s;
}
.wpc-type-card input:checked + .wpc-type-card-inner .wpc-type-icon {
    stroke: var(--electric);
}
.wpc-type-card-inner span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: color 0.2s;
}
.wpc-type-card input:checked + .wpc-type-card-inner span {
    color: var(--electric);
}

/* ── Section Cards ── */
.wpc-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
}
.wpc-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}
.wpc-section-title svg { width: 18px; height: 18px; color: var(--electric); }
.wpc-section-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* ── Floor Grid ── */
.wpc-floor-grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}
.wpc-floor-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
}
.wpc-floor-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 110px;
}
.wpc-floor-field {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}
.wpc-floor-field label {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.5;
}
.wpc-floor-field input,
.wpc-input {
    padding: 0.35rem 0.5rem;
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: border-color 0.2s;
}
.wpc-floor-field input:focus, .wpc-input:focus, .wpc-select:focus {
    outline: none;
    border-color: var(--electric);
}

/* ── Dimensions Row ── */
.wpc-dim-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.wpc-dim-row .wpc-dim-x {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 0.3rem;
}
.wpc-dim-field { flex: 1; }
.wpc-dim-field label {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

/* ── Select (global for this page) ── */
.wpc-select {
    padding: 0.4rem 0.5rem;
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    width: 100%;
}

/* ── Info Bar ── */
.wpc-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 170, 255, 0.04);
    border: 1px solid rgba(0, 170, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}
.wpc-info-bar .info-label { color: var(--text-muted); }
.wpc-info-bar .info-value { color: var(--electric); font-weight: 600; }
.wpc-info-bar .info-sep { color: rgba(255,255,255,0.15); }

/* ── Isolatie Grid ── */
.wpc-iso-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.wpc-iso-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.wpc-iso-item label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.wpc-iso-item label .rc-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--electric);
    background: rgba(0, 170, 255, 0.1);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}
.wpc-iso-item .opp-hint {
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 0.15rem;
}

/* ── Nok Toggle ── */
.wpc-nok-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.wpc-nok-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}
.wpc-nok-btn:hover { border-color: var(--electric); color: var(--electric); }
.wpc-nok-btn.active { border-color: var(--electric); color: var(--electric); background: rgba(0, 170, 255, 0.1); }
.wpc-nok-btn svg { width: 16px; height: 16px; }
.wpc-nok-info { font-size: 0.72rem; color: var(--text-muted); }

/* ── Angle Slider Row ── */
.wpc-angle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.wpc-angle-row label { min-width: 70px; font-size: 0.78rem; color: var(--text-muted); }
.wpc-angle-row input[type="range"] { flex: 1; }
.wpc-angle-val { font-weight: 700; color: var(--electric); min-width: 35px; font-size: 0.9rem; }

/* ── Afgifte System (full version with SVG icons) ── */
.wpc-afgifte-floor {
    margin-bottom: 0.5rem;
}
.wpc-afgifte-floor-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.wpc-afgifte-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}
.wpc-afgifte-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.25rem 0.35rem;
    border: 1.5px solid var(--card-border);
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.wpc-afgifte-toggle:hover { border-color: rgba(0, 170, 255, 0.3); }
.wpc-afgifte-toggle.selected {
    border-color: var(--electric);
    background: rgba(0, 170, 255, 0.1);
}
.wpc-afgifte-toggle .afg-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}
.wpc-afgifte-toggle .afg-icon svg {
    width: 28px; height: 28px;
    stroke: var(--text-muted); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke 0.2s;
}
.wpc-afgifte-toggle.selected .afg-icon svg { stroke: var(--electric); }
.wpc-afgifte-toggle .afg-label { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-align: center; }
.wpc-afgifte-toggle.selected .afg-label { color: var(--electric); }
.wpc-afgifte-toggle .afg-temp {
    font-size: 0.58rem; font-weight: 600;
    padding: 0.05rem 0.3rem; border-radius: 3px;
    line-height: 1.3;
}
.wpc-afgifte-toggle .afg-temp-ht { color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.wpc-afgifte-toggle .afg-temp-mt { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.wpc-afgifte-toggle .afg-temp-lt { color: #22c55e; background: rgba(34, 197, 94, 0.1); }
.wpc-afgifte-toggle .afg-check {
    position: absolute; top: 3px; right: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--electric);
    display: none;
    align-items: center; justify-content: center;
}
.wpc-afgifte-toggle.selected .afg-check { display: flex; }
.wpc-afgifte-toggle .afg-check svg { width: 10px; height: 10px; stroke: white; fill: none; stroke-width: 2.5; }
.wpc-afgifte-summary {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    padding: 0.25rem 0.5rem;
}

/* ── Ketel / Warmwater Cards ── */
.wpc-ketel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
}
.wpc-ketel-card {
    position: relative;
    cursor: pointer;
}
.wpc-ketel-card input { position: absolute; opacity: 0; pointer-events: none; }
.wpc-ketel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.3rem;
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    gap: 0.25rem;
}
.wpc-ketel-inner:hover { border-color: rgba(0, 170, 255, 0.3); }
.wpc-ketel-card input:checked + .wpc-ketel-inner {
    border-color: var(--electric);
    background: rgba(0, 170, 255, 0.1);
}
.wpc-ketel-icon {
    width: 36px; height: 36px;
    stroke: var(--text-muted); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.wpc-ketel-card input:checked + .wpc-ketel-inner .wpc-ketel-icon { stroke: var(--electric); }
.wpc-ketel-inner span { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); text-align: center; }
.wpc-ketel-inner span:first-of-type { font-weight: 600; }
.wpc-ketel-card input:checked + .wpc-ketel-inner span { color: var(--electric); }

/* ── Toggle Row ── */
.wpc-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}
.wpc-toggle-label { font-size: 0.82rem; color: var(--text-muted); }

/* ── Result Hero ── */
.wpc-result-hero {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}
.wpc-result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0;
}
.wpc-result-item + .wpc-result-item {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.wpc-result-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wpc-result-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--electric);
    font-family: 'Outfit', sans-serif;
}
.wpc-result-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}
.wpc-system-badge {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--electric);
    background: rgba(0, 170, 255, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 170, 255, 0.12);
}

/* ── Drawing Modal ── */
.wpc-drawing-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.wpc-drawing-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}
.wpc-drawing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.wpc-drawing-header h3 {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}
.wpc-drawing-close {
    background: none; border: none; color: var(--text-muted);
    font-size: 1.5rem; cursor: pointer; padding: 0.25rem;
}
.wpc-drawing-close:hover { color: var(--electric); }
.wpc-drawing-views {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.wpc-drawing-view h4 {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.wpc-svg-wrap {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    min-height: 200px;
}
.wpc-svg-wrap svg {
    width: 100%;
    height: auto;
}

/* ── Btn Row ── */
.wpc-btn-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.wpc-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.wpc-btn:hover { border-color: var(--electric); color: var(--electric); }
.wpc-btn svg { width: 16px; height: 16px; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .wpc-type-selector.woning-types { grid-template-columns: repeat(2, 1fr); }
    .wpc-type-selector.dak-types { grid-template-columns: repeat(3, 1fr); }
    .wpc-iso-grid { grid-template-columns: 1fr; }
    .wpc-afgifte-grid { grid-template-columns: repeat(2, 1fr); }
    .wpc-result-hero { grid-template-columns: repeat(2, 1fr); }
    .wpc-result-item + .wpc-result-item { border-left: none; }
    .wpc-floor-row { flex-wrap: wrap; }
    .wpc-floor-name { min-width: 100%; margin-bottom: 0.2rem; }
    .wpc-drawing-views { grid-template-columns: 1fr; }
    .wpc-dim-row { flex-wrap: wrap; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Validation / Sanity Check ── */
.wpc-val-score-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}
.wpc-val-score-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease, background 0.3s ease;
}
.wpc-val-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1.4;
}
.wpc-val-item.ok { background: rgba(34, 197, 94, 0.06); color: #22c55e; }
.wpc-val-item.fout { background: rgba(239, 68, 68, 0.08); color: #ef4444; }
.wpc-val-item.warn { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.wpc-val-item.info { background: rgba(0, 170, 255, 0.06); color: var(--electric); }
.wpc-val-item span:last-child { color: var(--text-primary); }
.wpc-val-icon { flex-shrink: 0; font-size: 0.85rem; }

.wpc-val-gas-step {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    margin-bottom: 0.2rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
}
.wpc-val-gas-step-nr {
    font-weight: 700;
    color: var(--electric);
    min-width: 42px;
}
.wpc-val-gas-step-title {
    font-weight: 600;
    color: var(--text-muted);
}
.wpc-val-gas-step-desc {
    width: 100%;
    color: var(--text-primary);
    padding-left: 42px;
    font-size: 0.72rem;
    opacity: 0.8;
}

/* ── Building Drawing Buttons ── */
.wpc-drawing-btns {
    display: flex; gap: 0.6rem; margin-top: 0.75rem; flex-wrap: wrap;
}
.wpc-drawing-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1.1rem; border-radius: var(--radius-sm);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    border: 1.5px solid; transition: all 0.2s;
}
.wpc-drawing-btn.primary {
    background: var(--electric); color: #fff; border-color: var(--electric);
}
.wpc-drawing-btn.primary:hover { background: #009eff; box-shadow: 0 0 10px rgba(0,170,255,0.3); }
.wpc-drawing-btn.secondary {
    background: transparent; color: var(--text-primary); border-color: var(--card-border);
}
.wpc-drawing-btn.secondary:hover { border-color: var(--electric); color: var(--electric); }

/* ── Export Dropdown ── */
.wpc-export-menu {
    position: absolute; bottom: 100%; left: 0; margin-bottom: 6px;
    background: var(--card-bg, #1a1f2e); border: 1px solid var(--card-border);
    border-radius: var(--radius-sm); min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all 0.2s ease; z-index: 100;
}
.wpc-export-menu.open {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.wpc-export-option {
    display: flex; align-items: center; gap: 0.5rem; width: 100%;
    padding: 0.55rem 0.85rem; border: none; background: transparent;
    color: var(--text-primary); font-size: 0.8rem; cursor: pointer;
    transition: all 0.15s; text-align: left;
}
.wpc-export-option:hover {
    background: rgba(0,170,255,0.1); color: var(--electric);
}
.wpc-export-option:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.wpc-export-option:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.wpc-export-option + .wpc-export-option { border-top: 1px solid rgba(255,255,255,0.05); }

/* ── Modal Overlay ── */
.wpc-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.75); z-index: 9999;
    display: none; align-items: flex-start; justify-content: center;
    padding: 2rem; overflow-y: auto;
}
.wpc-modal-overlay.active { display: flex; }
.wpc-modal {
    background: var(--card-bg, #1a1f2e); border: 1px solid var(--card-border);
    border-radius: var(--radius-md); max-width: 950px; width: 100%;
    padding: 1.5rem; color: var(--text-primary); position: relative;
}
.wpc-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--card-border);
}
.wpc-modal-title { font-size: 1.1rem; font-weight: 700; }
.wpc-modal-close {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all 0.2s;
}
.wpc-modal-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ── Tekening (Cross-section) ── */
.wpc-tekening-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .wpc-tekening-grid { grid-template-columns: 1fr; } }
.wpc-tekening-view { text-align: center; }
.wpc-tekening-label {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.5rem;
}
.wpc-tekening-view svg { width: 100%; height: auto; }

/* ── Afmetingen (Shell areas) ── */
.afm-summary {
    display: flex; gap: 1rem; padding: 0.8rem; flex-wrap: wrap;
    background: rgba(0,170,255,0.06); border-radius: var(--radius-sm);
    border: 1px solid rgba(0,170,255,0.15); margin-bottom: 0.75rem;
}
.afm-summary-item { flex: 1; min-width: 100px; }
.afm-summary-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.afm-summary-value { font-size: 1rem; font-weight: 700; color: var(--electric); }

.afm-legend { display: flex; gap: 1.2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.afm-legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-muted); }
.afm-legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-buiten { background: #8899aa; }
.dot-buren { background: #c06bc0; }
.dot-grond { background: #5ac05a; }
.dot-dak { background: #00aaff; }

.afm-section {
    border-radius: var(--radius-sm); padding: 0.8rem;
    margin-bottom: 0.6rem; border-left: 3px solid;
    background: rgba(0,0,0,0.15);
}
.afm-buiten { border-color: #8899aa; }
.afm-buren { border-color: #c06bc0; }
.afm-dak { border-color: #00aaff; }
.afm-grond { border-color: #5ac05a; }
.afm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.afm-title { font-size: 0.9rem; font-weight: 700; }
.afm-badge {
    font-size: 0.68rem; padding: 0.2rem 0.6rem; border-radius: 10px; font-weight: 600;
}
.afm-badge-buiten { background: rgba(136,153,170,0.15); color: #aab8c8; border: 1px solid rgba(136,153,170,0.3); }
.afm-badge-buren { background: rgba(192,107,192,0.15); color: #d0a0d0; border: 1px solid rgba(192,107,192,0.3); }
.afm-badge-dak { background: rgba(0,170,255,0.15); color: #00aaff; border: 1px solid rgba(0,170,255,0.3); }
.afm-badge-grond { background: rgba(90,192,90,0.15); color: #5ac05a; border: 1px solid rgba(90,192,90,0.3); }

.afm-details { margin-bottom: 0.5rem; }
.afm-detail-row { display: flex; justify-content: space-between; padding: 0.2rem 0; font-size: 0.8rem; }
.afm-detail-label { color: var(--text-muted); }
.afm-detail-value { font-weight: 600; }
.afm-result {
    display: flex; justify-content: space-between; align-items: flex-end;
    padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.afm-result-label { font-size: 0.78rem; font-weight: 600; margin-bottom: 0.15rem; }
.afm-calc { font-size: 0.72rem; color: var(--text-muted); font-style: italic; }
.afm-result-value { font-size: 1.3rem; font-weight: 700; color: var(--electric); }
