:root{--brand-primary:#1A56DB;--brand-medium:#60A5FA;--brand-light:#93C5FD;--brand-pale:#DBEAFE;--brand-strava:#FF6B35;--brand-gold:#C9A84C;--brand-gold-light:#E2CB7D;--brand-gold-muted:rgba(201,168,76,0.15);--bg-sidebar:#070810;--bg-base:#0A0C14;--bg-card:#111422;--bg-hover:#171B2B;--bg-active:#0D1A3A;--bg-elevated:#1A1E30;--border-subtle:#1A1F35;--border-medium:#252D4A;--border-strong:#1A56DB;--border-gold:rgba(201,168,76,0.3);--text-primary:#F0F4FF;--text-secondary:#8BA4D0;--text-muted:#556B9A;--success:#4ADE80;--success-bg:#0D2818;--warning:#FCD34D;--warning-bg:#2A1A00;--danger:#F87171;--danger-bg:#2A0A0A;--font-sans:'Inter',system-ui,sans-serif;--font-mono:'JetBrains Mono',monospace;--font-display:'Playfair Display',Georgia,serif;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--sidebar-width:240px;--topbar-height:60px;--shadow-sm:0 1px 3px rgba(0,0,0,0.3);--shadow-md:0 4px 16px rgba(0,0,0,0.4);--shadow-lg:0 8px 32px rgba(0,0,0,0.5);--shadow-glow:0 0 40px rgba(26,86,219,0.15);--shadow-gold:0 0 30px rgba(201,168,76,0.08)}
[data-theme="light"]{--bg-sidebar:#F5F7FF;--bg-base:#F8FAFF;--bg-card:#FFFFFF;--bg-hover:#F0F4FF;--bg-active:#DBEAFE;--bg-elevated:#FFFFFF;--border-subtle:#E2E8F0;--border-medium:#93C5FD;--border-strong:#1A56DB;--border-gold:rgba(201,168,76,0.25);--text-primary:#0F172A;--text-secondary:#3B5998;--text-muted:#64748B;--success-bg:#DCFCE7;--warning-bg:#FEF9C3;--danger-bg:#FEE2E2;--brand-gold:#B8942E;--brand-gold-light:#D4B24A;--brand-gold-muted:rgba(184,148,46,0.1);--shadow-sm:0 1px 3px rgba(0,0,0,0.08);--shadow-md:0 4px 16px rgba(0,0,0,0.06);--shadow-lg:0 8px 32px rgba(0,0,0,0.1);--shadow-glow:0 0 40px rgba(26,86,219,0.06);--shadow-gold:0 0 30px rgba(201,168,76,0.04)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background:var(--bg-base);color:var(--text-primary);font-size:14px;line-height:1.5;overflow:hidden;height:100vh;touch-action:manipulation}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-medium);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--brand-gold)}
#screen-login{display:flex;align-items:center;justify-content:center;height:100vh;background:var(--bg-base);position:relative;z-index:2000;overflow:hidden}#screen-login::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 50%,rgba(26,86,219,0.08) 0%,transparent 50%),radial-gradient(ellipse at 70% 50%,rgba(201,168,76,0.05) 0%,transparent 50%)}.login-box{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);padding:48px 40px 40px;width:100%;max-width:420px;text-align:center;position:relative;box-shadow:var(--shadow-lg),var(--shadow-glow)}.login-box::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:60px;height:3px;background:linear-gradient(90deg,transparent,var(--brand-primary),transparent);border-radius:2px}.login-title{font-family:'Michroma',sans-serif;font-size:20px;font-weight:700;color:#fff;margin-bottom:6px;letter-spacing:1px;text-transform:uppercase;text-shadow:0 0 4px #fff,0 0 8px #1A56DB,0 0 15px #1A56DB,0 0 30px rgba(26,86,219,0.8);animation:neonPulse 1.5s infinite alternate}.login-sub{font-size:11px;color:var(--brand-medium);font-family:var(--font-sans);margin-bottom:32px;font-weight:700;letter-spacing:2px;text-transform:uppercase;opacity:0.8}.login-divider{height:1px;background:linear-gradient(90deg,transparent,var(--border-medium),transparent);margin-bottom:24px}.login-forgot{font-size:12px;color:var(--brand-medium);cursor:pointer;text-align:right;display:block;margin-bottom:24px;transition:color .15s}.login-forgot:hover{color:var(--text-primary);text-decoration:underline}.login-theme-toggle{position:absolute;top:24px;right:24px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:10px;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;justify-content:center;transition:all .2s;box-shadow:var(--shadow-sm)}.login-theme-toggle:hover{border-color:var(--brand-primary);color:var(--brand-primary)}
.role-toggle{display:flex;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:var(--radius-md);overflow:hidden;margin-bottom:28px;box-shadow:inset 0 1px 3px rgba(0,0,0,0.2)}.role-toggle button{flex:1;padding:12px 16px;font-size:13px;font-weight:600;font-family:var(--font-sans);border:none;cursor:pointer;transition:all .2s;background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;gap:6px}.role-toggle button.active{background:linear-gradient(135deg,var(--brand-primary),#2563EB);color:#fff;box-shadow:0 2px 8px rgba(26,86,219,0.3)}.role-toggle button i{width:16px;height:16px}

#app-shell{display:none;height:100vh}.app-layout{display:flex;height:100%}.sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;height:100vh;position:fixed;left:0;top:0;z-index:900}.sidebar-logo{padding:24px 16px 20px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;gap:14px;background:linear-gradient(180deg, rgba(26,86,219,0.05) 0%, transparent 100%)}.sidebar-logo-img{width:46px;height:46px;object-fit:contain;border-radius:50%;flex-shrink:0;filter:drop-shadow(0 0 10px rgba(26,86,219,0.3));transition:transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)}.sidebar-logo:hover .sidebar-logo-img{transform:scale(1.15) rotate(5deg)}.sidebar-logo-text{line-height:1.1}.sidebar-logo-text .brand-name{font-family:'Michroma',sans-serif;font-size:12px;font-weight:700;color:#fff;letter-spacing:1px;text-transform:uppercase;text-shadow:0 0 4px #fff,0 0 8px #1A56DB,0 0 15px #1A56DB,0 0 30px rgba(26,86,219,0.8);animation:neonPulse 1.5s infinite alternate}.sidebar-logo-text .brand-sub{font-size:8px;color:var(--brand-medium);font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin-top:4px;display:block;opacity:0.8;font-family:var(--font-sans)}@keyframes neonPulse{from{text-shadow:0 0 4px #fff,0 0 8px #1A56DB,0 0 15px #1A56DB,0 0 25px rgba(26,86,219,0.6);opacity:0.95}to{text-shadow:0 0 6px #fff,0 0 12px #1A56DB,0 0 25px #1A56DB,0 0 45px rgba(26,86,219,0.9);opacity:1}}
.sidebar-nav{flex:1;padding:12px 8px}.sidebar-sep{height:1px;background:var(--border-subtle);margin:8px}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:var(--radius-md);color:var(--text-muted);cursor:pointer;font-size:13px;font-weight:500;transition:background .15s,color .15s;border:none;background:none;width:100%;text-align:left;font-family:var(--font-sans);border-left:3px solid transparent}.nav-item:hover{background:var(--bg-hover);color:var(--text-primary)}.nav-item.active{background:var(--bg-active);color:var(--brand-medium);border-left-color:var(--brand-gold)}.nav-item i{width:18px;height:18px;flex-shrink:0}.sidebar-footer{padding:12px 16px;border-top:1px solid var(--border-subtle);display:flex;align-items:center;gap:10px}.sidebar-footer .avatar-sm{width:32px;height:32px;border-radius:50%;background:rgba(26,86,219,.2);display:flex;align-items:center;justify-content:center;color:var(--brand-medium);font-weight:700;font-size:12px;flex-shrink:0}.sidebar-footer-info{flex:1;min-width:0}.sidebar-footer-name{font-size:13px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-footer-role{font-size:11px;color:var(--text-muted)}.sidebar-footer .btn-icon{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:4px;border-radius:var(--radius-sm)}.sidebar-footer .btn-icon:hover{color:var(--danger);background:var(--danger-bg)}
.main-area{flex:1;margin-left:var(--sidebar-width);display:flex;flex-direction:column;height:100vh;overflow:hidden}.topbar{height:var(--topbar-height);background:var(--bg-sidebar);border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;padding:0 24px;flex-shrink:0;position:sticky;top:0;z-index:800;gap:12px;box-shadow:0 1px 10px rgba(0,0,0,0.2)}@media (max-width: 768px) { .topbar { height: 48px; padding: 0 14px; } .topbar-title { font-size: 15px; } .topbar-actions { gap: 8px; } .topbar-avatar { width: 28px; height: 28px; font-size: 11px; } } .topbar-hamburger{display:none;background:none;border:none;color:var(--text-primary);cursor:pointer;padding:4px}.topbar-title{font-size:17px;font-weight:700;color:var(--text-primary);flex:1}.topbar-actions{display:flex;align-items:center;gap:12px}.topbar-notif{position:relative;background:none;border:none;color:var(--text-muted);cursor:pointer;padding:6px;border-radius:var(--radius-sm);transition:color .15s}.topbar-notif:hover{color:var(--text-primary)}.topbar-notif .badge-count{position:absolute;top:0;right:0;background:var(--danger);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px}.topbar-avatar{width:32px;height:32px;border-radius:50%;background:rgba(26,86,219,.2);display:flex;align-items:center;justify-content:center;color:var(--brand-medium);font-weight:700;font-size:12px;cursor:pointer}.content{flex:1;overflow-y:auto;padding:24px}@media (max-width: 768px) { .content { padding: 12px; padding-bottom: calc(env(safe-area-inset-bottom) + 70px); } }
.bottom-nav{display:none;height:64px;background:var(--bg-sidebar);border-top:1px solid var(--border-subtle);align-items:center;justify-content:flex-start;flex-shrink:0;overflow-x:auto;padding:0 8px;gap:4px;scrollbar-width:none;-ms-overflow-style:none}@media (max-width: 768px) { .bottom-nav { display: flex; height: auto; padding: 4px 4px calc(env(safe-area-inset-bottom) + 4px); min-height: 56px; } } .bottom-nav::-webkit-scrollbar{display:none}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--text-muted);cursor:pointer;font-size:10px;font-weight:600;background:none;border:none;padding:8px 12px;font-family:var(--font-sans);flex:0 0 auto;min-width:64px;transition:all .15s;position:relative}@media (max-width: 768px) { .bottom-nav-item { padding: 5px 8px; min-width: 52px; font-size: 9px; gap: 2px; } .bottom-nav-item i { width: 18px; height: 18px; } } .bottom-nav-item.active{color:var(--brand-medium)} .bottom-nav-item.active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--brand-gold); border-radius: 0 0 4px 4px; opacity: 0; } @media (max-width: 768px) { .bottom-nav-item.active::before { opacity: 1; } } .bottom-nav-item i{width:20px;height:20px;transition:transform .15s}.bottom-nav-item.active i{transform:scale(1.1)}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:899}
.screen{display:none}.screen.active{display:block}.kpi-row{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:24px}
.dashboard-greeting{margin-bottom:20px}.greeting-title{font-size:20px;font-weight:700;color:var(--text-primary)}.greeting-sub{font-size:13px;color:var(--text-muted);margin-top:2px}
.action-card{background:linear-gradient(135deg,rgba(26,86,219,0.1),rgba(201,168,76,0.05));border:1px solid var(--border-medium);margin-bottom:24px}.action-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}.action-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);cursor:pointer;transition:all .15s}.action-item:hover{border-color:var(--brand-medium);background:var(--bg-hover);transform:translateX(4px)}.action-item-info{flex:1}.action-item-title{font-size:13px;font-weight:600;color:var(--text-primary)}.action-item-desc{font-size:11px;color:var(--text-muted)}
.status-row{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border-subtle);transition:background .15s;cursor:pointer}.status-row:hover{background:var(--bg-hover)}.status-dot-sm{width:8px;height:8px;border-radius:50%}.status-active{background:var(--success)}.status-attention{background:var(--warning)}.status-risk{background:var(--danger)}
.insight-card{background:var(--bg-card);border:1px solid var(--border-strong);margin-top:24px;position:relative;overflow:hidden}.insight-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--brand-primary)}.insight-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:12px}.insight-item{display:flex;gap:10px;font-size:13px;color:var(--text-secondary);line-height:1.4}.insight-item i{color:var(--brand-medium);flex-shrink:0}
.agenda-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}.agenda-item:last-child{border-bottom:none}.agenda-info{flex:1}.agenda-name{font-size:13px;font-weight:600}.agenda-type{font-size:11px;color:var(--text-muted)}
@media(max-width:1024px){.kpi-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.kpi-row{grid-template-columns:1fr 1fr}.insight-list{grid-template-columns:1fr}}
.gt-tooltip{position:relative;cursor:help;display:inline-flex;align-items:center}.gt-tooltip::after{content:attr(data-tooltip);position:absolute;bottom:125%;left:50%;transform:translateX(-50%);background:var(--bg-card);color:var(--text-primary);padding:8px 12px;border-radius:var(--radius-md);border:1px solid var(--border-medium);font-size:11px;font-weight:400;white-space:normal;width:200px;opacity:0;visibility:hidden;transition:all .2s;z-index:1000;box-shadow:var(--shadow-lg);line-height:1.4;text-align:center}.gt-tooltip:hover::after{opacity:1;visibility:visible}
.dashboard-header-flex{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}
.header-highlights{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.header-highlight-item{background:rgba(26,86,219,0.05);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:10px 14px;display:flex;align-items:center;gap:10px;font-size:12px;color:var(--text-secondary);max-width:300px;transition:all .2s;cursor:default}.header-highlight-item:hover{background:rgba(26,86,219,0.08);border-color:var(--brand-medium)}
.header-highlight-item i{color:var(--brand-gold);flex-shrink:0}
.header-highlight-item strong{color:var(--text-primary)}
@media(max-width:1024px){.dashboard-header-flex{flex-direction:column;gap:16px}.header-highlights{justify-content:flex-start;width:100%}}

.dash-grid-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-top: 28px; }
.dash-grid-full { grid-column: 1 / -1; }
@media (max-width: 1024px) { .dash-grid-layout { grid-template-columns: 1fr; gap: 16px; } .dash-grid-full { grid-column: auto; } }

.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--border-subtle)}

