.runtime-wrap { max-width: 48rem; margin: 0 auto; padding: 1rem; }
.runtime-wrap h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.16; }
.runtime-wrap h2 { font-size: 1.55rem; }
.runtime-wrap footer { border-top: 1px solid #d5e4e0; margin-top: 1.5rem; padding-top: 1rem; }
.runtime-card { padding: clamp(.8rem, 4vw, 1.4rem); border: 1px solid #b8d3ce; border-radius: .65rem; background: #f7fbfa; }
.runtime-card [hidden] { display: none !important; }
.runtime-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.runtime-card label { display: block; font-weight: 600; }
.runtime-card input, .runtime-card select { display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .45rem; border: 1px solid #638480; border-radius: .3rem; background: #fff; color: #172a27; font-size: 1.07rem; font-weight: normal; }
.runtime-card fieldset { min-width: 0; margin: 1rem 0; padding: .8rem; border: 1px solid #b8d3ce; }
.runtime-card legend, .runtime-card summary { font-weight: 600; }
.runtime-card summary { cursor: pointer; padding: .45rem 0; }
.runtime-card details .runtime-grid { margin-top: .55rem; }
.runtime-card button { min-height: 44px; border: 0; border-radius: .3rem; background: #00695c; color: white; padding: .5rem 1.25rem; cursor: pointer; }
.runtime-card :focus-visible { outline: 3px solid #00695c; outline-offset: 3px; }
.runtime-card [aria-invalid="true"] { border-color: #a01825; }
.runtime-hint { color: #394e4a; }
.runtime-error { color: #921624; }
.runtime-error:empty { margin: 0; }
#result:not(:empty) { margin-top: 1rem; padding: .85rem; border-left: .3rem solid #00695c; background: #e3f2ee; font-size: clamp(1.25rem, 4vw, 1.65rem); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 600px) { .runtime-grid { grid-template-columns: 1fr; } }
