:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #172b24; background: #f1f5f2; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
main { width: calc(100% - 2rem); max-width: 48rem; margin: 2rem auto; padding: 2.5rem; background: #fff; border: 1px solid #d8e4dd; border-radius: 1rem; box-shadow: 0 .3rem 1.5rem #0149320a; }
h1 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif; font-size: clamp(2.4rem, 6vw, 3.5rem); font-weight: 400; line-height: 1.1; margin: .4rem 0 1rem; color: #014932; }
h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #37644e; margin: 0; }
header { margin-bottom: 1.8rem; }
fieldset { padding: 0; border: 0; min-width: 0; margin: 0; }
legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
label { display: block; font-size: .95rem; font-weight: 600; margin: 0 0 .4rem; }
input, select, button { font: inherit; max-width: 100%; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 3rem; padding: .65rem .75rem; border: 1px solid #7b8d83; border-radius: .4rem; background: white; color: inherit; }
select { padding-right: 1.5rem; text-overflow: ellipsis; }
#identifier { text-transform: uppercase; }
input[type=date] { display: block; appearance: none; }
.census { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid #d8e4dd; }
.help { color: #43594d; font-size: .9rem; line-height: 1.5; margin-top: .6rem; }
#islandFields, #islandField { margin-top: 1rem; }
.summary { background: #edf5ef; border-left: .25rem solid #014932; border-radius: .35rem; padding: 1.25rem; margin: 1.5rem 0; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; margin-top: .6rem; }
dt { font-size: .9rem; color: #43594d; }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.confirmation { display: flex; align-items: flex-start; gap: .75rem; font-weight: 400; cursor: pointer; padding: .4rem 0; }
.confirmation input { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: #014932; }
.signing-help { margin: 1.2rem 0; }
button { width: 100%; min-height: 3.25rem; padding: .85rem 1rem; border: 0; border-radius: .4rem; background: #014932; color: white; font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { background: #096241; }
button:disabled { background: #526d60; cursor: default; }
:focus-visible { outline: 3px solid #9b5813; outline-offset: 3px; }
#message:empty { display: none; }
#message { background: #fff4dd; color: #513800; border-left: .25rem solid #9b5813; padding: 1rem; border-radius: .35rem; overflow-wrap: anywhere; white-space: pre-line; }
.availability { margin: 0; padding: 1rem 0; text-align: center; font-size: 1.1rem; }
@media (max-width: 600px) {
  main { margin: 1rem auto; width: calc(100% - 1.5rem); padding: 1.25rem; border-radius: .7rem; }
  .fields-grid { grid-template-columns: minmax(0, 1fr); }
  dl > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; margin-top: .85rem; }
  .summary { padding: 1rem; }
}
