*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#f6f8f5;color:#16241b}
a{color:inherit}button{font:inherit;cursor:pointer}
.layout{display:flex;min-height:100vh}.side{width:230px;background:#fff;border-right:1px solid #e3e9e2;padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.logo{font-weight:800;font-size:22px;color:#1f5c3a;margin:0 8px 26px;display:flex;gap:8px;align-items:center}.logo i{width:28px;height:28px;border-radius:8px;background:#1f5c3a;display:inline-block;position:relative}.logo i:after{content:"";position:absolute;inset:7px;border-radius:50%;border:2px solid #fff}
.nav a{display:block;padding:10px 12px;border-radius:10px;text-decoration:none;color:#40554a;margin-bottom:3px;font-weight:500}.nav a.on,.nav a:hover{background:#e8f2ea;color:#1f5c3a}
.ws{margin-top:auto;font-size:13px;color:#6b7d72;padding:10px 12px;border-top:1px solid #eef1ec}.ws button{background:none;border:0;color:#1f5c3a;padding:0;margin-top:6px}
.main{flex:1;padding:24px 36px;min-width:0}.top{display:flex;justify-content:flex-end;margin-bottom:6px}.coach{display:flex;gap:8px;align-items:center;font-weight:600}.coach span{width:32px;height:32px;border-radius:50%;background:#1f5c3a;color:#fff;display:grid;place-items:center;font-size:13px}
.hd{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px;gap:12px;flex-wrap:wrap}.hd small{color:#6b7d72;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.hd h1{margin:4px 0 0;font-size:30px}
.btn{background:#1f5c3a;color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:600}.btn:hover{background:#174a2e}.btn.ghost{background:#fff;color:#1f5c3a;border:1px solid #cfdcd2}.btn.danger{background:#fff;color:#b3261e;border:1px solid #efc9c6}.btn.sm{padding:5px 10px;font-size:13px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.card{background:#fff;border:1px solid #e3e9e2;border-radius:14px;padding:18px}.card .l{color:#6b7d72;font-size:13px;font-weight:500}.card .v{font-size:28px;font-weight:700;margin:6px 0 2px}.card .s{color:#6b7d72;font-size:12px}
.grid2{display:grid;grid-template-columns:3fr 2fr;gap:16px}.panel{background:#fff;border:1px solid #e3e9e2;border-radius:14px;padding:18px}.panel h2{font-size:17px;margin:0 0 12px}
.item{display:flex;gap:14px;align-items:center;padding:10px 0;border-top:1px solid #f0f3ef;cursor:pointer}.item:first-of-type{border-top:0}.badge{width:50px;text-align:center;background:#e8f2ea;color:#1f5c3a;border-radius:10px;padding:5px 0;line-height:1.1}.badge b{display:block;font-size:19px}.badge small{font-size:11px;text-transform:uppercase;font-weight:600}
.muted{color:#6b7d72;font-size:13px}.act{padding:9px 0;border-top:1px solid #f0f3ef;font-size:14px}.act:first-of-type{border-top:0}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e3e9e2;border-radius:14px;overflow:hidden}th,td{text-align:left;padding:11px 14px;border-bottom:1px solid #f0f3ef;font-size:14px;vertical-align:top}th{background:#f9fbf8;color:#6b7d72;font-weight:600;font-size:12px;text-transform:uppercase}tr.click:hover td{background:#fafcf9;cursor:pointer}
.pill{display:inline-block;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:600;background:#e8f2ea;color:#1f5c3a}.pill.due{background:#fdf0dc;color:#8a5a00}.pill.over{background:#fbe3e1;color:#b3261e}
.modal{position:fixed;inset:0;background:rgba(15,30,20,.38);display:flex;align-items:flex-start;justify-content:center;padding:40px 12px;overflow:auto;z-index:9}.hidden{display:none}
.dlg{background:#fff;border-radius:16px;width:100%;max-width:620px;padding:24px}.dlg h2{margin:0 0 16px}label{display:block;font-size:13px;font-weight:600;color:#40554a;margin:12px 0 5px}
input,select,textarea{width:100%;padding:9px 11px;border:1px solid #cfdcd2;border-radius:9px;font:inherit;background:#fff}textarea{min-height:70px}.row{display:flex;gap:10px}.row>*{flex:1}
.checks{max-height:180px;overflow:auto;border:1px solid #cfdcd2;border-radius:9px;padding:6px 10px}.checks label{display:flex;gap:8px;align-items:center;font-weight:400;margin:4px 0}.checks input{width:auto}
.foot{display:flex;justify-content:space-between;margin-top:20px;gap:8px}.note{font-size:12px;color:#6b7d72;margin-top:12px;font-style:italic}.charge{background:#f3f8f3;border-radius:10px;padding:10px 12px;margin-top:12px;font-weight:600}
.pay{display:flex;align-items:center;gap:10px;margin:6px 0}.pay input[type=checkbox]{width:auto}.pay input[type=number]{width:110px}
.login{max-width:360px;margin:12vh auto;background:#fff;border:1px solid #e3e9e2;border-radius:16px;padding:30px}.err{color:#b3261e;font-size:14px;margin-top:8px}
.toolbar{display:flex;gap:10px;margin-bottom:14px}.toolbar input{max-width:320px}
@media(max-width:900px){.cards{grid-template-columns:1fr 1fr}.grid2{grid-template-columns:1fr}.side{width:170px}.main{padding:18px}}

.act{position:relative;padding-right:24px}.actx{position:absolute;right:0;top:7px;border:0;background:none;color:#b5c0b9;font-size:16px;line-height:1;cursor:pointer;padding:2px 4px;opacity:.5}.act:hover .actx{opacity:1}.actx:hover{color:#c0392b}
.pill.rt{background:#fff4e0;color:#9a6200;font-size:11px;font-weight:600;white-space:nowrap}
/* ---- mobile-first adjustments ---- */
html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}
.mlogo,.mso,.ml{display:none}
table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}table tbody{display:table;width:100%}
@media(max-width:720px){
 body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .layout{display:block}
 .side{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:auto;padding:0 0 env(safe-area-inset-bottom);border-right:0;border-top:1px solid #e3e9e2;z-index:8;box-shadow:0 -2px 12px rgba(0,0,0,.05)}
 .side .logo,.side .ws{display:none}
 .nav{display:flex}.nav a{flex:1;text-align:center;margin:0;padding:0 2px;min-height:60px;display:flex;align-items:center;justify-content:center;font-size:12.5px;border-radius:0;line-height:1.15}
 .nav a.on{background:#e8f2ea;box-shadow:inset 0 3px 0 #1f5c3a}
 .main{padding:12px 14px}
 .top{justify-content:space-between;align-items:center;margin-bottom:10px}.mlogo{display:flex;gap:8px;align-items:center;font-weight:800;font-size:19px;color:#1f5c3a}.mlogo i{width:24px;height:24px;border-radius:7px;background:#1f5c3a;position:relative}.mlogo i:after{content:"";position:absolute;inset:6px;border-radius:50%;border:2px solid #fff}
 .mso{display:block;background:none;border:0;color:#1f5c3a;font-weight:600;min-height:44px;padding:0 6px}.coach{display:none}
 .hd{align-items:stretch;flex-direction:column;margin-bottom:14px}.hd h1{font-size:24px}.hd .btn,.hd>div:last-child .btn{min-height:46px}.hd>div:last-child:not(:first-child){display:flex;gap:8px}.hd>div:last-child>.btn{flex:1}
 .cards{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.card{padding:13px}.card .v{font-size:22px}
 .grid2{grid-template-columns:1fr;gap:12px}.panel{padding:14px}
 .item{min-height:56px}
 .btn{min-height:44px;padding:11px 16px}.btn.sm{min-height:40px}
 input,select,textarea{font-size:16px;min-height:46px}textarea{min-height:90px}
 .row{flex-wrap:wrap}.row>*{flex:1 1 140px}
 .checks{max-height:240px}.checks label{min-height:44px;margin:0;font-size:15px}.checks input{width:20px;height:20px;min-height:0}
 .modal{padding:0;align-items:flex-start;background:#fff}.dlg{max-width:none;min-height:100vh;min-height:100dvh;border-radius:0;padding:18px 16px calc(96px + env(safe-area-inset-bottom))}
 .foot{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e3e9e2;padding:10px 14px calc(10px + env(safe-area-inset-bottom));margin:0;z-index:10}
 .foot>div{display:flex;gap:8px}.foot .btn{min-height:46px}
 .pay{flex-wrap:wrap;border-bottom:1px solid #f0f3ef;padding-bottom:8px}.pay>span:first-child{flex:1 1 100%!important}.pay input[type=number]{width:auto!important;flex:1;min-width:0}.pay label{width:auto!important;display:flex;align-items:center;gap:6px;min-height:44px}.pay.muted{display:none}.ml{display:inline!important;font-size:13px;color:#6b7d72}
 .pay input[type=checkbox]{width:22px;height:22px;min-height:0}
 .act{min-height:52px;padding-right:48px}.actx{width:44px;height:44px;top:4px;opacity:.7;font-size:20px}
 .toolbar input{max-width:none}
 th,td{padding:10px;font-size:14px}
 .login{margin:8vh 14px;padding:24px}
 .hd small a{display:inline-block;padding:12px 0;word-break:break-all;text-transform:none}
 table{display:block;border:0;background:none;overflow:visible}table tbody{display:block}
 tr:has(th){display:none}
 tr{display:block;background:#fff;border:1px solid #e3e9e2;border-radius:12px;margin-bottom:10px;padding:8px 0}
 td{display:block;border:0;padding:3px 14px;font-size:14px}td:first-child{font-size:15px;padding-top:6px}td:empty{display:none}
 tr.click:hover td{background:none}
 td[data-label]:not(:first-child):before{content:attr(data-label) ': ';color:#6b7d72;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
}
@media(hover:none){.nav a:hover:not(.on){background:none;color:#40554a}}
/* searchable multi-select */
.ms{position:relative}.ms-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #cfdcd2;border-radius:9px;background:#fff;text-align:left;color:#16241b}.ms.open .ms-btn{border-color:#1f5c3a;box-shadow:0 0 0 3px #e8f2ea}.ms-sum{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-car{color:#6b7d72;transition:transform .15s}.ms.open .ms-car{transform:rotate(180deg)}
.ms-pop{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #cfdcd2;border-radius:12px;box-shadow:0 10px 30px rgba(15,30,20,.16);z-index:20;padding:8px}.ms-pop.hidden,.ms-opt.hidden,.ms-none.hidden{display:none}
.ms-q{margin-bottom:6px}.ms-list{max-height:260px;overflow:auto;overscroll-behavior:contain}.ms-opt{display:flex!important;gap:10px;align-items:center;font-weight:400!important;margin:0!important;padding:8px 6px;border-radius:8px;min-height:44px;cursor:pointer;color:#16241b!important}.ms-opt:hover{background:#f3f8f3}.ms-opt input{width:20px!important;height:20px;min-height:0!important;flex:none;accent-color:#1f5c3a}.ms-opt:has(input:checked){background:#e8f2ea}
.ms-ft{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0f3ef;margin-top:6px;padding-top:8px}.ms-none{padding:8px 6px}
.addg summary{color:#1f5c3a;font-weight:600;font-size:14px;cursor:pointer;min-height:40px;display:flex;align-items:center}
/* collapsible guardians */
.gd summary{cursor:pointer;color:#1f5c3a;font-weight:600;list-style:none;display:inline-flex;align-items:center;gap:4px;min-height:32px}.gd summary::-webkit-details-marker{display:none}.gd summary:after{content:"▾";transition:transform .15s}.gd[open] summary:after{transform:rotate(180deg)}.gdi{padding:6px 0;border-top:1px solid #f0f3ef;font-size:13px}.gdi a{color:#1f5c3a}
.gsec>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:44px}.gsec>summary::-webkit-details-marker{display:none}.gsec>summary h2{margin:0}.gsec>summary:after{content:"▾";font-size:18px;color:#6b7d72;transition:transform .15s}.gsec[open]>summary:after{transform:rotate(180deg)}.gsec[open]>summary{margin-bottom:10px}
@media(max-width:720px){.ms-btn{min-height:48px;font-size:16px}.ms-list{max-height:45vh}.ms-opt{min-height:48px;font-size:16px}.ms-done{min-height:44px;padding:0 20px}.gd summary{min-height:44px;font-size:15px}.gdi{font-size:15px;padding:8px 0}.gdi a{display:inline-block;padding:6px 0}.addg summary{min-height:44px;font-size:15px}}
@media(max-width:720px){td:has(.gd):before{display:none!important}}
.ms-opt.hidden{display:none!important}.dlg .ms-pop{position:static;margin-top:6px;box-shadow:0 4px 14px rgba(15,30,20,.1)}
@media(max-width:720px){.row .row{flex-wrap:nowrap}.row .row>*{flex:1 1 0;min-width:0}}
/* ---- unified form controls (no native iOS blue) ---- */
input,select,textarea{color:#16241b;-webkit-text-fill-color:#16241b;font-size:16px;line-height:1.3;border:1px solid #cfdcd2;border-radius:10px;background-color:#fff;min-height:48px;padding:12px 14px}
input::placeholder,textarea::placeholder{color:#8a9a90;-webkit-text-fill-color:#8a9a90}
input[type=checkbox],input[type=radio]{min-height:0;padding:0;-webkit-text-fill-color:initial}
select,input[type=date],input[type=time],input[type=datetime-local]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;text-align:left;cursor:pointer}
select{padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f5c3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
input[type=date],input[type=time],input[type=datetime-local]{padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f5c3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px 16px}
::-webkit-date-and-time-value{text-align:left;color:#16241b;-webkit-text-fill-color:#16241b;margin:0}
::-webkit-datetime-edit,::-webkit-datetime-edit-fields-wrapper{padding:0;color:#16241b}
::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer;margin:0;width:24px}
select:focus,input:focus,textarea:focus,.ms-btn:focus{outline:none;border-color:#1f5c3a;box-shadow:0 0 0 3px #e8f2ea}
.ms-btn{min-height:48px;font-size:16px;border-radius:10px;padding:12px 14px}
/* date + time layout */
.dt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.dt>*{min-width:0}
.tseg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tseg select{padding-left:12px;padding-right:30px;background-position:right 10px center}
@media(max-width:720px){.dt{grid-template-columns:minmax(0,1fr)}input,select,textarea{min-height:48px}}
@media(max-width:720px){.row.sess{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px;gap:8px;padding-bottom:10px;border-bottom:1px solid #f0f3ef}.row.sess>*{max-width:none!important;min-width:0}.row.sess .st{grid-column:1/-1}.row.sess .rm{min-height:48px;padding:0}}
.ms-btn .muted{font-size:inherit;color:#8a9a90}.ms-car{font-size:0;width:12px;height:8px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f5c3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/12px 8px}.ms-btn{padding-right:14px}
/* ---- v2: top nav on phones, summary cards ---- */
.sh{display:block}.mso{display:none}
.cards.c5{grid-template-columns:repeat(5,minmax(0,1fr))}.cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px) and (min-width:721px){.cards.c5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
 body{padding-bottom:env(safe-area-inset-bottom)}
 .side{position:sticky!important;top:0;bottom:auto!important;border-top:0!important;border-bottom:1px solid #e3e9e2;box-shadow:0 2px 10px rgba(0,0,0,.04)!important;padding:env(safe-area-inset-top) 0 0!important;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 .sh{display:flex;justify-content:space-between;align-items:center;padding:6px 10px 0 16px}
 .side .sh .logo{display:flex!important;margin:0;font-size:20px}.side .sh .logo i{width:26px;height:26px}
 .mso{display:block!important;background:none;border:0;color:#1f5c3a;font-weight:600;font-size:15px;min-height:44px;padding:0 8px}
 .top{display:none}
 .nav{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 16px 10px;scroll-padding:16px}.nav::-webkit-scrollbar{display:none}
 .nav a{flex:none!important;min-height:44px!important;padding:0 16px!important;border-radius:99px!important;font-size:15px!important;font-weight:600;background:#f1f5f0;color:#40554a;box-shadow:none!important;white-space:nowrap}
 .nav a.on{background:#1f5c3a!important;color:#fff!important}
 .main{padding-top:14px}
 .cards,.cards.c5,.cards.c3{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cards.c3>.card:last-child:nth-child(odd),.cards.c5>.card:last-child:nth-child(odd){grid-column:1/-1}
 .modal{z-index:30}
}
@media(max-width:720px){.side{background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none}}
/* ---- v3 brand + icon nav ---- */
.ic{width:20px;height:20px;flex:none;display:block}
.brand{display:flex;align-items:center;gap:12px;margin:0 6px 24px;min-width:0}.bi{width:44px;height:44px;border-radius:12px;background:#1f5c3a;color:#fff;display:grid;place-items:center;flex:none}.bi .ic{width:26px;height:26px;stroke-width:1.8}
.bt{display:flex;flex-direction:column;line-height:1.1;min-width:0}.bt b{font-size:21px;font-weight:800;color:#16241b;letter-spacing:-.01em}.bt small{font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#6b7d72;margin-top:4px;white-space:nowrap}
.login .brand{margin:0 0 20px}
.nav a{display:flex;align-items:center;gap:10px}.nav a .ic{color:#6b7d72}.nav a.on .ic,.nav a:hover .ic{color:#1f5c3a}
@media(max-width:720px){
 .sh{padding:10px 10px 4px 16px!important}.sh .brand{margin:0}.bi{width:40px;height:40px;border-radius:11px}.bi .ic{width:24px;height:24px}.bt b{font-size:20px}.bt small{font-size:10px}
 .mso{width:44px;height:44px;display:grid!important;place-items:center;padding:0!important;border-radius:10px;color:#6b7d72!important}.mso:active{background:#f1f5f0}.mso .ic{width:21px;height:21px}
 .nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important;overflow:visible!important;padding:6px 8px 8px!important}
 .nav a{flex-direction:column;gap:5px!important;justify-content:flex-start!important;padding:9px 2px 8px!important;min-height:60px!important;border-radius:12px!important;background:none!important;color:#5a6b61!important;font-size:12.5px!important;font-weight:700!important;line-height:1.15!important;white-space:normal!important;text-align:center}
 .nav a .ic{width:22px;height:22px;stroke-width:1.8}
 .nav a.on{background:#e8f2ea!important;color:#1f5c3a!important}.nav a.on .ic{color:#1f5c3a}
}
/* ---- v4 unpaid balances ---- */
.cards.c6{grid-template-columns:repeat(3,minmax(0,1fr))}.cards.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
a.card.link{text-decoration:none;color:inherit;display:block;transition:border-color .15s,box-shadow .15s,transform .1s;-webkit-tap-highlight-color:transparent}a.card.link:hover{border-color:#b9cfbf;box-shadow:0 4px 14px rgba(15,30,20,.07)}a.card.link:active{transform:scale(.985);background:#f6faf6}
a.card.link .l{display:flex;justify-content:space-between;align-items:center}.chev{font-size:20px;line-height:1;color:#1f5c3a}a.card.warn .v{color:#a14a00}a.card.warn{border-color:#f0dcc0;background:#fffcf6}
.back{display:inline-flex;align-items:center;min-height:44px;color:#1f5c3a;font-weight:600;text-decoration:none;margin:-6px 0 4px}
.ub{padding:0;margin-bottom:12px;overflow:hidden}.ub-h{width:100%;display:flex;align-items:center;gap:12px;background:none;border:0;padding:16px;text-align:left;min-height:64px;color:inherit}
.ub-n{flex:1;display:flex;flex-direction:column;min-width:0}.ub-n b{font-size:16px}.ub-t{font-size:18px;font-weight:700;color:#a14a00;white-space:nowrap}.ub-c{color:#6b7d72;transition:transform .15s}.ub.open .ub-c{transform:rotate(180deg)}
.ub-g{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;padding:0 16px 12px;font-size:14px;margin-top:-6px}.tel{color:#1f5c3a;font-weight:600;display:inline-flex;align-items:center;min-height:36px}
.ub-b{display:none;border-top:1px solid #f0f3ef;padding:4px 16px 16px}.ub.open .ub-b{display:block}
.ub-i{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f0f3ef}.ub-d{display:flex;flex-direction:column}.ub-m{display:flex;gap:14px;font-size:13px;color:#40554a}.ub-m b{color:#16241b}.ow b{color:#a14a00}
.map{width:100%;margin-top:14px;min-height:48px}
.empty{text-align:center;padding:36px 18px}.ok-ic{width:56px;height:56px;border-radius:50%;background:#e8f2ea;color:#1f5c3a;font-size:28px;display:grid;place-items:center;margin:0 auto 12px}.empty h2{margin:0 0 6px}
@media(max-width:1100px) and (min-width:721px){.cards.c4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.cards.c6,.cards.c4{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.c6>.card:first-child{grid-column:1/-1}
 .ub-i{grid-template-columns:1fr;gap:8px}.ub-m{justify-content:space-between}.mp{min-height:44px;width:100%}.tel{min-height:44px;font-size:15px}.ub-g{font-size:15px}}
@media(max-width:720px){.cards.c6>.card:last-child{grid-column:1/-1}}
/* ---- v5: layout chrome ---- */
.top{justify-content:space-between;align-items:center}.top-k{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6b7d72}
.ws{display:flex;flex-direction:column;gap:8px}.ws-r{display:flex;gap:10px;align-items:flex-start}.ws-r .ic{width:18px;height:18px;color:#1f5c3a;margin-top:2px}.ws-r div{display:flex;flex-direction:column;line-height:1.3}.ws-r b{color:#16241b;font-size:13px}.ws-r span{font-size:12px}
.ws button{align-self:flex-start;min-height:32px}
.pf{margin:36px 0 8px;padding-top:16px;border-top:1px solid #e3e9e2;text-align:center;font-size:13px;color:#8a9a90}
.hd .sub{margin:6px 0 0;color:#5a6b61;font-size:15px}
/* ---- v5: open gyms ---- */
.og-bar{display:flex;justify-content:space-between;gap:10px;margin:-6px 0 18px;flex-wrap:wrap}.og-bar .btn,.og-acts .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.og-bar .ic,.og-acts .ic{width:18px;height:18px}
.og{margin-bottom:16px;padding:20px}.og-t{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.og-t h2{margin:0;font-size:19px}.pill.off{background:#eef0ee;color:#5f6b64}
.og-loc{display:flex;gap:6px;align-items:center;margin:6px 0 10px}.og-loc .ic{width:15px;height:15px}
.og-ss{border-top:1px solid #f0f3ef;margin-top:8px}.og-s{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f0f3ef;flex-wrap:wrap}.og-s b{font-size:15px}.og-s .muted{font-size:13px}.og-s.past{opacity:.55}
.og-link{border-top:1px solid #e3e9e2;margin-top:14px;padding-top:4px}.og-link input{background:#f7f9f6;color:#40554a;-webkit-text-fill-color:#40554a;font-size:14px}
.og-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.btn.cp.done{background:#2e7d4f}
.ogform{margin-bottom:18px;padding:20px}.ogf-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.ogf-h h2{margin:0}
.chk{display:flex!important;align-items:center;gap:10px;font-size:15px!important;min-height:44px;margin-top:10px!important}.chk input{width:20px!important;height:20px;min-height:0!important;accent-color:#1f5c3a}
.ogf-sh{display:flex;justify-content:space-between;align-items:center;margin:16px 0 4px}.ogf-sh h3{margin:0;font-size:16px}
.lnk{background:none;border:0;color:#1f5c3a;font-weight:700;padding:8px 0;min-height:40px;font-size:14px}.lnk:disabled{color:#b6c1ba;cursor:not-allowed}.lnk.danger{color:#b3261e}
.og-sb{border:1px solid #e3e9e2;border-radius:12px;padding:12px 14px 14px;margin:10px 0;background:#fbfcfa}.og-sbh{display:flex;justify-content:space-between;align-items:center}.og-sbh .lnk{color:#b3261e}.og-sbh .lnk:disabled{color:#c3cbc6}
.og-sb label{margin-top:8px}
.ogf-f{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#f3f6f2;border-radius:12px;padding:12px 14px;margin:14px -4px 0}.ogf-f .muted{font-size:14px}
.su-s{border-top:1px solid #e3e9e2;padding:12px 0}.su-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.su-i{border:1px solid #e9eee8;border-radius:12px;padding:12px;margin:8px 0;display:flex;flex-direction:column;gap:6px}.su-n{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.su-d{display:flex;flex-direction:column;gap:2px;font-size:14px}.su-d a{color:#1f5c3a;font-weight:600}.su-a{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:720px){
 .pf{margin-top:28px}
 .og-bar{flex-direction:column}.og-bar .btn{width:100%;min-height:48px}
 .og{padding:16px}.og-acts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.og-acts .btn{min-height:48px;padding:10px 8px;font-size:14.5px}.og-acts .cp{grid-column:1/-1}
 .og-s{flex-direction:column;align-items:flex-start;gap:2px}
 .ogform{padding:16px}.ogf-f{flex-direction:column;align-items:stretch;margin:14px 0 0}.ogf-f .btn{width:100%;min-height:50px}
 .og-sb .dt{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .lnk{min-height:44px;font-size:15px}
 .su-a .btn{min-height:44px;flex:1}.su-d{font-size:15px}.su-d a{padding:4px 0}
 .dlg .ogf-h{position:sticky;top:-18px;background:#fff;padding:12px 0;z-index:2;margin-top:-12px}
}
/* v6 coming-up items */
.li-b{flex:1;min-width:0}.li-n{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.li-n.none{color:#6b7d72;font-weight:600}.li-m{margin-top:2px}.li-p{white-space:nowrap}
@media(max-width:720px){.li-n{white-space:normal}.li-t{display:block}.li-sep{display:none}.li-p{align-self:flex-start;margin-top:2px}}
.lg-h{font-size:17px;margin:20px 0 10px;display:flex;align-items:baseline;gap:8px}.lg-h .muted{font-weight:500}
.notes-ta{min-height:240px!important;max-height:60vh;resize:vertical;overflow-y:auto}
.li-note{font-size:13px;color:#7a8a80;font-style:italic;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* v10 lessons notes column */
td.nt{color:#7a8a80;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:340px}td.nt-none{font-style:normal}
@media(max-width:720px){td.nt-none{display:none!important}td.nt{max-width:none;font-size:14px}td.nt:before{font-style:normal}}
/* v11 completed lessons */
.cards.c4l{grid-template-columns:repeat(4,minmax(0,1fr))}
.cl{margin-bottom:12px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.cl:hover{border-color:#b9cfbf;box-shadow:0 4px 14px rgba(15,30,20,.06)}.cl:active{background:#f8fbf8}
.cl-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.cl-h b{font-size:15px}.cl-a{margin-top:4px;font-size:14px}
.cl-n{margin-top:10px;padding-top:10px;border-top:1px solid #f0f3ef;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5;color:#2c3b32}.cl-n.none{color:#8a9a90;font-style:italic}
@media(max-width:720px){.cards.c4l{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v11 longer wrapping notes preview in lessons list */
td.nt{white-space:normal;overflow:visible;text-overflow:clip;max-width:420px;min-width:220px;line-height:1.45}
@media(max-width:720px){td.nt{max-width:none;min-width:0}td.nt[data-label]:before{display:block;margin-bottom:2px}}
@media(min-width:721px){td.nt{min-width:340px;max-width:520px}}
/* v13 open gyms button spacing */
.og-bar{gap:12px;align-items:center}.og-bar-r{gap:12px}
@media(max-width:720px){.og-bar{flex-direction:column;align-items:stretch;gap:12px;margin:-2px 0 20px}.og-bar-r{gap:12px}}
.og-bar-r{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:720px){.og-bar-r{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.og-bar-r .btn{min-height:48px;font-size:14.5px;padding:10px 8px}}
@media(max-width:720px){.og-bar-r{display:flex!important;flex-direction:column;gap:12px}.og-bar-r .btn{width:100%;font-size:15px}}
.card .vu{font-size:13px;font-weight:500;color:#6b7d72;margin-left:4px}.card .s2{color:#40554a;font-weight:600}

/* v13 dashboard overflow fix: nowrap note previews must not widen the grid */
.grid2{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.grid2>*{min-width:0}.item .li-b{min-width:0}
@media(max-width:900px){.grid2{grid-template-columns:minmax(0,1fr)}}
/* v17 active / past athletes */
.seg{display:inline-flex;background:#eef2ee;border:1px solid #dfe6df;border-radius:12px;padding:4px;gap:4px;margin:4px 0 14px}
.seg button{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#40554a;font:inherit;font-weight:600;font-size:15px;padding:9px 18px;border-radius:9px;cursor:pointer;min-height:40px}
.seg button.on{background:#fff;color:#16261d;box-shadow:0 1px 3px rgba(20,40,28,.12)}
.seg .sc{font-weight:500;color:#6b7d72}
.pill.past{background:#eceeed;color:#55625a}
.st-c{white-space:nowrap}.st-b{font-size:13px}
.ms-gh{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7d72;padding:10px 12px 4px}
.ms-gh.hidden{display:none}
.empty-ath{padding:18px 4px}
@media(max-width:720px){.seg{display:flex;width:100%}.seg button{flex:1;min-height:44px}.st-c{white-space:normal}.st-b{min-height:40px}}

/* v18 active athletes card subtitle: one line on desktop, two tidy lines on phones */
.s-ath span{white-space:nowrap}
@media(max-width:720px){.s-ath span{display:block}.s-ath .sep{display:none}}

/* v20 athletes page: two summary cards */
.cards.c2{grid-template-columns:repeat(2,minmax(0,1fr))}

/* v22 upcoming card: week range beside the big number, never wraps */
.card .v.uw{white-space:nowrap}
/* v23 per-athlete lesson notes archive */
.lnd{display:block;margin-top:4px}
.ln-list{max-width:620px;margin-top:2px}
.lni{padding:9px 10px;margin:6px 0 0;border:1px solid #e8eee8;border-radius:10px;background:#fafcfa;cursor:pointer;font-size:13px;font-weight:400}
.lni:hover{background:#f2f7f2;border-color:#d6e2d7}
.lni-h{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-bottom:4px}
.lni-h .pill{font-size:11px}
.lni-n{white-space:pre-wrap;overflow-wrap:anywhere;color:#25352b;line-height:1.45}
@media(max-width:720px){.lni{font-size:15px;padding:11px 12px}.lni-h .muted{font-size:13.5px}td:has(.lnd):before{display:none!important}}
@media(min-width:721px){.ath-t .gd summary{white-space:nowrap}.ath-t td:first-child{width:42%}.ln-list{max-width:520px}}