.kpi-row{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-bottom:0}
.card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:8px 12px;transition:all .15s;position:relative;box-shadow:var(--shadow-sm);height:fit-content}
.card:hover{border-color:var(--border-medium);box-shadow:var(--shadow-md);transform:translateY(-1px)}.kpi-card{text-align:left;position:relative;overflow:hidden}.kpi-card::after{content:'';position:absolute;top:0;right:0;width:100px;height:100px;background:radial-gradient(circle,var(--brand-gold-muted) 0%,transparent 70%);opacity:0;transition:opacity .3s}.kpi-card:hover::after{opacity:1}.kpi-icon{width:44px;height:44px;border-radius:var(--radius-md);background:rgba(26,86,219,.1);display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:var(--brand-medium);border:1px solid rgba(26,86,219,.15)}.kpi-value{font-size:32px;font-weight:700;color:var(--text-primary);line-height:1;margin-bottom:4px;font-family:var(--font-mono)}.kpi-label{font-size:12px;color:var(--text-muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.kpi-change{font-size:12px;font-weight:600}.kpi-change.up{color:var(--success)}.kpi-change.down{color:var(--danger)}
.badge{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:3px 10px;font-size:11px;font-weight:600;border:1px solid;box-shadow:0 1px 4px rgba(0,0,0,0.1)}.badge-ativo{background:var(--success-bg);color:var(--success);border-color:var(--success)}.badge-atraso{background:var(--danger-bg);color:var(--danger);border-color:var(--danger)}.badge-trial{background:var(--warning-bg);color:var(--warning);border-color:var(--warning)}.badge-pausado{background:var(--bg-hover);color:var(--text-muted);border-color:var(--border-subtle)}.badge-strava{background:rgba(255,107,53,.15);color:var(--brand-strava);border-color:var(--brand-strava)}
.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--radius-md);font-size:13px;font-weight:600;cursor:pointer;border:none;font-family:var(--font-sans);transition:all .15s;white-space:nowrap}.btn-sm{padding:6px 12px;font-size:12px}.btn-lg{padding:10px 24px;font-size:14px}.btn-primary{background:linear-gradient(135deg,var(--brand-primary),#2563EB);color:#fff;box-shadow:0 2px 8px rgba(26,86,219,0.25)}.btn-primary:hover{background:linear-gradient(135deg,#1E63F0,#3B82F6);box-shadow:0 4px 12px rgba(26,86,219,0.35);transform:translateY(-1px)}.btn-success{background:var(--success);color:#fff;border:1px solid var(--success);box-shadow:0 2px 8px rgba(74,222,128,0.2)}.btn-success:hover{background:#3ecf73;border-color:#3ecf73;transform:translateY(-1px)}.btn-secondary{background:transparent;border:1px solid var(--border-medium);color:var(--text-primary)}.btn-secondary:hover{background:var(--bg-hover)}.btn-ghost{background:transparent;color:var(--brand-medium)}.btn-ghost:hover{background:var(--bg-hover)}.btn-strava{background:var(--brand-strava);color:#fff}.btn-strava:hover{opacity:.9}.btn-block{width:100%;justify-content:center}
.form-group{margin-bottom:8px}.form-label{display:block;font-size:11px;font-weight:700;color:var(--text-muted);margin-bottom:2px;text-transform:uppercase;letter-spacing:.5px}.form-input,.form-select,.form-textarea{width:100%;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-primary);padding:8px 12px;font-size:14px;font-family:var(--font-sans);transition:border-color .2s}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 2px rgba(26,86,219,.12)}.form-textarea{resize:vertical;min-height:36px}
.table-wrap{overflow-x:auto}
@media(max-width:768px) {
  #screen-alunos .table-wrap { overflow-x: visible; }
  #screen-alunos table, #screen-alunos thead, #screen-alunos tbody, #screen-alunos th, #screen-alunos td, #screen-alunos tr { display: block; }
  #screen-alunos thead tr { position: absolute; top: -9999px; left: -9999px; }
  #screen-alunos tr { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-card); margin-bottom: 12px; padding: 12px; }
  #screen-alunos td { border: none; padding: 8px 0; position: relative; padding-left: 45%; display: flex; align-items: center; justify-content: flex-end; text-align: right; min-height: 32px; border-bottom: none !important; }
  #screen-alunos td::before { content: attr(data-label); position: absolute; left: 0; width: 40%; padding-right: 10px; white-space: nowrap; font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 10px; text-align: left; }
  #screen-alunos td:last-child { border-top: 1px solid var(--border-subtle); margin-top: 8px; padding-top: 12px; justify-content: center; padding-left: 0; }
  #screen-alunos td:last-child::before { display: none; }
}
table{width:100%;border-collapse:collapse}th{background:var(--bg-sidebar);font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;padding:10px 14px;text-align:left;white-space:nowrap}td{padding:12px 14px;border-bottom:1px solid var(--border-subtle);font-size:13px;vertical-align:middle}tr:hover td{background:var(--bg-hover)}
.tabs{display:flex;border-bottom:1px solid var(--border-subtle);margin-bottom:20px}.tab{padding:10px 16px;color:var(--text-muted);cursor:pointer;font-size:13px;font-weight:600;border-bottom:2px solid transparent;transition:color .15s;background:none;border-top:none;border-left:none;border-right:none;font-family:var(--font-sans)}.tab:hover{color:var(--text-primary)}.tab.active{color:var(--brand-medium);border-bottom-color:var(--brand-primary)}.tab-content{display:none}.tab-content.active{display:block}
.pills{display:flex;gap:6px;flex-wrap:wrap}.pill{padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid var(--border-subtle);background:transparent;color:var(--text-muted);font-family:var(--font-sans);transition:all .15s}.pill:hover{border-color:var(--border-medium);color:var(--text-primary)}.pill.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}
.avatar{border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(26,86,219,.2);color:var(--brand-medium);font-weight:700;flex-shrink:0;overflow:hidden}.avatar-32{width:32px;height:32px;font-size:12px}.avatar-40{width:40px;height:40px;font-size:14px}.avatar-64{width:64px;height:64px;font-size:22px}.avatar-96{width:96px;height:96px;font-size:32px}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title{font-size:16px;font-weight:700;color:var(--text-primary)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.alert{padding:12px 16px;border-radius:var(--radius-md);font-size:13px;font-weight:500;display:flex;align-items:center;gap:10px;margin-bottom:16px}.alert-danger{background:var(--danger-bg);border:1px solid var(--danger);color:var(--danger)}.search-bar{display:flex;align-items:center;gap:10px;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:8px 14px}.search-bar input{flex:1;background:none;border:none;color:var(--text-primary);font-size:14px;font-family:var(--font-sans);outline:none}.search-bar input::placeholder{color:var(--text-muted)}.search-bar i{color:var(--text-muted);width:18px;height:18px}
.flex-row{display:flex;align-items:center;gap:10px}.flex-between{display:flex;align-items:center;justify-content:space-between}.flex-wrap{flex-wrap:wrap}.gap-8{gap:8px}.gap-16{gap:16px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mt-16{margin-top:16px}.text-right{text-align:right}.text-center{text-align:center}.mono{font-family:var(--font-mono)}.metric{font-family:var(--font-mono);font-size:18px;font-weight:700}.text-sm{font-size:12px}.text-muted{color:var(--text-muted)}.text-success{color:var(--success)}
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.8);backdrop-filter:blur(4px);z-index:1000;align-items:center;justify-content:center;padding:20px}.modal-overlay.open{display:flex}.modal-box{background:var(--bg-card);border:1px solid var(--border-medium);border-radius:var(--radius-xl);max-width:560px;width:100%;padding:24px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg),var(--shadow-glow)}
.toast-container{position:fixed;bottom:24px;left:24px;z-index:9000;display:flex;flex-direction:column-reverse;gap:8px;width:auto;max-width:320px;pointer-events:none;padding:0}.toast{background:rgba(17,20,34,0.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:10px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 24px rgba(0,0,0,0.4);pointer-events:auto;animation:toastSlideIn 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;transition:all 0.4s ease;position:relative;overflow:hidden}.toast::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background:var(--brand-primary)}.toast-success::before{background:var(--success)}.toast-warning::before{background:var(--warning)}.toast-danger::before{background:var(--danger)}.toast-info::before{background:var(--brand-medium)}.toast-content{flex:1;min-width:0}.toast-title{font-size:12px;font-weight:700;color:var(--text-primary);margin-bottom:1px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast-msg{font-size:11px;color:var(--text-secondary);line-height:1.3;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:rgba(255,255,255,0.05);color:var(--brand-medium)}.toast-icon i{width:16px!important;height:16px!important}.toast-success .toast-icon{color:var(--success);background:rgba(74,222,128,0.1)}.toast-warning .toast-icon{color:var(--warning);background:rgba(252,211,77,0.1)}.toast-danger .toast-icon{color:var(--danger);background:rgba(248,113,113,0.1)}@keyframes toastSlideIn{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}@media(max-width:480px){.toast-container{bottom:80px;left:10px;right:10px;max-width:none}.toast{padding:8px 12px;margin-bottom:4px}}
.timeline-feed{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.timeline-card{padding:20px}.timeline-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.timeline-card-type{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.timeline-card-time{font-size:12px;color:var(--text-muted)}.timeline-card-title{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.timeline-metrics{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:14px}.timeline-metric{text-align:center}.timeline-metric-value{font-family:var(--font-mono);font-size:18px;font-weight:700;color:var(--text-primary)}.timeline-metric-label{font-size:11px;color:var(--text-muted)}.timeline-feedback{background:var(--bg-base);border-left:3px solid var(--brand-primary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:12px 14px;margin-top:12px}.timeline-feedback-label{font-size:11px;color:var(--text-muted);margin-bottom:4px;display:flex;align-items:center;gap:4px}.timeline-feedback-text{font-size:13px;color:var(--text-primary);font-style:italic}.skeleton{background:var(--bg-hover);border-radius:var(--radius-md);animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}.achievement-icon{font-size:40px;margin-bottom:8px}
.week-nav{display:flex;align-items:center;gap:16px}.week-nav-title{font-size:15px;font-weight:600;color:var(--text-primary)}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.day-col{min-height:140px}.day-header{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;margin-bottom:8px;text-align:center}.day-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:12px;border-left:4px solid;min-height:100px;position:relative}.day-card .type{font-size:12px;font-weight:600;margin-bottom:4px}.day-card .dist{font-family:var(--font-mono);font-size:16px;font-weight:700;color:var(--text-primary)}.day-card .pace{font-size:12px;color:var(--text-muted);font-family:var(--font-mono)}.day-card .sync-check{position:absolute;top:8px;right:8px;color:var(--success)}.day-add{display:flex;align-items:center;justify-content:center;border:1px dashed var(--border-subtle);border-radius:var(--radius-md);padding:12px;color:var(--text-muted);cursor:pointer;min-height:60px;transition:border-color .15s,color .15s}.day-add:hover{border-color:var(--brand-medium);color:var(--brand-medium)}.treino-facil{border-left-color:#4ADE80}.treino-facil .type{color:#4ADE80}.treino-forte{border-left-color:#FCD34D}.treino-forte .type{color:#FCD34D}.treino-longo{border-left-color:#60A5FA}.treino-longo .type{color:#60A5FA}.treino-descanso{border-left-color:#6B7DB8}.treino-descanso .type{color:#6B7DB8}.treino-fartlek{border-left-color:#A78BFA}.treino-fartlek .type{color:#A78BFA}
.chat-unread-badge{background:var(--danger);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 5px;margin-left:auto}
.chat-layout{display:flex;height:calc(100vh - var(--topbar-height));overflow:hidden;margin:-24px}.chat-list{width:300px;border-right:1px solid var(--border-subtle);overflow-y:auto;flex-shrink:0;background:var(--bg-card)}.chat-list-item{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;border-bottom:1px solid var(--border-subtle);transition:background .15s}.chat-list-item:hover,.chat-list-item.active{background:var(--bg-hover)}.chat-list-info{flex:1;min-width:0}.chat-list-name{font-size:13px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center}.chat-list-msg{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-list-time{font-size:11px;color:var(--text-muted);white-space:nowrap}.chat-main{flex:1;display:flex;flex-direction:column}.chat-header{padding:14px 20px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;gap:10px}.chat-header-name{font-size:15px;font-weight:600;color:var(--text-primary)}.chat-messages{flex:1;overflow-y:auto;padding:20px;display:block;overflow-x:hidden;background:rgba(255,255,255,0.015)}
.chat-bubble{clear:both; display:block !important; width:fit-content !important; height:auto !important; min-height:0 !important; max-width:80% !important; padding:10px 16px !important; border-radius:20px; font-size:14px; line-height:1.5; position:relative; box-shadow:0 2px 8px rgba(0,0,0,0.1); margin-bottom:14px; font-family:var(--font-sans); word-wrap:break-word; transition: transform 0.2s ease;}
.chat-bubble:active { transform: scale(0.98); }
.chat-bubble.received{background:var(--bg-hover);color:var(--text-primary);float:left;border-bottom-left-radius:4px}.chat-bubble.sent{background:var(--brand-primary);color:#fff;float:right;border-bottom-right-radius:4px}.chat-msg-text{margin:0; padding:0; display:block}.chat-bubble .time{font-size:10px; opacity:0.7; display:block; text-align:right; margin-top:4px}
/* Card Premium de Treino no Chat */
.chat-card-training{background:var(--bg-card);border-radius:var(--radius-lg);padding:16px;margin:8px 0;border-left:5px solid var(--brand-primary);box-shadow:0 4px 12px rgba(0,0,0,0.15);min-width:240px;max-width:320px;display:flex;flex-direction:column;gap:12px;cursor:default; clear:both}
.chat-card-training.sent{float:right;border-right:5px solid var(--brand-primary);border-left:none}
.chat-card-training.received{float:left}
.chat-card-header{display:flex;align-items:center;justify-content:space-between}
.chat-card-type{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px}
.chat-card-date{font-size:11px;color:var(--text-muted)}
.chat-card-title{font-size:15px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:6px}
.chat-card-metrics{display:grid;grid-template-columns:1fr;gap:8px}
.chat-card-metric{background:var(--bg-base);padding:10px 12px;border-radius:var(--radius-md);display:flex;flex-direction:column;gap:4px}
.chat-card-m-lbl{font-size:10px;color:var(--text-muted);text-transform:uppercase;font-weight:700;border-bottom:1px solid var(--border-subtle);padding-bottom:2px;margin-bottom:2px}
.chat-card-result-row{display:flex;justify-content:space-between;align-items:center}
.chat-card-result-label{font-size:11px;color:var(--text-secondary);font-weight:600}
.chat-card-result-val{font-family:var(--font-mono);font-size:15px;font-weight:800;color:var(--brand-primary)}
.chat-card-meta-row{display:flex;justify-content:space-between;align-items:center;opacity:0.7;border-top:1px dashed var(--border-subtle);padding-top:4px}
.chat-card-meta-label{font-size:10px;color:var(--text-muted)}
.chat-card-meta-val{font-family:var(--font-mono);font-size:12px;font-weight:600;color:var(--text-muted)}
.chat-card-footer{border-top:1px solid var(--border-subtle);padding-top:10px;margin-top:4px}
.chat-card-f-lbl{font-size:11px;font-weight:600;color:var(--text-muted);margin-bottom:4px;display:flex;align-items:center;gap:4px}
.chat-card-f-text{font-size:12px;color:var(--text-primary);font-style:italic;line-height:1.4}
.chat-card-preview{padding:12px 20px;background:var(--bg-base);border-top:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:10px;animation:slideUp 0.3s ease-out}
.chat-card-preview-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:var(--brand-primary)}
.btn-preview-cancel{color:var(--danger);background:transparent;border:none;cursor:pointer;font-size:12px}
.chat-card-training.tipo-leve{border-color:#4ADE80}.chat-card-training.tipo-leve .chat-card-type{color:#4ADE80}.chat-card-training.tipo-forte{border-color:#FCD34D}.chat-card-training.tipo-forte .chat-card-type{color:#FCD34D}.chat-card-training.tipo-longo{border-color:#60A5FA}.chat-card-training.tipo-longo .chat-card-type{color:#60A5FA}.chat-card-training.tipo-tiro{border-color:#F87171}.chat-card-training.tipo-tiro .chat-card-type{color:#F87171}@keyframes slideUp{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.chat-bubble .time{font-size:10px;opacity:.6;margin-top:4px;text-align:right}.chat-audio{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--radius-lg);max-width:70%;background:var(--bg-hover); clear:both; margin-bottom:12px}.chat-audio.sent{float:right; background:var(--brand-primary); color:#fff}.chat-audio.received{float:left; background:var(--bg-hover); color:var(--text-primary)}.chat-audio .audio-bar{flex:1;height:4px;background:var(--border-medium);border-radius:2px;position:relative;min-width:120px}.chat-audio.sent .audio-bar{background:rgba(255,255,255,0.2)}.chat-audio.sent .audio-progress{background:#fff !important} .chat-audio .audio-bar::after{content:'';position:absolute;left:0;top:0;width:40%;height:100%;background:var(--brand-medium);border-radius:2px}.chat-audio .audio-dur{font-size:11px;color:var(--text-muted);font-family:var(--font-mono)}.chat-input-bar{padding:12px 20px;border-top:1px solid var(--border-subtle);display:flex;align-items:center;gap:10px;background:var(--bg-card)}.chat-input-bar textarea{flex:1;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:18px;padding:10px 16px;color:var(--text-primary);font-size:14px;font-family:var(--font-sans);outline:none;resize:none;line-height:1.4;max-height:120px;overflow-y:auto}.chat-input-bar textarea:focus{border-color:var(--brand-primary)}.chat-input-bar button{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:background .15s}.chat-input-bar .btn-mic{background:transparent;color:var(--text-muted)}.chat-input-bar .btn-mic:hover{color:var(--brand-medium);background:var(--bg-hover)}.chat-input-bar .btn-send{background:var(--brand-primary);color:#fff}.chat-input-bar .btn-send:hover{background:#1E63F0}
.recording-hud {flex:1; display:none; align-items:center; gap:12px; background:var(--bg-card); animation: slideUp 0.15s ease-out; width:100%;}
.rec-indicator {width:10px; height:10px; background:var(--danger); border-radius:50%; animation: recPulse 1s infinite;}
.rec-time {font-family:var(--font-mono); font-size:14px; font-weight:600; color:var(--danger); flex:1;}
.rec-actions {display:flex; gap:8px;}
.rec-actions button {width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:none; cursor:pointer; transition: transform 0.2s; background:transparent;}
.rec-actions button:hover {transform:scale(1.1);}
.btn-cancel-rec {color:var(--danger);}
.btn-send-rec {color:var(--success);}
@keyframes recPulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.financial-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-banner{width:100%;height:180px;background:linear-gradient(135deg,#0D1B3E 0%,var(--brand-primary) 50%,#1A3A6B 100%);border-radius:var(--radius-lg) var(--radius-lg) 0 0;position:relative}.profile-banner::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--brand-gold),transparent)}.profile-avatar-wrap{position:absolute;bottom:-40px;left:24px}.profile-avatar-wrap .avatar-96{border:4px solid var(--bg-card)}.profile-info{padding:52px 24px 20px;background:var(--bg-card);border:1px solid var(--border-subtle);border-top:none;border-radius:0 0 var(--radius-lg) var(--radius-lg);margin-bottom:24px}.profile-name{font-size:22px;font-weight:700;color:var(--text-primary)}.profile-email{font-size:13px;color:var(--text-muted)}.profile-bio{font-size:14px;color:var(--text-secondary);margin-top:8px}.ficha-banner{width:100%;height:120px;background:linear-gradient(135deg,#0D1B3E,var(--brand-primary),#1A3A6B);border-radius:var(--radius-lg) var(--radius-lg) 0 0}.ficha-avatar-wrap{margin-top:-32px;margin-left:20px;display:inline-block}.ficha-avatar-wrap .avatar-64{border:3px solid var(--bg-card)}.ficha-body{background:var(--bg-card);border:1px solid var(--border-subtle);border-top:none;border-radius:0 0 var(--radius-lg) var(--radius-lg);padding:0 20px 20px}.ficha-name{font-size:18px;font-weight:700;color:var(--text-primary);margin-top:8px}.ficha-obj{font-size:13px;color:var(--text-muted)}.chart-container{position:relative;height:260px}.chart-container-sm{position:relative;height:180px}
/* Social Feed */
.feed-composer{padding:16px 20px;display:flex;gap:12px;align-items:flex-start}.feed-composer textarea{flex:1;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:12px 16px;color:var(--text-primary);font-size:14px;font-family:var(--font-sans);resize:none;min-height:60px;outline:none;transition:border-color .15s}.feed-composer textarea:focus{border-color:var(--brand-primary)}.feed-composer textarea::placeholder{color:var(--text-muted)}
.feed-composer-actions{display:flex;align-items:center;justify-content:space-between;padding:0 20px 16px 64px}.feed-attach{display:flex;gap:4px}.feed-attach button{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:6px;border-radius:var(--radius-sm);transition:all .15s}.feed-attach button:hover{color:var(--brand-medium);background:var(--bg-hover)}
.frame-selector-container{display:flex;gap:8px;align-items:center;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.frame-selector-container::-webkit-scrollbar{display:none}.frame-option{padding:4px 12px;font-size:11px;font-weight:600;border-radius:6px;border:1px solid var(--border-medium);background:var(--bg-base);color:var(--text-secondary);cursor:pointer;transition:all .2s}.frame-option:hover{border-color:var(--brand-medium);color:var(--text-primary)}.frame-option.active{background:linear-gradient(135deg, var(--brand-primary), #3B82F6);border-color:transparent;color:#fff;box-shadow:0 2px 8px rgba(26,86,219,.3)}
.feed-tabs{display:flex;gap:0;border-bottom:1px solid var(--border-subtle);margin-bottom:16px}.feed-tab{padding:10px 20px;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;border:none;background:none;border-bottom:2px solid transparent;font-family:var(--font-sans);transition:color .15s}.feed-tab:hover{color:var(--text-primary)}.feed-tab.active{color:var(--brand-medium);border-bottom-color:var(--brand-primary)}
.post-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.post-header-info{flex:1}.post-author{font-size:13px;font-weight:600;color:var(--text-primary)}.post-author-tag{font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px;margin-left:6px}.tag-coach{background:rgba(26,86,219,.15);color:var(--brand-medium)}.tag-atleta{background:var(--success-bg);color:var(--success)}.tag-strava{background:rgba(255,107,53,.12);color:var(--brand-strava)}.post-time{font-size:12px;color:var(--text-muted)}.post-menu{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:8px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;transition:all .15s}.post-menu:hover{color:var(--text-primary);background:var(--bg-hover);transform:scale(1.1)}
.post-menu i, .post-menu svg { pointer-events: none; }
.post-body{font-size:14px;line-height:1.6;margin-bottom:12px}.post-body p{margin-bottom:8px}.post-body p:last-child{margin-bottom:0}
.post-photo{width:100%;border-radius:var(--radius-md);overflow:hidden;margin-bottom:12px;background:var(--bg-base);position:relative}.post-photo img{width:100%;display:block}.post-photo-placeholder{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(26,86,219,.2),rgba(74,222,128,.15));font-size:13px;color:var(--text-muted)}
.post-reactions{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);margin:8px 0}.post-reactions-count{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted)}.post-reactions-count .emoji-stack{display:flex}.post-reactions-count .emoji-stack span{font-size:14px;margin-right:-2px}.post-reactions-summary{font-size:12px;color:var(--text-muted);cursor:pointer}.post-reactions-summary:hover{text-decoration:underline}
.post-actions{display:flex;align-items:center;gap:4px;padding:4px 0}.post-action-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:var(--radius-md);font-size:13px;font-weight:500;color:var(--text-muted);cursor:pointer;background:none;border:none;font-family:var(--font-sans);transition:all .15s;flex:1;justify-content:center}.post-action-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.post-action-btn.liked{color:var(--danger)}.post-action-btn.liked i{stroke:var(--danger);transition:all 0.2s;filter:drop-shadow(0 0 2px rgba(248,113,113,0.4))}.post-action-btn i{width:18px;height:18px;transition:all 0.2s}
.post-comments{padding-top:8px}.comment{display:flex;gap:10px;padding:8px 0}.comment .comment-body{flex:1;background:var(--bg-base);border-radius:var(--radius-lg);padding:10px 14px}.comment .comment-author{font-size:12px;font-weight:600;color:var(--text-primary)}.comment .comment-text{font-size:13px;line-height:1.5;color:var(--text-secondary)}.comment-meta{display:flex;gap:12px;padding:2px 14px;font-size:11px;color:var(--text-muted)}.comment-meta span{cursor:pointer}.comment-meta span:hover{color:var(--text-primary);text-decoration:underline}
.comment-input{display:flex;gap:10px;align-items:center;padding-top:8px;border-top:1px solid var(--border-subtle);margin-top:4px}.comment-input input{flex:1;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:24px;padding:8px 16px;color:var(--text-primary);font-size:13px;font-family:var(--font-sans);outline:none}.comment-input input:focus{border-color:var(--brand-primary)}.comment-input input::placeholder{color:var(--text-muted)}.comment-input button{background:none;border:none;color:var(--brand-medium);cursor:pointer;padding:4px}.comment-input button:hover{color:var(--brand-primary)}
/* Admin dropdown */
.post-menu-wrap{position:relative}.admin-dropdown{display:none;position:absolute;right:0;top:100%;margin-top:6px;background:var(--bg-card);border:1px solid var(--border-medium);border-radius:var(--radius-md);min-width:200px;padding:6px;z-index:50;box-shadow:0 12px 32px rgba(0,0,0,.4), var(--shadow-glow);backdrop-filter:blur(10px);animation:notifSlideIn .2s ease}.admin-dropdown.open{display:block}.admin-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;font-size:13px;font-weight:500;font-family:var(--font-sans);border:none;background:none;color:var(--text-primary);cursor:pointer;border-radius:var(--radius-sm);transition:all .15s;text-align:left}.admin-dropdown button:hover{background:var(--bg-hover);padding-left:18px}.admin-dropdown button i, .admin-dropdown button svg{width:16px;height:16px;flex-shrink:0;pointer-events:none}.admin-dropdown .danger{color:var(--danger)}.admin-dropdown .danger:hover{background:var(--danger-bg);color:var(--danger)}.admin-dropdown .sep{height:1px;background:var(--border-subtle);margin:4px 0}
.conquistas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.conquista-card{text-align:center;padding:24px 16px}.conquista-card .icon{font-size:48px;margin-bottom:10px}.conquista-card .title{font-size:14px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.conquista-card .desc{font-size:12px;color:var(--text-muted)}.conquista-card .date{font-size:11px;color:var(--text-muted);margin-top:8px}.conquista-card:not(.locked){border:1px solid var(--border-gold);box-shadow:var(--shadow-gold)}.conquista-card:not(.locked):hover{border-color:var(--brand-gold);box-shadow:0 0 20px rgba(201,168,76,0.12)}.conquista-card.locked{opacity:.4;filter:grayscale(1)}.conquista-card.locked .title{color:var(--text-muted)}
  /* MOBILE OPTIMIZATIONS (Premium & Dense) */
  @media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); transition: transform 0.25s ease; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .main-area { margin-left: 0; }
    .topbar-hamburger { display: none !important; } /* Hide hamburger on mobile as requested */
    .bottom-nav { display: flex; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
    .content { 
      padding: 12px; 
      padding-bottom: calc(80px + env(safe-area-inset-bottom)); 
    }
    
    /* Layout Density */
    .kpi-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .grid-2 { grid-template-columns: 1fr; gap: 12px; }
    
    /* Chat Mobile */
    .chat-layout { 
      height: calc(100dvh - var(--topbar-height) - 64px - env(safe-area-inset-bottom));
      margin: -12px;
      display: flex;
      flex-direction: column;
    }
    .chat-list { display: none; }
    .chat-main { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
    .chat-header { padding: 10px 16px; flex-shrink: 0; }
    .chat-messages { padding: 12px; flex: 1; overflow-y: auto; }
    .chat-bubble { max-width: 85% !important; font-size: 13px; }
    .chat-input-bar { 
      padding: 10px 12px; 
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    /* Profile / Settings Mobile */
    .profile-banner { height: 120px; }
    .profile-avatar-wrap { bottom: -30px; left: 50%; transform: translateX(-50%); }
    .profile-avatar-wrap .avatar-96 { width: 80px; height: 80px; font-size: 24px; border-width: 3px; }
    .profile-info { padding: 40px 16px 16px; text-align: center; }
    .profile-name { font-size: 18px; }
    .profile-bio { font-size: 13px; margin-top: 4px; }
    
    .tabs { gap: 4px; overflow-x: auto; padding-bottom: 4px; justify-content: flex-start; }
    .tab { padding: 8px 12px; font-size: 12px; white-space: nowrap; }

    /* Timeline Mobile */
    .timeline-feed { gap: 12px; }
    .timeline-card { padding: 16px; }
    .timeline-metrics { gap: 12px; }
    .timeline-metric-value { font-size: 16px; }
    .timeline-card-title { font-size: 15px; }
    .feed-composer { padding: 12px; }
    .feed-composer textarea { font-size: 13px; }

    /* Coach Dashboard Home Refinements */
    .home-welcome-title { font-size: 20px; }
    .home-alerts-row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
    .home-alert-card { padding: 10px; gap: 10px; }
    .home-alert-icon { width: 34px; height: 34px; border-radius: 8px; }
    .home-alert-name { font-size: 13px; }
    .home-alert-msg { font-size: 11px; }

    .home-athletes-grid { grid-template-columns: 1fr; gap: 10px; }
    .home-athlete-card { padding: 12px; border-radius: 12px; }
    .home-athlete-top { gap: 10px; }
    .home-athlete-top .avatar-48 { width: 40px; height: 40px; font-size: 14px; }
    .home-athlete-name { font-size: 14px; }

    /* Gestão de Treino Refinements */
    .gt-page-header { margin-bottom: 16px; }
    .gt-page-header-left h2 { font-size: 18px; }
    .gt-athlete-search { padding: 6px 12px; }
    
    .gt-kpi-card { padding: 12px; }
    .gt-kpi-val { font-size: 20px; }
    
    .gt-week-nav { gap: 8px; overflow-x: auto; padding-bottom: 8px; }
    .gt-day-chip { min-width: 80px; padding: 10px 4px; }
    .gt-day-name { font-size: 10px; }
    .gt-day-date { font-size: 14px; }

    .gt-editor-card { padding: 16px; border-radius: 16px; }
    .gt-editor-header h3 { font-size: 15px; }
    
    .gt-action-bar { 
      flex-direction: column; 
      gap: 10px; 
      padding: 12px; 
      position: sticky; 
      bottom: calc(70px + env(safe-area-inset-bottom)); 
      background: var(--bg-card);
      border-top: 1px solid var(--border-subtle);
      margin: 0 -12px -12px;
      z-index: 100;
    }
    .gt-action-bar .btn { width: 100%; }

    /* Tables */
    .table-wrap { margin: 0 -12px; }
    table { min-width: 500px; }
    
    /* Coach Dashboard Home */
    .gt-main-grid { grid-template-columns: 1fr !important; }
    .gt-widgets-grid { grid-template-columns: 1fr !important; }
    .gt-widgets-grid > .card.span-2 { grid-column: auto !important; }
    .gt-kpi-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .gt-week-cal { grid-template-columns: repeat(4, 1fr) !important; }
    .gt-editor-row, .gt-editor-row-3 { grid-template-columns: 1fr !important; }
    .gt-feedback-grid, .gt-tech-grid { grid-template-columns: 1fr !important; }
    .gt-page-header-top { flex-direction: column; }
    .gt-athlete-search { min-width: 100% !important; }
  }
@media(max-width:480px){.kpi-row{grid-template-columns:1fr}.conquistas-grid{grid-template-columns:1fr}.gt-kpi-grid{grid-template-columns:1fr 1fr!important}.gt-week-cal{grid-template-columns:repeat(3,1fr)!important}}
/* ===== GESTAO DE TREINO STYLES ===== */
.gt-page-header{margin-bottom:24px}.gt-page-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.gt-page-header-left h2{font-size:22px;font-weight:800;color:var(--text-primary);font-family:var(--font-display);letter-spacing:.5px}.gt-page-header-left p{font-size:13px;color:var(--text-muted);margin-top:2px}.gt-page-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gt-page-header-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gt-athlete-search{display:flex;align-items:center;gap:10px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:8px 14px;min-width:280px;transition:border-color .2s}.gt-athlete-search:focus-within{border-color:var(--brand-primary)}.gt-athlete-search i{color:var(--text-muted);width:18px;height:18px;flex-shrink:0}.gt-athlete-search select{flex:1;background:none;border:none;color:var(--text-primary);font-size:13px;font-family:var(--font-sans);outline:none;cursor:pointer;appearance:none}.gt-athlete-search select option{background:var(--bg-card);color:var(--text-primary)}
.gt-filter-pill{padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid var(--border-subtle);background:transparent;color:var(--text-muted);font-family:var(--font-sans);transition:all .15s;display:flex;align-items:center;gap:5px}.gt-filter-pill:hover{border-color:var(--border-medium);color:var(--text-primary)}.gt-filter-pill.active{border-color:var(--brand-primary);background:rgba(26,86,219,.1);color:var(--brand-medium)}.gt-filter-pill .dot{width:8px;height:8px;border-radius:50%}.gt-dot-ativo{background:var(--success)}.gt-dot-atencao{background:var(--warning)}.gt-dot-lesionado{background:var(--danger)}.gt-dot-inad{background:#C084FC}
.gt-athlete-summary{margin-bottom:4px;animation:gtFadeIn .3s ease}
.gt-profile-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:8px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);position:relative;overflow:hidden}.gt-profile-bar::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--brand-primary),var(--brand-gold),var(--brand-primary))}.gt-profile-info{flex:1;min-width:0}.gt-profile-info h3{font-size:14px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:4px;flex-wrap:wrap}.gt-profile-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px;font-size:10px;color:var(--text-muted)}.gt-profile-meta span{display:flex;align-items:center;gap:2px}.gt-profile-meta i{width:11px;height:11px}
.gt-kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px}.gt-kpi-mini{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:14px 16px;text-align:center;transition:border-color .2s}.gt-kpi-mini:hover{border-color:var(--border-medium)}.gt-kpi-mini-val{font-family:var(--font-mono);font-size:22px;font-weight:700;color:var(--text-primary);line-height:1}.gt-kpi-mini-lbl{font-size:11px;color:var(--text-muted);margin-top:4px;text-transform:uppercase;letter-spacing:.3px}.gt-kpi-mini-sub{font-size:11px;margin-top:2px;font-weight:600}
.gt-alert-badges{display:flex;gap:8px;flex-wrap:wrap}.gt-alert-badge{display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:var(--radius-md);font-size:12px;font-weight:600;animation:gtPulse 2s ease-in-out infinite alternate}.gt-alert-badge i{width:14px;height:14px}.gt-ab-danger{background:var(--danger-bg);color:var(--danger);border:1px solid rgba(248,113,113,.3)}.gt-ab-warning{background:var(--warning-bg);color:var(--warning);border:1px solid rgba(252,211,77,.3)}.gt-ab-info{background:rgba(96,165,250,.1);color:var(--brand-medium);border:1px solid rgba(96,165,250,.3)}@keyframes gtPulse{from{opacity:.85}to{opacity:1}}

/* Mini KPIs no Perfil */
.gt-profile-mini-kpis{display:flex;gap:12px;flex-wrap:wrap}.gt-mini-kpi{background:rgba(255,255,255,0.03);border:1px solid var(--border-subtle);border-radius:8px;padding:8px 12px;text-align:center;min-width:80px;transition:all .2s}.gt-mini-kpi:hover{border-color:var(--brand-medium);background:rgba(26,86,219,0.05)}.gt-mini-kpi-val{font-family:var(--font-mono);font-size:15px;font-weight:700;color:var(--text-primary);line-height:1}.gt-mini-kpi-lbl{font-size:9px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-top:2px}.gt-mini-kpi-sub{font-size:9px;font-weight:600;margin-top:2px}
.gt-main-grid{display:flex;flex-direction:column;gap:20px;align-items:stretch}.gt-column{display:flex;flex-direction:column;gap:20px;width:100%}.gt-widgets-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;align-items:stretch}.gt-widgets-grid > .card{height:320px;display:flex;flex-direction:column}.gt-widgets-grid > .card > :last-child{flex:1;overflow-y:auto;min-height:0}.gt-widgets-grid > .card.span-2{grid-column:span 2}
.gt-alert-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:var(--radius-md);margin-bottom:8px;font-size:13px;line-height:1.4}.gt-alert-item:last-child{margin-bottom:0}.gt-alert-item i{width:16px;height:16px;flex-shrink:0;margin-top:2px}.gt-ai-danger{background:var(--danger-bg);color:var(--danger)}.gt-ai-warning{background:var(--warning-bg);color:var(--warning)}.gt-ai-info{background:rgba(96,165,250,.08);color:var(--brand-medium)}
.gt-hist-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-subtle);font-size:13px}.gt-hist-item:last-child{border-bottom:none}.gt-hist-date{width:60px;font-size:12px;color:var(--text-muted);flex-shrink:0}.gt-hist-type{width:100px;font-weight:600;flex-shrink:0}.gt-hist-metrics{display:flex;gap:14px;flex:1;font-family:var(--font-mono);font-size:12px;color:var(--text-secondary)}.gt-hist-rpe{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.gt-rpe-low{background:var(--success-bg);color:var(--success)}.gt-rpe-med{background:var(--warning-bg);color:var(--warning)}.gt-rpe-high{background:var(--danger-bg);color:var(--danger)}.gt-status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.gt-st-done{background:var(--success)}.gt-st-partial{background:var(--warning)}.gt-st-missed{background:var(--danger)}
.gt-chart-container{position:relative;flex:1;min-height:0}.gt-chart-tabs{display:flex;gap:0;margin-bottom:8px}.gt-chart-tab{padding:6px 14px;font-size:12px;font-weight:600;color:var(--text-muted);cursor:pointer;border:none;background:none;font-family:var(--font-sans);border-bottom:2px solid transparent;transition:all .15s}.gt-chart-tab:hover{color:var(--text-primary)}.gt-chart-tab.active{color:var(--brand-medium);border-bottom-color:var(--brand-primary)}
.gt-fb-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gt-fb-item{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--bg-base);border-radius:var(--radius-md)}.gt-fb-lbl{font-size:12px;color:var(--text-muted);width:70px;flex-shrink:0}.gt-fb-bar{flex:1;height:6px;background:var(--border-subtle);border-radius:3px;overflow:hidden}.gt-fb-fill{height:100%;border-radius:3px;transition:width .3s}.gt-fb-val{font-family:var(--font-mono);font-size:12px;font-weight:600;width:30px;text-align:right;flex-shrink:0}.gt-fb-comment{grid-column:1/-1;padding:12px 14px;background:var(--bg-base);border-left:3px solid var(--brand-primary);border-radius:0 var(--radius-md) var(--radius-md) 0;font-size:13px;color:var(--text-secondary);font-style:italic}
.gt-tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gt-tech-item{padding:10px 14px;background:var(--bg-base);border-radius:var(--radius-md)}.gt-tech-lbl{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px}.gt-tech-val{font-size:13px;font-weight:600;color:var(--text-primary)}
.gt-week-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:8px}.gt-week-day{background:var(--bg-base);border:2px solid var(--border-subtle);border-radius:var(--radius-md);padding:4px;text-align:center;cursor:pointer;transition:all .2s;min-height:55px;display:flex;flex-direction:column;position:relative}.gt-week-day:hover{border-color:var(--border-medium);background:var(--bg-hover)}.gt-week-day.active{border-color:var(--brand-primary);background:var(--bg-active);box-shadow:0 0 10px rgba(26,86,219,.1)}.gt-wd-label{font-size:9px;font-weight:600;color:var(--text-muted);text-transform:uppercase;margin-bottom:1px}.gt-wd-date{font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--text-primary);margin-bottom:2px}.gt-wd-type{font-size:8px;font-weight:600;line-height:1.1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gt-wd-dist{font-family:var(--font-mono);font-size:10px;font-weight:700;color:var(--text-primary);margin-top:auto}.gt-wd-rest{color:var(--text-muted);font-size:9px;margin-top:auto}
.gt-type-rodagem{color:#4ADE80}.gt-type-intervalado{color:#FCD34D}.gt-type-longo{color:#60A5FA}.gt-type-fartlek{color:#A78BFA}.gt-type-tempo{color:#F97316}.gt-type-tiro{color:#F87171}.gt-type-regenerativo{color:#6B7DB8}.gt-type-fortalecimento{color:#14B8A6}.gt-type-mobilidade{color:#EC4899}.gt-type-descanso{color:var(--text-muted)}
.gt-editor-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gt-editor-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.gt-editor-section{border-top:1px solid var(--border-subtle);padding-top:10px;margin-top:10px}
.gt-quick-actions{display:flex;flex-wrap:wrap;gap:8px}.gt-qa-btn{padding:8px 14px;border-radius:var(--radius-md);font-size:13px;font-weight:600;cursor:pointer;border:1px solid var(--border-subtle);background:var(--bg-base);color:var(--text-secondary);font-family:var(--font-sans);transition:all .15s;display:flex;align-items:center;gap:6px}.gt-qa-btn:hover{border-color:var(--brand-medium);color:var(--brand-medium);background:var(--bg-hover)}.gt-qa-btn i{width:14px;height:14px}.gt-qa-btn.danger{color:var(--danger)}.gt-qa-btn.danger:hover{border-color:var(--danger);background:var(--danger-bg)}
.gt-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:12px;border-top:1px solid var(--border-subtle);margin-top:12px}
.gt-change-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-subtle);font-size:13px}.gt-change-item:last-child{border-bottom:none}.gt-change-time{width:130px;font-size:12px;color:var(--text-muted);flex-shrink:0;font-family:var(--font-mono)}.gt-change-action{flex:1;color:var(--text-secondary)}.gt-change-action strong{color:var(--text-primary)}
.gt-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.gt-section-title{font-size:16px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:8px}.gt-section-title i{width:18px;height:18px;color:var(--brand-medium)}
.gt-badge-atencao{background:var(--warning-bg);color:var(--warning);border-color:var(--warning)}.gt-badge-inadimplente{background:rgba(168,85,247,.12);color:#C084FC;border-color:#C084FC}
.badge-select{background:var(--bg-elevated);border:1px solid var(--border-medium);border-radius:20px;padding:2px 28px 2px 10px;font-size:11px;font-weight:600;color:inherit;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23556B9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;transition:all .15s;font-family:var(--font-sans);line-height:1.2}.badge-select:hover{border-color:var(--brand-medium);box-shadow:0 0 10px rgba(26,86,219,0.1)}.badge-select option{background:var(--bg-card);color:var(--text-primary)}
.tr-clickable{cursor:pointer}
.td-actions{position:relative}

/* Painel de Gestão - Aumento de Proporção das Letras */
#gtMainPanel .form-label {
    font-size: 13px;
    margin-bottom: 4px;
}
#gtMainPanel .form-input, 
#gtMainPanel .form-select, 
#gtMainPanel .form-textarea {
    font-size: 15px;
    padding: 10px 14px;
}
#gtMainPanel .gt-section-title {
    font-size: 15px;
}
#gtMainPanel .btn-sm {
    font-size: 13px;
    padding: 8px 16px;
}
#gtMainPanel .gt-qa-btn {
    font-size: 13px;
    padding: 10px 16px;
}
#gtMainPanel .week-nav-title, #gtWeekTitle {
    font-size: 14px;
}

