* { box-sizing: border-box; }
:root { font-family: Inter, "Segoe UI", sans-serif; color: #13253a; background: #eff4f8; line-height: 1.5; }
body { margin: 0; }
.shell { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
header { background: #101e31; color: white; }
.top, .intro, .history-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 70px; }
.brand { display: flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-size: 1.2rem; font-weight: 650; }
.brand strong { color: #82e7d1; }
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; margin-right: .35rem; background: #82e7d1; color: #101e31; font-weight: 800; }
main { padding-block: 2rem 3rem; }
.intro { padding: clamp(1.2rem, 4vw, 2.6rem); background: radial-gradient(ellipse at 95% 0%, #13554f, transparent 72%), #101e31; color: white; border-radius: 1.15rem; }
.intro p { color: #d4e0ea; margin: .4rem 0 0; }
.intro .eyebrow { color: #9cf1df; font-weight: 750; letter-spacing: .13em; font-size: .875rem; }
h1, h2, h3 { line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -.05em; }
h2 { font-size: 1.4rem; margin-block: 1.65rem .8rem; }
h3 { font-size: 1.2rem; }
.parameter { background: #ffffff16; border: 1px solid #ffffff42; border-radius: .75rem; padding: .85rem; min-width: 10rem; }
.parameter span { color: #d4e0ea; }
.notice { color: #3e546a; font-size: .9rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; margin-block: 1.15rem; border: 1px solid #d7e2ec; border-radius: .85rem; background: #e2ebf2; }
.tabs button { flex: 1 1 auto; color: #29435a; background: transparent; }
.tabs button:hover { background: #f1f6fb; }
.tabs button[aria-selected="true"] { color: #fff; background: #086159; }
[role="tabpanel"][hidden] { display: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card, .history { background: #fff; border: 1px solid #d7e2ec; border-radius: 1rem; padding: clamp(1rem, 2.6vw, 1.5rem); box-shadow: 0 4px 16px #13305109; }
.card { display: flex; flex-direction: column; }
.xenon-module h2 { margin: 0 0 1rem; }
.xenon-module fieldset { min-width: 0; margin: 0 0 1rem; padding: 0; border: 0; }
.xenon-module legend { padding: 0; font-weight: 650; }
.xenon-module fieldset .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: .5rem 0 0; }
.xenon-module .card { background: #f8fafc; box-shadow: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block: 1rem; }
label { display: block; font-weight: 650; font-size: .875rem; }
label span, .helper, #empty { color: #4e6277; }
input, button { font: inherit; border-radius: .55rem; }
input { width: 100%; margin-top: .3rem; padding: .5rem .65rem; border: 1px solid #a8b9c9; background: #f8fafc; color: #13253a; min-height: 44px; }
button { border: 1px solid transparent; min-height: 44px; padding: .5rem .85rem; font-weight: 650; cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #10a799; outline-offset: 3px; }
.primary { align-self: flex-start; margin-top: auto; color: white; background: #086159; }
.primary:hover { background: #074e48; }
.secondary { color: #13253a; background: #f1f6fb; border-color: #bccddb; }
button:disabled { opacity: .65; cursor: default; }
.result { display: block; margin-top: .9rem; min-height: 4.9rem; border-radius: .65rem; padding: .75rem; background: #edf7f5; color: #18554e; }
.result strong { display: block; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.result.error { background: #fff1ee; color: #942716; }
.history { margin-top: 1.5rem; }
.history h2 { margin: 0; }
#records { padding-left: 1.5rem; margin-bottom: 0; }
#records li { padding: .6rem 0; border-top: 1px solid #d7e2ec; }
time { color: #4e6277; font-size: .875rem; }
#report { display: none; }
@media (max-width: 650px) { .grid { grid-template-columns: 1fr; } .intro { align-items: stretch; flex-direction: column; } }
@media (max-width: 350px) { .fields { grid-template-columns: 1fr; } .top, .history-head { flex-wrap: wrap; } }
@media print { :root { background: white; color: black; } header, main { display: none; } #report { display: block; } #report article { break-inside: avoid; margin-bottom: .8rem; } }
