/* Explicit plan disclosure: one menu, source-bound title and stable row controls. */
html:root body #root#root .plan-card192{overflow:visible!important}
html:root body #root#root .plan-card192>header{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;gap:16px!important;align-items:start!important;border-radius:14px 14px 0 0;padding:16px!important}
html:root body #root#root .plan-card192 .plan-icon192{align-self:start!important;margin-top:2px}
html:root body #root#root .plan-card192 .plan-title192 h2{display:flex!important;align-items:center;gap:6px 8px;flex-wrap:wrap;font-size:16px!important;line-height:1.4!important;margin:0 0 6px!important}
html:root body #root#root .plan-card192 .plan-name-link212{display:inline!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;text-align:left!important;color:var(--ink)!important;font:inherit!important;text-decoration:none;min-height:0!important}
html:root body #root#root .plan-card192 .plan-name-link212:hover{text-decoration:underline}
html:root body #root#root .plan-card192 .plan-title192 p{display:grid!important;gap:3px!important;margin:0 0 6px!important;font-size:12px!important;line-height:1.5!important;color:var(--muted)}
html:root body #root#root .plan-card192 .plan-title192 small{margin:0!important;font-size:11px!important;color:var(--muted);text-align:left!important}
html:root body #root#root .plan-card192 .plan-menu212{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-width:0!important;position:relative;align-self:start}
html:root body #root#root .plan-menu212>summary{display:grid!important;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;list-style:none}
html:root body #root#root .plan-menu212>summary::-webkit-details-marker{display:none}
html:root body #root#root .plan-menu212>summary svg{width:20px;height:20px}
html:root body #root#root .plan-menu212 .mobile-action-menu-panel{right:0;left:auto;min-width:220px;max-width:calc(100vw - 40px);z-index:40}
html:root body #root#root .plan-menu212 .mobile-action-menu-panel .button{justify-content:flex-start!important;text-align:left!important;width:100%!important;white-space:normal!important;min-height:42px;font-size:13px}
html:root body #root#root .plan-card192 .plan-sequence192[hidden]{display:none!important}
html:root body #root#root .plan-card192 .plan-order192{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;white-space:nowrap!important}
html:root body #root#root .plan-card192 .plan-order192 button{display:grid!important;place-items:center!important;width:34px!important;min-width:34px!important;height:36px!important;min-height:36px!important;flex:0 0 34px!important;padding:0!important;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}
html:root body #root#root .plan-card192 .plan-order192 button:disabled{opacity:.35}
html:root body #root#root .plan-card192 .plan-order192 button svg{display:block;width:18px!important;height:18px!important;margin:0!important}
html:root body #root#root .plan-card192 .plan-sequence192 :is(th,td)::before{display:none!important}
/* Resource and nutrition filters use the same full-width disclosure. */
html:root body #root#root .trainer-filter212{border:0!important;padding:0!important;margin:0 0 14px!important;background:none!important;box-shadow:none!important}
html:root body #root#root .trainer-filter212>summary{display:flex!important;align-items:center;justify-content:center;gap:8px;list-style:none;width:100%;min-height:44px;box-sizing:border-box;font-size:14px}
html:root body #root#root .trainer-filter212>summary::-webkit-details-marker{display:none}
html:root body #root#root .trainer-filter212>summary>svg{width:18px;height:18px}
html:root body #root#root .trainer-filter212>summary>svg:last-child{margin-left:auto}
html:root body #root#root .trainer-filter212>summary>span{margin-right:auto}
html:root body #root#root .trainer-filter212:not([open])>.personal-merged-filters{display:none!important}
html:root body #root#root .trainer-filter212 .personal-merged-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:10px!important;padding:12px!important;margin-top:10px!important;border:1px solid var(--line)!important;border-radius:12px;box-shadow:none!important}
html:root body #root#root .trainer-filter212 .field{min-width:0!important;margin:0!important;display:grid!important;gap:6px!important;font-size:12px}
html:root body #root#root .trainer-filter212 :is(input,select){width:100%;min-width:0;height:44px;box-sizing:border-box}
html:root body #root#root .trainer-library212 .personal-merged-list{padding:0!important;overflow:hidden}
html:root body #root#root .trainer-library212 .management-list-item{padding:16px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px 12px!important;align-items:start!important}
html:root body #root#root .trainer-library212 .list-item-icon{width:38px!important;height:38px!important;min-width:38px!important;margin:0!important}
html:root body #root#root .trainer-library212 .list-item-main{min-width:0!important}
html:root body #root#root .trainer-library212 .list-item-main h2{font-size:15px!important;line-height:1.45!important;margin:0 0 5px!important}
html:root body #root#root .trainer-library212 .list-item-main p{font-size:12px!important;line-height:1.6!important;margin:0 0 6px!important}
html:root body #root#root .trainer-library212 .personal-record-source{display:block;font-size:11px;line-height:1.5;color:var(--muted)}
html:root body #root#root .trainer-library212 .list-item-meta{grid-column:2;display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap;gap:8px!important;min-width:0!important}
html:root body #root#root .trainer-library212 .list-item-meta .button{font-size:12px;min-height:40px;white-space:nowrap}
html:root body #root#root .community-views212{display:flex!important;flex-direction:row!important;gap:6px!important;margin:12px 0 18px!important}
html:root body #root#root .community-views212 .button{display:flex!important;flex:1 1 auto!important;width:auto!important;justify-content:center!important;min-width:0!important;white-space:nowrap!important;font-size:11px!important;padding:10px 5px!important;min-height:40px!important}
html:root body #root#root .booking-policies212 .card{padding:0!important;overflow:hidden}
html:root body #root#root .booking-policies212 .policy-row212{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px;border-bottom:1px dashed var(--line)}
html:root body #root#root .booking-policies212 .policy-icon212{display:grid;place-items:center;width:36px;height:36px;background:var(--surface-soft);border-radius:10px}
html:root body #root#root .booking-policies212 .policy-icon212 svg{width:22px;height:22px}
html:root body #root#root .booking-policies212 h2{font-size:15px!important;margin:0 0 5px!important}
html:root body #root#root .booking-policies212 p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
html:root body #root#root .booking-policies212 .policy-row212>strong{white-space:nowrap;font-size:14px;background:var(--surface-soft);padding:6px 9px;border-radius:8px}
html:root body #root#root .booking-policies212 footer{padding:16px 18px!important;display:grid;gap:12px;justify-items:start;border:0!important}
/* Numeric workout data stays in its compact table; section metadata gets its own row. */
html:root body #modal#modal.workout-modal192 .workout-section192>header .round-rest212{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 100%!important;width:100%!important;line-height:1.5!important;position:static!important;margin:2px 0 0!important;transform:none!important}
html:root body #modal#modal.workout-modal192 .round-rest212 svg{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important}
html:root body #modal#modal.workout-modal192 .round-rest212>span{font-size:11px!important;white-space:normal!important}
html:root body #modal#modal.workout-modal192 .modal-actions{border:0!important;box-shadow:none!important;margin-top:14px!important;padding-top:0!important}
html:root body #modal#modal.workout-modal192 .modal-heading>[data-action=close]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:6px!important}
html:root body #modal#modal.workout-modal192 .modal-actions [data-action=close]{min-height:40px!important;font-size:13px!important;padding:8px 12px!important}
@media(max-width:900px){
 html:root body #root#root .coach-panel-head184>.button,html:root body #root#root .trainer-clubs211 .card-head>.button,html:root body #root#root .coach-task-footer196 .button{white-space:nowrap!important;flex-shrink:0!important;width:auto!important;min-width:max-content!important;display:inline-flex!important;align-items:center;gap:6px;font-size:12px!important;padding:8px 10px!important}
 html:root body #root#root .coach-panel-head184>.button>span,html:root body #root#root .trainer-clubs211 .card-head>.button>span{white-space:nowrap!important}
 html:root body #root#root .coach-overview-grid184:has(.trainer-clubs211) .coach-timeline-panel184{border-bottom:1px dashed var(--line)!important;padding-bottom:18px!important;margin-bottom:0!important}
 html:root body #root#root .club-header-actions208{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important}
 html:root body #root#root .club-header-actions208>.button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;white-space:nowrap!important;gap:8px!important;font-size:13px!important;padding:10px!important;box-sizing:border-box}
 html:root body #root#root .club-header-actions208>.button span{white-space:nowrap!important}
 html:root body #root#root .club-schedule-toolbar208{display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px auto!important;gap:6px!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface-soft)!important;align-items:center!important}
 html:root body #root#root .club-schedule-toolbar208 .button{height:42px!important;min-height:42px!important;padding:6px!important;min-width:0!important;white-space:nowrap!important;font-size:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;margin:0!important}
 html:root body #root#root .club-schedule-toolbar208 .button svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
 html:root body #root#root .club-schedule-toolbar208 label{padding:0!important;margin:0!important;min-width:0!important}
 html:root body #root#root .club-schedule-toolbar208 input{min-width:0!important;width:100%!important;height:42px!important;min-height:42px!important;padding:8px 6px!important;box-sizing:border-box;font-size:13px!important;margin:0!important}
 html:root body #root#root .mobile-client-detail-card>dl.mobile-client-detail-body{border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0 14px!important}
 html:root body #root#root .plan-card192>header{grid-template-columns:34px minmax(0,1fr) 36px!important;gap:14px!important;padding:14px 12px!important}
 html:root body #root#root .plan-card192 .plan-icon192{width:34px!important;height:34px!important}
 html:root body #root#root .plan-card192 .plan-title192 h2{font-size:14px!important}
 html:root body #root#root .plan-card192 .plan-title192 p>span{display:block!important}
 html:root body #root#root .plan-card192 .plan-menu212>summary{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px 10px!important;padding:14px 0!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td{width:auto!important;margin:0!important;padding:0!important;grid-row:auto!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(1){grid-column:1/-1!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(2){grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:14px!important;line-height:1.4}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(2)>svg{width:20px!important;height:20px!important;flex:0 0 20px!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(3){grid-column:1!important;font-size:12px!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(4){grid-column:2!important;justify-self:end!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(5){grid-column:1/-1!important;font-size:11px!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:nth-child(6){grid-column:1/-1!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:last-child .actions{display:flex!important;justify-content:flex-start!important;gap:8px!important}
 html:root body #root#root .plan-card192 .plan-sequence192 table tbody tr>td:last-child .button{white-space:nowrap!important;min-height:36px!important;font-size:12px!important;padding:7px 10px!important}
 html:root body #root#root .trainer-filter212 .personal-merged-filters{grid-template-columns:minmax(0,1fr) 44px!important}
 html:root body #root#root .trainer-filter212 .personal-merged-filters>.field{grid-column:1/-1}
 html:root body #root#root .trainer-filter212 .button{height:44px!important;min-height:44px!important;align-self:end!important;justify-content:center!important;margin:0!important}
 html:root body #root#root .community-desktop-create{display:none!important}
 html:root body #root#root .trainer-library212>.page-top{display:none!important}
 html:root body #root#root .booking-policies212 .policy-row212{grid-template-columns:32px minmax(0,1fr);gap:8px 10px;padding:14px}
 html:root body #root#root .booking-policies212 .policy-icon212{width:32px;height:32px;grid-row:1/3}
 html:root body #root#root .booking-policies212 .policy-row212>strong{grid-column:2;justify-self:start;font-size:12px}
 html:root body #root#root .booking-policies212 h2{font-size:14px!important}
 html:root body #root#root .booking-policies212 footer{padding:14px!important}
 html:root body #modal#modal:has([data-form=shared-hours]){width:100%!important;max-width:100vw!important;left:0!important;right:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;border-radius:18px 18px 0 0!important}
}