/* ===== INTELLIGENT MONTHLY CALENDAR STYLES ===== */
.calendar-top-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
@media (max-width: 768px) {
  .calendar-top-bar { flex-direction: column; gap: 12px; align-items: stretch; }
  .gt-athlete-search { width: 100%; }
  .gt-athlete-search select { width: 100%; }
}
.calendar-nav { display: flex; align-items: center; gap: 16px; background: var(--bg-card); padding: 4px 12px; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
@media (max-width: 480px) { .calendar-nav { justify-content: space-between; } }
.calendar-nav h2 { font-size: 16px; font-weight: 700; color: var(--text-primary); min-width: 120px; text-align: center; }
.calendar-nav .nav-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 6px; border-radius: 50%; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.calendar-nav .nav-btn:hover { background: var(--bg-hover); color: var(--brand-medium); }
.calendar-nav .nav-btn svg { width: 18px; height: 18px; }

.athlete-calendar-header { display: grid; grid-template-columns: 1.5fr 1fr 2fr; align-items: center; gap: 24px; background: linear-gradient(135deg, rgba(26,86,219,0.08), rgba(201,168,76,0.05)); border: 1px solid var(--border-medium); border-radius: var(--radius-xl); padding: 20px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
@media (max-width: 1024px) { .athlete-calendar-header { grid-template-columns: 1fr 1fr; } .ach-stats-grid { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 768px) { 
  .athlete-calendar-header { grid-template-columns: 1fr; gap: 16px; padding: 16px; } 
  .ach-profile { flex-direction: column; text-align: center; }
  .ach-status { justify-content: center; }
}
.athlete-calendar-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-primary), var(--brand-gold), var(--brand-primary)); }
.ach-profile { display: flex; align-items: center; gap: 16px; }
.ach-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; border: 3px solid var(--bg-card); box-shadow: var(--shadow-md); overflow: hidden; }
.ach-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ach-info h3 { font-size: 18px; font-weight: 800; color: var(--text-primary); margin-bottom: 2px; }
.ach-info p { font-size: 13px; color: var(--text-muted); }
.ach-status { display: flex; justify-content: center; }
.ach-status-badge { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid; }
.ach-status-evoluindo { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.ach-status-irregular { background: var(--warning-bg); color: var(--warning); border-color: var(--warning); }
.ach-status-parado { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.ach-status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.ach-stats-grid { display: flex; justify-content: flex-end; gap: 24px; }
@media (max-width: 480px) { .ach-stats-grid { justify-content: space-between; gap: 12px; } }
.ach-stat { display: flex; flex-direction: column; text-align: right; }
@media (max-width: 768px) { .ach-stat { text-align: center; flex: 1; } }
.ach-stat .val { font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.ach-stat .lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.smart-calendar-container { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.calendar-grid { width: 100%; display: flex; flex-direction: column; }
.calendar-header-row { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--bg-sidebar); border-bottom: 1px solid var(--border-subtle); }
@media (max-width: 768px) { .calendar-header-row { display: none; } }
.calendar-header-row div { padding: 12px; text-align: center; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; pointer-events: none; }
.calendar-body { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: minmax(110px, auto); }
@media (max-width: 768px) { .calendar-body { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.cal-day { border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 8px; position: relative; transition: all 0.2s; cursor: pointer; min-width: 0; }
@media (max-width: 768px) { 
  .cal-day { border-right: none; padding: 12px 16px; display: flex; gap: 16px; align-items: flex-start; } 
  .cal-day.other-month { display: none; }
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day:hover { background: var(--bg-hover); }
.cal-day.today { background: rgba(26, 86, 219, 0.04); }
.cal-day.today::after { content: 'HOJE'; position: absolute; top: 8px; right: 8px; font-size: 8px; font-weight: 900; color: var(--brand-medium); letter-spacing: 1px; }
@media (max-width: 768px) { .cal-day.today::after { top: 12px; right: 16px; } }
.cal-day.other-month { opacity: 0.3; pointer-events: none; }

.day-num-wrapper { display: flex; flex-direction: column; align-items: center; min-width: 32px; flex-shrink: 0; }
.day-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; display: block; }
@media (max-width: 768px) { 
  .day-num { font-size: 16px; margin-bottom: 0; color: var(--text-primary); } 
  .day-name-mobile { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
}
.day-name-mobile { display: none; }

.day-content-mobile { flex: 1; }
.day-card { background: var(--bg-elevated); border-left: 3px solid transparent; border-radius: 6px; padding: 6px 8px; margin-bottom: 4px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; transition: transform 0.2s; }
@media (max-width: 768px) { .day-card { padding: 10px 12px; } }
.cal-day:hover .day-card { transform: scale(1.02); }
.day-card .tp { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
@media (max-width: 768px) { .day-card .tp { font-size: 11px; } }
.day-card .summary { font-size: 11px; font-weight: 700; color: var(--text-primary); margin-top: 2px; font-family: var(--font-mono); }
@media (max-width: 768px) { .day-card .summary { font-size: 14px; } }
.day-card .meta { font-size: 9px; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
@media (max-width: 768px) { .day-card .meta { font-size: 11px; margin-top: 4px; } }

/* Status Colors */
.day-card.s-done { border-left-color: var(--success); }
.day-card.s-partial { border-left-color: var(--warning); }
.day-card.s-missed { border-left-color: var(--danger); }
.day-card.s-future { border-left-color: var(--text-muted); }
.day-card.s-rest { border-left-color: var(--brand-medium); opacity: 0.6; background: rgba(255,255,255,0.02); }

.cal-day.past { background: rgba(0,0,0,0.02); }
.cal-day.future { background: rgba(255,255,255,0.01); }

.weekly-volume-summary { padding: 16px 24px; background: var(--bg-sidebar); border-top: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 10px; }
.w-vol-row { display: flex; align-items: center; gap: 16px; }
.w-vol-lbl { font-size: 11px; font-weight: 700; color: var(--text-muted); width: 45px; flex-shrink: 0; }
.w-vol-bar-bg { flex: 1; height: 6px; background: var(--bg-base); border-radius: 3px; position: relative; overflow: hidden; border: 1px solid var(--border-subtle); }
.w-vol-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand-primary), var(--success)); transition: width 1s ease; }
.w-vol-val { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-secondary); width: 80px; text-align: right; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-medium);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1200;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  right: 0;
}

/* Drawer Styles Redesign */
.drawer-header { padding: 24px; border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: flex-start; flex-shrink: 0; }
.drawer-date { font-size: 12px; color: var(--brand-medium); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.drawer-title { font-size: 20px; font-weight: 800; color: var(--text-primary); font-family: var(--font-display); }
.drawer-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 6px; border-radius: 50%; transition: all 0.2s; }
.drawer-close:hover { background: var(--bg-hover); color: var(--text-primary); }

.drawer-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; }
.drawer-body::-webkit-scrollbar { width: 6px; }
.drawer-body::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }


.drawer-status-strip { display: flex; gap: 10px; padding: 0 24px; margin-top: 16px; }
#drawer-status-pill { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; background: var(--bg-elevated); border: 1px solid var(--border-medium); }
#drawer-tag-pill { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; color: var(--brand-medium); }

.drawer-card { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; transition: border-color 0.2s; }
.drawer-card:hover { border-color: var(--border-medium); }
.dcard-header { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); }
.dcard-header i { width: 14px; height: 14px; color: var(--brand-medium); }
.dcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ditem { display: flex; flex-direction: column; gap: 2px; }
.ditem .lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.ditem .val { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text-primary); }
.ditem .val-text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.ditem.full { grid-column: 1 / -1; }
.dcard-footer-notes { margin-top: 12px; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 6px; font-size: 12px; color: var(--text-muted); border-left: 2px solid var(--brand-gold); }

