/* At 1440: 216 sidebar + 8 inset + 2×28 padding + 1160 work area.
   Work area: (W - 336 - 20) main + 20 gutter + 336 rail = W. */
.app-body{background:var(--bg);font-size:14px;--gap:20px}.skip-link{position:fixed;top:-80px;left:20px;z-index:99;background:white;padding:10px}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;padding:29px 14px 14px;display:flex;flex-direction:column;z-index:30}.sidebar .wordmark{margin-left:12px;font-size:32px}.sidebar .brand-mark{width:27px;height:27px}.club-switch{display:flex;gap:10px;align-items:center;text-align:left;width:100%;margin:33px 0 25px;padding:10px 6px;border-radius:6px}.club-switch:hover{background:#dcded7}.club-initial{background:#d2d8c9;width:33px;height:36px;display:grid;place-items:center;font-size:12px;border-radius:5px}.club-switch strong{font-size:13px;font-weight:600;display:block}.club-switch small{font-size:12px;color:var(--muted);display:block}.club-switch .icon{width:13px}.club-switch>span:last-child{margin-left:auto}.nav-item{display:flex;align-items:center;gap:12px;min-height:39px;padding:8px 12px;width:100%;font-size:13px;border-radius:6px;margin-bottom:4px;color:#555b51;text-align:left}.nav-item:hover{background:#dddfd7}.nav-item.active{background:#d8dcd2;color:var(--ink);font-weight:600}.nav-item .icon{width:17px;height:17px}.nav-count{margin-left:auto;font-size:11px;padding:0 6px;background:#f4f5ee;border-radius:4px}.sidebar-bottom{margin-top:auto}.plan-note{padding:14px 12px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:12px}.plan-note .status{background:#dce0d3;font-size:11px;color:#45513b}.manager{display:flex;align-items:center;gap:10px;padding:18px 9px 1px;margin-top:16px;border-top:1px solid #d6d9d0}.manager strong{display:block;font-size:12px;font-weight:500}.manager small{display:block;font-size:11px;color:var(--muted)}.manager button{margin-left:auto;padding:4px}.manager button .icon{width:15px}.app-topbar{margin-left:216px;height:64px;display:flex;align-items:center;gap:24px;padding:0 29px}.breadcrumb{font-size:12px}.breadcrumb>span:first-child{color:#909589;margin:0 12px}.snapshot{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-left:auto}.snapshot .dot{width:5px;height:5px}.site-link{font-size:12px;display:flex;align-items:center;gap:7px}.site-link .icon{width:13px}.mobile-menu{display:none}.app-sheet{margin:0 8px 8px 216px;background:var(--surface);border:1px solid var(--border);border-radius:14px;min-height:calc(100vh - 72px);padding:26px 28px 12px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page-header h1{font-size:26px;letter-spacing:-.9px;font-weight:600;line-height:1.2;margin-bottom:7px}.page-header p{font-size:12px;color:var(--muted)}.page-header p span{padding:0 6px}.page-header .btn{font-size:12px;min-height:35px;padding:7px 12px}.page-header .btn .icon{width:15px}.today-layout{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:var(--gap);align-items:start}.main-column,.rail-column{display:grid;gap:var(--gap);min-width:0}.kpi-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:4px 0 20px;border-bottom:1px solid var(--border);margin-bottom:21px}.kpi{padding-left:20px;border-left:1px solid var(--border)}.kpi:first-child{padding-left:0;border-left:0}.kpi-label{font-size:12px;color:var(--muted);margin-bottom:5px}.kpi-value{font-size:27px;font-weight:500;line-height:1.15;letter-spacing:-.6px}.kpi-value span{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}.kpi-sub{font-size:11px;color:var(--muted);margin-top:5px}.panel{border:1px solid var(--border);border-radius:8px;overflow:hidden;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 14px}.panel-heading h2{font-size:15px;letter-spacing:-.3px;font-weight:600;line-height:1.3}.panel-heading .small{font-size:11px}.panel-heading button,.panel-link{font-size:11px;display:inline-flex;align-items:center;gap:5px;font-weight:500}.panel-heading button .icon{width:13px;height:13px}.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 18px 12px;gap:8px}.schedule-toolbar>p{font-size:11px;color:var(--muted)}.segmented{background:var(--raised);padding:3px;border-radius:5px;display:inline-flex}.segmented button{font-size:11px;padding:4px 9px;border-radius:3px;color:var(--muted)}.segmented button.active{background:white;color:var(--ink);outline:1px solid #e4e7de}.schedule-scroll{overflow-x:auto;padding:0 18px}.court-schedule{min-width:510px;position:relative;padding-bottom:10px}.time-axis{height:25px;margin-left:62px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding-right:2px}.court-row{height:29px;display:flex;align-items:center;gap:10px}.court-label{width:52px;flex-shrink:0;font-size:11px;color:var(--muted)}.court-track{position:relative;flex:1;height:23px;background:#f6f7f3;border-radius:3px}.time-tick{height:100%;position:absolute;top:0;border-left:1px solid #e8ece3}.court-booking{position:absolute;top:2px;height:19px;border-radius:3px;background:#dce7db;color:#345740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 5px;text-align:left;font-size:11px;line-height:15px;min-width:3px;transition:filter .15s}.court-booking:hover{filter:brightness(.94);outline:1px solid var(--green)}.court-booking.open-play{background:#ecefe5;color:#536044}.court-booking.league{background:#5f7f64;color:#fff}.court-booking.clinic{background:#e4e5de;color:#4b5143}.court-booking.conflict{background:var(--negative-bg);color:var(--negative);outline:1px solid #d8a49d}.court-booking.conflict.layer{top:13px;height:17px;z-index:2;line-height:12px}.court-row.has-conflict{height:38px}.schedule-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 18px 15px;font-size:11px;color:var(--muted)}.legend-item{display:flex;align-items:center;gap:5px}.swatch{display:inline-block;width:9px;height:9px;border-radius:2px;background:#dce7db}.swatch.league{background:#5f7f64}.swatch.open-play{background:#ecefe5;border:1px solid #d4dac9}.swatch.clinic{background:#e4e5de}.swatch.conflict{background:var(--negative-bg);border:1px solid #d8a49d}.schedule-note{padding:9px 18px;background:var(--raised);font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.attention-panel .panel-heading{padding-bottom:12px}.attention-panel h2{display:flex;align-items:center;gap:8px}.attention-count{font-size:11px;color:#714a10;background:var(--warning-bg);border-radius:4px;padding:1px 6px}.attention-row{padding:13px 16px;border-top:1px solid var(--rule)}.attention-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;margin-bottom:4px}.attention-title>.icon{width:14px;height:14px;color:var(--negative)}.attention-title.warn>.icon{color:var(--warning)}.attention-row p{font-size:11px;color:var(--muted);line-height:1.5;margin-left:21px;margin-bottom:8px}.attention-action{margin-left:21px;font-size:11px;font-weight:500;display:flex;align-items:center;gap:5px;text-decoration:underline;text-underline-offset:3px}.attention-action .icon{width:12px;height:12px}.resolved-row{padding:20px 18px;font-size:12px;display:flex;gap:8px;align-items:center}.resolved-row .icon{color:var(--green);width:16px}.table-tabs{display:flex;gap:18px;border-bottom:1px solid var(--border);padding:0 18px}.table-tabs button{font-size:11px;color:var(--muted);padding:0 0 10px;border-bottom:2px solid transparent}.table-tabs button.active{color:var(--ink);border-bottom-color:var(--ink)}.bookings-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.bookings-table th{text-align:left;font-size:11px;font-weight:400;color:var(--muted);height:31px}.bookings-table th:first-child,.bookings-table td:first-child{padding-left:18px;width:40%}.bookings-table th:nth-child(2){width:15%}.bookings-table th:nth-child(3){width:14%}.bookings-table th:nth-child(4){width:17%}.bookings-table th:last-child{width:14%;text-align:right;padding-right:18px}.bookings-table td{height:56px;border-top:1px solid var(--rule);padding:6px 4px;vertical-align:middle}.bookings-table td:last-child{text-align:right;padding-right:18px}.booking-person{display:flex;align-items:center;gap:9px}.booking-person .avatar{width:27px;height:27px;font-size:11px}.booking-person strong{display:block;font-weight:500;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.booking-person small{display:block;color:var(--muted);font-size:11px}.bookings-table .status{font-size:11px;padding:0 6px;line-height:19px}.row-checkin{font-size:11px;font-weight:500;padding:5px 7px;background:var(--raised);border:1px solid #e3e6dd;border-radius:4px;white-space:nowrap}.row-checkin:hover{border-color:#9aa891}.table-foot{padding:9px 18px;background:var(--raised);font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.week-total{display:flex;justify-content:space-between;align-items:baseline;padding:0 18px}.week-total strong{font-size:27px;font-weight:500;letter-spacing:-.7px}.week-total>span{font-size:11px;color:var(--green)}.week-caption{padding:2px 18px 0;font-size:11px;color:var(--muted)}.revenue-chart{height:118px;margin:7px 13px 0 8px}.revenue-chart svg{width:100%;height:100%;display:block}.no-show-line{display:flex;justify-content:space-between;align-items:center;font-size:11px;border-top:1px solid var(--rule);padding:12px 18px;margin-top:4px}.no-show-line strong{font-weight:500}.no-show-line small{font-size:11px;color:var(--muted)}.activity-panel{padding:12px 18px;background:var(--raised);border-radius:7px}.activity-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.activity-heading h2{font-size:12px;font-weight:500}.activity-heading span{font-size:11px;color:var(--muted)}.activity-row{font-size:11px;display:flex;gap:8px;line-height:1.5}.activity-row .dot{margin-top:5px;background:#8e9d80;width:5px;height:5px;flex-shrink:0}.activity-row span{color:var(--muted);font-size:11px}.app-footer{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding-top:20px}.app-footer button{font-size:11px;text-decoration:underline}.full-list{padding:0 18px 12px}.data-row{display:flex;gap:16px;align-items:center;padding:15px 0;border-top:1px solid var(--rule)}.data-row:first-child{border-top:0}.data-row .identity{flex:1}.data-row strong{font-size:13px;font-weight:500;display:block}.data-row small{font-size:11px;color:var(--muted);display:block}.data-row .btn{font-size:12px;min-height:32px;padding:6px 12px}.list-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:0 18px 14px}.list-tools input{width:min(320px,100%);height:36px;padding:8px 12px;border:1px solid #d8dcd2;border-radius:5px;font-size:12px}.list-empty{padding:24px;color:var(--muted);font-size:13px}.secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.offer-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-top:1px solid var(--rule)}.offer-row>div{flex:1}.offer-row strong{font-size:14px;font-weight:500;display:block}.offer-row small{font-size:12px;color:var(--muted)}.offer-row .btn{font-size:12px;min-height:34px;padding:7px 10px}.dialog-note{font-size:12px;color:var(--muted);background:var(--raised);padding:12px;border-radius:5px}.dialog-list{padding-left:20px;font-size:14px}.dialog-list li{padding:5px 0}
@media(min-width:1600px){.app-sheet{padding:32px 36px}.today-layout{grid-template-columns:minmax(0,1fr) 360px}.court-row{height:34px}.bookings-table td{height:62px}.attention-row{padding:16px 18px}}
@media(max-width:1150px){.sidebar{transform:translateX(-100%);background:var(--bg);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 30px rgb(0 0 0 / .1)}.app-topbar{margin-left:0;padding:0 24px;height:56px}.mobile-menu{display:block;padding:6px}.app-sheet{margin:0 8px 8px;padding:24px}.today-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.main-column,.rail-column{gap:16px}.kpi{padding-left:16px}.kpi-value{font-size:25px}.kpi-label{font-size:11px}.bookings-table th:first-child{width:36%}.booking-person .avatar{display:none}.snapshot{font-size:11px}}
@media(max-width:800px){.today-layout{grid-template-columns:1fr}.rail-column{grid-template-columns:1fr 1fr}.attention-panel{grid-column:1/-1;grid-row:1}.attention-rows{display:grid;grid-template-columns:repeat(3,1fr)}.attention-row{border-top:0;border-left:1px solid var(--rule);padding:12px}.attention-row:first-child{border-left:0}.main-column{display:contents}.court-panel{grid-row:2}.bookings-panel{grid-row:3}.rail-column{display:contents}.attention-panel{grid-row:1}.week-panel{grid-row:4}.activity-panel{grid-row:5}.week-panel .revenue-chart{height:140px}.snapshot{display:none}.site-link{margin-left:auto}.secondary-grid{grid-template-columns:1fr}.kpi-strip{margin-bottom:16px}}
@media(max-width:520px){.app-topbar{padding:0 16px;gap:12px;height:52px}.site-link{font-size:0}.site-link .icon{width:16px;height:16px}.app-sheet{margin:0;border:0;border-radius:0;padding:22px 16px 16px}.page-header{align-items:flex-start;margin-bottom:20px}.page-header h1{font-size:24px}.page-header p{max-width:210px;font-size:11px;line-height:1.65}.page-header p span{padding:0 3px}.page-header .btn{font-size:11px;min-height:36px;padding:8px 10px;gap:5px}.kpi-strip{grid-template-columns:1fr 1fr;row-gap:18px;padding-bottom:18px}.kpi:nth-child(3){padding-left:0;border-left:0}.kpi-value{font-size:26px}.kpi-label{font-size:12px}.kpi-sub{font-size:11px}.attention-rows{display:block}.attention-row{border-left:0;border-top:1px solid var(--rule);padding:12px 16px;display:grid;grid-template-columns:1fr auto;gap:0 8px}.attention-title{font-size:12px;grid-column:1}.attention-row p{grid-column:1;font-size:11px;margin-bottom:0}.attention-action{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:11px;max-width:67px;text-align:left;text-decoration:none;padding:8px 0;line-height:1.35}.attention-action .icon{display:none}.attention-panel .panel-heading{padding:14px 16px}.panel-heading h2{font-size:14px}.court-panel .schedule-scroll{padding:0 14px}.court-schedule{min-width:470px}.schedule-toolbar{padding:0 14px 12px}.schedule-toolbar>p{font-size:11px}.schedule-legend{gap:10px;padding:12px 14px;font-size:11px}.schedule-note{font-size:11px;padding:10px 14px}.bookings-table thead{display:none}.bookings-table,.bookings-table tbody{display:block}.bookings-table tr{display:grid;grid-template-columns:1fr auto;padding:10px 16px;border-top:1px solid var(--rule);gap:1px 8px;position:relative}.bookings-table td{display:block;border:0;height:auto;padding:0;font-size:11px}.bookings-table td:first-child{padding-left:0;grid-column:1;grid-row:1}.bookings-table td:nth-child(2){grid-column:1;grid-row:2;padding-left:0;font-size:11px;color:var(--muted)}.bookings-table td:nth-child(3){grid-column:1;grid-row:3;font-size:11px;color:var(--muted)}.bookings-table td:nth-child(4){grid-column:2;grid-row:1}.bookings-table td:last-child{grid-column:2;grid-row:2/4;padding:4px 0 0}.booking-person strong{font-size:12px}.booking-person small{font-size:11px}.booking-person .avatar{display:none}.row-checkin{min-height:32px;font-size:11px}.bookings-table .status{font-size:11px}.table-tabs button{font-size:12px;min-height:36px}.table-foot{font-size:11px;padding:10px 16px}.panel-heading button{font-size:11px;min-height:28px}.schedule-toolbar .segmented button{min-height:32px;font-size:11px}.app-footer{font-size:11px;gap:12px}.data-row{gap:10px}.data-row .btn{font-size:11px}.form-row{gap:10px}dialog{padding:24px}.list-tools{display:block}.list-tools input{width:100%;margin-bottom:8px}}

/* The first review exposed undersized metadata and a phone table width. */
@media(min-width:801px){.app-topbar{height:56px}.app-sheet{min-height:calc(100vh - 64px);padding-top:22px}.page-header{margin-bottom:18px}.kpi-strip{padding-bottom:16px;margin-bottom:17px}.panel-heading{padding:13px 18px 11px}.schedule-toolbar{padding-bottom:8px}.court-row{height:26px}.court-row.has-conflict{height:35px}.time-axis{height:22px}.schedule-legend{padding:9px 18px 11px}.schedule-note{padding:7px 18px}.attention-row{padding:11px 16px}.bookings-table td{height:52px}.bookings-table th{height:28px}.revenue-chart{height:102px}.no-show-line{padding:10px 18px}}
.bookings-table td:first-child{min-width:0}.booking-person strong{font-size:12px}.booking-person small{font-size:11px}.bookings-table th{font-size:11px}.court-booking{font-size:11px}.attention-row p{font-size:12px}.attention-title{font-size:13px}.attention-action{font-size:12px}.nav-item{font-size:14px}.page-header p{font-size:13px}.no-show-line{font-size:12px}
@media(max-width:520px){.bookings-table td:first-child{width:auto}.bookings-table .booking-person strong{white-space:normal}.bookings-table tr{grid-template-columns:minmax(0,1fr) auto;padding-top:12px;padding-bottom:12px}.bookings-table td:nth-child(2),.bookings-table td:nth-child(3){font-size:12px}.bookings-table td:nth-child(2){padding-top:3px}.attention-row p{font-size:12px}.page-header p{font-size:12px}.attention-action{font-size:12px;min-width:63px}.app-topbar{position:relative}.sidebar.open{width:min(300px,85vw)}.nav-item{min-height:44px}.manager small{font-size:12px}.court-row{height:32px}.court-booking{height:24px;line-height:19px}.court-track{height:28px}.court-row.has-conflict{height:44px}.court-booking.conflict.layer{top:17px;height:20px;line-height:15px}}
.bookings-table,.booking-person strong,.row-checkin,.panel-heading button,.panel-link,.attention-action,.page-header .btn,.table-tabs button,.kpi-label{font-size:13px}.booking-person small{font-size:12px}.court-label,.court-booking{font-size:12px}.attention-row p{font-size:13px}.table-foot,.schedule-note,.schedule-legend,.week-caption,.kpi-sub,.activity-row{font-size:12px}.attention-title{font-size:13px}.attention-row{padding-top:10px;padding-bottom:10px}.attention-panel .panel-heading .small{font-size:11px}.week-panel .no-show-line{margin-top:12px;border-bottom:1px solid var(--rule)}.week-panel .revenue-chart{margin-top:8px;margin-bottom:12px}.court-row.has-conflict{height:43px}.court-row.has-conflict .court-track{height:39px}.court-row.has-conflict .court-booking{height:18px;top:2px;font-size:11px;line-height:14px}.court-row.has-conflict .court-booking.layer{top:21px;height:17px}.page-header p{font-size:13px}.schedule-note{font-size:11px}.bookings-table .status{font-size:11px}.activity-row{font-size:12px}
@media(min-width:801px){.week-panel .revenue-chart{height:88px}.attention-row p{line-height:1.4}.attention-row{padding-top:9px;padding-bottom:9px}.attention-action{font-size:12px}.kpi-label{font-size:12px}.page-header .btn{font-size:12px}.bookings-table td{height:52px}}
@media(max-width:800px){.attention-title{font-size:12px}.attention-row p{font-size:12px}.attention-action{font-size:12px}.panel-heading button{font-size:12px}}
@media(max-width:520px){.bookings-table td:nth-child(2),.bookings-table td:nth-child(3){font-size:12px}.row-checkin{min-height:36px;font-size:12px}.court-label,.court-booking{font-size:12px}.page-header p{font-size:12px}.attention-action{font-size:12px}.court-schedule{min-width:500px}.schedule-scroll{padding-right:18px!important}.court-panel .schedule-scroll{padding-left:16px}.court-booking.clinic{max-width:70px}.table-foot{font-size:11px}.schedule-note{font-size:11px}.schedule-legend{font-size:11px}.panel-heading{padding-left:16px;padding-right:16px}}
