/* ─── CSS Variables ────────────────────────────────────────── */
:root {
    --bg: #05050b;
    --bg-rgb: 5, 5, 11;
    --bg-card: rgba(20, 20, 35, 0.55);
    --bg-card-solid: #141423;
    --bg-card-hover: rgba(35, 35, 55, 0.75);
    --bg-inset: rgba(255, 255, 255, 0.03);
    --bg-nav: rgba(10, 10, 18, 0.82);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 229, 160, 0.25);
    --text: #f0f0f5;
    --text-secondary: #c0c0d0;
    --text-muted: #9090a5;
    --text-faint: #6a6a80;
    --text-dim: #4a4a5e;
    --accent: #00e5a0;
    --accent-rgb: 0, 229, 160;
    --accent-2: #a855f7;
    --accent-2-rgb: 168, 85, 247;
    --accent-3: #06b6d4;
    --accent-3-rgb: 6, 182, 212;
    --accent-light: rgba(0, 229, 160, 0.12);
    --accent-glow: rgba(0, 229, 160, 0.18);
    --danger: #ff4560;
    --warning: #ffb627;
    --info: #3b82f6;
    --gradient-start: #00e5a0;
    --gradient-end: #a855f7;
    --gradient-2: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    --gradient-3: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-bg: rgba(255, 255, 255, 0.08);
    --table-odd: rgba(255, 255, 255, 0.025);
    --shadow-glow: rgba(0, 229, 160, 0.15);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --glass: rgba(255, 255, 255, 0.04);
}

/* ─── Light Mode Variables ─────────────────────────────────── */
body.light-mode {
    --bg: #f0f2f7;
    --bg-rgb: 240, 242, 247;
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-card-solid: #ffffff;
    --bg-card-hover: rgba(255, 255, 255, 0.92);
    --bg-inset: rgba(0, 0, 0, 0.02);
    --bg-nav: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 229, 160, 0.4);
    --text: #111118;
    --text-secondary: #3a3a4e;
    --text-muted: #5a5a6e;
    --text-faint: #888;
    --text-dim: #aaa;
    --input-bg: rgba(0, 0, 0, 0.04);
    --input-border: rgba(0, 0, 0, 0.12);
    --input-focus-bg: rgba(0, 0, 0, 0.03);
    --table-odd: rgba(0, 0, 0, 0.03);
    --shadow-glow: rgba(0, 229, 160, 0.25);
    --glass: rgba(255, 255, 255, 0.6);
}

