/* Legal documents, account actions and receipts share the planner's vocabulary. */
.customer-page {
  margin: 0;
  min-height: 100vh;
  background: var(--ns-paper);
  color: var(--ns-ink);
  font: 400 1.0625rem/1.58 var(--ns-sans);
}
.customer-page *, .customer-page *::before, .customer-page *::after { box-sizing: border-box; }
.customer-width { width: min(100% - 2.5rem, 52rem); margin-inline: auto; }
.customer-header { border-bottom: 1px solid var(--ns-line); }
.customer-header .customer-width { display: flex; align-items: center; min-height: 4.25rem; }
.customer-brand { color: var(--ns-forest); font: 400 2.1rem/1 var(--ns-serif); letter-spacing: -.065em; text-decoration: none; }
.customer-brand span { color: var(--ns-paprika); }
.customer-main { padding-block: clamp(2rem, 6vw, 4.5rem) 4rem; overflow-wrap: anywhere; }
.customer-main h1, .customer-main h2 { font-family: var(--ns-serif); font-weight: 400; color: var(--ns-forest); text-wrap: balance; }
.customer-main h1 { margin: 0; font-size: clamp(2.15rem, 5vw, 3.65rem); line-height: 1.08; letter-spacing: -.043em; }
.customer-main h2 { margin: 2rem 0 .45rem; line-height: 1.2; font-size: clamp(1.38rem, 2.5vw, 1.8rem); letter-spacing: -.025em; }
.customer-main p { margin: 0 0 1.05rem; }
.customer-content { max-width: 70ch; }
.customer-document .customer-content { margin-top: 1.5rem; border-top: 1px solid var(--ns-line); padding-top: 1.5rem; }
.customer-content a { color: var(--ns-forest); text-decoration-thickness: .09em; text-underline-offset: .18em; }
.customer-content a:hover { color: var(--ns-paprika); }
.customer-main :is(form, article, pre) { margin: 1.5rem 0; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--ns-line); border-top: 3px solid var(--ns-forest); border-radius: .35rem; background: #fff; }
.customer-main article h2:first-child { margin-top: 0; }
.customer-main article form { padding: 0; border: 0; }
.customer-main pre { font: inherit; white-space: pre-wrap; }
.customer-main label { display: grid; gap: .35rem; margin-bottom: 1.05rem; font-weight: 650; }
.customer-main input:not([type=hidden]) { display: block; min-height: 2.85rem; width: 100%; padding: .6rem .8rem; border: 1px solid #788779; border-radius: .3rem; background: #fff; color: var(--ns-ink); font: inherit; }
.customer-main :is(button,.action,.primary) { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; max-width: 100%; padding: .65rem 1rem; border: 1px solid var(--ns-paprika); border-radius: .35rem; background: var(--ns-paprika); color: #fff; font: 700 1rem/1.35 var(--ns-sans); text-decoration: none; text-align: center; cursor: pointer; }
.customer-main :is(button,.action,.primary):hover { background: #962e20; border-color: #962e20; color: #fff; }
.customer-main button:disabled { background: #e7e9df; color: var(--ns-muted); border-color: var(--ns-line); cursor: default; }
.customer-main button[hidden] { display: none; }
.customer-page :is(a,button,input,summary):focus-visible { outline: 3px solid #ae4c00; outline-offset: 3px; }
.customer-main [role=status]:not(:empty), .customer-main [role=alert]:not(:empty), .customer-main output:not(:empty) { display: block; padding: .75rem 1rem; margin-block: 1rem; border-inline-start: 3px solid var(--ns-forest); background: #ecf0e5; }
.customer-main [role=alert]:not(:empty) { border-color: var(--ns-paprika); background: #f9ece6; }
.customer-main footer { border-top: 1px solid var(--ns-line); margin-top: 2rem; padding-top: 1.25rem; }
.customer-main .help, .customer-main small { color: var(--ns-muted); font-size: .925rem; }
.customer-notice .customer-main { max-width: 42rem; }
.customer-notice h1 { padding: clamp(1.35rem, 4vw, 2.15rem); background: var(--ns-forest); color: var(--ns-paper); border-radius: .45rem .45rem 0 0; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.customer-notice .customer-content { max-width: none; padding: clamp(1.3rem, 4vw, 2.15rem); background: #fff; border: 1px solid var(--ns-line); border-top: 0; border-radius: 0 0 .45rem .45rem; }
.customer-notice .customer-content > :last-child { margin-bottom: 0; }
.customer-notice .customer-content > button { margin-bottom: 1rem; }
.customer-content #reports button { margin-block: .2rem; }
.customer-content :is([data-revoke],[data-read]) { color: var(--ns-forest); background: var(--ns-paper); border: 1px solid var(--ns-line); }
.customer-content :is([data-revoke],[data-read]):hover { background: #e8eddf; color: var(--ns-forest); border-color: var(--ns-forest); }
.tester-shell #tester-tools:not(:empty) { width: min(calc(100% - 2rem), 75rem); margin: .8rem auto; }
.tester-shell #tester-login { max-width: 36rem; margin-inline: auto; border-top: .25rem solid var(--ns-forest); }
.tester-shell #tester-login input[readonly] { color: var(--ns-muted); background: var(--ns-paper); }
@media (max-width: 520px) {
  .customer-width { width: min(100% - 2rem, 52rem); }
  .customer-header .customer-width { min-height: 3.5rem; }
  .customer-brand { font-size: 1.85rem; }
  .customer-main { padding-block-start: 1.75rem; }
  .customer-main :is(ul,ol) { padding-inline-start: 1.35rem; }
}
@media print {
  .customer-page { color: black; background: white; font-size: 11pt; }
  .customer-width { width: auto; max-width: none; }
  .customer-main, .customer-header .customer-width { padding: .5rem 0; }
  .customer-notice h1, .customer-notice .customer-content { padding-inline: 0; border: none; background: white; color: black; }
  .customer-main :is(button,.action) { display: none; }
  .customer-main h2 { break-after: avoid; }
}
