:root{--ink:#17211c;--muted:#818b84;--line:#e9ede9;--green:#31a36d;--deep:#113d2b;--pale:#e7f4eb;--bg:#f7f9f7;--orange:#dc9053;--red:#cb6e64;--blue:#658dcb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:29px 18px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font:800 25px Manrope,sans-serif;letter-spacing:-1.4px;padding:0 9px 43px}.brand-icon{width:35px;height:35px;border-radius:11px;background:var(--deep);color:#a9efbb;display:grid;place-items:center;font:800 24px Manrope;transform:rotate(-8deg)}.brand-dot{color:var(--green)}.brand small{display:block;font:700 8px 'DM Sans';color:#9ba59e;letter-spacing:2px;margin-top:2px}.side-label{font-size:9px;font-weight:700;letter-spacing:1.15px;color:#a1aaa3;padding:0 12px 12px}nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;padding:11px 12px;border-radius:9px;text-decoration:none;color:#737e76;font-weight:600;transition:.18s}.nav-link:hover{background:#f5f8f5;color:var(--ink)}.nav-link.active{background:#eaf5ed;color:#206d46}.nav-icon{font-size:17px;width:20px;text-align:center;font-weight:500}.nav-count{margin-left:auto;font-size:10px;border-radius:10px;padding:3px 7px;background:#e3f1e7;color:#34784f}.sidebar-bottom{margin-top:auto;background:#f6f8f6;border:1px solid var(--line);border-radius:11px;padding:12px;display:flex;align-items:center;gap:9px;font-size:11px}.help-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:white;border:1px solid var(--line);font-weight:700}.sidebar-bottom b,.sidebar-bottom span{display:block}.sidebar-bottom span{font-size:10px;color:var(--muted);margin-top:3px}.side-chevron{margin-left:auto!important;font-size:15px!important;color:#7f8c82!important}.profile-mini{display:flex;align-items:center;gap:9px;padding:18px 2px 1px}.avatar,.top-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dcece2;color:#31704c;font-size:11px;font-weight:700}.avatar-green{background:#cde8d5}.profile-info{display:grid;gap:3px;flex:1}.profile-info b{font-size:11px}.profile-info span{font-size:10px;color:var(--muted)}.profile-mini button{border:0;background:none;color:#88938b;letter-spacing:2px}.main-area{margin-left:248px;width:calc(100% - 248px);min-height:100vh}.topbar{height:65px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;position:sticky;top:0;z-index:3}.breadcrumbs{font-size:12px;color:#9aa39c;display:flex;gap:10px;align-items:center}.breadcrumbs b{font-weight:600;color:#34413a}.crumb-slash{color:#d3d8d4}.top-actions{display:flex;align-items:center;gap:20px}.today{font-size:11px;color:#818b83}.icon-button{border:0;background:transparent;color:#6b786f;font-size:22px;position:relative}.icon-button i{position:absolute;top:3px;right:1px;width:6px;height:6px;border-radius:50%;background:#e68462;border:1px solid white}.top-avatar{width:30px;height:30px;background:#f0ded4;color:#89573c}.content{max-width:1280px;margin:auto;padding:31px 4.2% 56px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.35px;text-transform:uppercase;color:#91a097;margin:0 0 7px}.page-heading h1{font:700 25px Manrope,sans-serif;letter-spacing:-.8px;margin:0}.subtitle{font-size:12px;color:var(--muted);margin:7px 0 0}.button{border:0;border-radius:8px;padding:11px 15px;display:inline-flex;align-items:center;gap:8px;font:600 12px 'DM Sans';cursor:pointer;transition:.16s}.button:hover{transform:translateY(-1px);filter:brightness(.97)}.button-primary{background:var(--deep);color:white}.button-soft{background:#eef4ef;color:#396c4d;border:1px solid #e3ece4}.button-white{background:#fff;color:var(--deep)}.button svg{width:14px;height:14px}.grid{display:grid;gap:14px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.stat-card,.panel,.hero-card{background:white;border:1px solid var(--line);border-radius:12px}.stat-card{padding:16px 17px 15px}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-label{font-size:11px;color:#7c887f}.stat-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;font-size:15px;background:#edf6ef;color:#348455}.stat-value{font:700 23px Manrope;margin:12px 0 5px;letter-spacing:-.7px}.stat-foot{font-size:10px;color:#96a098}.positive{color:#378b58;font-weight:600}.stat-spark{display:flex;gap:3px;align-items:end;height:24px;margin-top:10px}.stat-spark i{display:block;width:13%;border-radius:3px 3px 0 0;background:#c7e5ce}.stat-spark i:last-child{background:#55b878}.hero-grid{grid-template-columns:1.55fr 1fr;margin-bottom:16px}.hero-card{padding:20px 21px;overflow:hidden;position:relative;min-height:206px;background:#123c2b;color:white;border:0}.hero-card:after{content:'';position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-33px;top:-104px;box-shadow:0 0 0 26px rgba(255,255,255,.03),0 0 0 54px rgba(255,255,255,.025)}.hero-card .eyebrow{color:#9cc4a9}.hero-card h2{font:700 23px Manrope;letter-spacing:-.5px;margin:11px 0 8px;max-width:420px}.hero-card p{font-size:11px;color:#c0d8c8;line-height:1.6;max-width:410px;margin:0 0 17px}.hero-card .button{position:relative;z-index:1;padding:9px 12px;font-size:11px}.hero-decoration{position:absolute;right:37px;bottom:19px;width:130px;height:125px;z-index:1;opacity:.92}.hero-decoration .dumbbell{position:absolute;right:8px;top:14px;width:105px;height:75px;transform:rotate(-30deg)}.bar{position:absolute;left:17px;right:17px;top:36px;height:8px;border-radius:6px;background:#b8dfbe}.plate{position:absolute;top:18px;width:22px;height:45px;border-radius:5px;background:#70c085}.plate.left{left:5px}.plate.right{right:5px}.plate.small{top:25px;height:31px;width:12px;background:#d0eccf}.plate.small.left{left:0}.plate.small.right{right:0}.hero-orb{position:absolute;width:86px;height:86px;border:1px solid #79ae83;border-radius:50%;bottom:5px;left:0;opacity:.6}.panel{padding:17px 19px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-title{font:700 13px Manrope;margin:0}.panel-subtitle{font-size:10px;color:#98a29a;margin:4px 0 0}.text-link{border:0;background:none;color:#398457;font-size:10px;font-weight:700;cursor:pointer}.activity-grid{grid-template-columns:1.35fr 1fr}.chart-card{min-height:255px}.chart-meta{display:flex;align-items:center;gap:15px;font-size:9px;color:#909b92}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#43a66e}.legend-dot.orange{background:#e7b084}.chart{width:100%;height:165px;margin-top:8px;overflow:visible}.chart text{font:9px 'DM Sans';fill:#9ca59d}.chart .gridline{stroke:#eef1ee;stroke-width:1}.chart .line-a{fill:none;stroke:#48ab72;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.chart .line-b{fill:none;stroke:#e2a778;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4 4}.chart .area{fill:url(#chartFill)}.chart .point{fill:#fff;stroke:#42a96c;stroke-width:2}.workout-list{display:grid;gap:0}.workout-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f0f2f0}.workout-row:last-child{border-bottom:0;padding-bottom:0}.machine-icon{width:32px;height:32px;border-radius:8px;background:#edf5ef;display:grid;place-items:center;font-size:14px;color:#41825a}.workout-info{min-width:0;flex:1}.workout-info b{display:block;font-size:10px}.workout-info span{display:block;font-size:9px;color:#929d94;margin-top:4px}.workout-weight{font-size:10px;font-weight:700;text-align:right}.workout-weight span{display:block;font-weight:400;color:#949e96;font-size:9px;margin-top:4px}.bottom-grid{grid-template-columns:1.15fr .85fr;margin-top:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;color:#9ba49c;font-weight:600;padding:0 10px 10px}td{font-size:10px;color:#58645c;padding:11px 10px;border-top:1px solid #f0f2f0}td strong{color:#29362e;font-weight:600}.student-cell{display:flex;align-items:center;gap:8px;white-space:nowrap}.student-cell .avatar{width:27px;height:27px;font-size:9px}.tag{font-size:9px;padding:4px 7px;border-radius:10px;display:inline-flex;align-items:center;gap:4px;background:#ebf5ed;color:#3b8354;white-space:nowrap}.tag:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.tag.amber{background:#fff3e8;color:#b87b43}.tag.gray{background:#f0f2f0;color:#78837a}.notice-list{display:grid}.notice{padding:10px 0;border-bottom:1px solid #f0f2f0;display:flex;gap:9px}.notice:last-child{border:0}.notice-icon{width:27px;height:27px;border-radius:8px;background:#eef5ef;color:#47845a;display:grid;place-items:center;font-size:12px;flex-shrink:0}.notice b{font-size:10px}.notice p{font-size:9px;line-height:1.45;color:#929d94;margin:4px 0 0}.notice time{font-size:9px;color:#a7afa9;margin-left:auto;white-space:nowrap}.period-select{border:1px solid var(--line);background:white;padding:7px 9px;border-radius:7px;color:#69756d;font:500 10px 'DM Sans'}.two-col{grid-template-columns:1.3fr .7fr}.kpi-row{grid-template-columns:repeat(3,1fr);margin-bottom:15px}.exercise-list{display:grid;gap:8px}.exercise-card{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #eef1ee;border-radius:9px}.exercise-card .machine-icon{width:37px;height:37px}.exercise-card-info{flex:1}.exercise-card-info b{font-size:11px}.exercise-card-info span{display:block;color:#8b968d;font-size:9px;margin-top:4px}.exercise-numbers{display:flex;gap:15px}.exercise-numbers div{text-align:right;font-size:10px;font-weight:700}.exercise-numbers span{display:block;color:#9aa39c;font-size:8px;font-weight:400;margin-bottom:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;color:#647068;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #e4e9e5;border-radius:7px;padding:10px 11px;background:#fff;color:#27342c;font:11px 'DM Sans';outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#71b489;box-shadow:0 0 0 3px #ecf6ef}.field textarea{min-height:68px;resize:vertical}.modal-backdrop{position:fixed;inset:0;background:rgba(17,32,23,.3);z-index:10;display:none;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.modal{width:min(470px,100%);background:white;border-radius:13px;padding:21px;box-shadow:0 20px 70px #1d302333;max-height:90vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.modal-head h2{font:700 17px Manrope;margin:0}.modal-head p{font-size:10px;color:#89948c;margin:5px 0 0}.modal-close{border:0;background:#f2f5f2;border-radius:7px;width:27px;height:27px;cursor:pointer;color:#637067}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;right:24px;bottom:22px;background:#163d2c;color:white;padding:12px 17px;border-radius:9px;font-size:11px;box-shadow:0 10px 30px #122d1c30;transform:translateY(80px);opacity:0;transition:.25s;z-index:20}.toast.show{transform:translateY(0);opacity:1}.empty-state{text-align:center;padding:32px 10px;color:#8d988f;font-size:11px}.student-header{display:flex;align-items:center;gap:12px}.student-header .avatar{width:42px;height:42px}.student-header h1{font-size:24px}.student-details{display:flex;gap:15px;margin-top:6px;color:#8d988f;font-size:10px}.muted{color:#9aa39c}.admin-student-actions{display:flex;gap:7px}.mini-button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:6px 8px;color:#69756d;font-size:9px;cursor:pointer}.machine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.machine-card{background:white;border:1px solid var(--line);border-radius:11px;padding:14px}.machine-card-top{display:flex;justify-content:space-between}.machine-card .machine-icon{width:39px;height:39px}.machine-card h3{font:700 12px Manrope;margin:12px 0 4px}.machine-card p{font-size:9px;color:#929c94;margin:0}.machine-card .machine-bottom{margin-top:12px;padding-top:10px;border-top:1px solid #f0f2f0;display:flex;justify-content:space-between;color:#79857c;font-size:9px}.machine-card .machine-bottom strong{color:#35443a}.remove-machine{border:0;background:none;color:#a9b0ab;font-size:15px;cursor:pointer}.range-note{padding:10px 12px;background:#f3f8f4;border-radius:8px;color:#52745c;font-size:10px;margin-top:12px}.checkin-card{background:#eaf5ed;border-radius:10px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.checkin-card b{font-size:10px;color:#326c46}.checkin-card span{font-size:10px;color:#54835e}.checkin-card strong{font:700 16px Manrope;color:#287046}.footer-note{font-size:9px;color:#9aa39c;padding-top:11px}
@media(max-width:1050px){.sidebar{width:218px}.main-area{margin-left:218px;width:calc(100% - 218px)}.stats-grid{grid-template-columns:repeat(2,1fr)}.hero-decoration{opacity:.55}.machine-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{width:62px;padding:21px 8px}.brand{padding:0 5px 36px}.brand>span:last-child,.side-label,.nav-link span:not(.nav-icon),.sidebar-bottom,.profile-info,.profile-mini button{display:none}.brand-icon{width:36px;height:36px}.nav-link{justify-content:center;padding:12px 4px}.nav-icon{font-size:18px}.profile-mini{justify-content:center}.main-area{margin-left:62px;width:calc(100% - 62px)}.topbar{padding:0 18px}.today{display:none}.content{padding:24px 17px 38px}.hero-grid,.activity-grid,.bottom-grid,.two-col{grid-template-columns:1fr}.hero-card{min-height:195px}.hero-decoration{right:4px;opacity:.42}.page-heading{align-items:flex-start;gap:12px;flex-direction:column}.page-heading h1{font-size:22px}.machine-grid{grid-template-columns:1fr 1fr}.student-details{flex-wrap:wrap}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:20px}}@media(max-width:430px){.machine-grid{grid-template-columns:1fr}.top-actions{gap:9px}.breadcrumbs{font-size:10px}.kpi-row{grid-template-columns:1fr 1fr}.stat-label{font-size:10px}.page-heading .button{width:100%;justify-content:center}.exercise-numbers{gap:8px}.student-details{font-size:9px}}