/* Keep the plan emblem inside its grid track, including enhanced SVG icons. */
html:root body #root#root .plan-card192 .plan-icon192{width:40px!important;height:40px!important;min-width:0!important;box-sizing:border-box;display:grid!important;place-items:center!important;padding:8px!important}
html:root body #root#root .plan-card192 .plan-icon192 svg{width:24px!important;height:24px!important;margin:0!important}
@media(max-width:700px){html:root body #root#root .plan-card192 .plan-icon192{width:34px!important;height:34px!important;padding:6px!important}html:root body #root#root .plan-card192 .plan-icon192 svg{width:22px!important;height:22px!important}}
/* Workout sequence pagination remains separate from per-workout actions. */
html:root body #root#root .plan-sequence192>footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;padding:16px 0 0!important;margin-top:12px!important;border-top:1px dashed var(--line);font-size:12px;color:var(--muted)}
html:root body #root#root .plan-sequence192>footer>nav{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none}
html:root body #root#root .plan-sequence192 [data-plan-page192]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--surface,#fff)!important;color:var(--ink)!important;font-size:13px!important;box-shadow:none!important}
html:root body #root#root .plan-sequence192 [data-plan-page192][aria-current=page]{background:#1b507a!important;border-color:#1b507a!important;color:#fff!important;font-weight:700}
html:root body #root#root .plan-sequence192 [data-plan-page192]:focus-visible{outline:2px solid #1b507a;outline-offset:3px}
@media(max-width:700px){html:root body #root#root .plan-sequence192>footer{align-items:flex-start!important;flex-direction:column!important}}