.drawer-card.real { border-left: 3px solid var(--brand-strava); }
.drawer-card.feedback { border-left: 3px solid var(--success); }

.feedback-metrics { display: flex; flex-direction: column; gap: 12px; }
.f-metric { display: flex; align-items: center; gap: 10px; }
.f-lbl { font-size: 11px; color: var(--text-muted); width: 80px; }
.f-bar { flex: 1; height: 6px; background: var(--bg-base); border-radius: 3px; overflow: hidden; border: 1px solid var(--border-subtle); }
.f-fill { height: 100%; background: var(--success); border-radius: 3px; }
.f-val { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-primary); width: 40px; text-align: right; }

.drawer-actions-footer { padding: 24px; border-top: 1px solid var(--border-subtle); margin-top: auto; flex-shrink: 0; }

.italic { font-style: italic; }

/* Hover Preview Tooltip */
.month-day-card { position: relative; }
.month-day-card::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-10px); background: var(--bg-elevated); color: var(--text-primary); padding: 8px 12px; border-radius: 8px; font-size: 11px; white-space: pre; z-index: 100; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border: 1px solid var(--border-medium); opacity: 0; pointer-events: none; transition: all 0.2s; visibility: hidden; width: max-content; }
.month-day-card:hover::after { opacity: 1; transform: translateX(-50%) translateY(-5px); visibility: visible; }