body.light-mode .nav { border-bottom-color: rgba(0, 0, 0, 0.08); }
body.light-mode .nav-link:hover { color: #1a1a2e; background: rgba(0, 0, 0, 0.05); }
body.light-mode .stat-val,
body.light-mode .inj-name,
body.light-mode .protocol-name,
body.light-mode .protocol-name-lg,
body.light-mode .weight-value { color: #1a1a2e; }
body.light-mode .hero-label { color: #888; }
body.light-mode .hero-change { color: #00a872; }
body.light-mode .btn-primary { color: #fff; }
body.light-mode .card-link { color: #00a872; }
body.light-mode .log-table-head,
body.light-mode .lab-table-head { border-bottom-color: rgba(0, 0, 0, 0.08); }
body.light-mode select option { background: #fff; color: #1a1a2e; }
body.light-mode .ring-track { stroke: rgba(0,0,0,0.08); }
body.light-mode .glass { background: rgba(255, 255, 255, 0.7); }
body.light-mode .metric-ring .ring-value { fill: #1a1a2e; }
body.light-mode .water-drop { filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4)); }
body.light-mode .lab-marker-card { background: rgba(0,0,0,0.03); }
body.light-mode .progress-fill { box-shadow: 0 0 10px rgba(0, 229, 160, 0.3); }
body.light-mode .glow-text { text-shadow: 0 0 20px rgba(0, 229, 160, 0.3); }
body.light-mode .glass-card::before { opacity: 0.4; }
body.light-mode .hero::before { opacity: 0.25; }
body.light-mode .nav-logo { color: #00a872; }
body.light-mode .cycle-ring-track { stroke: rgba(0,0,0,0.06); }
body.light-mode .glass-shine { background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%); }
body.light-mode .dose-cell { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.05); }
body.light-mode .dose-cell.filled { background: rgba(0, 229, 160, 0.12); border-color: rgba(0, 229, 160, 0.35); }
body.light-mode .dose-cell.today { background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.45); }
body.light-mode .dose-cell.today.filled { background: rgba(0, 229, 160, 0.2); border-color: rgba(0, 229, 160, 0.5); }
body.light-mode .mini-bar { background: rgba(0,0,0,0.06); }
body.light-mode .tracker-row { background: rgba(0,0,0,0.03); }
body.light-mode .tracker-row:hover { background: rgba(0,0,0,0.06); }
body.light-mode .quick-log-btn { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
body.light-mode .quick-log-btn:hover { background: rgba(0,0,0,0.08); border-color: rgba(0, 229, 160, 0.4); }
body.light-mode .section-title { color: #1a1a2e; }
body.light-mode .live-clock { color: #1a1a2e; text-shadow: none; }
body.light-mode .streak-card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }
body.light-mode .streak-card:hover { border-color: rgba(0, 229, 160, 0.4); }
body.light-mode .chip { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); }
body.light-mode .chip:hover { background: rgba(0,0,0,0.08); }
body.light-mode .metric-label { color: #5a5a6e; }
body.light-mode .log-entry { border-color: rgba(0,0,0,0.06); }
body.light-mode .log-entry:hover { background: rgba(0,0,0,0.03); }
body.light-mode .page-header h1 { background: linear-gradient(135deg, #00a872 0%, #7c3aed 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.light-mode .form-help { color: #666; }
body.light-mode .card-badge { background: rgba(0,0,0,0.05); color: #3a3a4e; }
body.light-mode .lab-value.high { color: #d32f2f; }
body.light-mode .lab-value.low { color: #e65100; }
body.light-mode .stat-card.accent { background: rgba(0, 229, 160, 0.08); }
body.light-mode .stat-card.purple { background: rgba(168, 85, 247, 0.08); }
body.light-mode .stat-card.cyan { background: rgba(6, 182, 212, 0.08); }
body.light-mode .stat-card.warning { background: rgba(255, 182, 39, 0.08); }
body.light-mode .stat-card .stat-label { color: #5a5a6e; }
body.light-mode .compliance-bar.done { background: #00a872 !important; }
body.light-mode .grid-lines { background: rgba(0,0,0,0.04); }
body.light-mode .scanline { opacity: 0.03; }
body.light-mode .floating-orb { opacity: 0.15; }
body.light-mode .weight-bar { background: rgba(0,0,0,0.04); }
body.light-mode .marker-dot { box-shadow: 0 0 0 2px #fff; }
body.light-mode .chart-tooltip { background: rgba(255,255,255,0.92); color: #1a1a2e; border-color: rgba(0,0,0,0.08); }

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
}

/* Animated mesh background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 229, 160, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    animation: bgPulse 12s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Scanline overlay */
.scanline {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.03) 2px,
        rgba(255,255,255,0.03) 4px
    );
}

/* Floating orbs */
.floating-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}
.floating-orb.orb-1 { width: 400px; height: 400px; background: rgba(0, 229, 160, 0.3); top: -100px; right: -100px; animation-delay: 0s; }
.floating-orb.orb-2 { width: 300px; height: 300px; background: rgba(168, 85, 247, 0.25); bottom: 10%; left: -80px; animation-delay: -7s; }
.floating-orb.orb-3 { width: 250px; height: 250px; background: rgba(6, 182, 212, 0.2); top: 40%; right: 10%; animation-delay: -14s; }
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.02); }
}

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
    background: var(--bg-nav);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.nav-center {
    display: flex; align-items: center; gap: 16px;
    flex: 1; justify-content: center;
}
.live-clock {
    font-family: var(--mono); font-size: 0.85rem; font-weight: 600;
    color: var(--accent); letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(0,229,160,0.35);
}
.service-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: var(--text-muted);
    padding: 4px 10px; border-radius: 20px;
    background: var(--bg-inset); border: 1px solid var(--border);
}
.status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--text-muted); box-shadow: 0 0 8px currentColor;
    transition: background 0.3s, box-shadow 0.3s;
}
.status-dot.up { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.status-dot.down { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
@media (max-width: 768px) {
    .nav-center { display: none; }
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 15px rgba(0, 229, 160, 0.35);
    transition: all 0.3s ease;
}
.nav-logo:hover { text-shadow: 0 0 25px rgba(0, 229, 160, 0.6); }
.nav-logo::before {
    content: '◈';
    font-size: 18px;
    color: var(--accent-2);
    animation: logoPulse 2s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { opacity: 0.8; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(45deg); }
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--gradient-2);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover { color: var(--text); background: var(--bg-inset); }
.nav-link:hover::before { width: 60%; }
.nav-link.active { color: var(--accent); background: var(--accent-light); }
.nav-link.active::before { width: 60%; background: var(--accent); }

/* Nav brand accent colours on hover */
.nav-link[href="/weight"]:hover,
.nav-link[href="/weight"].active { color: var(--accent); }
.nav-link[href="/peptides"]:hover,
.nav-link[href="/peptides"].active { color: var(--accent-2); }
.nav-link[href="/lab"]:hover,
.nav-link[href="/lab"].active { color: var(--warning); }
.nav-link[href="/vinted-tax"]:hover,
.nav-link[href="/vinted-tax"].active { color: var(--accent-3); }

/* ─── Theme Toggle ─────────────────────────────────────────── */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 8px;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}
.theme-toggle:hover::before { opacity: 0.1; }
.theme-icon {
    width: 18px; height: 18px;
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    z-index: 1;
}
.sun-icon { opacity: 1; transform: rotate(0deg); }
.moon-icon { opacity: 0; transform: rotate(-90deg); }
body.light-mode .sun-icon { opacity: 0; transform: rotate(90deg); }
body.light-mode .moon-icon { opacity: 1; transform: rotate(0deg); }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--bg-inset); }

/* ─── Main ─────────────────────────────────────────────────── */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 100px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    text-align: center;
    padding: 36px 20px 32px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0.08;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: heroShine 6s ease-in-out infinite;
    z-index: 1;
}
@keyframes heroShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px;
    background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.2);
    color: var(--accent); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0%,100%{ opacity: 1; transform: scale(1); } 50%{ opacity: 0.5; transform: scale(1.4); } }
.hero-stat { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.hero-number {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -4px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0, 229, 160, 0.2));
}
.hero-label { font-size: 22px; font-weight: 700; color: var(--text-faint); }
.hero-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.hero-change { color: var(--accent); font-weight: 600; }
.hero-change.down { color: var(--accent); }
.hero-change.up { color: var(--danger); }
.hero-divider { color: var(--border); }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    max-width: 720px; margin: 28px auto 0; position: relative; z-index: 2;
}
.hero-stats-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 18px 10px; text-align: center; transition: var(--transition); position: relative; overflow: hidden;
}
.hero-stats-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.hero-stats-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-sm); padding: 1px;
    background: linear-gradient(135deg, rgba(0,229,160,0.25), transparent 60%, rgba(168,85,247,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.hero-stats-card:hover::before { opacity: 1; }
.hero-stats-icon { font-size: 1.5rem; margin-bottom: 6px; }
.hero-stats-val { font-size: 1.3rem; font-weight: 700; color: var(--text); font-family: 'JetBrains Mono', monospace; }
.hero-stats-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
@media (max-width: 640px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-number { font-size: 52px; }
}
.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.hero-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero-metric-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}
.hero-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-faint);
}

