@import url("/theme.css");
:root { font: 16px/1.55 var(--ps-ui-font); color: var(--ps-text); background: var(--ps-paper); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--ps-primary); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ps-primary); outline-offset: 3px; }
.header { padding: 15px max(20px, calc((100vw - 840px)/2)); min-height: 68px; background: var(--ps-navy); color: white; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.header a { color: var(--ps-accent); }
.header strong { font-size: 1.2rem; }
main { max-width: 840px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) 20px; }
h1, h2, p { margin: 0; }
h1 { font-size: var(--ps-type-hero); line-height: 1.04; letter-spacing: -.045em; }
h2 { font-size: 1.3rem; }
.card { padding: clamp(16px, 4vw, 30px); margin-top: 20px; border: 1px solid var(--ps-line); border-radius: 14px; background: white; }
.intro { color: var(--ps-muted); margin-top: 11px; max-width: 60ch; }
.card > p + p, .card > h2 + p { margin-top: 8px; }
form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.name-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-note { color: var(--ps-muted); font-size: .95rem; }
label + .field-note { margin-top: -9px; }
@media (max-width: 600px) {
  .field-row, .name-fields { grid-template-columns: 1fr; }
}
label { display: grid; gap: 4px; font-weight: 650; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #697f90; border-radius: 7px; background: white; color: inherit; font: inherit; }
textarea { min-height: 128px; resize: vertical; }
.button { display: inline-block; justify-self: start; width: fit-content; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; background: var(--ps-primary); color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--ps-primary-hover); }
.spaced { margin-top: 14px; }
.notice { margin: 0 0 14px; color: #92243a; }
.record + .record { margin-top: 14px; }
.record p, .record h2 { overflow-wrap: anywhere; }
.record .message { margin-top: 9px; white-space: pre-wrap; }

.header .signout { font: inherit; font-weight: 650; min-height: 42px; padding: .45rem .9rem; border-radius: .55rem; border: 1px solid var(--ps-accent); background: transparent; color: var(--ps-on-dark); cursor: pointer; transition: background-color .18s, color .18s; }
.header .signout:hover { background: var(--ps-accent); color: var(--ps-navy); }
.header :is(a, button):focus-visible { outline-color: var(--ps-accent); }
@media (prefers-reduced-motion: reduce) { .header .signout { transition: none; } }
