:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #172733; background: #f6f9fa; }
* { box-sizing: border-box; }
main { max-width: 50rem; margin: auto; padding: clamp(1rem, 4vw, 2rem); }
h1, h2 { line-height: 1.18; margin: 0 0 .55rem; }
h1 { font-size: clamp(1.65rem, 5vw, 2.35rem); }
h2 { font-size: 1.2rem; }
p { margin: 0 0 .8rem; }
.panel { background: #fff; border: 1px solid #cbdce2; border-radius: 11px; padding: 1rem; margin: .7rem 0; }
label { display: block; font-weight: 620; }
input, select, textarea, button { font: inherit; }
input[type=text], select, textarea { display: block; color: inherit; border: 1px solid #75909a; border-radius: 6px; padding: .45rem; margin: .3rem 0 .8rem; }
input[type=text], textarea { width: 100%; }
textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .55rem; margin: .75rem 0 .3rem; font-weight: 500; }
.consent input { flex-shrink: 0; margin-top: .34rem; }
.links, footer { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .875rem; }
.links, form { margin-bottom: .8rem; }
footer { margin-top: 1rem; }
figure { margin: .65rem 0; }
figure img { display: block; max-width: 100%; max-height: 250px; }
figcaption { color: #425e6b; font-size: .875rem; }
a { color: #095669; text-underline-offset: .16em; }
button { border: 1px solid #17586a; border-radius: 7px; background: #17586a; color: white; padding: .45rem .82rem; cursor: pointer; }
button:disabled { background: #516873; border-color: #516873; cursor: default; }
:focus-visible { outline: 3px solid #a05021; outline-offset: 3px; }
small, .hint { color: #425e6b; font-size: .875rem; }
.scroll { overflow-x: auto; margin-bottom: .75rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .43rem; border-bottom: 1px solid #dfebee; vertical-align: top; overflow-wrap: anywhere; }
th { background: #ecf5f7; }
td:first-child, th:first-child { min-width: 3.8rem; }
td:last-child, th:last-child { min-width: 5.7rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: .6rem; }
.photo-grid, .bounds, .choices { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: .55rem 0; }
.photo-grid label { flex: 1 1 14rem; min-width: 0; }
input[type=file], select { max-width: 100%; }
input[type=file] { display: block; margin-top: .3rem; }
.bounds input { display: block; width: 5rem; }
.picker { margin: .75rem 0; }
#selection { width: min(100%, 26rem); height: auto; touch-action: none; cursor: crosshair; }
#preview { display: block; width: min(100%, 24rem); height: auto; }
.secondary { color: #17586a; background: white; }