/* Live clock */
.live-clock {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--accent-3);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-clock::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent-3);
    border-radius: 50%;
    animation: clockPulse 1s ease-in-out infinite;
}
@keyframes clockPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(6, 182, 212, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 2px rgba(6, 182, 212, 0.3); }
}

/* ─── Glass Cards ──────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    backdrop-filter: blur(12px);
}
.glass-shine {
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
    pointer-events: none;
    transition: left 0.6s ease;
    z-index: 1;
}
.card:hover .glass-shine { left: 100%; }
.card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 229, 160, 0.1), 0 0 30px rgba(0, 229, 160, 0.08);
    transform: translateY(-3px);
}
.card.full { grid-column: 1 / -1; }
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 0;
    position: relative;
    z-index: 2;
}
.card-header h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-header h2::before {
    content: '';
    width: 4px; height: 16px;
    background: var(--gradient-2);
    border-radius: 2px;
}
.card-link {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-link:hover { opacity: 1; gap: 8px; }
.card-link::after { content: '→'; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(3px); }
.card-body { padding: 18px 22px 22px; position: relative; z-index: 2; }
.card-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 18px;
}

/* ─── Page Header ──────────────────────────────────────────── */
.page-header {
    padding: 8px 0 24px;
}
.page-header h1 {
    font-size: 30px;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}
.page-sub { font-size: 14px; color: var(--text-faint); margin-top: 6px; }

