:root{--blue:#0462fd;--brand-navy:#021e59;--ink:#021e59;--muted:#657184;--line:#e7ebf2;--pale:#f5f8ff;--green:#18734c;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #93b5ff;outline-offset:3px}a{color:var(--blue)}button{border:0}button svg{flex-shrink:0}svg{width:21px;height:21px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.3px;margin-bottom:10px;line-height:1.15}h2{font-size:21px;letter-spacing:-.5px;margin-bottom:8px}h3{font-size:17px;margin-bottom:6px;letter-spacing:-.3px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.brand{display:flex;gap:10px;align-items:center;font-size:25px;font-weight:850;letter-spacing:-1px}.brand-mark{width:35px;height:35px;border-radius:11px;background:var(--blue);color:white;display:grid;place-items:center;font-size:22px;font-weight:850;letter-spacing:-4px;padding-right:4px;transform:rotate(-3deg)}.brand small{font-size:10px;letter-spacing:.5px;font-weight:500;margin-left:4px;color:var(--muted)}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column;z-index:20}.club{margin:40px 0 24px;background:var(--pale);border:1px solid #e4ebff;padding:13px 11px;border-radius:12px;display:flex;align-items:center;gap:9px}.club-icon{background:white;padding:8px;border-radius:9px;color:var(--blue)}.club strong{font-size:12px;display:block}.club small{font-size:11px;color:var(--muted)}.nav{display:flex;flex-direction:column;gap:7px}.nav button{background:none;color:var(--muted);padding:13px 14px;border-radius:10px;text-align:left;display:flex;align-items:center;gap:13px;font-size:14px;font-weight:550}.nav button.active{background:#edf3ff;color:var(--blue);font-weight:700}.sidebar-bottom{margin-top:auto}.demo-label{font-size:11px;background:#f5f6f8;border-radius:8px;padding:10px 12px;color:var(--muted);line-height:1.6;margin-bottom:20px}.identity{display:flex;gap:10px;align-items:center}.avatar{width:37px;height:37px;flex-shrink:0;border-radius:50%;background:#eaf0ff;color:var(--blue);display:grid;place-items:center;font-weight:700;font-size:13px}.identity strong{font-size:12px;display:block}.identity small{font-size:11px;color:var(--muted)}.icon-button{display:inline-grid;place-items:center;background:transparent;padding:9px;border-radius:9px;color:var(--muted);min-width:38px;min-height:38px}.icon-button:hover{background:var(--pale)}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 44px;background:#ffffffb8}.topbar-left{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:16px}.status-dot{width:6px;height:6px;background:#28a779;display:inline-block;border-radius:50%;margin-right:7px}.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;border-radius:6px;padding:5px 8px;background:#edf3ff;color:#2351a6;line-height:1.3}.tag.green{background:#e8f5ee;color:#16613f}.tag.orange{background:#fff3dd;color:#895600}.tag.gray{background:#f0f2f5;color:#586476}.workspace{margin-left:248px}.content{padding:38px 44px 60px;max-width:1450px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin:0;font-size:14px;color:var(--muted)}.btn{min-height:43px;padding:11px 17px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:650;white-space:nowrap;background:var(--blue);color:white;text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#1d4ed8}.btn:active{transform:translateY(1px)}.btn.secondary{background:white;color:var(--ink);border:1px solid #dfe5ee}.btn.secondary:hover{background:var(--pale)}.btn.soft{background:#eef4ff;color:var(--blue)}.btn.danger{background:#fff0f0;color:#b83434;border:1px solid #f8dede}.btn.full{width:100%}.btn svg{width:17px;height:17px}.text-button{color:var(--blue);font-size:13px;font-weight:650;background:none;padding:5px 0;display:inline-flex;gap:6px;align-items:center}.text-button svg{width:16px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin-bottom:24px}.hero-main{background:var(--blue);border-radius:var(--radius);padding:30px 32px;position:relative;overflow:hidden;color:white;min-height:230px}.hero-main:after{content:"";position:absolute;width:280px;height:280px;border:45px solid #ffffff0b;border-radius:50%;right:-60px;top:-110px;pointer-events:none}.hero-main .eyebrow{color:#cbdcff;display:flex;align-items:center;gap:8px;letter-spacing:1.4px}.hero-main h2{font-size:30px;letter-spacing:-.8px;max-width:440px;margin-bottom:12px}.hero-main p{font-size:13px;color:#e0eaff;max-width:430px;margin-bottom:23px}.hero-main .btn{background:white;color:#2154bd}.hero-meta{display:flex;gap:18px;font-size:12px;margin-bottom:24px;color:#dbe7ff}.hero-side{background:white;border:1px solid var(--line);padding:25px;border-radius:var(--radius);display:flex;flex-direction:column}.hero-side h3{font-size:19px;margin-top:10px}.hero-side .btn{margin-top:auto}.hero-time{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:14px 0 20px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 32px}.metric{padding:22px;background:white;border:1px solid var(--line);border-radius:14px}.metric-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;gap:8px}.metric-icon{color:#7390c4;background:#f3f6fc;border-radius:7px;padding:6px;margin-top:-4px}.metric-icon svg{width:17px;height:17px}.metric-value{font-size:29px;font-weight:750;letter-spacing:-1px;margin:10px 0 5px}.metric-value small{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:450}.metric-note{font-size:11px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 17px;gap:14px}.section-heading h2{font-size:19px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:25px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:24px}.lesson{display:flex;align-items:center;gap:20px;padding:21px 22px;border:1px solid var(--line);border-radius:13px;background:white;margin-bottom:10px}.lesson-time{font-size:20px;letter-spacing:-.7px;font-weight:700;min-width:59px}.lesson-time small{font-size:11px;color:var(--muted);display:block;font-weight:400;letter-spacing:0;margin-top:5px}.lesson-info{flex:1;min-width:0}.lesson-title{display:flex;align-items:center;gap:9px;margin-bottom:7px;flex-wrap:wrap}.lesson-title h3{margin:0;font-size:15px}.lesson-sub{color:var(--muted);font-size:12px;display:flex;gap:12px;flex-wrap:wrap;line-height:1.7}.lesson-sub svg{width:13px;height:13px}.lesson-right{display:flex;align-items:center;gap:15px}.capacity{font-size:12px;text-align:right;color:var(--muted);min-width:62px}.capacity strong{font-size:14px;color:var(--ink);display:block;margin-bottom:5px}.lesson .btn{min-width:100px;font-size:12px}.date-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:20px 0}.day{background:white;border:1px solid var(--line);border-radius:12px;padding:12px 5px;color:var(--muted);text-align:center;min-height:70px}.day span{display:block;font-size:11px;text-transform:capitalize}.day strong{display:block;font-size:21px;color:var(--ink);margin:6px 0}.day.active{background:var(--blue);color:#d7e4ff;border-color:var(--blue);box-shadow:0 4px 12px #2563eb20}.day.active strong{color:white}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.chip{border:1px solid var(--line);border-radius:8px;background:white;padding:9px 15px;font-size:12px;color:var(--muted)}.chip.active{background:#edf3ff;color:var(--blue);border-color:#cfddff}.day-heading{font-size:15px;text-transform:capitalize}.empty{text-align:center;border:1px dashed #d8e0ef;border-radius:13px;padding:35px 22px;color:var(--muted);font-size:14px;background:white;line-height:1.7}.empty svg{color:#91a5cc;width:28px;height:28px;display:block;margin:0 auto 14px}.workout-block{white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.9;background:var(--pale);border:1px solid #e0e9fb;border-radius:12px;padding:22px;margin:18px 0}.workout-preview{white-space:pre-line;font-size:13px;color:var(--muted);line-height:1.9;margin:14px 0}.insight{background:#f0f5ff;border:1px solid #dce7ff;padding:18px;border-radius:12px;margin-top:17px;font-size:12px;line-height:1.8;color:#455c85}.insight strong{display:block;color:#2457ba;font-size:13px;margin-bottom:3px}.score-row{border-bottom:1px solid var(--line);padding:17px 0;display:flex;gap:15px;justify-content:space-between;align-items:center}.score-row:last-child{border:0}.score-value{color:var(--blue);font-weight:750;font-size:19px;white-space:nowrap}.score-row h3{font-size:14px;margin-bottom:6px}.score-row p{margin:4px 0 0}.score-icon{width:37px;height:37px;border-radius:10px;background:var(--pale);color:var(--blue);display:grid;place-items:center;flex-shrink:0}.score-info{flex:1}.note{padding:12px 14px;font-size:12px;line-height:1.7;background:#f3f6fb;border-radius:9px;color:#58677e;margin:16px 0}.note.warning{background:#fff7e8;color:#80520f}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.field label{font-size:12px;font-weight:650}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3ee;border-radius:8px;padding:12px;background:white;color:var(--ink);font-size:14px;min-height:44px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb14}.field textarea{resize:vertical;line-height:1.7}.field small{font-size:11px;color:var(--muted);line-height:1.5}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:#b42318;background:#fff0f0;padding:11px 14px;border-radius:8px;font-size:13px;margin-bottom:16px;line-height:1.5}.form-error:empty{display:none}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:23px}.dialog-head h2{margin:4px 0 0;font-size:23px}dialog{border:1px solid var(--line);border-radius:21px;padding:28px;max-width:620px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 24px 100px #16213a40;color:var(--ink)}dialog::backdrop{background:#15213c70;backdrop-filter:blur(3px)}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.participant{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;flex-wrap:wrap}.participant .name{flex:1;font-size:13px;min-width:120px}.participant select{border:1px solid #dce3ee;border-radius:7px;padding:8px;font-size:12px;min-height:40px}.participant .tag{margin-left:auto}.member-table{width:100%;border-collapse:collapse}.member-table th{text-align:left;font-size:11px;color:var(--muted);font-weight:550;padding:0 12px 15px;border-bottom:1px solid var(--line)}.member-table td{font-size:13px;padding:17px 12px;border-bottom:1px solid var(--line)}.member-table .identity strong{font-size:13px}.member-table tr:last-child td{border:0}.table-scroll{overflow:auto}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.data-pair{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0;font-size:13px}.data-pair:last-child{border:0}.data-pair span{color:var(--muted)}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:calc(50% + 124px);transform:translateX(-50%) translateY(20px);z-index:100;background:#202e47;color:white;padding:15px 21px;border-radius:11px;box-shadow:0 8px 30px #14254030;max-width:calc(100% - 30px);font-size:13px;line-height:1.6;opacity:0;pointer-events:none;transition:all .2s}#toast.visible{opacity:1;transform:translateX(-50%)}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-intro{background:var(--pale);padding:50px 65px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-intro .brand{position:absolute;top:40px;left:55px}.login-intro h1{font-size:58px;letter-spacing:-2.6px;line-height:1.08;max-width:500px;margin:30px 0 20px}.login-intro h1 span{color:var(--blue)}.login-intro p{color:var(--muted);font-size:16px;max-width:390px}.login-sample{margin-top:30px;max-width:385px;border:1px solid #dce6fb;background:white;padding:22px;border-radius:17px;box-shadow:0 15px 40px #31589e0c;transform:rotate(-2deg)}.login-sample .tag{margin-bottom:17px}.login-sample h3{font-size:21px}.login-sample .sample-bottom{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding-top:15px;margin-top:20px;font-size:12px;color:var(--muted)}.login-form-area{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:100%;max-width:360px}.login-form h2{font-size:29px;letter-spacing:-.9px;margin-bottom:10px}.login-form>p{font-size:14px;color:var(--muted);margin-bottom:28px}.demo-options{display:flex;gap:8px;margin:16px 0}.demo-options button{flex:1;padding:10px 7px;font-size:12px;background:var(--pale);color:#315385;border:1px solid #dce6fb;border-radius:8px}.login-divider{margin:27px 0 10px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px}.login-divider:after{content:"";height:1px;flex:1;background:var(--line)}.login-note{font-size:11px;color:var(--muted);line-height:1.7}.mobile-brand{display:none}.footer-note{color:#8490a3;font-size:11px;margin-top:35px;line-height:1.6}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-bottom:12px}.form-help{color:var(--muted);font-size:13px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.content{padding-top:45px}.hero-main{min-height:260px}}
@media(max-width:1150px){.sidebar{width:210px;padding:28px 17px}.workspace{margin-left:210px}.topbar{padding:0 26px}.content{padding:30px 26px}.hero{grid-template-columns:1fr 250px}.two-col{grid-template-columns:1fr}.lesson{gap:15px;padding:19px 16px}#toast{left:calc(50% + 105px)}.login-intro{padding:45px}.login-intro h1{font-size:48px}}
@media(max-width:800px){.sidebar{width:auto;position:fixed;inset:auto 0 0;background:white;padding:8px 8px max(10px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line)}.sidebar>.brand,.sidebar>.club,.sidebar-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:2px}.nav button{padding:8px 5px;display:flex;flex-direction:column;font-size:10px;gap:5px;min-width:52px;background:none!important}.nav button.active{color:var(--blue)}.nav button svg{width:21px;height:21px}.workspace{margin-left:0}.topbar{height:73px;padding:0 22px}.topbar-left>.desktop-only{display:none}.mobile-brand{display:flex;font-size:22px}.brand-mark{width:31px;height:31px}.topbar-right{gap:9px}.topbar-right>.small{display:none}.content{padding:28px 20px 110px}.page-heading{align-items:flex-start;margin-bottom:25px}h1{font-size:30px;letter-spacing:-1px}.page-heading p{font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.4px}.hero{grid-template-columns:1fr;gap:14px}.hero-main{padding:25px;min-height:230px}.hero-main h2{font-size:28px}.hero-side{padding:20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px}.hero-side .eyebrow{grid-column:1 / -1}.hero-side h3{margin-top:4px;font-size:17px}.hero-side>.tag{display:none}.hero-side .hero-time{margin:2px 0 0;grid-column:1}.hero-side .btn{grid-column:2;grid-row:2 / 4}.metrics{gap:9px;margin:20px 0 27px}.metric{padding:15px 12px}.metric-top{font-size:10px}.metric-icon{display:none}.metric-value{font-size:23px;margin-top:12px}.metric-value small{font-size:10px}.metric-note{font-size:10px;line-height:1.5}.lesson{gap:13px;padding:17px 14px;flex-wrap:wrap}.lesson-time{font-size:19px;min-width:52px}.lesson-title h3{font-size:14px}.lesson-title{gap:6px}.lesson-sub{font-size:11px;gap:6px}.lesson-right{width:100%;justify-content:space-between;padding-left:65px;margin-top:4px}.capacity{text-align:left;display:flex;align-items:center;gap:6px}.capacity strong{font-size:12px;margin:0}.lesson .btn{min-height:39px;padding:9px 12px;min-width:95px}.panel{padding:20px}.date-strip{gap:5px}.day{padding:9px 2px;border-radius:10px;min-height:66px}.day span{font-size:10px}.day strong{font-size:19px}.profile-grid{grid-template-columns:1fr}.page-heading>.btn{padding:10px 12px;min-height:40px;font-size:11px}.filters{margin:20px 0;gap:6px}.chip{font-size:11px;padding:9px 12px}.topbar-left{gap:0}.login{grid-template-columns:1fr}.login-intro{padding:95px 26px 30px;min-height:300px}.login-intro .brand{top:25px;left:26px}.login-intro h1{font-size:39px;letter-spacing:-1.8px;margin:15px 0}.login-intro p{font-size:14px;margin:0;max-width:340px}.login-sample{display:none}.login-form-area{padding:32px 26px}.login-form{max-width:420px}.login-form h2{font-size:25px}dialog{padding:22px;max-height:88dvh;border-radius:17px}.form-row{gap:12px}.dialog-head h2{font-size:21px}#toast{left:50%;bottom:92px;width:max-content;max-width:calc(100% - 30px)}.hero-meta{font-size:11px;gap:12px}.member-table td,.member-table th{padding-left:7px;padding-right:7px}.topbar .tag{font-size:10px}.topbar .avatar{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;transform:none!important;scroll-behavior:auto!important}}

@media(max-width:800px){.page-heading{display:block}.page-heading>.btn{margin-top:16px}.hero-side{display:flex;align-items:stretch;gap:0}.hero-side .hero-time{margin:10px 0 16px}.hero-side .btn{margin-top:0}.hero-side h3{margin-top:0}.metric-value small{font-size:10px}.metric-value{overflow-wrap:anywhere}}
/* A real seven-day roster, with separate cards for concurrent sessions. */
.roster-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:26px 0 12px}.view-switch{display:flex;gap:4px;border:1px solid var(--line);background:white;padding:4px;border-radius:11px}.view-switch button{display:flex;align-items:center;gap:8px;padding:10px 14px;min-height:42px;background:transparent;color:var(--muted);border-radius:8px;font-size:12px;font-weight:650}.view-switch button.active{background:#edf3ff;color:var(--blue)}.view-switch svg{width:17px;height:17px}.week-navigation{display:flex;align-items:center;gap:8px}.week-navigation strong{font-size:12px;font-weight:600}.week-scroll{overflow:auto;border:1px solid #dfe6f1;border-radius:15px;background:white;max-height:75vh;overscroll-behavior-x:contain}.week-scroll:focus-visible{outline:3px solid #93b5ff;outline-offset:3px}.week-calendar{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1000px}.week-calendar th,.week-calendar td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.week-calendar tr>:last-child{border-right:0}.week-calendar tbody tr:last-child>*{border-bottom:0}.week-calendar thead th{position:sticky;top:0;z-index:3;background:#fbfcfe;padding:14px 5px;text-align:center;height:90px}.week-calendar thead th span{font-size:11px;color:var(--muted);text-transform:capitalize;font-weight:500}.week-calendar thead th strong{display:block;font-size:23px;letter-spacing:-.6px;margin:4px 0}.week-calendar thead th small{display:block;font-size:9px;font-weight:600;color:var(--blue)}.week-calendar thead th.is-today{background:#edf3ff;color:var(--blue)}.week-calendar .time-heading{width:54px;font-size:10px;color:var(--muted);left:0;z-index:5}.week-calendar .week-time{position:sticky;left:0;z-index:2;background:#fbfcfe;width:54px;vertical-align:top;padding:17px 4px;color:var(--muted);font-size:11px;font-weight:550}.week-calendar td{vertical-align:top;padding:6px;background:#fff;min-height:140px}.week-calendar td.today-cell{background:#f9fbff}.week-lesson{display:block;text-align:left;width:100%;border:1px solid #dce6fb;border-left:3px solid #9fbdf8;border-radius:8px;padding:11px 8px;margin-bottom:6px;background:#f7faff;min-height:120px;color:var(--ink);white-space:normal}.week-lesson:last-child{margin-bottom:0}.week-lesson:hover{background:#eef4ff;border-color:#8aaff8}.week-lesson.own{background:#edf6f0;border-color:#c0e1cc;border-left-color:#248457}.week-lesson.full{background:#fffaf0;border-color:#f0dfb6;border-left-color:#d89a22}.week-kind{display:block;font-size:9px;font-weight:750;color:#3c5f96;margin-bottom:7px}.week-title{display:block;font-size:12px;line-height:1.5;margin-bottom:7px;overflow-wrap:anywhere}.week-duration,.week-room{display:block;color:var(--muted);font-size:10px;line-height:1.6}.week-capacity{display:block;font-size:10px;font-weight:650;margin-top:10px;line-height:1.5}.buddy-trail{display:flex;align-items:flex-start;gap:5px;font-size:11px;color:#5c36a8;line-height:1.5;margin:7px 0}.buddy-trail svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.week-lesson .buddy-trail{border-top:1px solid #dddef0;margin:9px 0 0;padding-top:7px;font-size:10px}.roster-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:17px 0;font-size:11px;color:var(--muted)}.roster-legend>span{display:flex;align-items:center;gap:6px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:#9fbdf8}.legend-dot.own{background:#248457}.legend-dot.full{background:#d89a22}.week-hint{margin-bottom:13px;font-size:11px}.buddy-tag{background:#f1ecff;color:#5c36a8}.buddy-avatar{background:#eee8ff;color:#6441a4}.attendee-section{margin-top:24px}.attendee-section>p{margin-top:13px}.buddy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.buddy-grid>.empty{grid-column:1/-1}.buddy-card{border:1px solid var(--line);border-radius:14px;background:white;padding:21px;display:flex;flex-direction:column;gap:20px}.buddy-card .identity strong{font-size:14px;margin-bottom:5px}.buddy-card .identity small{font-size:11px}.buddy-next{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.buddy-next svg{width:15px;height:15px}.buddy-next strong{color:var(--ink);font-size:13px}.buddy-card-actions{display:flex;gap:14px;align-items:flex-start;flex-direction:column;margin-top:auto}.buddy-card-actions .btn{min-height:40px;font-size:12px}.buddy-discovery{margin-top:34px}.buddy-search{max-width:420px}.buddy-action{min-height:40px;padding:8px}.lesson-info .buddy-trail{margin:0 0 5px}.week-lesson .buddy-trail span{overflow-wrap:anywhere}
@media(max-width:1100px){.buddy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.roster-toolbar{gap:15px;display:flex;align-items:stretch;flex-direction:column}.view-switch{align-self:flex-start}.view-switch button{padding:10px 13px}.week-navigation{justify-content:space-between}.week-scroll{max-height:67dvh}.week-calendar{min-width:1000px}.week-calendar thead th{height:83px}.buddy-grid{grid-template-columns:1fr}.buddy-card{padding:19px}.buddy-card-actions{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.roster-legend{gap:11px;font-size:10px}.nav button{min-width:48px;font-size:9px}.buddy-trail{font-size:10px}}
.config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.config-card .section-heading{margin:0 0 16px}.config-card .btn{margin-top:20px}.config-summary{display:grid;grid-template-columns:1fr 1.5fr;gap:13px;font-size:12px;line-height:1.6}.config-summary>span{color:var(--muted)}.config-summary>strong{text-align:right;font-weight:550}.type-heading{display:flex;gap:9px;align-items:center}.type-dot{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--lesson-color,var(--blue));flex-shrink:0}.type-chip{color:var(--lesson-color,var(--blue));background:color-mix(in srgb,var(--lesson-color,var(--blue)) 9%,white)}.week-lesson,.week-lesson.own,.week-lesson.full{border-left-color:var(--lesson-color,#9fbdf8)}.week-kind{color:var(--lesson-color,#3c5f96)}.advanced-settings{border:1px solid var(--line);border-radius:10px;padding:15px;margin:19px 0}.advanced-settings summary{font-size:13px;font-weight:650;cursor:pointer;min-height:24px}.advanced-settings[open] summary{margin-bottom:16px}.type-access{border:1px solid var(--line);border-radius:10px;padding:16px;margin:20px 0}.type-access legend{font-size:13px;font-weight:650;padding:0 6px}.type-access label{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:13px;cursor:pointer}.type-access input{width:18px;height:18px;accent-color:var(--blue)}input[type=color]{height:46px;padding:6px;width:100%;cursor:pointer}.member-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 24px}.member-status-grid>div{border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--pale)}.member-status-grid strong{display:block;font-size:26px;margin-top:9px}.member-status-grid strong.small{font-size:13px;line-height:1.6}.action-log article{border-bottom:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.action-log article:last-child{border:0}.action-log strong{display:block;font-size:13px;margin-bottom:6px}.action-log span{display:block;line-height:1.7}.action-log p{color:var(--muted);line-height:1.8;margin:8px 0 0}.config-tabs{margin-bottom:28px}
@media(max-width:800px){.config-grid{grid-template-columns:1fr}.config-summary{gap:10px}.config-card .section-heading{align-items:flex-start}.config-card .section-heading h3{max-width:210px}.config-tabs .chip{line-height:1.5}.config-summary>strong{overflow-wrap:anywhere}.member-status-grid{grid-template-columns:1fr 1fr}}

.type-chip{color:var(--ink);border-left:3px solid var(--lesson-color,var(--blue))}.week-kind{color:var(--ink)}

.field[hidden]{display:none!important}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0 36px}.shop-grid>.empty{grid-column:1/-1}.product-card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;display:flex;flex-direction:column}.product-art{background:linear-gradient(135deg,#edf3ff,#f7f9ff);height:150px;display:flex;align-items:center;justify-content:center;gap:14px;color:var(--blue);font-weight:700;font-size:15px}.product-art svg{width:45px;height:45px;stroke-width:1.3}.product-content{padding:23px;flex:1;display:flex;flex-direction:column}.product-content h2{font-size:20px}.product-content p{white-space:pre-wrap;overflow-wrap:anywhere}.product-content>.btn{margin-top:auto}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px;flex-wrap:wrap}.product-bottom>strong{font-size:23px;letter-spacing:-.5px}.cart-line{display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid var(--line);padding:17px 0;font-size:13px}.cart-line>div:first-child{flex:1;min-width:0}.cart-line>div:first-child>span{display:block;margin-top:6px}.quantity-control{display:flex;align-items:center;gap:10px}.quantity-control button{width:35px;height:35px;border-radius:8px;border:1px solid #dce6fb;background:var(--pale);color:var(--blue);font-size:19px}.quantity-control span{min-width:14px;text-align:center}.cart-totals{margin:18px 0}.order-total strong{color:var(--blue);font-size:22px}.orders-list{display:grid;gap:13px}.order-card{border:1px solid var(--line);border-radius:12px;background:white;padding:20px;display:flex;align-items:center;gap:18px}.order-card>div{flex:1;min-width:0}.order-card h3{font-size:14px}.order-card p{margin:6px 0 0;overflow-wrap:anywhere}.order-card>strong{font-size:17px;white-space:nowrap}.order-card>.tag{white-space:nowrap}#cart-quote-form{margin-top:22px}
@media(max-width:1100px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.shop-grid{grid-template-columns:1fr;gap:16px}.product-art{height:110px}.product-content{padding:20px}.order-card{flex-wrap:wrap;gap:12px}.order-card>div{flex:1 1 100%}.order-card>.btn{margin-left:auto}.cart-line{flex-wrap:wrap}.cart-line>div:first-child{flex:1 1 100%}.cart-line>strong{margin-left:auto}.quantity-control button{width:40px;height:40px}.nav{gap:0}.nav button{min-width:44px;font-size:9px}.type-access label{line-height:1.5}}
.report-controls{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;margin:24px 0}.report-controls label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;min-width:175px}.report-controls select,.report-controls input{padding:12px;border:1px solid #dce3ed;border-radius:9px;background:white;color:var(--ink);min-height:44px;font:inherit;max-width:100%}.report-metrics{margin:24px 0}.report-section{margin:24px 0}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.report-grid>.panel{min-width:0}.report-grid h2{margin-bottom:12px}.report-grid p{line-height:1.7}.report-bar{margin:20px 0}.report-bar>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;line-height:1.7;margin-bottom:9px}.report-bar strong{font-weight:600;overflow-wrap:anywhere}.report-bar span{color:var(--muted);text-align:right;flex-shrink:0}.report-bar svg{width:100%;height:9px;display:block}.visits-chart{display:block;width:100%;height:180px;margin:25px 0}.daily-values{max-height:250px;overflow:auto}.report-section .section-heading p{line-height:1.7}.invoice-table{min-width:850px}.invoice-table td small{display:block;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.6}.status-stack{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.invoice-table .status-stack{margin:0}.nowrap{white-space:nowrap}.billing-controls .bill-search{flex:1;min-width:220px}#invoice-status-form{margin:24px 0}.data-pair>strong{overflow-wrap:anywhere}#dialog h3{margin-top:20px}
@media(max-width:800px){.report-grid{grid-template-columns:1fr;gap:18px}.report-controls{gap:12px}.report-controls label{min-width:0;flex:1 1 145px}.report-controls>.btn{flex:1 1 100%}.report-bar>div{flex-wrap:wrap;gap:3px}.report-bar span{text-align:left}.report-bar svg{margin-top:8px}.billing-controls .bill-search{min-width:100%;flex:1 1 100%}.nav{justify-content:flex-start;overflow-x:auto}.nav button{flex:1 0 49px}.report-section .section-heading{align-items:flex-start}.visits-chart{height:160px}}
.table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.table-wrap table{width:100%;min-width:670px;border-collapse:collapse}.table-wrap .invoice-table{min-width:850px}.table-wrap th{text-align:left;font-size:11px;color:var(--muted);font-weight:600;padding:14px 12px;border-bottom:1px solid var(--line);line-height:1.6}.table-wrap td{font-size:12px;padding:17px 12px;border-bottom:1px solid var(--line);line-height:1.7}.table-wrap tbody tr:last-child td{border-bottom:0}.table-wrap th:first-child,.table-wrap td:first-child{padding-left:0}.table-wrap td strong{font-weight:600}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.report-metrics .metric-note{line-height:1.7}.report-metrics .metric-value{font-size:31px;overflow-wrap:anywhere}
@media(max-width:1100px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.report-metrics .metric{padding:17px}.report-metrics .metric-value{font-size:26px}.report-metrics .metric-top{font-size:11px}.table-wrap{border-right:1px solid var(--line)}}
.report-bar svg,.visits-chart{stroke:none}.report-bar rect,.visits-chart rect{stroke:none}.table-wrap:focus-visible{outline:2px solid #93b5ff;outline-offset:4px}
.bundle-editor{border:1px solid #dce5f4;border-radius:13px;padding:20px;margin:20px 0;background:#fbfcff}.bundle-editor .section-heading{margin:0 0 18px}.bundle-editor .section-heading h3{font-size:15px;margin:0}.bundle-editor .type-access{background:white}.bundle-editor .type-access label:has(input:disabled){color:#7d8798}.plan-preview{margin:23px 0;display:block}.plan-preview>strong{display:block;margin-bottom:12px}.plan-preview p{font-size:13px;line-height:1.8;margin:12px 0}.plan-preview p:last-child{margin-bottom:0}.plan-bundle-summary{display:grid;gap:9px;margin:18px 0}.plan-bundle-summary>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;border:1px solid #dce6fb;background:var(--pale);border-radius:10px;padding:13px;font-size:12px}.plan-bundle-summary strong{font-weight:650}.plan-bundle-summary span{color:var(--blue);font-weight:650}.plan-bundle-summary small{grid-column:1/-1;color:var(--muted);line-height:1.7}.training-usage{margin:24px 0}.training-usage>article{display:flex;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}.training-usage article h3{font-size:15px;margin:0 0 8px}.training-usage article p{margin:0}.training-usage article strong,.training-usage article small{display:block;font-size:13px;line-height:1.8}.training-usage article strong{color:var(--blue)}.training-usage article small{color:var(--muted);font-size:11px;margin-bottom:8px}.training-usage>p{line-height:1.8}#plan-bundle-section[hidden],#plan-simple-section[hidden]{display:none!important}
@media(max-width:800px){.bundle-editor{padding:15px}.bundle-editor .section-heading{gap:8px;flex-wrap:wrap}.bundle-editor .text-button{font-size:12px}.plan-bundle-summary>div{grid-template-columns:1fr}.training-usage>article{flex-direction:column;gap:12px}.training-usage{padding:20px}.plan-bundle-summary span{line-height:1.6}}
.bundle-editor .type-access{display:flex;flex-wrap:wrap;gap:0 17px;padding:12px}.bundle-editor .type-access label{padding:8px 0;font-size:12px;max-width:100%}.bundle-editor .type-access legend{max-width:100%;font-size:12px;line-height:1.7}.bundle-editor .type-access input{flex-shrink:0}
#plan-bundle-section>.btn{white-space:normal;line-height:1.6;text-align:center}.bundle-editor .field{min-width:0}.bundle-editor label span{overflow-wrap:anywhere}
.account-section{margin:24px 0}.account-section h2{margin-bottom:12px}.privacy-choice{display:flex;gap:12px;align-items:flex-start;padding:12px 0;font-size:13px;line-height:1.7}.privacy-choice input{width:18px;height:18px;flex-shrink:0}.account-boxes{margin:20px 0}.account-boxes article{display:flex;gap:16px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}.account-boxes strong,.account-boxes small{display:block;overflow-wrap:anywhere}.account-boxes small{margin-top:6px;color:var(--muted)}.member-create{display:flex;justify-content:flex-end;margin-bottom:18px}.card-item{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.card-item p{line-height:1.7}.note-content{white-space:pre-wrap}#dialog details form{margin-top:20px}#card-reservation-filter{margin:12px 0;max-width:100%}#dialog input[type=file]{padding:10px;max-width:100%}.account-section .dialog-actions{flex-wrap:wrap}.login-form>.text-button{margin-top:20px}
@media(max-width:800px){.account-boxes article{flex-wrap:wrap}.account-section{padding:20px}.account-section .dialog-actions>.btn{width:100%;white-space:normal}.member-create>.btn{width:100%}}
.contract-section{margin:24px 0}.contract-section>.section-heading{flex-wrap:wrap}.contract-card{padding:22px;border:1px solid var(--line);border-radius:14px;margin:16px 0;background:#fbfcff}.contract-card h3{margin:0!important;overflow-wrap:anywhere}.contract-card p{line-height:1.8}.contract-card>.section-heading{margin:0 0 14px}.contract-credit-fields{margin:20px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.contract-credit-fields legend{font-size:12px;line-height:1.7}.contract-card .dialog-actions{flex-wrap:wrap}.contract-card .dialog-actions button{white-space:normal;text-align:left}
@media(max-width:800px){.contract-card{padding:16px}.contract-card>.section-heading{flex-wrap:wrap;gap:10px}.contract-credit-fields{min-width:0}.contract-section>.section-heading>.btn{width:100%}}
.contract-usage{display:grid;gap:10px;margin:18px 0}.contract-usage article{display:grid;gap:6px;padding:12px;border-radius:10px;background:var(--pale);font-size:12px;line-height:1.7}.contract-usage strong{color:var(--blue)}.contract-usage span{color:var(--muted)}
.finance-table{min-width:790px}.finance-table small{display:block;color:var(--muted);margin-top:5px}.finance-attempt{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:19px 0;border-bottom:1px solid var(--line)}.finance-attempt>div{min-width:0;flex:1}.finance-attempt strong,.finance-attempt p{overflow-wrap:anywhere}.finance-attempt p{line-height:1.8}.finance-attempt>.btn{flex-shrink:0}#finance-settings-form{margin-top:24px;max-width:670px}.finance-table td{white-space:normal}.finance-attempt .form-error{display:block}#dialog .dialog-actions>a.btn{font-size:12px;text-decoration:none;white-space:normal;text-align:center}
@media(max-width:800px){.finance-attempt{flex-wrap:wrap;align-items:flex-start}.finance-attempt>div{flex-basis:100%}.finance-attempt>.btn{max-width:100%;white-space:normal}.finance-attempt>.text-button{white-space:normal}.contract-section .section-heading h2{font-size:18px}}
.finance-invoice-line{border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0;min-width:0}.finance-invoice-line legend{font-size:13px;font-weight:650;padding:0 8px}.finance-invoice-line .text-button{font-size:12px}#cart-quote-form~.btn.full{margin-top:12px}
.finance-pos-products{margin:22px 0}.finance-pos-product{display:grid;grid-template-columns:1fr 115px;gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.finance-pos-product>div{min-width:0}.finance-pos-product strong,.finance-pos-product small{display:block;overflow-wrap:anywhere}.finance-pos-product small{color:var(--muted);font-size:12px;line-height:1.7;margin-top:6px}.finance-pos-product .field{margin:0}.finance-pos-product .field label{font-size:11px}.finance-pos-product input{width:100%}#finance-pos-save[hidden]{display:none}
@media(max-width:800px){.finance-pos-product{grid-template-columns:minmax(0,1fr) 85px;gap:10px}}

@media(max-width:560px){.finance-cash-metrics{grid-template-columns:1fr}.finance-cash-metrics .metric-value{font-size:27px;overflow-wrap:normal}}
.strength-prescription{margin:26px 0}.strength-block{padding:20px;border:1px solid var(--line);border-radius:14px;margin:16px 0;background:#fbfcff}.strength-block .section-heading{margin-bottom:14px;flex-wrap:wrap;gap:10px}.strength-block h3{margin:0!important}.strength-table{width:100%;border-collapse:collapse;font-size:13px}.strength-table th,.strength-table td{padding:12px 8px;border-bottom:1px solid var(--line);text-align:left}.strength-table th{font-size:11px;color:var(--muted);font-weight:600}.strength-table small{display:block;margin-top:6px;color:var(--muted);font-size:10px;white-space:normal}.strength-table td strong{white-space:nowrap}.strength-block .dialog-actions{flex-wrap:wrap}.strength-block .dialog-actions .btn{white-space:normal}.strength-home{margin:28px 0}.strength-home>.section-heading{flex-wrap:wrap;gap:12px}.strength-record-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:22px 0}.strength-record-card{border:1px solid var(--line);padding:18px;border-radius:12px}.strength-record-card h3{margin-top:0}.strength-record-card p{line-height:1.8}.strength-step{display:grid;gap:8px;max-width:330px;font-size:12px;color:var(--muted)}.strength-step select{width:100%}.strength-today{margin:24px 0}.strength-today-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid var(--line)}.strength-today-row p{line-height:1.8}.strength-interpret{margin:22px 0;padding:18px;background:var(--pale);border-radius:12px}.strength-builder-block,.strength-actual-sets fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px;margin:22px 0}.strength-builder-block legend,.strength-actual-sets legend{font-size:12px;font-weight:650;line-height:1.8;padding:0 8px;max-width:100%;overflow-wrap:anywhere}.strength-builder-set{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr) 25px;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.strength-builder-set>.field{margin:0}.strength-builder-set>strong{font-size:11px}.strength-builder-set label{font-size:10px}.strength-builder-block>.dialog-actions{flex-wrap:wrap}.strength-builder-block input{width:100%;min-width:0}.strength-set-checks{display:grid;gap:12px}.strength-set-checks label{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6}.strength-set-checks input{width:18px;height:18px;flex-shrink:0}.strength-actual-sets .form-row{margin-bottom:16px}
@media(max-width:560px){.strength-block{padding:12px}.strength-table th,.strength-table td{padding:10px 4px}.strength-table{font-size:12px}.strength-today-row{flex-wrap:wrap}.strength-today-row>.btn{width:100%}.strength-home{padding:18px}.strength-builder-block,.strength-actual-sets fieldset{padding:12px}.strength-builder-set{gap:8px;grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) 20px}.strength-builder-set input{padding:10px 8px}.strength-record-grid{grid-template-columns:minmax(0,1fr)}}
.table-wrap .strength-table{min-width:0;table-layout:fixed}.table-wrap .strength-table th,.table-wrap .strength-table td{padding:12px 6px;overflow-wrap:break-word}.table-wrap .strength-table th:nth-child(1){width:32px}.table-wrap .strength-table th:nth-child(2){width:42px}.table-wrap .strength-table th:nth-child(3){width:77px}.strength-block .table-wrap{border-right:0}
@media(max-width:560px){.table-wrap .strength-table th,.table-wrap .strength-table td{padding:10px 3px;font-size:11px}.table-wrap .strength-table th:nth-child(1){width:26px}.table-wrap .strength-table th:nth-child(2){width:34px}.table-wrap .strength-table th:nth-child(3){width:68px}.table-wrap .strength-table th:last-child{font-size:10px}}

.catalog-price{font-size:27px;font-weight:750;color:var(--blue)}.catalog-price small{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:7px}.catalog-admin,.catalog-orders{margin-top:24px}.catalog-review{border:1px solid var(--line);border-radius:12px;padding:18px;margin:22px 0}.catalog-review p{line-height:1.8}#catalog-settings-form{max-width:680px;margin-top:20px}#catalog-quote-result{margin-top:16px}#catalog-confirmation[hidden],#catalog-checkout-button[hidden]{display:none}.catalog-orders .dialog-actions{flex-wrap:wrap}.catalog-admin>.section-heading{flex-wrap:wrap;gap:14px}.catalog-review strong{white-space:nowrap}
@media(max-width:560px){.catalog-review{padding:12px}.catalog-review .data-pair{gap:12px}.catalog-orders .dialog-actions>.btn{width:100%}.catalog-admin>.section-heading>.btn{width:100%}}

@media(max-width:800px){.nav button{flex:0 0 auto;min-width:62px;padding:8px 9px}.nav button span{white-space:nowrap}}

#transition-confirmation[hidden],#transition-confirm-button[hidden]{display:none}.contract-card .note .dialog-actions{margin-bottom:0}.catalog-review .data-pair strong{white-space:normal;text-align:right;overflow-wrap:anywhere}

.catalog-review .data-pair>span{flex:1;min-width:0}.catalog-review .data-pair>strong{flex:0 0 auto;min-width:90px;max-width:62%;overflow-wrap:break-word}.transition-access{font-size:12px;line-height:1.8}.transition-access h4{margin:18px 0 8px}

.button-row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.button-row .btn{white-space:normal;text-align:center} .bank-selection{border-bottom:1px solid var(--line);padding:18px 0}.bank-selection .field{margin-top:12px}#bank-preview,#bank-result-preview{margin-top:20px}#bank-import-form textarea{font-family:monospace;max-width:100%;overflow-wrap:anywhere}

#bank-create-save[hidden],#bank-result-save[hidden]{display:none}

#collection-save[hidden]{display:none}

#dialog[data-kind="finance"] .data-pair>span{flex:1;min-width:0;overflow-wrap:anywhere}#dialog[data-kind="finance"] .data-pair>strong{flex:0 0 auto;min-width:85px;white-space:nowrap;text-align:right;overflow-wrap:normal}#dialog[data-kind="finance"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind="finance"] .dialog-actions>.btn,#dialog[data-kind="finance"] .dialog-actions>.text-button{max-width:100%;white-space:normal;text-align:center;flex:1 1 125px}

.member-create{gap:12px;flex-wrap:wrap}.import-panel{margin-bottom:24px}.import-panel>h2{margin-bottom:14px}.import-panel form{margin-top:18px}.import-panel label:not(.privacy-choice){display:block;font-size:13px;font-weight:600;margin:12px 0 8px}.import-panel input:not([type=checkbox]),.import-panel select{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit}.import-panel .btn[type=submit]{margin-top:18px}.import-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.import-table-scroll{overflow:auto;margin-top:18px;border:1px solid var(--line);border-radius:10px}.import-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.import-table th,.import-table td{padding:14px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;min-width:90px}.import-table td:nth-child(2){min-width:220px}.import-table th{background:var(--surface)}.import-errors{padding-left:24px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.import-panel .dialog-actions{flex-wrap:wrap}.import-panel .advanced-settings{margin:18px 0}.import-panel .form-error:empty{display:none}.import-panel .card-item h3{overflow-wrap:anywhere}@media(max-width:600px){.import-mapping{grid-template-columns:1fr}.import-panel{padding:20px}.import-panel .btn{white-space:normal}.import-panel .dialog-actions>.btn{width:100%}}

.planning-panel{margin-bottom:24px}.planning-panel h2{margin-bottom:16px}.planning-panel details{margin:14px 0}.planning-venue{margin:16px 0 0;padding:16px;border-left:3px solid var(--line)}.planning-room{padding:15px 0;border-bottom:1px solid var(--line)}.planning-panel .dialog-actions{flex-wrap:wrap}.planning-panel .card-item strong,.planning-panel h3{overflow-wrap:anywhere}.planning-weekdays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;padding:14px;border:1px solid var(--line);border-radius:10px}.planning-weekdays legend{font-size:13px;font-weight:650;padding:0 6px}.planning-weekdays label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.planning-weekdays input{width:18px;height:18px;flex-shrink:0}#planning-form>fieldset,#planning-resource-form>fieldset{margin:20px 0}.planning-hours-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(75px,1fr) minmax(75px,1fr) 32px;gap:8px;align-items:center;margin-bottom:10px}.planning-hours-row label{min-width:0}.planning-hours-row input,.planning-hours-row select{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;font:inherit}.planning-review{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);overflow-wrap:anywhere}.planning-operation-list{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:0 14px;margin:16px 0}.planning-operation-list .card-item{padding:12px 0;font-size:13px}.planning-review>.note{margin:14px 0}.planning-panel .section-heading{gap:16px;flex-wrap:wrap}@media(max-width:600px){.planning-panel{padding:20px}.planning-panel .btn{white-space:normal}.planning-venue{padding-left:12px}.planning-weekdays{grid-template-columns:1fr}.planning-hours-row{grid-template-columns:1fr 1fr 32px}.planning-hours-row>label:first-child{grid-column:1/-1}.planning-review .btn{white-space:normal}.planning-panel .dialog-actions>.btn{width:100%}}
#dialog[data-kind="planning"] .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:12px}.planning-location-filter{max-width:400px;margin:18px 0}

.notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:20px;padding:0 5px;background:var(--blue);color:#fff;font-size:10px;margin-left:auto}.notification-panel{margin-top:20px}.notification-item{padding:24px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.notification-item.unread{border-left:3px solid var(--blue);padding-left:16px}.notification-item h2{font-size:17px}.notification-item p{font-size:14px;line-height:1.8}.notification-item .section-heading{gap:12px;align-items:flex-start}.notification-item .dialog-actions,.booking-offer .dialog-actions{flex-wrap:wrap}.booking-offer{margin:20px 0;display:block}.booking-offer h3{margin-bottom:12px}.booking-offer p{line-height:1.7}.booking-card-filters{margin-top:16px}.booking-card-filters>.field{margin-top:12px}#card-reservations>.btn{margin:12px 0}#card-reservations .dialog-actions{flex-wrap:wrap}#card-reservations details{margin-top:14px}#card-reservations .card-item p{overflow-wrap:anywhere}@media(max-width:600px){.notification-panel{padding:20px}.notification-item .btn,.booking-offer .btn{white-space:normal}.booking-offer .dialog-actions>.btn{width:100%}.notification-item .section-heading{flex-wrap:wrap}#card-reservations .dialog-actions>.btn{width:100%}}
#dialog[data-kind="card"] .dialog-head,#dialog[data-kind="detail"] .dialog-head,#dialog[data-kind="booking-card"] .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:12px}
.access-panel{margin:24px 0;min-width:0}.access-panel .dialog-actions{flex-wrap:wrap;justify-content:flex-start}.access-panel .btn{white-space:normal;text-align:center;max-width:100%}.lesson-access-section{margin:16px 0}.lesson-access-section .note{margin-bottom:14px}.lesson-access-section p{overflow-wrap:anywhere}#dialog[data-kind="stream"] .dialog-head,#dialog[data-kind="calendar"] .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:12px}@media(max-width:600px){.access-panel .dialog-actions{flex-direction:column;align-items:stretch}.access-panel .dialog-actions>.btn{width:100%}}
.groups-panel{margin:24px 0}.group-card{padding:24px 0;border-bottom:1px solid var(--line);min-width:0}.group-card>.section-heading{align-items:flex-start;gap:12px}.group-card h2,.group-card p,.group-occurrence p,.group-occurrence strong{overflow-wrap:anywhere}.group-card details,.group-review-moments{margin:18px 0}.group-card summary,.group-review-moments summary{cursor:pointer;line-height:1.7;font-size:14px;font-weight:650}.group-occurrence{padding:20px 0;border-bottom:1px solid var(--line)}.group-occurrence .section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.group-occurrence .section-heading strong{font-size:14px}.group-occurrence .dialog-actions{flex-wrap:wrap;justify-content:flex-start}.group-occurrence .btn{white-space:normal}#dialog[data-kind="group"] .dialog-head{position:sticky;top:0;z-index:2;background:#fff;padding-bottom:12px}#dialog[data-kind="group"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind="group"] .note p:last-child{margin-bottom:0}@media(max-width:600px){.group-card>.section-heading{flex-direction:column}.groups-panel{padding:20px}.group-occurrence .btn{width:100%}#dialog[data-kind="group"] .btn{white-space:normal}}
.event-schedule-entry{margin-bottom:20px}.event-panel{margin:24px 0}.event-ticket{padding:24px 0;border-bottom:1px solid var(--line);min-width:0}.event-ticket .section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.event-ticket p,.event-ticket h3,.event-ticket h2,.event-detail p{overflow-wrap:anywhere}.event-ticket .dialog-actions,.event-panel>.dialog-actions{flex-wrap:wrap;justify-content:flex-start}.ticket-code{font-family:ui-monospace,monospace;overflow-wrap:anywhere;display:block;font-size:14px;letter-spacing:1px;margin:8px 0}.event-detail{padding:18px 0;border-block:1px solid var(--line);margin:16px 0}.public-agenda{max-width:1000px;margin:0 auto;padding:36px 24px}.public-agenda .brand{margin-bottom:36px}.public-agenda .panel{padding:26px;margin:20px 0}.public-agenda a.btn{display:inline-flex;text-decoration:none;white-space:normal}#dialog[data-kind="event"] .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:12px}@media(max-width:600px){.event-panel{padding:20px}.event-ticket .dialog-actions>.btn{width:100%;white-space:normal}.event-ticket .section-heading{flex-direction:column}.public-agenda{padding:28px 18px}.public-agenda .panel{padding:20px}.event-panel>.dialog-actions{flex-direction:column;align-items:stretch}}
.event-ticket>.section-heading{margin-top:0;margin-bottom:12px}#dialog .event-ticket>.section-heading h3{margin-top:0}.event-ticket .btn{white-space:normal}#dialog[data-kind="event"]>.event-ticket{padding-top:0}

.public-agenda .event-ticket>[data-guest-register]{margin-top:12px;display:block}.public-agenda .note{margin-bottom:20px}.public-agenda .ticket-code{overflow-wrap:anywhere}#guest-dialog{max-width:min(520px,calc(100vw - 32px))}#guest-copy-status{display:block;margin-top:8px;font-size:13px}#guest-intake-list .event-ticket p{overflow-wrap:anywhere}

.message-card{margin-bottom:20px;min-width:0}.message-card h2,.message-card h3,.message-delivery strong{overflow-wrap:anywhere}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:14px 0}.message-delivery{padding:16px 0;border-bottom:1px solid var(--line)}.message-delivery:last-child{border-bottom:0}.message-card details{margin:16px 0}.message-card summary{cursor:pointer;line-height:1.6}.message-card fieldset,#comm-compose-form fieldset,#comm-rule-form fieldset{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:12px}.comm-selection[hidden]{display:none}#comm-people{min-height:150px}.message-card .dialog-actions{flex-wrap:wrap}

.nl-selection[hidden]{display:none}#nl-people{min-height:150px}.nl-page .section-heading{flex-wrap:wrap}.nl-page .message-delivery p{overflow-wrap:anywhere}

.nl-member .tag{display:inline-block;margin:8px 0}.nl-member .btn{display:block;margin-top:12px}

.pf-stage{border:1px solid var(--line);border-radius:12px;padding:16px;margin:20px 0}.pf-stage fieldset{border:1px solid var(--line);border-radius:10px;padding:12px;margin:12px 0}.pf-delivery{padding:12px 0}.pf-delivery summary{overflow-wrap:anywhere}#pf-policy-form fieldset{min-width:0}#pf-policy-form .form-row>*{min-width:0}

.pf-page .section-heading{flex-wrap:wrap}.pf-page .dialog-actions{flex-wrap:wrap;justify-content:flex-start}.pf-page .btn,#dialog[data-kind="followup"] .btn{white-space:normal;max-width:100%}.pf-page .message-delivery p{overflow-wrap:anywhere}

.crm-card{margin:18px 0;min-width:0}.crm-card .section-heading,.crm-card .dialog-actions,#dialog[data-kind="crm"] .dialog-actions{flex-wrap:wrap}.crm-card .btn,#dialog[data-kind="crm"] .btn{white-space:normal;max-width:100%}.crm-card p,.crm-card h2,#dialog[data-kind="crm"] p{overflow-wrap:anywhere}#dialog[data-kind="crm"] details{margin:20px 0}#dialog[data-kind="crm"] summary{cursor:pointer;line-height:1.7}

.connection-status{position:sticky;top:0;z-index:110;background:#fff3db;color:#684505;padding:10px 20px;text-align:center;font-size:13px;line-height:1.5}.connection-status[hidden]{display:none}.pwa-panel{margin-top:24px}.pwa-panel .section-heading,.webpush-panel .section-heading{flex-wrap:wrap}.pwa-panel .btn,.webpush-panel .btn{white-space:normal;margin:5px 5px 5px 0;max-width:100%}.webpush-panel{margin:24px 0}.webpush-panel details{margin:16px 0}.webpush-panel p{overflow-wrap:anywhere}@media(max-width:800px){.nav{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.content{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.topbar{padding-top:env(safe-area-inset-top)}}

.management-filter{margin:20px 0}.management-filter .form-row>div{min-width:0}.management-filter .btn{margin-top:12px}.report-section>.btn{margin:5px 8px 12px 0}.report-section table td{overflow-wrap:anywhere}

.management-scroll-hint{display:none}@media(max-width:800px){.management-scroll-hint{display:block}}

.mh-chart{margin:16px 0}.mh-chart rect:focus{outline:2px solid #202122}.report-section>details{margin-top:18px}.report-section .text-button{white-space:normal}

.coaching-card{margin:20px 0;min-width:0}.coaching-card .section-heading{flex-wrap:wrap}.coaching-card h2,#dialog[data-kind="coaching"] h2,#dialog[data-kind="coaching"] p{overflow-wrap:anywhere}#dialog[data-kind="coaching"] .btn{white-space:normal;max-width:100%}#dialog[data-kind="coaching"] .dialog-actions{flex-wrap:wrap}

@media(min-width:801px){.sidebar .nav{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar>.brand,.sidebar>.club,.sidebar-bottom{flex-shrink:0}}

#dialog[data-kind="appointment"] .dialog-actions{flex-wrap:wrap}#dialog[data-kind="appointment"] .btn{white-space:normal;max-width:100%}#dialog[data-kind="appointment"] h2,#dialog[data-kind="appointment"] p{overflow-wrap:anywhere}#appointment-filters-form{margin:20px 0;align-items:end;flex-wrap:wrap}#appointment-filters-form .field{min-width:150px;flex:1}

/* Protected measurements use short rows on phone-sized screens. */
.measurement-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.measurement-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;margin:16px 0}.measurement-values dt{font-size:.8rem;color:var(--muted)}.measurement-values dd{margin:4px 0;font-weight:650}.measurement-history{margin:24px 0}.measurement-history>summary{cursor:pointer;font-weight:650;margin-bottom:16px}@media(max-width:420px){.measurement-fields{grid-template-columns:1fr}}

#dialog[data-kind="measurements"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind="measurements"] .btn,#dialog[data-kind="measurements"] .text-button{white-space:normal;max-width:100%;text-align:left}#dialog[data-kind="measurements"] p,#dialog[data-kind="measurements"] h2{overflow-wrap:anywhere}.measurement-source-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}@media(max-width:600px){#dialog[data-kind="measurements"] .dialog-actions{flex-direction:column;align-items:stretch}#dialog[data-kind="measurements"] .dialog-actions>.btn{width:100%}}

.exercise-library-card .section-heading{flex-wrap:wrap}.exercise-player{margin:18px 0}.exercise-player video,.exercise-player iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px}.exercise-guide-history{margin:24px 0}#dialog[data-kind^="exercise-"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind^="exercise-"] .btn,#dialog[data-kind^="exercise-"] .text-button{max-width:100%;white-space:normal}#dialog[data-kind^="exercise-"] p,#dialog[data-kind^="exercise-"] h2{overflow-wrap:anywhere}@media(max-width:600px){#dialog[data-kind^="exercise-"] .dialog-actions{flex-direction:column;align-items:stretch}}

.performance-source-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}#dialog[data-kind^="performance-"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind^="performance-"] .btn,#dialog[data-kind^="performance-"] .text-button{white-space:normal;max-width:100%}#dialog[data-kind^="performance-"] p,#dialog[data-kind^="performance-"] h2,#dialog[data-kind^="performance-"] h3{overflow-wrap:anywhere}@media(max-width:600px){#dialog[data-kind^="performance-"] .dialog-actions{flex-direction:column;align-items:stretch}}

.exercise-library-actions{flex-wrap:wrap}.programming-section{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0}.programming-section h3,.programming-section p{flex-basis:100%;margin:0}.programming-exercises{display:grid;gap:9px;margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}#dialog[data-kind^="programming-"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}#dialog[data-kind^="programming-"] .btn,#dialog[data-kind^="programming-"] .text-button{max-width:100%;white-space:normal}#dialog[data-kind^="programming-"] p,#dialog[data-kind^="programming-"] h2,#dialog[data-kind^="programming-"] h3{overflow-wrap:anywhere}@media(max-width:600px){#dialog[data-kind^="programming-"] .dialog-actions{flex-direction:column;align-items:stretch}.exercise-library-actions{justify-content:flex-start}}

/* Keep lesson actions reachable when a coach has additional management rights. */
#dialog[data-kind="detail"]>.dialog-actions,#dialog[data-kind^="publishing-"] .dialog-actions{flex-wrap:wrap}
#dialog[data-kind^="publishing-"] .btn{max-width:100%;white-space:normal}
@media(max-width:600px){#dialog[data-kind="detail"]>.dialog-actions>.btn{width:100%;white-space:normal}#dialog[data-kind^="publishing-"] .dialog-actions>.btn{width:100%}}

#dialog[data-kind^="publishing-"] .dialog-head>div{min-width:0}#dialog[data-kind^="publishing-"] .dialog-head h2{overflow-wrap:anywhere}

.social-feed{max-width:900px;display:grid;gap:20px;margin-top:20px}.social-card{margin:0;min-width:0}.social-card .section-heading{align-items:flex-start;gap:12px}.social-card .section-heading p{margin:5px 0}.social-card .message-text,.social-comment .message-text{overflow-wrap:anywhere}.social-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.social-images:empty{display:none}.social-image-button{padding:0;border:0;background:var(--light,#f6f8fc);cursor:pointer;border-radius:12px;overflow:hidden;min-width:0}.social-photo{display:block;width:100%;height:220px;object-fit:cover}.social-photo-unavailable{background:#f5f7fb;border:1px solid var(--line);padding:20px;border-radius:12px;font-size:13px}.social-counts{display:flex;gap:20px;color:var(--muted);font-size:13px;margin-top:14px;flex-wrap:wrap}.social-card .dialog-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:14px}.social-card .btn{white-space:normal;max-width:100%}.social-comment{border-bottom:1px solid var(--line);padding:18px 0}.social-comment .dialog-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:8px}.social-intro .view-switch{max-width:100%;flex-wrap:wrap}.social-full-photo{display:block;max-width:100%;max-height:62dvh;object-fit:contain;margin:0 auto 18px}.social-draft-photo,.social-existing-photo{border:1px solid var(--line);border-radius:12px;padding:12px;margin:14px 0;min-width:0}.social-draft-photo>img,.social-existing-photo>img{display:block;max-width:100%;max-height:230px;margin:0 auto 12px;object-fit:contain}.social-draft-photo fieldset{border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}.social-draft-photo legend{font-size:13px}.social-draft-photo .check{margin:8px 0}#dialog[data-kind^="social-"] .dialog-actions{flex-wrap:wrap}#dialog[data-kind^="social-"] .btn{white-space:normal;max-width:100%}#dialog[data-kind^="social-"] .dialog-head>div{min-width:0}#dialog[data-kind^="social-"] h2{overflow-wrap:anywhere}#social-post-form input[type=file]{max-width:100%}.social-image-consent[hidden]{display:none}
@media(max-width:600px){.social-images{grid-template-columns:minmax(0,1fr)}.social-photo{height:auto;max-height:320px}.social-card .dialog-actions>.btn{width:100%}.social-intro{padding:20px}.social-card{padding:20px}#dialog[data-kind^="social-"] .dialog-actions>.btn{width:100%}}
.social-result-source{background:var(--surface-soft,#f4f6f9);padding:14px;border-radius:12px;margin:12px 0;overflow-wrap:anywhere}.social-result-source p{margin:8px 0}.social-ranks{list-style:none;padding:0;margin:18px 0}.social-ranks li{border-top:1px solid var(--border,#e1e4e8);padding:16px 0}.social-ranks li p{margin:8px 0}
.hyrox-time-rounds fieldset,#hyrox-profile-rounds fieldset{min-width:0;margin:16px 0;padding:16px;border:1px solid var(--border,#e1e4e8);border-radius:12px}.hyrox-time-rounds legend,#hyrox-profile-rounds legend{padding:0 6px;font-weight:700}.hyrox-time-rounds .form-grid,#hyrox-profile-rounds .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hyrox-public-splits{margin:12px 0;overflow-wrap:anywhere}@media(max-width:600px){.hyrox-time-rounds .form-grid,#hyrox-profile-rounds .form-grid{grid-template-columns:1fr}}
.table-wrap .hyrox-split-table{min-width:0;width:100%;table-layout:fixed}.hyrox-split-table th,.hyrox-split-table td{padding:10px;overflow-wrap:anywhere;vertical-align:top}.hyrox-split-table th:first-child,.hyrox-split-table td:first-child{width:58%}.hyrox-split-table th:last-child,.hyrox-split-table td:last-child{width:42%;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Keep the member-card balance readable on phone widths. */
.card-service-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.card-service-metrics>.metric:last-child:nth-child(3){grid-column:1 / -1}
.card-service-metrics .metric-value{overflow-wrap:normal;word-break:normal}

#dialog[data-kind^="digital-"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start}
#dialog[data-kind^="digital-"] .btn{max-width:100%;white-space:normal}
#dialog[data-kind^="digital-"] video{display:block;max-width:100%}

.event-schedule-price{display:block;margin:7px 0;color:var(--ink);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.week-event-price{display:block;margin:4px 0;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.event-own-access{font-weight:650}

/* Box branding keeps text beside images and preserves role navigation. */
.branding-logo{width:38px;height:38px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:6px}.branding-name{font-size:16px;overflow-wrap:anywhere;line-height:1.3;min-width:0}.brand{min-width:0}.sidebar>.brand{max-width:100%}.branding-intro{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:24px;margin-bottom:24px;border-left:5px solid var(--brand-accent,var(--blue));align-items:center}.branding-intro:not(:has(img)){grid-template-columns:1fr}.branding-splash{width:100%;max-height:240px;object-fit:contain;border-radius:12px;background:var(--pale)}.branding-intro h2,.branding-intro p{overflow-wrap:anywhere}.branding-file-preview{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:12px 0}.branding-file-preview[hidden]{display:none}.branding-preview{padding:20px;border:2px solid var(--preview-accent);border-radius:12px;background:white;overflow-wrap:anywhere}.branding-preview strong{color:var(--preview-primary)}.branding-preview span{display:inline-block;background:var(--preview-primary);color:white;border-radius:8px;padding:12px}.branding-menu{min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px;margin:18px 0}.branding-menu-list{list-style:none;padding:0;margin:0}.branding-menu-list li{display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:9px 0}.branding-menu-list label{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-size:13px;overflow-wrap:anywhere}.branding-menu-list input{width:18px;height:18px;flex-shrink:0}.branding-menu-list .icon-button{flex-shrink:0}.branding-full-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.branding-full-menu .btn{white-space:normal;text-align:left}.box-branded .hero-main .eyebrow,.box-branded .hero-main p,.box-branded .hero-meta,.box-branded .day.active span{color:white}.box-branded .hero-main .btn{color:var(--blue)}.box-branded .insight strong{color:var(--blue)}#branding-form .btn{white-space:normal}#branding-form .field input[type=color]{height:48px;padding:4px}#dialog[data-kind="branding-edit"] .dialog-head{position:sticky;top:0;background:white;z-index:2;padding-bottom:12px}.login-sample .branding-intro{display:block;margin:0;padding:14px}.login-sample .branding-intro img{max-height:180px;margin-bottom:14px}.box-branded .login-intro{background:var(--pale)}@media(max-width:600px){.branding-intro{grid-template-columns:1fr;padding:20px}.branding-splash{max-height:200px}.mobile-brand .branding-name{font-size:13px;max-width:155px}.mobile-brand .branding-logo{width:28px;height:28px}.branding-full-menu{grid-template-columns:1fr}#branding-form .form-row{grid-template-columns:1fr}.login-sample .branding-intro{padding:12px}}

@media(max-width:800px){.box-branded .login{display:flex;flex-direction:column}.box-branded .login-intro{display:block;padding:88px 24px 24px}.box-branded .login-intro .brand{top:24px;left:24px;right:24px}.box-branded .login-intro h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:12px 0}.box-branded .login-intro p{font-size:14px}.box-branded .login-sample{display:block;transform:none;max-width:100%}.box-branded .login-form-area{padding:28px 24px}}

.box-branded .btn:not(.secondary):not(.soft):hover{background:var(--blue);filter:brightness(.95)}.box-branded .hero-main .btn:hover{background:white;color:var(--blue)}.box-branded input[type=checkbox]{accent-color:var(--blue)}.box-branded .tag:not(.green):not(.orange):not(.gray):not(.type-chip){color:var(--blue)}

.login-sample[hidden]{display:none}.branding-login-skip{margin-top:14px;width:fit-content}

#dialog[data-kind="discipline"] .dialog-head{position:sticky;top:0;background:white;z-index:2;padding-bottom:12px}#dialog[data-kind="discipline"] .btn{white-space:normal}#dialog[data-kind="discipline"] p{overflow-wrap:anywhere}

/* The box setup dialog remains usable on a phone and with long staff lists. */
#dialog[data-kind^="box-setup"]{max-height:90dvh;overflow:auto}#dialog[data-kind^="box-setup"] .dialog-head{position:sticky;top:-1px;background:var(--surface,#fff);z-index:2}#dialog[data-kind^="box-setup"] .card-item{overflow-wrap:anywhere}#dialog[data-kind^="box-setup"] h3{margin-top:1.5rem}

#dialog[data-kind^="box-setup"] .dialog-actions{flex-wrap:wrap;justify-content:flex-start;overflow:visible}#dialog[data-kind^="box-setup"] .dialog-actions .btn{max-width:100%;white-space:normal}

.loc-access-venue{min-width:0;margin:12px 0;padding:14px;border:1px solid #dbe3f0;border-radius:12px}.loc-access-capabilities{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:4px 16px}.loc-access-capabilities .privacy-choice{align-items:flex-start;overflow-wrap:anywhere}.loc-access-venue select{max-width:100%}

/* Everyday planning: short controls, seven visible days and optional detail. */
.roster-header{display:flex;align-items:center;gap:16px;margin:0 0 14px;min-width:0}
.roster-header h1{font-size:27px;letter-spacing:-.7px;margin:0;flex:1;min-width:0}
.roster-header select,.roster-density select{min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:8px 30px 8px 12px;font-size:13px;max-width:100%}
.roster-section{max-width:52%}
.roster-page .roster-toolbar{gap:10px;margin:0 0 10px}
.roster-page .view-switch{padding:3px}
.roster-page .view-switch button{padding:8px 12px;min-height:38px}
.roster-density{margin-right:auto}
.roster-page .week-navigation{margin-left:auto;justify-content:space-between}
.roster-page .week-navigation .icon-button{min-width:44px;min-height:44px}
.roster-filters{display:flex;align-items:center;gap:10px;min-width:0;margin:0 0 12px}
.roster-page .filters{flex:1;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;margin:0;gap:6px;min-width:0;scrollbar-width:thin;padding:2px 0 4px}
.roster-page .filters .chip{flex-shrink:0;max-width:230px;overflow:hidden;text-overflow:ellipsis;min-height:40px}
.roster-page .planning-location-filter{max-width:220px;margin:0}
.roster-page .planning-location-filter .field{margin:0}
.roster-page .planning-location-filter label{font-size:10px;margin-bottom:3px}
.roster-page .planning-location-filter select{min-height:40px;padding:7px 10px}
.roster-help{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
.roster-help summary{font-size:12px;color:var(--muted);cursor:pointer;min-height:38px;padding:10px 0}
.roster-help p{margin-bottom:0}
.roster-color-key{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 0;font-size:11px;color:var(--muted)}
.roster-color-key>span{display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere;max-width:100%}
.roster-color-key i{width:9px;height:9px;flex-shrink:0;border-radius:3px;background:var(--lesson-color,var(--blue))}
.roster-manage{position:relative;font-size:12px}
.roster-manage summary{cursor:pointer;padding:12px 0}
.roster-manage>div{position:absolute;right:0;top:100%;z-index:8;min-width:190px;background:white;border:1px solid var(--line);padding:12px;border-radius:12px;box-shadow:0 8px 20px #20212212;display:grid;gap:8px}
.compact-summary,.compact-spots,.compact-status,.compact-buddies{display:none}
.roster-compact .week-calendar{min-width:0}
.roster-compact .week-calendar .time-heading,.roster-compact .week-calendar .week-time{width:45px}
.roster-compact .week-calendar thead th{height:62px;padding:7px 2px}
.roster-compact .week-calendar thead th strong{font-size:20px;margin:2px 0}
.roster-compact .week-calendar .week-time{padding:18px 2px;font-size:10px}
.roster-compact .week-calendar td{padding:3px;vertical-align:top}
.roster-compact .week-lesson{min-height:59px;padding:8px 3px;border:0;border-left:3px solid var(--lesson-color,var(--blue));border-radius:6px;margin-bottom:3px;position:relative;text-align:center;background:color-mix(in srgb,var(--lesson-color,var(--blue)) 30%,white);box-shadow:none;color:var(--ink)}
.roster-compact .week-lesson:hover{filter:brightness(.96)}
.roster-compact .week-lesson.own{outline:2px solid var(--blue);outline-offset:-2px}
.roster-compact .compact-spots{display:inline-flex;background:#fff;color:#202122;font-size:16px;font-weight:650;border-radius:50%;width:31px;height:31px;align-items:center;justify-content:center;line-height:1}
.roster-compact .week-kind{display:block;font-size:9px;font-weight:600;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.roster-compact .week-title,.roster-compact .week-duration,.roster-compact .week-room,.roster-compact .week-event-price,.roster-compact .week-capacity,.roster-compact .week-lesson .buddy-trail{display:none}
.roster-compact .compact-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px}
.roster-compact .compact-spots{flex-shrink:0}
.roster-compact .compact-status{position:static;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:800;font-size:11px;color:var(--ink)}
.roster-compact .compact-status:empty{display:none}
.roster-compact .compact-buddies{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;margin-top:6px;width:100%}
.roster-compact .compact-buddies .personal-buddy{width:20px;height:20px}
.roster-compact .compact-buddies .personal-buddy svg{width:13px;height:13px}
.roster-compact .compact-status svg{width:12px;height:12px;stroke-width:3}
.roster-compact .is-canceled{opacity:.55;background:#e9edf2;box-shadow:none}
.roster-compact .lesson{border-left:4px solid var(--lesson-color,var(--blue));padding:12px 14px;gap:12px}
.roster-compact .lesson .lesson-sub,.roster-compact .lesson .capacity>span{display:none}
.roster-compact .lesson .lesson-right{width:auto;margin:0;padding:0;margin-left:auto;gap:10px}
.roster-compact .lesson .lesson-time{font-size:18px}
.roster-compact .lesson .lesson-time small{font-size:10px}
.roster-compact .lesson .btn{min-width:0;min-height:42px;font-size:12px;padding:8px 12px}
.event-roster-page[data-section=tickets]>.panel:not(:last-child),.event-roster-page[data-section=tickets]>[data-event-config]{display:none}

/* Primary booking action stays above the inline workout and results. */
#dialog[data-kind=detail]{scroll-padding-top:150px}
.lesson-primary-actions{position:sticky;top:-1px;z-index:5;background:#fff;margin:0;padding:10px 0 14px;justify-content:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.lesson-primary-actions:empty{display:none}
.lesson-primary-actions .btn{flex:1;white-space:normal;min-height:46px}
.lesson-disclosure{border-bottom:1px solid var(--line);margin:0;padding:0}
.lesson-disclosure>summary{cursor:pointer;min-height:60px;display:flex;align-items:center;gap:12px;justify-content:space-between;list-style:none;font-size:15px;font-weight:650;padding:16px 0}
.lesson-disclosure>summary::-webkit-details-marker{display:none}
.lesson-disclosure>summary:after{content:'+';font-size:23px;font-weight:400;color:var(--muted);margin-left:auto}
.lesson-disclosure[open]>summary:after{content:'−'}
.lesson-disclosure>summary>span:first-child{display:flex;align-items:center;gap:8px}
.lesson-disclosure>summary svg{width:18px;height:18px;color:var(--muted)}
.lesson-summary-note{font-size:11px;color:var(--muted);font-weight:400}
.lesson-disclosure-body{padding:0 0 18px;overflow-wrap:anywhere}
.lesson-disclosure .workout-block{margin:0 0 16px;padding:16px;font-size:14px;line-height:1.65}
.lesson-workout-actions{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}
.lesson-workout-actions>.btn{flex:1;min-height:46px;white-space:normal}
.lesson-disclosure [data-lesson-score-slot]:not(:empty){border:1px solid var(--line);border-radius:12px;margin:16px 0 0;padding:16px}
.lesson-score-history{font-size:13px;margin-top:18px}
.lesson-score-history summary{cursor:pointer;min-height:40px}
.lesson-day-ranks{list-style:none;padding:0;margin:14px 0}
.lesson-day-ranks li{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}
.lesson-day-ranks li>strong{flex:1}
.lesson-rank-number{border-radius:50%;background:var(--pale);color:var(--ink);width:28px;height:28px;display:grid;place-items:center;font-weight:650}
.lesson-disclosure .programming-section{margin:12px 0}
.lesson-disclosure .programming-section h3{font-size:14px}
.lesson-disclosure .programming-section .btn{white-space:normal}
@media(max-width:800px){
 .content:has(>.roster-page),.content:has(>.event-roster-page){padding:16px 12px 100px}
 .roster-header{gap:10px;margin-bottom:12px}.roster-header h1{font-size:23px}
 .roster-header select{font-size:16px;min-height:40px;max-width:155px;padding-left:10px}
 .roster-page .roster-toolbar{gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto}
 .roster-page .view-switch{width:fit-content}
 .roster-page .view-switch button{font-size:11px;padding:7px 9px;gap:5px;min-height:36px}
 .roster-page .view-switch button svg{width:15px;height:15px}
 .roster-density{margin:0;min-width:0}.roster-density select{font-size:16px;min-height:42px;padding-left:8px;padding-right:20px;max-width:118px}
 .roster-page .week-navigation{grid-column:1/-1;width:100%;margin:0;gap:4px}.roster-page .week-navigation strong{font-size:12px}
 .roster-page .roster-filters{flex-wrap:wrap;gap:7px;margin-bottom:8px}
 .roster-page .planning-location-filter{width:100%;max-width:none}
 .roster-page .planning-location-filter .field{display:flex;align-items:center;gap:10px}
 .roster-page .planning-location-filter select{flex:1;min-width:0}
 .roster-page .filters{flex-basis:100%}.roster-page .filters .chip{font-size:11px;padding:7px 12px;min-height:40px}
 .roster-compact .week-scroll{border-radius:10px;max-height:calc(100dvh - 130px)}
 .roster-compact .week-calendar .time-heading,.roster-compact .week-calendar .week-time{width:34px;font-size:9px}
 .roster-compact .week-calendar thead th{height:54px}.roster-compact .week-calendar thead th span{font-size:9px}.roster-compact .week-calendar thead th strong{font-size:17px}.roster-compact .week-calendar thead th small{font-size:7px}
 .roster-compact .week-calendar td{padding:2px}.roster-compact .week-lesson{border-radius:4px;min-height:55px;padding:8px 1px}
 .roster-compact .week-kind{display:none}.roster-compact .compact-spots{width:27px;height:27px;font-size:13px}
 .roster-compact .compact-status{font-size:10px}
 .roster-compact .compact-summary{gap:2px}
 .roster-compact .compact-buddies{gap:2px;margin-top:5px}
 .roster-compact .compact-buddies .personal-buddy{width:18px;height:18px}
 .roster-compact .compact-buddies .personal-buddy svg{width:12px;height:12px}.roster-compact .compact-status svg{width:10px;height:10px}
 .roster-compact .lesson{padding:12px 10px;gap:8px}.roster-compact .lesson .lesson-title h3{font-size:13px}.roster-compact .lesson .lesson-title .type-chip{display:none}
 .roster-compact .lesson .lesson-right{padding-left:0;gap:8px}.roster-compact .lesson .capacity{display:none}.roster-compact .lesson .btn{min-width:42px;padding:8px;font-size:11px}
 .roster-color-key{font-size:10px;gap:7px 12px}.roster-manage{font-size:10px}.lesson-summary-note{display:none}
 #dialog[data-kind=detail]{width:100%;max-width:600px;padding:20px;max-height:94dvh;border-radius:18px}
 #dialog[data-kind=detail] .dialog-head{margin-bottom:14px}#dialog[data-kind=detail] .dialog-head h2{font-size:22px}
 #dialog[data-kind=detail] .lesson-primary-actions .btn{width:auto}.lesson-disclosure>summary{min-height:58px}.lesson-disclosure-body .table-wrap{max-width:100%}
}

/* Keep the close control and the booking action together while scrolling. */
#dialog[data-kind=detail] .lesson-sticky-head{position:sticky;top:-28px;z-index:6;background:white;padding-top:28px;margin-top:-28px}#dialog[data-kind=detail] .lesson-sticky-head .dialog-head{position:static;margin-bottom:6px;padding-bottom:0}.lesson-sticky-head .lesson-primary-actions{position:static;padding-top:6px;padding-bottom:12px}
@media(max-width:800px){#dialog[data-kind=detail] .lesson-sticky-head{top:-20px;padding-top:20px;margin-top:-20px}}

/* Platformportal: its own identity context, using the shared public visual base. */
.platform-body{background:var(--bg,#f5f7fb);color:var(--ink,#20242b)}
.platform-login{width:min(100% - 32px,430px);margin:48px auto;padding:24px;background:#fff;border:1px solid #e1e7f0;border-radius:20px}
.platform-login h1{font-size:28px;line-height:1.2;margin:12px 0}.platform-login .brand{margin-bottom:28px}.platform-login .eyebrow{margin-top:18px}
.platform-entry{display:block;margin-top:14px}.platform-shell{max-width:1500px;margin:auto;display:grid;grid-template-columns:220px minmax(0,1fr)}
.platform-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:14px 28px;background:#fff;border-bottom:1px solid #e1e7f0}
.platform-top .brand{font-size:22px;white-space:nowrap}.platform-account{display:flex;align-items:center;gap:16px;font-size:13px}.platform-account>span{overflow-wrap:anywhere;max-width:230px}
.platform-nav{display:flex;flex-direction:column;gap:8px;padding:26px 16px;align-self:start;position:sticky;top:0}.platform-nav button,.platform-nav>a{border:0;background:transparent;border-radius:10px;padding:12px 14px;text-align:left;font:inherit;font-size:14px;color:#60708a;cursor:pointer;text-decoration:none}.platform-nav [aria-current=page]{background:#eaf0ff;color:#2463eb;font-weight:700}
.platform-main{padding:26px;min-width:0}.platform-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.platform-heading h1{font-size:27px;line-height:1.2;margin:3px 0}.platform-heading p{margin:0}.platform-main .panel{margin-bottom:18px}.platform-main .section-heading{flex-wrap:wrap}.platform-main .card-item{padding:17px 0}.platform-main .card-item>p{margin:6px 0 12px}.platform-filter{display:flex;align-items:flex-end;gap:14px}.platform-filter .field{flex:1}.platform-filter .btn{margin-bottom:20px}
.platform-main .dialog-actions{flex-wrap:wrap;justify-content:flex-start}.platform-main .dialog-actions>.btn{max-width:100%;white-space:normal}
.platform-box-filter{display:grid;grid-template-columns:minmax(140px,2fr) 1fr 1fr auto;gap:12px;align-items:end}.platform-box-filter>.btn{margin-bottom:20px}.platform-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}.platform-box-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.platform-box-actions>.btn{max-width:100%;white-space:normal}.platform-checklist{list-style:none;padding:0}.platform-checklist li{margin:10px 0;font-size:14px}#platform-dialog .check-row{display:flex;gap:10px;align-items:flex-start;line-height:1.5;margin:16px 0;font-size:14px}#platform-dialog .check-row input{flex-shrink:0;margin-top:5px;width:auto}.platform-box-list .section-heading strong{overflow-wrap:anywhere;min-width:0}.platform-box-list .card-item{overflow-wrap:anywhere}
@media(max-width:800px){.platform-box-filter{grid-template-columns:1fr}.platform-box-filter>.btn{margin-bottom:12px}.platform-box-filter>.field{margin-bottom:12px}.platform-pagination>.btn{font-size:12px;padding:10px}.platform-box-actions{flex-direction:column;align-items:stretch}}
.platform-break{overflow-wrap:anywhere}.platform-main pre{white-space:pre-wrap;word-break:break-word;font-size:12px;background:#f4f7fc;padding:12px;border-radius:8px}.platform-secret{padding:16px;background:#f0f4ff;border:1px solid #d3def5;border-radius:10px;overflow-wrap:anywhere}.platform-codes{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.platform-codes li{padding:10px 6px;background:#f4f7fc;border:1px solid #e1e7f0;border-radius:8px;font-size:12px;text-align:center;overflow-wrap:anywhere}.platform-codes code{font-size:inherit}
.platform-toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:1000;padding:13px 18px;border-radius:12px;background:#203149;color:white;font-size:13px;max-width:min(540px,calc(100% - 28px));transition:.15s}.platform-toast.visible{opacity:1;transform:translate(-50%,0)}
.platform-connection{padding:12px 20px;background:#fff4d5;color:#624412;text-align:center;font-size:13px}.platform-connection[hidden]{display:none}.platform-checking .platform-private,.platform-checking #platform-dialog,.platform-checking #platform-reauth{visibility:hidden}
#platform-dialog,#platform-reauth{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #e1e7f0;border-radius:18px;overflow-y:auto}#platform-dialog .dialog-top,#platform-reauth .dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}#platform-dialog h2,#platform-reauth h2{font-size:23px;line-height:1.25;margin:0}#platform-dialog p,#platform-reauth p{overflow-wrap:anywhere}#platform-dialog::backdrop,#platform-reauth::backdrop{background:#26355266}
@media(max-width:800px){.platform-shell{display:block}.platform-top{min-height:68px;padding:14px 16px;gap:12px}.platform-top .brand{font-size:18px;gap:8px}.platform-top .brand-mark{width:30px;height:30px;font-size:22px}.platform-top .tag{font-size:10px}.platform-account>span{display:none}.platform-account .text-button{font-size:12px}.platform-nav{position:sticky;top:0;z-index:5;background:#fff;flex-direction:row;overflow-x:auto;padding:8px 12px;border-bottom:1px solid #e1e7f0;gap:4px;scrollbar-width:none}.platform-nav button,.platform-nav>a{flex-shrink:0;white-space:nowrap;padding:10px 12px;font-size:13px}.platform-main{padding:20px 12px}.platform-heading{margin-bottom:18px;gap:10px}.platform-heading h1{font-size:23px}.platform-heading .btn{font-size:12px;padding:10px 12px}.platform-main .panel{padding:18px}.platform-main .section-heading h2{font-size:19px}.platform-login{margin:22px auto;padding:22px 18px}.platform-codes{grid-template-columns:1fr}.platform-filter{align-items:stretch;flex-direction:column;gap:0}.platform-filter .btn{align-self:flex-start;margin-bottom:16px}#platform-dialog,#platform-reauth{padding:20px 16px}}

/* Platform package forms retain the existing mobile shell and dialog boundary. */
.platform-package-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:20px}.platform-package-filter .field{margin-bottom:0}.platform-package-filter input,.platform-package-filter select{width:100%;min-width:0}.platform-package-list{margin-top:16px}.platform-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.platform-form-grid .field{min-width:0}.platform-usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.platform-usage{padding:12px;border:1px solid #e1e7f0;border-radius:12px;min-width:0;display:flex;flex-direction:column;gap:5px}.platform-usage strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.platform-usage strong small{font-size:12px;font-weight:500}.platform-usage.over-limit{background:#fff8ed;border-color:#e9c98c}.platform-feature-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.platform-feature-list li{min-width:0;display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}.platform-feature-list .tag{flex-shrink:0}.platform-key-values{margin:16px 0}.platform-key-values>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #eef1f5}.platform-key-values dd{margin:0}.platform-override-limit{border-top:1px solid #eef1f5;padding-top:12px}#platform-dialog fieldset{min-width:0;padding:14px;margin:18px 0;border:1px solid #dfe5ee;border-radius:12px}#platform-dialog legend{font-weight:650;padding:0 5px}#platform-dialog textarea{width:100%;resize:vertical}#platform-dialog [data-pl-current-info] .note{margin-top:16px}#platform-dialog [data-pl-policy-preview-result] .note{margin:16px 0}#platform-dialog .platform-feature-list{font-size:13px}
@media(max-width:600px){.platform-package-filter{grid-template-columns:1fr 1fr;align-items:end}.platform-package-filter>.field:first-child{grid-column:1/-1}.platform-package-filter>.btn{min-height:44px}.platform-form-grid{grid-template-columns:1fr}.platform-feature-list{grid-template-columns:1fr}.platform-usage strong{font-size:20px}.platform-usage strong small{display:block}.platform-pagination{flex-wrap:wrap}#platform-dialog .platform-key-values{font-size:13px}}

.platform-body [hidden]{display:none!important}

/* Platform contract and invoice forms share the mobile dialog layout. */
.platform-contract-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.platform-contract-summary dt{font-size:.82rem;color:var(--muted,#66758b)}.platform-contract-summary dd{margin:3px 0 0;font-weight:600}.platform-body [data-fin-form] .field{min-width:0}.platform-body [data-fin-form] select,.platform-body [data-fin-form] input{max-width:100%;min-width:0;width:100%}.platform-body [data-fin-form] input[type=checkbox]{width:auto}.platform-body [data-fin-form] .check-row{display:flex;align-items:flex-start;gap:9px;margin:14px 0}.platform-body [data-fin-form] .check-row input{flex:0 0 auto;margin-top:4px}.platform-invoice-lines,.platform-contract-summary{overflow-wrap:anywhere}@media(max-width:480px){.platform-contract-summary{grid-template-columns:1fr}.platform-body [data-fin-form] .platform-filter{grid-template-columns:1fr}}

.platform-body [data-fin-form="invoice-filter"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}@media(max-width:480px){.platform-body [data-fin-form="invoice-filter"]{grid-template-columns:1fr}}
.platform-insight-controls>details{margin-top:8px}.platform-insight-controls summary,.platform-insight-source summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}.platform-insight-controls form{padding-top:12px}.platform-insight-controls input,.platform-insight-controls select{width:100%;min-width:0}.platform-insight-controls>.field{max-width:360px}.platform-insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.platform-insight-metrics>div{min-width:0;padding:14px;background:#f4f7fc;border:1px solid #e1e7f0;border-radius:12px}.platform-insight-metrics dt{font-size:12px;color:#56657a;line-height:1.4}.platform-insight-metrics dd{margin:6px 0 0;font-size:22px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}.platform-insight-source{border-bottom:1px solid #e1e7f0;padding:8px 0}.platform-body .platform-key-values>div{min-width:0}.platform-body .platform-key-values dt,.platform-body .platform-key-values dd{overflow-wrap:anywhere;min-width:0}.platform-body .platform-key-values dd{text-align:right}.platform-body .platform-box-actions{flex-wrap:wrap}.platform-body summary:focus-visible{outline:3px solid #2463eb;outline-offset:3px;border-radius:4px}@media(max-width:800px){.platform-insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-insight-metrics dd{font-size:20px}}@media(max-width:420px){.platform-insight-metrics{gap:8px}.platform-insight-metrics>div{padding:10px}.platform-insight-metrics dd{font-size:18px}.platform-insight-metrics dt{font-size:11px}}
[data-insight-result] .section-heading{margin:0 0 10px}[data-insight-result] .section-heading>.platform-box-actions{margin:0;flex-direction:row;flex:1 1 200px;justify-content:flex-end}[data-insight-result] .card-item>.platform-box-actions{margin:12px 0 4px}[data-insight-result] .card-item:first-of-type{padding-top:4px}[data-insight-result] .platform-insight-metrics{margin:14px 0}
.support-view{min-width:0;overflow-wrap:anywhere}.support-view p{line-height:1.5}.support-view .field{min-width:0}.support-view input,.support-view select,.support-view textarea{width:100%;max-width:100%;min-width:0}.support-view textarea{resize:vertical;min-height:100px}.support-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}.support-actions .btn{min-height:44px;max-width:100%;white-space:normal}.support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.support-grid form{min-width:0}.support-view fieldset{min-width:0;border:1px solid #dfe5ee;border-radius:12px;padding:12px;margin:14px 0}.support-view legend{font-weight:650;padding:0 5px}.support-check{display:flex;align-items:flex-start;gap:10px;padding:10px 0;line-height:1.4}.support-view .support-check input{width:18px;height:18px;min-width:18px;margin:2px 0;flex-shrink:0}.support-check small{display:block;color:#617087;margin-top:3px}.support-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.support-heading .tag{flex-shrink:0}.support-ticket,.support-event{padding:14px 0;border-bottom:1px solid #e1e7f0}.support-ticket p,.support-event p{margin:7px 0}.support-text{white-space:pre-wrap;overflow-wrap:anywhere}.support-event.support-internal{border:1px solid #ead8a4;background:#fff9e9;border-radius:12px;padding:14px;margin:12px 0}.support-view details{margin:12px 0}.support-view summary{cursor:pointer;font-weight:650;min-height:44px;padding:10px 0}.support-view summary:focus-visible{outline:3px solid #2463eb;outline-offset:3px}.support-view form{margin:14px 0}.support-values{margin:0}.support-values>div{border-bottom:1px solid #e6ebf2;padding:9px 0;min-width:0}.support-values dt{font-size:12px;color:#5e6d82;margin-bottom:4px}.support-values dd{margin:0;min-width:0;overflow-wrap:anywhere}.support-values .support-values{border-left:2px solid #e1e7f0;padding-left:10px}.support-config-row{margin:10px 0;padding:10px;border:1px solid #e1e7f0;border-radius:10px;min-width:0}.support-config-row h3{font-size:15px;margin:0 0 8px}.support-readonly{background:#edf4ff;border:1px solid #cbdcff;position:sticky;top:0;z-index:1}.support-readonly p{font-size:12px;margin:6px 0}.support-pagination{justify-content:space-between}.support-view [data-sp-preview] h3{margin-top:0}.support-view .form-error:empty{display:none}@media(max-width:600px){.support-grid{grid-template-columns:1fr}.support-view .support-actions>.btn{flex:1 1 140px}.support-pagination .btn{flex:0 1 auto}.support-view .note{padding:12px}.support-check small{font-size:12px}}

/* Compact platform operations; detailed controls stay collapsible. */
.platform-operations-toolbar{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap}.platform-operations-toolbar>.field{flex:1;min-width:180px}.platform-operations-toolbar>details{flex:1;min-width:180px}.platform-operations-list h2,[data-op-command] h2{font-size:1.05rem;overflow-wrap:anywhere}.platform-operations-list .card-item{min-width:0}.platform-operations-list .tag{white-space:normal}.platform-operations-list button{margin-top:.45rem}

.platform-public-status{margin:8px auto;padding:10px 16px;max-width:1100px;width:calc(100% - 24px);font-size:.875rem;box-sizing:border-box}.platform-public-status details+details{margin-top:8px}.platform-public-status p{margin:8px 0 0}.platform-public-status summary{cursor:pointer;font-weight:600}[data-platform-member-notices]>summary{cursor:pointer;font-weight:700}[data-platform-notice-content]{margin-top:12px}

/* SportControl: supplied brandkit, with compact navigation and unscaled wordmark. */
.product-wordmark{display:block;width:300px;max-width:100%;height:auto;flex-shrink:1}
.product-mark{display:block;width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:11px}
.product-name{font-size:17px;line-height:1.2;letter-spacing:-.4px;white-space:nowrap}
.login-intro .brand{gap:16px;max-width:calc(100% - 110px)}
.login-intro .product-wordmark{width:300px;min-width:0}
.login-intro .brand>.tag{flex-shrink:0}
.platform-login>.brand{margin-bottom:28px;min-height:42px}
.platform-login .product-wordmark{width:280px}
.platform-top .product-name{font-size:16px}
@media(max-width:800px){
 .login-intro .brand{max-width:calc(100% - 48px);gap:12px}
 .login-intro .product-wordmark{width:260px;max-width:100%}
 .login-intro .brand>.tag{display:none}
 .mobile-brand .product-mark,.platform-top .product-mark{width:36px;height:36px;border-radius:9px}
 .mobile-brand .product-name{font-size:16px}
}

/* Personal agenda uses the same state and filter contract as iOS. */
.personal-roster{margin:16px 0}.personal-roster .filters{flex-wrap:wrap;gap:8px}.personal-window{display:flex;gap:10px;align-items:end;margin:14px 0;flex-wrap:wrap}.personal-window label{flex:1;min-width:100px}.personal-buddy{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;flex-shrink:0;border-radius:50%;vertical-align:middle;border:1px solid #fff}.personal-buddy svg{width:14px;height:14px}.personal-buddy[data-buddy-ink="white"]{color:#fff}.personal-buddy[data-buddy-ink="black"]{color:#000}.buddy-color{display:flex;align-items:center;gap:8px}.buddy-color input{width:40px;height:36px;padding:2px}.week-lesson.waiting{background:#fff3ce;border-color:#c18a00;color:#573c00}.week-lesson.full{background:#fee4e7;border-color:#ca263d;color:#94172b}#dialog[data-kind="agenda-filter"]{max-width:650px;width:calc(100% - 32px)}#member-filter-form fieldset{margin:18px 0}#member-filter-form fieldset label{display:inline-flex;margin:6px;gap:6px}

.personal-window fieldset{grid-column:1 / -1;min-width:0}.personal-window fieldset label{display:block}.personal-window fieldset input[type="checkbox"]{width:auto;margin-right:8px}

/* Personal agenda editor — shared SportControl form and surface language. */
#dialog[data-kind="agenda-filter"]{padding:0;max-width:760px;max-height:92dvh;background:#fff;overflow:auto;scroll-padding-block:24px 100px}
#dialog[data-kind="agenda-filter"] .member-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 28px 22px;border-bottom:1px solid var(--line);background:#fff}
#dialog[data-kind="agenda-filter"] .member-filter-head .eyebrow{margin:0 0 8px;font-size:10px;color:var(--blue)}
#dialog[data-kind="agenda-filter"] .member-filter-head h2{font-size:27px;letter-spacing:-.8px;line-height:1.15;margin:0 0 9px}
#dialog[data-kind="agenda-filter"] .member-filter-head p:last-child{font-size:14px;color:var(--muted);margin:0}
#dialog[data-kind="agenda-filter"] .filter-close,#dialog[data-kind="agenda-filter"] .filter-remove{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);font-size:25px;line-height:1}
#dialog[data-kind="agenda-filter"] .filter-close:hover,#dialog[data-kind="agenda-filter"] .filter-remove:hover{background:var(--pale);color:var(--ink)}
#dialog[data-kind="agenda-filter"] .member-filter-body{padding:24px 28px}
#dialog[data-kind="agenda-filter"] .field{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0}
#dialog[data-kind="agenda-filter"] .field>span{font-size:12px;font-weight:650;color:var(--ink)}
#dialog[data-kind="agenda-filter"] .field input,#dialog[data-kind="agenda-filter"] .field select{width:100%;min-width:0;min-height:46px;border:1px solid #dce3ee;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ink);font-size:14px}
#dialog[data-kind="agenda-filter"] .field input:focus,#dialog[data-kind="agenda-filter"] .field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0462fd18;outline:0}
#dialog[data-kind="agenda-filter"] .filter-name{margin-bottom:22px}
#dialog[data-kind="agenda-filter"] fieldset{border:0;min-width:0;padding:0;margin:0}
#dialog[data-kind="agenda-filter"] legend{padding:0;font-size:13px;font-weight:700;color:var(--ink);float:none;width:auto}
#dialog[data-kind="agenda-filter"] .filter-defaults{padding:18px;background:var(--pale);border:1px solid var(--line);border-radius:14px}
#dialog[data-kind="agenda-filter"] .filter-defaults legend{float:left;width:100%;margin-bottom:6px}
#dialog[data-kind="agenda-filter"] .filter-help{clear:both;font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}
#dialog[data-kind="agenda-filter"] .filter-type-options{display:flex;flex-wrap:wrap;gap:8px}
#dialog[data-kind="agenda-filter"] .filter-type-options[hidden]{display:none}
#dialog[data-kind="agenda-filter"] .filter-type{position:relative;display:inline-flex;min-width:0;margin:0;flex:none;cursor:pointer}
#dialog[data-kind="agenda-filter"] .filter-type input{position:absolute;width:1px;height:1px;opacity:0;padding:0;margin:0}
#dialog[data-kind="agenda-filter"] .filter-type span{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #dce3ee;border-radius:11px;background:#fff;color:var(--muted);font-size:13px;font-weight:600}
#dialog[data-kind="agenda-filter"] .filter-type span:before{content:'＋';font-size:16px;font-weight:500}
#dialog[data-kind="agenda-filter"] .filter-type input:checked+span{background:#edf3ff;border-color:var(--blue);color:var(--ink)}
#dialog[data-kind="agenda-filter"] .filter-type input:checked+span:before{content:'✓';color:var(--blue)}
#dialog[data-kind="agenda-filter"] .filter-type input:focus-visible+span{outline:3px solid #93b5ff;outline-offset:3px}
#dialog[data-kind="agenda-filter"] .filter-moments-heading{margin:26px 0 14px}
#dialog[data-kind="agenda-filter"] .filter-moments-heading h3{font-size:16px;letter-spacing:-.3px;margin:0 0 4px}
#dialog[data-kind="agenda-filter"] .filter-moments-heading p{font-size:12px;color:var(--muted);margin:0}
#dialog[data-kind="agenda-filter"] .personal-window{display:block;padding:18px;margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:#fff}
#dialog[data-kind="agenda-filter"] .filter-window-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#dialog[data-kind="agenda-filter"] .filter-window-head h4{font-size:12px;color:var(--muted);letter-spacing:.5px;font-weight:650;margin:0}
#dialog[data-kind="agenda-filter"] .filter-remove{width:36px;height:36px;min-height:44px;min-width:44px;font-size:22px;border-color:transparent}
#dialog[data-kind="agenda-filter"] .filter-time-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;margin-bottom:18px}
#dialog[data-kind="agenda-filter"] .filter-window-types{padding-top:16px;border-top:1px solid var(--line)}
#dialog[data-kind="agenda-filter"] .filter-window-types legend{margin-bottom:9px}
#dialog[data-kind="agenda-filter"] .filter-window-types .filter-type-options{margin-top:12px}
#dialog[data-kind="agenda-filter"] .filter-add{width:100%;min-height:46px;border:1px dashed #bdcce3;border-radius:12px;color:var(--ink);background:var(--pale)}
#dialog[data-kind="agenda-filter"] .filter-explanation{margin:14px 0 0}
#dialog[data-kind="agenda-filter"] .form-error{margin:16px 0 0}
#dialog[data-kind="agenda-filter"] .member-filter-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px;background:#fff;border-top:1px solid var(--line);z-index:2}
#dialog[data-kind="agenda-filter"] .filter-footer-actions{display:flex;gap:10px;margin-left:auto}
#dialog[data-kind="agenda-filter"] .filter-footer-actions .btn{min-height:46px;border-radius:11px;padding:12px 18px}
#dialog[data-kind="agenda-filter"] .filter-delete{border:0;background:transparent;color:#a82943;font-size:12px;padding:10px 0;min-height:44px;text-align:left}
@media(max-width:600px){
 #dialog[data-kind="agenda-filter"]{width:calc(100% - 20px);max-height:94dvh;border-radius:20px}
 #dialog[data-kind="agenda-filter"] .member-filter-head{padding:22px 18px 18px;gap:10px}
 #dialog[data-kind="agenda-filter"] .member-filter-head h2{font-size:23px}
 #dialog[data-kind="agenda-filter"] .member-filter-body{padding:20px 16px}
 #dialog[data-kind="agenda-filter"] .personal-window{padding:14px}
 #dialog[data-kind="agenda-filter"] .filter-time-fields{grid-template-columns:1fr 1fr;gap:12px}
 #dialog[data-kind="agenda-filter"] .filter-time-fields .field:first-child{grid-column:1 / -1}
 #dialog[data-kind="agenda-filter"] .field input,#dialog[data-kind="agenda-filter"] .field select{font-size:16px}
 #dialog[data-kind="agenda-filter"] .member-filter-footer{padding:14px 16px;flex-wrap:wrap}
 #dialog[data-kind="agenda-filter"] .filter-footer-actions{flex:1;justify-content:flex-end}
 #dialog[data-kind="agenda-filter"] .filter-footer-actions .btn{padding:12px}
}

/* Baseline for every app and portal module, including controls outside .field/.btn.
   :where keeps component styling and configured box branding authoritative. */
:root{--control-radius:10px;--surface:#fff;--focus-ring:#93b5ff}
:where(button){min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--surface);color:var(--ink);font-size:13px;font-weight:600;line-height:1.35}
:where(button[type="submit"],input[type="submit"]){min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:var(--control-radius);background:var(--blue);color:#fff;font-size:13px;font-weight:650}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #dce3ee;border-radius:var(--control-radius);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;line-height:1.5}
:where(textarea){resize:vertical;min-height:100px}
:where(input[type="checkbox"],input[type="radio"]){accent-color:var(--blue);width:18px;height:18px;flex-shrink:0;vertical-align:middle}
:where(input[type="range"]){accent-color:var(--blue);max-width:100%}
:where(input[type="color"]){width:44px;min-height:44px;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
:where(input[type="file"]){max-width:100%;color:var(--muted);font-size:13px}
:where(input[type="file"])::file-selector-button{min-height:44px;padding:10px 14px;margin-right:10px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--pale);color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
:where(label:not(.sr-only):has(> input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"])),label:not(.sr-only):has(> select),label:not(.sr-only):has(> textarea)){display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:550;line-height:1.5}
:where(fieldset){min-width:0;padding:16px;margin:18px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
:where(legend){padding:0 7px;font-size:13px;font-weight:650;color:var(--ink)}
:where(input,select,textarea):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;border-color:var(--blue)}
:where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.55}
:where(button,a):focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
[hidden]{display:none!important}
:where(dialog){background:var(--surface);font-family:inherit}
:where(dialog h2){color:var(--ink);line-height:1.2;letter-spacing:-.6px}
:where(dialog p){overflow-wrap:anywhere}
:where(.dialog-actions){flex-wrap:wrap}
:where(table){font-variant-numeric:tabular-nums}
@media(max-width:600px){
 :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),select,textarea){font-size:16px}
 :where(dialog){max-width:calc(100% - 20px);padding:20px}
 :where(.dialog-actions button){white-space:normal}
}

/* Long actions must wrap inside their section, including payment controls. */
.section-heading{min-width:0;gap:12px;flex-wrap:wrap}
.section-heading>:where(div){min-width:0}
.section-heading>.btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Shared Training experience: brand tokens also used by the member app. */
.training-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.training-workouts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px}.training-workout{padding:0;overflow:hidden}.training-workout-hero{background:var(--brand-accent,#021e59);color:#fff;padding:24px}.training-workout-hero h2{font-size:30px;margin:20px 0 12px;color:inherit}.training-workout-hero .tag{color:inherit;background:#ffffff20}.training-workout>.dialog-actions,.training-workout>p{margin:20px}.training-workout-hero .buddy-trail{color:#fff}.training-best{font-size:40px;letter-spacing:-1px;color:var(--brand-accent,#021e59)}.training-chart{width:100%;height:160px;color:var(--blue,#0462fd);margin:18px 0}.training-calendar-scroll{overflow-x:auto;margin-top:24px}.training-calendar{display:grid;grid-template-columns:repeat(7,minmax(170px,1fr));gap:12px;min-width:1240px}.training-day{background:var(--bg,#f6f7fa);padding:12px;border-radius:16px}.training-day>h3{font-size:14px}.training-coach-tile{background:var(--surface,#fff);padding:16px;margin:12px 0;border-radius:14px;border-left:4px solid var(--blue,#0462fd);overflow-wrap:anywhere}.training-coach-tile h4{font-size:18px;margin:12px 0}.training-coach-tile .btn{margin-top:12px;white-space:normal}.training-coach-tile p{font-size:13px}.training-tabs button,.training-coach-tile button{min-height:44px}

.training-workout-hero>.message-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}

.training-log-title{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;margin:0}.training-workouts details{margin-top:18px}.training-workouts .text-button{min-height:44px;margin-right:10px}
