/* 만 나이 계산기 (/p/age-calculator/) 전용. 아이콘 제목·결과 패널·요약 카드는 webtools-design.css 의
   계산형 웹툴 공통(.wt-tool-heading·.wt-result-panel·.wt-summary)을 쓴다. 요소 선택자는 쓰지 않는다(특이도 함정). */
.agc-form { display: grid; gap: 24px; max-width: 760px; margin-inline: auto; }
.wt-shell .agc-fieldset { margin: 0; }
.wt-shell .agc-legend { margin-bottom: 10px; font-size: 16px; }
.agc-birth { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.agc-sub-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.agc-input { height: 54px; min-height: 54px; padding: 12px 14px; font-size: 17px; }
.agc-base { display: flex; flex-wrap: wrap; gap: 10px; }
.wt-design .agc-option { display: inline-flex; align-items: center; gap: 8px; margin-top: 0; padding: 12px 16px; font-weight: 700; color: var(--heading); }
.agc-custom { max-width: 320px; margin-top: 14px; }
.agc-actions { justify-content: center; margin: 0; }
.wt-design .agc-form .agc-actions > .wt-button { min-width: 220px; }
.agc-note { margin: 0; text-align: center; }
.agc-status { max-width: 760px; margin-inline: auto; }
.agc-status:not(:empty) { margin-top: 20px; }

.agc-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.agc-detail { min-width: 0; padding: 16px 18px; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--surface); }
.agc-detail :where(dt) { margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.agc-detail :where(dd) { margin: 0; color: var(--heading); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.agc-caption { padding: 14px 16px; caption-side: top; color: var(--heading); font-weight: 700; text-align: left; }

@media (max-width: 767px) {
    .agc-form { gap: 20px; }
    .agc-birth { grid-template-columns: 1fr 1fr; gap: 12px; }
    .agc-birth > .wt-field:first-child { grid-column: 1 / -1; }
    .agc-input { height: 52px; min-height: 52px; font-size: 16px; }
    .agc-custom { max-width: none; }
    .agc-actions > .wt-button { width: 100%; }
    .agc-details { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .agc-option { flex: 1 1 100%; }
}