@media (max-width: 500px) {
  .drawer { width: 100%; right: -100%; }
}

/* ===== RANKINGS STYLES ===== */
.ranking-card {
  padding: 0;
  overflow: hidden;
  /* Remover background border etc pra ver se fica melhor somento o podio solto, mas o plano pedia no card. Vou manter o card mas sem padding interno excessivo nas laterais */
}

.ranking-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
}

/* ===== PODIUM REDESIGN ===== */
.podium-container {
  padding: 24px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  background: radial-gradient(circle at bottom, rgba(26, 86, 219, 0.04) 0%, transparent 70%);
}

.podium-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 100px;
  animation: podiumPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.podium-item:nth-child(1) { animation-delay: 0.1s; } /* 2Âº */
.podium-item:nth-child(2) { animation-delay: 0s; }   /* 1Âº */
.podium-item:nth-child(3) { animation-delay: 0.2s; } /* 3Âº */
.podium-item:nth-child(4) { animation-delay: 0.3s; } /* 4Âº */

@keyframes podiumPop {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.podium-avatar-wrap {
  position: relative;
  margin-bottom: 8px;
  z-index: 2;
}

.podium-avatar {
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}

.podium-item:hover .podium-avatar {
  transform: scale(1.1) translateY(-4px);
}

.podium-medal {
  position: absolute;
  top: -10px;
  right: -6px;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.podium-info {
  text-align: center;
  margin-bottom: 8px;
  width: 100%;
}

.podium-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-value {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-medium);
}

.podium-base {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
  border-bottom: none;
}

.podium-number {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--font-display);
  opacity: 0.15;
  color: #fff;
}

/* Estilos por PosiÃ§Ã£o */
/* 1Âº Lugar */
.podium-1st .podium-base {
  height: 120px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border-top: 2px solid var(--brand-gold);
}
.podium-1st .podium-avatar { border-color: var(--brand-gold); width: 64px; height: 64px; font-size: 20px; }
.podium-1st .podium-value { color: var(--brand-gold); font-size: 13px; }

/* 2Âº Lugar */
.podium-2nd .podium-base {
  height: 85px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.05));
  border-top: 2px solid #94A3B8;
}
.podium-2nd .podium-avatar { border-color: #94A3B8; width: 48px; height: 48px; font-size: 16px; }

/* 3Âº Lugar */
.podium-3rd .podium-base {
  height: 60px;
  background: linear-gradient(to bottom, rgba(180, 83, 9, 0.15), rgba(180, 83, 9, 0.05));
  border-top: 2px solid #B45309;
}
.podium-3rd .podium-avatar { border-color: #B45309; width: 44px; height: 44px; font-size: 14px; }

/* 4Âº Lugar */
.podium-4th .podium-base {
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-top: 1px solid var(--border-subtle);
}
.podium-4th .podium-avatar { border-color: var(--border-subtle); width: 40px; height: 40px; font-size: 13px; }

/* Destaque "VocÃª" */
.podium-item.is-me .podium-avatar {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}
.podium-item.is-me .podium-name {
  color: var(--brand-medium);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MEU PLANO â€” Strava / NRC Premium Styles
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(26,86,219,.06), rgba(201,168,76,.04));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .mp-header {
    padding: 12px 14px;
    margin-bottom: 12px;
    flex-direction: row;
    align-items: center;
  }
}
.mp-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-gold), var(--brand-primary));
}
.mp-greeting {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
}
@media (max-width: 768px) { .mp-greeting { font-size: 18px; } }
.mp-greeting-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}
@media (max-width: 768px) { .mp-greeting-sub { font-size: 12px; } }
.mp-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}
.mp-start-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-sans);
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
  transition: all .2s;
  flex-shrink: 0;
  animation: mp-pulse-btn 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .mp-start-btn {
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}
.mp-start-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(34,197,94,.45);
}
@keyframes mp-pulse-btn {
  0%, 100% { box-shadow: 0 4px 20px rgba(34,197,94,.35); }
  50% { box-shadow: 0 4px 30px rgba(34,197,94,.55); }
}

/* â”€â”€ Today Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-today {
  background: var(--bg-card);
  border: 1px solid var(--tc-border, var(--border-subtle));
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .mp-today {
    padding: 12px 14px;
    margin-bottom: 12px;
  }
}
.mp-today::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--tc-border);
  border-radius: 5px 0 0 5px;
}
.mp-today:hover {
  border-color: var(--tc-border);
  box-shadow: var(--shadow-md), 0 0 30px var(--tc-bg);
  transform: translateY(-2px);
}
.mp-today-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mp-today-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.mp-done-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
  animation: mp-check-pop .4s cubic-bezier(.175,.885,.32,1.275);
}
.mp-pending-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.mp-rest-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(96,165,250,.1);
  color: #60a5fa;
  border: 1px solid rgba(96,165,250,.3);
}
.mp-today-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: 4px;
}
@media (max-width: 768px) { .mp-today-title { font-size: 17px; } }
.mp-today-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
}
@media (max-width: 768px) { .mp-today-desc { font-size: 13px; margin-bottom: 10px; } }
.mp-today-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 768px) { .mp-today-metrics { gap: 16px; } }
.mp-metric {
  display: flex;
  flex-direction: column;
}
.mp-metric-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
@media (max-width: 768px) { .mp-metric-val { font-size: 15px; } }
.mp-metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}
@media (max-width: 768px) { .mp-metric-lbl { font-size: 10px; } }
.mp-today-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: transform .2s, color .2s;
}
@media (max-width: 768px) { .mp-today-arrow { display: none; } }
.mp-today:hover .mp-today-arrow {
  transform: translateY(-50%) translateX(4px);
  color: var(--tc-border);
}

/* â”€â”€ Section Labels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
@media (max-width: 768px) { .mp-section-label { font-size: 11px; margin-bottom: 8px; } }

/* â”€â”€ Week Strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-week-strip-wrapper {
  margin-bottom: 28px;
  margin-left: -8px;
  margin-right: -8px;
  padding: 0 8px;
  overflow: hidden;
}
@media (max-width: 768px) { .mp-week-strip-wrapper { margin-bottom: 12px; } }
.mp-week-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
  scrollbar-width: none;
}
.mp-week-strip::-webkit-scrollbar { display: none; }

.mp-day-chip {
  flex: 0 0 auto;
  width: 110px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .mp-day-chip {
    width: 74px;
    padding: 10px 8px;
  }
}
.mp-day-chip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--chip-dot);
  opacity: 0;
  transition: opacity .2s;
}
.mp-day-chip:hover {
  border-color: var(--chip-border);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.mp-day-chip:hover::before { opacity: 1; }
.mp-day-current {
  border-color: var(--chip-border) !important;
  box-shadow: 0 0 20px var(--chip-bg), var(--shadow-md);
  background: var(--chip-bg);
}
.mp-day-current::before { opacity: 1; }
.mp-day-current::after {
  content: 'HOJE';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--chip-border);
  text-transform: uppercase;
}
.mp-day-done {
  opacity: .85;
}

.mp-day-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.mp-day-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.mp-day-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 6px;
}
.mp-day-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) { .mp-day-type { font-size: 10px; min-height: 20px; } }
.mp-day-dist {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
@media (max-width: 768px) { .mp-day-dist { font-size: 11px; } }
.mp-day-check {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--success);
  animation: mp-check-pop .4s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes mp-check-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* â”€â”€ Progress Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .mp-progress-card {
    padding: 12px 14px;
    margin-bottom: 12px;
  }
}
.mp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mp-progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.mp-progress-pct {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-medium);
}
.mp-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: var(--bg-base);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
}
.mp-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), #22c55e);
  border-radius: 5px;
  transition: width .8s cubic-bezier(.25,.46,.45,.94);
  position: relative;
}
.mp-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 20px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25));
  border-radius: 0 5px 5px 0;
  animation: mp-shimmer 1.5s ease-in-out infinite;
}
@keyframes mp-shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
.mp-progress-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .mp-progress-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}
.mp-prog-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .mp-prog-metric {
    padding: 8px;
    gap: 6px;
  }
}
.mp-prog-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(96,165,250,.12);
  color: var(--brand-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 768px) { .mp-prog-metric-icon { width: 28px; height: 28px; } }
.mp-prog-metric-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}
@media (max-width: 768px) { .mp-prog-metric-val { font-size: 12px; } }
.mp-prog-metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
}
@media (max-width: 768px) { .mp-prog-metric-lbl { font-size: 10px; } }

/* â”€â”€ Motivation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-motivation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(26,86,219,.06));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  animation: mp-fade-in .5s ease;
}
@media (max-width: 768px) { .mp-motivation { padding: 10px 14px; margin-bottom: 10px; } }
.mp-motivation-icon {
  font-size: 24px;
}
.mp-motivation-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
@media (max-width: 768px) { .mp-motivation-text { font-size: 13px; } }

/* â”€â”€ Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mp-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-gold);
  box-shadow: var(--shadow-gold);
}
@media (max-width: 768px) { .mp-badge { padding: 5px 10px; font-size: 11px; } }
.mp-badge span {
  font-size: 16px;
}

/* â”€â”€ Drawer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mp-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mp-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 90vh;
  background: var(--bg-card);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  z-index: 2001;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0,0,0,.4);
}
.mp-drawer.active {
  transform: translateY(0);
}
.mp-drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  margin: 12px auto 0;
}
.mp-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.mp-drawer-head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tc-border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.mp-drawer-head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mp-drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.mp-drawer-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.mp-drawer-day {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.mp-drawer-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin: 0 0 4px;
}
.mp-drawer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}
.mp-drawer-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mp-drawer-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mp-dm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.mp-dm-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}
.mp-dm-lbl {
  font-size: 11px;
  color: var(--text-muted);
}
.mp-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-drawer-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mp-drawer-section-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 10px 14px;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.mp-drawer-note {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 12px 14px;
  background: rgba(201,168,76,.05);
  border-left: 3px solid var(--brand-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  line-height: 1.5;
}

/* â”€â”€ Complete Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all .25s;
  margin-top: 8px;
}
.mp-complete-btn:hover {
  border-color: var(--success);
  background: var(--success-bg);
  color: var(--success);
  transform: scale(1.02);
}
.mp-complete-btn.mp-complete-done {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
  animation: mp-check-pop .4s cubic-bezier(.175,.885,.32,1.275);
}

/* â”€â”€ Strava Start Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-strava-btn {
  background: linear-gradient(135deg, #FC4C02 0%, #E34402 100%) !important;
  border-color: #FC4C02 !important;
  color: #fff !important;
  animation: mp-strava-pulse 2.5s ease-in-out infinite;
}
.mp-strava-btn:hover {
  background: linear-gradient(135deg, #E34402 0%, #CC3A01 100%) !important;
  transform: scale(1.03) !important;
  box-shadow: 0 4px 20px rgba(252, 76, 2, 0.4) !important;
}
@keyframes mp-strava-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 76, 2, 0); }
  50% { box-shadow: 0 0 16px 4px rgba(252, 76, 2, 0.25); }
}

/* â”€â”€ Post-Training Feedback Form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mp-fb-slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-fb-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.mp-fb-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mp-fb-range {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 3px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  outline: none;
  cursor: pointer;
}
.mp-fb-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(168, 85, 247, 0.4);
  cursor: grab;
  transition: transform .15s;
}
.mp-fb-range::-webkit-slider-thumb:active {
  transform: scale(1.2);
  cursor: grabbing;
}
.mp-fb-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(168, 85, 247, 0.4);
  cursor: grab;
}
.mp-fb-slider-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-medium);
  min-width: 38px;
  text-align: right;
}
.mp-fb-injury-section {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.mp-fb-injury-section input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--danger);
  cursor: pointer;
}
.mp-fb-notes-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* â”€â”€ Rest Card (Drawer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mp-rest-card {
  text-align: center;
  padding: 40px 20px;
}
.mp-rest-emoji {
  font-size: 56px;
  margin-bottom: 16px;
}
.mp-rest-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.mp-rest-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* â”€â”€ Animation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes mp-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
#mp-root > * {
  animation: mp-fade-in .35s ease both;
}
#mp-root > *:nth-child(2) { animation-delay: .05s; }
#mp-root > *:nth-child(3) { animation-delay: .1s; }
#mp-root > *:nth-child(4) { animation-delay: .12s; }
#mp-root > *:nth-child(5) { animation-delay: .15s; }
#mp-root > *:nth-child(6) { animation-delay: .18s; }
#mp-root > *:nth-child(7) { animation-delay: .2s; }
#mp-root > *:nth-child(8) { animation-delay: .22s; }
#mp-root > *:nth-child(9) { animation-delay: .25s; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .mp-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .mp-start-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  .mp-greeting { font-size: 20px; }
  .mp-today { padding: 20px; }
  .mp-today-title { font-size: 18px; }
  .mp-today-metrics { gap: 16px; }
  .mp-metric-val { font-size: 16px; }
  .mp-progress-metrics { grid-template-columns: 1fr; }
  .mp-drawer-metrics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mp-day-chip { width: 96px; padding: 12px 8px; }
  .mp-greeting { font-size: 18px; }
  .mp-today-title { font-size: 16px; }
  .mp-today-arrow { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MINHA EVOLUÃ‡ÃƒO â€” Strava/Nike Run Club Motivational Experience
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Header + Period Pills */
.evo-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) { .evo-header { flex-direction: column; align-items: flex-start; gap: 14px; } }
.evo-period-pills { display: flex; gap: 6px; }
.evo-pill { padding: 7px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid var(--border-subtle); background: transparent; color: var(--text-muted); font-family: var(--font-sans); transition: all .2s; letter-spacing: .5px; }
.evo-pill:hover { border-color: var(--brand-medium); color: var(--text-primary); }
.evo-pill.active { background: linear-gradient(135deg, var(--brand-primary), #2563EB); color: #fff; border-color: var(--brand-primary); box-shadow: 0 2px 10px rgba(26,86,219,0.3); }

/* â”€â”€ 1. HERO SECTION â”€â”€ */
.evo-hero { position: relative; background: linear-gradient(135deg, rgba(26,86,219,0.15) 0%, rgba(74,222,128,0.08) 50%, rgba(201,168,76,0.06) 100%); border: 1px solid var(--border-medium); border-radius: var(--radius-xl); padding: 32px 28px; margin-bottom: 24px; overflow: hidden; }
@media (max-width: 768px) { .evo-hero { padding: 20px 16px; margin-bottom: 16px; } }
.evo-hero-glow { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(74,222,128,0.15) 0%, transparent 70%); animation: evoGlowPulse 4s ease-in-out infinite; pointer-events: none; }
@keyframes evoGlowPulse { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.evo-hero-content { position: relative; z-index: 1; }
.evo-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--brand-gold); margin-bottom: 14px; animation: evoBadgePulse 3s ease-in-out infinite; }
@keyframes evoBadgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); } 50% { box-shadow: 0 0 12px 2px rgba(201,168,76,0.15); } }
.evo-hero-badge span { font-size: 16px; }
.evo-hero-title { font-size: 24px; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin-bottom: 6px; }
@media (max-width: 768px) { .evo-hero-title { font-size: 19px; } }
.evo-hero-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; }
.evo-hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 768px) { .evo-hero-stats { gap: 12px; } }
.evo-hero-stat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.evo-hero-stat strong { color: var(--text-primary); }
.evo-hero-stat-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.evo-hero-stat-icon.up { background: var(--success-bg); color: var(--success); }
.evo-hero-stat-icon.down { background: var(--danger-bg); color: var(--danger); }