/* ─── Stats Row ────────────────────────────────────────────── */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-2);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.stat-card:hover::before { opacity: 1; }
.stat-card.accent::before { background: var(--accent); }
.stat-card.purple::before { background: var(--accent-2); }
.stat-card.cyan::before { background: var(--accent-3); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.mood-mini::before { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.stat-card.bp-mini::before { background: linear-gradient(135deg, #ef4444, #3b82f6); }
.stat-card.mood-mini:hover, .stat-card.bp-mini:hover { border-color: var(--border-hover); }
.stat-val {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.stat-label {
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-top: 4px;
}

/* ─── Progress Rings ─────────────────────────────────────────── */
.metric-ring {
    position: relative;
    width: 110px; height: 110px;
    flex-shrink: 0;
}
.metric-ring svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.ring-track {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 8;
    stroke-linecap: round;
}
.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 6px rgba(0, 229, 160, 0.4));
}
.ring-progress.purple { stroke: url(#ringGradientPurple); }
.ring-progress.cyan { stroke: url(#ringGradientCyan); }
.ring-progress.warning { stroke: url(#ringGradientWarning); }
.ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    fill: var(--text);
    pointer-events: none;
}
.ring-label {
    position: absolute;
    bottom: 18px;
    left: 0; right: 0;
    text-align: center;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-faint);
    font-weight: 700;
}

/* ─── Streak Cards ───────────────────────────────────────────── */
.streak-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.streak-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    transition: all 0.25s ease;
}
.streak-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.streak-icon { font-size: 22px; margin-bottom: 6px; }
.streak-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.streak-value.fire { color: var(--warning); text-shadow: 0 0 12px rgba(255, 182, 39, 0.4); }
.streak-value.cyan { color: var(--accent-3); text-shadow: 0 0 12px rgba(6, 182, 212, 0.4); }
.streak-value.purple { color: var(--accent-2); text-shadow: 0 0 12px rgba(168, 85, 247, 0.4); }
.streak-label {
    font-size: 9px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-top: 4px;
}

/* ─── Protocol List ────────────────────────────────────────── */
.protocol-list { display: flex; flex-direction: column; gap: 8px; }
.protocol-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-inset);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.protocol-item.done {
    border-color: var(--accent-glow);
    background: rgba(0, 229, 160, 0.04);
}
.protocol-info { flex: 1; }
.protocol-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.protocol-dose { font-size: 12px; color: var(--text-faint); }
.protocol-time {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-weight: 600;
}
.status-dot {
    font-size: 14px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.status-dot.pending { color: var(--text-dim); background: var(--bg-card); }
.status-dot.done { color: var(--accent); background: var(--accent-light); }

/* ─── Forms ────────────────────────────────────────────────── */
.log-form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: flex; gap: 10px; }
.row-2 > * { flex: 1; }
.row-3 > * { flex: 1; }
.log-form select, .log-form input, .form-input {
    width: 100%;
    padding: 11px 13px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}
.log-form select:focus, .log-form input:focus, .form-input:focus {
    border-color: var(--accent);
    background: var(--input-focus-bg);
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}
.log-form select option { background: var(--bg-card-solid); color: var(--text); }
.btn {
    padding: 11px 22px;
    border: none;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-primary {
    background: var(--gradient-2);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 229, 160, 0.2);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 160, 0.3);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }
.btn-icon { padding: 10px; min-width: 44px; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

.form-help {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: -4px;
}

/* ─── Weight List ──────────────────────────────────────────── */
.weight-list { display: flex; flex-direction: column; gap: 6px; }
.weight-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}
.weight-row:hover { background: rgba(255,255,255,0.02); }
.weight-row:last-child { border-bottom: none; }
.weight-date { font-size: 12px; color: var(--text-muted); flex: 0 0 80px; }
.weight-value { font-size: 15px; font-weight: 700; flex: 1; }
.weight-change { font-size: 12px; color: var(--text-faint); }
.weight-change .down { color: var(--accent); }
.weight-change .up { color: var(--danger); }

/* ─── Log List ─────────────────────────────────────────────── */
.log-list { display: flex; flex-direction: column; gap: 4px; }
.log-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    transition: background 0.2s;
}
.log-item:hover { background: rgba(255,255,255,0.03); }
.log-item:nth-child(odd) { background: var(--table-odd); }
.log-date { color: var(--text-faint); flex: 0 0 40px; }
.log-name { font-weight: 700; flex: 1; }
.log-dose { color: var(--accent); font-weight: 600; }
.log-clicks { color: var(--text-muted); font-size: 12px; }
.log-time { color: var(--text-dim); font-size: 11px; }

/* ─── Charts ─────────────────────────────────────────────────── */
.mini-chart { height: 90px; margin-bottom: 14px; }
.chart-container { height: 360px; padding: 8px 0; }
.chart-full { height: 450px; }
.chart-tooltip {
    background: rgba(10, 10, 18, 0.92);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text);
    font-size: 12px;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

/* ─── Protocol Full Cards ──────────────────────────────────── */
.protocol-full { display: flex; flex-direction: column; gap: 12px; }
.protocol-card {
    padding: 16px;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.protocol-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gradient-2);
    opacity: 0.6;
    transition: opacity 0.2s;
}
.protocol-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.protocol-card:hover::before { opacity: 1; }
.protocol-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.protocol-name-lg { font-size: 16px; font-weight: 800; color: var(--text); }
.protocol-badge {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-2);
    padding: 4px 12px;
    border-radius: 8px;
}
.protocol-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.protocol-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}
.protocol-notes {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-faint);
    font-style: italic;
}

