:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #20231f;
    background: #f3f5f1;
    line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .65rem .9rem; border-radius: 8px; background: white; color: #173f35; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
header { background: #173f35; color: white; }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header a { color: white; text-decoration: none; }
.brand { font-size: 1.2rem; font-weight: 750; display: flex; align-items: center; gap: .7rem; }
.brand .logo { height: 42px; width: auto; display: block; background: white; border-radius: 8px; padding: 3px; }
.cover img { width: 100%; height: clamp(180px, 32vw, 340px); object-fit: cover; display: block; }
.nav { display: flex; gap: 1rem; }
main { padding-block: 2.5rem 5rem; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.08; margin: 0 0 .75rem; }
h2 { font-size: 1.25rem; margin: 0 0 1rem; }
h3 { font-size: 1rem; }
.card, .notice { background: white; padding: clamp(1.1rem, 4vw, 1.75rem); border-radius: 14px; margin: 1.25rem 0; box-shadow: 0 2px 16px rgb(20 50 40 / 7%); }
.notice { border-left: 5px solid #559b7b; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > label { font-weight: 650; }
input, textarea, select { width: 100%; padding: .72rem .8rem; border: 1px solid #b8c2bb; border-radius: 8px; background: white; color: inherit; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgb(33 124 96 / 20%); border-color: #217c60; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f0b429; outline-offset: 3px; }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.choice { display: flex; align-items: flex-start; gap: .65rem; margin: .8rem 0; }
.choice input { width: auto; margin-top: .35rem; }
.choice label { flex: 1; }
.hint { color: #59635d; font-size: .92rem; }
.quote { background: #edf6f1; border-radius: 10px; padding: .8rem 1rem; }
.quote p { margin: .35rem 0; }
.primary, .button { display: inline-block; border: 0; border-radius: 9px; padding: .8rem 1.1rem; background: #173f35; color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary:hover, .button:hover { background: #245b4d; }
.danger { background: #8a241d; }
.danger:hover { background: #a52d24; }
.alert { border-radius: 10px; padding: .8rem 1rem; margin: 1rem 0; }
.error { background: #feeceb; color: #8a1e18; }
.success { background: #e4f5eb; color: #155d36; }
.summary-row { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #dfe5e0; }
.summary-label { font-weight: 700; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.admin-actions form { margin: 0; }
.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.admin-heading button { padding: .55rem .8rem; border: 1px solid #9cab9f; background: white; border-radius: 8px; cursor: pointer; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.admin-tabs a { padding: .55rem .75rem; border-radius: 8px; text-decoration: none; }
.admin-tabs a.active { background: #dcebe3; font-weight: 700; }
.table-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: .7rem .55rem; border-bottom: 1px solid #dfe5e0; text-align: left; vertical-align: top; }
th { font-size: .85rem; color: #59635d; }
.compact { padding: .5rem .65rem; font-size: .88rem; }
.status { display: inline-block; padding: .18rem .45rem; border-radius: 999px; background: #ecefec; font-size: .82rem; font-weight: 700; }
.status.confirmed { background: #dcf1e5; color: #155d36; }
.status.cancelled { background: #f5dddd; color: #7c2019; }
.payment-qr { margin: 1.25rem 0; }
.payment-qr img { width: min(320px, 100%); height: auto; display: block; }
.integration-tests { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.integration-tests button { padding: .65rem .85rem; border: 1px solid #789286; background: white; border-radius: 8px; cursor: pointer; }
a { color: #12624b; }

@media (max-width: 600px) {
    .header-inner { align-items: flex-start; flex-direction: column; padding-block: .75rem; }
    .nav { flex-wrap: wrap; }
    .columns { grid-template-columns: 1fr; gap: 0; }
    .summary-row { grid-template-columns: 1fr; gap: .15rem; }
}
