:root {color-scheme: light; color: #182731; background: #f4f7f7; font: 15px/1.5 system-ui, sans-serif;}
* {box-sizing: border-box;}
[hidden] {display: none !important;}
body {margin: 0;}
main {width: min(100%, 840px); margin: 0 auto; padding: 1.2rem;}
main[data-embedded] {padding: .85rem;}
header {margin: 0 0 1rem;}
h1 {margin: 0; font-size: clamp(1.55rem, 4.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em;}
h2 {margin: 0; font-size: 1.3rem; line-height: 1.2;}
p {margin: .4rem 0 .75rem;}
.panel {margin: 0 0 .85rem; padding: 1rem; border: 1px solid #c9d9d9; border-radius: 12px; background: white;}
label {display: block; margin-bottom: .33rem; font-weight: 630;}
.input-row, .sample-row, .report-head {display: flex; align-items: start; gap: .65rem;}
.input-row input {flex: 1 1 15rem;}
.report-head {justify-content: space-between;}
.sample-row {margin-top: .55rem; flex-wrap: wrap; align-items: center;}
input, select, button {min-width: 0; padding: .54rem .7rem; font: inherit; border: 1px solid #638082; border-radius: 7px;}
input, select {background: #fff; color: #182731;}
button {background: #125254; border-color: #125254; color: #fff; cursor: pointer; font-weight: 650;}
button.secondary {color: #13484a; background: #edf7f7; border-color: #91acac;}
button:disabled {cursor: default; opacity: .56;}
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {outline: 2px solid #175875; outline-offset: 2px;}
.hint {font-size: .9rem; color: #42575c;}
details summary {cursor: pointer; width: fit-content; color: #155557; font-weight: 620;}
#notice:not(:empty) {margin: .8rem 0 0; font-weight: 620;}
#report[data-flag='true'] {border-left: 4px solid #9b4b29;}
#sources {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; list-style: none; margin: 0; padding: 0;}
#sources li {padding: .62rem .76rem; border: 1px solid #d4dfdf; border-radius: 7px;}
#sources p {margin: .25rem 0; overflow-wrap: anywhere;}
a {color: #0b545d; text-underline-offset: 2px;}
footer {display: flex; flex-wrap: wrap; gap: .8rem; font-size: .85rem;}
@media(max-width: 490px) {.input-row, .report-head {flex-direction: column; align-items: stretch;} .input-row input {flex: 0 0 auto;} #sources {grid-template-columns: 1fr;}}
