:is(.retirement-page, .hourly-page) .container { box-sizing: border-box; width: calc(100% - 32px); }
:is(.retirement-page, .hourly-page) h1 { font-size: 26px; line-height: 1.45; overflow-wrap: anywhere; }
:is(.retirement-page, .hourly-page) h2 { text-align: left; font-size: 20px; }
:is(.retirement-page, .hourly-page) p { line-height: 1.7; }
:is(.retirement-page, .hourly-page) .card:hover { transform: none; }
:is(.retirement-page, .hourly-page) .field { margin-bottom: 20px; min-width: 0; }
:is(.retirement-page, .hourly-page) label { margin: 0 0 8px; font-weight: bold; }
:is(.retirement-page, .hourly-page) input { display: block; box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: 12px; border: 1px solid #bbb; border-radius: 5px; }
:is(.retirement-page, .hourly-page) input:focus-visible, :is(.retirement-page, .hourly-page) .btn:focus-visible, :is(.retirement-page, .hourly-page) .menu-toggle:focus-visible { outline: 3px solid #0056b3; outline-offset: 3px; }
:is(.retirement-page, .hourly-page) input[aria-invalid="true"] { border-color: #b42318; }
:is(.retirement-page, .hourly-page) .hint { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: #555; }
:is(.retirement-page, .hourly-page) .error { color: #b42318; }
:is(.retirement-page, .hourly-page) .btn { box-sizing: border-box; width: 100%; min-height: 48px; padding: 14px 18px; text-decoration: none; }
:is(.retirement-page, .hourly-page) .menu-toggle { width: 100%; border: 0; text-align: left; font-family: inherit; min-height: 48px; }
:is(.retirement-page, .hourly-page) .result-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
:is(.retirement-page, .hourly-page) .result { margin: 0; padding: 16px; color: #333; overflow-wrap: anywhere; }
:is(.retirement-page, .hourly-page) .result dt { font-size: 14px; font-weight: normal; margin-bottom: 8px; }
:is(.retirement-page, .hourly-page) .result dd { margin: 0; font-size: 24px; font-weight: bold; }
:is(.retirement-page, .hourly-page) .result .pay-amount { color: #007BFF; font-size: 32px; }
:is(.retirement-page, .hourly-page) .notice { background: #f1f7ff; border-radius: 5px; padding: 14px; }
:is(.retirement-page, .hourly-page) .notice.warning { background: #fff5e6; color: #854d0e; }
:is(.retirement-page, .hourly-page) .calculation-detail { font-size: 14px; color: #555; overflow-wrap: anywhere; }
@media (min-width: 600px) {
    :is(.retirement-page, .hourly-page) .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.retirement-page, .hourly-page) .pay-result { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
    :is(.retirement-page, .hourly-page) h1 { font-size: 23px; }
    :is(.retirement-page, .hourly-page) .container { padding: 15px; }
}

/* 시급 계산기의 입력과 FAQ. 퇴직금 계산기의 결과 카드 규격을 그대로 사용합니다. */
.hourly-page h1 { font-size: 28px; }
.hourly-page select { display: block; width: 100%; min-height: 48px; }
.hourly-page input[type="text"] { font-size: 16px; }
.hourly-page .result dd { font-size: clamp(20px, 4vw, 24px); white-space: nowrap; overflow-wrap: normal; }
.hourly-page .result .pay-amount { font-size: clamp(20px, 4vw, 28px); }
.hourly-page .result dt { line-height: 1.5; }
.hourly-page .hourly-faq details { border-top: 1px solid #dce5ef; }
.hourly-page .hourly-faq summary { min-height: 48px; padding: 14px 0; cursor: pointer; font-weight: 600; }
.hourly-page .hourly-faq summary:focus-visible { outline: 3px solid #0056b3; outline-offset: 3px; }
.hourly-page .hourly-links { display: grid; gap: 12px; }
.hourly-page .hourly-links .btn { margin-top: 0; }
.hourly-page .hourly-links .btn:last-child { color: #0056b3; background: #edf5ff; }
.hourly-page .notice.warning { border: 1px solid #e5b269; }

/* 실수령액의 핵심 금액은 기존 공제 카드보다 크게 표시합니다. */
.net-salary-page #net-monthly { font-size: clamp(26px, 5vw, 32px); }
.net-salary-page #net-annual { font-size: clamp(22px, 4vw, 28px); }