/* ─── Log Table ─────────────────────────────────────────────── */
.log-table { display: flex; flex-direction: column; gap: 3px; }
.log-table-head, .log-table-row {
    display: grid;
    grid-template-columns: 50px 1fr 60px 45px 40px;
    gap: 8px;
    padding: 9px 12px;
    font-size: 13px;
    align-items: center;
}
.log-table-head {
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.log-table-row {
    border-radius: 8px;
    transition: all 0.2s;
}
.log-table-row:hover { background: rgba(255,255,255,0.03); }
.log-table-row:nth-child(odd) { background: var(--table-odd); }
.log-table-row:nth-child(odd):hover { background: rgba(255,255,255,0.05); }

/* ─── Lab Table ─────────────────────────────────────────────── */
.lab-table { display: flex; flex-direction: column; gap: 3px; }
.lab-table-head, .lab-row {
    display: grid;
    grid-template-columns: 50px 1fr 65px 60px 75px;
    gap: 8px;
    padding: 9px 12px;
    font-size: 13px;
    align-items: center;
}
.lab-table-head {
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.lab-row { border-radius: 8px; transition: all 0.2s; }
.lab-row:hover { background: rgba(255,255,255,0.03); }
.lab-row:nth-child(odd) { background: var(--table-odd); }
.lab-row:nth-child(odd):hover { background: rgba(255,255,255,0.05); }
.lab-marker { font-weight: 700; }
.lab-value { font-weight: 800; }
.lab-value.high { color: var(--danger); font-weight:700; }
.lab-value.low { color: var(--warning); font-weight:700; }
.lab-range { font-size: 11px; color: var(--text-faint); }
.weight-table { display: grid; gap: 2px; }

.empty { padding: 24px 0; text-align: center; color: var(--text-dim); font-size: 14px; }

/* ─── Injection Logger ────────────────────────────────────── */
.injection-list { display: flex; flex-direction: column; gap: 8px; }
.injection-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 16px 18px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.injection-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.25s;
}
.injection-btn:not(.logged):hover {
    border-color: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px var(--shadow-glow);
}
.injection-btn:not(.logged):hover::before { opacity: 0.05; }
.injection-btn:not(.logged):active {
    transform: scale(0.98);
    border-color: var(--accent);
    background: var(--accent-light);
}
.injection-btn.logged {
    border-color: var(--accent-glow);
    background: rgba(0, 229, 160, 0.06);
    cursor: default;
    opacity: 0.9;
}
.injection-btn.logged::before { opacity: 0.08; }
.injection-btn.logging {
    border-color: var(--accent);
    background: var(--accent-light);
    animation: pulse-log 0.8s ease infinite;
}
@keyframes pulse-log {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(0,229,160,0.2); }
    50% { transform: scale(1.01); box-shadow: 0 0 25px rgba(0,229,160,0.3); }
}
.inj-left { display: flex; align-items: center; gap: 14px; flex: 1; position: relative; z-index: 1; }
.inj-check {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 14px; font-weight: 700;
    background: var(--bg-inset); color: var(--text-dim);
    transition: all 0.25s;
    flex-shrink: 0;
}
.injection-btn.logged .inj-check {
    background: var(--accent-glow); color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.3);
}
.inj-info { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.inj-name { font-size: 15px; font-weight: 700; color: var(--text); }
.inj-dose { font-size: 12px; color: var(--text-muted); }
.inj-status {
    font-size: 11px; color: var(--text-dim);
    padding: 5px 12px; border-radius: 8px;
    background: var(--bg-card);
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid var(--border);
    position: relative; z-index: 1;
    font-weight: 600;
}
.injection-btn.logged .inj-status {
    color: var(--accent); background: var(--accent-light); border-color: var(--accent-glow);
}
.injection-btn:not(.logged):hover .inj-status {
    color: var(--accent); background: var(--accent-light); border-color: var(--accent-glow);
}

/* ─── Quick Log Buttons ─────────────────────────────────────── */
.quick-log-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.quick-log-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.quick-log-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-glow);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.quick-log-btn:active { transform: scale(0.98); }
.quick-log-btn.primary {
    background: var(--gradient-2);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 229, 160, 0.2);
}
.quick-log-btn.primary:hover { box-shadow: 0 6px 20px rgba(0, 229, 160, 0.3); }

/* ─── Water Tracker ──────────────────────────────────────────── */
.water-tracker {
    text-align: center;
    padding: 8px 0;
}
.water-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-3);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.water-display .total { color: var(--text); }
.water-drops {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    flex-wrap: wrap;
}
.water-drop {
    font-size: 22px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.3));
    opacity: 0.25;
}
.water-drop.filled { opacity: 1; animation: dropPop 0.4s ease; }
@keyframes dropPop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.water-goal-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.water-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}
.water-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #00e5a0);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}
.water-controls { display: flex; gap: 10px; justify-content: center; }

/* ─── Sleep Tracker ─────────────────────────────────────────── */
.sleep-tracker {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sleep-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.sleep-input-row input {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 14px;
    outline: none;
}
.sleep-input-row input:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}
.sleep-stars {
    display: flex;
    gap: 4px;
    font-size: 1.4rem;
    cursor: pointer;
}
.sleep-stars .star {
    color: var(--text-dim);
    transition: all 0.15s;
}
.sleep-stars .star:hover { transform: scale(1.2); }
.sleep-stars .star.active { color: var(--warning); text-shadow: 0 0 8px rgba(255, 182, 39, 0.5); }
.sleep-history {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}
.sleep-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 13px;
}
.sleep-entry-date { font-size: 11px; color: var(--text-faint); min-width: 40px; }
.sleep-entry-hours { font-weight: 700; min-width: 42px; }
.sleep-entry-stars { color: var(--warning); font-size: 12px; }

/* ─── Protein Tracker ──────────────────────────────────────── */
.protein-tracker {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.protein-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.protein-macro {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}
.protein-macro-value { font-size: 18px; font-weight: 800; }
.protein-macro-value.protein { color: var(--accent); }
.protein-macro-value.carbs { color: var(--accent-3); }
.protein-macro-value.fat { color: var(--accent-2); }
.protein-macro-label { font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }
.protein-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}
.protein-bar-fill { height: 100%; transition: width 0.5s ease; }
.protein-bar-fill.protein { background: var(--accent); }
.protein-bar-fill.carbs { background: var(--accent-3); }
.protein-bar-fill.fat { background: var(--accent-2); }
.protein-list { display: flex; flex-direction: column; gap: 6px; }
.protein-entry {
    display: grid;
    grid-template-columns: 1fr 50px 40px 40px 40px;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid var(--border);
    transition: background 0.2s;
}
.protein-entry:hover { background: rgba(255, 255, 255, 0.03); }
.protein-entry-name { color: var(--text); font-weight: 600; }
.protein-entry-val { text-align: right; font-weight: 600; }
.protein-entry-head { color: var(--text-faint); font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }

