.container {
    max-width: 700px;
    margin: 40px auto 40px auto;
    border-radius: 12px;
    padding: 24px;
}

h1 {
    color: #0071bc;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5em;
    letter-spacing: 0.05em;
    text-align: center;
}

h2 {
    color: #0071bc;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1em;
    letter-spacing: 0.03em;
}

label,
legend {
    font-weight: 500;
    margin-bottom: 0.2em;
    color: #333;
    display: block;
}

fieldset {
    border: none;
    margin: 0 0 1em 0;
    padding: 0;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 0.5em 0.7em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    background: #fafbfc;
    box-sizing: border-box;
}

input[type="checkbox"] {
    margin-right: 0.5em;
    accent-color: #0071bc;
}

button {
    background: #0071bc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7em 2em;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1em;
    transition: background 0.2s;
}

button:hover {
    background: #005fa3;
}

.estimate-sheet {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2em 1.5em;
    margin-top: 2em;
    background: #f7fafd;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.estimate-sheet h2 {
    margin-top: 0;
    color: #0071bc;
}

.estimate-sheet ul {
    margin: 1em 0 1.5em 0;
    padding-left: 1.5em;
}

.estimate-sheet h3 {
    color: #007700;
    font-size: 1.2em;
    margin-top: 1.5em;
}

.estimate-sheet-area {
    margin-bottom: 24px;
    font-size: clamp(14px, 2.9vw, 16px);
}

#estimateForm {
    font-size: clamp(14px, 2.9vw, 16px);
}

.btn-estimate {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 200px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
}

@media print {
    body * {
        visibility: hidden;
    }

    #estimateResult,
    #estimateResult * {
        visibility: visible;
    }

    #estimateResult {
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        background: #fff;
    }

    button {
        display: none;
    }
}