:root {
  --bg: #f3f5f4; --card: #fff; --ink: #132238; --muted: #4b5c6e; --line: #d2dbe0;
  --navy: #101f33; --brand: #193550; --brand-ink: #fff; --lime: #d5eb53; --accent: #f0f5d6;
  --teal: #075e64; --aqua: #9cdee0; --sky: #e6f3f6; --coral: #f2a79a;
  --warn: #805000; --warn-bg: #fff4d6; --bad: #a4262c; --bad-bg: #fde7e9;
  --ok: #263d19; --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
h1 { font-size: 1.6rem; margin: 0 0 .5rem; } h2 { font-size: 1.25rem; margin: 1.2rem 0 .5rem; } h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
:focus-visible { outline: 3px solid #1b5fd6; outline-offset: 2px; }
.sandbox-banner { background: var(--warn-bg); color: var(--warn); text-align: center; padding: 6px 12px; font-size: .9rem; border-bottom: 1px solid #ecd49a; }
header.top { background: var(--brand); color: var(--brand-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 16px; }
header.top a { color: var(--brand-ink); text-decoration: none; padding: 6px 4px; }
header.top a:hover, header.top a[aria-current="page"] { text-decoration: underline; }
header.top a.attention-pending { background: var(--warn-bg); color: #5b3b00; border-radius: 8px; padding: 6px 10px; font-weight: 700; }
header.top .brand { font-weight: 700; font-size: 1.15rem; }
header.top nav { display: flex; flex-wrap: wrap; gap: 4px 14px; flex: 1; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.row > * { flex: 0 1 auto; }
.spread { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: .92rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid #8898a4; border-radius: 8px; background: #fff; max-width: 100%; min-height: 40px; }
input[type=checkbox] { min-height: 0; width: 18px; height: 18px; }
.field { margin-bottom: 10px; } .field .err { color: var(--bad); font-size: .88rem; }
input[aria-invalid=true] { border-color: var(--bad); }
button, .btn { font: inherit; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 8px; padding: 8px 14px; min-height: 40px; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary, .btn.secondary { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
button.danger { background: var(--bad); }
button.small { min-height: 32px; padding: 3px 10px; font-size: .9rem; }
button:disabled { opacity: .5; cursor: not-allowed; }
.alert { padding: 10px 12px; border-radius: 8px; margin: 8px 0; }
.alert.error { background: var(--bad-bg); color: var(--bad); }
.alert.info { background: var(--accent); color: var(--ok); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.empty { text-align: center; color: var(--muted); padding: 24px 8px; border: 1px dashed var(--line); border-radius: var(--radius); }
.chip { display: inline-block; background: var(--accent); color: var(--ok); border-radius: 99px; padding: 1px 10px; font-size: .82rem; margin: 2px 4px 2px 0; }
.chip.warn { background: var(--warn-bg); color: var(--warn); } .chip.bad { background: var(--bad-bg); color: var(--bad); }
table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap { overflow-x: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.tabs button { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tabs button[aria-selected=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }
.slot { min-height: 44px; padding: 4px; font-size: .88rem; background: #fff; color: var(--ink); border: 1px solid var(--brand); touch-action: none; user-select: none; }
.slot[aria-pressed=true] { background: var(--brand); color: #fff; }
.slot[aria-pressed=true] .muted { color: #fff; }
.slot.taken { background: #e9edef; color: #53626e; border-color: #c4cdd2; cursor: not-allowed; }
.slot.blocked { background: #f3e1e2; color: #7a3a3f; border-color: #e0bfc2; cursor: not-allowed; }
.slot.peak { border-style: dashed; }
.courtname { font-weight: 700; margin: 10px 0 4px; }
.hours-grid { margin: 14px 0; }
.hours-day { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.hours-day > strong { display: block; margin-bottom: 6px; }
.hours-day label { margin: 4px 0; }
.hours-day label input[type=checkbox] { vertical-align: middle; }
.stat { font-size: 1.5rem; font-weight: 700; } .stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.stats .card { margin: 0; }
.courtbox { border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.courtbox.live { border-color: var(--brand); } .courtbox.paused { background: #f1f1f1; }
.teams { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.team { background: var(--accent); padding: 4px 10px; border-radius: 8px; }
.photo { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; background: #e1e7e9; }
.receipt-image { display: block; max-width: 100%; height: auto; margin: 1rem 0; }
.list { list-style: none; padding: 0; margin: 0; } .list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.attention-list li { padding: 14px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.attention-list p { margin: 4px 0; }
.attention-list .btn { margin-top: 6px; }
.cart td input { width: 70px; }
.hidden { display: none; }
.big { font-size: 1.4rem; }
@media (max-width: 560px) { main { padding: 10px; } header.top { gap: 4px 10px; } }

/* Shared application surfaces */
body { line-height: 1.55; background: linear-gradient(160deg, #edf5f5 0, var(--bg) 42%, #f8f5f0 100%); background-attachment: fixed; }
main { max-width: 1200px; padding: 32px 24px 64px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h2 { font-size: 1.3rem; }
p { margin: .6em 0 1em; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #185fc2; outline-offset: 3px; }
.skip:focus { z-index: 20; padding: 10px 14px; color: var(--ink); border-radius: 8px; }
.sandbox-banner { padding: 8px 18px; font-size: .82rem; }
header.top { background: linear-gradient(105deg, var(--navy), #173d4b); gap: 12px 24px; padding: 12px max(24px, calc((100% - 1152px) / 2)); border-bottom: 3px solid var(--lime); }
header.top .brand { white-space: nowrap; font-size: 1.15rem; letter-spacing: -.02em; }
header.top .brand::before { content: ''; display: inline-block; width: 15px; height: 15px; margin-right: 9px; border: 3px solid var(--lime); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 4px var(--lime); }
header.top nav { align-items: center; gap: 4px 8px; }
header.top nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 9px; }
header.top nav > a, header.top .account-menu summary { position: relative; }
header.top nav > a:not(:first-child)::before, header.top .account-menu summary::before { content: ''; position: absolute; left: -4px; top: 14px; height: 16px; border-left: 1px solid rgba(255,255,255,.4); pointer-events: none; }
header.top nav a:hover, header.top nav a[aria-current="page"] { background: rgba(255,255,255,.14); text-decoration: none; }
header.top nav a[aria-current="page"] { box-shadow: inset 0 -3px var(--lime); font-weight: 700; }
header.top nav > span:not(.spread) { padding: 8px; font-size: .88rem; color: #e1e8ed; }
header.top .account-menu { position: relative; }
header.top .account-menu summary { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; cursor: pointer; font-size: .88rem; color: #e1e8ed; overflow-wrap: anywhere; }
header.top .account-menu summary::-webkit-details-marker { display: none; }
header.top .account-menu summary::after { content: ''; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); flex-shrink: 0; }
header.top .account-menu summary:hover, header.top .account-menu[open] summary { background: rgba(255,255,255,.14); }
header.top .account-menu-items { position: absolute; z-index: 20; right: 0; top: 100%; min-width: 180px; padding: 4px; background: var(--navy); border: 1px solid rgba(255,255,255,.25); border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
header.top nav .account-menu-items a { display: flex; }
header.top :focus-visible { outline-color: var(--lime); }
header.top a.attention-pending:focus-visible { outline-color: var(--navy); }
.card { padding: 22px; box-shadow: 0 8px 24px rgba(16, 31, 51, .06); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.row { gap: 12px; }
label, legend { font-weight: 700; }
input, select, textarea { min-height: 44px; border-color: #8d9da9; border-radius: 9px; color: var(--ink); }
input[type=checkbox] { accent-color: var(--brand); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--bad); }
.field-hint { margin-top: 4px; }
button, .btn { min-height: 44px; padding: 10px 16px; border-radius: 9px; font-weight: 700; background: var(--teal); }
button.small, .btn.small { min-height: 44px; padding: 8px 12px; }
button:not(:disabled):hover, .btn:hover { filter: brightness(.93); }
button:not(:disabled):active, .btn:active { transform: translateY(1px); }
button:disabled { opacity: .62; }
button, .btn, input, select { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease, transform .16s ease; }
.alert, .empty { border-radius: 12px; padding: 14px 16px; }
.empty { background: #fff; padding: 28px 18px; }
.tablewrap { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-filter-hint { margin: 8px 0; }
.tablewrap thead input { display: block; width: 100%; min-width: 90px; margin-top: 6px; font-size: .85rem; }
.table-filter-status { margin: 4px 0 0; }
.table-filter-status:empty { display: none; }
tr[hidden] { display: none; }
.fee-history-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fee-dialog { width: min(1200px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(16, 31, 51, .3); }
.fee-dialog::backdrop { background: rgba(8, 24, 39, .7); }
.fee-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.fee-dialog-header h2, .fee-dialog-header p { margin: 0; }
.fee-dialog-header p { margin-top: 4px; }
.fee-dialog-content { padding: 20px 24px 24px; }
.fee-table-hint { margin: 0 0 10px; }
.fee-dialog .tablewrap { max-width: 100%; }
.fee-dialog th, .fee-dialog td { white-space: nowrap; }
.dialog-live { padding: 0 24px 12px; }
.management-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
button.management-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 190px; width: 100%; padding: 22px; text-align: left; color: var(--ink); background: linear-gradient(145deg, #fff, var(--sky)); border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16, 31, 51, .06); }
button.management-card.profile, button.management-card.add { background: linear-gradient(145deg, #fff, var(--accent)); border-top-color: #9dae31; }
button.management-card.promotions { background: linear-gradient(145deg, #fff, #fff0ec); border-top-color: var(--coral); }
button.management-card.court { background: linear-gradient(145deg, #fff, #eaf3f8); border-top-color: var(--brand); }
button.management-card:hover { box-shadow: 0 12px 28px rgba(16, 31, 51, .15); }
.management-card-label { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.management-card-title { font-size: 1.2rem; line-height: 1.2; }
.management-card-description { color: var(--muted); font-size: .92rem; font-weight: 400; overflow-wrap: anywhere; }
.management-card-link { color: var(--teal); margin-top: auto; }
.management-section-heading { margin-top: 32px; }
.management-section-heading h2 { margin-bottom: 4px; }
.management-section-heading p { margin-top: 0; }
.management-court-actions { margin: 16px 0; }
table { min-width: 480px; }
th, td { padding: 12px 14px; }
th { background: var(--sky); font-size: .85rem; }
.tabs button { min-height: 44px; }
.tabs { padding: 5px; background: #dcecef; border-radius: 13px; width: fit-content; max-width: 100%; }
.tabs button { border-color: transparent; background: transparent; }
.tabs button[aria-selected=true] { background: var(--brand); box-shadow: inset 0 -3px var(--aqua); }
.slot { min-height: 62px; font-weight: 700; }
.slot:not(:disabled):hover { background: #f0f5d6; }
.slot[aria-pressed=true]:not(:disabled):hover { background: var(--brand); }
.slot[aria-pressed=true] { box-shadow: inset 0 -3px var(--lime); }
.slot .muted { font-weight: 400; }
.slot:disabled { opacity: 1; }
.photo { height: 180px; }
.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: linear-gradient(120deg, #101f33 30%, #075e64 100%); color: #fff; box-shadow: 0 16px 32px rgba(16, 31, 51, .14); }
.hero::before { content: ''; position: absolute; right: -25px; top: -64px; width: 350px; height: 250px; border: 2px solid rgba(213, 235, 83, .18); transform: rotate(-17deg); background: linear-gradient(90deg, transparent 49.5%, rgba(213, 235, 83, .18) 49.5%, rgba(213, 235, 83, .18) 50.5%, transparent 50.5%), linear-gradient(0deg, transparent 32%, rgba(213, 235, 83, .18) 32%, rgba(213, 235, 83, .18) 33%, transparent 33%, transparent 67%, rgba(213, 235, 83, .18) 67%, rgba(213, 235, 83, .18) 68%, transparent 68%); pointer-events: none; }
.hero::after { content: ''; position: absolute; right: 12%; top: -90px; width: 300px; height: 300px; border: 1px solid rgba(213, 235, 83, .2); border-radius: 50%; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--lime); display: flex; align-items: center; gap: 8px; }
.hero .eyebrow::before { content: ''; width: 20px; height: 3px; flex: 0 0 20px; background: var(--lime); }
.hero h1 { max-width: 18ch; margin-bottom: 10px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hero p:not(.eyebrow) { max-width: 48ch; color: #e1e8ed; margin-bottom: 0; }
.hero-action { color: var(--navy); background: var(--lime); padding: 12px 18px; border-radius: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hero-promotion .hero-action::after { content: '  \2197'; }
.hero { display: block; }
.hero-slide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-promotion { color: inherit; text-decoration: none; border-radius: 8px; animation: promotion-enter .35s ease-out; }
@keyframes promotion-enter { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.hero-promotion:hover .hero-action { filter: brightness(.93); }
.hero-promotion:focus-visible, .hero-action:focus-visible { outline-color: var(--lime); }
.hero-copy { min-width: 0; overflow-wrap: anywhere; }
.hero-copy .hero-action { display: inline-block; margin-top: 20px; }
.hero .hero-date { font-weight: 700; }
.hero-image { flex-shrink: 0; width: min(48%, 480px); aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; background: rgba(16, 31, 51, .55); }
.hero-controls { display: flex; justify-content: center; margin-top: 12px; }
.promotion-dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.hero-controls .promotion-dot { min-width: 44px; min-height: 44px; padding: 0; background: transparent; }
.promotion-dot::after { content: ''; display: inline-block; width: 10px; height: 10px; background: #9babb7; border-radius: 50%; }
.promotion-dot[aria-pressed=true]::after { background: var(--lime); box-shadow: 0 0 0 3px #52652f; }
.hero-controls button:focus-visible { outline-color: var(--lime); }
.promotion-detail { max-width: 800px; overflow-wrap: anywhere; }
.promotion-detail-image { display: block; max-width: 100%; max-height: 500px; object-fit: contain; border-radius: 14px; }
.promotion-description { white-space: pre-wrap; }
.promotion-list { display: grid; gap: 16px; }
.promotion-entry { overflow-wrap: anywhere; }
.promotion-entry h3 { margin-bottom: 8px; }
.promotion-entry details, .promotion-entry form { margin: 12px 0; }
.promotion-preview { display: block; max-width: min(100%, 300px); max-height: 200px; object-fit: contain; margin: 10px 0; }
.access-toggle { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.search-section { padding-top: 38px; scroll-margin-top: 20px; }
.section-heading h2, .results-heading h2 { margin: 0; font-size: 1.5rem; }
.section-heading p:last-child { margin: 8px 0 18px; }
.search-card .row > .field { flex: 1 1 145px; }
.search-card { border-top: 4px solid var(--teal); }
.search-card .row { align-items: flex-start; }
.search-card .field input, .search-card .field select { width: 100%; }
.filter-options { border: 0; padding: 4px 0 12px; margin: 0; }
.filter-options legend { margin-bottom: 7px; font-size: .92rem; }
.filter-chip { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; background: #f1f4f4; border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; margin: 0 5px 7px 0; font-weight: 500; cursor: pointer; }
.filter-chip:has(input:checked) { background: var(--accent); border-color: #9bab55; color: var(--ink); }
.filter-chip input { margin: 0; }
.results-heading, .page-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.results-heading h2 { scroll-margin-top: 20px; }
.page-heading { margin-top: 0; }
.results-heading p, .page-heading p:last-child { margin-bottom: 0; }
.result-card { display: flex; flex-direction: column; gap: 8px; margin: 0; overflow: hidden; border-color: #d3dce0; transition: box-shadow .16s ease, border-color .16s ease; }
.result-card:hover, .result-card:focus-within { border-color: #9eacb4; box-shadow: 0 12px 28px rgba(16, 31, 51, .12); }
.result-court-art { position: relative; overflow: hidden; height: 72px; border-radius: 10px; background: linear-gradient(125deg, #193550, #08767a); }
.result-card:nth-child(3n + 2) .result-court-art { background: linear-gradient(125deg, #193550, #4d547a); }
.result-card:nth-child(3n) .result-court-art { background: linear-gradient(125deg, #193550, #765457); }
.result-court-art span { position: absolute; width: 145px; height: 90px; right: 16%; top: -10px; border: 2px solid rgba(213, 235, 83, .6); transform: rotate(-16deg); background: linear-gradient(90deg, transparent 49%, rgba(213, 235, 83, .55) 49%, rgba(213, 235, 83, .55) 51%, transparent 51%), linear-gradient(0deg, transparent 36%, rgba(213, 235, 83, .55) 36%, rgba(213, 235, 83, .55) 38%, transparent 38%, transparent 62%, rgba(213, 235, 83, .55) 62%, rgba(213, 235, 83, .55) 64%, transparent 64%); }
.result-card .eyebrow, .result-card h2, .result-card p { margin: 0; }
.result-card h2 a { color: var(--ink); text-decoration: none; }
.result-card h2 a:hover { color: var(--brand); text-decoration: underline; }
.result-card .photo { margin-bottom: 6px; }
.result-meta { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.card-action { margin-top: auto; align-self: flex-start; }
.back-link { margin: 0 0 18px; font-weight: 700; }
.booking-section { margin: 30px 0; }
.booking-section h2 { margin: 0 0 14px; }
.booking-summary { border-left: 4px solid var(--brand); }
.stats .card { border-top: 3px solid var(--teal); background: linear-gradient(145deg, #fff, var(--sky)); }
.stats .card:nth-child(3n + 2) { border-top-color: #9dae31; background: linear-gradient(145deg, #fff, var(--accent)); }
.stats .card:nth-child(3n) { border-top-color: var(--coral); background: linear-gradient(145deg, #fff, #fff0ec); }
.stats .stat { color: var(--teal); }
.owner-analytics h2 { margin-top: 32px; }
.analytics-scope { padding: 10px 14px; background: var(--sky); border-radius: 9px; overflow-wrap: anywhere; }
.analytics-filter-card { border-top: 4px solid var(--teal); }
.analytics-filters > .field { flex: 1 1 180px; }
.analytics-filters select, .analytics-filters input { width: 100%; }
.analytics-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 20px; }
.analytics-columns .card { min-width: 0; margin: 0; }
.analytics-columns h2 { margin-top: 0; }
.analytics-amount { color: var(--teal); font-size: 1.8rem; font-weight: 800; }
.analytics-list { list-style: none; padding: 0; margin: 0; }
.analytics-list li, .analytics-statuses > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.analytics-statuses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 0 24px; }
.cash-trend { display: grid; gap: 12px; margin: 16px 0; }
.cash-trend-day > strong { font-size: .88rem; }
.cash-trend-day > div { display: grid; grid-template-columns: 35px minmax(50px, 1fr) auto; gap: 8px; align-items: center; font-size: .85rem; }
.cash-trend progress { width: 100%; height: 10px; accent-color: var(--teal); }
.cash-trend .cash-out { accent-color: #9c5e55; }
.owner-courts { display: grid; gap: 18px; }
.owner-court { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 24px; margin: 0; }
.owner-court-info h2, .owner-court-booking h3 { margin-top: 0; }
.owner-court-info .photo { margin-bottom: 12px; }
.owner-court-booking { min-width: 0; }
@media (max-width: 700px) {
  .owner-court { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.payment-instructions { margin: 20px 0; padding: 18px 20px; background: var(--accent); color: var(--ink); border: 1px solid #b5c97b; border-left: 4px solid var(--brand); border-radius: 12px; overflow-wrap: anywhere; }
.payment-instructions h3 { margin: 0 0 10px; color: var(--brand); }
.payment-instructions p:last-child { margin-bottom: 0; }
.booking-card { margin: 0; }
.booking-card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.booking-time { font-weight: 700; }
.booking-card .small { margin: 4px 4px 0 0; }
.session-list { margin: 24px 0; }
.session-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.auth-card { max-width: 520px; margin: 30px auto; }
.auth-card .field input { width: 100%; }
.auth-card details { margin-top: 20px; }
.auth-card summary { cursor: pointer; }
#live { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: min(400px, calc(100vw - 36px)); }
#live .alert { box-shadow: 0 8px 24px rgba(0,0,0,.15); }
@media (max-width: 700px) {
  main { padding: 24px 16px 48px; }
  header.top { padding: 12px 16px; gap: 4px; }
  header.top nav { flex-basis: 100%; gap: 2px; }
  header.top nav > span.spread { display: none; }
  header.top nav a { padding: 8px; }
  header.top .account-menu-items { position: static; min-width: 0; }
  .hero { display: block; padding: 22px 24px; }
  .hero-action { display: inline-block; margin-top: 24px; }
  .hero-slide { flex-direction: column; align-items: stretch; }
  .hero::before { right: -175px; opacity: .7; }
  .hero-image { width: 100%; }
  .card { padding: 18px; }
  .search-section { padding-top: 30px; }
  .result-grid { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-promotion { animation: none; }
}