/* â”€â”€ 2. STAT CARDS EMOCIONAIS â”€â”€ */
.evo-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 768px) { .evo-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; } }
.evo-stat-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; position: relative; overflow: hidden; transition: all .2s; }
@media (max-width: 768px) { .evo-stat-card { padding: 12px; } }
.evo-stat-card:hover { border-color: var(--border-medium); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.evo-stat-card::after { content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: radial-gradient(circle, var(--brand-gold-muted) 0%, transparent 70%); opacity: 0; transition: opacity .3s; }
.evo-stat-card:hover::after { opacity: 1; }
.evo-stat-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(26,86,219,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--brand-medium); border: 1px solid rgba(26,86,219,0.15); }
@media (max-width: 768px) { .evo-stat-icon { width: 32px; height: 32px; margin-bottom: 10px; } }
.evo-stat-icon.pace { background: rgba(74,222,128,0.1); color: var(--success); border-color: rgba(74,222,128,0.15); }
.evo-stat-icon.activities { background: rgba(96,165,250,0.1); color: #60A5FA; border-color: rgba(96,165,250,0.15); }
.evo-stat-icon.best { background: rgba(201,168,76,0.1); color: var(--brand-gold); border-color: rgba(201,168,76,0.15); }
.evo-stat-value { font-size: 28px; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); line-height: 1; margin-bottom: 4px; }
@media (max-width: 768px) { .evo-stat-value { font-size: 22px; } }
.evo-stat-unit { font-size: 14px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.evo-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.evo-stat-context { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.evo-pace-improve { display: flex; align-items: center; gap: 4px; }
.evo-arrow { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; }
.evo-arrow.up { background: var(--success-bg); color: var(--success); }
.evo-arrow.down { background: var(--danger-bg); color: var(--danger); }

/* â”€â”€ 3. CHART SECTIONS â”€â”€ */
.evo-chart-section { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; transition: all .2s; }
@media (max-width: 768px) { .evo-chart-section { padding: 14px; margin-bottom: 16px; } }
.evo-chart-section:hover { border-color: var(--border-medium); }
.evo-chart-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.evo-chart-title { font-size: 15px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.evo-chart-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.evo-chart-container { position: relative; height: 260px; }
@media (max-width: 768px) { .evo-chart-container { height: 180px; } }

/* â”€â”€ 4. COMPARAÃ‡ÃƒO INTELIGENTE â”€â”€ */
.evo-comparison-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
@media (max-width: 768px) { .evo-comparison-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; } }
.evo-comparison-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; transition: all .2s; }
.evo-comparison-card:hover { border-color: var(--border-medium); transform: translateY(-1px); }
.evo-comparison-header { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.evo-comparison-header i { color: var(--brand-medium); }
.evo-comparison-metrics { display: flex; gap: 16px; margin-bottom: 12px; }
.evo-comparison-metric { flex: 1; text-align: center; padding: 12px 8px; border-radius: var(--radius-md); }
.evo-comparison-metric.positive { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.15); }
.evo-comparison-metric.negative { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.15); }
.evo-comparison-delta { display: block; font-size: 22px; font-weight: 800; font-family: var(--font-mono); line-height: 1.2; }
.evo-comparison-metric.positive .evo-comparison-delta { color: var(--success); }
.evo-comparison-metric.negative .evo-comparison-delta { color: var(--danger); }
.evo-comparison-label { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.evo-comparison-detail { display: flex; justify-content: space-around; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); padding-top: 10px; border-top: 1px solid var(--border-subtle); }

/* â”€â”€ 5. CONSISTÃŠNCIA / STREAK â”€â”€ */
.evo-consistency-section { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.evo-consistency-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.evo-streak-fire { display: flex; align-items: center; gap: 12px; }
.evo-streak-icon { font-size: 32px; animation: evoFirePulse 2s ease-in-out infinite; }
@keyframes evoFirePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.evo-streak-number { font-size: 22px; font-weight: 800; color: var(--text-primary); font-family: var(--font-mono); line-height: 1; }
.evo-streak-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.evo-consistency-summary { font-size: 14px; color: var(--text-secondary); }
.evo-consistency-summary strong { color: var(--text-primary); }
.evo-consistency-bar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.evo-day-dot { width: 36px; height: 42px; border-radius: var(--radius-sm); background: var(--bg-base); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: all .2s; cursor: default; }
.evo-day-dot.active { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.3); box-shadow: 0 0 8px rgba(74,222,128,0.1); }
.evo-day-dot.active::before { content: '\2713'; font-size: 12px; font-weight: 700; color: var(--success); line-height: 1; }
.evo-day-dot:not(.active)::before { content: '\2013'; font-size: 12px; color: var(--text-muted); line-height: 1; }
.evo-day-label { font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.evo-consistency-legend { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }
.evo-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; background: var(--bg-base); border: 1px solid var(--border-subtle); vertical-align: middle; }
.evo-dot.active { background: rgba(74,222,128,0.2); border-color: rgba(74,222,128,0.3); }
.evo-best-streak { margin-left: auto; font-weight: 600; color: var(--brand-gold); }

/* â”€â”€ 6. BADGES / GAMIFICAÃ‡ÃƒO â”€â”€ */
.evo-badges-section { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.evo-section-title { font-size: 15px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.evo-badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.evo-badge { text-align: center; padding: 16px 10px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: var(--bg-base); transition: all .2s; cursor: default; }
.evo-badge.unlocked:hover { border-color: var(--brand-gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(201,168,76,0.15); }
.evo-badge.locked { opacity: 0.4; filter: grayscale(0.8); }
.evo-badge-icon { font-size: 28px; margin-bottom: 6px; }
.evo-badge-name { font-size: 11px; font-weight: 600; color: var(--text-primary); line-height: 1.3; margin-bottom: 4px; }
.evo-badge-date { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

/* â”€â”€ 7. CHARTS ROW â”€â”€ */
.evo-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.evo-charts-row .evo-chart-section { margin-bottom: 0; }

/* â”€â”€ 9. FRASE MOTIVACIONAL â”€â”€ */
.evo-phrase-section { background: linear-gradient(135deg, rgba(26,86,219,0.08) 0%, rgba(201,168,76,0.05) 100%); border: 1px solid var(--border-medium); border-radius: var(--radius-lg); padding: 24px; text-align: center; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.evo-phrase-icon { font-size: 24px; flex-shrink: 0; }
.evo-phrase-text { font-size: 16px; font-weight: 600; color: var(--text-primary); font-style: italic; line-height: 1.4; }

/* â”€â”€ ANIMATIONS â”€â”€ */
@keyframes evoFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.evo-hero { animation: evoFadeInUp 0.5s ease-out; }
.evo-stats-grid { animation: evoFadeInUp 0.6s ease-out; }
.evo-chart-section { animation: evoFadeInUp 0.7s ease-out; }
.evo-comparison-row { animation: evoFadeInUp 0.75s ease-out; }
.evo-consistency-section { animation: evoFadeInUp 0.8s ease-out; }
.evo-badges-section { animation: evoFadeInUp 0.85s ease-out; }
.evo-charts-row { animation: evoFadeInUp 0.9s ease-out; }
.evo-phrase-section { animation: evoFadeInUp 0.95s ease-out; }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 768px) {
  .evo-stats-grid { grid-template-columns: 1fr 1fr; }
  .evo-comparison-row { grid-template-columns: 1fr; }
  .evo-charts-row { grid-template-columns: 1fr; }
  .evo-hero-title { font-size: 20px; }
  .evo-hero { padding: 24px 20px; }
  .evo-badges-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

@media (max-width: 480px) {
  .evo-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .evo-stat-value { font-size: 22px; }
  .evo-stat-card { padding: 14px; }
  .evo-hero-title { font-size: 18px; }
  .evo-hero-stats { flex-direction: column; gap: 8px; }
  .evo-comparison-metrics { flex-direction: column; gap: 8px; }
  .evo-comparison-delta { font-size: 18px; }
  .evo-chart-container { height: 200px; }
  .evo-day-dot { width: 28px; height: 36px; }
  .evo-consistency-bar { gap: 4px; }
  .evo-phrase-section { flex-direction: column; gap: 8px; }
  .evo-phrase-text { font-size: 14px; }
  .evo-badges-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .evo-badge { padding: 12px 6px; }
  .evo-badge-icon { font-size: 24px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CONQUISTAS â€” Gamified Achievement System (Strava/Nike/Duolingo)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ HERO â”€â”€ */
.cq-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(26,86,219,0.10) 40%, rgba(74,222,128,0.06) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 24px;
  overflow: hidden;
  animation: cqFadeInUp .5s ease-out;
}
@media (max-width: 768px) { .cq-hero { padding: 24px 20px; } }
.cq-hero-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(168,85,247,0.18) 0%, transparent 70%);
  animation: cqGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cqGlowPulse { 0%,100% { opacity:.5; transform:scale(1); } 50% { opacity:1; transform:scale(1.25); } }
.cq-hero-content { position: relative; z-index: 1; }
.cq-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; color: var(--brand-gold);
  margin-bottom: 14px;
  animation: cqBadgePulse 3s ease-in-out infinite;
}
@keyframes cqBadgePulse { 0%,100% { box-shadow:0 0 0 0 rgba(201,168,76,0); } 50% { box-shadow:0 0 14px 3px rgba(201,168,76,0.15); } }
.cq-hero-badge span { font-size: 16px; }
.cq-hero-title { font-size: 26px; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin-bottom: 6px; font-family: var(--font-display); }
@media (max-width: 768px) { .cq-hero-title { font-size: 20px; } }
.cq-hero-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* Hero Progress */
.cq-hero-progress-wrap { margin-bottom: 20px; }
.cq-hero-progress-bar {
  width: 100%; height: 12px;
  background: var(--bg-base); border-radius: 6px;
  overflow: hidden; margin-bottom: 8px;
  border: 1px solid var(--border-subtle);
}
.cq-hero-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #A855F7, #60A5FA, #4ADE80);
  border-radius: 6px;
  transition: width 1s cubic-bezier(.25,.46,.45,.94);
  position: relative;
}
.cq-hero-progress-fill::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3));
  border-radius: 0 6px 6px 0;
  animation: cqShimmer 2s ease-in-out infinite;
}
@keyframes cqShimmer { 0%,100% { opacity:0; } 50% { opacity:1; } }
.cq-hero-progress-label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  font-family: var(--font-mono); text-align: right;
}

/* Hero Stats */
.cq-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.cq-hero-stat { display: flex; flex-direction: column; gap: 2px; }
.cq-hero-stat-value { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.cq-hero-stat-label { font-size: 11px; color: var(--text-muted); }

/* â”€â”€ HIGHLIGHT ROW (Last + Next) â”€â”€ */
.cq-highlight-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px; animation: cqFadeInUp .6s ease-out;
}
@media (max-width: 768px) { .cq-highlight-row { grid-template-columns: 1fr; } }
.cq-last-card, .cq-next-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 24px; text-align: center;
  transition: all .25s; position: relative; overflow: hidden;
}
.cq-last-card:hover, .cq-next-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.cq-last-badge, .cq-next-badge {
  font-size: 11px; font-weight: 700; color: var(--brand-gold);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.cq-last-icon-wrap { margin-bottom: 10px; }
.cq-last-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  font-size: 32px; background: rgba(201,168,76,0.1);
  border: 2px solid rgba(201,168,76,0.3);
}
.cq-pulse { animation: cqPulse 2s ease-in-out infinite; }
@keyframes cqPulse {
  0%,100% { transform:scale(1); box-shadow:0 0 0 0 rgba(201,168,76,0); }
  50% { transform:scale(1.08); box-shadow:0 0 20px 5px rgba(201,168,76,0.2); }
}
.cq-last-name { font-size: 18px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; font-family: var(--font-display); }
.cq-last-date { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 10px; }
.cq-last-phrase { font-size: 13px; color: var(--text-secondary); font-style: italic; margin-top: 12px; line-height: 1.4; }

.cq-next-icon { font-size: 40px; margin-bottom: 10px; opacity: .7; }
.cq-next-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.cq-next-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.cq-next-phrase { font-size: 12px; color: var(--text-secondary); font-style: italic; margin-top: 10px; }

/* â”€â”€ PROGRESS BARS (shared) â”€â”€ */
.cq-progress-wrap { width: 100%; margin-top: 8px; }
.cq-progress-bar {
  width: 100%; height: 8px; background: var(--bg-base);
  border-radius: 4px; overflow: hidden; margin-bottom: 4px;
  border: 1px solid var(--border-subtle);
}
.cq-progress-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #60A5FA, #4ADE80);
  transition: width .8s cubic-bezier(.25,.46,.45,.94);
}
.cq-progress-label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  font-family: var(--font-mono); text-align: right;
}

/* â”€â”€ CATEGORY FILTER â”€â”€ */
.cq-filter-scroll {
  margin-bottom: 20px; overflow: hidden;
  animation: cqFadeInUp .65s ease-out;
}
.cq-filters {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cq-filters::-webkit-scrollbar { display: none; }
.cq-filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  cursor: pointer; border: 1px solid var(--border-subtle);
  background: transparent; color: var(--text-muted);
  font-family: var(--font-sans); transition: all .2s;
}
.cq-filter-pill:hover { border-color: var(--brand-medium); color: var(--text-primary); }
.cq-filter-pill.active {
  background: linear-gradient(135deg, var(--brand-primary), #7C3AED);
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 12px rgba(168,85,247,0.3);
}

/* â”€â”€ ACHIEVEMENT GRID â”€â”€ */
.cq-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 24px; animation: cqFadeInUp .7s ease-out;
}
@media (max-width: 768px) { .cq-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .cq-grid { gap: 10px; } }
.cq-card {
  background: var(--bg-card); border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
  cursor: pointer; transition: all .3s; position: relative; overflow: hidden;
}
.cq-card:hover { transform: translateY(-4px); }
.cq-card.unlocked:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.cq-card.locked {
  opacity: .55; filter: grayscale(.6);
}
.cq-card.locked:hover { opacity: .75; filter: grayscale(.3); transform: translateY(-2px); }
.cq-card.recent::after {
  content: 'NOVO'; position: absolute; top: 10px; right: -20px;
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 28px; transform: rotate(35deg);
}
.cq-card-icon { font-size: 36px; margin-bottom: 10px; }
.cq-icon-animated { animation: cqIconBounce 3s ease-in-out infinite; }
@keyframes cqIconBounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
.cq-card-name { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; line-height: 1.3; }
.cq-card-desc { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.3; }
.cq-card-date { font-size: 11px; color: var(--success); font-weight: 600; margin-top: 8px; }

