.first-year-form-grid,
.first-year-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.result-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.first-year-summary-grid > div {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--accent-soft);
}

.first-year-summary-grid span,
.next-acquisition span,
.next-year-note span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.first-year-summary-grid strong {
    display: block;
    font-size: 20px;
    line-height: 1.35;
}

.first-year-details {
    margin-top: 20px;
}

.first-year-details p {
    margin: 6px 0;
}

.next-acquisition,
.next-year-note {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.next-acquisition {
    background: var(--accent-soft);
}

.next-year-note {
    background: rgba(255, 255, 255, 0.8);
}

.next-acquisition strong {
    font-size: 20px;
}

.next-acquisition p,
.next-year-note p {
    margin: 6px 0 0;
}

.schedule-section {
    margin-top: 28px;
}

.schedule-table-wrapper {
    overflow-x: auto;
}

.first-year-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.first-year-schedule-table th,
.first-year-schedule-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.first-year-schedule-table th {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.first-year-schedule-table small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.status-pill {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-pill.acquired {
    background: var(--accent-soft);
    color: var(--accent);
}

.status-pill.planned {
    background: #eef0ef;
    color: var(--muted);
}

.result-footnote {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.only-print {
    display: none;
}

@media (max-width: 760px) {
    .first-year-form-grid,
    .first-year-summary-grid {
        grid-template-columns: 1fr;
    }

    .first-year-schedule-table {
        min-width: 720px;
    }
}

@media print {
    @page {
        size: A4;
        margin: 14mm;
    }

    .site-header,
    .site-footer,
    .back-link,
    .no-print {
        display: none !important;
    }

    .only-print {
        display: block;
    }

    body,
    .site-main,
    .card,
    .result-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: #ffffff;
        box-shadow: none;
    }

    .print-heading {
        margin-bottom: 18px;
        text-align: center;
    }

    .print-heading h1 {
        margin: 0 0 4px;
        font-size: 22px;
    }

    .print-heading p {
        margin: 0;
    }

    .first-year-summary-grid > div,
    .next-acquisition,
    .next-year-note {
        background: #ffffff;
    }

    .schedule-table-wrapper {
        overflow: visible;
    }

    .first-year-schedule-table {
        min-width: 0;
        font-size: 11px;
    }

    .first-year-schedule-table tr {
        break-inside: avoid;
    }
}