:root { --ink: #111c2c; --muted: #606b73; --paper: #f5f3ed; --line: #dce0db; --lime: #d5ee91; --error: #a63835; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, input, select { border-radius: 10px; }
:focus-visible { outline: 3px solid #806ba5; outline-offset: 3px; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); margin-bottom: 22px; }
h2 { font-size: 1.6rem; margin-bottom: 14px; }
p { margin-bottom: 14px; }
small { display: block; font-size: .76rem; color: var(--muted); margin-top: 6px; }
.ribbon { padding: 9px 18px; background: #e7def6; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.ribbon.local { background: var(--lime); }
.site-header, main, footer { max-width: 1120px; margin: auto; padding-left: 28px; padding-right: 28px; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; }
.brand span { display: block; font-size: 2.8rem; line-height: .9; font-weight: 850; letter-spacing: -.09em; }
.brand small { font-size: .6rem; letter-spacing: .14em; font-weight: 650; margin-top: 10px; }
.badge { background: #e7ebe2; padding: 8px 12px; border-radius: 9px; font-size: .76rem; font-weight: 650; }
main { padding-top: 26px; padding-bottom: 64px; }
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 24px 0 40px; }
.eyebrow { text-transform: uppercase; font-size: .66rem; letter-spacing: .14em; font-weight: 750; color: var(--muted); margin-bottom: 13px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 540px; line-height: 1.65; }
.event-card { background: var(--ink); color: white; padding: 30px; border-radius: 22px; }
.event-card h2 { font-size: 2.2rem; margin-bottom: 12px; }
.event-card p { color: #c1cbd6; font-size: .88rem; }
.event-card p:last-child { margin-bottom: 0; }
.event-divider { height: 1px; background: #3c4553; margin: 22px 0; }
.panel { background: white; padding: 26px; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.panel.dark { background: var(--ink); color: white; border-color: var(--ink); }
.light { color: #bec7d2; }
.hint { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.hint.light { color: #bec7d2; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 0; list-style: none; margin: 24px 0; }
.checklist li { padding: 15px 0 15px 18px; border-left: 3px solid var(--lime); }
.notice { border-radius: 12px; padding: 16px 18px; background: var(--lime); margin-bottom: 20px; overflow-wrap: anywhere; }
.notice.error { color: var(--error); background: #fff0ed; border: 1px solid #e4bfb5; }
.local-warning { padding: 18px 22px; border: 1px solid #c1d69c; border-radius: 14px; background: #eaf3d8; margin-bottom: 22px; }
.local-warning strong { display: block; font-size: .75rem; letter-spacing: .06em; }
.local-warning p { font-size: .82rem; margin: 7px 0 0; }
.stage-panel { display: grid; grid-template-columns: .9fr 1.2fr auto; align-items: center; gap: 26px; margin-bottom: 24px; }
.stage-panel h2 { margin-bottom: 7px; }
.stage-panel p { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-grid span { font-size: .8rem; color: var(--muted); }
.price-grid strong { display: block; font-size: 1.5rem; letter-spacing: -.035em; margin-top: 4px; }
.purchase-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.stack { display: grid; gap: 24px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 18px; }
.panel-heading h2, .panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading .badge { flex-shrink: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.participants { margin-top: 22px; display: grid; gap: 20px; }
.participant { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.participant legend { font-size: .8rem; font-weight: 700; padding: 0 7px; }
.fields-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fields-grid > div { min-width: 0; }
label { display: block; font-size: .8rem; font-weight: 650; margin-bottom: 6px; }
input, select { background: white; color: var(--ink); width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #c7cfc6; min-height: 44px; }
input[type=file] { font-size: .8rem; padding: 12px 8px; }
input[type=file]::file-selector-button { border: 0; border-radius: 7px; background: #e7ebe2; color: var(--ink); padding: 8px; margin-right: 9px; }
.receipt-section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; }
.receipt-section h2 { font-size: 1.3rem; }
.receipt-name { font-size: .82rem; overflow-wrap: anywhere; }
.recovery-note { border-color: #a9c878; background: #f1f7e6; }
.recovery-note p { overflow-wrap: anywhere; }
.stale-intent { border: 1px solid #dec79d; background: #fff5e4; padding: 14px; border-radius: 10px; margin-top: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 10px; padding: 11px 17px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .86rem; font-weight: 650; line-height: 1.3; }
.button.secondary { color: var(--ink); background: transparent; border-color: #c7cfc6; }
.button.lime { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.button:hover { filter: brightness(.96); }
.text-button { border: 0; background: transparent; color: var(--muted); min-height: 44px; padding: 10px 0; font-size: .8rem; text-align: left; }
.text-button:hover, .text-link:hover { color: var(--ink); }
.text-link { font-size: .8rem; }
.remove-person { margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.checkbox-label { display: flex; gap: 12px; align-items: start; font-weight: 500; line-height: 1.6; margin: 20px 0 12px; }
.checkbox-label input { width: 20px; height: 20px; min-height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--ink); }
.summary { position: sticky; top: 20px; }
.summary h2 { font-size: 1.9rem; }
dl { margin: 26px 0; }
dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 1px solid #3c4553; padding: 14px 0; }
dt { color: #bec7d2; font-size: .82rem; }
dd { margin: 0; font-weight: 650; }
dd.total { font-size: 1.65rem; letter-spacing: -.04em; }
.purchases-section { margin-top: 24px; }
.purchase-item { border-top: 1px solid var(--line); padding: 18px 0; display: grid; gap: 8px; }
.purchase-item strong, .purchase-item p { overflow-wrap: anywhere; }
.purchase-item p { font-size: .84rem; margin: 0; color: var(--muted); }
.status-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.status-tags span { padding: 5px 9px; background: #eef0e9; border-radius: 7px; font-size: .73rem; }
footer { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .75rem; }
.skip-link { position: absolute; top: -70px; left: 15px; padding: 12px; background: white; z-index: 5; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 820px) {
  .intro { gap: 26px; }
  .stage-panel { grid-template-columns: 1fr 1fr; }
  .stage-panel > button { grid-column: 1 / -1; justify-self: start; }
  .purchase-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 540px) {
  .site-header, main, footer { padding-left: 20px; padding-right: 20px; }
  .site-header { min-height: 98px; gap: 12px; }
  .brand span { font-size: 2.5rem; }
  .site-header .badge { max-width: 145px; font-size: .68rem; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; padding-bottom: 26px; }
  h1 { font-size: 3.2rem; }
  .event-card { padding: 24px; }
  .event-card h2 { font-size: 1.9rem; }
  .panel { padding: 20px; }
  .stage-panel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stage-panel > button { grid-column: auto; }
  .price-grid { gap: 18px; }
  .fields-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .participant { padding: 14px; }
  .panel-heading { gap: 10px; flex-wrap: wrap; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .local-warning { padding: 16px; }
  footer { flex-direction: column; gap: 8px; }
  .actions .button { width: 100%; }
  .confirmation .button { width: 100%; }
}