/* Rarity Badge */
.cq-rarity-badge {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase;
}

/* Card Progress (locked) */
.cq-card-progress-wrap { margin-top: 10px; }
.cq-card-progress-bar {
  width: 100%; height: 6px; background: var(--bg-base);
  border-radius: 3px; overflow: hidden; margin-bottom: 4px;
}
.cq-card-progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #60A5FA80, #60A5FA);
  transition: width .6s ease;
}
.cq-card-progress-label {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* â”€â”€ MODAL â”€â”€ */
.cq-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px); z-index: 3000;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cq-modal-overlay.active { opacity: 1; pointer-events: auto; }
.cq-modal {
  width: 100%; max-width: 520px; max-height: 85vh;
  background: var(--bg-card); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow-y: auto; padding: 28px 24px 40px;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.22,1,.36,1);
  position: relative; box-shadow: 0 -10px 50px rgba(0,0,0,.4);
}
@media (max-width: 768px) { .cq-modal { max-width: 100%; padding: 20px 16px 32px; } }
.cq-modal-overlay.active .cq-modal { transform: translateY(0); }
.cq-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-hover); border: none; color: var(--text-muted);
  cursor: pointer; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 1;
}
.cq-modal-close:hover { background: var(--bg-active); color: var(--text-primary); }

/* Modal Content */
.cq-detail-header { text-align: center; padding-bottom: 20px; margin-bottom: 20px; }
.cq-detail-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 40px; margin-bottom: 14px; background: var(--bg-base);
  border: 2px solid var(--border-subtle);
}
.cq-detail-title { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; font-family: var(--font-display); }
.cq-detail-desc { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.cq-detail-status { margin-bottom: 20px; }
.cq-detail-unlocked {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 14px; color: var(--success); font-weight: 600; margin-bottom: 10px;
}
.cq-detail-phrase { font-size: 15px; color: var(--text-primary); font-style: italic; text-align: center; line-height: 1.5; }
.cq-detail-progress-section { text-align: center; }
.cq-detail-progress-text { font-size: 28px; font-weight: 800; color: var(--text-primary); font-family: var(--font-mono); margin-bottom: 10px; }
.cq-detail-remaining { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.cq-detail-coach {
  background: rgba(201,168,76,0.05); border-left: 3px solid var(--brand-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px; margin-bottom: 20px;
}
.cq-detail-coach-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; color: var(--brand-gold);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px;
}
.cq-detail-coach-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(26,86,219,0.15); color: var(--brand-medium);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.cq-detail-coach-text { font-size: 14px; color: var(--text-secondary); font-style: italic; line-height: 1.5; }

.cq-detail-next { padding: 16px; background: var(--bg-base); border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.cq-detail-next-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.cq-detail-next-card { display: flex; align-items: center; gap: 14px; }
.cq-detail-next-icon { font-size: 28px; flex-shrink: 0; }
.cq-detail-next-name { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.cq-detail-next-desc { font-size: 12px; color: var(--text-muted); }

/* â”€â”€ FOOTER PHRASE â”€â”€ */
.cq-footer-phrase {
  background: linear-gradient(135deg, rgba(168,85,247,0.06) 0%, rgba(26,86,219,0.05) 100%);
  border: 1px solid var(--border-medium); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 24px; animation: cqFadeInUp .85s ease-out;
}
.cq-footer-icon { font-size: 24px; flex-shrink: 0; }
.cq-footer-text { font-size: 16px; font-weight: 600; color: var(--text-primary); font-style: italic; line-height: 1.4; }

/* â”€â”€ ANIMATIONS â”€â”€ */
@keyframes cqFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 768px) {
  .cq-hero { padding: 24px 20px; }
  .cq-hero-title { font-size: 22px; }
  .cq-highlight-row { grid-template-columns: 1fr; }
  .cq-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cq-hero-stats { flex-direction: column; gap: 8px; }
  .cq-modal { max-width: 100%; border-radius: 20px 20px 0 0; }
}
@media (max-width: 480px) {
  .cq-hero-title { font-size: 18px; }
  .cq-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cq-card { padding: 14px 10px; }
  .cq-card-icon { font-size: 28px; }
  .cq-card-name { font-size: 12px; }
  .cq-last-icon { width: 52px; height: 52px; font-size: 26px; }
  .cq-footer-phrase { flex-direction: column; gap: 8px; }
  .cq-footer-text { font-size: 14px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NOTIFICATION DROPDOWN
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.notif-wrap { position: relative; }
.notif-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), var(--shadow-glow);
  z-index: 1000;
  overflow: hidden;
  animation: notifSlideIn .25s ease;
}
.notif-dropdown.open { display: block; }
@keyframes notifSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-sidebar);
}
.notif-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.notif-list {
  max-height: 320px;
  overflow-y: auto;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { background: rgba(26,86,219,.04); }
.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-medium);
}
.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-info { flex: 1; min-width: 0; }
.notif-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}
.notif-text strong { font-weight: 700; }
.notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 480px) {
  .notif-dropdown { width: calc(100vw - 32px); right: -60px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANIMATIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOAST VARIANTS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.toast-warning { border-left: 4px solid var(--warning); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--brand-medium); }

/* FEED INTERACTION FEEDBACK */
.post-action-btn.liked {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-primary), #3B82F6) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3) !important;
  font-weight: 700 !important;
}

.post-action-btn.liked i {
  color: #fff !important;
  fill: #fff !important; /* Preencher Ã­cone se possÃ­vel */
  stroke-width: 3px;
}

.post-action-btn.liked:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Spinner animation for loading states */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* LocalizaÃ§Ã£o no Composer */
.composer-location-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--border-subtle);
  opacity: 0.8;
}
.composer-location-row i {
  width: 14px;
  height: 14px;
  color: var(--brand-medium);
}
.composer-location-row .location-input {
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--text-secondary);
  width: 100%;
  outline: none;
}

/* LocalizaÃ§Ã£o no Post */
.post-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--brand-medium);
  margin-top: 2px;
  font-weight: 500;
}
.post-location i {
  width: 12px;
  height: 12px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STRAVA INTEGRATION STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Strava Connect Card (Settings) */
.strava-connect-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(252, 76, 2, 0.06), rgba(252, 76, 2, 0.02));
  border: 1px solid rgba(252, 76, 2, 0.15);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.strava-connect-card:hover {
  border-color: rgba(252, 76, 2, 0.3);
  box-shadow: 0 4px 20px rgba(252, 76, 2, 0.08);
}
.strava-connect-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.strava-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FC4C02, #FF6B35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(252, 76, 2, 0.3);
}

