.member-app-nav>button{min-width:0;padding:8px 4px}.member-app-nav>button span{overflow-wrap:anywhere}@media(max-width:380px){.member-app-nav{gap:3px}.member-app-nav>button{font-size:10px}}
/* Reserve every Admin destination before asynchronous access checks finish. */
.staff-desktop-frame .bottom-nav,.staff-workspace>.staff-timetable-nav-admin{box-sizing:border-box;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:62px;height:calc(72px + env(safe-area-inset-bottom));padding:5px 4px calc(5px + env(safe-area-inset-bottom));gap:3px;align-items:stretch}
.staff-desktop-frame .bottom-nav>[data-view=email],.staff-workspace>.staff-timetable-nav-admin>button:last-child{grid-column:6;grid-row:1}
.staff-desktop-frame .bottom-nav>[data-view=finance]{grid-column:5;grid-row:1}
.staff-desktop-frame .bottom-nav>.nav-button,.staff-workspace>.staff-timetable-nav-admin>button{position:relative;box-sizing:border-box;min-width:0;min-height:0;height:62px;padding:6px 1px;font-size:11px;line-height:1.2;white-space:nowrap}
.staff-desktop-frame .bottom-nav>.nav-button>span,.staff-workspace>.staff-timetable-nav-admin>button>span{height:26px;line-height:26px;font-size:22px;margin:0 0 3px}
.staff-desktop-frame .bottom-nav>.nav-button[hidden]{display:none!important}
.staff-desktop-frame .bottom-nav .nav-count,.staff-workspace>.staff-timetable-nav-admin>button>small{position:absolute;right:3px;top:3px;min-width:14px;max-width:30px;padding:1px 3px;border-radius:8px;background:#eeeeee;color:#171717;font-size:10px;line-height:12px;margin:0;overflow:hidden}
.staff-desktop-frame .bottom-nav .nav-count:empty{display:none}
@media(max-width:359px){.staff-desktop-frame .bottom-nav>.nav-button,.staff-workspace>.staff-timetable-nav-admin>button{font-size:10px}}
@media(min-width:760px){.staff-desktop-frame .bottom-nav,.staff-workspace>.staff-timetable-nav-admin{height:calc(65px + env(safe-area-inset-bottom));grid-template-rows:48px;padding:8px max(20px,calc((100% - 1120px)/2)) calc(8px + env(safe-area-inset-bottom));gap:8px}.staff-desktop-frame .bottom-nav>.nav-button,.staff-workspace>.staff-timetable-nav-admin>button{height:48px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px}.staff-desktop-frame .bottom-nav>.nav-button>span,.staff-workspace>.staff-timetable-nav-admin>button>span{height:26px;font-size:20px;margin:0}}

.quick-coach-card{min-width:0}.quick-coach-card>.tt-session-card{width:100%}.quick-coach-controls{display:grid;gap:8px;margin:12px 0}.quick-coach-slot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:12px;border:1px solid #dadada;background:#f8f8f8;border-radius:12px}.quick-coach-slot>div:first-child{display:grid;gap:4px}.quick-coach-slot small{font-size:11px;font-weight:750}.quick-coach-slot small.permanent{color:#171717}.quick-coach-slot small.cover{color:#8b5915}.quick-coach-slot button{min-height:44px}.quick-coach-slot.mine{border-color:#b8b8b8;background:#eeeeee}.quick-coach-buttons{display:flex;flex-wrap:wrap;gap:8px}.quick-coach-end{background:#fff;color:#99382c;border:1px solid #d9c4be;border-radius:8px;padding:9px;font:inherit;font-size:12px}.quick-coach-status{position:sticky;top:0;z-index:80;margin:8px;padding:14px;border:1px solid #b8b8b8;border-radius:12px;background:#f8f8f8;color:#171717}.quick-coach-status[role=alert]{background:#f8f8f8;border-color:#e5c8ab;color:#813e1b}.quick-coach-status button{min-height:44px;margin:8px;font:inherit}.quick-coach-controls.compact{margin:5px 0 14px}.compact .quick-coach-slot{padding:9px;font-size:12px}.compact .quick-coach-slot button{font-size:12px}.member-coach-access>button{margin-top:12px}@media(max-width:540px){.quick-coach-slot>button,.quick-coach-buttons{width:100%}.quick-coach-buttons>button{flex:1}.quick-coach-slot>div:first-child{width:100%}}/* Clear coaching cards on desktop and touch screens. */
.tt-workspace .tt-day-heading{padding:14px 16px;border-radius:14px;margin-bottom:12px;min-height:0;box-shadow:none}
.tt-workspace .tt-day-heading p{color:#eeeeee;font-weight:500;margin-top:3px}
.tt-workspace .tt-day-heading h2{font-size:17px;color:#fff}
.tt-workspace .quick-coach-card{padding:10px;background:#fff;border:1px solid #dadada;border-radius:16px;box-shadow:0 3px 12px #17171706}
.tt-workspace .quick-coach-card>.tt-session-card{padding:14px;border-radius:11px;box-shadow:none}
.tt-workspace .quick-coach-card .tt-session-card>strong{font-size:16px;line-height:1.4}
.tt-workspace .quick-coach-card .tt-session-time,.tt-workspace .quick-coach-card .tt-session-meta{font-size:12px}
.tt-workspace .quick-coach-card .tt-coach>span:last-child{font-size:13px}
.tt-workspace .quick-coach-controls.compact{margin:10px 0 0;gap:8px}
.tt-workspace .compact .quick-coach-slot{padding:12px;font-size:13px;background:#f6f9f8;border:1px solid #eeeeee}
.tt-workspace .compact .quick-coach-slot button{font-size:13px;font-weight:650;padding:9px 12px;width:100%}
.tt-workspace .compact .quick-coach-slot>div:first-child{width:100%}
.tt-workspace .compact .quick-coach-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tt-workspace .compact .quick-coach-buttons button{font-size:12px}
.tt-workspace .tt-session-list{gap:14px}
@media(min-width:900px){.tt-workspace .tt-week-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;align-items:start}.tt-workspace .tt-day{min-width:0}.tt-workspace .tt-day-heading>div{display:block}}
@media(min-width:600px) and (max-width:899px){.tt-workspace .tt-week-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
.tt-workspace .tt-time-status.confirmed,.tt-workspace .tt-legend>span:has(.tt-time-confirmed),.tt-workspace .tt-legend>span:has(.tt-time-unconfirmed),.tt-workspace .tt-assistant-space{display:none}
.tt-workspace .tt-session-card.tt-time-confirmed{border:1px solid #dadada;border-left:3px solid var(--tt-class-color,#555555)}

.holiday-day-notices{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px}.holiday-day-notices p{display:grid;gap:4px;flex:1 1 240px;margin:0;padding:12px 16px;border:1px solid #dadada;border-radius:12px;background:#f8f8f8;color:#6d541e;font-size:13px}.holiday-day-notices p.closed{background:#eeeeee;color:#555555;border-color:#dadada}.holiday-session{display:grid;gap:8px;margin:0 0 10px;padding:12px;border:1px solid #dadada;border-radius:13px;background:#f8f8f8}.holiday-label{font-size:12px;font-weight:800;color:#6d541e;line-height:1.5}.holiday-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #dadada;background:#fff;border-radius:11px}.holiday-toggle button{min-height:44px;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:#555555;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.holiday-toggle button[aria-pressed=true]{color:#fff;background:#171717;box-shadow:0 2px 4px #17171718}.holiday-toggle button:disabled{opacity:.6;cursor:wait}.holiday-toggle button:focus-visible{outline:3px solid #555555;outline-offset:2px}.holiday-session small{font-size:11px;color:#75623d}.holiday-closed-card{border:1px solid #dadada;border-radius:14px;background:#eeeeee}.holiday-closed{display:grid;gap:8px;padding:18px;color:#555555}.holiday-closed span{font-size:12px}.holiday-closed strong{font-size:14px}@media(prefers-reduced-motion:reduce){.holiday-toggle *{transition:none}}

.member-rejoin{margin:0 0 22px;padding:24px;border:1px solid #dadada;border-radius:20px;background:linear-gradient(120deg,#f8f8f8,#fff);box-shadow:0 7px 24px #17171710}.member-rejoin-top{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.member-rejoin-eyebrow{font-size:11px;letter-spacing:.13em;font-weight:800;color:#171717}.member-rejoin-offer{font-size:11px;font-weight:850;border-radius:20px;background:#171717;color:white;padding:7px 10px}.member-rejoin h2{font-size:25px;line-height:1.2;margin:18px 0 10px;color:#171717}.member-rejoin p{font-size:15px;line-height:1.55;color:#555555}.member-rejoin-price{margin:18px 0 12px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.member-rejoin-price strong{font-size:33px;color:#171717}.member-rejoin-detail{font-size:13px!important}.member-rejoin small{display:block;margin-top:12px;color:#555555;font-size:11px}.member-rejoin button{min-height:48px}.member-rejoin button:disabled{opacity:.65}@media(max-width:390px){.member-rejoin{padding:18px}.member-rejoin h2{font-size:22px}}
/* Personal coaching pages have a reading width; the calendar keeps its wide canvas. */
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(2)[aria-current="page"]),
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"]){max-width:1080px;margin-inline:auto;padding-top:28px}
.tt-workspace .tt-shell:has(.tt-sections>button:not(:first-child)[aria-current="page"]) .tt-sections{max-width:100%;padding:6px;border:1px solid #dadada;border-radius:16px;background:#eeeeee;margin-block:22px 30px}
.tt-workspace .tt-shell:has(.tt-sections>button:not(:first-child)[aria-current="page"]) .tt-sections button{min-height:48px;border-radius:11px;font-weight:700}
.tt-workspace section[aria-label="Coach payments"]{min-width:0}
.tt-workspace section[aria-label="Coach payments"]>.tt-section-heading{align-items:center;margin:0 0 18px;gap:24px}
.tt-workspace section[aria-label="Coach payments"]>.tt-section-heading h2{font-size:26px;letter-spacing:-.04em;color:#171717}
.tt-workspace section[aria-label="Coach payments"]>.tt-section-heading p{max-width:58ch;line-height:1.65}
.tt-workspace section[aria-label="Coach payments"]>.tt-section-heading>.tt-field{margin:0;width:180px;flex:0 0 180px}
.tt-workspace section[aria-label="Coach payments"]>.tt-notice{font-size:12px;line-height:1.65;background:#eeeeee;border:1px solid #dadada;border-radius:12px;padding:14px 18px;color:#555555}
.tt-workspace section[aria-label="Coach payments"] .tt-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));align-items:start;gap:20px;margin-top:22px}
.tt-workspace .tt-payment-card{min-width:0;padding:26px;border:1px solid #dadada;border-radius:22px;box-shadow:0 5px 22px #17171706;margin:0}
.tt-workspace .tt-payment-top{align-items:center;flex-wrap:wrap;gap:14px}
.tt-workspace .tt-payment-top .tt-coach{min-width:0;flex:1;gap:12px}
.tt-workspace .tt-payment-top .tt-coach>span:last-child{font-size:17px;line-height:1.4}
.tt-workspace .tt-payment-top .tt-badge{font-size:11px;padding:7px 10px;border-radius:8px;line-height:1.3}
.tt-workspace .tt-payment-period{margin:16px 0 20px;font-size:12px;line-height:1.5}
.tt-workspace .tt-payment-breakdown{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:18px 0 22px}
.tt-workspace .tt-payment-breakdown>span,.tt-workspace .tt-payment-breakdown>div{padding:14px 12px;background:#f4f7f6;border:1px solid #eeeeee;border-radius:12px;line-height:1.5;font-size:12px;min-width:0}
.tt-workspace .tt-payment-breakdown strong{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;color:#171717;margin-top:7px}
.tt-workspace .tt-payment-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0 0 22px}
.tt-workspace .tt-payment-balance>span{display:flex;gap:8px;min-width:0;flex-direction:column;justify-content:center;padding:18px 14px;background:#eeeeee;border:1px solid #eeeeee;border-radius:13px;font-size:12px;color:#555555}
.tt-workspace .tt-payment-balance>span:last-child{background:#171717;color:#eeeeee;border-color:#171717}
.tt-workspace .tt-payment-balance strong,.tt-workspace .tt-payment-balance b{font-size:clamp(19px,2.3vw,28px);letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:inherit}
.tt-workspace .tt-payment-balance>span:last-child b{color:#fff}
.tt-workspace .tt-payment-card>.tt-small-actions{border-top:1px solid #eeeeee;padding-top:18px;margin-top:22px;gap:8px}
.tt-workspace .tt-payment-card>.tt-small-actions button{flex:0 1 auto;min-height:46px;padding-inline:18px}
.tt-workspace .tt-payment-card>.tt-small-actions p{line-height:1.6;margin:4px 0}
.tt-workspace .tt-payment-card details{border-top:1px solid #eeeeee;margin-top:20px;padding-top:6px}
.tt-workspace .tt-payment-card summary{min-height:48px;padding:14px 0;line-height:1.5;color:#171717}
.tt-workspace .tt-payment-card .tt-history-row{align-items:start;line-height:1.5}
.tt-workspace .tt-payment-card .tt-history-row>span{min-width:0;overflow-wrap:anywhere}
.tt-workspace .tt-payment-card .tt-history-row>strong{flex-shrink:0;font-variant-numeric:tabular-nums}
/* Requests and placements: compact cards in two columns, with clear section breaks. */
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>*{grid-column:1/-1;min-width:0}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>:is(.tt-request-card,.tt-manage-card){grid-column:auto;align-self:stretch;margin:0;display:flex;flex-direction:column;align-items:flex-start;padding:24px;border-radius:18px;border:1px solid #dadada;box-shadow:0 4px 18px #17171705}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>.tt-section-heading{margin:0 0 4px}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>.tt-section-heading h2{font-size:26px;letter-spacing:-.04em;color:#171717}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>h3{font-size:14px;font-weight:750;color:#555555;margin:18px 0 0;padding-bottom:12px;border-bottom:1px solid #dadada}
.tt-workspace .tt-request-card h4{font-size:18px;margin:14px 0 8px;line-height:1.4;overflow-wrap:anywhere}
.tt-workspace .tt-request-card p,.tt-workspace .tt-manage-card p{line-height:1.7;overflow-wrap:anywhere}
.tt-workspace .tt-request-card .tt-badge{font-size:11px;padding:6px 9px;border-radius:7px;white-space:normal}
.tt-workspace .tt-request-card>.tt-small-actions{margin-top:auto;padding-top:18px;width:100%;gap:10px}
.tt-workspace .tt-request-card>.tt-small-actions button{flex:0 1 auto;min-height:46px;padding-inline:16px}
.tt-workspace .tt-manage-card>button{margin-top:auto;min-height:46px;max-width:100%}
.tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>.tt-empty{margin:0;border:1px dashed #dadada;border-radius:16px;background:#f8f8f8;text-align:center;padding:28px 20px;color:#555555}
@media(max-width:640px){
 .tt-workspace .tt-shell:has(.tt-sections>button:not(:first-child)[aria-current="page"]){padding:20px 16px 100px}
 .tt-workspace .tt-shell:has(.tt-sections>button:not(:first-child)[aria-current="page"]) .tt-sections{margin-block:18px 24px;gap:3px;padding:4px}
 .tt-workspace .tt-shell:has(.tt-sections>button:not(:first-child)[aria-current="page"]) .tt-sections button{font-size:12px;padding:9px 6px;min-width:0}
 .tt-workspace section[aria-label="Coach payments"]>.tt-section-heading{display:grid;gap:16px}
 .tt-workspace section[aria-label="Coach payments"]>.tt-section-heading>.tt-field{width:100%;max-width:240px}
 .tt-workspace section[aria-label="Coach payments"] .tt-payment-grid{gap:16px;margin-top:18px}
 .tt-workspace .tt-payment-card{padding:19px 16px;border-radius:18px}
 .tt-workspace .tt-payment-top .tt-coach>span:last-child{font-size:16px}
 .tt-workspace .tt-payment-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tt-workspace .tt-payment-breakdown>span:last-child:nth-child(odd){grid-column:1/-1}
 .tt-workspace .tt-payment-balance{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tt-workspace .tt-payment-balance>span{padding:14px 12px}
 .tt-workspace .tt-payment-balance>span:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
 .tt-workspace .tt-payment-balance>span:last-child b{font-size:28px}
 .tt-workspace .tt-payment-card>.tt-small-actions button{width:100%}
 .tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section{grid-template-columns:minmax(0,1fr);gap:14px}
 .tt-workspace .tt-shell:has(.tt-sections>button:nth-child(3)[aria-current="page"])>section>:is(.tt-request-card,.tt-manage-card){padding:20px}
 .tt-workspace .tt-request-card>.tt-small-actions button{width:100%}
}

/* Lead = primary teal; assisting = soft teal; dated cover = warm amber. */
.quick-coach-controls .quick-coach-slot>button.tt-primary{background:#171717;color:#fff;border:1px solid #171717;box-shadow:0 2px 3px #17171710;font-weight:700;transition:background-color .15s,border-color .15s}
.quick-coach-controls .quick-coach-slot>button.tt-primary:hover:not(:disabled){background:#171717;border-color:#171717;color:#fff}
.quick-coach-controls .quick-coach-slot>button.tt-primary[aria-label^="Assist this class"]{background:#eeeeee;color:#171717;border-color:#b8b8b8;box-shadow:none}
.quick-coach-controls .quick-coach-slot>button.tt-primary[aria-label^="Assist this class"]:hover:not(:disabled){background:#dadada;border-color:#555555;color:#171717}
.quick-coach-controls .quick-coach-slot>button.tt-primary:is([aria-label^="Cover this class"],[aria-label^="Coach until "]){background:#fff0d4;color:#714708;border-color:#d5b16e;box-shadow:none}
.quick-coach-controls .quick-coach-slot>button.tt-primary:is([aria-label^="Cover this class"],[aria-label^="Coach until "]):hover:not(:disabled){background:#f8e3ba;color:#5e3903;border-color:#b58b44}
.quick-coach-controls .quick-coach-slot>button:focus-visible{outline:3px solid #555555;outline-offset:3px}
.quick-coach-controls .quick-coach-slot>button.tt-primary:disabled{background:#eeeeee;color:#555555;border-color:#dadada;box-shadow:none;opacity:1;cursor:wait}
@media(prefers-reduced-motion:reduce){.quick-coach-controls .quick-coach-slot>button.tt-primary{transition:none}}
