:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f7fa;--foreground:#101828;--muted:#667085;--line:#dfe5ee;--line-strong:#cbd5e1;--accent:#ffdd45;--accent-strong:#eab308;--accent-ink:#111827;--brand:#0f172a;--brand-soft:#172033;--brand-muted:#98a2b3;--surface:#fff;--surface-soft:#f8fafc;--surface-raised:#fff;--success:#15803d;--danger:#dc2626;--warning:#b45309;--shadow:0 18px 45px #0f172a14;--shadow-soft:0 10px 24px #0f172a0f;--radius:16px;--radius-sm:10px;--sidebar-width:248px}*{box-sizing:border-box}body{background:var(--background);color:var(--foreground);scrollbar-color:#98a2b3 transparent;scrollbar-width:thin;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(circle at 85% 0,#ffdd4524,#0000 30%),linear-gradient(#f8fafc 0,#f5f7fa 280px);position:fixed;inset:0}.shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100vh;display:grid}.sidebar{background:var(--brand);color:#fff;flex-direction:column;height:100vh;padding:22px 14px;display:flex;position:sticky;top:0;overflow-y:auto;box-shadow:1px 0 #ffffff0f}.sidebar strong{color:#fff;letter-spacing:0;align-items:center;min-height:46px;margin:0 0 28px;padding:0 4px;font-size:16px;display:flex;position:relative}.sidebar strong:before{background:var(--surface);color:var(--brand);content:"AG";vertical-align:middle;border-radius:12px;place-items:center;width:42px;height:42px;margin-right:12px;font-size:13px;font-weight:800;display:inline-grid;box-shadow:inset 0 0 0 1px #fff3}.sidebar nav{gap:6px;display:grid}.sidebar span,.sidebar a{color:#e6edf7;border-radius:10px;align-items:center;gap:12px;min-height:44px;padding:0 12px;font-size:14px;font-weight:700;text-decoration:none;transition:background .16s,color .16s,transform .16s;display:flex}.sidebar a,.sidebar span,button,input,select,textarea{min-width:0}.sidebar a:before,.sidebar span:before{content:"";height:18px;-webkit-mask:var(--nav-icon) center / 18px 18px no-repeat;mask:var(--nav-icon) center / 18px 18px no-repeat;opacity:.8;-webkit-mask:var(--nav-icon) center / 18px 18px no-repeat;background:currentColor;flex:0 0 18px;width:18px}.sidebar a[href=\/],.mobile-nav a[href=\/]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}.sidebar a[href=\/clients],.mobile-nav a[href=\/clients]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}.sidebar a[href=\/calendar],.mobile-nav a[href=\/calendar]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")}.sidebar a[href=\/services],.mobile-nav a[href=\/services]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7H14a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E")}.sidebar a[href=\/payments],.mobile-nav a[href=\/payments]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E")}.sidebar a[href=\/workouts],.mobile-nav a[href=\/workouts]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5v11'/%3E%3Cpath d='M17.5 6.5v11'/%3E%3Cpath d='M3 9v6'/%3E%3Cpath d='M21 9v6'/%3E%3Cpath d='M6.5 12h11'/%3E%3C/svg%3E")}.sidebar a[href=\/evolution],.mobile-nav a[href=\/evolution]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-4 4'/%3E%3C/svg%3E")}.sidebar a[href=\/nutrition],.mobile-nav a[href=\/nutrition]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13c0-5 7-9 7-9s7 4 7 9a7 7 0 0 1-7 7Z'/%3E%3Cpath d='M11 20c0-4 2-7 5-9'/%3E%3C/svg%3E")}.sidebar a[href=\/feedback],.mobile-nav a[href=\/feedback]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h5'/%3E%3C/svg%3E")}.sidebar a[href=\/admin],.mobile-nav a[href=\/admin]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5A3.5 3.5 0 1 0 12 8a3.5 3.5 0 0 0 0 7.5Z'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.6 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06A2 2 0 1 1 7.04 4.3l.06.06A1.65 1.65 0 0 0 8.92 4a1.65 1.65 0 0 0 1-1.51V2.4a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9c.28.61.89 1 1.56 1H21a2 2 0 1 1 0 4h-.09c-.67 0-1.28.39-1.51 1Z'/%3E%3C/svg%3E")}.sidebar a:hover{background:var(--brand-soft);color:#fff;transform:translate(2px)}.sidebar a[aria-current=page]{background:var(--accent);color:var(--accent-ink);font-weight:800;box-shadow:0 10px 22px #eab30838}.logout-button{color:#fecaca;cursor:pointer;font:inherit;background:#f871711a;border:1px solid #f8717147;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:44px;margin-top:auto;padding:0 12px;font-size:14px;font-weight:800;transition:background .16s,border-color .16s,color .16s,transform .16s;display:flex}.logout-button:before{content:"";opacity:.9;background:currentColor;flex:0 0 18px;width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") 50%/18px 18px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") 50%/18px 18px no-repeat}.logout-button:hover{color:#fee2e2;background:#f8717129;border-color:#f871717a;transform:translate(2px)}.mobile-nav{display:none}.content{align-content:start;justify-self:center;gap:20px;width:min(100%,1760px);min-width:0;max-width:none;padding:34px clamp(24px,3vw,44px) 56px;display:grid}.eyebrow{color:#047857;letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}h1{letter-spacing:0;max-width:900px;margin:0;font-size:36px;line-height:1.1}p{color:var(--muted);max-width:680px;margin:0;font-size:15px;line-height:1.6}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:4px;display:grid}.metrics div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);gap:8px;min-height:98px;padding:18px 20px;display:grid;position:relative}.metrics div:after{background:var(--accent);content:"";border-radius:999px;width:34px;height:6px;position:absolute;top:18px;right:18px}.metrics span{color:var(--muted);font-size:13px;font-weight:700}.metrics strong{letter-spacing:0;font-size:28px}.auth-shell{align-items:center;min-height:100vh;padding:24px;display:grid}.legal-shell{background:var(--background);min-height:100vh;padding:48px 20px}.legal-content{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;gap:16px;max-width:760px;margin:0 auto;padding:32px;display:grid}.legal-content h2{margin:12px 0 0;font-size:20px}.auth-panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;gap:16px;width:100%;max-width:420px;margin:0 auto;padding:28px;display:grid}.auth-panel h1{font-size:30px}.auth-panel label{color:var(--muted);gap:8px;font-size:13px;display:grid}.auth-panel input{border:1px solid var(--line);color:var(--foreground);font:inherit;border-radius:12px;min-height:44px;padding:10px 12px}.auth-panel button{background:var(--accent);color:var(--accent-ink);cursor:pointer;font:inherit;border:0;border-radius:12px;min-height:44px;font-weight:700}.auth-panel button:disabled{cursor:wait;opacity:.7}.auth-message{color:var(--foreground);font-size:14px}.clients-layout{align-content:start}.page-heading{gap:8px;padding-top:2px;display:grid}.toolbar{grid-template-columns:minmax(220px,1fr) 160px 110px;gap:10px;display:grid}.toolbar input,.toolbar select,.toolbar button,.stack-form input,.stack-form select,.stack-form button,.stack-form textarea{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);font:inherit;min-height:42px;padding:9px 12px}.stack-form textarea{resize:vertical;min-height:88px}.toolbar input,.toolbar select,.toolbar button,.stack-form input,.stack-form select,.stack-form button,.stack-form textarea,.inline-select,.payment-detail textarea,.product-form input,.product-form select,.product-form button{width:100%;min-width:0}.toolbar button,.stack-form button{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:0;font-weight:800;transition:filter .16s,transform .16s}.toolbar button:hover,.stack-form button:hover,.payment-detail button:hover,.product-form button:hover{filter:brightness(.98);transform:translateY(-1px)}.toolbar button:disabled,.stack-form button:disabled,.product-form button:disabled{cursor:not-allowed;opacity:.6;transform:none}.toolbar input:focus,.toolbar select:focus,.stack-form input:focus,.stack-form select:focus,.stack-form textarea:focus,.inline-select:focus,.payment-detail textarea:focus,.product-form input:focus,.product-form select:focus{border-color:var(--accent-strong);outline:0;box-shadow:0 0 0 3px #ffdd4547}.clients-grid{grid-template-columns:minmax(260px,310px) minmax(420px,1.25fr) minmax(280px,340px);align-items:start;gap:14px;display:grid}.agenda-layout,.payments-layout,.workouts-layout,.evolution-layout,.nutrition-layout,.reports-layout,.services-layout,.feedback-layout,.admin-layout{align-content:start;max-width:none}.agenda-grid{grid-template-columns:minmax(260px,320px) minmax(480px,1.35fr) minmax(320px,380px);align-items:start;gap:14px;display:grid}.payments-grid{grid-template-columns:minmax(260px,320px) minmax(520px,1.45fr) minmax(310px,370px);align-items:start;gap:14px;display:grid}.workouts-grid{grid-template-columns:minmax(280px,330px) minmax(460px,1.25fr) minmax(320px,380px);align-items:start;gap:14px;display:grid}.evolution-grid{grid-template-columns:minmax(260px,310px) minmax(460px,1.25fr) minmax(320px,380px);align-items:start;gap:14px;display:grid}.nutrition-grid{grid-template-columns:minmax(280px,.85fr) minmax(480px,1.3fr) minmax(300px,.95fr);align-items:start;gap:14px;display:grid}.reports-grid{grid-template-columns:repeat(2,minmax(280px,1fr));align-items:start;gap:14px;display:grid}.services-grid{grid-template-columns:minmax(300px,360px) minmax(440px,1.2fr) minmax(300px,360px);align-items:start;gap:14px;display:grid}.feedback-grid{grid-template-columns:minmax(280px,340px) minmax(480px,1fr);align-items:start;gap:14px;display:grid}.admin-grid{grid-template-columns:minmax(280px,340px) minmax(560px,1fr);align-items:start;gap:14px;display:grid}.feedback-toolbar{grid-template-columns:repeat(3,minmax(160px,1fr)) 110px}.clients-grid>.panel:last-child,.agenda-grid>.panel:last-child,.payments-grid>.panel:last-child,.workouts-grid>.panel:last-child,.evolution-grid>.panel:last-child,.nutrition-grid>.panel:last-child,.services-grid>.panel:last-child{position:sticky;top:24px}.payments-layout>.panel:first-of-type{background:linear-gradient(135deg,#fff 0%,#fff9db 100%);border-color:#fde68a}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);gap:14px;min-width:0;padding:18px;display:grid}.panel h2{letter-spacing:0;margin:0;font-size:17px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading>*{min-width:0}.stack-form{gap:10px;display:grid}.stack-form label{color:var(--muted);gap:8px;font-size:13px;font-weight:700;display:grid}.inline-helper{color:var(--muted);margin-top:-4px;font-size:12px;line-height:1.5}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip-row .secondary-button,.chip-row button,.chip-row a{flex:none}.check-row{color:var(--muted);align-items:center;gap:8px;width:100%;min-width:0;font-size:13px;display:flex;overflow:hidden}.check-row input{min-height:auto}.check-row label,label{overflow-wrap:anywhere}.client-list{gap:8px;display:grid}.client-row,.appointment-row,.service-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);cursor:pointer;font:inherit;text-align:left;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 12px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:flex}.client-row>em,.appointment-row>em,.service-row>em,.invoice-row>em,.workout-row>em{margin-left:auto}.client-row:hover,.appointment-row:hover,.service-row:hover,.invoice-row:hover,.workout-row:hover{border-color:var(--line-strong);background:#fff;transform:translateY(-1px);box-shadow:0 8px 18px #0f172a0f}.client-row span,.appointment-row span,.service-row span{gap:3px;min-width:0;display:grid}.client-row strong,.appointment-row strong,.service-row strong,.invoice-row strong,.workout-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-row small,.client-row em,.appointment-row small,.appointment-row em,.service-row small,.service-row em,.muted-text{color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-style:normal}.service-detail{gap:12px;display:grid}.service-badges{flex-wrap:wrap;gap:8px;display:flex}.service-badges span{color:var(--foreground);background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.appointment-list,.invoice-list,.workout-list,.appointment-detail,.participant-list,.payment-detail{gap:10px;display:grid}.appointment-list,.invoice-list,.workout-list,.client-list{max-height:calc(100vh - 320px);padding-right:2px;overflow:auto}.secondary-button,.participant-row button{border:1px solid var(--line-strong);color:var(--foreground);cursor:pointer;font:inherit;background:#f8fafc;border-radius:10px;min-height:36px;padding:8px 10px;font-size:13px;font-weight:700;text-decoration:none;transition:background .16s,border-color .16s,transform .16s}.secondary-button:hover,.participant-row button:hover,.status-actions button:hover,.review-actions button:hover{border-color:var(--line-strong);transform:translateY(-1px)}.participant-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding-top:10px;display:flex}.participant-row span{gap:3px;display:grid}.participant-row small{color:var(--muted);font-size:12px}.participant-row div{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.truncate{overflow-wrap:anywhere;max-width:100%}.inline-select,.payment-detail textarea,.product-form input,.product-form select,.product-form button{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);font:inherit;min-height:42px;padding:9px 12px}.payment-detail textarea{resize:vertical;min-height:88px}.payment-detail button,.product-form button{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:0;font-weight:700}.payment-detail button:disabled{cursor:not-allowed;opacity:.55}.payment-detail,.appointment-detail,.service-detail,.nutrition-detail{min-width:0}.payment-detail p,.appointment-detail p,.service-detail p,.nutrition-detail p{max-width:none}.invoice-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);cursor:pointer;font:inherit;text-align:left;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 12px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:flex}.invoice-row,.workout-row{min-width:0}.invoice-row span{gap:3px;min-width:0;display:grid}.invoice-row small,.invoice-row em{color:var(--muted);font-size:12px;font-style:normal}.invoice-row em,.appointment-row em,.service-row em,.workout-row em{white-space:nowrap;flex:none}.review-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.review-actions button{background:var(--accent);color:var(--accent-ink);cursor:pointer;font:inherit;border:0;border-radius:10px;min-height:34px;padding:7px 10px;font-size:13px;font-weight:800}.review-actions button:last-child{background:#f8fafc;border:1px solid #cbd5e1}.workout-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);cursor:pointer;font:inherit;text-align:left;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 12px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:flex}.feedback-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);gap:12px;padding:12px;display:grid}.feedback-row span{gap:4px;min-width:0;display:grid}.feedback-row small{color:var(--muted);font-size:13px}.admin-user-list,.admin-invite-list{grid-auto-rows:max-content;align-items:start;gap:8px;max-height:calc(100vh - 340px);padding-right:2px;display:grid;overflow:auto}.admin-user-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);grid-template-columns:minmax(220px,1fr) minmax(0,520px);grid-auto-rows:max-content;align-content:start;align-items:center;gap:12px;min-height:66px;padding:12px;display:grid}.admin-user-row>span{gap:3px;min-width:0;display:grid}.admin-user-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-user-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.admin-user-controls{grid-template-columns:auto auto minmax(120px,1fr) minmax(112px,.8fr);align-items:center;gap:8px;min-width:0;display:grid}.admin-user-controls select{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--foreground);font:inherit;width:100%;min-width:0;min-height:38px;padding:7px 9px}.admin-user-controls select:disabled,.stack-form input:disabled{color:var(--muted);cursor:not-allowed;background:#eef2f7}.role-pill,.status-pill{text-align:center;white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.role-owner{color:#92400e;background:#fef3c7}.role-manager{color:#075985;background:#e0f2fe}.role-coach,.role-nutritionist{color:#047857;background:#ecfdf5}.role-client{color:#3730a3;background:#eef2ff}.status-active{color:#166534;background:#dcfce7}.status-suspended{color:#991b1b;background:#fee2e2}.status-inactive{color:#374151;background:#e5e7eb}.copy-box{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.copy-box span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.copy-box button{background:var(--accent);color:var(--accent-ink);cursor:pointer;font:inherit;border:0;border-radius:8px;min-height:32px;padding:6px 10px;font-size:12px;font-weight:800}.status-actions{flex-wrap:wrap;gap:6px;display:flex}.status-actions button{color:var(--foreground);cursor:pointer;font:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;min-height:32px;padding:7px 9px;font-size:12px;font-weight:700}.status-actions button:disabled{cursor:default;opacity:.5}.workout-row span{gap:3px;min-width:0;display:grid}.workout-row small,.workout-row em{color:var(--muted);font-size:12px;font-style:normal}.plan-builder,.meal-builder,.result-form{grid-template-columns:minmax(170px,1.4fr) repeat(4,minmax(64px,1fr));gap:8px;display:grid}.plan-builder>*,.meal-builder>*,.result-form>*{min-width:0}.plan-builder button{grid-column:1/-1}.meal-builder{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-builder button{grid-column:1/-1}.result-form{grid-template-columns:repeat(4,minmax(60px,1fr))}.pill-list{flex-wrap:wrap;gap:8px;display:flex}.pill-list button,.pill-list span{color:var(--foreground);cursor:pointer;font:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:7px 9px;font-size:13px}.weight-chart{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;align-items:center;min-height:150px;padding:12px;display:grid}.weight-chart svg{width:100%;height:auto;display:block}.progress-photos{gap:8px;display:grid}.progress-photos a{background:var(--surface-soft);border:1px solid var(--line);color:var(--foreground);border-radius:12px;gap:3px;padding:10px 12px;text-decoration:none;display:grid}.progress-photos small{color:var(--muted);font-size:13px}.nutrition-detail{gap:12px;display:grid}.products-panel{margin-top:2px}.product-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.product-list{flex-wrap:wrap;gap:8px;display:flex}.product-list span{color:var(--foreground);background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:7px 9px;font-size:13px}.profile-list{gap:10px;margin:0;display:grid}.profile-list div{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);gap:4px;padding:10px 12px;display:grid}.profile-list dt{color:var(--muted);font-size:12px;font-weight:700}.profile-list dd{color:var(--foreground);margin:0;font-weight:700}@media (max-width:1460px){:root{--sidebar-width:228px}.content{padding-inline:28px}.clients-grid,.agenda-grid,.payments-grid,.workouts-grid,.evolution-grid,.nutrition-grid,.services-grid{grid-template-columns:minmax(260px,330px) minmax(0,1fr)}.clients-grid>.panel:last-child,.agenda-grid>.panel:last-child,.payments-grid>.panel:last-child,.workouts-grid>.panel:last-child,.evolution-grid>.panel:last-child,.nutrition-grid>.panel:last-child,.services-grid>.panel:last-child{grid-column:1/-1;position:static}.feedback-grid,.admin-grid,.reports-grid{grid-template-columns:1fr}.admin-user-row{grid-template-columns:minmax(220px,1fr) minmax(0,460px)}}@media (max-width:1040px){.shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid var(--line);height:auto;min-height:auto;padding:16px;position:static;overflow:hidden visible}.sidebar strong{margin-bottom:14px}.sidebar nav{scrollbar-width:none;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.sidebar nav::-webkit-scrollbar{display:none}.sidebar a,.sidebar span{white-space:nowrap;flex:none}.content{padding:28px 22px 48px}.clients-grid,.agenda-grid,.payments-grid,.workouts-grid,.evolution-grid,.nutrition-grid,.reports-grid,.services-grid,.feedback-grid,.admin-grid{grid-template-columns:1fr}.appointment-list,.invoice-list,.workout-list,.client-list{max-height:none}.admin-user-row{grid-template-columns:1fr}.admin-user-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:28px 20px 116px}.mobile-nav{pointer-events:none;z-index:50;display:block;position:fixed;inset:auto 0 0}.mobile-nav-bar{max-width:760px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));pointer-events:auto;background:#0f172af5;border:1px solid #cbd5e12e;border-radius:22px 22px 0 0;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:4px;margin:0 auto;display:grid;box-shadow:0 -18px 42px #0f172a3d}.mobile-nav-item{color:#cbd5e1;cursor:pointer;font:inherit;text-align:center;background:0 0;border:0;border-radius:14px;place-items:center;gap:4px;min-height:58px;padding:7px 3px;font-size:11px;font-weight:800;text-decoration:none;display:grid}.mobile-nav-item:before,.mobile-menu-grid a:before{content:"";height:20px;-webkit-mask:var(--nav-icon) center / 20px 20px no-repeat;mask:var(--nav-icon) center / 20px 20px no-repeat;-webkit-mask:var(--nav-icon) center / 20px 20px no-repeat;background:currentColor;width:20px}.mobile-menu-button:before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h16'/%3E%3C/svg%3E") 50%/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h16'/%3E%3C/svg%3E") 50%/20px 20px no-repeat}.mobile-nav-item[aria-current=page],.mobile-nav-current{background:var(--accent);color:var(--accent-ink)}.mobile-nav-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.mobile-menu-backdrop{pointer-events:auto;background:#0f172a6b;position:fixed;inset:0}.mobile-menu-panel{background:var(--surface);border:1px solid var(--line);bottom:calc(76px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;gap:14px;max-height:min(68vh,520px);padding:18px;display:grid;position:fixed;left:10px;right:10px;overflow:auto;box-shadow:0 -20px 50px #0f172a38}.mobile-menu-heading{gap:3px;display:grid}.mobile-menu-heading span{color:#047857;text-transform:uppercase;font-size:11px;font-weight:800}.mobile-menu-heading strong{color:var(--foreground);font-size:22px}.mobile-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mobile-menu-grid a,.mobile-menu-grid button{background:var(--surface-soft);border:1px solid var(--line);color:var(--foreground);cursor:pointer;font:inherit;border-radius:14px;align-items:center;gap:9px;min-height:46px;padding:10px 12px;font-size:13px;font-weight:800;text-decoration:none;display:flex}.mobile-menu-grid a[aria-current=page]{border-color:var(--accent);background:#fff7cc}.mobile-menu-grid button{color:#9f1239;background:#fff1f2;border-color:#fecdd3;grid-column:1/-1}.mobile-menu-grid button:before{content:"";background:currentColor;width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") 50%/18px 18px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") 50%/18px 18px no-repeat}h1{font-size:32px}.metrics,.toolbar,.feedback-toolbar,.clients-grid,.agenda-grid,.payments-grid,.workouts-grid,.evolution-grid,.nutrition-grid,.reports-grid,.services-grid,.feedback-grid,.plan-builder,.meal-builder,.result-form,.product-form,.admin-user-row,.admin-user-controls{grid-template-columns:1fr}.client-row,.appointment-row,.service-row,.invoice-row,.workout-row,.participant-row{grid-template-columns:1fr;align-items:stretch;display:grid}.client-row>em,.appointment-row>em,.service-row>em,.invoice-row>em,.workout-row>em{white-space:normal;margin-left:0}.review-actions,.chip-row{justify-content:flex-start}.review-actions button,.chip-row button,.chip-row a,.secondary-button{width:100%}}
