:root {
    color-scheme: light;
    --nx-accent: #ffaa53;
    --nx-ink: #25263d;
    --nx-navy: #202a48;
    --nx-navy-light: #394767;
    --nx-border: #dcdde6;
    color: #fff;
    background: linear-gradient(112deg, var(--nx-navy) 0%, #2b3758 55%, var(--nx-navy-light) 100%);
    font: 1rem/1.55 system-ui, sans-serif;
}
body { margin: 0; min-height: 100vh; display: flow-root; }
main { width: min(58rem, calc(100% - 2rem)); margin: 2rem auto 4rem; }
header { margin-bottom: 1.5rem; }
header img { height: auto; max-width: 100%; }
section {
    background: #fff;
    color: var(--nx-ink);
    border: 1px solid var(--nx-border);
    border-top: 4px solid var(--nx-accent);
    border-radius: .65rem;
    margin-block: 1rem;
    padding: clamp(1rem, 4vw, 1.6rem);
}
h1, h2, h3 { line-height: 1.2; }
section > :first-child { margin-top: 0; }
a { color: #fff; text-underline-offset: .16em; }
section a { color: var(--nx-navy); }
label { display: block; margin-block: .85rem; font-weight: 600; }
input:not([type="checkbox"]), textarea {
    display: block;
    width: min(100%, 38rem);
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    background: #fff;
    border: 1px solid #737b92;
    border-radius: .3rem;
    padding: .55rem;
}
textarea { min-height: 5rem; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; }
.checkbox input { margin: .35rem 0 0; }
button, section .button {
    display: inline-block;
    font: inherit;
    font-weight: 650;
    color: #11113b;
    background: var(--nx-accent);
    border: 1px solid var(--nx-accent);
    border-radius: .35rem;
    padding: .55rem .85rem;
    text-decoration: none;
    cursor: pointer;
}
button:hover, section .button:hover { background: #ffc17f; border-color: #ffc17f; }
button.secondary { color: var(--nx-navy); background: #fff; border-color: var(--nx-navy); }
button.secondary:hover { background: #f4f4f8; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
section :focus-visible { outline-color: var(--nx-navy); }
.notice {
    padding: .8rem 1rem;
    color: var(--nx-ink);
    background: #fff2e4;
    border-left: 4px solid var(--nx-accent);
    border-radius: .4rem;
}
.copy { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: .85rem; }
summary { cursor: pointer; font-weight: 650; }
.status, dt { font-weight: 650; }
dd { margin: 0 0 .55rem; }
.account, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.account p { flex-basis: 100%; margin: 0; overflow-wrap: anywhere; }