/* ─── Peptide Compliance Calendar ───────────────────────────── */
.compliance-calendar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.compliance-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.compliance-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    width: 70px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.compliance-cells {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.dose-cell {
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    transition: all 0.2s;
    position: relative;
}
.dose-cell:hover { transform: scale(1.1); z-index: 2; }
.dose-cell.filled {
    background: rgba(0, 229, 160, 0.15);
    border-color: rgba(0, 229, 160, 0.35);
    color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 229, 160, 0.15);
}
.dose-cell.today {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--accent-2);
}
.dose-cell.today.filled {
    background: rgba(0, 229, 160, 0.2);
    border-color: rgba(0, 229, 160, 0.5);
    color: var(--accent);
}
.dose-cell .day-name {
    position: absolute;
    bottom: 2px;
    font-size: 7px;
    color: var(--text-faint);
    font-weight: 600;
}
.dose-cell::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.1);
}
.dose-cell:hover::after { opacity: 1; }

/* ─── Cycle Rings / Vial Life ───────────────────────────────── */
.cycle-rings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.cycle-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.cycle-ring-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cycle-ring-svg {
    width: 80px; height: 80px;
    transform: rotate(-90deg);
}
.cycle-ring-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 6; stroke-linecap: round; }
.cycle-ring-progress { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1s ease; }
.cycle-ring-info { text-align: center; }
.cycle-ring-name { font-size: 13px; font-weight: 700; color: var(--text); }
.cycle-ring-meta { font-size: 10px; color: var(--text-faint); margin-top: 2px; }
.cycle-ring-life { font-size: 15px; font-weight: 800; color: var(--accent); }

/* ─── Lab Visualization ─────────────────────────────────────── */
.lab-vis {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lab-marker-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.lab-marker-card:hover { border-color: var(--border-hover); }
.lab-marker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.lab-marker-name { font-size: 14px; font-weight: 700; color: var(--text); }
.lab-marker-date { font-size: 10px; color: var(--text-faint); }
.lab-marker-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}
.lab-marker-range {
    position: absolute;
    top: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border-left: 1px dashed rgba(255,255,255,0.2);
    border-right: 1px dashed rgba(255,255,255,0.2);
}
.lab-marker-value {
    position: absolute;
    top: 0; bottom: 0;
    width: 4px;
    background: var(--accent-3);
    border-radius: 4px;
    transition: left 0.8s ease;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
.lab-marker-value.high { background: var(--danger); box-shadow: 0 0 8px rgba(255, 69, 96, 0.5); }
.lab-marker-value.low { background: var(--warning); box-shadow: 0 0 8px rgba(255, 182, 39, 0.5); }
.lab-marker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-faint);
}

/* Weight stats bar chart */
.weight-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 6px 0;
}
.weight-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--gradient-2);
    transition: width 0.8s ease;
}

/* Marker dots */
.marker-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(5, 5, 11, 0.8);
}
.marker-dot.good { background: var(--accent); }
.marker-dot.warn { background: var(--warning); }
.marker-dot.danger { background: var(--danger); }

/* ─── Animations ───────────────────────────────────────────── */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.glow-text { text-shadow: 0 0 20px rgba(0, 229, 160, 0.3); }
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 0 8px rgba(0, 229, 160, 0); }
}

