:root {
  font: 16px/1.53 "Segoe UI", "Helvetica Neue", sans-serif;
  background: #edf2f7;
  color: #17283b;
  --navy: #112840;
  --blue: #164a80;
  --muted: #465e73;
  --border: #cfdce8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(990px, calc(100% - 44px)); margin-inline: auto; }
header { background: var(--navy); color: white; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 67px; }
h1 { margin: 48px 0 25px; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.05em; }
h2 { font-size: 1.25rem; margin: 0 0 12px; }
p { color: var(--muted); margin: 6px 0 12px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.card, .guide { border-radius: 12px; padding: 24px; }
.card { background: white; border: 1px solid var(--border); }
.guide { background: #e3ecf6; }
.caption { margin-top: -13px; margin-bottom: 20px; }
form { display: grid; gap: 8px; }
label { font-weight: 650; }
input { font: inherit; min-width: 0; width: 100%; padding: 10px 12px; border: 1px solid #aebfd2; border-radius: 6px; background: #f9fbfd; color: inherit; }
button { font: inherit; font-weight: 650; cursor: pointer; border: 1px solid transparent; border-radius: 6px; min-height: 40px; padding: 7px 12px; justify-self: start; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, input:focus-visible { outline: 3px solid #4f91cc; outline-offset: 3px; }
.primary { background: var(--blue); color: white; margin-top: 6px; }
.primary:hover:enabled { background: var(--navy); }
.text { color: var(--blue); padding-inline: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.quiet { background: transparent; color: white; border-color: #8398aa; }
#status { margin-top: 18px; min-height: 42px; }
#status.error { color: #992b2b; }
ul { padding: 0; margin: 0; list-style: none; }
li { border-top: 1px solid var(--border); padding-block: 12px; }
li p { margin: 0; }
li button + button { margin-left: 12px; }
@media (max-width: 700px) {
  h1 { margin-top: 30px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
}
