:root {
  font: 16px/1.5 "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #172940;
  background: #f4f8fc;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
.shell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  padding: 1rem clamp(1.5rem, 6vw, 5rem);
  border-bottom: 1px solid #dce7f2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  font-weight: 750;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 1rem;
  height: 1.45rem;
  position: relative;
  border: 2px solid #134c80;
  border-radius: .28rem;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: .52rem .19rem .21rem;
  border-radius: .1rem;
  background: #134c80;
}
.panel {
  width: min(calc(100% - 2rem), 30rem);
  margin: clamp(2rem, 10vh, 6rem) auto;
  padding: clamp(1.4rem, 5vw, 2.5rem);
  border: 1px solid #dce7f2;
  border-radius: 1rem;
  box-shadow: 0 14px 34px #244d7110;
  background: #fff;
}
h1 { font-size: clamp(1.72rem, 6vw, 2.25rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 .65rem; }
p { margin: .65rem 0 1.25rem; color: #41576c; }
p:last-child { margin-bottom: 0; }
form { margin: 0; }
label, legend { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 700; }
input, button { font: inherit; }
input:not([type="radio"]) {
  width: 100%;
  padding: .75rem .8rem;
  border: 1px solid #8198ad;
  border-radius: .5rem;
  color: inherit;
}
button {
  margin: 1rem 0 0;
  padding: .65rem 1rem;
  min-height: 44px;
  border-radius: .5rem;
  border: 1px solid #104a80;
  background: #104a80;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #0b3760; }
button.secondary, button.text-button { background: #fff; color: #104a80; }
button.text-button { padding: .4rem 0; background: transparent; border-color: transparent; text-decoration: underline; }
.shell-header button { margin: 0; }
button.danger { background: #921d31; border-color: #921d31; }
button.danger-outline { background: #fff; color: #921d31; border-color: #d9a3ac; }
button.danger-outline:hover { background: #fff4f5; }
a { color: #104a80; text-underline-offset: .15em; }
:focus-visible { outline: 3px solid #1b79c4; outline-offset: 3px; }
fieldset { padding: 0; border: 0; margin: 1rem 0 0; min-width: 0; }
.area { display: flex; gap: .6rem; align-items: end; }
.area input { max-width: 8rem; }
.choice { display: flex; gap: .7rem; align-items: center; padding: .65rem; border: 1px solid #dce7f2; border-radius: .5rem; }
.choice:has(input:checked) { border-color: #104a80; background: #eff7ff; }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: #104a80; }
.notice { background: #ecf5ff; color: #254c72; padding: .75rem .85rem; border-radius: .5rem; margin: 1rem 0; }
.line-card { padding: 1rem; border-radius: .65rem; background: #eff7ff; margin-top: 1rem; }
.status { font-size: .86rem; font-weight: 700; color: #16563e; }
.number { font-size: 1.45rem; letter-spacing: -.025em; font-weight: 750; margin: .25rem 0; }