.tenant-strip{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;margin-bottom:15px;border:1px solid var(--line);border-radius:8px;background:white;color:#718078;font-size:10px}.tenant-strip code{font:10px 'DM Sans';color:#9ba69e}.brand-icon{background-position:center;background-repeat:no-repeat}
.billing-alert-grid{grid-template-columns:1.35fr .65fr;margin-bottom:16px}.billing-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:-2px 0 5px;overflow:auto}.billing-tab{border:0;background:transparent;color:#7f8b82;padding:9px 10px;font:500 10px 'DM Sans';white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent}.billing-tab b{margin-left:3px;color:#56645a}.billing-tab.active{color:#287449;border-color:#43a76a}.billing-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eff2ef}.billing-row:last-child{border-bottom:0}.billing-person{min-width:0;flex:1}.billing-person b,.billing-person span,.billing-amount b,.billing-amount span{display:block}.billing-person b,.billing-amount b{font-size:10px}.billing-person span,.billing-amount span{font-size:9px;color:#929d94;margin-top:4px}.billing-amount{text-align:right;min-width:80px}.tag.red{background:#fcebea;color:#b95750}.tag.blue{background:#eaf1fb;color:#537db4}.whatsapp-button{border:0;border-radius:6px;background:#e9f7ee;color:#23814a;font:600 9px 'DM Sans';padding:7px 9px;white-space:nowrap;cursor:pointer}.whatsapp-button:hover{background:#dff1e6}.whatsapp-button.compact{padding:6px}.billing-row .mini-button{white-space:nowrap}
@media(max-width:850px){.billing-alert-grid{grid-template-columns:1fr}.billing-row{flex-wrap:wrap}.billing-row .billing-person{min-width:calc(100% - 60px)}.billing-row .billing-amount{margin-left:42px;text-align:left}.billing-row .mini-button{margin-left:auto}}@media(max-width:520px){.billing-row .billing-amount{margin-left:42px}.billing-row .whatsapp-button{margin-left:auto}.billing-tabs{gap:0}.billing-tab{padding:9px 7px;font-size:9px}}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 12% 12%,#eaf5ed,transparent 35%),#f5f8f5}.login-card{width:min(430px,100%);background:white;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 18px 60px #153b2410}.login-brand{padding:0 0 32px}.login-card h1{font:700 25px Manrope;margin:0;letter-spacing:-.6px}.login-card .subtitle{margin:8px 0 24px}.login-card form{display:grid;gap:15px}.login-submit{width:100%;justify-content:center;margin-top:4px}.login-help{font-size:10px;color:#919b94;line-height:1.6;margin:20px 0 0}.alert{padding:11px 13px;border-radius:8px;font-size:11px;margin:12px 0}.alert.error{background:#fcebea;color:#a94d48}.field{margin-bottom:12px}.field input{min-height:39px}.tag{white-space:nowrap}.login-card .field{margin:0}
@media(max-width:760px){.login-card{padding:25px 21px}.login-card h1{font-size:22px}.sidebar{overflow:hidden}.profile-mini{margin-top:8px}.profile-info{min-width:0}.profile-info b,.profile-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrap table{min-width:620px}}
.brand-icon img{width:100%;height:100%;object-fit:cover;border-radius:10px}.brand-preview{display:flex;align-items:center;gap:12px;padding:18px;background:#f6f8f6;border-radius:10px}.brand-preview .brand-icon{background:var(--deep);color:white}.brand-preview b{font:700 14px Manrope}.login-card .field input[type=color],#brandForm input[type=color]{padding:3px;height:42px}