/* Strava Connected Card (Settings) */
.strava-connected-card {
  background: var(--bg-card);
  border: 1px solid rgba(252, 76, 2, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}
.strava-connected-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FC4C02, #FF6B35, transparent);
}
.strava-connected-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.strava-connected-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.strava-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(252, 76, 2, 0.3);
  flex-shrink: 0;
}
.strava-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FC4C02, #FF6B35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strava-connected-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.strava-connected-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success);
}
.strava-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: strava-dot-pulse 2s ease-in-out infinite;
}
@keyframes strava-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}
.strava-connected-actions {
  display: flex;
  gap: 8px;
}
.strava-last-sync {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.badge-strava-connected {
  background: rgba(252, 76, 2, 0.12);
  color: #FC4C02;
  border: 1px solid rgba(252, 76, 2, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

/* Strava Sync Button */
/* Botoes de fonte de dados */
.badge-source {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: auto;
  letter-spacing: 0.5px;
}
.badge-source.manual { background: rgba(96, 165, 250, 0.15); color: #60A5FA; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-source.strava { background: rgba(252, 76, 2, 0.15); color: #FC4C02; border: 1px solid rgba(252, 76, 2, 0.3); }

/* Barras de Comparação */
.comparison-bars-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-bar-group { display: flex; flex-direction: column; gap: 6px; }
.c-bar-info { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.c-bar-info strong { color: #fff; }
.c-bar-bg { height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; position: relative; overflow: hidden; }
.c-bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.c-bar-fill.good { background: linear-gradient(90deg, #22C55E, #4ADE80); box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); }
.c-bar-fill.warning { background: linear-gradient(90deg, #EAB308, #FACC15); }
.c-bar-fill.danger { background: linear-gradient(90deg, #EF4444, #F87171); }

/* Prova do Treino */
.drawer-proof-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-proof-image {
  width: 100%;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  border: 1px solid var(--border-subtle);
}
.drawer-proof-image:hover { transform: scale(1.02); filter: brightness(1.1); }
.proof-hint { font-size: 11px; color: var(--text-muted); text-align: center; }

/* Lightbox para Foto */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px); z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; cursor: zoom-out; animation: mp-fade-in 0.3s ease;
}
.lightbox-img { max-width: 100%; max-height: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 80px rgba(0,0,0,0.8); }

/* Ajustes no Drawer */
.drawer-card.comparison { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.05); }
.drawer-card.proof { border-color: rgba(255,255,255,0.05); }
.btn-strava-sync {
  color: #FC4C02;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.btn-strava-sync:hover {
  background: rgba(252, 76, 2, 0.08);
  border-color: #FC4C02;
}
.btn-strava-sync.syncing i {
  animation: strava-spin 1s linear infinite;
}
@keyframes strava-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Strava Banner (Minha EvoluÃ§Ã£o) */
.evo-strava-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(252, 76, 2, 0.08), rgba(252, 76, 2, 0.03));
  border: 1px dashed rgba(252, 76, 2, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.25s;
  animation: strava-banner-glow 3s ease-in-out infinite alternate;
}
.evo-strava-banner:hover {
  background: linear-gradient(135deg, rgba(252, 76, 2, 0.12), rgba(252, 76, 2, 0.06));
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252, 76, 2, 0.12);
}
@keyframes strava-banner-glow {
  from { box-shadow: 0 0 0 rgba(252, 76, 2, 0); }
  to { box-shadow: 0 2px 16px rgba(252, 76, 2, 0.06); }
}
.evo-strava-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.evo-strava-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FC4C02, #FF6B35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(252, 76, 2, 0.25);
}
.evo-strava-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.evo-strava-banner-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.evo-strava-banner-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #FC4C02, #FF6B35);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(252, 76, 2, 0.25);
  transition: all 0.2s;
}
.evo-strava-banner:hover .evo-strava-banner-btn {
  box-shadow: 0 4px 16px rgba(252, 76, 2, 0.35);
  transform: translateX(2px);
}

/* Strava Badge (Data source indicator) */
.evo-strava-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(252, 76, 2, 0.08);
  border: 1px solid rgba(252, 76, 2, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #FC4C02;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .evo-strava-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .evo-strava-banner-content {
    flex-direction: column;
    gap: 10px;
  }
  .strava-connected-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .strava-connected-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .strava-connect-card {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .strava-connect-info {
    flex-direction: column;
    gap: 10px;
  }
}

.evo-cert-btn { display: flex; align-items: center; gap: 8px; padding: 14px 28px; background: linear-gradient(135deg, var(--brand-gold), #A47D21); color: #fff; font-size: 15px; font-weight: 700; border: none; border-radius: var(--radius-lg); cursor: pointer; transition: all 0.25s; box-shadow: 0 4px 15px rgba(201,168,76,0.3); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1px; }
.evo-cert-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.45); filter: brightness(1.1); }

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   CONQUISTAS — Athlete Dashboard Styles */

/* ==========================================
   NOVA HOME DO TREINADOR (CENTRAL DE CONTROLE)
   ========================================== */
.home-welcome {
  margin-bottom: 24px;
}
.home-welcome-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.home-welcome-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* Alertas "Hoje no seu time" */
.home-alerts-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.home-alert-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.home-alert-card:hover {
  border-color: var(--brand-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.home-alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-alert-icon.inactive { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.home-alert-icon.low_adherence { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.home-alert-icon.feedback { background: rgba(26, 86, 219, 0.1); color: var(--brand-medium); }
.home-alert-icon.pre-reg { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.home-alert-info {
  flex: 1;
  min-width: 0;
}
.home-alert-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-alert-msg {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}
.home-alert-action {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.home-alert-action:hover {
  background: var(--brand-medium);
  color: white;
}

/* Lista de Atletas */
.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.home-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-athletes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.home-athlete-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.home-athlete-card:hover {
  border-color: var(--brand-medium);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.home-athlete-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.home-athlete-info {
  flex: 1;
  min-width: 0;
}
.home-athlete-name {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-athlete-last {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.home-athlete-compliance {
  text-align: right;
}
.home-compliance-val {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.home-compliance-lbl {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Progress bar de adesão */
.home-adherence-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.home-adherence-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease-out;
}

.home-athlete-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.home-athlete-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.status-ativo { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.status-irregular { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-parado { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Gráficos Secundários */
.home-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-chart-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
}
.home-chart-container {
  height: 180px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .home-charts-row {
    grid-template-columns: 1fr;
  }
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   CONQUISTAS — Athlete Dashboard Styles
   â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.cq-hero {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.cq-hero-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.15) 0%, transparent 70%);
  z-index: 1;
}
.cq-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
}
.cq-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--brand-medium);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(26, 86, 219, 0.2);
}
.cq-hero-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.cq-hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 30px;
}
.cq-hero-stats {
  display: flex;
  gap: 32px;
}
.cq-hero-stat {
  display: flex;
  flex-direction: column;
}
.cq-hstat-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-gold);
}
.cq-hstat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cq-hero-visual {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
.cq-hero-trophy {
  font-size: 80px;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
  animation: trophyFloat 3s ease-in-out infinite;
}
@keyframes trophyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cq-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.cq-filter-pill {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cq-filter-pill:hover {
  border-color: var(--brand-medium);
  color: var(--text-primary);
}
.cq-filter-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.cq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.cq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all .25s;
}
.cq-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}
.cq-card.locked {
  background: rgba(0,0,0,0.2);
  border-style: dashed;
}
.cq-card-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.locked .cq-card-icon {
  filter: grayscale(1) opacity(0.3);
}
/* MODAL DE AVISO (Manualmente) */
.mp-at-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px); z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: mp-fade-in 0.3s ease;
}

.mp-at-warning-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.mp-at-warning-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(250, 204, 21, 0.1);
  color: #eab308; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px;
}

/* FORMULÁRIO COMPARATIVO DE CONCLUSÃO */
.mp-manual-concl-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: mp-modal-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mp-modal-slide {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.mp-concl-section { margin-bottom: 24px; }
.mp-concl-section-title {
  font-size: 12px; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}

.mp-concl-proposed-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 16px; background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg); border: 1px solid var(--border-subtle);
}

.mp-concl-input-group { margin-bottom: 16px; }
.mp-concl-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.mp-concl-input {
  width: 100%; background: var(--bg-base); border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); padding: 12px 16px; color: #fff;
  font-family: var(--font-mono); font-size: 16px; transition: border-color 0.2s;
}
.mp-concl-input:focus { border-color: var(--brand-medium); outline: none; }

.mp-concl-pace-display {
  padding: 12px; background: rgba(34, 197, 94, 0.05);
  border: 1px dashed rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md); text-align: center;
  margin-top: 10px;
}
.cq-progress-wrap {
  margin-bottom: 14px;
}
.cq-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-base);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.cq-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .5s ease;
}
.fill-distancia { background: linear-gradient(90deg, #60A5FA, #3B82F6); }
.fill-velocidade { background: linear-gradient(90deg, #F87171, #EF4444); }
.fill-consistencia { background: linear-gradient(90deg, #34D399, #10B981); }

.cq-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.cq-card-date {
  font-size: 11px;
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.cq-card-date i { width: 12px; height: 12px; }

.cq-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MEU PLANO â€” Empty State Fix
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.mp-empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.8;
  animation: mp-bounce 2s ease-in-out infinite;
}
@keyframes mp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CELEBRAÃ‡ÃƒO DE CONQUISTAS (MEU PLANO / CONQUISTAS)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cq-celebration-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 16, 0.9);
  backdrop-filter: blur(12px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow: hidden;
}
.cq-celebration-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cq-celebration-content {
  text-align: center;
  z-index: 5002;
  max-width: 400px;
  padding: 20px;
  animation: cq-pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes cq-pop-in {
  from { opacity: 0; transform: scale(0.5) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cq-celebration-emoji {
  font-size: 100px;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px var(--brand-gold));
  animation: cq-float 3s ease-in-out infinite;
}
@keyframes cq-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
.cq-celebration-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.cq-celebration-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 24px;
}
.cq-celebration-btn {
  background: var(--brand-gold);
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  transition: all 0.2s;
}
.cq-celebration-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(201,168,76,0.6);
}

/* Confetti */
.cq-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 5001;
  border-radius: 2px;
  animation: cq-fall linear forwards;
}
@keyframes cq-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}



/* -----------------------------------------------------------
   TREINO EM ANDAMENTO — Premium HUD Experience
   ----------------------------------------------------------- */

.mp-active-training {
  position: fixed;
  inset: 0;
  background: #070810; /* Solid dark base */
  z-index: 3000;
  display: flex;
  flex-direction: column;
  animation: mp-hud-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  overflow: hidden;
}

@keyframes mp-hud-fade-in {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.mp-at-ambient-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.mp-at-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.mp-at-close-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }

.mp-at-hud-header {
  padding: 60px 24px 30px;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mp-at-live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.3);
  padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: #fff; border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: live-pulse 1.5s infinite alternate;
}

@keyframes live-pulse {
  from { opacity: 0.4; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}


.mp-at-type-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.mp-at-type-desc { font-size: 14px; color: var(--text-muted); }

.mp-at-scroll-content {
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  padding: 0 24px 140px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 500px; width: 100%; margin: 0 auto;
}

.mp-at-glass-card {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mp-at-dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.metric-card {
  padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
}

.metric-icon { width: 32px; height: 32px; opacity: 0.8; }
.metric-info { display: flex; flex-direction: column; gap: 4px; }
.metric-val { font-family: var(--font-mono); font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.metric-lbl { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.timeline-card { padding: 24px; }
.timeline-head { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.timeline-head i { width: 16px; height: 16px; }

.timeline-track { display: flex; flex-direction: column; gap: 0; }
.t-step { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.t-step:last-child { padding-bottom: 0; }
.t-step::before {
  content: ""; position: absolute; left: 6px; top: 12px; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.1);
}
.t-step:last-child::before { display: none; }

.t-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--bg-card);
  border: 4px solid rgba(255,255,255,0.2); position: relative; z-index: 2; margin-top: 2px; flex-shrink: 0;
}
.t-main .t-dot { border-color: var(--t-color); background: #fff; box-shadow: 0 0 15px var(--t-color); }

.t-content h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.2; }
.t-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.t-main .t-content h4 { color: var(--t-color); }

.proof-card {
  padding: 32px 24px; border-style: dashed; border-width: 2px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.proof-card:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.proof-icon-wrap { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.proof-icon-wrap i { width: 24px; height: 24px; }
.proof-text { font-size: 15px; font-weight: 700; color: #fff; }
.proof-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.mp-at-proof-preview { width: 100%; max-height: 200px; object-fit: contain; border-radius: var(--radius-md); margin-top: 16px; border: 1px solid rgba(255,255,255,0.1); }

.strava-card { padding: 24px; display: flex; align-items: center; gap: 16px; border-left: 4px solid #FC4C02; }
.strava-info h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.strava-info p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

.mp-at-bottom-actions {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 32px 24px 40px;
  background: linear-gradient(0deg, #070810 40%, transparent 100%);
  display: flex; justify-content: center; pointer-events: none;
}

.mp-at-glow-btn {
  width: 100%; max-width: 400px; padding: 18px 24px;
  border-radius: 40px; border: none;
  background: rgba(255,255,255,0.05);
  color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1px;
  position: relative; overflow: hidden;
  pointer-events: auto; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 10px 30px rgba(0,0,0,0.5);
}

.mp-at-glow-btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--btn-color); opacity: 0.2; transition: opacity 0.3s;
}

.mp-at-glow-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--btn-color), 0 15px 40px rgba(0,0,0,0.6);
}
.mp-at-glow-btn:hover::before { opacity: 0.4; }

/* -- Comparison Screen ----------------------------------- */
.mp-at-result {
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mp-at-res-header i {
  font-size: 64px;
  color: var(--success);
  margin-bottom: 16px;
}

.mp-at-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mp-at-res-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-at-res-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mp-at-res-vals {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-at-res-planned {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.6;
}

.mp-at-res-real {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--success);
}

.mp-at-res-delta {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--success);
  width: fit-content;
  margin: 0 auto;
}

.mp-at-btn-concluir {
  width: 100%;
  padding: 16px 24px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, var(--brand-medium), var(--brand-primary));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  text-transform: uppercase;
}

.mp-at-btn-concluir:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--brand-medium);
  filter: brightness(1.1);
}

.mp-at-btn-concluir:active {
  transform: translateY(-1px) scale(1);
}



.view-group {
  margin-bottom: 12px;
}
.view-group label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}
.view-group div {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}


/* GT History Cards - Optimized View */
.gt-history-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.gt-hist-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.gt-hist-card:hover {
  border-color: var(--brand-medium);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
  background: var(--bg-tertiary);
}

.gt-hc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.gt-hc-type-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-hc-date {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gt-hc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.gt-hc-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gt-hc-badge {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gt-hc-badge-done { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.gt-hc-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gt-hc-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gt-hc-m-lbl {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.gt-hc-m-lbl i { width: 12px; height: 12px; opacity: 0.7; }

.gt-hc-m-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.gt-hc-footer {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.gt-hc-foot-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gt-hc-foot-item i { width: 12px; height: 12px; }

.gt-hc-hr-zone {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
}

.gt-z-low { background: #3B82F6; }
.gt-z-med { background: #10B981; }
.gt-z-high { background: #EF4444; }
/* ==========================================
   PRINT STYLES - FASE 2
   ========================================== */
@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; margin: 0; padding: 0; background: #fff; }
  .no-print { display: none !important; }
  .modal-box { box-shadow: none !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
}


/* Forced fix for Ficha Modal visibility and stacking */
#modalFicha { z-index: 9999 !important; }
.modal-overlay.open { display: flex !important; }


/* Template Modal Enhancements */
.wt-category-header {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 8px;
}
.wt-category-header i {
    width: 14px;
    height: 14px;
    color: var(--brand-medium);
}
.wt-modal-body {
    max-height: 65vh;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-primary);
}

/* MINI KPIs SUMMARY */
.home-mini-kpis {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  transition: all 0.2s;
}

.mini-kpi:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--brand-gold);
}

.mini-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.mini-kpi-info {
  display: flex;
  flex-direction: column;
}

.mini-kpi-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
}

.mini-kpi-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Colors context matching the dashboard */
.mini-kpi.active .mini-kpi-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.mini-kpi.unread .mini-kpi-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.mini-kpi.pre-reg .mini-kpi-icon { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.mini-kpi.injured .mini-kpi-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.mini-kpi.ending .mini-kpi-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

@media (max-width: 768px) {
  .home-welcome {
     flex-direction: column;
     align-items: flex-start !important;
  }
  .home-mini-kpis {
     width: 100%;
     justify-content: flex-start;
  }
  .mini-kpi {
     flex: 1;
     min-width: 140px;
  }
}

/* ATHLETE WEEK NAV & MONTHLY MODAL */
.mp-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-card);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.mp-nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-week-title {
  font-weight: 800;
  font-size: 12px;
  color: var(--text-primary);
  min-width: 80px;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.mp-btn-monthly {
  background: rgba(201,168,76,0.1);
  color: var(--brand-gold);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-btn-monthly:hover {
  background: rgba(201,168,76,0.2);
  transform: translateY(-1px);
}

.mp-monthly-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mp-monthly-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mp-monthly-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--shadow-glow);
}

.mp-monthly-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.mp-monthly-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mp-monthly-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.mp-monthly-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.mp-monthly-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.mp-calendar-header {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
}

.mp-calendar-day {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: all 0.2s;
}

.mp-calendar-day:hover {
  border-color: var(--border-medium);
  background: var(--bg-hover);
}

.mp-cal-date {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mp-cal-type {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.mp-cal-dist {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin-top: auto;
}

.mp-cal-status {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mp-week-row-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  margin: 16px 0 8px;
  border-left: 4px solid var(--brand-primary);
}

.mp-week-row-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.mp-week-vol {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-medium);
}

@media (max-width: 768px) {
  .mp-monthly-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mp-calendar-day {
    min-height: 80px;
  }
}

@media (max-width: 480px) {
  .mp-monthly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Feedback Workflow Styles */
.gt-fb-dot { position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; background: var(--warning); border-radius: 50%; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); z-index: 5; animation: fb-dot-pulse 2s ease-in-out infinite; }
@keyframes fb-dot-pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }
.gt-fb-card { padding: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); border-radius: 12px; }
.gt-fb-rpe { display: flex; flex-direction: column; }
.gt-fb-rpe-val { font-size: 20px; font-weight: 800; color: var(--brand-medium); line-height: 1; }
.gt-fb-rpe-lbl { font-size: 10px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.gt-fb-notes { font-size: 13px; font-style: italic; color: var(--text-secondary); line-height: 1.5; margin-top: 8px; }
.gt-fb-alert { margin-top: 12px; padding: 10px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 8px; color: var(--danger); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.gt-fb-alert i { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════
   MOBILE NATIVE EXPERIENCE — 10/10 Enhancements
   ═══════════════════════════════════════════════════════════ */

/* ── Splash Screen ─────────────────────────────────────────── */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0A0C14;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.splash-screen.splash-hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.splash-content {
  text-align: center;
  animation: splash-fade-in 0.6s ease;
}
.splash-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: drop-shadow(0 0 30px rgba(26,86,219,0.4));
  margin-bottom: 20px;
  animation: splash-pulse 1.5s ease-in-out infinite;
}
.splash-brand {
  font-family: 'Michroma', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 4px #fff, 0 0 8px #1A56DB, 0 0 15px #1A56DB;
  margin-bottom: 4px;
}
.splash-sub {
  font-size: 11px;
  color: #60A5FA;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.splash-loader {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.splash-loader-bar {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #1A56DB, #60A5FA, transparent);
  border-radius: 2px;
  animation: splash-loading 1.2s ease-in-out infinite;
}
@keyframes splash-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splash-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes splash-loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
[data-theme="light"] .splash-screen {
  background: #F8FAFF;
}
[data-theme="light"] .splash-brand {
  color: #0F172A;
  text-shadow: none;
}
[data-theme="light"] .splash-sub {
  color: #1A56DB;
}
[data-theme="light"] .splash-loader {
  background: rgba(0,0,0,0.08);
}

/* ── Screen Transitions ────────────────────────────────────── */
.screen {
  display: none;
  animation: none;
}
.screen.active {
  display: block;
  animation: screen-fade-in 0.3s ease-out;
}
@keyframes screen-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── A2HS Install Banner ───────────────────────────────────── */
.a2hs-banner {
  position: fixed;
  bottom: -100px;
  left: 12px;
  right: 12px;
  z-index: 9500;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.4), var(--shadow-glow);
  transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(16px);
}
.a2hs-banner.visible {
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 769px) {
  .a2hs-banner.visible {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 420px;
    width: 100%;
  }
}
.a2hs-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.a2hs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.a2hs-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.a2hs-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a2hs-text span {
  font-size: 11px;
  color: var(--text-muted);
}
.a2hs-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.a2hs-btn-install {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-primary), #2563EB);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
  transition: all 0.2s;
}
.a2hs-btn-install:active {
  transform: scale(0.95);
}
.a2hs-btn-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ── More Menu Bottom Sheet ────────────────────────────────── */
.more-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.more-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.more-menu-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9001;
  background: var(--bg-card);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 0 20px 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}
.more-menu-sheet.active {
  transform: translateY(0);
}
.more-menu-handle {
  width: 40px;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  margin: 12px auto 16px;
}
.more-menu-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}
.more-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.more-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.more-menu-item:active {
  transform: scale(0.95);
  background: var(--bg-hover);
}
.more-menu-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(26,86,219,0.1);
  color: var(--brand-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-menu-item-icon i {
  width: 22px;
  height: 22px;
}

/* ── Pull to Refresh ───────────────────────────────────────── */
.ptr-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  z-index: 50;
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.2s, transform 0.3s;
  pointer-events: none;
}
.ptr-indicator span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ptr-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--brand-medium);
  border-radius: 50%;
  transition: transform 0.1s;
}
.ptr-indicator.ptr-ready .ptr-spinner {
  border-top-color: var(--success);
}
.ptr-indicator.ptr-loading .ptr-spinner {
  animation: ptr-spin 0.6s linear infinite;
}
@keyframes ptr-spin {
  to { transform: rotate(360deg); }
}

/* ── PWA Standalone Adjustments ────────────────────────────── */
@media (display-mode: standalone) {
  .login-theme-toggle { top: calc(12px + env(safe-area-inset-top, 0px)); }
  #screen-login { padding-top: env(safe-area-inset-top, 0px); }
}
.pwa-standalone .topbar {
  padding-top: env(safe-area-inset-top, 0px);
}

/* ── Bottom Nav — Optimized for 5 items ────────────────────── */
@media (max-width: 768px) {
  .bottom-nav {
    justify-content: space-around;
    gap: 0;
  }
  .bottom-nav-item {
    flex: 1;
    min-width: unset;
    padding: 6px 4px;
    font-size: 10px;
    gap: 3px;
  }
  .bottom-nav-item i {
    width: 20px;
    height: 20px;
  }
}

/* ── Enhanced Touch Targets ────────────────────────────────── */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
  .form-input, .form-select, .form-textarea { min-height: 44px; font-size: 16px; }
  .nav-item { min-height: 44px; }
  .tab { min-height: 44px; }
  .pill { min-height: 36px; }
  .post-action-btn { min-height: 44px; }
  .feed-tab { min-height: 44px; }
  
  /* Prevent iOS zoom on focus */
  input[type="text"], input[type="email"], input[type="password"],
  input[type="number"], input[type="tel"], textarea, select {
    font-size: 16px !important;
  }
}

/* ── Active State Micro-animations ─────────────────────────── */
.bottom-nav-item:active {
  transform: scale(0.9);
  transition: transform 0.1s;
}
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s;
}
.card:active {
  transform: scale(0.99);
}
.more-menu-item:active {
  background: var(--bg-active);
  border-color: var(--brand-medium);
}
.mp-day-chip:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s !important;
}
.nav-item:active {
  transform: scale(0.97);
}

/* ── Toast Position for Mobile with bottom nav ─────────────── */
@media (max-width: 768px) {
  .toast-container {
    bottom: auto;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .toast {
    width: 100%;
  }
  @keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ── Smooth scrolling for scroll containers ────────────────── */
.content, .chat-messages, .mp-week-strip, .bottom-nav,
.sidebar-nav, .modal-box, .drawer-body {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ── Overscroll rubber-band prevention ─────────────────────── */
html {
  overscroll-behavior: none;
}
body {
  overscroll-behavior-y: none;
}


/* Theme Adaptive Logos */
[data-theme='light'] .strava-logo-dark { display: none !important; }
[data-theme='dark'] .strava-logo-light { display: none !important; }