/* ─── Mobile ────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .grid { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .hero-metrics { gap: 18px; }
    .streak-cards { grid-template-columns: repeat(3, 1fr); }
    .cycle-rings { grid-template-columns: repeat(2, 1fr); }
    .compliance-cells { grid-template-columns: repeat(7, 1fr); }
    .chart-full { height: 350px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px 16px;
        gap: 4px;
    }
    .nav.active .nav-link { width: 100%; text-align: center; }
    .hero-number { font-size: 56px; }
    .hero { padding: 28px 16px 24px; }
    .main { padding: 18px 16px 80px; }
    .card-header { padding: 16px 18px 0; }
    .card-body { padding: 14px 18px 18px; }
    .page-header { padding: 4px 0 18px; }
    .page-header h1 { font-size: 26px; }
    .stat-row { gap: 10px; }
    .stat-card { padding: 14px 10px; }
    .stat-val { font-size: 22px; }
    .metric-ring { width: 90px; height: 90px; }
    .ring-value { font-size: 18px; }
    .hero-metrics { gap: 14px; }
    .hero-metric-value { font-size: 16px; }
    .quick-log-section { grid-template-columns: 1fr; }
    .protein-summary { grid-template-columns: repeat(3, 1fr); }
    .cycle-rings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .hero-number { font-size: 48px; }
    .nav-inner { padding: 0 14px; }
    .row-3 { flex-direction: column; }
    .form-row { flex-direction: column; }
    .row-2 { flex-direction: column; }
    .log-table-head, .log-table-row {
        grid-template-columns: 40px 1fr 50px 35px 35px;
        font-size: 12px;
    }
    .lab-table-head, .lab-row {
        grid-template-columns: 40px 1fr 45px 45px 55px;
        font-size: 12px;
    }
    .theme-toggle { width: 34px; height: 34px; border-radius: 10px; margin-left: 4px; }
    .theme-icon { width: 16px; height: 16px; }
    .compliance-cells { gap: 3px; }
    .dose-cell { border-radius: 4px; }
    .dose-cell .day-name { font-size: 6px; }
    .cycle-rings { grid-template-columns: 1fr; }
    .protein-summary { grid-template-columns: repeat(3, 1fr); }
    .sleep-input-row { flex-direction: column; align-items: stretch; }
    .sleep-input-row input { width: 100%; }
    .sleep-stars { align-self: center; }
}

@media (max-width: 480px) {
    .nav-link { padding: 8px; font-size: 13px; }
    .hero-number { font-size: 40px; letter-spacing: -2px; }
    .hero-label { font-size: 18px; }
    .hero-sub { font-size: 13px; gap: 10px; }
    .hero-metrics { gap: 12px; }
    .streak-cards { grid-template-columns: repeat(3, 1fr); }
    .streak-icon { font-size: 18px; }
    .streak-value { font-size: 18px; }
    .card-header h2 { font-size: 12px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat-val { font-size: 20px; }
    .log-table-head, .log-table-row {
        grid-template-columns: 38px 1fr 45px 30px 30px;
        gap: 4px;
        padding: 7px 8px;
    }
    .lab-table-head, .lab-row {
        grid-template-columns: 38px 1fr 40px 40px 50px;
        gap: 4px;
        padding: 7px 8px;
    }
    .compliance-label { width: 60px; font-size: 10px; }
    .dose-cell { font-size: 9px; }
    .protein-entry { grid-template-columns: 1fr 40px 32px 32px 32px; font-size: 11px; }
    .protein-entry-head { font-size: 8px; }
}

@media (max-width: 380px) {
    .nav-link { padding: 6px; font-size: 12px; }
    .hero-number { font-size: 34px; }
    .hero-label { font-size: 16px; }
    .theme-toggle { width: 30px; height: 30px; }
    .theme-icon { width: 14px; height: 14px; }
    .streak-cards { gap: 8px; }
    .streak-card { padding: 10px 6px; }
    .streak-icon { font-size: 16px; }
    .streak-value { font-size: 16px; }
    .streak-label { font-size: 8px; }
    .compliance-cells { gap: 2px; }
    .compliance-label { width: 52px; font-size: 9px; }
    .dose-cell { border-radius: 3px; }
}

/* ─── Utility ───────────────────────────────────────────────── */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── GLM-5.2 Summary Cards ──────────────────────────────────── */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 14px 0 18px;
}
.summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.summary-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.summary-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.summary-card:hover::before { opacity: 1; }
.summary-card.sc-weight::before { background: var(--accent); }
.summary-card.sc-steps::before { background: var(--accent-3); }
.summary-card.sc-sleep::before { background: var(--accent-2); }
.summary-card.sc-streak::before { background: var(--warning); }
.sc-icon { font-size: 1.6rem; flex-shrink: 0; }
.sc-body { flex: 1; min-width: 0; }
.sc-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.sc-unit { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.sc-trend {
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
}
.sc-label {
    font-size: 0.65rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 1px;
}
@media (max-width: 768px) {
    .summary-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .summary-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .summary-card { padding: 12px 14px; }
    .sc-value { font-size: 1.2rem; }
}

/* ─── GLM-5.2 Progress Rings ─────────────────────────────────── */
.glm-ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 6px rgba(0, 229, 160, 0.3));
}
.progress-rings {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.progress-ring-item {
    text-align: center;
    transition: transform 0.3s ease;
}
.progress-ring-item:hover {
    transform: scale(1.05);
}

/* ─── GLM-5.2 Blood Work Ranges ──────────────────────────────── */
.bw-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.bw-item:last-child { border-bottom: none; }
.bw-item:hover { background: rgba(255,255,255,0.02); }
.bw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.bw-marker {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
}
.bw-value {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.bw-range {
    font-size: 0.65rem;
    color: var(--text-faint);
    font-weight: 400;
}
.bw-bar {
    height: 6px;
    background: var(--bg-inset);
    border-radius: 10px;
    overflow: hidden;
    margin: 4px 0;
}
.bw-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px currentColor;
}
.bw-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
}
.bw-date { color: var(--text-faint); }
.bw-status {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.6rem;
}
.bw-status.bw-optimal { background: rgba(0,229,160,0.1); color: var(--accent); }
.bw-status.bw-borderline { background: rgba(255,182,39,0.1); color: var(--warning); }
.bw-status.bw-high { background: rgba(255,69,96,0.1); color: var(--danger); }
.bw-status.bw-low { background: rgba(255,69,96,0.1); color: var(--danger); }
.bw-status.bw-unknown { background: rgba(255,255,255,0.05); color: var(--text-faint); }

/* ─── GLM-5.2 Sleep Score ────────────────────────────────────── */
.sleep-score-card .ss-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4px;
}
.ss-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    transition: color 0.3s;
}
.ss-grade {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-inset);
    border: 1px solid var(--border);
    padding: 2px 12px;
    border-radius: 10px;
    align-self: center;
}
.ss-details {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.ss-bar {
    height: 8px;
    background: var(--bg-inset);
    border-radius: 10px;
    overflow: hidden;
    max-width: 200px;
    margin: 0 auto;
}
.ss-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-2), var(--warning));
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(168,85,247,0.3);
}

