:root {
  color-scheme: light dark;
  --surface: Canvas;
  --ink: CanvasText;
  --link: LinkText;
  --focus: Highlight;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { margin: 0 auto; padding: 2rem 1rem 4rem; }
.operator { max-width: 76rem; }
.checkout { max-width: 34rem; }
header { margin-bottom: 2rem; }
h1 { font-size: clamp(1.65rem, 4vw, 2.25rem); line-height: 1.2; }
h2 { font-size: 1.2rem; margin: 0 0 1rem; }
h3 { font-size: 1rem; margin-top: 1.5rem; }
p { margin: .65rem 0; }
section { padding: 1.25rem; margin-bottom: 1.5rem; border: 1px solid currentColor; border-radius: .5rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .3rem; font-weight: 550; }
input, select, textarea, button, .button { font: inherit; }
input, select, textarea { width: 100%; padding: .65rem; color: var(--ink); background: var(--surface); border: 1px solid currentColor; border-radius: .3rem; }
textarea { resize: vertical; }
button, .button { min-height: 2.75rem; padding: .6rem 1rem; color: var(--ink); background: var(--surface); border: 1px solid currentColor; border-radius: .3rem; font-weight: 600; cursor: pointer; text-align: center; }
button:hover, .button:hover { text-decoration: underline; }
button:disabled { opacity: .55; cursor: wait; }
a { color: var(--link); overflow-wrap: anywhere; }
.button { display: block; margin-top: 1.25rem; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
fieldset { margin: 0; padding: 1rem; display: grid; gap: .8rem; border: 1px solid currentColor; border-radius: .3rem; }
legend { padding: 0 .4rem; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.columns section { min-width: 0; }
.inline-form { display: flex; align-items: end; flex-wrap: wrap; }
.inline-form label { flex: 1 1 20rem; }
.hint { font-size: .9rem; margin-top: -.5rem; }
details { padding: .75rem 0; }
details label { margin-top: 1rem; }
summary { cursor: pointer; font-weight: 600; min-height: 2rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .75rem; border-bottom: 1px solid currentColor; vertical-align: top; }
td button, td a { display: block; margin-bottom: .4rem; }
td small { display: block; max-width: 18rem; }
.badge { display: inline-block; border: 1px solid currentColor; padding: .2rem .6rem; border-radius: .3rem; }
dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
dt { font-weight: 600; }
dd { margin: 0; overflow-wrap: anywhere; }
.amount { font-size: 2rem; font-weight: 650; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 48rem) { .columns { grid-template-columns: 1fr; gap: 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
