.micro-calc { padding: clamp(32px,5vw,64px) 0; border-bottom: 1px solid var(--line); }
.micro-calc h2 { margin: 0 0 8px; font-size: clamp(28px,3.1vw,42px); }
.micro-calc .mc-intro { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }
.mc-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mc-controls, .mc-results { padding: clamp(20px,3vw,36px); }
.mc-controls { display: grid; gap: 16px; background: var(--paper); }
.mc-controls[hidden] { display: none; }
.mc-panel:has(.mc-controls[hidden]) { grid-template-columns: 1fr; }
.mc-options { display: flex; gap: 14px 24px; flex-wrap: wrap; }
.mc-controls fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.mc-controls legend, .mc-input-label { padding: 0; margin: 0 0 6px; display: block; font-weight: 650; }
.mc-input-wrap { display: flex; align-items: center; gap: 8px; }
.mc-input-wrap input { min-height: 44px; width: 8em; max-width: 65%; padding: 6px 12px; border: 1px solid #8495a9; border-radius: 5px; background: #fff; color: var(--ink); }
.mc-input-wrap input[aria-invalid="true"] { border-color: #a52525; }
.mc-hint { margin: 5px 0 0; font-size: .875rem; color: #526174; }
.mc-choice { display: inline-flex; gap: 3px; padding: 3px; background: white; border: 1px solid #9aaabc; border-radius: 7px; }
.mc-choice label { position: relative; cursor: pointer; }
.mc-choice input, .mc-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mc-choice span { display: block; padding: 8px 12px; border-radius: 4px; line-height: 1.5; }
.mc-choice input:checked + span { background: var(--navy); color: #fff; }
.mc-choice input:focus-visible + span { outline: 3px solid #427cff; outline-offset: 1px; }
.mc-results { display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #fff; }
.mc-results h3 { color: inherit; font-size: 1.2rem; margin-bottom: 2px; }
.mc-results [data-scenario] { font-size: .94rem; margin: 0 0 20px; color: #c5d6e9; }
.mc-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; }
.mc-values > div + div { padding-left: 16px; border-left: 1px solid #506178; }
.mc-values dt { font-weight: 700; line-height: 1.3; }
.mc-values dt span, .mc-values dd small { display: block; color: #c5d6e9; font-weight: 400; font-size: .875rem; }
.mc-values dd { margin: 8px 0 0; line-height: 1.35; }
.mc-values dd strong { display: block; font-size: clamp(22px,2.8vw,39px); letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mc-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.mc-note a { color: var(--blue); text-decoration: underline; }
@media (max-width: 780px) { .mc-panel { grid-template-columns: 1fr; } }
@media (max-width: 430px) { .mc-options { gap: 12px; } .mc-choice span { padding: 8px 10px; } }
@media (forced-colors: active) { .mc-choice input:checked + span { outline: 2px solid Highlight; } }
