:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #182536;
  background: #f4f7fa;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #112840; color: white; border-bottom: 4px solid #37b9a0; }
.bar, main { width: min(100% - 2rem, 62rem); margin: auto; }
.bar { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: 1.4rem; font-weight: 750; letter-spacing: -.035em; }
.mode { font-size: .875rem; color: #dbeaf4; }
main { padding: 2rem 0 4rem; }
h1, h2, h3, p { margin: 0 0 .75rem; }
h1 { font-size: clamp(1.85rem, 5vw, 2.8rem); letter-spacing: -.04em; line-height: 1.1; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
.card { min-width: 0; background: white; border: 1px solid #d7e1eb; border-radius: 14px; padding: clamp(1rem, 4vw, 1.6rem); margin: 0 0 1rem; }
.login { max-width: 34rem; margin: 2rem auto; }
.muted { color: #4c6174; }
.eyebrow { color: #215d55; font-size: .9rem; font-weight: 700; }
.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.between { justify-content: space-between; }
form { display: grid; gap: .8rem; margin-bottom: .65rem; }
label { display: grid; gap: .3rem; font-weight: 650; }
input, select, button { font: inherit; min-height: 44px; border-radius: 8px; }
input, select { width: 100%; padding: .55rem .65rem; border: 1px solid #8092a3; color: inherit; background: white; }
button { color: white; background: #12685e; border: 1px solid transparent; padding: .45rem .9rem; cursor: pointer; font-weight: 650; }
button:hover { background: #0a5048; }
button.secondary { color: #16384d; background: #edf4f8; border-color: #c5d4e1; }
button.secondary:hover { background: #dceaf4; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #185cc0; outline-offset: 3px; }
ul { padding: 0; list-style: none; margin: 0; }
li { overflow-wrap: anywhere; padding: .7rem 0; border-top: 1px solid #d7e1eb; }
#notice:not(:empty) { background: #e6f4ef; border: 1px solid #a9cbc0; padding: .7rem 1rem; border-radius: 9px; margin-bottom: 1rem; overflow-wrap: anywhere; }
#notice[data-error=true] { background: #fff1ed; border-color: #d7a197; }
details { margin-top: .8rem; }
summary { cursor: pointer; font-weight: 650; }
details[open] summary { margin-bottom: .8rem; }
@media (max-width: 44rem) {
  .columns { grid-template-columns: 1fr; gap: 0; }
  main { padding-top: 1.2rem; }
}
