@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&family=Montserrat:wght@600;700;800&display=swap");:root,[data-theme=light]{--brand:#7c3aed;--brand-hover:#6d28d9;--brand-light:#f5f3ff;--brand-dim:rgba(124,58,237,0.12);--brand-glow:rgba(124,58,237,0.22);--brand-gradient:linear-gradient(135deg,#7c3aed,#6366f1);--bg-canvas:#f6f8fb;--surface:#ffffff;--surface-alt:#f8fafc;--surface-hover:#f1f5f9;--surface-border:#e2e8f0;--border:#e2e8f0;--border-strong:#cbd5e1;--sidebar-bg:#0d0b1a;--sidebar-elevated:#161329;--sidebar-border:rgba(255,255,255,0.08);--sidebar-nav-hover:rgba(255,255,255,0.08);--sidebar-nav-active:#7c3aed;--sidebar-text:#f8fafc;--sidebar-muted:#94a3b8;--ink:#0f172a;--ink-2:#334155;--muted:#64748b;--helper:#94a3b8;--success:#10b981;--success-bg:#ecfdf5;--success-border:#a7f3d0;--danger:#ef4444;--danger-bg:#fef2f2;--danger-border:#fecaca;--warning:#f59e0b;--warning-bg:#fffbeb;--warning-border:#fde68a;--info:#0284c7;--info-bg:#f0f9ff;--info-border:#bae6fd;--purple:#7c3aed;--purple-light:#f5f3ff;--teal:#0d9488;--blue:#2563eb;--radius-xs:5px;--radius-sm:8px;--radius:10px;--radius-lg:14px;--radius-xl:16px;--shadow-xs:0 1px 2px rgba(15,23,42,0.04);--shadow-sm:0 1px 3px rgba(15,23,42,0.06),0 1px 2px rgba(15,23,42,0.04);--shadow:0 4px 12px -2px rgba(15,23,42,0.06),0 2px 4px -2px rgba(15,23,42,0.03);--shadow-md:0 8px 20px -4px rgba(15,23,42,0.08),0 4px 8px -4px rgba(15,23,42,0.04);--shadow-lg:0 20px 32px -8px rgba(15,23,42,0.14),0 8px 14px -6px rgba(15,23,42,0.06);--transition:0.15s cubic-bezier(0.4,0,0.2,1);--font-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-display:"Montserrat","Inter",sans-serif;--font-mono:"JetBrains Mono","Roboto Mono",Consolas,monospace}[data-theme=dark]{--brand:#8b5cf6;--brand-hover:#7c3aed;--brand-light:rgba(139,92,246,0.16);--brand-dim:rgba(139,92,246,0.18);--brand-glow:rgba(139,92,246,0.32);--brand-gradient:linear-gradient(135deg,#8b5cf6,#6366f1);--bg-canvas:#090b14;--surface:#111422;--surface-alt:#171b2d;--surface-hover:#1e243b;--surface-border:#252c46;--border:#232a42;--border-strong:#333d5d;--ink:#f8fafc;--ink-2:#cbd5e1;--muted:#94a3b8;--helper:#64748b;--success:#10b981;--success-bg:rgba(16,185,129,0.14);--success-border:rgba(16,185,129,0.32);--danger:#ef4444;--danger-bg:rgba(239,68,68,0.14);--danger-border:rgba(239,68,68,0.32);--warning:#f59e0b;--warning-bg:rgba(245,158,11,0.14);--warning-border:rgba(245,158,11,0.32);--info:#06b6d4;--info-bg:rgba(6,182,212,0.14);--info-border:rgba(6,182,212,0.32);--purple-light:rgba(139,92,246,0.15);--shadow-xs:0 1px 2px rgba(0,0,0,0.25);--shadow-sm:0 1px 3px rgba(0,0,0,0.35);--shadow:0 4px 12px -2px rgba(0,0,0,0.45);--shadow-md:0 8px 24px -4px rgba(0,0,0,0.55);--shadow-lg:0 20px 36px -8px rgba(0,0,0,0.7)}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--font-sans);font-size:13.5px;line-height:1.45;color:var(--ink);background:var(--bg-canvas);min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{max-width:100%}ol,ul{list-style:none}.mono{font-family:var(--font-mono);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.skip-link{position:absolute;left:-9999px;top:8px;z-index:2000;padding:8px 14px;background:var(--brand);color:#ffffff;font-weight:600;border-radius:var(--radius-sm);box-shadow:var(--shadow-md)}.skip-link:focus{left:16px}.shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr;grid-template-rows:1fr;background:var(--bg-canvas)}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:16px 12px 14px;background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);overflow-y:auto;z-index:100;color:var(--sidebar-text)}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 14px;border-bottom:1px solid var(--sidebar-border);margin-bottom:14px}.brand-logo{width:36px;height:36px;border-radius:9px;flex:0 0 36px;object-fit:cover;border:1px solid rgba(255,255,255,.2);background:#ffffff;box-shadow:0 2px 6px rgba(0,0,0,.3)}.brand-info{display:flex;flex-direction:column;min-width:0}.brand-name{font-family:var(--font-display);font-size:.92rem;font-weight:800;line-height:1.2;color:#ffffff;letter-spacing:.01em}.brand-subtitle{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#a78bfa;margin-top:1px}.nav{display:flex;flex-direction:column;gap:3px;flex:1 1}.nav-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--sidebar-muted);padding:8px 10px 4px}.nav-item-group{display:flex;flex-direction:column;gap:2px}.nav a,.nav button.nav-parent{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:var(--radius-sm);color:#cbd5e1;font-size:.84rem;font-weight:500;transition:background var(--transition),color var(--transition),box-shadow var(--transition);position:relative;border:0;background:transparent;width:100%;text-align:left;cursor:pointer}.nav a:hover,.nav button.nav-parent:hover{background:var(--sidebar-nav-hover);color:#ffffff}.nav a.active,.nav button.nav-parent.active{background:var(--sidebar-nav-active);color:#ffffff;font-weight:600;box-shadow:0 2px 10px rgba(124,58,237,.35)}.nav-submenu{display:flex;flex-direction:column;gap:2px;margin-left:16px;margin-top:2px;padding-left:8px;border-left:1px solid rgba(255,255,255,.12)}.nav-submenu a{display:flex;align-items:center;gap:8px;padding:6px 9px;border-radius:var(--radius-xs);color:#cbd5e1;font-size:.8rem}.nav-submenu a svg{width:14px;height:14px;flex-shrink:0}.nav-submenu a:hover{background:var(--sidebar-nav-hover);color:#ffffff}.nav-submenu a.active{background:var(--brand);color:#ffffff;font-weight:600}.nav-chevron{width:14px;height:14px;margin-left:auto;transition:transform var(--transition)}.nav-chevron.expanded{transform:rotate(90deg)}.nav-icon{display:flex;align-items:center;justify-content:center;opacity:.92;flex-shrink:0}.nav-icon,.nav-icon svg{width:17px;height:17px}.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--sidebar-border)}.user-profile-badge{display:flex;align-items:center;gap:9px;padding:8px 10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:var(--radius-sm);margin-bottom:8px}.user-avatar-mini{width:32px;height:32px;border-radius:8px;background:var(--brand-gradient);color:#ffffff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem;flex-shrink:0}.user-profile-text{min-width:0;flex:1 1}.user-profile-mobile{font-size:.8rem;color:#f8fafc;line-height:1.2}.user-profile-mobile,.user-profile-role{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-profile-role{font-size:.65rem;text-transform:uppercase;color:#a78bfa;letter-spacing:.06em;margin-top:1px}.logout-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:7px 12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-sm);color:#cbd5e1;cursor:pointer;font-size:.8rem;font-weight:500;transition:all var(--transition)}.logout-btn:hover{background:rgba(239,68,68,.16);color:#fca5a5;border-color:rgba(239,68,68,.35)}.mobile-drawer-backdrop{position:fixed;inset:0;background:rgba(11,15,25,.65);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:450;display:flex;animation:fadeIn .15s ease}.mobile-drawer-panel{width:270px;max-width:85vw;height:100%;background:var(--sidebar-bg);color:var(--sidebar-text);padding:16px 12px;display:flex;flex-direction:column;overflow-y:auto;box-shadow:var(--shadow-lg)}.main{min-width:0;padding:20px 28px 60px;overflow-y:auto}.main-container{max-width:1440px;margin:0 auto}.theme-switcher{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);padding:2px;gap:2px}.theme-switcher,.theme-switcher-btn{display:inline-flex;align-items:center}.theme-switcher-btn{gap:5px;padding:4px 8px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--muted);cursor:pointer;font-size:.74rem;font-weight:600;transition:all var(--transition)}.theme-switcher-btn:hover{color:var(--ink);background:var(--surface-hover)}.theme-switcher-btn.active{background:var(--surface);color:var(--brand);box-shadow:var(--shadow-xs)}.page-header-wrap,.topbar{margin-bottom:18px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}.page-header-wrap .topbar{margin-bottom:0}.topbar-left{display:flex;flex-direction:column;min-width:0}.topbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}.eyebrow{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--brand);margin-bottom:3px}h1{font-family:var(--font-display);font-size:1.42rem;font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--ink)}.page-desc{margin-top:3px}.back-btn,.page-desc{color:var(--muted);font-size:.82rem}.back-btn{display:inline-flex;align-items:center;gap:6px;font-weight:600;transition:color var(--transition);margin-bottom:10px;cursor:pointer;background:none;border:none;padding:2px 0}.back-btn:hover{color:var(--brand)}.header-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);color:var(--muted);cursor:pointer;transition:all var(--transition)}.header-icon-btn:hover{color:var(--brand);border-color:var(--brand);background:var(--surface-hover)}.header-badge-count{position:absolute;top:-3px;right:-3px;background:var(--danger);color:#ffffff;font-size:.62rem;font-weight:800;width:16px;height:16px;border-radius:999px;display:flex;align-items:center;justify-content:center;border:2px solid var(--surface)}.date-clock-card{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);white-space:nowrap}.date-clock-icon-wrap{width:30px;height:30px;border-radius:7px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;flex-shrink:0}.date-clock-icon-wrap svg{width:16px;height:16px}.date-clock-text{display:flex;flex-direction:column;gap:1px;line-height:1.15}.date-clock-date{font-size:.8rem;font-weight:700;color:var(--ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.date-clock-time{font-family:var(--font-mono);font-size:.7rem;font-weight:600;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.superadmin-dashboard-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dashboard-location-filter{min-width:220px;position:relative}.dashboard-location-filter-wrap{display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:0 10px;box-shadow:var(--shadow-xs)}.dashboard-location-filter-wrap:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-glow)}.dashboard-location-filter-icon{color:var(--brand);display:flex;align-items:center;flex-shrink:0}.dashboard-location-select{width:100%;cursor:pointer;background:transparent;border:0;padding:8px 2px;font-size:.84rem;font-weight:500;color:var(--ink);outline:none}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-xs);position:relative}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:180px;text-align:center}.empty>p{width:100%;max-width:420px;color:var(--muted)}.empty-icon-wrap{display:grid;place-items:center;width:48px;height:48px;border-radius:var(--radius);background:var(--brand-light);color:var(--brand)}.section-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-xs);overflow:hidden}.section-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--border);background:var(--surface-alt);flex-wrap:wrap}.section-card-title-wrap{display:flex;align-items:center;gap:9px;min-width:0}.section-card-icon{width:30px;height:30px;border-radius:7px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;flex-shrink:0}.section-card-title{font-size:.92rem;font-weight:700;color:var(--ink);margin:0;line-height:1.25}.section-card-subtitle{font-size:.75rem;color:var(--muted);margin-top:1px}.section-card-body{padding:18px}.detail-banner{display:flex;align-items:center;gap:16px;padding:16px 18px;margin-bottom:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-xs)}.detail-banner-avatar{width:54px;height:54px;display:flex;align-items:center;justify-content:center;flex:0 0 54px;border-radius:14px;font-size:1.15rem;font-weight:800}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;grid-gap:16px;gap:16px}.trainer-detail-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.detail-fields,.detail-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 20px;gap:16px 20px}.detail-fields-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-field{display:flex;flex-direction:column;gap:5px;min-width:0}.detail-field label{color:var(--muted);font-size:.68rem;font-weight:700;letter-spacing:.06em;line-height:1.3;text-transform:uppercase}.detail-field-label-with-icon{display:inline-flex;align-items:center;gap:7px}.detail-field-icon{display:inline-flex;color:var(--brand)}.detail-field-icon svg{width:15px;height:15px}.detail-field>span{min-width:0;color:var(--ink);font-size:.86rem;font-weight:500;overflow-wrap:anywhere}.profile-detail-card{border-radius:var(--radius-xl);border-color:var(--brand-dim);box-shadow:var(--shadow-sm)}.profile-detail-card .section-card-header{background:linear-gradient(90deg,var(--brand-light),var(--surface-alt))}.profile-detail-card .section-card-body{padding:12px 16px}.profile-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-detail-fields .detail-field{min-height:78px;justify-content:center;padding:12px 14px;border-bottom:1px solid var(--border)}.profile-detail-fields .detail-field:nth-child(odd){border-right:1px solid var(--border)}.profile-detail-fields .detail-field:last-child,.profile-detail-fields .detail-field:nth-last-child(2):nth-child(odd){border-bottom:0}.profile-detail-fields .detail-field:last-child:nth-child(odd){grid-column:1/-1;border-right:0}.profile-detail-fields .detail-field label{color:var(--helper);font-size:.76rem;font-weight:600;letter-spacing:0;text-transform:none}.profile-detail-fields .detail-field>span{font-size:.92rem;font-weight:650}.detail-info-banner{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:12px 16px;color:var(--ink);background:var(--brand-light);border:1px solid var(--brand-dim);border-radius:var(--radius);font-size:.84rem;line-height:1.5}.detail-info-banner svg{width:18px;height:18px;flex:0 0 18px;color:var(--brand)}.trainer-client-list{display:flex;flex-direction:column}.trainer-client-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;padding:13px 4px;color:inherit;text-decoration:none;border-bottom:1px solid var(--border)}.trainer-client-row:last-child{border-bottom:0}.trainer-client-avatar{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--brand-light);color:var(--brand);font-size:.8rem;font-weight:800}.trainer-client-info,.trainer-client-meta,.trainer-client-name-row,.trainer-client-subtitle{display:flex;min-width:0}.trainer-client-info{flex-direction:column;gap:4px}.trainer-client-name-row{align-items:center;gap:8px;flex-wrap:wrap}.trainer-client-name{color:var(--ink);font-size:.88rem;font-weight:700;overflow-wrap:anywhere}.trainer-client-subtitle{align-items:center;gap:8px;color:var(--muted);font-size:.76rem;flex-wrap:wrap}.trainer-client-subtitle svg{width:13px;height:13px;flex:0 0 13px;color:var(--helper)}.trainer-client-meta{flex-direction:column;align-items:flex-end;gap:3px;text-align:right;white-space:nowrap}.trainer-client-end-date{display:inline-flex;align-items:center;gap:5px;color:var(--brand);font-size:.82rem;font-weight:700}.trainer-client-end-date svg{width:13px;height:13px;flex:0 0 13px}.trainer-client-amount{color:var(--muted);font-size:.78rem}.detail-view-all{padding:4px 0;color:var(--brand);background:transparent;border:0;font-size:.8rem;font-weight:700;cursor:pointer}.detail-view-all:hover{color:var(--brand-hover)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:22px}.admin-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-kpi-grid{padding:0;background:transparent;border-radius:0;gap:12px}.stat-tile{--tile-accent:#475569;--tile-accent-soft:#e2e8f0;position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-xs);display:flex;flex-direction:column;justify-content:space-between;min-height:112px;background:var(--surface);color:var(--ink)!important;text-decoration:none!important;cursor:default;border:1px solid var(--border)}.stat-tile-blue{--tile-accent:#2563eb;--tile-accent-soft:#dbeafe}.stat-tile-green{--tile-accent:#15803d;--tile-accent-soft:#dcfce7}.stat-tile-emerald{--tile-accent:#047857;--tile-accent-soft:#d1fae5}.stat-tile-teal{--tile-accent:#0f766e;--tile-accent-soft:#ccfbf1}.stat-tile-slate{--tile-accent:#475569;--tile-accent-soft:#e2e8f0}.stat-tile-amber{--tile-accent:#c2410c;--tile-accent-soft:#ffedd5}.stat-tile-purple{--tile-accent:#7c3aed;--tile-accent-soft:#f3e8ff}.stat-tile-rose{--tile-accent:#be123c;--tile-accent-soft:#ffe4e6}.stat-tile-cyan{--tile-accent:#0e7490;--tile-accent-soft:#cffafe}.stat-tile-indigo{--tile-accent:#4338ca;--tile-accent-soft:#e0e7ff}[data-theme=dark] .stat-tile-blue{--tile-accent:#93c5fd;--tile-accent-soft:rgba(191,219,254,0.16)}[data-theme=dark] .stat-tile-green{--tile-accent:#86efac;--tile-accent-soft:rgba(187,247,208,0.16)}[data-theme=dark] .stat-tile-emerald{--tile-accent:#6ee7b7;--tile-accent-soft:rgba(167,243,208,0.16)}[data-theme=dark] .stat-tile-teal{--tile-accent:#5eead4;--tile-accent-soft:rgba(153,246,228,0.16)}[data-theme=dark] .stat-tile-slate{--tile-accent:#e2e8f0;--tile-accent-soft:rgba(226,232,240,0.16)}[data-theme=dark] .stat-tile-amber{--tile-accent:#fdba74;--tile-accent-soft:rgba(254,215,170,0.16)}[data-theme=dark] .stat-tile-purple{--tile-accent:#c4b5fd;--tile-accent-soft:rgba(221,214,254,0.16)}[data-theme=dark] .stat-tile-rose{--tile-accent:#fda4af;--tile-accent-soft:rgba(253,164,175,0.16)}[data-theme=dark] .stat-tile-cyan{--tile-accent:#67e8f9;--tile-accent-soft:rgba(103,232,249,0.16)}[data-theme=dark] .stat-tile-indigo{--tile-accent:#a5b4fc;--tile-accent-soft:rgba(165,180,252,0.16)}.stat-tile-body{display:flex;flex:1 1;flex-direction:column;gap:8px;padding:14px 16px 6px;position:relative;z-index:2}.stat-tile-header-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-tile-metric-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}.stat-tile-count{font-family:var(--font-display);font-size:1.55rem;font-weight:800;line-height:1.05;letter-spacing:-.03em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--tile-accent)}.stat-tile-count-mono{font-family:inherit}.stat-tile-change{display:inline-flex;align-items:center;gap:3px;font-size:.72rem;font-weight:700;line-height:1;white-space:nowrap;padding:4px 8px;border-radius:999px;background:var(--success-bg);border:1px solid var(--success-border)}.stat-tile-change svg{width:12px;height:12px;stroke:currentColor;stroke-width:2.2}.stat-tile-change-up{color:var(--success)}.stat-tile-change-down{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}.stat-tile-change-neutral{color:var(--tile-accent);background:var(--tile-accent-soft);border-color:var(--border)}.stat-tile-label{font-size:.66rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.stat-tile-watermark{display:none}.stat-tile-footer{background:transparent;padding:0 16px 14px;display:flex;align-items:center;justify-content:flex-start;gap:6px;font-size:.72rem;font-weight:600;color:var(--tile-accent);position:relative;z-index:2}.section-title{font-size:.9rem;font-weight:700;color:var(--ink);margin-bottom:12px;display:flex;align-items:center;gap:8px}.chart-section{margin-bottom:22px}.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));grid-gap:16px;gap:16px}.chart-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-xs);display:flex;flex-direction:column;justify-content:space-between}.chart-toggle-group{display:inline-flex;background:var(--bg-canvas);padding:2px;border-radius:var(--radius-sm);border:1px solid var(--border)}.chart-toggle-btn{padding:3px 8px;font-size:.74rem;font-weight:600;border-radius:var(--radius-xs);border:0;background:transparent;color:var(--muted);cursor:pointer;transition:all var(--transition)}.chart-toggle-btn.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-xs)}.quick-actions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:12px;gap:12px;margin-bottom:22px}.quick-action-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;display:flex;align-items:center;gap:12px;text-decoration:none!important;color:var(--ink)!important;box-shadow:var(--shadow-xs);transition:border-color var(--transition),transform var(--transition),box-shadow var(--transition);cursor:pointer}.quick-action-card:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--shadow-md)}.quick-action-icon{width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.quick-action-content{flex:1 1;min-width:0}.quick-action-title{font-size:.86rem;font-weight:700;color:var(--ink);line-height:1.25}.quick-action-desc{font-size:.72rem;color:var(--muted);margin-top:1px}.quick-action-arrow{color:var(--helper);transition:transform var(--transition),color var(--transition);flex-shrink:0}.quick-action-card:hover .quick-action-arrow{color:var(--brand);transform:translateX(3px)}.member-tabs{display:inline-flex;gap:3px;padding:3px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:14px;overflow-x:auto;max-width:100%;box-shadow:var(--shadow-xs)}.member-tab{flex:0 0 auto;padding:6px 14px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--muted);font-size:.82rem;font-weight:600;cursor:pointer;transition:all var(--transition);white-space:nowrap}.member-tab:hover{color:var(--ink);background:var(--surface-alt)}.member-tab-active{background:var(--brand);color:#ffffff;box-shadow:0 1px 3px rgba(124,58,237,.3)}.member-tab-active:hover{background:var(--brand-hover);color:#ffffff}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-xs)}.filter-search-form{display:flex;align-items:center;gap:6px;flex:1 1 300px;max-width:440px}.filter-pills-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.filter-pills-label{font-size:.74rem;font-weight:600;color:var(--muted);margin-right:2px}.filter-pill{padding:4px 10px;border-radius:999px;font-size:.76rem;font-weight:600;border:1px solid var(--border);background:var(--surface-alt);color:var(--ink-2);cursor:pointer;transition:all var(--transition);text-transform:capitalize}.filter-pill:hover{border-color:var(--border-strong);background:var(--surface-hover);color:var(--ink)}.filter-pill.active{background:var(--brand-light);color:var(--brand);border-color:rgba(124,58,237,.35)}.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow-xs)}.table-wrap,table{background:var(--surface)}table{width:100%;border-collapse:collapse;font-size:.84rem}thead{background:var(--surface-alt);border-bottom:1px solid var(--border)}th{padding:9px 12px;text-align:left;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);white-space:nowrap}td{padding:10px 12px;border-top:1px solid var(--border);color:var(--ink-2);vertical-align:middle}tbody tr{transition:background var(--transition)}tbody tr.clickable-row{cursor:pointer}tbody tr:hover{background:var(--surface-hover)}tbody tr:hover td{color:var(--ink)}.row-avatar{width:30px;height:30px;border-radius:8px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.76rem;flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:5px;padding:2.5px 8px;border-radius:999px;font-size:.72rem;font-weight:600;line-height:1.25;white-space:nowrap}.badge-green{background:var(--success-bg);color:#10b981;border:1px solid var(--success-border)}.badge-red{background:var(--danger-bg);color:#ef4444;border:1px solid var(--danger-border)}.badge-yellow{background:var(--warning-bg);color:#f59e0b;border:1px solid var(--warning-border)}.badge-blue{background:var(--info-bg);color:#0284c7;border:1px solid var(--info-border)}.badge-muted{background:var(--surface-alt);color:var(--muted);border:1px solid var(--border)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 14px;border-radius:var(--radius-sm);font-size:.82rem;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all var(--transition);white-space:nowrap;line-height:1.25}.btn-primary{background:var(--brand);color:#ffffff;border-color:var(--brand);box-shadow:0 1px 3px rgba(124,58,237,.25)}.btn-primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}.btn-secondary{background:var(--surface);color:var(--ink-2);border-color:var(--border-strong);box-shadow:var(--shadow-xs)}.btn-secondary:hover:not(:disabled){background:var(--surface-alt);border-color:var(--brand);color:var(--brand)}.btn-danger{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.btn-danger:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.btn-success-outline{background:var(--success-bg);color:#10b981;border-color:var(--success-border)}.btn-success-outline:hover:not(:disabled){background:#dcfce7;border-color:#86efac}.btn-ghost{background:transparent;color:var(--muted);border-color:transparent}.btn-ghost:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.btn-sm{padding:5px 10px;font-size:.78rem;border-radius:var(--radius-xs)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none!important;box-shadow:none!important}.form-section{padding:16px 0;border-top:1px solid var(--border)}.form-section:first-of-type{border-top:0;padding-top:0}.form-section-header{margin-bottom:12px}.form-section-title{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand)}.form-section-desc{font-size:.78rem;color:var(--muted);margin-top:2px}.form-group{display:flex;flex-direction:column;gap:4px}.form-label{font-size:.8rem;font-weight:600;color:var(--ink-2)}.form-label>span,label>span{color:var(--danger)!important;margin-left:2px}.form-control{width:100%;padding:7px 11px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--ink);font-size:.84rem;transition:border-color var(--transition),box-shadow var(--transition);outline:none}.form-control:focus{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-glow)}.form-control:disabled{background:var(--surface-alt);color:var(--muted);cursor:not-allowed}.form-control::placeholder{color:var(--helper)}.form-control-error{border-color:var(--danger)!important;background:var(--danger-bg)}.form-control-error:focus{box-shadow:0 0 0 2px rgba(239,68,68,.2)!important}.form-field-error{font-size:.74rem;font-weight:500;align-items:center;gap:4px}.error-alert,.form-field-error{color:var(--danger);display:flex}.error-alert{align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px;border:1px solid var(--danger-border);border-radius:var(--radius-sm);background:var(--danger-bg);font-size:.82rem;line-height:1.45}.error-alert-content{display:flex;flex:1 1 200px;align-items:flex-start;gap:10px;min-width:0}.error-alert-content>div{min-width:0;overflow-wrap:anywhere}input[type=date],input[type=date].form-control{cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.form-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.form-hint{font-size:.74rem;color:var(--muted)}.form-error{font-size:.78rem;color:var(--danger)}.form-actions{justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border);flex-wrap:wrap}.form-actions,.modal-overlay{display:flex;align-items:center}.modal-overlay{position:fixed;inset:0;background:rgba(11,15,25,.65);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:500;justify-content:center;padding:16px;overflow-y:auto;animation:fadeIn .15s ease}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:540px;max-height:calc(100vh - 40px);overflow-y:auto;padding:22px 24px;position:relative;animation:slideUp .18s ease;box-shadow:var(--shadow-lg);color:var(--ink)}.modal-lg{max-width:720px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-title{font-family:var(--font-display);font-size:1.15rem;font-weight:700;letter-spacing:-.02em;color:var(--ink)}.modal-close{width:28px;height:28px;background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-xs);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted);transition:all var(--transition);flex-shrink:0}.modal-close:hover{color:var(--ink);background:var(--surface-hover)}.modal-footer{gap:8px;justify-content:flex-end;margin-top:20px;padding-top:14px;border-top:1px solid var(--border)}.modal-footer,.pagination{display:flex;flex-wrap:wrap}.pagination{align-items:center;justify-content:space-between;gap:10px;padding:12px 2px 2px;margin-top:6px}.pagination-info{font-size:.78rem;color:var(--muted);font-weight:500}.pagination-btns{display:flex;align-items:center;gap:4px}.search-wrap{position:relative;flex:1 1}.search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);width:15px;height:15px;pointer-events:none}.search-input{padding-left:32px;padding-right:28px;width:100%}.search-clear-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:999px;border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}.search-clear-btn:hover{color:var(--ink)}.profile-hero-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:20px 24px;margin-bottom:18px;box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.profile-hero-left{display:flex;align-items:center;gap:18px;min-width:0;flex:1 1}.profile-avatar-wrapper{position:relative;width:100px;height:100px;border-radius:50%;flex-shrink:0}.profile-avatar-img{object-fit:cover;box-shadow:var(--shadow-xs)}.profile-avatar-fallback,.profile-avatar-img{width:100%;height:100%;border-radius:50%;border:2px solid var(--surface)}.profile-avatar-fallback{background:var(--brand-light);color:var(--brand);font-weight:800;font-size:1.75rem}.profile-avatar-camera-btn,.profile-avatar-fallback{display:flex;align-items:center;justify-content:center}.profile-avatar-camera-btn{position:absolute;bottom:-2px;right:-2px;width:24px;height:24px;border-radius:50%;background:#334155;color:#ffffff;border:2px solid var(--surface);cursor:pointer;box-shadow:var(--shadow-xs)}.profile-hero-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-hero-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-hero-name{font-family:var(--font-display);font-size:1.55rem;font-weight:800;color:var(--ink);line-height:1.2;margin:0}.profile-hero-contact-row{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:.84rem;color:var(--muted);margin-top:4px}.profile-hero-contact-item{display:flex;align-items:center;gap:5px}.profile-hero-contact-item svg{width:13px;height:13px;flex:0 0 13px;color:var(--helper)}.profile-hero-right{display:flex;align-items:center;gap:24px;flex-shrink:0}.profile-hero-meta{display:flex;gap:18px;padding-right:18px;border-right:1px solid var(--border)}.profile-hero-meta-item{display:flex;flex-direction:column;gap:2px}.profile-hero-meta-item+.profile-hero-meta-item{padding-left:18px;border-left:1px solid var(--border)}.profile-hero-meta-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.profile-hero-meta-value{font-size:.88rem;font-weight:700;color:var(--ink)}.profile-hero-actions{display:flex;align-items:center;gap:8px}.member-nav-tabs{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border);margin-bottom:20px;overflow-x:auto}.member-nav-tab-btn{padding:10px 4px;border:0;background:transparent;color:var(--muted);font-size:.86rem;font-weight:600;cursor:pointer;position:relative;white-space:nowrap;transition:color var(--transition)}.member-nav-tab-btn:hover{color:var(--ink)}.member-nav-tab-btn.active{color:var(--brand);font-weight:700}.member-nav-tab-btn.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2.5px;background:var(--brand);border-radius:999px}.overview-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin-bottom:20px}.summary-metric-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;box-shadow:var(--shadow-xs);display:flex;flex-direction:column;gap:12px;container-type:inline-size;transition:border-color var(--transition),box-shadow var(--transition)}.summary-metric-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.summary-card-header{display:flex;align-items:center;gap:10px}.summary-card-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.summary-card-icon-purple{background:rgba(124,58,237,.12);color:#7c3aed}.summary-card-icon-blue{background:rgba(37,99,235,.12);color:#2563eb}.summary-card-icon-green{background:rgba(16,185,129,.12);color:#10b981}.summary-card-title{font-size:.84rem;font-weight:700;color:var(--ink)}.summary-card-metric-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px}.summary-card-duration-wrap{display:flex;align-items:center;flex-wrap:wrap;min-width:0;gap:6px}.summary-card-duration{font-family:var(--font-display);font-size:1.25rem;font-weight:800;color:var(--ink);line-height:1;white-space:nowrap}.summary-card-remaining{font-size:.82rem;font-weight:700;white-space:nowrap;text-align:right}.summary-card-dates{font-size:.74rem;color:var(--muted)}@container (max-width: 420px){.summary-card-metric-row{grid-template-columns:minmax(0,1fr)}.summary-card-remaining{text-align:left}}.overview-progress-bar{width:100%;height:6px;background:var(--surface-alt);border-radius:999px;overflow:hidden;border:1px solid var(--border)}.overview-progress-fill{height:100%;border-radius:999px;transition:width .3s ease}.progress-green{background:#10b981}.progress-orange{background:#f59e0b}.progress-red{background:#ef4444}.overview-layout-grid{display:grid;grid-template-columns:1.55fr 1fr;grid-gap:18px;gap:18px;margin-bottom:20px}.overview-timeline-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;box-shadow:var(--shadow-xs)}.timeline-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.timeline-title-wrap{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.92rem;color:var(--ink)}.timeline-title-wrap svg{width:18px;height:18px;color:var(--brand);flex:0 0 auto}.timeline-content{padding:0}.timeline-list{display:flex;flex-direction:column;gap:0;position:relative}.timeline-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;grid-column-gap:12px;column-gap:12px;grid-row-gap:4px;row-gap:4px;padding:12px 0 12px 34px}.timeline-item-divider{grid-column:1/-1;height:1px;margin-top:6px;background:var(--border)}.timeline-item:before{content:"";position:absolute;left:11px;top:0;bottom:0;width:2px;background:var(--brand);opacity:.55}.timeline-item:first-child:before{top:18px}.timeline-item:last-child:before{bottom:calc(100% - 18px)}.timeline-node-icon{position:absolute;left:3px;top:14px;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:2;border:2px solid var(--brand);background:var(--surface);color:var(--brand);box-shadow:0 0 0 1px var(--surface)}.timeline-node-icon[data-active=false]{background:var(--surface-alt);color:var(--muted);border-color:var(--border)}.timeline-node-icon[data-type=pt]{background:var(--surface);color:var(--info);border-color:var(--info)}.timeline-node-icon[data-type=pt][data-active=false]{background:var(--surface-alt);color:var(--muted)}.timeline-node-icon svg{width:12px;height:12px}.timeline-item-info{display:flex;grid-column:1;flex-direction:column;gap:3px;min-width:0}.timeline-item-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timeline-item-title{font-size:.84rem;font-weight:700;line-height:1.35;color:var(--ink)}.timeline-item-meta{font-size:.74rem;line-height:1.45;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 6px;align-items:baseline}.timeline-amount{color:var(--ink-2);font-weight:600}.timeline-item-badge-wrap{grid-column:2;grid-row:1;flex-shrink:0;align-self:start;margin-top:1px}.overview-timeline-card .badge{gap:5px;padding:3px 8px;font-size:.72rem}.overview-side-col{display:flex;flex-direction:column;gap:16px}.pt-sessions-card,.recent-activity-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;box-shadow:var(--shadow-xs)}.side-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.side-card-title{font-size:.88rem;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px}.side-card-link{font-size:.74rem;font-weight:600;color:var(--brand)}.sessions-stats-row{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;text-align:center;padding:10px 0 14px;border-bottom:1px solid var(--border);margin-bottom:12px}.sessions-stat-item{display:flex;flex-direction:column;gap:2px}.sessions-stat-val{font-family:var(--font-display);font-size:1.25rem;font-weight:800;color:var(--ink)}.sessions-stat-lbl{font-size:.68rem;font-weight:600;color:var(--muted);text-transform:uppercase}.recent-activity-list,.recent-sessions-list{display:flex;flex-direction:column;gap:8px}.recent-session-item{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.78rem;padding:4px 0}.recent-session-left{display:flex;align-items:center;gap:8px;min-width:0}.check-circle-green{width:16px;height:16px;border-radius:50%;background:var(--success);color:#ffffff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-item{display:flex;align-items:flex-start;gap:8px;font-size:.78rem;color:var(--ink-2)}.activity-bullet{width:6px;height:6px;border-radius:50%;background:var(--brand);margin-top:5px;flex-shrink:0}.member-info-alert{display:flex;align-items:center;gap:10px;padding:10px 16px;background:var(--brand-light);border:1px solid rgba(124,58,237,.18);border-radius:var(--radius-sm);color:var(--brand);font-size:.8rem;font-weight:500;margin-top:14px}.member-info-alert svg{flex-shrink:0}.toast-container{position:fixed;top:18px;right:18px;z-index:1000;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{padding:10px 14px;border-radius:var(--radius-sm);font-size:.82rem;font-weight:500;box-shadow:var(--shadow-lg);animation:slideUp .18s ease;display:flex;align-items:center;justify-content:space-between;gap:12px}.toast-success{background:var(--surface);border:1px solid var(--success-border);border-left:4px solid var(--success);color:var(--success)}.toast-error{background:var(--surface);border:1px solid var(--danger-border);border-left:4px solid var(--danger);color:var(--danger)}.toast-dismiss{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:1.1rem;line-height:1}.mobile-header{display:none;position:-webkit-sticky;position:sticky;top:0;z-index:150;background:var(--sidebar-bg);border-bottom:1px solid var(--sidebar-border);padding:8px 12px;align-items:center;justify-content:space-between;gap:10px;color:#ffffff}.mobile-brand{display:flex;align-items:center;gap:9px;min-width:0}.mobile-brand-logo{width:30px;height:30px;border-radius:7px;object-fit:cover;background:#ffffff}.mobile-brand-name strong{font-family:var(--font-display);font-size:.85rem;font-weight:800;color:#ffffff}.mobile-brand-name small{font-size:.6rem;font-weight:700;color:#a78bfa;letter-spacing:.06em;text-transform:uppercase}.mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius-xs);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#ffffff;cursor:pointer}.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--surface);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--border);padding:5px 0 env(safe-area-inset-bottom,5px);z-index:200;box-shadow:0 -4px 12px rgba(0,0,0,.06)}.bottom-nav-items{display:flex;justify-content:space-around;align-items:center}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 8px;color:var(--muted);font-size:.68rem;font-weight:600;text-align:center}.bottom-nav-item.active{color:var(--brand)}.bottom-nav-item svg{width:18px;height:18px}.trainer-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:14px;gap:14px}.trainer-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-xs);transition:all var(--transition);cursor:pointer;display:flex;flex-direction:column}.trainer-card:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--shadow-md)}.trainer-avatar{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:800;color:#ffffff;flex-shrink:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}@media (max-width:1200px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-summary-grid{grid-template-columns:1fr}}@media (max-width:1024px){.shell{grid-template-columns:210px 1fr}.main{padding:18px 20px 60px}.profile-hero-card{flex-direction:column;align-items:flex-start}.profile-hero-right{width:100%;justify-content:space-between;border-top:1px solid var(--border);padding-top:14px}.profile-hero-meta{border-right:0}}@media (max-width:820px){.shell{grid-template-columns:1fr;grid-template-rows:auto 1fr}.sidebar{display:none}.mobile-header{display:flex}.bottom-nav{display:block}.main{padding:16px 14px 80px}.form-grid{grid-template-columns:1fr}.form-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.detail-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-grid{grid-template-columns:1fr}}@media (max-width:640px){.main{padding:12px 10px 80px}.topbar{flex-direction:column;align-items:stretch;gap:10px}.topbar-actions{width:100%;justify-content:flex-start}.detail-fields,.detail-fields-grid,.profile-detail-fields{grid-template-columns:1fr}.profile-detail-fields .detail-field,.profile-detail-fields .detail-field:nth-child(odd){min-height:0;padding:12px 4px;border-right:0}.profile-detail-fields .detail-field:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--border)}.profile-detail-fields .detail-field:last-child:nth-child(odd){grid-column:auto}.section-card-body{padding:14px}.admin-stats-grid,.form-grid-3,.quick-actions-grid,.stats-grid{grid-template-columns:1fr}.profile-hero-right{flex-direction:column;align-items:flex-start;gap:12px}.profile-hero-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.profile-avatar-wrapper{width:82px;height:82px}.trainer-client-row{grid-template-columns:38px minmax(0,1fr);gap:10px}.trainer-client-avatar{width:38px;height:38px}.overview-timeline-card{padding:14px 12px}.timeline-item{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:3px;gap:3px;padding-left:34px}.timeline-item:before{left:11px}.timeline-node-icon{top:14px}.timeline-item-badge-wrap,.timeline-item-info{grid-column:1}.timeline-item-badge-wrap{grid-row:auto;justify-self:start}.trainer-client-meta{grid-column:2;width:100%;flex-direction:row;align-items:center;justify-content:space-between;text-align:left}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;transition-duration:.01ms!important}}.login-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:32px 16px;position:relative;color:var(--ink);color-scheme:light;background-color:var(--bg-canvas);background-image:radial-gradient(at 50% 10%,rgba(124,58,237,.12) 0,transparent 55%),radial-gradient(at 85% 85%,rgba(99,102,241,.08) 0,transparent 50%),radial-gradient(at 15% 90%,rgba(16,185,129,.05) 0,transparent 40%);overflow:hidden}.login-card{width:100%;max-width:410px;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:36px 30px 28px;box-shadow:0 16px 36px -10px rgba(0,0,0,.08),0 0 1px 1px rgba(0,0,0,.04);position:relative;z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform var(--transition),box-shadow var(--transition)}.login-logo{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid var(--border)}.login-logo img{display:block;width:min(100%,190px);height:auto;object-fit:contain}.login-header{text-align:center;margin-bottom:22px}.login-title{font-size:1.32rem;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin:0 0 6px}.login-sub{font-size:.84rem;color:var(--muted);margin:0;line-height:1.45}.login-error-alert{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 14px;border:1px solid var(--danger-border);border-radius:var(--radius-sm);color:var(--danger);background:var(--danger-bg);font-size:.82rem;line-height:1.45}.login-error-icon{flex:0 0 auto;margin-top:1px}.login-error-message{min-width:0;overflow-wrap:anywhere}.login-form{display:flex;flex-direction:column;gap:16px}.login-input-wrap{position:relative;display:flex;align-items:center;width:100%}.login-input-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none;transition:color var(--transition)}.login-input-wrap:focus-within .login-input-icon{color:var(--brand)}.login-input-wrap .form-control{padding-left:40px!important;height:44px;border-radius:var(--radius-sm);font-size:.88rem;background:var(--surface-alt);border-color:var(--border);transition:all var(--transition)}.login-input-wrap .form-control:focus{background:var(--surface);border-color:var(--brand);box-shadow:0 0 0 3px rgba(124,58,237,.14)}.login-password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--muted);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:color var(--transition)}.login-password-toggle:hover{color:var(--ink)}.login-submit-btn{width:100%;height:44px;margin-top:6px;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#7c3aed,#6366f1);color:#ffffff!important;border:none;cursor:pointer;box-shadow:0 6px 16px -3px rgba(124,58,237,.4);transition:all var(--transition)}.login-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#4f46e5);transform:translateY(-1px);box-shadow:0 8px 20px -4px rgba(124,58,237,.5)}.login-submit-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.login-footer{margin-top:22px;padding-top:16px;border-top:1px solid var(--border);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.login-security-badge{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;color:var(--muted);font-weight:500}.login-security-badge svg{color:var(--success)}.login-copyright{font-size:.72rem;color:var(--helper);margin:0}.spinner{display:inline-block;border:5px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.loading{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;font-size:15px;color:var(--text-secondary)}