/* BigDill Core: Player's Corner and Coach's View. Builds on the BigDill theme's colors, type and cards. */

.preview-bar { background: var(--lime); color: var(--black); text-align: center; padding: 10px 16px; font-weight: 600; }
.pc-hero-row { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px !important; }
.pc-hero-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 420px; }
.pc-hero img { width: 120px; height: auto; }
.pc-signed { color: var(--off); font-size: 15px; }
.pc-signed a, .page-hero .pc-signed a { color: var(--lime); }

.pc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px; padding: 48px 24px 88px; }
.pc-nav { flex: 0 0 200px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 16px; }
.pc-nav a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-left: 4px solid transparent; }
.pc-nav a:hover { background: var(--white); border-left-color: var(--green); color: var(--black); }
.pc-side { flex: 0 0 260px; display: flex; flex-direction: column; gap: 10px; }
.pc-main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.coach .pc-main { gap: 28px; }
.pc-sec { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.pc-block { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.small { font-size: 15px; }

/* Banners */
.pc-banner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pc-banner > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.pc-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.focus-bar { background: var(--lime); border: 2px solid var(--black); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }

/* Coach posts as the student sees them */
.note { gap: 16px; }
.note-head { display: flex; flex-direction: column; gap: 2px; }
.note-body p { margin: 0 0 12px; }
.note-body p:last-child { margin-bottom: 0; }
.homework { background: var(--off); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.homework ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--black); border: 2px solid var(--black); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.photo-grid a { display: block; border: 2px solid var(--black); background: var(--off); aspect-ratio: 1 / 1; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 2px solid var(--black); text-decoration: none; background: var(--white); min-width: 0; }
.file-row span:nth-child(2) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-row small { color: var(--muted); white-space: nowrap; }
.file-ext { font-family: var(--head); font-weight: 700; background: var(--black); color: var(--lime); padding: 2px 8px; letter-spacing: 0.06em; }
.older > summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.older-list { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }

/* Lesson status chips */
.chip { display: inline-block; padding: 4px 10px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border: 2px solid var(--black); white-space: nowrap; }
.chip--completed { background: var(--green); color: var(--white); }
.chip--scheduled { background: var(--lime); color: var(--black); }
.chip--rescheduled { background: var(--white); color: var(--black); }
.chip--canceled_used { background: var(--black); color: var(--white); }
.chip--canceled_returned { background: var(--white); color: var(--black); border-style: dashed; }
.chip--refunded { background: var(--line); color: var(--black); }
.chip--not_scheduled { background: var(--off); color: var(--black); border-style: dashed; }
.chip--requested { background: var(--white); color: var(--green); border-color: var(--green); border-style: dashed; }
.lessons-table { min-width: 560px; }
.lessons-table td { vertical-align: top; }
.lessons-table td:first-child { white-space: nowrap; }
.side-note { padding: 14px 16px; color: var(--muted); font-size: 15px; }
.lessons-table tr.is-editing td { background: #F6FBD9; }
.overdue { color: #A3320B; font-size: 14px; font-weight: 600; }

/* Library */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.resource { padding: 0; gap: 0; box-shadow: 4px 4px 0 var(--black); }
.resource > summary { list-style: none; cursor: pointer; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.resource > summary::-webkit-details-marker { display: none; }
.resource-title { font-family: var(--head); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.resource-open { margin-top: 8px; font-weight: 600; color: var(--green); text-decoration: underline; }
.resource[open] .resource-open { display: none; }
.resource[open] { grid-column: 1 / -1; }
.resource-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.resource-body p { margin: 0; }
.resource[hidden] { display: none; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.account-grid .tile { background: var(--white); border: 2px solid var(--black); }
.card .account-grid .tile { background: var(--off); border: 0; }
.account-grid .strong { overflow-wrap: anywhere; }
.login-card { max-width: 460px; gap: 16px; }
.login-card form { display: flex; flex-direction: column; gap: 14px; }
.login-card form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.login-card label { font-weight: 600; font-size: 15px; }
.login-card input[type="text"], .login-card input[type="password"] { height: 48px; padding: 0 14px; border: 1px solid #8C938A; font: inherit; width: 100%; }
.login-card .login-remember { flex-direction: row; }
.login-card .login-remember label { font-weight: 400; }
.login-card input[type="submit"] { height: 50px; background: var(--black); color: var(--white); border: 0; border-radius: 2px; font: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }
.login-card input[type="submit"]:hover { background: var(--green); }

/* Coach's View */
.pc-side input[type="search"] { height: 46px; padding: 0 14px; border: 2px solid var(--black); font: inherit; width: 100%; background: var(--white); }
.student-list { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; padding: 2px 6px 6px 2px; }
.student { display: flex; flex-direction: column; min-height: 56px; padding: 8px 14px; border: 2px solid var(--black); background: var(--white); color: var(--black); text-decoration: none; justify-content: center; }
.student:hover { box-shadow: 3px 3px 0 var(--black); color: var(--black); }
.student.is-current { background: var(--black); color: var(--white); }
.student.is-current:hover { color: var(--white); }
.student-state { font-size: 14px; opacity: 0.8; }
.student[hidden] { display: none; }
.side-box { border: 2px solid var(--black); background: var(--white); scroll-margin-top: 16px; }
.side-box > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.side-box[open] > summary { border-bottom: 2px solid var(--black); }
.side-box form { padding: 16px; }
.student-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.student-head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.block-head > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; }
.tracker-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.tool > summary { list-style: none; }
.tool > summary::-webkit-details-marker { display: none; }
.tool[open] { flex: 1 1 100%; }
.tool[open] > summary { margin-bottom: 12px; }
.tool form, .edit-panel { background: var(--off); border: 2px solid var(--black); padding: 18px; }
.edit-panel h4 { margin: 0; font-family: var(--head); font-size: 24px; text-transform: uppercase; }
.remove-lesson { margin-top: -6px; }
.btn--outline { background: var(--white); color: var(--black); }
.btn--outline:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.row-card { background: var(--white); border: 2px solid var(--black); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.row-main { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-actions { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.row-actions form { margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--black); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: #A3320B; }

/* Private coach notes: striped edge so it never gets mistaken for something the student sees */
.private-box { background: #FBFDEB; border: 2px dashed var(--black); padding: 22px 24px; scroll-margin-top: 16px; }
.private-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.private-tag { background: var(--black); color: var(--lime); padding: 4px 10px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.private-note { background: var(--white); border: 1px solid var(--black); padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.private-text p { margin: 0 0 8px; }
.private-text p:last-child { margin-bottom: 0; }
.private-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 15px; font-weight: 600; }
.private-meta .muted { font-weight: 400; margin-right: auto; }
.private-meta form { margin: 0; }

/* Owner dashboard */
.owner-hero { display: flex; flex-direction: column; gap: 28px; }
.owner-hero .pc-hero-copy { flex: none; }
.link-card .h-sm { font-family: var(--head); font-weight: 700; text-transform: uppercase; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { border: 2px solid var(--white); padding: 14px 18px; color: var(--off); }
.stat-num { font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--lime); }
.owner-main { padding: 48px 24px 88px; display: flex; flex-direction: column; gap: 56px; }
.approval { align-items: flex-start; }
.approval-title { font-family: var(--head); font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1.1; }
.approval-note { background: var(--off); padding: 10px 14px; margin-top: 6px; }
.approval-note p { margin: 0 0 8px; }
.approval-note p:last-child { margin-bottom: 0; }
.coach-table, .comp-table { min-width: 600px; }
.coach-table td, .comp-table td { vertical-align: top; }
.coach-table form, .comp-table form { margin: 0; }
.link-card { flex: 1 1 230px; text-decoration: none; gap: 8px; box-shadow: 4px 4px 0 var(--black); }
.link-card:hover { box-shadow: 6px 6px 0 var(--green); color: var(--black); }
.bdc-fieldset { border: 1px dashed #8C938A; padding: 14px 16px 16px; margin: 0; }
.bdc-fieldset legend { font-weight: 600; font-size: 15px; padding: 0 6px; }
.student.is-waiting { border-style: dashed; background: var(--off); gap: 2px; padding-top: 10px; padding-bottom: 10px; }
.student.is-waiting form { margin: 2px 0 0; font-size: 14px; }
.apply-layout { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.apply-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.apply-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.apply-card { flex: 1 1 440px; }
@media (max-width: 860px) { .owner-main { padding: 32px 16px 56px; gap: 40px; } }

/* Lessons grouped by bundle */
table.bd.lessons-table tr.group-row td { background: var(--black); color: var(--white); padding: 8px 12px; white-space: normal; }
.group-name { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.group-row .muted { color: var(--off); margin-left: 10px; }
.resend-booking { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.notice-info { background: var(--white); }

/* Who's playing */
.players-tr td { padding-top: 0 !important; }
.lessons-table tr.players-tr td:first-child { white-space: normal; }
.players-box { border: 2px solid var(--black); background: var(--white); }
.players-box > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; }
.players-box:not([open]) { border-style: dashed; }
.players-box[open] > summary { border-bottom: 2px solid var(--black); background: var(--lime); }
.players-box .players-form { padding: 16px; }
.player-row { gap: 10px 14px; }
.edit-panel .players-form { gap: 12px; }
.edit-panel + .edit-panel { margin-top: -6px; }

/* Forms */
.bdc-form { display: flex; flex-direction: column; gap: 14px; }
.bdc-row { display: flex; flex-wrap: wrap; gap: 14px; }
.bdc-field { display: flex; flex-direction: column; gap: 6px; flex: 0 1 180px; min-width: 0; }
.bdc-form > .bdc-field { flex: none; }
.bdc-grow { flex: 1 1 240px; }
.bdc-narrow { flex: 0 0 110px; }
.bdc-field label, .bdc-label { font-weight: 600; font-size: 15px; }
.bdc-field input[type="text"], .bdc-field input[type="email"], .bdc-field input[type="tel"], .bdc-field input[type="url"], .bdc-field input[type="date"], .bdc-field input[type="time"], .bdc-field input[type="number"], .bdc-field select, .bdc-field textarea {
	width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #8C938A; border-radius: 0; font: inherit; background: var(--white); color: var(--black);
}
.bdc-field textarea { padding: 10px 12px; resize: vertical; }
.bdc-field input[type="file"] { font: inherit; padding: 12px; border: 2px dashed #9AA197; background: var(--white); width: 100%; }
.bdc-check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 16px; }
.bdc-check input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.bdc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.bdc-actions form { margin: 0; }
.bdc-form .btn { align-self: flex-start; }

@media (max-width: 860px) {
	.pc-layout { padding: 32px 16px 56px; gap: 24px; }
	.pc-nav { position: static; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; }
	.pc-nav a { border: 2px solid var(--black); background: var(--white); padding: 8px 12px; }
	.pc-nav a:hover { border-left-color: var(--black); }
	.pc-side { flex: 1 1 100%; }
	.student-list { max-height: 260px; }
	.pc-hero img { display: none; }
}

/* Lesson tables become stacked rows on a phone, so nothing is cut off. */
@media (max-width: 640px) {
	.lessons-table { min-width: 0; }
	.lessons-table thead { display: none; }
	.lessons-table tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.bd.lessons-table td, table.bd.lessons-table td:first-child, table.bd.lessons-table td:last-child { display: block; border: 0; padding: 2px 0; }
	table.bd.lessons-table td:empty { display: none; }
	table.bd.lessons-table tbody tr.group-row { padding: 0; border-bottom: 0; }
	table.bd.lessons-table tr.group-row td { padding: 8px 12px; }
	.lessons-table tbody tr.players-tr { padding-top: 0; }
	.lessons-table .chip { margin: 6px 0 2px; }
	.student-head .btn, .block-head .btn { align-self: flex-start; }
}

/* Payments */
.test-strip { background: var(--lime); border-bottom: 2px solid var(--black); padding: 8px 16px; text-align: center; font-weight: 600; font-size: 15px; }
.buy-wrap { display: flex; flex-direction: column; gap: 40px; }
.buy-block { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.buy-card { gap: 10px; }
.buy-rows { display: flex; flex-direction: column; margin-top: 6px; }
.buy-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #C9CEC6; }
.buy-row > div:first-child { flex: 1 1 auto; min-width: 0; }
.buy-price { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1; white-space: nowrap; }
.buy-price small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--muted); }
.buy-form { margin: 0; }
.buy-pick { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.buy-pick input { width: 20px; height: 20px; accent-color: var(--green); }
.buy-you { max-width: 720px; scroll-margin-top: 16px; }
.buy-more > summary { list-style: none; display: inline-flex; cursor: pointer; }
.buy-more > summary::-webkit-details-marker { display: none; }
.buy-more[open] > summary { margin-bottom: 16px; }
.buy-more { margin-bottom: 18px; }
.terms { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.member-box, .plan-box { gap: 10px; scroll-margin-top: 16px; }
.member-box p, .plan-box p { margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 6px 0; }
.plan-tile { gap: 8px; border: 2px solid transparent; }
.plan-tile.is-current { border-color: var(--black); background: #F6FBD9; }
.plan-only { display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.pay-state { padding: 6px 12px; border: 2px solid var(--black); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; background: var(--white); }
.pay-state.is-test { background: var(--lime); }
.pay-state.is-live { background: var(--green); color: var(--white); }
.price-field { flex: 1 1 130px; }
.money, .pct { display: flex; align-items: center; gap: 6px; }
.money::before { content: "$"; font-weight: 600; }
.pct::after { content: "%"; font-weight: 600; }
.money input { width: 100%; min-width: 0; }
.pct input { width: 84px; height: 42px; padding: 0 10px; border: 1px solid #8C938A; font: inherit; }
.side-box code { overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 520px) {
	.buy-row { flex-wrap: wrap; }
	.buy-price { font-size: 24px; }
}

/* Quick actions under the Player's Corner welcome */
.hero-buy { align-self: center; font-size: 18px; }
.quick-bar { background: var(--black); padding: 0 24px 28px; margin-top: -32px; }
@media (max-width: 720px) { .quick-bar { padding: 0 16px 24px; margin-top: -24px; } }
.quick-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid var(--white); color: var(--white); text-decoration: none; }
.quick:hover { background: var(--white); color: var(--black); }
.quick--main { background: var(--lime); border-color: var(--lime); color: var(--black); }
.quick-title { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.quick-sub { font-size: 14px; opacity: 0.85; }
#buy { scroll-margin-top: 16px; }

/* ================= Player's Corner, polished (pc2) ================= */
.pc2-wrap { max-width: 1000px; margin: 0 auto; }
.pc2-hero { padding: 40px 24px 28px; }
.pc2-hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; }
.pc2-hello { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pc2-title { font-family: var(--head); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: clamp(38px, 7vw, 68px); line-height: 0.95; margin: 0; }
.pc2-hello-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.pc2-state { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; padding: 3px 10px; border: 2px solid var(--white); }
.pc2-state--active { background: var(--lime); border-color: var(--lime); color: var(--black); }
.pc2-state--paused { background: #F0A43A; border-color: #F0A43A; color: var(--black); }
.pc2-next { background: var(--lime); color: var(--black); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: 6px 6px 0 var(--green); }
.pc2-next.is-empty { background: var(--white); box-shadow: 6px 6px 0 var(--lime); }
.pc2-next p { margin: 4px 0 0; font-size: 16px; color: var(--black); }
.pc2-next-k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.pc2-next-date { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc2-next-day { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.pc2-next-big { font-family: var(--head); font-weight: 700; font-style: italic; font-size: 52px; line-height: 0.9; text-transform: uppercase; }
.pc2-next-none { font-family: var(--head); font-weight: 700; font-style: italic; font-size: 32px; line-height: 1; text-transform: uppercase; }
.pc2-next-line { font-size: 16px; font-weight: 600; }
.pc2-next-btn { align-self: flex-start; margin-top: 10px; }
.pc2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 26px; }
.pc2-stats > div, .pc2-stat-buy { border: 2px solid #4A4547; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--white); text-decoration: none; }
.pc2-stats b { font-family: var(--head); font-weight: 700; font-size: 38px; line-height: 1; color: var(--lime); }
.pc2-stats span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--off); }
.pc2-stat-buy { border-color: var(--lime); }
.pc2-stat-buy:hover { background: var(--lime); color: var(--black); }
.pc2-stat-buy:hover b, .pc2-stat-buy:hover span { color: var(--black); }
.pc2-hero + .quick-bar { margin-top: 0; padding-top: 0; }
/* Section bar: sticky along the top on bigger screens, along the bottom on phones */
.pc2-nav { position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; gap: 4px; background: var(--white); border-bottom: 2px solid var(--black); padding: 0 12px; }
.pc2-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; color: var(--black); border-bottom: 4px solid transparent; margin-bottom: -2px; }
.pc2-nav a.is-on { border-bottom-color: var(--green); color: var(--green); }
.pc2-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc2-layout { max-width: 1000px; margin: 0 auto; display: block; padding: 32px 24px 72px; }
.pc2-main { gap: 44px; }
.pc2-main .pc-sec { scroll-margin-top: 70px; }
.pc2-main .sec-head { display: flex; flex-direction: column; gap: 4px; border-bottom: 3px solid var(--black); padding-bottom: 10px; }
.pc2-main .sec-head .h-md { font-style: italic; }
/* Notes */
.pc2-main .note { border: 2px solid var(--black); box-shadow: 6px 6px 0 var(--black); padding: 22px; gap: 14px; }
.pc2-main .note:first-of-type { box-shadow: 6px 6px 0 var(--lime); }
.pc2-main .note-head .h-sm { font-size: 26px; }
.pc2-main .note-body { font-size: 18px; line-height: 1.55; }
.pc2-main .homework { background: #F6FBD9; border-left: 5px solid var(--green); padding: 12px 16px; }
.pc2-main .homework ul { margin: 6px 0 0; padding-left: 20px; }
.pc2-main .homework li { margin: 4px 0; font-size: 17px; }
.pc2-main details.older > summary { font-weight: 700; cursor: pointer; padding: 12px 0; text-transform: uppercase; letter-spacing: 0.05em; }
.pc2-main .older-list .note { box-shadow: none; }
.pc2-main .focus-bar { background: var(--black); color: var(--white); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.pc2-main .focus-bar a { color: var(--lime); }
/* Lessons as cards */
.pc2-main .table-scroll { overflow: visible; }
.pc2-main table.bd.lessons-table { min-width: 0; border: 0; background: none; border-collapse: separate; border-spacing: 0; }
.pc2-main .lessons-table thead { display: none; }
.pc2-main .lessons-table tbody { display: flex; flex-direction: column; gap: 10px; }
.pc2-main .lessons-table tbody tr { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 4px 16px; background: var(--white); border: 2px solid var(--black); padding: 14px 16px; align-items: start; }
.pc2-main table.bd.lessons-table td, .pc2-main table.bd.lessons-table td:first-child { display: block; padding: 0; border: 0; white-space: normal; background: none; }
.pc2-main .lessons-table td:nth-child(3) { grid-column: 3; }
.pc2-main .lessons-table td:nth-child(4) { grid-column: 1 / -1; display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 1px solid #DADDD6 !important; padding-top: 10px !important; margin-top: 6px; }
.pc2-main .lessons-table td:nth-child(4) div { display: inline; }
.pc2-main .lessons-table td:nth-child(4) a { font-weight: 600; }
.pc2-main .lessons-table td:empty { display: none; }
.pc2-main .lessons-table tbody tr.group-row { display: block; background: var(--black); color: var(--white); border-color: var(--black); margin-top: 14px; padding: 12px 16px; }
.pc2-main .lessons-table tbody tr.group-row:first-child { margin-top: 0; }
.pc2-main table.bd.lessons-table tr.group-row td { background: none; color: var(--white); padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pc2-main .group-name { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.pc2-bar { flex-basis: 100%; display: flex; height: 10px; background: #4A4547; margin-top: 8px; }
.pc2-bar i { display: block; height: 100%; }
.pc2-bar-used { background: var(--lime); }
.pc2-bar-booked { background: #8FB84A; }
.pc2-main .lessons-table tbody tr.players-tr { display: block; padding: 0; border-top: 0; margin-top: -12px; border-color: var(--black); }
.pc2-main .lessons-table tr.players-tr td { padding: 0 !important; border: 0 !important; margin: 0; display: block !important; }
.pc2-main .players-box > summary { padding: 12px 16px; font-weight: 700; cursor: pointer; background: #F6FBD9; }
.pc2-main .lessons-table .strong { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; }
/* Library */
.pc2-main .resource { box-shadow: 4px 4px 0 var(--black); }
.pc2-main .resource:hover { box-shadow: 4px 4px 0 var(--green); }
.pc2-main .lib-filter { display: flex; flex-wrap: wrap; gap: 8px; }
/* Account */
.pc2-main .account-grid .tile { box-shadow: 4px 4px 0 var(--black); }
.pc2-main .pc-banner { box-shadow: 6px 6px 0 var(--lime); }
@media (max-width: 760px) {
	.pc2-hero { padding: 28px 16px 22px; }
	.pc2-hero-in { grid-template-columns: 1fr; gap: 22px; }
	.pc2-next-big { font-size: 44px; }
	.pc2-stats { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); margin-top: 20px; gap: 8px; }
	.pc2-stats > div, .pc2-stat-buy { padding: 10px; }
	.pc2-stats span { font-size: 11px; }
	.pc2-stats b { font-size: 32px; }
	/* 0.13.1: the site-wide bottom bar sits at the bottom, so the sections strip stays at the top and scrolls sideways. */
	.pc2-nav { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 8px; gap: 0; }
	.pc2-nav::-webkit-scrollbar { display: none; }
	.pc2-nav a { flex: none; gap: 6px; padding: 12px 12px; font-size: 13px; position: relative; }
	.pc2-nav svg { width: 18px; height: 18px; }
	.pc2-nav .bdc-badge { margin-left: 2px; }
	.pc2-layout { padding: 22px 16px 40px; }
	.pc2-main .pc-sec { scroll-margin-top: 60px; }
	.pc2-main .lessons-table tbody tr { grid-template-columns: 1fr; }
	.pc2-main .lessons-table td:nth-child(3) { grid-column: auto; }
	.pc2-main .note { padding: 16px; }
	.pc2-main .note-body { font-size: 17px; }
}

/* ---------- Booking: the public page ---------- */
.book-wrap { display: flex; flex-direction: column; gap: 22px; max-width: 980px; }
.book-coaches, .book-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.book-filters { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: var(--white); border: 2px solid var(--black); }
.book-filter-k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; min-width: 72px; }
.book-chip { font: inherit; font-size: 15px; font-weight: 600; padding: 8px 14px; border: 2px solid var(--black); background: var(--white); color: var(--black); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.book-chip:hover { border-color: var(--green); color: var(--green); }
.book-chip.is-on { background: var(--black); color: var(--lime); }
.book-home { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--lime); color: var(--black); padding: 2px 6px; }
.book-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.book-day { background: var(--white); border: 2px solid var(--black); display: flex; flex-direction: column; }
.book-day[hidden] { display: none; }
.book-day-h { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--black); color: var(--white); }
.book-dow { font-family: var(--head); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--lime); }
.book-dnum { font-family: var(--head); font-weight: 700; font-style: italic; font-size: 26px; line-height: 1; text-transform: uppercase; }
.book-times { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.book-slot { font: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 9px 12px; background: var(--off); border: 2px solid transparent; cursor: pointer; text-align: left; color: var(--black); }
.book-slot[hidden] { display: none; }
.book-slot:hover { border-color: var(--green); }
.book-slot.is-on { background: var(--lime); border-color: var(--black); box-shadow: 4px 4px 0 var(--green); }
.book-t { font-weight: 700; font-size: 17px; }
.book-where { font-size: 13px; color: #5c5658; }
.one-loc .book-where { display: none; }
.book-none { grid-column: 1 / -1; }
.book-panel { background: var(--white); border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--lime); padding: 22px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.book-panel[hidden] { display: none; }
.book-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: flex-start; }
.book-panel-head > div { display: flex; flex-direction: column; gap: 4px; }
.book-panel-k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); }
.book-panel-when { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.book-panel-where { font-weight: 600; }
.book-fac { background: var(--off); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; border-left: 6px solid var(--green); }
.book-fac[hidden], .book-res[hidden], .book-how[hidden] { display: none; }
.book-fac p { margin: 0; }
.book-fac-how { white-space: pre-line; font-weight: 600; }
.book-fac-how:empty { display: none; }
.book-fac-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.book-fac-btns [hidden] { display: none; }
.book-how > div { display: flex; flex-direction: column; gap: 8px; }
.book-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid #d8d4d5; cursor: pointer; }
.book-opt:has(input:checked) { border-color: var(--black); background: #f6fbe0; }
.book-opt input { margin-top: 4px; accent-color: var(--green); }
.book-opt span { display: flex; flex-direction: column; gap: 2px; }
.book-opt small { color: #5c5658; font-size: 14px; }
.book-res { font-weight: 600; }
.book-go { align-self: flex-start; }
.book-fine:empty { display: none; }
.book-call { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--black); color: var(--white); border-left: 6px solid var(--lime); }
.book-call a { color: var(--lime); font-weight: 700; }
.book-empty p { margin: 0; }
.pc2-next.is-waiting { background: var(--white); box-shadow: 6px 6px 0 var(--lime); border: 2px dashed var(--black); }
@media (max-width: 640px) {
	.book-days { grid-template-columns: 1fr; }
	.book-times { flex-direction: row; flex-wrap: wrap; }
	.book-slot { width: auto; flex: 1 1 calc(50% - 6px); }
	.book-panel { padding: 16px; box-shadow: 5px 5px 0 var(--lime); }
	.book-panel-when { font-size: 23px; }
	.book-filter-k { min-width: 0; width: 100%; }
}

/* ---------- Booking: the Coach's View ---------- */
.bdc-requests { border-left: 6px solid var(--lime); }
.bdc-req .row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.bdc-decline { position: relative; }
.bdc-decline summary { list-style: none; cursor: pointer; }
.bdc-decline summary::-webkit-details-marker { display: none; }
.bdc-decline[open] form { margin-top: 10px; min-width: 260px; }
.bdc-avail { gap: 14px; }
.bdc-week { display: flex; flex-direction: column; border: 2px solid var(--black); }
.bdc-block { display: grid; grid-template-columns: 110px 1fr 1fr auto; gap: 6px 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #d8d4d5; }
.bdc-block:last-child { border-bottom: 0; }
.bdc-block.is-off { background: #f8eeee; }
.bdc-days { display: flex; flex-wrap: wrap; gap: 6px; }
.bdc-day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bdc-day span { display: inline-block; padding: 8px 12px; border: 2px solid var(--black); font-weight: 700; cursor: pointer; min-width: 52px; text-align: center; }
.bdc-day input:checked + span { background: var(--black); color: var(--lime); }
.bdc-day input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.bdc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bdc-tags:empty { display: none; }
.bdc-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 8px; background: var(--off); border: 1px solid #cfcacb; }
.bdc-ranks { display: flex; flex-direction: column; gap: 6px; }
.bdc-rank { display: flex; align-items: center; gap: 10px; }
.bdc-rank input { width: 64px; }
.bdc-invite-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; padding: 10px 0; }
.bdc-loc-form { border-left: 6px solid var(--green); }
@media (max-width: 640px) {
	.bdc-block { grid-template-columns: 1fr auto; }
	.bdc-block .muted { grid-column: 1 / -1; }
}
.bdc-wday { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; align-items: start; padding: 10px 14px; border-bottom: 1px solid #d8d4d5; }
.bdc-wday:last-child { border-bottom: 0; }
.bdc-wday > .strong { padding-top: 6px; }
.bdc-wblocks { display: flex; flex-wrap: wrap; gap: 6px; }
.bdc-wblock { display: inline-flex; align-items: center; gap: 6px; background: var(--off); border: 1px solid #cfcacb; padding: 4px 4px 4px 10px; font-size: 15px; }
.bdc-x { font: inherit; font-size: 18px; line-height: 1; width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; color: var(--black); }
.bdc-x:hover { background: var(--black); color: var(--lime); }
.book-days > .book-panel { grid-column: 1 / -1; }
@media (max-width: 640px) { .bdc-wday { grid-template-columns: 1fr; } .bdc-wday > .strong { padding-top: 0; } }
.bdc-fac-fields[hidden] { display: none; } .bdc-fac-fields { display: flex; flex-direction: column; gap: 14px; }

/* Start fresh */
.fresh-box .card { border-color: #A3320B; }
.fresh-list { display: flex; flex-direction: column; gap: 8px; }
.fresh-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #d8d4d5; cursor: pointer; }
.fresh-row:has(input:checked) { border-color: #A3320B; background: #fbf1ee; }
.fresh-row input { margin-top: 4px; accent-color: #A3320B; }
.fresh-row span { display: flex; flex-direction: column; gap: 2px; }
.fresh-row small { color: #5c5658; font-size: 14px; }
.fresh-go { background: #A3320B; border-color: #A3320B; align-self: flex-start; }
.orphan-list { gap: 0; padding: 0; }
.orphan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #d8d4d5; }
.orphan-row:last-child { border-bottom: 0; }
.orphan-row form { margin: 0; }
.delete-student { margin-top: 12px; }
.delete-student summary { color: #A3320B; }
.book-tz { margin: 0 0 -10px; font-size: 14px; font-weight: 600; color: #5c5658; }

/* Session sign-up */
.seat-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.seat-form { gap: 14px; }
.seat-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid #d8d4d5; cursor: pointer; }
.seat-opt:has(input:checked) { border-color: var(--black); background: #f6fbe0; }
.seat-opt.is-off { opacity: 0.55; }
.seat-opt input { margin-top: 4px; accent-color: var(--green); }
.seat-opt span, .seat-day span { display: flex; flex-direction: column; gap: 2px; }
.seat-opt small, .seat-day small { color: #5c5658; font-size: 14px; }
.seat-dates-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.seat-dates-pick.is-off { opacity: 0.5; }
.seat-day { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--black); background: var(--white); cursor: pointer; }
.seat-day:has(input:checked) { background: var(--lime); }
.seat-day.is-full { opacity: 0.5; cursor: not-allowed; }
.seat-day input { margin-top: 4px; accent-color: var(--green); }
.seat-go:disabled { opacity: 0.6; cursor: not-allowed; }
.seat-done { gap: 10px; border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--lime); }
.seat-done p { margin: 0; }
.seat-done-k { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); }
.seat-box { gap: 12px; }
.seat-box > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.seat-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.seat-date { background: var(--off); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.seat-acts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.seat-acts form { margin: 0; }
.access-tag { display: inline-block; padding: 2px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1.5px solid currentColor; }

/* ---------- Messages ---------- */
.bdm-wrap { padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.bdm-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.bdm-tabs a { padding: 8px 16px; border: 2px solid var(--black, #231F20); font-weight: 700; text-decoration: none; color: var(--black, #231F20); }
.bdm-tabs a.is-on { background: var(--black, #231F20); color: var(--lime, #D9F24B); }
.bdm-grid { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; border: 3px solid var(--black, #231F20); background: #fff; min-height: 460px; }
.bdm-list { border-right: 2px solid var(--line, #DADAD6); overflow-y: auto; max-height: 640px; }
.bdm-empty { padding: 18px; }
.bdm-item { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 18px 14px 16px; border-bottom: 1px solid var(--line, #E3E3DF); text-decoration: none; color: inherit; border-left: 4px solid transparent; }
.bdm-item:hover { background: #F6F7F2; }
.bdm-item.is-current { background: #F1F6E0; border-left-color: var(--green, #2E6B34); }
.bdm-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.bdm-time { font-size: 13px; color: var(--muted, #6B6F6C); white-space: nowrap; }
.bdm-snip { font-size: 14px; color: var(--muted, #6B6F6C); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdm-item.is-unread .bdm-snip { color: var(--black, #231F20); font-weight: 600; }
.bdm-dot { position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #E2533B; transform: translateY(-50%); }
.bdm-panel { display: flex; flex-direction: column; min-width: 0; }
.bdm-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 2px solid var(--line, #DADAD6); }
.bdm-head .small { font-size: 14px; }
.bdm-backlink { display: none; font-weight: 700; }
.bdm-msgs { flex: 1; overflow-y: auto; max-height: 520px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; background: #FAFBF7; }
.bdm-msg { max-width: 78%; align-self: flex-start; display: flex; flex-direction: column; gap: 4px; }
.bdm-msg.is-me { align-self: flex-end; align-items: flex-end; }
.bdm-bubble { background: #fff; border: 2px solid var(--black, #231F20); padding: 10px 14px; line-height: 1.45; overflow-wrap: anywhere; }
.bdm-msg.is-me .bdm-bubble { background: var(--lime, #D9F24B); }
.bdm-meta { font-size: 12px; color: var(--muted, #6B6F6C); }
.bdm-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green, #2E6B34); }
.bdm-reply { display: flex; gap: 10px; align-items: flex-end; padding: 14px 20px; border-top: 2px solid var(--line, #DADAD6); }
.bdm-reply textarea { flex: 1; min-height: 64px; }
.bdm-new { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.bdm-new select, .bdm-new textarea { width: 100%; box-sizing: border-box; }
.bdm-blank { display: flex; align-items: center; justify-content: center; flex: 1; padding: 30px; text-align: center; }
.bdm-privacy { margin: 0; }
.bdm-prefs { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.bdm-prefs .btn { align-self: flex-start; }
.bdc-msgcard.has-new { border-color: #E2533B; box-shadow: 6px 6px 0 #E2533B; }
@media (max-width: 760px) {
	.bdm-grid { grid-template-columns: 1fr; min-height: 0; }
	.bdm-list { border-right: 0; max-height: none; }
	.bdm-grid.is-open .bdm-list { display: none; }
	.bdm-grid:not(.is-open) .bdm-panel { display: none; }
	.bdm-backlink { display: inline; }
	.bdm-msgs { max-height: 60vh; padding: 14px; }
	.bdm-msg { max-width: 88%; }
	.bdm-reply { flex-direction: column; align-items: stretch; padding: 12px 14px; }
}

/* ---------- Announcements ---------- */
.bda .card { margin-top: 14px; }
.bda-form { display: flex; flex-direction: column; gap: 8px; }
.bda-form .bdc-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.bda-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.bda-form select, .bda-form input[type=text], .bda-form textarea { width: 100%; box-sizing: border-box; }
.bda-form .btn { align-self: flex-start; }
.bda-email { border: 2px dashed var(--line, #C9CBC5); padding: 14px; background: #FAFBF7; margin: 10px 0; }
.bda-email pre { white-space: pre-wrap; font: inherit; margin: 10px 0 0; }
.bda-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bda-actions form { margin: 0; }
.bda-hist table { width: 100%; }
.bda-corner { display: flex; flex-direction: column; gap: 10px; }
.bda-corner summary { cursor: pointer; }
.bda-form input[type=text], .bda-form textarea, .bda-form select, .bdm-new textarea, .bdm-new select, .bdm-reply textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--black, #231F20); border-radius: 0; background: #fff; }
.bdc-linkcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.bdc-linkcard .go { font-weight: 600; text-decoration: underline; color: var(--green, #2E6B34); }

/* Account credit */
.bdc-credit { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.bdc-credit-bal { display: flex; flex-direction: column; min-width: 120px; }
.bdc-credit-bal b { font-family: var(--head, inherit); font-size: 34px; line-height: 1; }
.bdc-credit-bal span { color: var(--muted, #4A4F4C); font-size: 14px; }
.bdc-credit-log { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; min-width: 0; font-size: 14px; }
.bdc-credit-log li { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line, #D9DDD4); }
.bdc-credit-log .is-plus { color: var(--green, #2E6B34); }
.bdc-credit-log .is-minus { color: var(--muted, #4A4F4C); }
.buy-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.buy-for select { min-width: 160px; }
.bdc-kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 14px; }
.bdc-kid { display: flex; flex-direction: column; gap: 10px; }
.bdc-kid-top { display: flex; flex-direction: column; gap: 2px; }
.bdc-kid-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.bdc-kid-more summary, .bdc-kid-add summary { cursor: pointer; font-weight: 600; }
.bdc-kid-more form, .bdc-kid-add form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bdc-kid-more form + form { border-top: 1px solid var(--line, #D9DDD4); padding-top: 10px; }

/* ---------- Test run (before launch) ---------- */
.bdtr-wrap { display: flex; flex-direction: column; gap: 18px; padding-block: 28px 60px; max-width: 820px; }
.bdtr-top { display: flex; flex-direction: column; gap: 14px; }
.bdtr-parts { display: flex; border: 2px solid var(--black); }
.bdtr-parts form { flex: 1; display: flex; margin: 0; }
.bdtr-part { flex: 1; font: inherit; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 12px 10px; border: 0; background: var(--white); color: var(--black); cursor: pointer; text-align: center; text-decoration: none; }
.bdtr-part.is-on { background: var(--black); color: var(--lime); }
.bdtr-prog { height: 12px; border: 2px solid var(--black); background: var(--white); }
.bdtr-prog i { display: block; height: 100%; background: var(--lime); }
.bdtr-progtext { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.bdtr-before { display: flex; flex-direction: column; gap: 6px; background: #F3F5EE; padding: 12px 14px; }
.bdtr-code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .05em; background: var(--white); padding: 1px 6px; border: 1px solid var(--black); white-space: nowrap; user-select: all; }
.bdtr-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bdtr-step { display: flex; flex-direction: column; gap: 10px; border-left: 10px solid var(--line); }
.bdtr-step[data-s="pass"] { border-left-color: #2F7D32; }
.bdtr-step[data-s="issue"] { border-left-color: #B3261E; }
.bdtr-step[data-s="skip"] { border-left-color: #9AA096; }
.bdtr-step-h { display: flex; align-items: center; gap: 10px; }
.bdtr-num { flex: none; min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--lime); color: var(--black); border: 2px solid var(--black); }
.bdtr-do { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 3px; }
.bdtr-look { border: 1px dashed var(--muted); padding: 10px 12px; font-size: 15px; }
.bdtr-look b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bdtr-acts { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bdtr-act { position: relative; cursor: pointer; }
.bdtr-act input { position: absolute; opacity: 0; inset: 0; }
.bdtr-act span { display: inline-block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; padding: 9px 16px; border: 2px solid var(--black); background: var(--white); }
.bdtr-act input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.bdtr-act--pass input:checked + span { background: #E3F2DC; border-color: #2F7D32; color: #2F7D32; }
.bdtr-act--issue input:checked + span { background: #FBE4E1; border-color: #B3261E; color: #B3261E; }
.bdtr-act--skip input:checked + span { background: #ECEDE7; }
.bdtr-acts[disabled] .bdtr-act { cursor: default; opacity: .55; }
.bdtr-note { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.bdtr-note textarea, .bdtr-copy textarea { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 2px solid var(--black); }
.bdtr-savebar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--white); border-top: 2px solid var(--black); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.bdtr-copy, .bdtr-owner { display: flex; flex-direction: column; gap: 10px; }
.bdtr-tbl { overflow-x: auto; }
.bdtr-probs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bdtr-probs li { border-left: 6px solid #B3261E; background: #FBE4E1; padding: 10px 12px; }
.bdtr-probs li span { display: block; font-size: 13px; color: var(--muted); }
.bdtr-owner-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bdtr-owner-acts form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.bdtr-paper { display: flex; gap: 24px; font-weight: 700; font-size: 17px; }
.bdtr-lines { min-height: 64px; border-bottom: 1px solid var(--black); background: repeating-linear-gradient(transparent 0 30px, #C9CDC4 30px 31px); font-size: 13px; color: var(--muted); }
.bdc-tr-link .bdc-linkcard { border: 2px dashed var(--black); background: var(--lime); }
.bdtr-print .pc-signed { display: none; }
@media print {
	.site-header, .site-footer, .bdtr-parts, header, footer, .test-bar, #wpadminbar { display: none !important; }
	.bdtr-step { break-inside: avoid; box-shadow: none !important; }
	.page-hero { padding: 8px 0 !important; background: none !important; color: #000 !important; }
	.bdtr-wrap { padding-block: 0; }
}
.bdtr-print.page-hero .eyebrow { color: var(--black); }
.bdtr-print .bdtr-steps, .bdtr-print.bdtr-wrap { display: block; }
.bdtr-print .bdtr-step, .bdtr-print .bdtr-top { display: block; margin-bottom: 12px; box-shadow: none; }
.bdtr-print .bdtr-step > * + * { margin-top: 8px; }
.bdtr-print .bdtr-step { break-inside: avoid; }
.bdtr-note[hidden] { display: none; }

/* ---------- Free accounts ---------- */
.bdsu-wrap { padding-block: 28px 60px; }
.bdsu-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 820px) { .bdsu-grid { grid-template-columns: 1fr; } }
.bdsu-card { display: flex; flex-direction: column; gap: 14px; }
.bdsu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .bdsu-row { grid-template-columns: 1fr; } }
.bdsu-form .bdsu-field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; margin: 0; }
.bdsu-form .bdsu-field small { font-weight: 400; }
.bdsu-form input[type=text], .bdsu-form input[type=email], .bdsu-form input[type=password] { width: 100%; font: inherit; font-weight: 400; padding: 11px 12px; border: 2px solid var(--black); background: var(--white); }
.bdsu-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.bdsu-form .check input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.bdsu-form .btn { align-self: flex-start; }
.bdsu-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bdsu-what ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.bdsu-done { max-width: 640px; }
.bdc-free-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .bdc-free-grid { grid-template-columns: 1fr; } }
.bdc-login-free { background: var(--lime); padding: 10px 12px; border: 2px solid var(--black); }

/* ---------- Library ---------- */
.lib { display: flex; flex-direction: column; gap: 16px; }
.lib-tools { display: flex; flex-direction: column; gap: 10px; }
.lib-search input { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--black); background: var(--white); }
.lib-selects { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-selects label { flex: 1 1 160px; min-width: 0; }
.lib-selects select { width: 100%; font: inherit; padding: 9px 10px; border: 2px solid var(--black); background: var(--white); }
.lib-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lib-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border: 1.5px solid var(--black); background: var(--white); color: var(--black); }
.lib-badge--new { background: var(--lime); }
.lib-badge--done { background: #E3F2DC; border-color: var(--green); color: var(--green); }
.lib-card.is-done { opacity: 0.92; }
.lib-desc { display: flex; flex-direction: column; gap: 10px; }
.lib-desc p { margin: 0; }
.lib-desc ul, .lib-desc ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.lib-acts { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.lib-acts [aria-pressed="true"] { background: var(--black); color: var(--lime); }
.lib-none { margin: 0; }
.lib-signin { margin: 0; background: #F3F5EE; padding: 10px 12px; }
.lib-programs { display: flex; flex-direction: column; gap: 8px; }
.lib-programs p { margin: 0; }
.lib-prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.lib-prog { padding: 0; box-shadow: 4px 4px 0 var(--lime); border-color: var(--black); }
.lib-prog > summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.lib-prog > summary::-webkit-details-marker { display: none; }
.lib-prog[open] { grid-column: 1 / -1; }
.lib-prog-bar { height: 10px; border: 2px solid var(--black); background: var(--white); }
.lib-prog-bar i { display: block; height: 100%; background: var(--lime); }
.lib-prog-list { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.lib-prog-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.lib-prog-list li::marker { font-weight: 700; }
.lib-prog-list li.is-done a { text-decoration: line-through; color: var(--muted); }
.lib-tick { color: var(--green); font-weight: 800; }
.lib-unlock { display: flex; flex-direction: column; gap: 12px; background: var(--black); color: var(--white); border-color: var(--black); }
.lib-unlock .kicker { color: var(--lime); }
.lib-unlock p { margin: 6px 0 0; color: #E9ECE5; }
.lib-unlock .muted { color: #C9CEC6; }
.lib-unlock a:not(.btn) { color: var(--lime); }
.lib-unlock .btn--outline { border-color: var(--white); color: var(--white); background: transparent; }
.lib-sub { margin: 8px 0 0; }
.lib-card.is-locked { box-shadow: none; border-style: dashed; background: #FAFBF7; }
.lib-locked-in { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.lib-lock { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 13px; color: var(--muted); }
.lib-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.bdl-wrap { padding: 28px 24px 60px; }
@media (max-width: 600px) { .bdl-wrap { padding-inline: 16px; } }
.note-lib li a { font-weight: 700; }
/* Coach's View */
.bdc-topics { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.bdc-topics legend { width: 100%; }
.bdc-libpick > summary { cursor: pointer; font-weight: 600; }
.bdc-libpick-q { width: 100%; margin: 8px 0; font: inherit; padding: 8px 10px; border: 2px solid var(--black); }
.bdc-libpick-list, .bdc-series-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; background: var(--white); }
.bdc-series-list { max-height: 360px; }
.bdc-series-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; }
.bdc-series-row input { width: 64px; font: inherit; padding: 6px; border: 2px solid var(--black); }
.bdc-libmail { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--lime); border-color: var(--black); }
.bdc-libmail form { margin: 0; }
.bdc-lib-stat { color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 520px) { .bdc-series-row { grid-template-columns: 56px 1fr; } .bdc-series-row .muted { grid-column: 2; } }

/* ---------- 0.13.0 ---------- */
/* Child sign-in name, easy to read and copy. */
.bdc-kid-login { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--off); border-left: 5px solid var(--lime); padding: 10px 12px; }
.bdc-kid-login-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); width: 100%; }
.bdc-kid-login code { font: 700 20px/1.2 ui-monospace, Menlo, Consolas, monospace; background: var(--white); border: 2px solid var(--black); padding: 4px 10px; }
.bdc-kid-login small { width: 100%; }

/* Library: search button, filters-on bar, Saved note. */
.lib-search { display: flex; gap: 8px; margin: 0; }
.lib-search input { flex: 1 1 auto; min-width: 0; }
.lib-search .btn { flex: 0 0 auto; }
.lib-search[hidden], .lib-selects[hidden] { display: none; }
.lib-selects select.is-set { background: #f6fbe0; border-color: var(--green); }
.lib-on { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: #f6fbe0; border: 2px solid var(--green); padding: 8px 12px; font-weight: 600; font-size: 15px; }
.lib-on[hidden], .lib-saved-note[hidden] { display: none; }
.lib-saved-note { margin: 0; }

/* Who's playing: the quick answers first. */
.players-quick { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line, #D9DDD4); }

/* Availability rules. */
.bdc-rule { display: block; font-size: 12px; color: #5c5658; }
.bdc-wblock.is-off { background: #fbe9e9; border-color: #e3bcbc; }
.bdc-wblock.is-ended { opacity: .55; }

/* Book a lesson: next available, day/time filters, month view, notify me. */
.book-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.book-top .book-next[hidden] { display: none; }
.book-chip--sm { padding: 7px 10px; min-width: 52px; justify-content: center; }
.book-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.book-cal:empty { display: none; }
.book-month { background: var(--white); border: 2px solid var(--black); padding: 12px; }
.book-month-h { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 18px; margin-bottom: 8px; }
.book-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.book-wd { font-size: 11px; font-weight: 700; color: #5c5658; padding-bottom: 2px; }
.book-cd { position: relative; font: inherit; font-size: 14px; padding: 7px 0 9px; border: 0; background: transparent; color: #a8a3a4; }
.book-cd.past { color: #d0cccd; }
.book-cd.has { color: var(--black); font-weight: 700; background: var(--off); cursor: pointer; }
.book-cd.has i { position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--green); }
.book-cd.has:hover, .book-cd.has:focus-visible { background: var(--lime); }
.book-day { scroll-margin-top: 16px; }
.book-day.flash { animation: bookflash 1.4s ease; }
@keyframes bookflash { 0%, 40% { box-shadow: 0 0 0 4px var(--lime); } 100% { box-shadow: none; } }
.book-none { display: flex; flex-direction: column; gap: 10px; }
.book-none p { margin: 0; }
.book-watch { display: flex; flex-direction: column; gap: 8px; background: var(--off); border-left: 5px solid var(--green); padding: 12px 14px; margin-top: 6px; }
.book-watch-more { margin-top: 8px; }
.book-watch-more summary { cursor: pointer; font-weight: 600; color: var(--green); }
/* Player's Corner lessons: clear space between bundles (Dani, test run). */
.pc2-main .lessons-table tbody tr.group-row { margin-top: 30px; }
.pc2-main .lessons-table tbody tr.players-tr { margin-bottom: 4px; }
.pc2-main .lessons-table tbody tr.group-row:first-child { margin-top: 0; }
.bdc-form [hidden], .bdc-avail [hidden] { display: none !important; }

/* 0.14.0: DUPR ID on the account */
.bdc-dupr { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.bdc-dupr-row { display: flex; flex-direction: column; gap: 6px; }
.bdc-dupr-row input { font: inherit; font-size: 18px; letter-spacing: .06em; padding: 10px 12px; border: 2px solid var(--black, #231F20); max-width: 220px; text-transform: uppercase; }
.bdc-dupr p { margin: 0; }
.bdc-dupr .btn { align-self: flex-start; }

/* 0.15.0: promo codes */
.bdc-promo { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; max-width: 520px; }
.bdc-promo-row { display: flex; gap: 8px; }
.bdc-promo-row input { flex: 1; min-width: 0; font: inherit; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; padding: 9px 12px; border: 2px solid var(--black, #231F20); }
.bdc-promo p { margin: 0; }
.bdc-promos tr.is-off td { color: #8a8f8b; }
.bdc-promo-acts { white-space: nowrap; }
.bdc-promo-acts form { display: inline; margin-left: 8px; }
.bdc-promo-val { display: flex; gap: 6px; }
.bdc-promo-val select { width: auto; }
.bdc-promo-form .bdc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.bdc-promo-form .check { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; }
.bdc-num { width: 90px; display: inline-block; }

/* 0.16.0: teams */
.bdt-wrap { padding: 28px 24px 72px; display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.bdt-nav { max-width: 900px; padding-left: 24px; padding-right: 24px; display: flex; gap: 6px 18px; flex-wrap: wrap; padding-top: 16px; font-weight: 600; font-size: 15px; }
.bdt-nav a { text-decoration: none; border-bottom: 3px solid var(--lime); }
.bdt-hero .eyebrow a { color: inherit; }
.bdt-teams, .bdt-corner { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.bdt-team-card { display: flex; flex-direction: column; gap: 6px; }
.bdt-cc { display: flex; flex-direction: column; gap: 12px; }
.bdt-cc-head { display: flex; flex-direction: column; gap: 2px; }
.bdt-cc-head a { text-decoration: none; }
.bdt-cc-next { display: flex; flex-direction: column; gap: 2px; }
.bdt-cc .btn { align-self: flex-start; }
.bdt-counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.bdt-count b { font-size: 18px; }
.bdt-next { display: flex; gap: 20px; flex-direction: row; align-items: flex-start; }
.bdt-next-date { flex: 0 0 auto; background: var(--black); color: var(--lime); text-align: center; padding: 10px 14px; display: flex; flex-direction: column; min-width: 84px; }
.bdt-next-date span { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 14px; color: #fff; }
.bdt-next-date b { font-family: var(--head); font-size: 28px; line-height: 1.05; }
.bdt-next-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bdt-next-line { font-weight: 600; }
.bdt-more { font-weight: 600; }
.bdt-notes p, .bdt-recap p, .bdt-about p { margin: 0 0 10px; }
.bdt-notes ul, .bdt-notes ol, .bdt-recap ul, .bdt-recap ol, .bdt-about ul { margin: 0 0 10px; padding-left: 22px; }
.bdt-label { display: block; margin-bottom: 6px; }
.bdt-rsvp { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bdt-rsvp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bdt-rsvp-btns .btn { min-width: 128px; justify-content: center; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.bdt-rsvp.has-a .btn:not(.is-on) { background: #fff; color: var(--black); }
.bdt-rsvp .bdt-in.is-on { background: var(--lime); color: var(--black); }
.bdt-rsvp .bdt-out.is-on { background: var(--black); color: #fff; }
.bdt-rsvp-now { margin: 0; font-weight: 700; }
.bdt-rsvp-now.is-in { color: var(--green); }
.bdt-rsvp-note { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; }
.bdt-rsvp-note input { font: inherit; font-weight: 400; min-height: 44px; padding: 0 12px; border: 1px solid #8C938A; max-width: 420px; }
.bdt-for { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin-top: 6px; }
.bdt-answer { gap: 12px; }
.bdt-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.bdt-who ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bdt-who li { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.bdt-mark { display: inline-flex; gap: 8px; margin: 0; }
.bdt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bdt-row a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #fff; border: 2px solid var(--black); text-decoration: none; color: var(--black); }
.bdt-row a:hover { box-shadow: 4px 4px 0 var(--green); }
.bdt-row.is-canceled a { border-style: dashed; opacity: .75; }
.bdt-row-date { display: flex; flex-direction: column; min-width: 58px; line-height: 1.1; }
.bdt-row-date b { font-family: var(--head); font-size: 20px; }
.bdt-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bdt-row-t { font-weight: 600; }
.bdt-row-tag { flex: 0 0 auto; }
.bdt-older > summary { cursor: pointer; font-weight: 600; margin: 8px 0; }
.bdt-roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.bdt-roster li { background: #fff; border: 2px solid var(--black); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bdt-roster li form { margin: 0; }
.bdt-roster-n { font-weight: 600; overflow-wrap: anywhere; }
.bdt-roster .muted { overflow-wrap: anywhere; }
.bdt-invited { display: flex; flex-direction: column; gap: 8px; }
.bdt-invited .bdt-roster li { border-style: dashed; }
.bdt-detail { gap: 16px; }
.bdt-dl { margin: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.bdt-dl dt { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.bdt-dl dd { margin: 2px 0 0; }
.bdt-canceled { background: var(--off); border-style: dashed; }
.bdt-drill-links ul { margin: 6px 0 0; padding-left: 20px; }
.bdt-drills { border: 1px dashed #8C938A; padding: 10px 14px; }
.bdt-drills > summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.bdt-drill-q { width: 100%; box-sizing: border-box; min-height: 42px; margin: 10px 0; padding: 0 12px; border: 1px solid #8C938A; font: inherit; }
.bdt-drill-list { max-height: 240px; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.bdt-loc-other { flex: 1 1 100%; }
.bdt-days { display: flex; flex-wrap: wrap; gap: 8px; }
.bdt-day input { position: absolute; opacity: 0; }
.bdt-day span { display: inline-block; min-width: 52px; text-align: center; padding: 9px 10px; border: 2px solid var(--black); font-weight: 700; cursor: pointer; background: #fff; }
.bdt-day input:checked + span { background: var(--lime); }
.bdt-day input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.bdt-qa { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bdt-qa-i { background: #fff; border: 2px solid var(--black); padding: 12px 14px; }
.bdt-qa-i.is-coach { border-left: 8px solid var(--lime); }
.bdt-qa-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.bdt-qa-h form { margin: 0 0 0 auto; }
.bdt-qa-b p { margin: 6px 0 0; }
.bdt-coach .side-box form { padding: 16px; }
.bdt-danger { border-top: 2px dashed var(--line, #ccc); }
.bdt-cal { padding: 16px; }
@media (max-width: 600px) {
	.bdt-wrap { padding-left: 16px; padding-right: 16px; }
	.bdt-nav { padding-left: 16px; padding-right: 16px; }
	.bdt-next { flex-direction: column; gap: 12px; }
	.bdt-next-date { flex-direction: row; gap: 10px; align-items: baseline; min-width: 0; }
	.bdt-rsvp-btns .btn { flex: 1 1 0; min-width: 0; }
}

/* 0.17.0: dashboards (Owner Dashboard, Coach's View) */
.bdd-hero { background: var(--black); color: var(--white); padding: 34px 0 0; }
.bdd-hero-in { padding: 0 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.bdd-hello { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 420px; }
.bdd-hero .eyebrow { color: var(--lime); }
.bdd-title { font-family: var(--head); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 62px); line-height: .92; margin: 0; overflow-wrap: anywhere; }
.bdd-sub { color: var(--off); font-size: 15px; }
.bdd-sub a { color: var(--lime); }
.bdd-jump { position: relative; flex: 0 1 360px; min-width: 240px; }
.bdd-jump input { width: 100%; height: 48px; border: 2px solid var(--lime); background: #2F2A2B; color: var(--white); font: inherit; padding: 0 14px 0 42px; border-radius: 0; -webkit-appearance: none; }
.bdd-jump input::placeholder { color: #B9BDB5; }
.bdd-jump input:focus { outline: 3px solid var(--lime); outline-offset: 2px; }
.bdd-jump > svg { position: absolute; left: 13px; top: 14px; width: 20px; height: 20px; stroke: var(--lime); fill: none; stroke-width: 2.2; pointer-events: none; }
.bdd-jump-list { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 0; list-style: none; background: var(--white); color: var(--black); border: 2px solid var(--black); box-shadow: 6px 6px 0 rgba(0,0,0,.25); max-height: 60vh; overflow: auto; }
.bdd-jump-list a { display: flex; flex-direction: column; padding: 10px 14px; text-decoration: none; color: var(--black); border-top: 1px solid var(--line); }
.bdd-jump-list li:first-child a { border-top: 0; }
.bdd-jump-list a b { font-weight: 600; }
.bdd-jump-list a span { font-size: 13px; color: var(--muted); }
.bdd-jump-list li.is-on a, .bdd-jump-list a:hover { background: var(--lime); }
.bdd-jump-none { padding: 12px 14px; color: var(--muted); }
.bdd-tabs { display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto; padding: 22px 24px 0; scrollbar-width: none; }
.bdd-tabs::-webkit-scrollbar { display: none; }
.bdd-tabs a { flex: 0 0 auto; padding: 12px 18px; color: var(--white); text-decoration: none; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 18px; border-bottom: 4px solid transparent; display: flex; align-items: center; gap: 8px; }
.bdd-tabs a.is-on { background: var(--off); color: var(--black); }
.bdd-tabs a:not(.is-on):hover { border-bottom-color: var(--lime); color: var(--white); }
.bdd-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--lime); color: var(--black); font: 700 13px/1 var(--body); letter-spacing: 0; vertical-align: middle; font-style: normal; }
.bdd-badge.is-zero { background: var(--line); }
.bdd-main { padding: 30px 24px 80px; display: flex; flex-direction: column; gap: 40px; }
.bdd-main > .pc-block, .bdd-main .pc-block { gap: 14px; }
.bdd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.bdd-head-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 300px; }
.bdd-h, .bdd-main .block-head h2.h-md, .bdd-main .sec-head h2.h-md, .bdd-cv .block-head h2.h-md { font-family: var(--head); font-weight: 700; font-style: normal; text-transform: uppercase; font-size: 26px; line-height: 1.05; letter-spacing: .02em; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bdd-desc, .bdd-main .block-head .muted, .bdd-cv .block-head .muted { color: var(--muted); font-size: 15px; }
.bdd-head-a { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.bdd-help { font-size: 15px; }
.bdd-help > summary, .bdd-more > summary { cursor: pointer; font-weight: 600; color: var(--green); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.bdd-help > summary::-webkit-details-marker, .bdd-more > summary::-webkit-details-marker { display: none; }
.bdd-help > summary::before { content: "?"; display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; font-size: 12px; align-items: center; justify-content: center; }
.bdd-more > summary::before { content: "+"; font-weight: 700; }
.bdd-more[open] > summary::before { content: "–"; }
.bdd-help[open] > div { margin-top: 8px; background: var(--white); border-left: 4px solid var(--lime); padding: 10px 14px; max-width: 760px; }
.bdd-help p { margin: 0 0 8px; }
.bdd-help p:last-child { margin: 0; }
.bdd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bdd-tile { background: var(--white); border: 2px solid var(--black); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--black); }
.bdd-tile:hover { box-shadow: 4px 4px 0 var(--green); color: var(--black); }
.bdd-tile b { font-family: var(--head); font-size: 40px; line-height: 1; font-weight: 700; }
.bdd-tile span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bdd-tile small { font-size: 13px; color: var(--green); font-weight: 600; }
.bdd-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.bdd-list { background: var(--white); border: 2px solid var(--black); }
.bdd-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--black); }
.bdd-item:first-child { border-top: 0; }
a.bdd-item:hover { background: #FAFCE8; color: var(--black); }
.bdd-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; background: var(--lime); border: 2px solid var(--black); }
.bdd-dot.red { background: #C8452B; border-color: #C8452B; }
.bdd-dot.grn { background: var(--green); border-color: var(--green); }
.bdd-item-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bdd-item-t b { font-weight: 600; overflow-wrap: anywhere; }
.bdd-item-t > span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.bdd-item-a { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.bdd-item-a form { margin: 0; }
.bdd-item .btn { padding: 7px 14px; font-size: 14px; }
.bdd-item .bdd-more { font-size: 14px; }
.bdd-item .bdd-more p { margin: 6px 0 0; }
.bdd-when { font-family: var(--head); font-weight: 700; font-size: 16px; text-transform: uppercase; min-width: 62px; line-height: 1.05; }
.bdd-when small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; text-transform: none; color: var(--muted); }
.bdd-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bdd-q { background: var(--white); border: 2px solid var(--black); padding: 12px 14px; text-decoration: none; color: var(--black); font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 3px 3px 0 var(--black); }
.bdd-q svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bdd-q:hover { box-shadow: 5px 5px 0 var(--green); color: var(--black); }
.bdd-note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.bdd-note kbd { border: 1px solid var(--muted); padding: 0 5px; font-size: 12px; }
.bdd-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; }
.bdd-facts dt { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.bdd-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.bdd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bdd-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.bdd-price-grid .price-field { flex: 1 1 84px; }
.bdd-price-grid .price-field input { min-width: 0; }
.bdd-person .card { gap: 0; }
/* Coach's View */
.bdd-cv .pc-layout { padding-top: 30px; }
.bdd-sub-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--black); overflow-x: auto; scrollbar-width: none; }
.bdd-sub-tabs a { flex: 0 0 auto; padding: 10px 14px; text-decoration: none; font-weight: 700; color: var(--black); border: 2px solid transparent; border-bottom: 0; margin-bottom: -2px; }
.bdd-sub-tabs a.is-on { background: var(--white); border-color: var(--black); }
.bdd-sub-tabs a:not(.is-on):hover { color: var(--green); }
.bdd-cv-main { padding: 30px 24px 80px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 860px) {
	.bdd-hero { padding-top: 26px; }
	.bdd-hero-in { padding: 0 16px; }
	.bdd-jump { flex: 1 1 100%; min-width: 0; }
	.bdd-tabs { padding: 16px 8px 0; }
	.bdd-tabs a { font-size: 16px; padding: 10px 12px; }
	.bdd-main, .bdd-cv-main { padding: 24px 16px 64px; gap: 32px; }
	.bdd-tiles { grid-template-columns: repeat(2, 1fr); }
	.bdd-tile b { font-size: 34px; }
	.bdd-cols { grid-template-columns: 1fr; }
	.bdd-quick { grid-template-columns: 1fr 1fr; }
	.bdd-item { flex-wrap: wrap; }
	.bdd-item-a { width: 100%; padding-left: 24px; }
	a.bdd-item .bdd-item-t { flex-basis: 60%; }
}
@media (max-width: 420px) { .bdd-quick { grid-template-columns: 1fr; } }

/* 0.18.0: Player's Corner */
.pcx-next { background: var(--lime); color: var(--black); padding: 16px 18px; flex: 0 1 360px; min-width: 260px; display: flex; gap: 16px; align-items: center; border: 2px solid var(--lime); text-decoration: none; }
a.pcx-next:hover { color: var(--black); box-shadow: 4px 4px 0 var(--white); }
.pcx-next.is-empty { background: transparent; color: var(--white); border-color: var(--lime); }
.pcx-d { background: var(--black); color: var(--lime); text-align: center; padding: 8px 12px; min-width: 70px; flex: 0 0 auto; }
.pcx-d span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--white); text-transform: uppercase; }
.pcx-d b { font-family: var(--head); font-size: 26px; line-height: 1; white-space: nowrap; }
.pcx-t { display: flex; flex-direction: column; gap: 2px; font-size: 15px; min-width: 0; }
.pcx-t .btn { align-self: flex-start; margin-top: 8px; }
.pcx-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pcx-t b { font-size: 17px; }
.pcx-ask { background: var(--white); border: 2px solid var(--black); border-left: 8px solid var(--lime); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pcx-q { flex: 1 1 280px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pcx-q b { font-weight: 700; }
.pcx-q span { font-size: 14px; color: var(--muted); }
.pcx-ask .bdt-rsvp { flex: 0 0 auto; }
.pcx-ask .bdt-rsvp-btns .btn { min-width: 0; }
.pcx-stack { display: flex; flex-direction: column; gap: 10px; }
.pcx-note { background: var(--white); border: 2px solid var(--black); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pcx-note .pcx-k { color: var(--green); }
.pcx-note p { margin: 0; font-size: 15px; }
.pcx-note a { font-weight: 600; font-size: 14px; }
.bdd-pc .pc-sec { gap: 16px; }
@media (max-width: 860px) {
	.pcx-next { flex: 1 1 100%; min-width: 0; }
	.pcx-ask .bdt-rsvp { flex: 1 1 100%; }
}

/* ---------- People coached and reviews (0.19.0) ---------- */
.cd-tiles { margin-bottom: 18px; }
.cd-types { margin: 8px 0 18px; max-width: 560px; }
.cd-types tfoot th { border-top: 2px solid var(--black); }
.cd-filter { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 6px 0 10px; }
.cd-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.cd-filter select, .cd-filter input { min-width: 0; }
.cd-csv { margin-left: auto; font-weight: 600; }
.cd-people td form { display: inline; }
.cd-pages { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-checks { border: 2px solid var(--black); background: var(--lime); padding: 14px 16px; margin: 0 0 18px; }
.cd-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-top: 1px solid rgba(35,31,32,.2); }
.cd-check span { flex: 1 1 260px; }
.cd-forms { margin-top: 26px; align-items: flex-start; }
.cd-forms h3 { margin: 0 0 6px; }
.cd-side h3 + p, .cd-add h3 + p { margin-top: 0; }
.cd-side .stack-form, .cd-side > form { margin-bottom: 22px; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.stack-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; }
.stack-form label.check, label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.cd-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cd-row > label { flex: 1 1 160px; }
.bd-stars { letter-spacing: 1px; white-space: nowrap; }
.bd-stars .on { color: #E3B315; }
.bd-stars .off { color: var(--line, #D9DDD4); }
.rev-list { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 18px; }
.rev-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.rev-row .rev-card { flex: 1 1 360px; }
.rev-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rev-more { margin: 6px 0 14px; }
.rev-more summary { cursor: pointer; font-weight: 600; }
.rev-card { background: var(--white); border: 2px solid var(--black); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.rev-text { margin: 0; }
.rev-meta { font-size: 14px; color: var(--muted, #4A4F4C); }
.rev-wrap { display: flex; flex-direction: column; gap: 22px; }
.rev-form, .rev-thanks { max-width: 640px; display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 2px solid var(--black); background: var(--white); }
.rev-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.rev-form label.check { flex-direction: row; font-weight: 500; }
.rev-copy { width: 100%; }
.star-pick { border: 0; padding: 0; margin: 0; }
.star-pick legend { font-weight: 700; margin-bottom: 4px; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 40px; line-height: 1; color: var(--line, #D9DDD4); cursor: pointer; padding: 0 2px; }
.star-row label:hover, .star-row label:hover ~ label, .star-row input:checked ~ label { color: #E3B315; }
.star-row input:focus-visible + label { outline: 3px solid var(--green, #2E6B34); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rev-coaches { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rev-nudge .bdd-item { border: 2px solid var(--black); background: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Text alerts opt-in (0.21.0): one bordered box so the whole opt-in reads (and screenshots) as one piece. */
.bdc-sms { border: 2px solid var(--black); background: var(--white); padding: 12px 16px 14px; margin: 12px 0; display: grid; gap: 10px; }
.bdc-sms legend { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 6px; }
.bdc-sms .bdc-check { display: flex; gap: 8px; align-items: flex-start; }
.bdc-sms .bdc-check input[type="checkbox"] { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.bdc-sms-phone { display: grid; gap: 4px; max-width: 320px; }
.bdc-sms-phone span { font-weight: 700; }
.bdc-sms-level { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.bdc-sms-consent { display: block; line-height: 1.45; }
.bdc-sms-form .bdc-sms { margin-top: 0; }

/* 0.24.0 - dashboard folding, hero buttons, Find anything index */
.bdd-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 4px}
.bdd-actions .btn--ghost{border-color:#D9F24B;color:#fff}
.bdd-actions .btn--ghost:hover,.bdd-actions .btn--ghost:focus{background:#D9F24B;color:#231F20}
.bdd-out{color:#D9F24B;margin-left:6px;font-size:15px}
.bdd-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:0 0 8px}
.bdd-idx{display:flex;flex-direction:column;gap:2px;border:2px solid var(--black,#231F20);background:#fff;padding:12px 14px;text-decoration:none;color:inherit}
.bdd-idx b{font-size:18px}
.bdd-idx span{font-size:14px;color:var(--muted,#5b5658)}
.bdd-idx:hover,.bdd-idx:focus{background:#D9F24B}
.fold-head{cursor:pointer;position:relative;padding-left:30px}
.fold-head:focus-visible{outline:3px solid #231F20;outline-offset:2px}
.fold-mark{position:absolute;left:4px;top:8px;width:0;height:0;border-left:8px solid #231F20;border-top:6px solid transparent;border-bottom:6px solid transparent;transition:transform .15s}
.pc-block:not(.is-folded) > .fold-head .fold-mark,.pc-sec:not(.is-folded) > .fold-head .fold-mark{transform:rotate(90deg)}
.pc-block.is-folded > .fold-body,.pc-sec.is-folded > .fold-body{display:none}
.bdd-foldall{display:block;margin:0 0 6px auto;font-size:14px;text-decoration:underline;cursor:pointer;background:none;border:0;color:inherit}
.bdd-disc>summary{font-weight:700}
@media (max-width:640px){.bdd-actions .btn{flex:1 1 40%;text-align:center}}

/* 0.25.0 - Coach's View: notification list, compact library rows */
.bdk-kinds label.check{display:block;margin:8px 0;line-height:1.35}
.bdk-kinds .strong{margin-bottom:6px}
.bdd-cv-main #library .row-card{padding:10px 14px}