/* ─── GLM-5.2 Macro Tracker ──────────────────────────────────── */
.macro-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.macro-legend span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.macro-legend strong {
    color: var(--text);
    font-weight: 700;
}

/* ─── GLM-5.2 Habit Grid ─────────────────────────────────────── */
.habit-grid-card .card-body {
    overflow-x: auto;
}
.hg-grid {
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    gap: 3px;
    margin: 4px auto;
    width: fit-content;
}
.hg-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 28px;
    gap: 3px;
}
.hg-cell {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    cursor: default;
    transition: all 0.15s ease;
}
.hg-cell:hover {
    transform: scale(1.2);
    z-index: 2;
    box-shadow: 0 0 8px rgba(0,229,160,0.3);
}
.hg-labels {
    display: grid;
    grid-template-columns: repeat(7, 28px);
    gap: 3px;
    margin: 0 auto 4px;
    width: fit-content;
}
.hg-day-label {
    font-size: 8px;
    color: var(--text-faint);
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hg-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 9px;
    color: var(--text-faint);
}
.hg-lbl { font-size: 8px; color: var(--text-faint); }
.hg-cell-sample {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}
.hg-cell-sample.hg-l0 { background: var(--bg-inset); border: 1px solid transparent; }
.hg-cell-sample.hg-l1 { background: rgba(0,229,160,0.15); border: 1px solid rgba(0,229,160,0.2); }
.hg-cell-sample.hg-l2 { background: rgba(0,229,160,0.35); border: 1px solid rgba(0,229,160,0.3); }
.hg-cell-sample.hg-l3 { background: rgba(0,229,160,0.55); border: 1px solid rgba(0,229,160,0.4); }
.hg-cell-sample.hg-l4 { background: rgba(0,229,160,0.8); border: 1px solid rgba(0,229,160,0.6); }

/* ─── Light Mode fixes for GLM-5.2 ───────────────────────────── */
body.light-mode .summary-card::before { opacity: 0.5; }
body.light-mode .sc-value { color: #1a1a2e; }
body.light-mode .bw-item:hover { background: rgba(0,0,0,0.02); }
body.light-mode .hg-cell-sample.hg-l0 { background: rgba(0,0,0,0.04); }
body.light-mode .hg-cell-sample.hg-l1 { background: rgba(0,229,160,0.2); }
body.light-mode .hg-cell-sample.hg-l2 { background: rgba(0,229,160,0.4); }
body.light-mode .hg-cell-sample.hg-l3 { background: rgba(0,229,160,0.6); }
body.light-mode .hg-cell-sample.hg-l4 { background: rgba(0,229,160,0.85); }

/* ========================================
   PREMIUM VISUAL UPGRADE LAYER
   ======================================== */

/* Premium glass cards */
.card, .summary-card, .simple-hero {
    backdrop-filter: blur(12px) saturate(1.4);
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover, .summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,160,0.08);
    border-color: rgba(0, 229, 160, 0.2);
    background: rgba(35, 35, 55, 0.7);
}

/* Gradient headings */
h1, h2, .section-title, .page-title {
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 60%, var(--accent-2) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Big stat gradient */
.simple-hero-weight .num {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 5s ease-in-out infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Page fade-in */
body { animation: dashboard-fade-in 0.5s ease-out; }
@keyframes dashboard-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium nav */
.nav, .top-bar, header {
    backdrop-filter: blur(20px) saturate(1.8);
    background: rgba(10, 10, 18, 0.85);
    border-bottom: 1px solid rgba(0, 229, 160, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Premium buttons */
.btn, .btn-primary, button[type="submit"] {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover, .btn-primary:hover, button[type="submit"]:hover {
    box-shadow: 0 8px 24px rgba(0, 229, 160, 0.2);
    transform: translateY(-2px);
}

/* EOD Summary card */
.eod-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px; padding: 20px; margin-bottom: 20px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.eod-card:hover {
    border-color: rgba(0, 229, 160, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,160,0.08);
}
.eod-peptide-taken { color: var(--accent); font-weight: 600; }
.eod-peptide-outstanding { color: var(--danger); }
.eod-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eod-stat .val {
    font-size: 1.4rem; font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eod-stat .lbl { font-size: 0.7rem; color: var(--text-muted); }

/* Toast */
.toast {
    position: fixed; bottom: 20px; right: 20px;
    background: rgba(20, 20, 35, 0.95); backdrop-filter: blur(20px);
    border: 1px solid var(--accent); color: var(--text);
    padding: 12px 20px; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 229, 160, 0.2); z-index: 9999;
    animation: toast-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toast-slide-in {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Quick-log button */
.quick-log-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
    color: #000; font-weight: 700; padding: 10px 24px;
    border: none; border-radius: 10px; cursor: pointer;
    position: relative; overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-log-btn::after {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.quick-log-btn:hover::after { left: 100%; }
.quick-log-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 229, 160, 0.35);
    transform: translateY(-2px);
}
