:root { color-scheme: light; color: #17212b; background: #f4f7fa; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1100px, calc(100% - 2rem)); margin: 2.5rem auto 4rem; }
h1, h2 { line-height: 1.17; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); letter-spacing: -.02em; }
p { margin: .7rem 0 1rem; }
.brand { color: #24597d; font-weight: 700; }
nav, .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
nav { margin: 1.5rem 0; }
nav a, button { font: inherit; font-weight: 650; color: #164769; background: #f6fbff; border: 1px solid #a8c3d7; border-radius: .55rem; padding: .52rem .8rem; text-decoration: none; cursor: pointer; }
nav a:hover, button:hover { background: #e5f3fc; }
button:disabled { opacity: .55; cursor: default; }
section { background: #fff; border: 1px solid #d4dfe8; border-radius: .85rem; padding: clamp(1rem, 3vw, 1.75rem); margin: 1.1rem 0; }
form, .results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; }
label { display: flex; flex-direction: column; justify-content: space-between; gap: .35rem; font-weight: 600; }
input { width: 100%; background: #fff; border: 1px solid #a5b9c9; border-radius: .4rem; color: inherit; font: inherit; padding: .53rem .65rem; }
input[aria-invalid="true"] { border-color: #ae382e; }
:focus-visible { outline: 3px solid #2080b6; outline-offset: 2px; }
.results { margin: 1rem 0; }
.result { background: #eaf4fc; border-radius: .5rem; padding: .65rem .8rem; }
.result strong { display: block; font-size: 1.24rem; overflow-wrap: anywhere; }
.status { margin-top: .75rem; padding: .65rem .8rem; background: #fff3d9; border-left: 4px solid #a47014; }
.error { background: #fff0ed; border-color: #ae382e; }
.stage-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: .45rem .65rem; border-bottom: 1px solid #d4dfe8; }
details { margin-top: 1.15rem; border-top: 1px solid #d4dfe8; padding-top: .65rem; }
summary { font-weight: 650; cursor: pointer; color: #164769; }
a { color: #165785; }
