@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";html{-webkit-font-smoothing:antialiased;font-size:16px}body{color:#fff;background:#0f0f1a;font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5}a{color:inherit}button,input,textarea,select{font-family:inherit}.nav-logo{object-fit:contain;vertical-align:middle;border-radius:6px;width:auto;height:26px;margin-right:.4rem}.auth-page{background-color:#0f0f1a;background-position:50%;background-repeat:no-repeat;background-size:cover;justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;font-family:Inter,system-ui,sans-serif;display:flex;position:relative;overflow:hidden}.auth-page:before{content:"";z-index:1;background:linear-gradient(135deg,#0f0f1a66 0%,#2e106599 100%);position:absolute;inset:0}.blob{filter:blur(80px);opacity:.25;pointer-events:none;border-radius:50%;position:absolute}.blob-1{background:#7c3aed;width:500px;height:500px;animation:12s ease-in-out infinite alternate drift;top:-150px;left:-150px}.blob-2{background:#a78bfa;width:400px;height:400px;animation:15s ease-in-out infinite alternate-reverse drift;bottom:-100px;right:-100px}@keyframes drift{0%{transform:translate(0)scale(1)}to{transform:translate(40px,30px)scale(1.08)}}.auth-card{z-index:2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff0a;border:1px solid #ffffff1a;border-radius:1.5rem;width:100%;max-width:420px;margin:1rem;padding:2.5rem 2rem;animation:.4s slideUp;position:relative;box-shadow:0 25px 50px #00000080}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.auth-brand{text-align:center;margin-bottom:2rem}.auth-logo{margin-bottom:.5rem;font-size:3rem}.auth-logo-img{object-fit:contain;border-radius:16px;width:auto;height:72px;margin-bottom:.75rem}.auth-title{color:#fff;letter-spacing:-.02em;margin:0 0 .25rem;font-size:1.5rem;font-weight:700}.auth-subtitle{color:#ffffff73;margin:0;font-size:.875rem}.auth-form{flex-direction:column;gap:1.25rem;display:flex}.field-label{color:#fff9;letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;font-weight:500}.field-input{color:#fff;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:.75rem;outline:none;padding:.75rem 1rem;font-size:.95rem;transition:border-color .2s,background .2s}.auth-error{color:#fca5a5;background:#ef444426;border:1px solid #ef444459;border-radius:.75rem;padding:.75rem 1rem;font-size:.875rem}.auth-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a78bfa);border:none;border-radius:.75rem;justify-content:center;align-items:center;min-height:48px;padding:.85rem;font-size:1rem;font-weight:600;transition:opacity .2s,transform .15s;display:flex}.auth-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.auth-btn:disabled{opacity:.45;cursor:not-allowed}.spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-switch{text-align:center;color:#ffffff73;margin-top:1.5rem;font-size:.875rem}.auth-link{color:#a78bfa;font-weight:500;text-decoration:none}.auth-link:hover{text-decoration:underline}.auth-mode-toggle{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.75rem;gap:4px;margin-bottom:1.5rem;padding:4px;display:flex}.auth-mode-btn{color:#ffffff73;cursor:pointer;background:0 0;border:none;border-radius:.55rem;flex:1;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:background .2s,color .2s}.auth-mode-btn.active{color:#fff;background:#ffffff1a}.auth-mode-btn:hover:not(.active){color:#ffffffb3}.auth-card--admin{border-color:#f43f3f40;box-shadow:0 25px 50px #00000080,0 0 0 1px #f43f3f1a}.auth-card--admin .field-input:focus{background:#f8717114;border-color:#f87171}.auth-btn--admin{background:linear-gradient(135deg,#dc2626,#f87171)}.auth-admin-note{color:#f8717199!important;font-size:.8rem!important}.dashboard-page{color:#fff;background-color:#0f0f1a;background-position:50%;background-repeat:no-repeat;background-size:cover;min-height:100vh;font-family:Inter,system-ui,sans-serif;position:relative;overflow-x:hidden}.dashboard-page:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(135deg,#0a081999 0%,#140a3c8c 100%);position:fixed;inset:0}.dash-blob{filter:blur(100px);opacity:.15;pointer-events:none;z-index:0;border-radius:50%;position:fixed}.dash-blob-1{background:#7c3aed;width:600px;height:600px;top:-200px;left:-200px}.dash-blob-2{background:#a78bfa;width:500px;height:500px;bottom:-200px;right:-200px}.dash-nav{z-index:100;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f0f1acc;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0}.dash-nav-brand{letter-spacing:-.02em;font-size:1.1rem;font-weight:700}.dash-logout-btn{color:#ffffffa6;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:.6rem;padding:.45rem 1rem;font-size:.85rem;transition:all .2s}.dash-logout-btn:hover{color:#fca5a5;background:#ef444426;border-color:#ef444466}.dash-content{z-index:1;flex-direction:column;gap:1.5rem;max-width:760px;margin:0 auto;padding:2rem 1.5rem 4rem;display:flex;position:relative}.dash-date{color:#fff6;letter-spacing:.06em;text-transform:uppercase;font-size:.8rem}.dash-heading{letter-spacing:-.03em;margin:.25rem 0 0;font-size:2rem;font-weight:800}.dash-tabs{border-bottom:1px solid #ffffff12;gap:.5rem;padding-bottom:0;display:flex}.dash-tab{color:#ffffff73;cursor:pointer;border-bottom:2px solid #0000;border-radius:.5rem .5rem 0 0;margin-bottom:-1px;padding:.55rem 1.1rem;font-size:.875rem;font-weight:600;text-decoration:none;transition:color .2s,border-color .2s,background .2s}.dash-tab:hover:not(.active){color:#ffffffbf;background:#ffffff0a}.dash-tab.active{color:#a78bfa;border-bottom-color:#a78bfa}.glass-card{-webkit-backdrop-filter:blur(20px);background:#0c0a1c99;border:1px solid #ffffff1a;border-radius:1.25rem;padding:1.75rem;animation:.5s fadeIn;box-shadow:0 16px 48px #0006}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.card-title{color:#ffffffd9;margin:0 0 1.25rem;font-size:1.1rem;font-weight:700}.hero-card{flex-wrap:wrap;align-items:center;gap:2rem;display:flex}.calorie-ring-wrapper{flex-shrink:0;position:relative}.calorie-ring-svg{display:block}.calorie-ring-text{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.calorie-consumed{font-size:1.5rem;font-weight:800;line-height:1}.calorie-consumed.over{color:#ff6b6b}.calorie-unit{color:#ffffff73;font-size:.65rem}.calorie-label{color:#ffffff59;font-size:.6rem}.hero-stats{flex-wrap:wrap;align-items:center;gap:1.5rem;display:flex}.hero-stat{flex-direction:column;align-items:center;gap:.2rem;display:flex}.hero-stat.over .hero-stat-value{color:#ff6b6b}.hero-stat-value{letter-spacing:-.03em;font-size:1.5rem;font-weight:800}.hero-stat-label{color:#fff6;text-transform:uppercase;letter-spacing:.06em;font-size:.7rem}.hero-divider{background:#ffffff1a;width:1px;height:40px}.macros-card{flex-direction:column;gap:1.25rem;display:flex}.macro-bar{flex-direction:column;gap:.4rem;display:flex}.macro-bar-header{justify-content:space-between;align-items:baseline;display:flex}.macro-bar-label{color:#fffc;font-size:.875rem;font-weight:600}.macro-bar-value{font-size:.875rem;font-weight:700}.macro-bar-value.over{color:#ff6b6b}.macro-bar-target{color:#ffffff59;font-weight:400}.macro-track{background:#ffffff14;border-radius:99px;height:8px;overflow:hidden}.macro-fill{border-radius:99px;min-width:4px;height:100%;transition:width 1s cubic-bezier(.4,0,.2,1)}.macro-remaining{color:#ffffff59;font-size:.75rem}.macro-remaining.over{color:#fca5a5}.macro-note{color:#ffffff40;margin:.25rem 0 0;font-size:.75rem;font-style:italic}.log-empty{color:#ffffff4d;flex-direction:column;align-items:center;gap:.5rem;padding:2rem;display:flex}.log-empty-icon{font-size:2.5rem}.log-list{flex-direction:column;gap:.75rem;display:flex}.log-entry{background:#ffffff0a;border:1px solid #ffffff12;border-radius:.75rem;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.875rem 1rem;transition:background .2s;display:flex}.log-entry:hover{background:#ffffff12}.log-entry-text{color:#fffc;flex:1;font-size:.9rem}.log-entry-macros{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:.5rem;display:flex}.log-tag{border-radius:99px;padding:.25rem .6rem;font-size:.72rem;font-weight:600}.log-tag.cal{color:#c4b5fd;background:#a78bfa33}.log-tag.pro{color:#6ee7b7;background:#34d39926}.log-tag.pending{color:#fde68a;background:#fbbf2426}.dashboard-loading{color:#fff6;background:#0f0f1a;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;font-family:Inter,system-ui,sans-serif;display:flex}.dashboard-error-page{background:#0f0f1a;justify-content:center;align-items:center;min-height:100vh;font-family:Inter,system-ui,sans-serif;display:flex}.dashboard-error-card{text-align:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:1.5rem;width:90%;max-width:400px;padding:3rem 2rem}.error-icon{margin-bottom:1rem;font-size:3rem}.dashboard-error-card h2{margin:0 0 .5rem;font-size:1.25rem}.dashboard-error-card p{color:#ffffff80;margin:0 0 1.5rem;font-size:.9rem}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a78bfa);border:none;border-radius:.75rem;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;transition:opacity .2s}.btn-primary:hover{opacity:.88}@media (width<=500px){.hero-card{flex-direction:column;align-items:flex-start}.hero-stats{gap:1rem}.dash-content{padding:1.5rem 1rem 3rem}.dash-nav{padding:.875rem 1rem}}.journal-page{color:#fff;background-color:#0f0f1a;background-position:50%;background-repeat:no-repeat;background-size:cover;min-height:100vh;font-family:Inter,system-ui,sans-serif;position:relative;overflow-x:hidden}.journal-page:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(135deg,#0a08148c 0%,#3c140580 100%);position:fixed;inset:0}.journal-orb{filter:blur(120px);opacity:.12;pointer-events:none;z-index:0;border-radius:50%;position:fixed}.journal-orb-1{background:#7c3aed;width:500px;height:500px;top:-180px;left:-180px}.journal-orb-2{background:#34d399;width:400px;height:400px;bottom:-150px;right:-150px}.journal-nav{z-index:100;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f0f1ad9;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0}.journal-nav-left{align-items:center;gap:1.25rem;display:flex}.journal-nav-brand{opacity:.7;font-size:1rem;font-weight:700}.nav-back{color:#ffffff80;border:1px solid #ffffff1a;border-radius:.5rem;align-items:center;gap:.3rem;padding:.35rem .75rem;font-size:.85rem;text-decoration:none;transition:all .2s;display:flex}.journal-logout-btn{color:#ffffff8c;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.6rem;padding:.45rem 1rem;font-size:.85rem;transition:all .2s}.journal-logout-btn:hover{color:#fca5a5;background:#ef44441f;border-color:#ef444459}.journal-content{z-index:1;flex-direction:column;gap:1.25rem;max-width:600px;margin:0 auto;padding:2.5rem 1.5rem 4rem;animation:.4s fadeUp;display:flex;position:relative}@keyframes fadeUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.journal-header{margin-bottom:.5rem}.journal-title{letter-spacing:-.03em;text-shadow:0 2px 12px #00000080;margin-bottom:.3rem;font-size:2rem;font-weight:800}.journal-subtitle{color:#ffffffbf;text-shadow:0 1px 8px #000000b3;font-size:.9rem}.journal-card{-webkit-backdrop-filter:blur(20px);background:#0f0c1e8c;border:1px solid #ffffff1f;border-radius:1.25rem;flex-direction:column;gap:1.75rem;padding:2rem;display:flex;box-shadow:0 20px 60px #0006}.form-section{flex-direction:column;gap:.6rem;display:flex}.form-label{color:#ffffff80;text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;font-weight:600}.meal-type-grid{grid-template-columns:repeat(4,1fr);gap:.65rem;display:grid}.meal-type-btn{color:#ffffff8c;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:.875rem;flex-direction:column;align-items:center;gap:.4rem;padding:.875rem .5rem;font-family:inherit;transition:all .2s;display:flex}.meal-type-btn:hover{color:#ffffffd9;background:#ffffff14;border-color:#ffffff2e;transform:translateY(-2px)}.meal-type-btn.active{color:#c4b5fd;background:#7c3aed33;border-color:#a78bfa80;box-shadow:0 0 0 1px #a78bfa40,0 4px 12px #7c3aed33}.meal-type-icon{font-size:1.4rem;line-height:1}.meal-type-label{letter-spacing:.01em;font-size:.78rem;font-weight:600}.journal-textarea{color:#fff;resize:vertical;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.875rem;outline:none;width:100%;padding:.875rem 1rem;font-family:inherit;font-size:.95rem;line-height:1.6;transition:border-color .2s,background .2s}.journal-textarea::placeholder{color:#ffffff38}.journal-textarea:focus{background:#7c3aed0f;border-color:#a78bfa80}.char-count{color:#ffffff40;text-align:right;font-size:.72rem}.journal-status{border-radius:.75rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500}.journal-status.success{color:#6ee7b7;background:#34d3991f;border:1px solid #34d3994d}.journal-status.error{color:#fca5a5;background:#ef44441f;border:1px solid #ef44444d}.journal-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a78bfa);border:none;border-radius:.875rem;justify-content:center;align-items:center;gap:.5rem;width:100%;min-height:50px;padding:.9rem;font-family:inherit;font-size:1rem;font-weight:600;transition:opacity .2s,transform .15s,box-shadow .2s;display:flex}.journal-submit-btn:hover:not(:disabled){opacity:.92;transform:translateY(-1px);box-shadow:0 8px 24px #7c3aed59}.journal-submit-btn:disabled{opacity:.4;cursor:not-allowed}.journal-hint{text-align:center;color:#ffffffa6;text-shadow:0 1px 8px #000c;font-size:.78rem;font-style:italic}@media (width<=480px){.meal-type-grid{grid-template-columns:repeat(2,1fr)}.journal-card{padding:1.5rem}.journal-content{padding:1.5rem 1rem 3rem}.journal-nav{padding:.875rem 1rem}.journal-nav-brand{display:none}}.profile-page{color:#fff;background:#0f0f1a;min-height:100vh;font-family:Inter,system-ui,sans-serif;position:relative;overflow-x:hidden}.profile-orb{filter:blur(120px);opacity:.12;pointer-events:none;z-index:0;border-radius:50%;position:fixed}.profile-orb-1{background:#7c3aed;width:550px;height:550px;top:-200px;right:-200px}.profile-orb-2{background:#34d399;width:400px;height:400px;bottom:-150px;left:-150px}.profile-nav{z-index:100;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f0f1ad9;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0}.profile-nav-left{align-items:center;gap:1.25rem;display:flex}.profile-nav-brand{opacity:.65;font-size:1rem;font-weight:700}.nav-back{color:#ffffff80;border:1px solid #ffffff1a;border-radius:.5rem;padding:.35rem .75rem;font-size:.85rem;text-decoration:none;transition:all .2s}.nav-back:hover{color:#fff;background:#ffffff0d;border-color:#ffffff40}.profile-logout-btn{color:#ffffff8c;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.6rem;padding:.45rem 1rem;font-size:.85rem;transition:all .2s}.profile-logout-btn:hover{color:#fca5a5;background:#ef44441f;border-color:#ef444459}.profile-content{z-index:1;flex-direction:column;gap:1.5rem;max-width:680px;margin:0 auto;padding:2.5rem 1.5rem 5rem;animation:.4s fadeUp;display:flex;position:relative}.profile-header{margin-bottom:.25rem}.profile-title{letter-spacing:-.03em;margin-bottom:.35rem;font-size:1.9rem;font-weight:800}.profile-subtitle{color:#fff6;font-size:.9rem}.profile-form{flex-direction:column;gap:1.25rem;display:flex}.profile-card{background:#ffffff0a;border:1px solid #ffffff14;border-radius:1.25rem;flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.profile-card-title{color:#ffffffbf;align-items:center;gap:.5rem;font-size:.95rem;font-weight:700;display:flex}.optional-tag{color:#ffffff4d;background:#ffffff0f;border-radius:99px;padding:.15rem .5rem;font-size:.7rem;font-weight:500}.metrics-grid{grid-template-columns:1fr 1fr 1fr;gap:.875rem;display:grid}.field-group{flex-direction:column;gap:.4rem;display:flex}.field-label{color:#ffffff73;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:600}.field-input{color:#fff;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.75rem;outline:none;width:100%;padding:.7rem .875rem;font-family:inherit;font-size:.95rem;transition:border-color .2s,background .2s}.field-input::placeholder{color:#ffffff38}.field-input:focus{background:#7c3aed0f;border-color:#a78bfa80}.option-grid{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.option-btn{text-align:left;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:.875rem;flex-direction:column;gap:.25rem;padding:.875rem 1rem;font-family:inherit;transition:all .2s;display:flex}.option-btn:hover{background:#ffffff14;border-color:#ffffff2e}.option-btn.active{background:#7c3aed33;border-color:#a78bfa80;box-shadow:0 0 0 1px #a78bfa33}.option-label{color:#ffffffd9;font-size:.9rem;font-weight:600}.option-desc{color:#fff6;font-size:.75rem}.option-btn.active .option-label{color:#c4b5fd}.activity-list{flex-direction:column;gap:.5rem;display:flex}.activity-btn{text-align:left;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:.75rem;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;font-family:inherit;transition:all .2s;display:flex}.activity-btn:hover{background:#ffffff12;border-color:#ffffff26}.activity-btn.active{background:#7c3aed2e;border-color:#a78bfa73}.activity-label{color:#ffffffd9;font-size:.875rem;font-weight:600}.activity-desc{color:#fff6;font-size:.775rem}.activity-btn.active .activity-label{color:#c4b5fd}.profile-status{border-radius:.75rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500}.profile-status.success{color:#6ee7b7;background:#34d3991f;border:1px solid #34d3994d}.profile-status.error{color:#fca5a5;background:#ef44441f;border:1px solid #ef44444d}.profile-hint{color:#ffffff4d;text-align:center;font-size:.78rem;font-style:italic}.profile-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a78bfa);border:none;border-radius:.875rem;justify-content:center;align-items:center;gap:.5rem;width:100%;min-height:50px;padding:.9rem;font-family:inherit;font-size:1rem;font-weight:600;transition:opacity .2s,transform .15s,box-shadow .2s;display:flex}.profile-submit-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px);box-shadow:0 8px 24px #7c3aed59}.profile-submit-btn:disabled{opacity:.38;cursor:not-allowed}.btn-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin}.profile-loading{color:#fff6;background:#0f0f1a;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;font-family:Inter,system-ui,sans-serif;display:flex}.profile-spinner{border:3px solid #a78bfa33;border-top-color:#a78bfa;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@media (width<=540px){.metrics-grid{grid-template-columns:1fr 1fr}.option-grid{grid-template-columns:1fr}.activity-btn{flex-direction:column;align-items:flex-start}.profile-content{padding:1.5rem 1rem 4rem}.profile-nav{padding:.875rem 1rem}.profile-nav-brand{display:none}}:root{--sidebar-width:240px;--topbar-height:60px;--bg-base:#0b0d14;--bg-surface:#111420;--bg-elevated:#181c2e;--bg-hover:#1e2238;--border:#ffffff12;--border-accent:#6366f166;--text-primary:#f1f5f9;--text-secondary:#f1f5f98c;--text-muted:#f1f5f959;--accent:#6366f1;--accent-hover:#818cf8;--green:#22c55e;--red:#ef4444;--orange:#f97316;--purple:#a855f7;--blue:#3b82f6;--gray:#6b7280;--radius:.75rem;--radius-sm:.5rem;--font:"Inter", system-ui, -apple-system, sans-serif}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg-base);color:var(--text-primary);font-family:var(--font)}.admin-layout{background:var(--bg-base);min-height:100vh;display:flex}.admin-sidebar{width:var(--sidebar-width);background:var(--bg-surface);border-right:1px solid var(--border);z-index:100;flex-direction:column;transition:transform .25s;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-brand{border-bottom:1px solid var(--border);min-height:var(--topbar-height);align-items:center;gap:.75rem;padding:1.25rem 1.25rem 1rem;display:flex}.sidebar-brand__icon{font-size:1.4rem}.sidebar-brand__text{color:var(--text-primary);letter-spacing:-.01em;font-size:.95rem;font-weight:700}.sidebar-nav{flex-direction:column;flex:1;gap:2px;padding:1rem .75rem;display:flex;overflow-y:auto}.sidebar-nav__item{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.75rem;width:100%;padding:.65rem .85rem;font-size:.875rem;font-weight:500;transition:background .15s,color .15s;display:flex}.sidebar-nav__item:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar-nav__item--active{color:var(--accent-hover);background:#6366f126;border:1px solid #6366f133}.sidebar-nav__icon{font-size:1rem}.sidebar-nav__label{font-size:.875rem}.sidebar-footer{border-top:1px solid var(--border);padding:1rem .75rem}.sidebar-logout-btn{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;color:var(--text-secondary);cursor:pointer;background:0 0;align-items:center;gap:.75rem;padding:.65rem .85rem;font-size:.875rem;transition:background .15s,color .15s,border-color .15s;display:flex}.sidebar-logout-btn:hover{color:#f87171;background:#ef44441a;border-color:#ef44444d}.sidebar-overlay{z-index:99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0009;display:none;position:fixed;inset:0}.admin-main{margin-left:var(--sidebar-width);flex-direction:column;flex:1;min-height:100vh;display:flex}.admin-topbar{z-index:50;height:var(--topbar-height);background:var(--bg-surface);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);align-items:center;gap:1rem;padding:0 1.5rem;display:flex;position:sticky;top:0}.topbar-menu-btn{cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;flex-direction:column;justify-content:center;gap:4px;padding:6px;display:none}.topbar-menu-btn:hover{background:var(--bg-hover)}.hamburger,.hamburger:before,.hamburger:after{background:var(--text-secondary);border-radius:2px;width:18px;height:2px;display:block}.topbar-title{color:var(--text-primary);flex:1;font-size:1rem;font-weight:600}.topbar-right{align-items:center;gap:.75rem;display:flex}.topbar-refresh-btn{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;background:0 0;padding:.4rem .6rem;font-size:.875rem;transition:background .15s}.topbar-refresh-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.topbar-admin-badge{background:#6366f11a;border:1px solid #6366f133;border-radius:2rem;align-items:center;gap:.5rem;padding:.35rem .75rem .35rem .35rem;display:flex}.topbar-admin-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#a855f7);border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:.75rem;font-weight:700;display:flex}.topbar-admin-label{color:var(--accent-hover);font-size:.8rem;font-weight:500}.admin-content{flex:1;padding:1.5rem;overflow-x:hidden}.admin-error-banner{border-radius:var(--radius-sm);color:#fca5a5;background:#ef44441a;border:1px solid #ef444440;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.error-close{color:inherit;cursor:pointer;opacity:.6;background:0 0;border:none;font-size:1rem}.error-close:hover{opacity:1}.admin-loading{color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:4rem;display:flex}.loading-spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:36px;height:36px;animation:.7s linear infinite spin}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin-bottom:1.75rem;display:grid}.stat-card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);align-items:center;gap:1rem;padding:1.25rem;transition:transform .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden}.stat-card:before{content:"";height:2px;position:absolute;inset:0 0 auto}.stat-card--blue:before{background:var(--blue)}.stat-card--green:before{background:var(--green)}.stat-card--purple:before{background:var(--purple)}.stat-card--orange:before{background:var(--orange)}.stat-card--red:before{background:var(--red)}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000004d}.stat-card__icon{font-size:1.75rem;line-height:1}.stat-card__body{flex-direction:column;gap:.2rem;display:flex}.stat-card__value{color:var(--text-primary);font-size:1.6rem;font-weight:700;line-height:1}.stat-card__label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:500}.overview-tables{flex-direction:column;gap:1.25rem;display:flex}.overview-table-card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.section-title{color:var(--text-secondary);border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.05em;padding:1rem 1.25rem;font-size:.875rem;font-weight:600}.tab-section{flex-direction:column;gap:1rem;display:flex}.table-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.search-input{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);outline:none;width:280px;padding:.55rem 1rem;font-size:.875rem;transition:border-color .2s}.search-input:focus{border-color:var(--border-accent)}.search-input::placeholder{color:var(--text-muted)}.table-count{color:var(--text-muted);background:var(--bg-elevated);border:1px solid var(--border);white-space:nowrap;border-radius:2rem;padding:.35rem .75rem;font-size:.8rem}.table-wrapper{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:.875rem}.th{text-align:left;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--border);white-space:nowrap;background:var(--bg-surface);padding:.75rem 1rem;font-size:.75rem;font-weight:600}.td{border-bottom:1px solid var(--border);color:var(--text-primary);vertical-align:middle;padding:.85rem 1rem}.table-row:last-child .td{border-bottom:none}.table-row:hover .td{background:var(--bg-hover)}.table-row--inactive .td{opacity:.55}.table-empty{text-align:center;color:var(--text-muted);padding:3rem;font-size:.875rem}.user-id{color:var(--text-muted);font-size:.8rem}.user-email-cell{align-items:center;gap:.65rem;display:flex}.user-avatar{background:linear-gradient(135deg, var(--accent), var(--purple));color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.75rem;font-weight:700;display:inline-flex}.user-email{font-size:.875rem}.text-muted{color:var(--text-muted)}.text-accent{color:var(--accent-hover)}.badge{letter-spacing:.03em;border-radius:2rem;padding:.2rem .6rem;font-size:.72rem;font-weight:600;display:inline-block}.badge--green{color:#4ade80;background:#22c55e26;border:1px solid #22c55e40}.badge--red{color:#f87171;background:#ef444426;border:1px solid #ef444440}.badge--purple{color:#c084fc;background:#a855f726;border:1px solid #a855f740}.badge--gray{color:#9ca3af;background:#6b728026;border:1px solid #6b728040}.pill{border-radius:var(--radius-sm);padding:.15rem .5rem;font-size:.8rem;font-weight:500;display:inline-block}.pill--orange{color:#fb923c;background:#f9731626}.pill--blue{color:#60a5fa;background:#3b82f626}.row-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.action-btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;align-items:center;gap:.3rem;padding:.3rem .65rem;font-size:.78rem;font-weight:500;transition:opacity .15s,transform .1s;display:inline-flex}.action-btn:hover{opacity:.85;transform:translateY(-1px)}.action-btn--warn{color:#fbbf24;background:#f59e0b26;border-color:#f59e0b4d}.action-btn--green{color:#4ade80;background:#22c55e26;border-color:#22c55e4d}.action-btn--danger{color:#f87171;background:#ef444426;border-color:#ef44444d}.action-btn--ghost{background:var(--bg-hover);border-color:var(--border);color:var(--text-secondary)}.confirm-row{align-items:center;gap:.35rem;display:flex}.confirm-text{color:var(--text-muted);font-size:.78rem}.entry-text{color:var(--text-primary);max-width:300px;font-size:.85rem;display:block}@media (width<=768px){.admin-sidebar{transform:translate(-100%)}.admin-sidebar--open{transform:translate(0)}.sidebar-overlay{display:block}.admin-main{margin-left:0}.topbar-menu-btn{display:flex}.admin-content{padding:1rem}.stats-grid{grid-template-columns:repeat(2,1fr)}.search-input{width:100%}.table-header{flex-direction:column;align-items:flex-start}}@media (width<=480px){.stats-grid{grid-template-columns:1fr}}
