/**
 * Tool-specific styles for the mortgage calculator (calcolo-mutuo).
 *
 * Shared fiscal patterns (fc-section, fc-num, fc-msg) live in
 * fiscal_calculator.css; generic field/table/breakdown/hero-card live in
 * public.css. This file only adds the checkbox rows, the advanced
 * disclosure, the result sub-headings and the small estimate notes.
 */

/* ===== Checkbox rows (first home / green) ===== */
.mc-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.mc-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    flex: 1 1 280px;
    cursor: pointer;
}

.mc-check input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--c-blue, #0065c0);
    flex: 0 0 auto;
}

.mc-check-label {
    display: block;
    font-weight: 600;
    color: var(--c-ink, #0f172a);
    font-size: 0.95rem;
}

/* ===== Advanced disclosure ===== */
.mc-advanced {
    border: 1px solid var(--c-line, #e2e8f0);
    border-radius: var(--r-md, 10px);
    padding: 0.4rem 0.9rem;
    background: var(--c-bg, #f8fafc);
}

.mc-advanced > summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--c-ink-soft, #334155);
    padding: 0.4rem 0;
}

.mc-advanced[open] > summary {
    margin-bottom: 0.6rem;
}

/* ===== Result sub-headings ===== */
.mc-subhead {
    margin: 1.4rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-ink, #0f172a);
    padding-top: 0.9rem;
    border-top: 1px solid var(--c-line, #e2e8f0);
}

/* ===== Small estimate note under blocks ===== */
.mc-note {
    font-size: 0.82rem;
    color: var(--c-ink-mute, #64748b);
    margin: 0.5rem 0 0;
    line-height: 1.45;
}

@media print {
    .mc-advanced > summary { display: none; }
    .mc-checks { display: none; }
}
