/* T3MA staff page: the customer account's look (account.css) plus these. */
.s-badge { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #151515; color: #f5c518; }
.s-cancelled .a-item-main { text-decoration: line-through; opacity: 0.6; }
.s-pay-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line, #e6e1d6); }
.s-clock-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line, #e6e1d6); }
.s-clock-on .a-strong { margin: 0; }
.s-pay-total { border-bottom: none; font-size: 1.1rem; }
.s-windows { display: grid; gap: 8px; margin: 10px 0; }
.s-window { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-window select, .s-window input { min-height: 44px; font: inherit; padding: 0 8px; border: 1px solid var(--btn-line, #cfcabd); border-radius: 8px; background: #fff; color: inherit; }
.s-past { margin-top: 12px; }
#s-book .w-field input, #s-book .w-field select { display: block; width: 100%; margin-top: 4px; }
/* Your pay (2026-10-17): period buttons, details by group, the comment box. */
.s-periods { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.s-pp { font: inherit; font-weight: 700; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--btn-line, #cfcabd); background: #fff; color: inherit; cursor: pointer; }
.s-pp.on { background: var(--dark, #151515); border-color: var(--dark, #151515); color: #fff; }
.s-status { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.s-details { display: flex; flex-direction: column; gap: 8px; }
.s-details-h { margin: 4px 0 0; }
.s-grp { border: 1px solid var(--line, #e6e1d6); border-radius: 12px; overflow: hidden; }
.s-grp > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: #fbfaf7; font-weight: 700; }
.s-grp > summary::-webkit-details-marker { display: none; }
.s-grp > summary .s-grp-name::before { content: '▶'; font-size: 0.75em; margin-right: 8px; }
.s-grp[open] > summary .s-grp-name::before { content: '▼'; }
.s-grp-body { padding: 4px 12px 8px; }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #ece8de; }
.s-row:last-child { border-bottom: none; }
.s-row p { margin: 0; }
.s-row-off .a-strong { text-decoration: line-through; opacity: 0.6; }
.s-comments { display: flex; flex-direction: column; gap: 8px; }
.s-comment { background: #fbfaf7; border: 1px solid var(--line, #e6e1d6); border-radius: 10px; padding: 10px 12px; }
.s-comment p { margin: 0 0 4px; white-space: pre-wrap; }
.s-ask-form { display: flex; flex-direction: column; gap: 8px; }
.s-ask-form textarea, .s-input { font: inherit; font-weight: 400; padding: 12px; border: 1px solid var(--line, #e6e1d6); border-radius: 10px; background: #fff; color: inherit; width: 100%; box-sizing: border-box; min-height: 48px; }
.s-ask-form textarea:focus, .s-input:focus { outline: 3px solid var(--gold, #f5c518); outline-offset: 1px; }
/* Book a student: search rows, the chosen student, open times as buttons. */
.s-field { display: flex; flex-direction: column; gap: 6px; }
.s-field > label, .s-field-label { font-weight: 600; }
.s-results { display: flex; flex-direction: column; gap: 6px; }
.s-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line, #e6e1d6); background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.s-pick:hover, .s-pick:focus-visible { border-color: var(--gold, #f5c518); outline: none; }
.s-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--dark, #151515); color: #fff; font-weight: 700; }
.s-unpick { font: inherit; width: 32px; height: 32px; border-radius: 50%; border: none; background: #fff; color: #151515; cursor: pointer; }
.s-slots { display: flex; flex-direction: column; gap: 8px; }
.s-slot-day { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-slot-day p { margin: 0; width: 110px; flex: none; }
.s-slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.s-slot { font: inherit; font-weight: 700; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--btn-line, #cfcabd); background: #fff; color: inherit; cursor: pointer; }
.s-slot.on { background: var(--gold, #f5c518); border-color: var(--gold, #f5c518); color: #151515; }
.s-slot-other { align-self: flex-start; }
.s-other { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Staff page: classes and pay side by side, half and half (owner, 2026-10-17); stacked on a phone. */
.a-dash .a-grid > .a-family, .a-dash .a-grid > .a-side { flex: 1 1 420px; }
.s-bug-line { margin: 24px 0 0; text-align: center; color: var(--muted, #6b665c); }

/* Your calendar: the subscribe link (staff.js loadCalendar). */
.s-cal { display: flex; flex-direction: column; gap: 10px; }
.s-cal .a-meta { margin: 0; }
.s-cal-adds { display: flex; flex-wrap: wrap; gap: 8px; }
.s-cal-url { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: #6b665c; }
.s-cal-row { display: flex; gap: 8px; min-width: 0; }
.s-cal-row input { flex: 1; min-width: 0; font: inherit; font-size: 0.85rem; padding: 8px 10px; border: 1px solid #d9d4c7; border-radius: 10px; color: #151515; }

/* Switch gym (staff at more than one gym): the gym name in the bar opens their other gyms. */
.s-gymswitch { position: relative; }
.s-gymswitch > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid #4a4a4a; border-radius: 10px; }
.s-gymswitch > summary::-webkit-details-marker { display: none; }
.s-gymswitch > summary:focus-visible { outline: 3px solid var(--gold, #f5c518); outline-offset: 2px; }
.s-gymlist { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 200px; background: #fff; color: #151515; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); padding: 6px; display: flex; flex-direction: column; gap: 4px; font-family: 'Source Sans 3', sans-serif; font-size: 1rem; font-weight: 400; }
.s-gymlist p { margin: 4px 10px; color: #6b665c; font-size: 0.85rem; }
.s-gymgo { font: inherit; font-weight: 700; text-align: left; min-height: 44px; padding: 0 12px; border: none; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.s-gymgo:hover, .s-gymgo:focus-visible { background: #fbf3d0; outline: none; }
