@import"https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap";.navbar{position:sticky;top:0;z-index:40;padding:.75rem 1.5rem;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--color-border);transition:transform .25s ease,opacity .25s ease}body[data-theme=light] .navbar{background:#ffffffd9;box-shadow:0 18px 48px #0c12261f}body[data-theme=dark] .navbar{background:#0b1023c7;box-shadow:0 18px 48px #0009}.navbar--hidden{transform:translateY(-120%);opacity:0}.navbar__container{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:1400px;margin:0 auto}.navbar__brand{display:flex;align-items:center;gap:1rem;flex-shrink:0}.navbar__logo{text-decoration:none;display:flex;align-items:center;gap:.75rem;color:var(--color-ink)}.navbar__logo-image{height:48px;width:auto;object-fit:contain}.navbar__title-group{display:flex;flex-direction:column;line-height:1.1}.navbar__title-text{font-weight:800;font-size:1.35rem;letter-spacing:-.03em;color:#fff}body[data-theme=light] .navbar__title-text{color:#1e293b}.navbar__title-text .brand-dot{color:var(--color-primary)}.navbar__toggle{display:none;padding:.5rem 1rem;border-radius:12px;border:1px solid var(--color-border);background:var(--color-panel);color:var(--color-ink);cursor:pointer}.navbar__content{display:flex;align-items:center;justify-content:space-between;flex:1;gap:1.5rem}.navbar__content--static{max-height:none!important;opacity:1!important;pointer-events:auto!important;margin-top:0!important;padding-top:0!important;border-top:none!important;justify-content:flex-end!important}.navbar__links{display:flex;gap:.5rem;align-items:center}.navbar__links a{text-decoration:none;color:var(--color-ink);font-weight:600;padding:.5rem 1rem;border-radius:999px;transition:all .2s ease;font-size:.95rem}.navbar__links a:hover{background:#5e30eb14;color:var(--color-primary)}.navbar__right{display:flex;align-items:center;gap:1rem}.navbar__right--visitor{justify-content:flex-end}.navbar__search{display:flex;align-items:center;gap:.5rem}.navbar__search input{padding:.5rem 1rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-ink);width:200px;font-size:.9rem}.navbar__search button{display:none}.navbar__actions{display:flex;align-items:center;gap:.75rem}.navbar__theme{border:1px solid var(--color-border);background:transparent;color:var(--color-ink);border-radius:999px;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;font-size:1.1rem}.navbar__theme:hover{background:var(--color-bg-subtle)}.navbar__ghost-link{text-decoration:none;color:var(--color-ink);font-weight:600;padding:.5rem 1rem;border-radius:999px;transition:color .2s ease}.navbar__ghost-link:hover{color:var(--color-primary)}.navbar__cta-btn{text-decoration:none;border-radius:999px;padding:.5rem 1.25rem;background:var(--gradient-accent);color:#fff;font-weight:700;font-size:.95rem;box-shadow:0 4px 12px #5e30eb40;transition:transform .2s ease}.navbar__cta-btn:hover{transform:translateY(-1px)}.navbar__logout{border:none;background:#ef44441a;color:#ef4444;border-radius:999px;padding:.5rem 1.25rem;cursor:pointer;font-weight:600;font-size:.95rem}@media(max-width:1024px){.navbar__search input{width:160px}}@media(max-width:960px){.navbar{padding:1rem;position:fixed;width:100%;left:0;right:0}.navbar__container{flex-direction:column;align-items:stretch;gap:0}.navbar__brand{justify-content:space-between;width:100%}.navbar__toggle{display:block}.navbar__content{flex-direction:column;align-items:stretch;gap:1.5rem;max-height:0;overflow:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1);opacity:0;pointer-events:none}.navbar__content.is-open{max-height:500px;opacity:1;pointer-events:auto;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.navbar__links{flex-direction:column;align-items:stretch;gap:.5rem}.navbar__links a{padding:.75rem 1rem;border-radius:12px;background:var(--color-bg-subtle)}.navbar__right{flex-direction:column;align-items:stretch;gap:1rem}.navbar__search input{width:100%;padding:.75rem 1rem}.navbar__actions{justify-content:space-between}.navbar__cta-btn,.navbar__logout{flex:1;text-align:center}.navbar__container--visitor{flex-direction:row;align-items:center}.navbar__container--visitor .navbar__brand{width:auto}.navbar__container--visitor .navbar__toggle{display:none}.navbar__container--visitor .navbar__content{flex-direction:row;align-items:center;gap:1rem;max-height:none;opacity:1;pointer-events:auto;margin-top:0;padding-top:0;border-top:none}.navbar__container--visitor .navbar__right{flex-direction:row;width:auto}}.footer{padding:1.5rem;display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:center;color:#eef2ff;background:linear-gradient(135deg,#0b1023,#6b4bff);margin-top:2rem;border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg);box-shadow:0 -10px 35px #050c1c8c}.footer__links{display:flex;flex-wrap:wrap;gap:.75rem}.footer__links a{color:#eef2ff;text-decoration:underline;font-size:.9rem}.app-sidebar{position:fixed;left:0;top:0;height:100vh;width:72px;background:var(--color-glass);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-right:1px solid var(--color-border);display:flex;flex-direction:column;padding:16px 0;z-index:100;transition:width .25s ease,transform .25s ease}.app-sidebar:hover{width:200px}.app-sidebar__profile{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 8px 16px;border-radius:var(--radius-sm);text-decoration:none;color:var(--color-ink);transition:background .2s}.app-sidebar__profile:hover{background:var(--color-border)}.app-sidebar__avatar{width:40px;height:40px;min-width:40px;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff}.app-sidebar__username{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .2s}.app-sidebar:hover .app-sidebar__username{opacity:1}.app-sidebar__nav{flex:1;display:flex;flex-direction:column;gap:4px;padding:0 8px;overflow-y:auto}.app-sidebar__link{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:var(--radius-sm);text-decoration:none;color:var(--color-ink-soft);font-size:14px;font-weight:500;transition:all .2s;border:none;background:none;cursor:pointer;width:100%;text-align:left}.app-sidebar__link:hover{background:var(--color-border);color:var(--color-ink)}.app-sidebar__link.active{background:var(--gradient-accent);color:#fff}.app-sidebar__icon{width:24px;height:24px;min-width:24px;display:flex;align-items:center;justify-content:center}.app-sidebar__icon svg{width:20px;height:20px}.app-sidebar__label{white-space:nowrap;opacity:0;transition:opacity .2s}.app-sidebar:hover .app-sidebar__label{opacity:1}.app-sidebar__footer{display:flex;flex-direction:column;gap:4px;padding:16px 8px 8px;border-top:1px solid var(--color-border);margin-top:auto}.app-sidebar__logout{color:#ef4444}.app-sidebar__logout:hover{background:#ef44441a;color:#ef4444}.app-sidebar__mobile-toggle{display:none;position:fixed;top:16px;left:16px;z-index:101;width:44px;height:44px;border-radius:var(--radius-sm);background:var(--color-glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border);color:var(--color-ink);cursor:pointer;align-items:center;justify-content:center}.app-sidebar__mobile-toggle svg{width:24px;height:24px}.app-sidebar__backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99}@media(max-width:768px){.app-sidebar{transform:translate(-100%);width:240px}.app-sidebar--open{transform:translate(0)}.app-sidebar:hover{width:240px}.app-sidebar__username,.app-sidebar__label{opacity:1}.app-sidebar__mobile-toggle{display:flex}.app-sidebar__backdrop{display:block}}.lp-roadmap-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center}.lp-roadmap-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172ab3}.lp-roadmap-modal__dialog{position:relative;max-width:720px;width:100%;margin:0 1rem;background:#020617;color:#e2e8f0;border-radius:1rem;padding:1.5rem 1.75rem 1.75rem;box-shadow:0 30px 80px #0f172acc}.lp-roadmap-modal__header h2{margin-top:.25rem;margin-bottom:.5rem}.lp-roadmap-modal__eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#38bdf8}.lp-roadmap-modal__today{margin-top:.5rem;font-size:.9rem;color:#a5b4fc}.lp-roadmap-modal__grid{margin-top:1.25rem;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem}.lp-roadmap-modal__day{border:none;border-radius:.75rem;padding:.35rem .25rem;background:#020617;color:#e5e7eb;font-size:.7rem;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 0 0 1px #94a3b866}.lp-roadmap-modal__day--today{box-shadow:0 0 0 2px #38bdf8}.lp-roadmap-modal__day--claimed{background:#0f172a}.lp-roadmap-modal__day--boost{box-shadow:0 0 0 2px #f97316}.lp-roadmap-modal__day-number{font-weight:600}.lp-roadmap-modal__day-reward{margin-top:.1rem}.lp-roadmap-modal__day-boost{margin-top:.15rem;font-size:.65rem;color:#fed7aa}.lp-roadmap-modal__hint{margin-top:.75rem;font-size:.8rem;color:#9ca3af}.lp-roadmap-modal__footer{margin-top:1rem;display:flex;justify-content:flex-end}.lp-roadmap-modal__primary{border:none;border-radius:999px;padding:.5rem 1.1rem;background:linear-gradient(90deg,#38bdf8,#a855f7);color:#0b1120;font-weight:600;cursor:pointer}.landing-page{display:flex;flex-direction:column;gap:4rem;min-height:100vh;padding:1rem 1rem 4rem;background:radial-gradient(circle at top,#1e1b4b,#0f172a);font-family:Outfit,sans-serif}body[data-theme=light] .landing-page{background:linear-gradient(180deg,#e8f0f7,#f5f3ff)}.landing-hero{min-height:72vh;display:flex;align-items:flex-start;justify-content:center;text-align:center;background:linear-gradient(135deg,#2e1065,#1e1b4b,#0f172a);border-radius:32px;position:relative;overflow:hidden;padding:4rem 1.5rem 2rem;box-shadow:0 20px 50px #00000080;border:1px solid rgba(255,255,255,.1)}body[data-theme=light] .landing-hero{background:linear-gradient(135deg,#e0e7ff,#ddd6fe,#f5f3ff);box-shadow:0 20px 50px #0000001a;border:1px solid rgba(139,92,246,.2)}.lse-modal__panel{background:linear-gradient(135deg,#1e1b4b,#0f172a);border-radius:32px;padding:0;width:90%;max-width:1000px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 25px 50px -12px #00000080;border:1px solid rgba(255,255,255,.1)}.landing-hero:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(139,92,246,.15) 0%,transparent 60%);animation:pulse 12s infinite alternate;pointer-events:none}@keyframes pulse{0%{transform:scale(1);opacity:.5}to{transform:scale(1.1);opacity:.8}}.landing-hero__content{position:relative;z-index:2;max-width:1000px;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.75rem;padding:0;line-height:1.1}.landing-hero__wordmark{font-size:clamp(3.15rem,6.3vw,4.95rem);line-height:1.1;margin-bottom:.15rem;margin-top:-38.36px;color:#fff;font-weight:450;letter-spacing:-.03em;text-shadow:0 4px 12px rgba(0,0,0,.3)}.landing-hero__tagline{font-weight:700;letter-spacing:.1em;margin-top:.35rem;font-size:clamp(1.2rem,2.5vw,1.8rem);color:#c4b5fd;text-transform:uppercase}.landing-hero__logo{width:clamp(240px,50vw,450px);height:auto;display:block;margin:1rem auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.5));transition:transform .3s ease}.landing-hero__logo:hover{transform:scale(1.02)}.landing-hero__powered{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;margin:.5rem 0 .75rem;font-size:clamp(1rem,2vw,1.25rem);color:#e2e8f0;font-weight:500}.landing-hero__powered-label{font-size:.9em;opacity:.8}.landing-hero__powered-brand{display:flex;align-items:center;gap:.75rem}.landing-hero__pi-badge{height:32px;width:auto}.landing-hero__intro{max-width:800px;margin:1rem auto 0}@media(max-width:768px){.landing-hero__content{transform:translateY(-1em)}.landing-hero__intro{margin-top:4rem}}@media(max-width:1920px),(max-height:1100px){.landing-hero{min-height:68vh;padding:1.25rem 1.25rem 1.75rem}.landing-hero__content{gap:.6rem}.landing-hero__wordmark{margin-top:-28px}.landing-hero__logo{margin:.75rem auto}.landing-hero__powered{margin:.35rem 0 .6rem}.landing-hero__intro{margin-top:.75rem}}.landing-hero__lead{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700;color:#fff;line-height:1.3}.landing-hero__lead-sub{font-size:clamp(1.1rem,2vw,1.4rem);color:#cbd5e1;margin-top:1rem;font-weight:400;line-height:1.6}.landing-hero__quote{margin-top:2.5rem;font-style:italic;color:#a5b4fc;font-size:clamp(1.3rem,2.5vw,1.8rem);background:#ffffff0d;padding:2rem;border-radius:20px;border:1px solid rgba(255,255,255,.1);line-height:1.6;max-width:900px;margin-left:auto;margin-right:auto}.landing-hero__quote footer{font-style:normal;margin-top:1rem;color:#94a3b8;font-weight:600;font-size:clamp(1rem,2vw,1.2rem)}.landing-section{padding:0 1.5rem;max-width:1280px;margin:0 auto;width:100%}.landing-section h2{font-size:clamp(2.5rem,5vw,3.5rem);text-align:center;margin-bottom:4rem;color:#fff;font-weight:700;letter-spacing:-.02em}.landing-summary{text-align:center;max-width:900px;margin:0 auto 1.5rem;font-size:clamp(1.15rem,2vw,1.4rem);color:#cbd5e1;line-height:1.8}.audience-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem}.audience-card{background:#1e293b66;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:2.5rem;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.audience-card:hover{transform:translateY(-8px);background:#1e293b99;border-color:#8b5cf666;box-shadow:0 20px 40px #0003}.audience-card h3{color:#c4b5fd;margin-bottom:1.5rem;font-size:1.75rem;font-weight:700}.audience-card ul{list-style:none;padding:0;margin:0}.audience-card li{color:#e2e8f0;margin-bottom:.75rem;padding-left:1.75rem;position:relative;line-height:1.6;font-size:clamp(1.05rem,1.5vw,1.2rem)}.audience-card li:before{content:"→";color:#8b5cf6;position:absolute;left:0;font-weight:700}.why-content{display:flex;flex-direction:column;gap:3rem;margin-top:4rem}.why-item{display:flex;flex-direction:column;background:linear-gradient(160deg,#1e1b4b,#0f172a);border-radius:32px;border:1px solid rgba(139,92,246,.2);box-shadow:0 30px 60px #0006;overflow:hidden;transition:transform .3s ease}.why-item:hover{transform:translateY(-5px)}.why-item__media{min-height:60px;background:radial-gradient(circle at top right,rgba(139,92,246,.2),transparent),linear-gradient(135deg,#2e1065,#1e1b4b);display:flex;align-items:flex-end;justify-content:flex-start;padding:1rem;color:#ffffffe6;font-size:.85rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}.why-item__media--kids{background:radial-gradient(circle at top right,rgba(14,165,233,.2),transparent),linear-gradient(135deg,#0c4a6e,#0f172a)}.why-item__media--lp{background:radial-gradient(circle at top right,rgba(249,115,22,.2),transparent),linear-gradient(135deg,#431407,#0f172a)}.why-item__body{padding:3rem;text-align:left;max-width:100%}.why-item__body h3{color:#fff;margin-bottom:1.25rem;font-size:2rem;font-weight:700}.why-item__body p{color:#cbd5e1;line-height:1.8;font-size:clamp(1.1rem,1.8vw,1.3rem)}.lse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.lse-card{background:linear-gradient(145deg,#1e1b4b,#0f172a);border-radius:28px;border:1px solid rgba(255,255,255,.08);padding:2.5rem;display:flex;flex-direction:column;justify-content:space-between;gap:2rem;box-shadow:0 20px 40px #0000004d;transition:all .3s ease}.lse-card:hover{transform:translateY(-5px);border-color:#8b5cf64d;box-shadow:0 30px 60px #8b5cf626}.lse-card__eyebrow{font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;color:#a5b4fc;margin-bottom:.75rem;font-weight:600}.lse-card h3{margin:0 0 1rem;color:#fff;font-size:1.75rem;font-weight:700}.lse-card p{color:#cbd5e1;line-height:1.6;font-size:clamp(1.05rem,1.5vw,1.2rem)}.lse-card button{align-self:flex-start;padding:.9rem 1.8rem;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:#ffffff0d;color:#fff;font-weight:600;transition:all .2s ease;cursor:pointer;font-family:Outfit,sans-serif}.lse-card button:hover{background:#8b5cf633;border-color:#8b5cf699;transform:translate(4px)}.lse-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172ae6;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.lse-modal__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:1.5rem}.lse-modal__eyebrow{text-transform:uppercase;letter-spacing:.1em;color:#a5b4fc;font-size:.9rem;margin-bottom:.5rem;font-weight:600}.lse-modal__header h3{font-size:2rem;color:#fff;margin:0;line-height:1.2}.lse-modal__close{border:none;background:#ffffff1a;color:#fff;border-radius:999px;padding:.75rem 1.5rem;cursor:pointer;font-weight:600;transition:background .2s;font-family:Outfit,sans-serif}.lse-modal__close:hover{background:#fff3}.lse-modal__body h4{margin-top:2rem;font-size:1.25rem;color:#fff;font-weight:700}.lse-modal__body p{color:#cbd5e1;line-height:1.7;font-size:1.05rem;margin-bottom:1rem}.lse-modal__body ul{margin:1rem 0;color:#e2e8f0;padding-left:1.5rem}.lse-modal__body li{margin-bottom:.75rem;line-height:1.6}.lse-modal__footer{margin-top:2.5rem;font-weight:600;color:#a5b4fc;background:#8b5cf61a;padding:1.5rem;border-radius:16px;border:1px solid rgba(139,92,246,.2)}.landing-rewards{text-align:center}.rewards-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:2rem;font-size:1.25rem;color:#fff;font-weight:600}.rewards-list li{background:#ffffff0d;padding:1.25rem 2.5rem;border-radius:99px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease}.rewards-list li:hover{background:#ffffff1a;transform:translateY(-3px);border-color:#8b5cf64d}.landing-pi{background:none;padding:0 1.5rem 6rem}.pi-card{max-width:1100px;margin:0 auto;background:linear-gradient(135deg,#1e1b4b,#0f172a);border-radius:36px;padding:4rem 3rem;box-shadow:0 40px 100px #0009;border:1px solid rgba(139,92,246,.2)}.pi-card__header{text-align:center;margin-bottom:3rem}.pi-logo-large{width:120px;margin-bottom:1rem;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3))}.pi-card__columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:3rem}.pi-card__column h3{color:#fff;display:flex;align-items:center;gap:.75rem;font-size:1.5rem;margin-bottom:1.5rem}.pi-inline-logo{height:28px;width:auto}.pi-card__column ol{padding-left:1.5rem;color:#f0f4ff}.pi-card__column li{margin-bottom:1.5rem;font-size:clamp(1.05rem,1.5vw,1.2rem)}.pi-card__column p{color:#cbd5e1;margin:.5rem 0 0;line-height:1.7;font-size:clamp(1rem,1.5vw,1.15rem)}.pi-card__column ul{margin:.75rem 0 .75rem 1.2rem;color:#dee7ff}.pi-card__column a{color:#a5b4fc;margin-left:.3rem;text-decoration:none;border-bottom:1px solid rgba(165,180,252,.4);transition:border-color .2s}.pi-card__column a:hover{border-color:#a5b4fc}.pi-card__summary{margin-top:2rem;color:#e2e8f0;font-weight:600;padding:1.5rem;background:#ffffff0d;border-radius:16px}.pi-info-banner{max-width:1100px;margin:2rem auto 0;background:#0f172acc;border-radius:20px;padding:2rem;border:1px solid rgba(255,255,255,.1);color:#cbd5e1;text-align:center}.pi-info-banner h4{margin-bottom:.75rem;color:#fff;font-size:1.2rem}.landing-cta{text-align:center;padding:6rem 1.5rem;background:linear-gradient(to bottom,transparent,rgba(46,16,101,.2))}.landing-cta h2{font-size:clamp(2.5rem,5vw,4rem);margin-bottom:1.5rem;color:#fff;font-weight:800;letter-spacing:-.02em}.landing-cta p{max-width:700px;margin:0 auto 3.5rem;color:#cbd5e1;font-size:1.35rem;line-height:1.6}.cta-buttons{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.btn-large{padding:1.25rem 3rem;font-size:1.2rem;border-radius:99px;text-decoration:none;font-weight:700;transition:all .3s ease;font-family:Outfit,sans-serif}.btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 15px 30px #6366f14d}.btn-primary:hover{transform:translateY(-3px);box-shadow:0 20px 40px #6366f166;filter:brightness(1.1)}.btn-secondary{background:#ffffff0d;color:#fff;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.btn-secondary:hover{background:#ffffff1a;border-color:#fff6;transform:translateY(-3px)}body[data-theme=light] .landing-hero__wordmark{color:#1e293b;text-shadow:0 2px 8px rgba(0,0,0,.1)}body[data-theme=light] .landing-hero__tagline{color:#475569}body[data-theme=light] .landing-hero__powered{color:#64748b}body[data-theme=light] .landing-hero__powered-brand,body[data-theme=light] .landing-hero__lead{color:#1e293b}body[data-theme=light] .landing-hero__lead-sub{color:#475569}body[data-theme=light] .landing-hero__quote{color:#6366f1;background:#6366f10d;border:1px solid rgba(99,102,241,.2)}body[data-theme=light] .landing-hero__quote footer{color:#64748b}body[data-theme=light] .landing-section h2{color:#1e293b}body[data-theme=light] .landing-section p,body[data-theme=light] .landing-summary{color:#475569}body[data-theme=light] .audience-card{background:#fffc;border:1px solid rgba(139,92,246,.2);box-shadow:0 4px 12px #00000014}body[data-theme=light] .audience-card h3{color:#1e293b}body[data-theme=light] .audience-card li{color:#475569}body[data-theme=light] .audience-card:hover{background:#fffffff2;border-color:#8b5cf666;box-shadow:0 8px 24px #0000001f}body[data-theme=light] .why-item{background:#ffffffb3;border:1px solid rgba(139,92,246,.2)}body[data-theme=light] .why-item h3{color:#1e293b}body[data-theme=light] .why-item p{color:#475569}body[data-theme=light] .why-item__media{background:linear-gradient(135deg,#e0e7ff,#ddd6fe);color:#6366f1}body[data-theme=light] .lse-card{background:#fffc;border:1px solid rgba(139,92,246,.2)}body[data-theme=light] .lse-card h3{color:#1e293b}body[data-theme=light] .lse-card p,body[data-theme=light] .lse-card__eyebrow{color:#475569}body[data-theme=light] .lse-card button{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}body[data-theme=light] .lse-card button:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed)}body[data-theme=light] .lse-modal{background:#0f172a4d}body[data-theme=light] .lse-modal__panel{background:linear-gradient(135deg,#f8fafc,#f5f3ff);border:1px solid rgba(139,92,246,.3);box-shadow:0 25px 50px -12px #00000040}body[data-theme=light] .lse-modal__eyebrow{color:#6366f1}body[data-theme=light] .lse-modal__panel h3,body[data-theme=light] .lse-modal__panel h4{color:#1e293b}body[data-theme=light] .lse-modal__panel p,body[data-theme=light] .lse-modal__panel li{color:#475569}body[data-theme=light] .lse-modal__close{background:#64748b1a;color:#475569}body[data-theme=light] .lse-modal__close:hover{background:#64748b33}body[data-theme=light] .lse-modal__footer{color:#64748b;background:#6366f10d}body[data-theme=light] .rewards-list li{color:#475569;background:#fff9;border:1px solid rgba(139,92,246,.2)}body[data-theme=light] .pi-card{background:linear-gradient(135deg,#f8fafc,#f5f3ff);border:1px solid rgba(139,92,246,.3);box-shadow:0 20px 50px #0000001a}body[data-theme=light] .pi-card__column h3{color:#1e293b}body[data-theme=light] .pi-card__column p,body[data-theme=light] .pi-card__column li{color:#475569}body[data-theme=light] .pi-card__column a{color:#6366f1;border-bottom-color:#6366f166}body[data-theme=light] .pi-card__column a:hover{border-bottom-color:#6366f1}body[data-theme=light] .pi-card__summary{color:#1e293b}body[data-theme=light] .pi-info-banner{background:#6366f10d;border:1px solid rgba(99,102,241,.2)}body[data-theme=light] .pi-info-banner h4{color:#1e293b}body[data-theme=light] .pi-info-banner p{color:#d1d7ff}.pi-security-warning{max-width:1100px;margin:1.5rem auto 0;background:linear-gradient(135deg,#dc262626,#7f1d1d26);border-radius:20px;padding:1.5rem;border:2px solid rgba(239,68,68,.5);display:flex;gap:1.5rem;align-items:flex-start;box-shadow:0 4px 12px #dc262633}.pi-security-warning__icon{font-size:2.5rem;flex-shrink:0;line-height:1}.pi-security-warning__content h4{color:#fca5a5;margin-bottom:.75rem;font-size:1.25rem;font-weight:700}.pi-security-warning__content p{color:#fecaca;line-height:1.7;margin:0}.pi-security-warning__content strong{color:#fee2e2;font-weight:700}body[data-theme=light] .pi-security-warning{background:linear-gradient(135deg,#fee2e2e6,#fecacae6);border-color:#dc262666}body[data-theme=light] .pi-security-warning__content h4{color:#991b1b}body[data-theme=light] .pi-security-warning__content p{color:#7f1d1d}body[data-theme=light] .pi-security-warning__content strong{color:#991b1b}body[data-theme=light] .landing-cta{background:linear-gradient(to bottom,transparent,rgba(99,102,241,.05))}body[data-theme=light] .landing-cta h2{color:#1e293b}body[data-theme=light] .landing-cta p{color:#475569}body[data-theme=light] .btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 10px 25px #6366f14d}body[data-theme=light] .btn-primary:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 15px 35px #6366f166}body[data-theme=light] .btn-secondary{background:#64748b1a;color:#1e293b;border:1px solid rgba(100,116,139,.3)}body[data-theme=light] .btn-secondary:hover{background:#64748b26;border-color:#64748b66}@media(max-width:768px){.landing-page{padding:1rem .5rem 3rem;gap:3rem}.landing-section{padding:0 .5rem}.landing-hero{margin-top:4rem;padding:8.5rem 1rem 2rem;min-height:auto;border-radius:24px;margin-left:.5rem;margin-right:.5rem}.landing-hero__wordmark{font-size:3rem}.landing-hero__logo{width:80%;margin:1.5rem auto}.landing-hero__intro{margin-top:4rem}.landing-section h2{font-size:2rem;margin-bottom:2.5rem}.why-item{margin-left:.5rem;margin-right:.5rem;padding:1.5rem}.audience-grid{padding:0 .5rem;gap:1.5rem}.audience-card{margin:0;width:100%}.lse-grid{padding:0 .5rem}.lse-card{margin:0}.lse-modal__panel{padding:1.5rem;margin:.5rem;width:calc(100% - 1rem)}.lse-modal__header{flex-direction:column;gap:1rem}.lse-modal__close{align-self:flex-end}.pi-card{padding:2rem 1.5rem;margin-left:.5rem;margin-right:.5rem}.pi-card__columns{grid-template-columns:1fr;gap:2rem}.pi-card__column{max-width:100%;overflow-wrap:break-word;word-wrap:break-word}.pi-card__column ol,.pi-card__column ul{padding-left:1.2rem}.why-item__body{padding:2rem 1.5rem;max-width:100%}.why-item__body h3{font-size:1.75rem}.why-item__body p{font-size:1rem;max-width:100%}.pi-security-warning{flex-direction:column;padding:1.25rem;margin-left:.5rem;margin-right:.5rem;gap:1rem}.pi-security-warning__icon{font-size:2rem}.pi-security-warning__content h4{font-size:1.1rem}.rewards-list{padding:0 .5rem}}@media(min-width:1024px){.landing-hero{min-height:95vh;padding-top:clamp(1rem,2vh,2rem)}.landing-hero__wordmark{font-size:clamp(6rem,15vh,12rem)}.landing-hero__tagline{font-size:clamp(2rem,4vh,4rem)}.landing-hero__logo{width:auto;height:clamp(400px,55vh,800px);max-width:80vw}.landing-hero__powered{font-size:clamp(1.2rem,2.5vh,2.5rem)}}.auth-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.6rem;padding:2.2rem}.auth-panel{background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:1.9rem;display:flex;flex-direction:column;gap:1.25rem;box-shadow:var(--shadow-soft);position:relative;overflow:hidden}.auth-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient-card);opacity:.28;pointer-events:none}.auth-panel>*{position:relative;z-index:1}.auth-side{border-radius:var(--radius-lg);border:1px solid var(--color-border-strong);padding:1.9rem;background:linear-gradient(135deg,#5e30eb29,#0ea5e924);box-shadow:var(--shadow-soft);color:var(--color-ink)}.auth-side--white-text{color:#fff}.auth-side--white-text a{color:#fff;text-decoration:underline}.auth-card__helper{margin:0;color:var(--color-ink-soft)}.auth-panel form{display:flex;flex-direction:column;gap:1rem;max-width:360px}.auth-panel label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.9rem}.auth-panel .auth-card__helper{max-width:420px}.auth-panel input{padding:.85rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:#ffffffe6}.auth-panel button[type=submit],.auth-card__secondary{width:100%;max-width:320px;align-self:flex-start}.auth-panel button{padding:.85rem 1rem;border:none;border-radius:var(--radius-sm);font-weight:700;cursor:pointer}.auth-card__divider{display:flex;align-items:center;gap:.5rem;margin:.5rem 0;color:var(--color-ink-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.08rem}.auth-card__divider:before,.auth-card__divider:after{content:"";flex:1;height:1px;background:var(--color-border)}.auth-panel button[type=submit]{background:var(--gradient-accent);color:#fff;width:100%;max-width:320px;align-self:flex-start;box-shadow:0 12px 30px #5e30eb59}.auth-card__secondary{width:100%;max-width:320px;background:#0a0f1f;color:#fff}.auth-card__error{color:#dc2626}.auth-checkbox{display:flex;align-items:center;gap:.5rem;font-weight:600}.role-selection{margin:1rem 0}.role-selection-label{font-weight:700;margin-bottom:.75rem;display:block}.role-buttons{display:flex;gap:1rem;flex-wrap:wrap}.role-button{width:120px;height:120px;border-radius:50%;border:3px solid var(--color-border);background:var(--color-panel);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}.role-button:hover{transform:translateY(-2px);border-color:var(--color-primary)}.role-button.active{border-color:var(--color-primary);background:var(--gradient-accent);color:#fff;box-shadow:0 12px 28px #5e30eb4d}.role-icon{font-size:2rem}.auth-log{margin-top:1rem;background:var(--color-panel);border-radius:var(--radius-md);border:1px solid var(--color-border);padding:1rem;max-height:260px;overflow-y:auto;font-family:JetBrains Mono,Courier New,monospace;font-size:.8rem}.auth-log__title{font-weight:700;margin-bottom:.5rem}.auth-log__entry{padding:.35rem .5rem;border-left:3px solid var(--color-border);background:#94a3b81a;margin-bottom:.4rem}.auth-log__entry--error{border-color:#f87171;background:#f8717126}.auth-log__entry--success{border-color:#34d399;background:#34d39926}.auth-log__time{color:var(--color-ink-muted);margin-right:.35rem}@media(max-width:640px){.auth-layout{padding:1rem}}.account-choice{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.account-choice__pill{flex:1;min-width:140px;border-radius:999px;padding:.6rem 1rem;border:1px solid var(--color-border);background:var(--color-panel);cursor:pointer;font-weight:600;text-align:center}.account-choice__pill.is-active{border-color:var(--color-primary);background:#2563eb1a;color:var(--color-primary)}.pi-onboarding{border:1px dashed var(--color-border);border-radius:var(--radius-md);padding:1rem;background:#2563eb0d;display:flex;flex-direction:column;gap:.75rem}.pi-onboarding ol{margin:0 0 0 1.25rem;color:var(--color-ink-soft)}.ai-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:1.5rem;overflow:hidden}@media(max-width:768px){.ai-modal{align-items:flex-start}}.ai-modal__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:-1}.ai-modal__panel{position:relative;width:min(1100px,100%);max-height:calc(100vh - 2rem);background:#fff;border-radius:20px;box-shadow:0 25px 80px #0f172a59;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;overflow:hidden}.ai-modal__header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;position:sticky;top:0;background:var(--color-panel, #ffffff);padding-bottom:.5rem;z-index:2}.ai-modal__eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#818cf8;margin:0 0 .35rem}.ai-modal__lede{color:#475569;margin-top:.35rem}.ai-modal__close{border:none;background:#eef2ff;color:#312e81;width:2.5rem;height:2.5rem;border-radius:999px;font-size:1.35rem;cursor:pointer}.ai-modal__mode-switch,.ai-modal__tabs{display:inline-flex;gap:.5rem;flex-wrap:wrap}.ai-modal__mode-switch button,.ai-modal__tabs button{border:1px solid #c7d2fe;background:#fff;border-radius:999px;padding:.35rem 1rem;font-weight:600;cursor:pointer;color:#312e81}.ai-modal__mode-switch button.is-active,.ai-modal__tabs button.is-active{background:#4f46e5;color:#fff;border-color:#4338ca}.ai-modal__body{display:flex;gap:1.25rem;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;flex-wrap:wrap}.ai-modal__quiz-input{width:320px;background:#f8fafc;border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:1rem;color:#334155}.ai-modal__input-header{display:flex;justify-content:space-between;align-items:flex-start}.ai-modal__how-to{position:relative;display:flex;align-items:center;gap:.25rem;cursor:pointer}.info-icon{font-size:1rem;color:#3b82f6;cursor:help}.how-to-text{font-size:.7rem;font-weight:600;color:#3b82f6;text-transform:uppercase;letter-spacing:.05em}.ai-modal__how-to:hover .ai-modal__tooltip{opacity:1;visibility:visible}.ai-modal__tooltip{position:absolute;top:calc(100% + .5rem);right:0;background:#1e293b;color:#fff;padding:1rem;border-radius:12px;width:280px;box-shadow:0 10px 40px #0000004d;z-index:50;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}.ai-modal__tooltip p{margin:0 0 .5rem;font-size:.85rem;line-height:1.4}.ai-modal__tooltip ul{margin:.5rem 0;padding-left:1.25rem;font-size:.8rem}.ai-modal__tooltip li{margin-bottom:.25rem;color:#94a3b8}.ai-modal__field{display:flex;flex-direction:column;gap:.5rem}.ai-modal__field textarea{border:1px solid #cbd5e1;border-radius:10px;padding:.75rem;background:#fff;font-size:.95rem;font-family:inherit;resize:vertical;min-height:100px}.ai-modal__field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.ai-modal__hint{font-size:.8rem;color:#64748b}.ai-modal__field input{border:1px solid #cbd5f5;border-radius:10px;padding:.5rem .75rem;background:#fff;font-size:.95rem}.ai-modal__note{font-size:.8rem;color:#64748b;margin:0}.ai-modal__workspace{flex:1;min-width:0;display:flex;min-height:0}.ai-quiz,.ai-chat{flex:1;background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:1rem;min-height:0}.ai-quiz--placeholder,.ai-chat--placeholder{align-items:center;justify-content:center;text-align:center;color:#475569}.ai-quiz--placeholder button{margin-top:.75rem;padding:.65rem 1.25rem;border-radius:999px;border:none;background:#4f46e5;color:#fff;cursor:pointer;font-weight:600}.ai-quiz__scorecard{background:#f1f5f9;border-radius:14px;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.ai-progress{position:relative;width:100%;height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}.ai-progress__bar{height:100%;background:linear-gradient(135deg,#34d399,#10b981)}.ai-progress__target{position:absolute;top:-1.35rem;transform:translate(-50%);font-size:.75rem;color:#0f172a;font-weight:600}.ai-quiz__stats{display:flex;justify-content:space-between;color:#0f172a;font-weight:600}.ai-quiz__encouragement{margin:0;color:#475569}.ai-quiz__feedback{border-left:3px solid #4ade80;padding-left:.75rem;color:#15803d;font-weight:600}.ai-options{display:grid;gap:.75rem}.ai-options button{text-align:left;border:1px solid #cbd5f5;background:#fff;padding:.75rem;border-radius:12px;display:flex;gap:.5rem;font-size:.95rem;cursor:pointer}.ai-options button:hover{border-color:#818cf8;box-shadow:0 4px 16px #6366f126}.ai-quiz__question-count{color:#475569;font-size:.85rem;margin:0}.ai-quiz__summary button{padding:.6rem 1.2rem;background:#4f46e5;color:#fff;border:none;border-radius:999px;cursor:pointer;font-weight:600}.ai-quiz__reward{color:#0d9488;font-weight:600}.ai-quiz__reward--muted{color:#b45309}.ai-quiz__timeline{border-top:1px dashed #e2e8f0;padding-top:.75rem}.ai-quiz__timeline ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.ai-quiz__timeline li{display:flex;gap:.5rem;align-items:center;font-size:.9rem;color:#475569}.ai-chat__thread{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.65rem;padding-right:.5rem;scroll-behavior:smooth}.ai-chat__bubble{padding:.65rem .9rem;border-radius:14px;max-width:75%;font-size:.95rem;line-height:1.4}.ai-chat__bubble--user{align-self:flex-end;background:#4f46e5;color:#fff}.ai-chat__bubble--assistant{align-self:flex-start;background:#eef2ff;color:#312e81}.ai-chat__bubble--typing{font-style:italic;opacity:.8}.ai-chat__composer{display:flex;gap:.5rem;margin-top:auto;position:sticky;bottom:0;background:inherit;padding-top:.5rem}.ai-chat__composer input{flex:1;border:1px solid #cbd5f5;border-radius:10px;padding:.6rem .85rem;font-size:.95rem}.ai-chat__composer button{border:none;background:#0ea5e9;color:#fff;border-radius:10px;padding:.5rem 1rem;font-weight:600;cursor:pointer}.ai-chat__reset{align-self:flex-end;background:transparent;border:none;color:#6366f1;cursor:pointer;font-size:.85rem}.ai-error{color:#dc2626;margin:0;font-size:.9rem}@media(max-width:960px){.ai-modal__body{flex-direction:column;gap:1rem}.ai-modal__quiz-input{width:100%}}@media(max-width:768px){.ai-modal{padding:0;align-items:stretch;overflow:hidden}.ai-modal__backdrop{position:fixed}.ai-modal__panel{width:100vw;height:100vh;max-height:100vh;margin:0;padding:.5rem;border-radius:0;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;gap:.5rem}.ai-modal__panel *{box-sizing:border-box}.ai-modal__header{flex-shrink:0;padding:.5rem;border-bottom:1px solid var(--color-border, #e2e8f0);background:var(--color-panel, #ffffff)}.ai-modal__eyebrow{font-size:.65rem}.ai-modal__header h2{font-size:1.1rem;margin:.25rem 0}.ai-modal__lede{font-size:.8rem;margin-top:.25rem}.ai-modal__mode-switch{flex-shrink:0;padding:0 .5rem}.ai-modal__mode-switch button{font-size:.85rem;padding:.5rem .75rem}.ai-modal__body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:.5rem;padding:0 .25rem .5rem;-webkit-overflow-scrolling:touch}.ai-modal__quiz-input{width:100%;flex-shrink:0;box-shadow:none;padding:.5rem;background:#f8fafc;border-radius:10px}.ai-modal__input-header{margin-bottom:.5rem}.ai-modal__input-header h3{font-size:.9rem;margin:0 0 .25rem}.ai-modal__field{margin-bottom:.5rem}.ai-modal__field textarea{min-height:60px;max-height:90px;width:100%;font-size:.8rem;padding:.5rem;border-radius:8px}.ai-modal__field input,.ai-modal__field select{width:100%;font-size:.8rem;padding:.5rem;border-radius:8px}.ai-modal__hint{font-size:.7rem}.ai-modal__note{font-size:.75rem;margin-top:.5rem}.btn-primary,.btn-block{width:100%;font-size:.85rem;padding:.6rem .5rem;border-radius:8px}.ai-modal__workspace{width:100%;flex:1;min-height:0;display:flex;flex-direction:column}.ai-quiz,.ai-chat{flex:1;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:.5rem}.ai-quiz__question h3{font-size:.9rem}.ai-quiz__question-count{font-size:.75rem}.ai-options{gap:.4rem}.ai-options button{padding:.5rem;font-size:.8rem;word-wrap:break-word;overflow-wrap:break-word;border-radius:8px}.ai-chat__thread{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-right:.25rem}.ai-chat__bubble{font-size:.85rem;padding:.5rem .65rem}.ai-chat__composer{flex-shrink:0;display:flex;gap:.4rem;width:100%}.ai-chat__composer input{flex:1;min-width:0;font-size:.85rem;padding:.5rem;border-radius:8px}.ai-chat__composer button{flex-shrink:0;white-space:nowrap;padding:.5rem .75rem;font-size:.85rem;border-radius:8px}}@media(max-width:480px){.ai-modal__panel{padding:.4rem;gap:.4rem}.ai-modal__header{padding:.4rem}.ai-modal__header h2{font-size:1rem}.ai-modal__lede{font-size:.75rem}.ai-modal__eyebrow{font-size:.6rem}.ai-modal__mode-switch{padding:0 .4rem}.ai-modal__mode-switch button{font-size:.8rem;padding:.4rem .6rem}.ai-modal__body{padding:0 .2rem .4rem;gap:.4rem}.ai-quiz,.ai-chat,.ai-modal__quiz-input{padding:.4rem}.ai-modal__input-header h3{font-size:.85rem}.ai-modal__field textarea{font-size:.75rem;padding:.4rem;min-height:55px;max-height:80px}.ai-modal__field input,.ai-modal__field select{font-size:.75rem;padding:.4rem}.ai-modal__hint{font-size:.65rem}.btn-primary,.btn-block{font-size:.8rem;padding:.5rem .4rem}.ai-options button{font-size:.75rem;padding:.4rem}.ai-quiz__question h3{font-size:.85rem}.ai-chat__bubble{max-width:92%;font-size:.8rem;padding:.4rem .6rem}.ai-chat__composer{gap:.3rem}.ai-chat__composer input{font-size:.8rem;padding:.4rem}.ai-chat__composer button{font-size:.8rem;padding:.4rem .6rem}}body[data-theme=dark] .ai-modal__panel{background:var(--color-panel);border:1px solid var(--color-border)}body[data-theme=dark] .ai-modal__lede{color:var(--color-ink-muted)}body[data-theme=dark] .ai-modal__close{background:#5e30eb33;color:var(--color-ink)}body[data-theme=dark] .ai-modal__mode-switch button,body[data-theme=dark] .ai-modal__tabs button{background:#5e30eb26;border-color:var(--color-border);color:var(--color-ink)}body[data-theme=dark] .ai-modal__quiz-input{background:#5e30eb1a;color:var(--color-ink)}body[data-theme=dark] .ai-modal__field textarea,body[data-theme=dark] .ai-modal__field input{background:var(--color-panel);border-color:var(--color-border);color:var(--color-ink)}body[data-theme=dark] .ai-quiz,body[data-theme=dark] .ai-chat{background:var(--color-panel);border-color:var(--color-border)}body[data-theme=dark] .ai-quiz--placeholder,body[data-theme=dark] .ai-chat--placeholder{color:var(--color-ink-muted)}body[data-theme=dark] .ai-quiz__scorecard{background:#5e30eb26}body[data-theme=dark] .ai-progress{background:#5e30eb33}body[data-theme=dark] .ai-progress__target,body[data-theme=dark] .ai-quiz__stats{color:var(--color-ink)}body[data-theme=dark] .ai-quiz__encouragement,body[data-theme=dark] .ai-quiz__question-count{color:var(--color-ink-muted)}body[data-theme=dark] .ai-options button{background:#5e30eb1a;border-color:var(--color-border);color:var(--color-ink)}body[data-theme=dark] .ai-options button:hover{border-color:#818cf8;background:#5e30eb33}body[data-theme=dark] .ai-quiz__timeline{border-top-color:var(--color-border)}body[data-theme=dark] .ai-quiz__timeline li{color:var(--color-ink-muted)}body[data-theme=dark] .ai-chat__bubble--assistant{background:#5e30eb33;color:var(--color-ink)}body[data-theme=dark] .ai-chat__composer input{background:var(--color-panel);border-color:var(--color-border);color:var(--color-ink)}.ai-quiz__timeline{max-height:220px;overflow-y:auto}.ai-quiz__timeline::-webkit-scrollbar{width:6px}.ai-quiz__timeline::-webkit-scrollbar-track{background:transparent}.ai-quiz__timeline::-webkit-scrollbar-thumb{background:#64748b4d;border-radius:3px}body[data-theme=dark] .ai-quiz__timeline::-webkit-scrollbar-thumb{background:#94a3b84d}.dashboard-chat{display:flex;flex-direction:column;gap:1rem;overflow-x:hidden}.ai-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.ai-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.08em;color:var(--color-primary);font-weight:700}.ai-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.35rem}.ai-actions{display:flex;gap:.5rem}.dashboard-chat__content{display:grid;grid-template-columns:1fr;gap:1rem;width:100%}.dashboard-chat__sidebar{display:flex;flex-direction:column;gap:1rem}.ai-panel{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem;box-shadow:var(--shadow-soft)}.ai-panel__title{margin:0 0 .35rem;font-weight:700}.dashboard-chat__sidebar label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem}.dashboard-chat__sidebar select,.dashboard-chat__sidebar input{padding:.7rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:#ffffffeb}.ai-panel__buttons{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.ai-panel__buttons button{border-radius:var(--radius-sm);border:1px solid var(--color-border);padding:.65rem .9rem;background:var(--gradient-card);cursor:pointer;font-weight:600;color:var(--color-ink)}.ai-attachment{margin-top:.75rem;border-radius:var(--radius-sm);padding:.75rem;background:#5e30eb14;border:1px solid rgba(94,48,235,.2)}.ai-attachment__eyebrow{margin:0 0 .25rem;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:var(--color-primary);font-weight:700}.ai-quick{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.9rem;box-shadow:var(--shadow-soft)}.ai-quick__chips{display:flex;flex-wrap:wrap;gap:.5rem}.ai-quick__chips .pill{background:#5e30eb14;border:1px solid rgba(94,48,235,.2);color:var(--color-ink)}.dashboard-chat__thread{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.85rem;display:flex;flex-direction:column;gap:.75rem;background:radial-gradient(circle at 20% 20%,rgba(94,48,235,.05),transparent 35%),radial-gradient(circle at 80% 0%,rgba(14,165,233,.05),transparent 30%),var(--color-panel);box-shadow:var(--shadow-soft);min-height:360px}.dashboard-chat__messages{display:flex;flex-direction:column;gap:.6rem;flex:1;overflow-y:auto;padding-right:.35rem;min-height:0}.dashboard-chat__bubble{padding:.7rem 1rem;border-radius:14px;font-size:.95rem;line-height:1.5;word-break:break-word;overflow-wrap:anywhere;border:1px solid var(--color-border);box-shadow:0 12px 24px #0000000a}.dashboard-chat__bubble--assistant{background:#5e30eb14;color:var(--color-ink)}.dashboard-chat__bubble--user{background:#0ea5e91f;align-self:flex-end}.ai-badge-plain{background:transparent;border:none;padding:0;color:var(--color-ink);font-weight:700}.toggle{display:inline-flex;align-items:center;gap:.4rem;background:#fffc;border:1px solid var(--color-border);padding:.35rem .7rem;border-radius:999px;color:var(--color-ink)}.toggle input{accent-color:var(--color-primary)}.dashboard-chat__composer{display:flex;gap:.5rem;width:100%;margin-top:auto}.dashboard-chat__composer input{flex:1;border-radius:12px;border:1px solid var(--color-border);padding:.75rem .85rem;background:#fffffff0}.dashboard-chat__composer button{border:none;border-radius:12px;padding:.75rem 1.3rem;background:var(--gradient-accent);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 10px 24px #5e30eb40}@media(max-width:768px){.dashboard-chat{overflow-x:hidden;width:100%}.ai-panel{padding:.75rem}.dashboard-chat__sidebar{width:100%;max-width:100%}.dashboard-chat__sidebar label{font-size:.85rem}.dashboard-chat__sidebar select,.dashboard-chat__sidebar input{width:100%;max-width:100%;box-sizing:border-box;padding:.5rem;font-size:.85rem}.ai-panel__buttons{width:100%;gap:.4rem}.ai-panel__buttons button{width:100%;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word;text-align:center;padding:.5rem .4rem;font-size:.85rem}.ai-quick{padding:.75rem}.ai-quick__chips{width:100%;gap:.4rem}.ai-quick__chips .pill{flex:1 1 auto;min-width:0;max-width:100%;white-space:normal;word-wrap:break-word;text-align:center;padding:.4rem;font-size:.8rem}.dashboard-chat__thread{padding:.65rem;min-height:60vh}.dashboard-chat__messages{max-height:none}.dashboard-chat__bubble{padding:.5rem .75rem;font-size:.85rem}.dashboard-chat__composer{flex-direction:row;width:100%;gap:.4rem}.dashboard-chat__composer input{flex:1;min-width:0;max-width:none;padding:.5rem;font-size:.85rem}.dashboard-chat__composer button{flex-shrink:0;white-space:nowrap;padding:.5rem .75rem;font-size:.85rem}}@media(max-width:480px){.ai-panel{padding:.5rem}.ai-panel__title{font-size:.9rem}.dashboard-chat__sidebar label{font-size:.8rem}.dashboard-chat__sidebar select,.dashboard-chat__sidebar input,.ai-panel__buttons button{padding:.4rem;font-size:.8rem}.ai-quick{padding:.5rem}.ai-quick__chips .pill{padding:.35rem;font-size:.75rem}.dashboard-chat__thread{padding:.5rem}.dashboard-chat__bubble{padding:.4rem .6rem;font-size:.8rem}.dashboard-chat__composer input{padding:.4rem;font-size:.8rem}.dashboard-chat__composer button{padding:.4rem .6rem;font-size:.8rem}}@media(min-width:900px){.dashboard-chat__content{grid-template-columns:minmax(260px,320px) 1fr}}.pi-payment-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow-y:auto}.pi-payment-modal{background:#fff;border-radius:20px;max-width:500px;width:100%;max-height:calc(100vh - 2rem);display:flex;flex-direction:column;box-shadow:0 25px 50px #00000040;animation:slideUp .3s ease-out;margin:auto}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.pi-payment-modal__header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:2px solid #e0e7ff;background:linear-gradient(135deg,#f8fafc,#e0e7ff);border-radius:20px 20px 0 0}.pi-payment-modal__header h2{margin:0;font-size:1.5rem;color:#1e293b}.pi-payment-modal__close{background:none;border:none;font-size:2rem;color:#64748b;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.pi-payment-modal__close:hover:not(:disabled){background:#f1f5f9;color:#1e293b}.pi-payment-modal__close:disabled{opacity:.5;cursor:not-allowed}.pi-payment-modal__body{padding:2rem;overflow-y:auto;flex:1}.payment-details{background:#f8fafc;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e0e7ff}.payment-item{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.payment-item:last-child{margin-bottom:0}.payment-label{font-weight:600;color:#475569;font-size:.9rem}.payment-value{color:#1e293b;font-size:.95rem;text-align:right;flex:1}.payment-amount{padding-top:1rem;border-top:2px solid #cbd5e1;margin-top:.5rem}.payment-amount .payment-value{font-size:1.5rem;font-weight:700;color:#6366f1}.payment-input{display:flex;align-items:center;gap:.35rem}.payment-input input{width:100px;padding:.4rem .5rem;border-radius:var(--radius-sm);border:1px solid #cbd5f5}.payment-status{padding:1rem 1.25rem;border-radius:10px;margin-bottom:1.5rem;font-size:.9rem;font-weight:500}.payment-status--info{background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.payment-status--success{background:#dcfce7;color:#166534;border:1px solid #86efac}.payment-status--error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.payment-info{background:#fff;border-left:4px solid #6366f1;padding:1rem 1.25rem;border-radius:8px;font-size:.9rem;color:#475569;line-height:1.6}.payment-info p{margin:0 0 .75rem}.payment-info p:last-child{margin-bottom:0}.payment-info strong{color:#1e293b}.payment-info ol{margin:.5rem 0 1rem 1.25rem;padding:0}.payment-info ol li{margin-bottom:.5rem}.payment-note{background:#fef3c7;border:1px solid #fde047;border-radius:6px;padding:.75rem 1rem;margin-top:1rem;font-size:.85rem;color:#78350f}.pi-payment-modal__footer{display:flex;gap:1rem;padding:1.5rem 2rem;border-top:1px solid #e0e7ff;background:#f8fafc;border-radius:0 0 20px 20px}.btn{flex:1;padding:.875rem 1.5rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.btn--secondary{background:#fff;color:#475569;border:2px solid #cbd5e1}.btn--secondary:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.btn--pi{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f;border:2px solid #f59e0b;box-shadow:0 4px 12px #f59e0b4d}.btn--pi:hover:not(:disabled){background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 6px 16px #f59e0b66;transform:translateY(-1px)}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}@media(max-width:600px){.pi-payment-modal-overlay{padding:.5rem;align-items:flex-start}.pi-payment-modal{margin:.5rem auto;max-height:calc(100vh - 1rem);border-radius:16px}.pi-payment-modal__header{padding:1rem 1.25rem}.pi-payment-modal__header h2{font-size:1.25rem}.pi-payment-modal__body{padding:1.25rem}.pi-payment-modal__footer{padding:1rem 1.25rem;flex-direction:column}.btn{width:100%}.payment-details{padding:1rem}.payment-info{padding:.875rem 1rem;font-size:.85rem}.payment-info ol{margin-left:1rem}}.wonderlab{display:grid;grid-template-columns:280px 1fr;gap:2rem;min-height:calc(100vh - 100px)}@media(max-width:1024px){.wonderlab{grid-template-columns:1fr}.wonderlab__profile{display:none}}.wonderlab__profile{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:1.5rem;height:fit-content}.profile-card{background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:2rem 1.5rem;text-align:center;box-shadow:var(--shadow-soft)}.profile-card__avatar{width:100px;height:100px;margin:0 auto 1rem;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:700;color:#fff;box-shadow:0 8px 32px #5e30eb4d}.profile-card__name{margin:0 0 .25rem;font-size:1.25rem;font-weight:700;color:var(--color-ink)}.profile-card__role{margin:0 0 1.25rem;font-size:.85rem;color:var(--color-ink-muted);text-transform:capitalize}.profile-card__stats{display:flex;justify-content:center;gap:2rem;padding-top:1.25rem;border-top:1px solid var(--color-border)}.stat{text-align:center}.stat__value{display:block;font-size:1.5rem;font-weight:700;color:var(--color-primary)}.stat__label{font-size:.75rem;color:var(--color-ink-muted);text-transform:uppercase;letter-spacing:.05em}.uploads-panel{background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:1.25rem;box-shadow:var(--shadow-soft)}.uploads-panel__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.uploads-panel__header h3{margin:0;font-size:1rem;font-weight:600;color:var(--color-ink)}.link-small{font-size:.85rem;color:var(--color-primary);text-decoration:none;font-weight:500}.link-small:hover{text-decoration:underline}.uploads-panel__empty{font-size:.9rem;color:var(--color-ink-muted);margin:0}.uploads-panel__empty a{color:var(--color-primary)}.uploads-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.upload-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:var(--radius-sm);background:var(--color-bg);cursor:pointer;transition:all .2s}.upload-item:hover{background:var(--color-border);transform:translate(4px)}.upload-item__icon{font-size:1.25rem}.upload-item__info{flex:1;min-width:0}.upload-item__info strong{display:block;font-size:.85rem;font-weight:600;color:var(--color-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-item__info small{font-size:.75rem;color:var(--color-ink-muted)}.upload-item__arrow{font-size:1.25rem;color:var(--color-ink-muted)}.uploads-panel__viewall{display:block;text-align:center;margin-top:1rem;font-size:.85rem;color:var(--color-primary);text-decoration:none}.wonderlab__main{display:flex;flex-direction:column;gap:1.5rem}.wonderlab__header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.header-greeting h1{margin:0;font-size:clamp(1.5rem,3vw,2rem);font-weight:700;color:var(--color-ink)}.header-greeting p{margin:.25rem 0 0;color:var(--color-ink-muted);font-size:.95rem}.header-search{display:flex;align-items:center;gap:.5rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:999px;padding:.5rem 1rem;min-width:250px}.header-search input{flex:1;border:none;background:transparent;outline:none;font-size:.9rem;color:var(--color-ink)}.header-search input::placeholder{color:var(--color-ink-muted)}.search-icon{font-size:1rem}.wonderlab__hero{display:flex;justify-content:space-between;align-items:center;padding:2rem;border-radius:var(--radius-lg);background:var(--gradient-hero);color:#fff;position:relative;overflow:hidden}.wonderlab__hero:after{content:"";position:absolute;right:-50px;top:-50px;width:200px;height:200px;background:radial-gradient(circle,rgba(14,165,233,.4),transparent 60%);filter:blur(20px);pointer-events:none}.hero-content{max-width:60%;z-index:1}.hero-badge{display:inline-block;padding:.35rem .75rem;background:#ffffff26;border-radius:999px;font-size:.75rem;font-weight:600;margin-bottom:.75rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.hero-content h2{margin:0 0 .5rem;font-size:clamp(1.25rem,2.5vw,1.75rem);font-weight:700}.hero-content p{margin:0 0 1.25rem;font-size:.95rem;opacity:.9}.btn-hero{padding:.75rem 1.5rem;background:#fff;color:#0a0f1f;border:none;border-radius:999px;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 8px 24px #00000026}.btn-hero:hover{transform:translateY(-2px);box-shadow:0 12px 32px #0003}.hero-illustration{font-size:5rem;z-index:1}@media(max-width:768px){.hero-content{max-width:100%}.hero-illustration{display:none}}.wonderlab__section{display:flex;flex-direction:column;gap:1rem}.section-header{display:flex;justify-content:space-between;align-items:center}.section-header h3{margin:0;font-size:1.15rem;font-weight:600;color:var(--color-ink)}.ai-actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.ai-action-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:var(--radius-md);border:none;color:#fff;cursor:pointer;transition:all .2s;text-align:left}.ai-action-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #0003}.ai-action-card__icon{font-size:1.75rem}.ai-action-card__content{flex:1}.ai-action-card__content strong{display:block;font-size:1rem;font-weight:600;margin-bottom:.15rem}.ai-action-card__content small{font-size:.75rem;opacity:.85}.ai-action-card__arrow{font-size:1.25rem;opacity:.7}.wonderlab__chat-section{background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:1.5rem;box-shadow:var(--shadow-soft)}.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.content-card-mini{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s}.content-card-mini:hover{border-color:var(--color-primary);box-shadow:0 4px 16px #5e30eb1a;transform:translateY(-2px)}.content-card-mini__thumb{width:48px;height:48px;border-radius:var(--radius-sm);background:var(--gradient-card);display:flex;align-items:center;justify-content:center;font-size:1.5rem}.content-card-mini__info{flex:1;min-width:0}.content-card-mini__info strong{display:block;font-size:.9rem;font-weight:600;color:var(--color-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content-card-mini__info small{font-size:.8rem;color:var(--color-ink-muted)}.content-card-mini__arrow{font-size:1.5rem;color:var(--color-ink-muted)}.quizzes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.quiz-card{padding:1.25rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s}.quiz-card:hover{border-color:var(--color-primary);box-shadow:0 4px 16px #5e30eb1a}.quiz-card__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.quiz-card__icon{font-size:1.5rem}.quiz-card__count{font-size:.75rem;padding:.2rem .5rem;background:var(--color-border);border-radius:999px;color:var(--color-ink-muted)}.quiz-card__title{display:block;font-size:.95rem;color:var(--color-ink);margin-bottom:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiz-card__author{font-size:.8rem;color:var(--color-ink-muted)}.loading-text,.empty-text{color:var(--color-ink-muted);font-size:.9rem;padding:1rem;text-align:center}.upload-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;padding:1rem;border:1px solid #cbd5f5;border-radius:12px;background-color:#fff}body[data-theme=dark] .upload-form{background-color:#0f172a;border-color:#ffffff1a;color:#e2e8f0}.upload-form label{display:flex;flex-direction:column;font-weight:600;color:#1e293b}body[data-theme=dark] .upload-form label{color:#e2e8f0}.upload-form input,.upload-form textarea,.upload-form select{margin-top:.5rem;padding:.75rem;border-radius:8px;border:1px solid #cbd5f5;font-size:.95rem}body[data-theme=dark] .upload-form input,body[data-theme=dark] .upload-form textarea,body[data-theme=dark] .upload-form select{background-color:#1e293b;border-color:#ffffff26;color:#e2e8f0}.upload-form__flex{display:flex;gap:1rem;flex-wrap:wrap}.upload-form__flex>label{flex:1 1 150px}.upload-form__error{grid-column:1 / -1;color:#dc2626}.upload-form__section{grid-column:1 / -1;display:flex;flex-direction:column;gap:.75rem;padding-top:1rem;border-top:1px dashed #e2e8f0}.upload-form__section-title{font-weight:700;margin:0;color:#0f172a}body[data-theme=dark] .upload-form__section-title{color:#e2e8f0}.upload-form__media-toggle{display:flex;gap:1.5rem;flex-wrap:wrap}.upload-form__media-toggle label{font-weight:500;display:flex;gap:.5rem;align-items:center}.upload-form__helper{margin:0;color:#64748b;font-size:.9rem}body[data-theme=dark] .upload-form__helper{color:#94a3b8}.upload-form__visibility{grid-column:1 / -1;display:flex;flex-direction:column;gap:.75rem;padding-top:1rem;border-top:1px dashed #e2e8f0}.visibility-toggle{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.visibility-btn{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1rem;border:2px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:all .2s ease}.visibility-btn:hover{border-color:#6366f1;background:#6366f10d}.visibility-btn.active{border-color:#6366f1;background:linear-gradient(135deg,#6366f11a,#8b5cf61a);box-shadow:0 0 0 3px #6366f126}.visibility-icon{font-size:1.5rem}.visibility-label{font-weight:700;font-size:.95rem;color:#1e293b}.visibility-desc{font-size:.75rem;color:#64748b;text-align:center}body[data-theme=dark] .visibility-btn{background:#1e293b;border-color:#ffffff26}body[data-theme=dark] .visibility-btn:hover{border-color:#8b5cf6;background:#8b5cf626}body[data-theme=dark] .visibility-btn.active{border-color:#8b5cf6;background:linear-gradient(135deg,#6366f133,#8b5cf633)}body[data-theme=dark] .visibility-label{color:#e2e8f0}body[data-theme=dark] .visibility-desc{color:#94a3b8}.upload-form button[type=submit]{padding:.75rem 1rem;background-color:#6366f1;color:#fff;border:none;border-radius:8px;cursor:pointer}.category-proposal{margin-top:2rem;padding:1.5rem;border-radius:16px;background:#f8fafc;border:1px solid #d8e3ff;display:grid;gap:1rem}.category-proposal h3{margin:0}.category-proposal input,.category-proposal textarea{width:100%;padding:.75rem;border-radius:10px;border:1px solid #cbd5f5}.category-proposal button{align-self:flex-start;padding:.75rem 1.5rem;border-radius:10px;border:none;background:#6366f1;color:#fff;cursor:pointer}.category-proposal button:disabled{opacity:.7;cursor:not-allowed}.category-proposal .status{margin:0;font-weight:500}.category-proposal .status--error{color:#dc2626}.category-proposal .status--success{color:#059669}body[data-theme=dark] .category-proposal{background:#0f172a;border-color:#ffffff14;color:#e2e8f0}body[data-theme=dark] .category-proposal input,body[data-theme=dark] .category-proposal textarea{background:#0c1527;border-color:#ffffff1f;color:#e2e8f0}body[data-theme=dark] .category-proposal button{background:#7c3aed}.upload-page{display:flex;flex-direction:column;gap:1rem;max-width:800px;margin:0 auto;padding-bottom:2rem}.upload-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.upload-header__avatar{width:52px;height:52px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.upload-header__info h1{margin:0;font-size:1.25rem;font-weight:700}.upload-header__info p{margin:.25rem 0 0;font-size:.85rem;opacity:.9}.upload-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.upload-action{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s;text-align:left}.upload-action:hover{border-color:var(--color-primary);transform:translateY(-2px)}.upload-action--ai{background:linear-gradient(135deg,#6366f11a,#8b5cf61a);border-color:#6366f14d}.upload-action__icon{font-size:1.5rem;flex-shrink:0}.upload-action div{min-width:0}.upload-action strong{display:block;font-size:.9rem;color:var(--color-ink)}.upload-action span{font-size:.75rem;color:var(--color-ink-muted)}.upload-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}@media(max-width:600px){.upload-tips{grid-template-columns:1fr}}.upload-tip{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md)}.upload-tip span{font-size:1.5rem;flex-shrink:0}.upload-tip strong{display:block;font-size:.85rem;color:var(--color-ink);margin-bottom:.25rem}.upload-tip p{margin:0;font-size:.75rem;color:var(--color-ink-muted)}.upload-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.upload-card h2{margin:0;font-size:1rem;font-weight:600;color:var(--color-ink)}.upload-card__desc{margin:-.5rem 0 0;font-size:.85rem;color:var(--color-ink-muted)}.upload-card--center{text-align:center;align-items:center;padding:2rem}.upload-icon{font-size:3rem;margin-bottom:.5rem}.loading-text,.empty-text{color:var(--color-ink-muted);font-size:.9rem}.error-text{color:#dc2626;font-size:.9rem}.btn-primary{padding:.75rem 1.5rem;border-radius:var(--radius-md);background:var(--gradient-accent);color:#fff;font-size:.9rem;font-weight:600;border:none;cursor:pointer}.pi-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:grid;place-items:center;z-index:100}.pi-modal{background:#fff;border-radius:18px;padding:1.5rem;width:min(420px,calc(100% - 2rem));display:flex;flex-direction:column;gap:1rem;box-shadow:0 20px 40px #0f172a4d}.pi-modal header{display:flex;justify-content:space-between;align-items:center}.pi-modal form{display:flex;flex-direction:column;gap:.75rem}.pi-modal input,.pi-modal select{width:100%;padding:.6rem;border-radius:10px;border:1px solid #cbd5f5}.pi-modal button[type=submit]{border:none;border-radius:999px;padding:.75rem;background:linear-gradient(120deg,#a855f7,#ec4899);color:#fff;font-weight:600}.profile-page{display:flex;flex-direction:column;gap:1rem;max-width:800px;margin:0 auto;padding-bottom:2rem}.profile-empty{text-align:center;padding:3rem 1rem;color:var(--color-ink-muted)}.profile-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.profile-header__avatar{width:64px;height:64px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;flex-shrink:0}.profile-header__info h1{margin:0;font-size:1.35rem;font-weight:700}.profile-role-badge{display:inline-block;padding:.2rem .6rem;background:#ffffff26;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;margin-top:.25rem}.profile-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media(min-width:600px){.profile-stats-grid{grid-template-columns:repeat(4,1fr)}}.profile-stat{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md)}.profile-stat__icon{font-size:1.5rem;flex-shrink:0}.profile-stat div{display:flex;flex-direction:column;min-width:0}.profile-stat strong{font-size:1rem;font-weight:700;color:var(--color-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-stat span{font-size:.7rem;color:var(--color-ink-muted);text-transform:uppercase;letter-spacing:.02em}.profile-cards{display:flex;flex-direction:column;gap:1rem}@media(min-width:700px){.profile-cards{display:grid;grid-template-columns:repeat(2,1fr)}}.profile-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}.profile-card h2{margin:0;font-size:1rem;font-weight:600;color:var(--color-ink)}.profile-card p{margin:0;font-size:.85rem;color:var(--color-ink-muted)}.profile-card--pi{background:linear-gradient(135deg,#f9b8331a,#f973161a);border-color:#f9b8334d}.profile-card__header{display:flex;align-items:center;gap:.5rem}.pi-linked,.pi-unlinked{display:flex;flex-direction:column;gap:.5rem}.pi-linked p{margin:0}.pi-uid{font-size:.75rem;color:var(--color-ink-muted)}.pi-wallet{display:block;padding:.5rem;background:var(--color-bg);border-radius:var(--radius-sm);font-size:.7rem;word-break:break-all;color:var(--color-ink-muted)}.toggle-switch{display:flex;align-items:center;gap:.75rem;cursor:pointer}.toggle-slider{width:44px;height:24px;background:var(--color-border);border-radius:999px;position:relative;transition:background .2s}.toggle-label{font-size:.85rem;font-weight:500;color:var(--color-ink)}.children-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.child-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--color-bg);border-radius:var(--radius-sm)}.child-item__avatar{width:36px;height:36px;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600;color:#fff;flex-shrink:0}.child-item__info{flex:1;min-width:0}.child-item__info strong{display:block;font-size:.9rem;color:var(--color-ink)}.child-item__info code{font-size:.7rem;color:var(--color-ink-muted)}.child-item__badge{padding:.2rem .5rem;background:#6366f126;border-radius:999px;font-size:.65rem;font-weight:600;text-transform:uppercase;color:var(--color-primary)}.referral-link{display:block;padding:.75rem;background:linear-gradient(135deg,#1d4ed8,#3b82f6);border-radius:var(--radius-sm);color:#fff;font-size:.75rem;word-break:break-all}.referral-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:.75rem}.referral-stats>div{text-align:center;padding:.5rem;background:var(--color-bg);border-radius:var(--radius-sm)}.referral-stats strong{display:block;font-size:1rem;color:var(--color-ink)}.referral-stats span{font-size:.65rem;color:var(--color-ink-muted);text-transform:uppercase}.badges-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}.badge-item{padding:.5rem .75rem;background:#0ea5e91a;border:1px solid rgba(14,165,233,.2);border-radius:var(--radius-sm);font-size:.8rem}.btn-primary,.btn-secondary{padding:.75rem 1.25rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:600;cursor:pointer;border:none;transition:opacity .2s}.btn-sm{padding:.5rem 1rem;font-size:.75rem}.btn-primary:disabled,.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.status-msg{padding:.5rem;border-radius:var(--radius-sm);font-size:.8rem;font-weight:500}.status-msg.success{background:#10b9811a;color:#059669}.status-msg.error{background:#ef44441a;color:#dc2626}.empty-text{color:var(--color-ink-muted);font-size:.85rem}.mission-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.mission-card{border:1px solid #e2e8f0;border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:.75rem;background:#fff}.mission-card header{display:flex;justify-content:space-between;font-weight:600}.mission-card__progress{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.mission-card__progress-bar{flex:1;height:10px;border-radius:999px;background:#e0e7ff;overflow:hidden}.mission-card__progress-bar>div{height:100%;background:linear-gradient(120deg,#a855f7,#ec4899)}.mission-card__actions button{border:none;border-radius:999px;padding:.5rem 1rem;background:#10b981;color:#fff;cursor:pointer;font-weight:600}.mission-card--done{border-color:#22c55e;background:#ecfdf5}.daily-streak{background:transparent;border-radius:16px;padding:1rem 0;color:var(--color-ink);border:none}.streak-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.streak-count{display:flex;align-items:center;gap:.5rem;font-size:1.2rem}.streak-count .flame{font-size:1.5rem;animation:flicker 1.5s infinite alternate}.streak-bonus{font-size:.8rem;color:#f1c40f;background:#f1c40f1a;padding:4px 8px;border-radius:8px}.streak-days{display:flex;justify-content:space-between}.day-circle{width:32px;height:32px;border-radius:50%;background:#64646426;border:1px solid rgba(100,100,100,.2);display:flex;align-items:center;justify-content:center;position:relative;font-size:.8rem;color:#64646499}body[data-theme=dark] .day-circle{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);color:#ffffff80}.day-circle.active{background:#2ecc71;color:#fff;border:1px solid #27ae60;box-shadow:0 0 10px #2ecc7166}body[data-theme=dark] .day-circle.active{background:#2ecc71;color:#fff;border:1px solid #27ae60}.day-circle .check{position:absolute;top:-4px;right:-4px;background:#fff;color:#2ecc71;border-radius:50%;width:12px;height:12px;font-size:8px;display:flex;align-items:center;justify-content:center}.day-label{margin-top:0}@keyframes flicker{0%{opacity:1;transform:scale(1)}to{opacity:.8;transform:scale(1.1)}}.leaderboard-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.leaderboard-card{background:#ffffff08;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:1.5rem}.leaderboard-card h3{margin-top:0;margin-bottom:1rem;color:#a5b4fc;font-size:1.2rem}.leaderboard-card ul{list-style:none;padding:0;margin:0}.leaderboard-card li{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid rgba(255,255,255,.05);color:#e2e8f0}.leaderboard-card li:last-child{border-bottom:none}.leaderboard-card strong{color:gold}.leaderboard-card .spark-icon{margin-right:.35rem;filter:drop-shadow(0 0 4px var(--color-primary))}.rewards-page{display:flex;flex-direction:column;gap:1rem;max-width:800px;margin:0 auto;padding-bottom:2rem}.rewards-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.rewards-header__avatar{width:56px;height:56px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.rewards-header__info h1,.rewards-header h1{margin:0;font-size:1.25rem;font-weight:700}.rewards-header__info p,.rewards-header p{margin:.25rem 0 0;font-size:.85rem;opacity:.9}.rewards-tabs{display:flex;gap:.5rem;padding:.5rem;background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.rewards-tabs::-webkit-scrollbar{display:none}.rewards-tab{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem 1rem;min-width:80px;background:transparent;border:none;border-radius:var(--radius-md);color:var(--color-ink-muted);font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s;flex-shrink:0}.rewards-tab.active{background:var(--color-primary);color:#fff}.rewards-tab:not(.active):hover{background:var(--color-border)}.rewards-content{display:flex;flex-direction:column;gap:1rem}.rewards-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}@media(max-width:480px){.rewards-stats-grid{grid-template-columns:1fr 1fr}.rewards-stats-grid .stat-card:nth-child(3){grid-column:span 2}}.stat-card{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:var(--radius-md);background:var(--color-panel);border:1px solid var(--color-border)}.stat-card--primary{background:linear-gradient(135deg,#6366f126,#8b5cf626);border-color:#6366f14d}.stat-card--secondary{background:linear-gradient(135deg,#0ea5e926,#14b8a626);border-color:#0ea5e94d}.stat-card--accent{background:linear-gradient(135deg,#f9731626,#ec489926);border-color:#f973164d}.stat-card__icon{font-size:1.75rem;flex-shrink:0}.stat-card__content{display:flex;flex-direction:column;min-width:0}.stat-card__content span{font-size:.7rem;text-transform:uppercase;color:var(--color-ink-muted);letter-spacing:.03em}.stat-card__content strong{font-size:1.1rem;font-weight:700;color:var(--color-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rewards-card{background:var(--color-panel);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:1.25rem}.rewards-card--hero{background:var(--gradient-hero);color:#fff;text-align:center}.rewards-card__badge{display:inline-block;padding:.3rem .75rem;background:#ffffff26;border-radius:999px;font-size:.75rem;font-weight:600;margin-bottom:1rem}.rewards-stat-lg{display:flex;align-items:baseline;justify-content:center;gap:.5rem;margin-bottom:.5rem}.rewards-stat-lg strong{font-size:3rem;font-weight:800}.rewards-stat-lg span{font-size:1.25rem;opacity:.8}.rewards-card__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.rewards-card__title{margin:0 0 1rem;font-size:1rem;font-weight:600;color:var(--color-ink)}.rewards-card__header .rewards-card__title{margin-bottom:0}.rewards-card__desc{margin:-.5rem 0 1rem;font-size:.85rem;color:var(--color-ink-muted)}.btn-link{background:none;border:none;color:var(--color-primary);font-size:.85rem;font-weight:500;cursor:pointer;padding:0}.btn-link:hover{text-decoration:underline}.family-lp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.family-lp-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--color-bg);border-radius:var(--radius-sm)}.family-lp-item__avatar{width:36px;height:36px;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600;color:#fff;flex-shrink:0}.family-lp-item__name{flex:1;font-size:.9rem;color:var(--color-ink)}.family-lp-item__lp{font-size:.9rem;font-weight:600;color:var(--color-primary)}.rewards-history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.history-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--color-bg);border-radius:var(--radius-sm)}.history-item__icon{font-size:1.25rem;flex-shrink:0}.history-item__info{flex:1;min-width:0}.history-item__info strong{display:block;font-size:.85rem;font-weight:600;color:var(--color-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item__info small{font-size:.75rem;color:var(--color-ink-muted)}.history-item__amount{font-size:.85rem;font-weight:600;color:#10b981;flex-shrink:0}.loading-text,.empty-text{text-align:center;padding:2rem 1rem;color:var(--color-ink-muted);font-size:.9rem}.error-text{color:#ef4444;font-size:.85rem;padding:.5rem;background:#ef44441a;border-radius:var(--radius-sm);margin-bottom:1rem}.lp-shop{padding:2rem;max-width:1200px;margin:0 auto}.lp-shop__header{text-align:center;margin-bottom:3rem}.lp-shop__header h1{font-size:2.5rem;margin-bottom:.5rem;background:linear-gradient(135deg,gold,orange);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.lp-shop__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.shop-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:2rem;text-align:center;transition:transform .2s,box-shadow .2s}.shop-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px #0003;border-color:#ffd7004d}.shop-card__icon{font-size:3rem;margin-bottom:1rem}.shop-card h3{margin-bottom:.5rem;color:var(--text-primary)}.shop-card p{color:var(--text-secondary);margin-bottom:1.5rem;font-size:.9rem}.shop-card button{width:100%}.sponsor-page{padding:2rem;max-width:1200px;margin:0 auto}.sponsor-hero{text-align:center;margin-bottom:4rem}.sponsor-hero h1{font-size:3rem;margin-bottom:1rem}.fireside-goal{margin-bottom:4rem}.goal-card{background:linear-gradient(135deg,#ff4b1f,#ff9068);padding:2rem;border-radius:20px;color:#fff;text-align:center}.progress-bar{background:#ffffff4d;height:20px;border-radius:10px;margin:1.5rem 0;overflow:hidden}.progress-fill{background:#fff;height:100%}.goal-stats{display:flex;justify-content:space-between;margin-bottom:1.5rem;font-weight:700}.tiers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.tier-card{background:var(--bg-secondary);border:1px solid var(--border-color);padding:2rem;border-radius:16px;text-align:center;position:relative}.tier-card.featured{border-color:var(--primary-color);transform:scale(1.05);box-shadow:0 0 20px rgba(var(--primary-rgb),.2)}.tier-card .badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:var(--primary-color);color:#fff;padding:4px 12px;border-radius:12px;font-size:.8rem;font-weight:700}.tier-card ul{list-style:none;padding:0;margin:2rem 0;text-align:left}.tier-card li{margin-bottom:.5rem;padding-left:1.5rem;position:relative}.tier-card li:before{content:"✓";position:absolute;left:0;color:var(--success-color)}.tier-card .price{font-size:2rem;font-weight:700;margin:1rem 0}.tier-card button{width:100%;padding:1rem;border-radius:8px;border:none;background:var(--bg-tertiary);color:var(--text-primary);cursor:pointer;font-weight:700}.tier-card.featured button{background:var(--primary-color);color:#fff}.content-viewer__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.content-viewer{background:var(--color-panel);border-radius:18px;max-width:960px;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow-strong)}.content-viewer__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.5rem;border-bottom:1px solid var(--color-border)}.content-viewer__tag{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-primary);margin:0 0 .4rem}.content-viewer__description{margin:.5rem 0 0;color:var(--color-ink-soft)}.content-viewer__close{border:none;background:#0f172a14;border-radius:999px;width:36px;height:36px;cursor:pointer;font-size:1rem}.content-viewer__body{padding:1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.content-viewer__pdf{width:100%;height:60vh;border:none;border-radius:14px;box-shadow:inset 0 0 0 1px #e2e8f0}.content-viewer__video{width:100%;aspect-ratio:16 / 9;border:none;border-radius:14px;background:#000}.content-viewer__video iframe,.content-viewer__video video{width:100%;height:100%;border:none;border-radius:14px}.content-viewer__preview{border-radius:14px;border:1px dashed var(--color-border);padding:1rem;display:flex;justify-content:center;align-items:center;min-height:200px;background:#0f172a0a}.content-viewer__preview img{max-width:100%;border-radius:12px}.content-viewer__flashcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.flashcard{border-radius:14px;padding:1rem;background:#2563eb14;border:1px solid rgba(37,99,235,.3);display:flex;flex-direction:column;gap:.45rem}.flashcard span{color:var(--color-primary)}.content-viewer__quiz{display:flex;flex-direction:column;gap:1rem}.content-viewer__quiz article{border-radius:14px;border:1px solid var(--color-border);padding:1rem;background:var(--color-panel)}.content-viewer__quiz ol{padding-left:1.25rem;margin:.5rem 0}.content-viewer__answer{color:var(--color-ink);font-weight:600}.content-viewer__footer{padding:1rem 1.5rem;border-top:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.content-viewer__meta{display:flex;gap:1rem;flex-wrap:wrap;color:var(--color-ink-soft);font-size:.9rem}.content-viewer__cta{padding:.6rem 1.25rem;background:var(--color-primary);color:#fff;border-radius:8px;text-decoration:none;font-weight:600;text-align:center}@media(max-width:768px){.content-viewer{max-height:100vh}.content-viewer__pdf{height:50vh}}.locked-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:1100;padding:1rem}.locked-modal{background:#fff;border-radius:20px;max-width:420px;width:100%;padding:1.5rem;box-shadow:0 30px 70px #0f172a40;display:flex;flex-direction:column;gap:1rem}.locked-modal header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.locked-modal header button{border:none;background:transparent;font-size:1.25rem;cursor:pointer}.locked-modal p{margin:0;color:#1f2937;line-height:1.5}.locked-modal__link{border:none;background:none;color:#2563eb;font-weight:600;cursor:pointer;padding:0}.locked-modal footer{display:flex;gap:.75rem;justify-content:flex-end}.locked-modal footer .btn-primary,.locked-modal footer .btn-secondary{border-radius:999px;padding:.45rem 1.2rem;border:none;cursor:pointer;font-weight:600}.locked-modal footer .btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.locked-modal footer .btn-secondary{background:#6366f126;color:#4338ca}.spark-icon{display:inline-block;font-size:1.2em;transition:all .3s ease;filter:drop-shadow(0 0 2px rgba(255,215,0,.3))}.spark-icon--glowing{filter:drop-shadow(0 0 6px rgba(255,215,0,.8));animation:spark-glow 1s ease-in-out infinite alternate}@keyframes spark-glow{0%{filter:drop-shadow(0 0 4px rgba(255,215,0,.6));transform:scale(1)}to{filter:drop-shadow(0 0 8px rgba(255,215,0,1));transform:scale(1.1)}}.spark-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffd7001a;border:1px solid rgba(255,215,0,.3);border-radius:8px;color:gold;cursor:pointer;transition:all .3s ease;font-weight:600}.spark-button:hover:not(:disabled){background:#ffd70033;border-color:#ffd70080;box-shadow:0 0 12px #ffd70066;transform:translateY(-2px)}.spark-button:disabled{opacity:.5;cursor:not-allowed}.spark-button:active:not(:disabled){transform:scale(.95)}.kids-page{display:flex;flex-direction:column;gap:1.25rem;max-width:1000px;margin:0 auto;padding-bottom:2rem}.kids-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#8b5cf6,#ec4899,#f97316);border-radius:var(--radius-xl);color:#fff;position:relative;overflow:hidden}.kids-header:before{content:"✨";position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:3rem;opacity:.3}.kids-header__mascot{width:60px;height:60px;border-radius:50%;background:#ffffff40;display:flex;align-items:center;justify-content:center;font-size:2rem;flex-shrink:0;animation:bounce 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.kids-header__info h1{margin:0;font-size:1.5rem;font-weight:800}.kids-header__info p{margin:.25rem 0 0;font-size:.9rem;opacity:.9}.kids-bands{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}@media(max-width:500px){.kids-bands{grid-template-columns:1fr}}.kids-band{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:1rem;background:var(--color-panel);border:2px solid var(--color-border);border-radius:var(--radius-lg);cursor:pointer;transition:all .3s;text-align:center}.kids-band:hover{transform:translateY(-3px);box-shadow:0 8px 24px #8b5cf633}.kids-band.active{background:linear-gradient(135deg,#8b5cf626,#ec489926);border-color:#8b5cf6}.kids-band__icon{font-size:2rem}.kids-band__label{font-size:.9rem;font-weight:700;color:var(--color-ink)}.kids-band__subtitle{font-size:.7rem;color:var(--color-ink-muted)}.kids-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.kids-stat{display:flex;flex-direction:column;align-items:center;padding:1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);text-align:center}.kids-stat__icon{font-size:1.5rem;margin-bottom:.25rem}.kids-stat strong{font-size:1.5rem;color:var(--color-ink)}.kids-stat span{font-size:.65rem;color:var(--color-ink-muted);text-transform:uppercase}.kids-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media(max-width:400px){.kids-actions{grid-template-columns:1fr}}.kids-action{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--color-panel);border:2px solid var(--color-border);border-radius:var(--radius-lg);cursor:pointer;transition:all .3s}.kids-action:hover{transform:scale(1.02);border-color:var(--color-primary)}.kids-action--ai{background:linear-gradient(135deg,#6366f11a,#a855f71a);border-color:#6366f14d}.kids-action--games{background:linear-gradient(135deg,#22c55e1a,#10b9811a);border-color:#22c55e4d}.kids-action__icon{font-size:2rem;flex-shrink:0}.kids-action strong{display:block;font-size:.95rem;color:var(--color-ink)}.kids-action span{font-size:.75rem;color:var(--color-ink-muted)}.kids-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.kids-card h2{margin:0;font-size:1.1rem;font-weight:700;color:var(--color-ink);display:flex;align-items:center;gap:.5rem}.kids-card__desc{margin:-.5rem 0 0;font-size:.85rem;color:var(--color-ink-muted)}.kids-stars{display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem;-webkit-overflow-scrolling:touch}.kids-star{flex-shrink:0;width:140px;padding:1rem;background:linear-gradient(145deg,#fbbf241a,#f59e0b0d);border:2px solid rgba(251,191,36,.3);border-radius:var(--radius-lg);text-align:center;position:relative}.kids-star--1{border-color:#fbbf24;background:linear-gradient(145deg,#fbbf2433,#f59e0b1a)}.kids-star--2{border-color:#9ca3af;background:linear-gradient(145deg,#9ca3af26,#6b72800d)}.kids-star--3{border-color:#cd7f32;background:linear-gradient(145deg,#cd7f3226,#b453090d)}.kids-star__rank{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;background:#fbbf24;color:#1f2937;font-size:.75rem;font-weight:800;display:flex;align-items:center;justify-content:center}.kids-star--2 .kids-star__rank{background:#9ca3af}.kids-star--3 .kids-star__rank{background:#cd7f32}.kids-star__avatar{width:50px;height:50px;border-radius:50%;background:var(--gradient-accent);margin:0 auto .5rem;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#fff}.kids-star__name{font-size:.85rem;font-weight:700;color:var(--color-ink);margin:0}.kids-star__lp{display:block;font-size:1rem;font-weight:800;color:#f59e0b;margin-top:.25rem}.kids-star__level{font-size:.65rem;color:var(--color-ink-muted)}.spark-btn{margin-top:.5rem;padding:.4rem .75rem;border-radius:999px;background:linear-gradient(135deg,#fbbf24,#f59e0b);border:none;font-size:.7rem;font-weight:600;color:#1f2937;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.25rem}.spark-btn:disabled{opacity:.6}.kids-content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}@media(max-width:400px){.kids-content-grid{grid-template-columns:repeat(2,1fr)}}.kids-content-item{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:hidden;cursor:pointer;transition:transform .2s}.kids-content-item:hover{transform:scale(1.03)}.kids-content-item__thumb{height:90px;background:linear-gradient(135deg,#e0e7ff,#c7d2fe);display:flex;align-items:center;justify-content:center;font-size:2rem}.kids-content-item__thumb img{width:100%;height:100%;object-fit:cover}.kids-content-item__info{padding:.75rem}.kids-content-item__badge{display:inline-block;padding:.15rem .4rem;background:#6366f126;border-radius:999px;font-size:.6rem;font-weight:600;color:#6366f1;text-transform:uppercase;margin-bottom:.25rem}.kids-content-item__title{margin:0;font-size:.8rem;font-weight:600;color:var(--color-ink);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kids-games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem}.kids-game-card{background:linear-gradient(135deg,#22c55e1a,#10b9810d);border:2px solid rgba(34,197,94,.3);border-radius:var(--radius-lg);padding:1.25rem;text-align:center;cursor:pointer;transition:all .3s}.kids-game-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #22c55e33}.kids-game-card__icon{font-size:2.5rem;margin-bottom:.5rem}.kids-game-card h3{margin:0;font-size:.95rem;font-weight:700;color:var(--color-ink)}.kids-game-card p{margin:.25rem 0 0;font-size:.75rem;color:var(--color-ink-muted)}.kids-game-card__tags{display:flex;justify-content:center;gap:.25rem;margin-top:.5rem;flex-wrap:wrap}.kids-game-card__tags span{padding:.15rem .5rem;background:#22c55e33;border-radius:999px;font-size:.6rem;font-weight:600;color:#16a34a}.kids-game-card button{margin-top:.75rem;padding:.5rem 1rem;border-radius:var(--radius-md);background:#22c55e;border:none;color:#fff;font-size:.8rem;font-weight:600;cursor:pointer}.kids-quiz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.kids-quiz-card{background:linear-gradient(135deg,#a855f71a,#8b5cf60d);border:2px solid rgba(168,85,247,.3);border-radius:var(--radius-lg);padding:1rem;text-align:center}.kids-quiz-card h3{margin:0;font-size:.85rem;font-weight:700;color:var(--color-ink);line-height:1.3}.kids-quiz-card p{margin:.25rem 0 0;font-size:.7rem;color:var(--color-ink-muted)}.kids-quiz-card button{margin-top:.75rem;padding:.5rem .75rem;border-radius:var(--radius-md);background:#a855f7;border:none;color:#fff;font-size:.75rem;font-weight:600;cursor:pointer}.kids-reward-toast{display:flex;align-items:center;gap:.75rem;padding:1rem;background:linear-gradient(135deg,#22c55e26,#10b9811a);border:2px solid rgba(34,197,94,.4);border-radius:var(--radius-lg);animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.kids-reward-toast__icon{font-size:2rem}.kids-reward-toast strong{display:block;font-size:1rem;color:#16a34a}.kids-reward-toast p{margin:0;font-size:.8rem;color:var(--color-ink-muted)}.kids-roadmap-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.kids-roadmap-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0009}.kids-roadmap-modal__body{position:relative;background:var(--color-panel);border-radius:var(--radius-xl);padding:1.5rem;max-width:400px;width:100%;max-height:80vh;overflow-y:auto}.kids-roadmap-modal header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.kids-roadmap-modal h3{margin:0;font-size:1.1rem;color:var(--color-ink)}.kids-roadmap-modal header p{margin:.25rem 0 0;font-size:.8rem;color:var(--color-ink-muted)}.kids-roadmap-modal header button{padding:.5rem;background:transparent;border:none;font-size:1.25rem;cursor:pointer;color:var(--color-ink-muted)}.kids-roadmap-progress{padding:1rem;background:linear-gradient(135deg,#fbbf241a,#f59e0b0d);border-radius:var(--radius-md);margin-bottom:1rem;text-align:center}.kids-roadmap-progress strong{font-size:1.25rem;color:#f59e0b}.kids-roadmap-progress p{margin:.25rem 0 0;font-size:.85rem;color:var(--color-ink-muted)}.kids-roadmap-steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.kids-roadmap-step{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-radius:var(--radius-md);background:var(--color-bg);border:1px solid var(--color-border)}.kids-roadmap-step--complete{background:#22c55e1a;border-color:#22c55e4d}.kids-roadmap-step strong{display:block;font-size:.85rem;color:var(--color-ink)}.kids-roadmap-step span{font-size:.75rem;color:var(--color-ink-muted)}.kids-roadmap-step small{display:block;font-size:.7rem;color:var(--color-ink-muted);margin-top:.25rem}.kids-empty{text-align:center;padding:2rem 1rem;color:var(--color-ink-muted);font-size:.9rem}.kids-loading{text-align:center;padding:1rem;color:var(--color-ink-muted)}.kids-error{padding:.75rem 1rem;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:var(--radius-md);color:#dc2626;font-size:.85rem}.kids-notice{padding:.75rem 1rem;background:#6366f11a;border:1px solid rgba(99,102,241,.2);border-radius:var(--radius-md);color:#6366f1;font-size:.85rem}.kids-roadmap-btn{padding:.5rem 1rem;border-radius:var(--radius-md);background:linear-gradient(135deg,#fbbf24,#f59e0b);border:none;color:#1f2937;font-size:.8rem;font-weight:600;cursor:pointer}.kids-page--embedded .kids-header{border-radius:var(--radius-lg)}.kids-page--embedded .kids-card{box-shadow:none;border:none;padding:1rem 0}.content-card{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem;background:var(--color-panel);transition:box-shadow .2s ease,transform .2s ease;cursor:pointer;display:flex;flex-direction:column;gap:.75rem;min-height:240px;box-shadow:0 10px 25px #0f172a14}.content-card:hover{box-shadow:0 25px 45px #0f172a2e;transform:translateY(-3px)}.content-card__thumb{width:100%;height:170px;border-radius:12px;overflow:hidden;background:radial-gradient(circle at top,#6366f133,#ec489926);border:1px solid rgba(99,102,241,.15);display:flex;align-items:center;justify-content:center}.content-card__thumb img{width:100%;height:100%;object-fit:cover}.content-card__thumb.is-placeholder{border-style:dashed}.content-card__glyph{font-size:2.5rem}.content-card header{display:flex;justify-content:space-between;gap:.5rem;align-items:flex-start}.content-card__type{margin:0;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:var(--color-ink-muted)}.content-card h3{margin:.2rem 0 0;font-size:1.05rem}.content-card__badge{background-color:var(--color-primary);color:#fff;padding:.2rem .7rem;border-radius:999px;font-size:.75rem;text-transform:uppercase}.content-card p{margin:0;color:var(--color-ink-soft)}.content-card footer{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:.5rem;color:var(--color-ink-muted);font-size:.85rem}.content-card__meta{display:flex;flex-direction:column;gap:.15rem}.content-card__creator{opacity:.9}.content-card__actions{display:flex;gap:.5rem;align-items:center}.content-card__spark{display:inline-flex;align-items:center;gap:.25rem;border:1px solid rgba(251,191,36,.4);border-radius:999px;padding:.25rem .7rem;background:linear-gradient(135deg,#fbbf2426,#f59e0b1a);color:#d97706;font-weight:600;font-size:.8rem;cursor:pointer;transition:all .2s ease}.content-card__spark:hover{background:linear-gradient(135deg,#fbbf244d,#f59e0b33);border-color:#fbbf2499;transform:scale(1.05)}.content-card__spark:active{transform:scale(.95)}.content-card__tip{border:1px solid rgba(79,70,229,.3);border-radius:999px;padding:.2rem .8rem;background:#4f46e514;color:var(--color-primary);font-weight:600;cursor:pointer}.learning-page{display:flex;flex-direction:column;gap:1rem;max-width:1000px;margin:0 auto;padding-bottom:2rem}.learning-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.learning-header__avatar{width:52px;height:52px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.learning-header__info h1{margin:0;font-size:1.25rem;font-weight:700}.learning-header__info p{margin:.25rem 0 0;font-size:.85rem;opacity:.9}.learning-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.learning-stat{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.75rem;text-align:center}.learning-stat strong{display:block;font-size:1.25rem;color:var(--color-ink)}.learning-stat span{font-size:.7rem;color:var(--color-ink-muted);text-transform:uppercase}.learning-search{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md)}.learning-search__icon{font-size:1rem;flex-shrink:0}.learning-search input{flex:1;border:none;background:transparent;color:var(--color-ink);font-size:.9rem;outline:none}.learning-search input::placeholder{color:var(--color-ink-muted)}.learning-chips{display:flex;gap:.5rem;flex-wrap:wrap}.pill{padding:.5rem 1rem;border-radius:999px;background:var(--color-panel);border:1px solid var(--color-border);color:var(--color-ink);font-size:.8rem;cursor:pointer;transition:all .2s}.pill:hover{border-color:var(--color-primary)}.pill--active{background:var(--gradient-accent);border-color:transparent;color:#fff}.learning-alert{padding:.75rem 1rem;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:var(--radius-md);color:#dc2626;font-size:.85rem}.learning-grid{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1rem}.learning-grid__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}@media(max-width:500px){.learning-grid__cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:360px){.learning-grid__cards{grid-template-columns:1fr}}.loading-text,.empty-text{color:var(--color-ink-muted);font-size:.9rem;padding:.5rem 0}.admin-dashboard{display:flex;flex-direction:column;gap:1.5rem;padding:1rem;max-width:1400px;margin:0 auto}.admin-header{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;border-radius:var(--radius-lg, 16px);background:linear-gradient(135deg,#1e1b4b,#312e81,#4c1d95);color:#fff;box-shadow:0 8px 32px #0000004d}.admin-title{display:flex;flex-direction:column;gap:.25rem}.admin-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;color:#c7d2fe;font-weight:600}.admin-header h1{margin:0;font-size:1.5rem;font-weight:700}.admin-subtitle{margin:0;font-size:.85rem;color:#a5b4fc}.admin-controls{display:flex;gap:.75rem;flex-wrap:wrap}.admin-stats-link,.refresh-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border-radius:999px;border:none;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.admin-stats-link{background:#ffffff26;color:#fff;text-decoration:none}.admin-stats-link:hover{background:#ffffff40}.refresh-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.refresh-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #6366f166}.admin-kpi-row{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media(min-width:600px){.admin-kpi-row{grid-template-columns:repeat(4,1fr)}}.admin-kpi-card{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px);box-shadow:var(--shadow-soft, 0 2px 8px rgba(0,0,0,.05))}.admin-kpi-icon{font-size:1.5rem;color:#6366f1}.admin-kpi-info{display:flex;flex-direction:column}.admin-kpi-value{font-size:1.25rem;font-weight:700;color:var(--color-ink, #1e293b)}.admin-kpi-label{font-size:.75rem;color:var(--color-ink-muted, #64748b);text-transform:uppercase;letter-spacing:.05em}.admin-tabs{display:flex;gap:.5rem;overflow-x:auto;padding:.5rem 0;scrollbar-width:none;-ms-overflow-style:none}.admin-tabs::-webkit-scrollbar{display:none}.admin-tab-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1rem;border:1px solid var(--color-border, #e2e8f0);border-radius:999px;background:var(--color-panel, #fff);color:var(--color-ink-muted, #64748b);font-size:.85rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .2s ease}.admin-tab-btn:hover{background:#6366f11a;border-color:#6366f1;color:#6366f1}.admin-tab-btn.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:transparent;color:#fff;box-shadow:0 4px 12px #6366f14d}.admin-content{min-height:400px}.admin-tab-panel{display:flex;flex-direction:column;gap:1rem}.admin-section-header{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}@media(min-width:600px){.admin-section-header{flex-direction:row;justify-content:space-between;align-items:center}}.admin-section-header h2{margin:0;font-size:1.1rem;color:var(--color-ink, #1e293b)}.admin-section-header p{margin:0;font-size:.85rem;color:var(--color-ink-muted, #64748b)}.admin-section-actions{display:flex;gap:.5rem;flex-wrap:wrap}.admin-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.admin-filters label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.admin-filters input,.admin-filters select{padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem;background:#fff;color:#1e293b}.admin-filters button{align-self:flex-end;padding:.5rem 1rem;border:none;border-radius:var(--radius-sm, 8px);background:#1e293b;color:#fff;font-size:.85rem;font-weight:500;cursor:pointer}.admin-bulk-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;padding:.75rem 1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.admin-bulk-actions button{display:inline-flex;align-items:center;gap:.3rem;padding:.5rem .75rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);background:var(--color-panel, #fff);color:var(--color-ink, #1e293b);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease}.admin-bulk-actions button:hover:not(:disabled){background:#6366f11a;border-color:#6366f1}.admin-bulk-actions button.approve{background:linear-gradient(135deg,#16a34a,#22c55e);border-color:transparent;color:#fff}.admin-bulk-actions button.reject{background:linear-gradient(135deg,#dc2626,#ef4444);border-color:transparent;color:#fff}.admin-bulk-actions button.danger{background:#fef2f2;border-color:#fecaca;color:#dc2626}.admin-bulk-actions button:disabled{opacity:.5;cursor:not-allowed}.decision-note{flex:1;min-width:150px;padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem}.status{padding:.75rem 1rem;border-radius:var(--radius-sm, 8px);font-size:.85rem;font-weight:500}.status--success{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.status--error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.loading-text,.empty-text{padding:2rem;text-align:center;color:var(--color-ink-muted, #64748b);font-size:.9rem}.moderation-list{display:flex;flex-direction:column;gap:.75rem}.moderation-card{padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px);transition:all .2s ease}.moderation-card.is-selected{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.moderation-card__header{display:flex;gap:.75rem;align-items:flex-start}.moderation-card__info{flex:1}.moderation-card__labels{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:.35rem}.moderation-card__info h3{margin:0 0 .25rem;font-size:1rem}.moderation-card__info .muted{margin:0;font-size:.85rem;color:var(--color-ink-muted, #64748b)}.moderation-card__meta{list-style:none;padding:0;margin:.5rem 0 0;display:flex;flex-wrap:wrap;gap:.75rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.moderation-card__actions{display:flex;flex-direction:column;gap:.35rem}.moderation-card__actions button{display:inline-flex;align-items:center;gap:.25rem;padding:.4rem .6rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);background:var(--color-panel, #fff);color:var(--color-ink, #1e293b);font-size:.75rem;cursor:pointer}.moderation-card__controls{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border, #e2e8f0)}.moderation-card__controls label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.moderation-card__controls input,.moderation-card__controls textarea,.moderation-card__controls select{padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem;background:#fff;color:#1e293b}.moderation-card__controls textarea{min-height:60px;resize:vertical}.moderation-card__buttons{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.moderation-card__buttons button,.moderation-card__buttons .button{padding:.5rem .75rem;border:none;border-radius:var(--radius-sm, 8px);font-size:.8rem;font-weight:500;cursor:pointer;background:#1e293b;color:#fff}.moderation-card__buttons .button--secondary{background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}.moderation-card__buttons .danger{background:#dc2626}.checkbox{display:flex;align-items:center;gap:.35rem}.checkbox input{width:1.1rem;height:1.1rem;cursor:pointer}.checkbox--inline{flex-direction:row;font-weight:500}.badge{display:inline-block;padding:.2rem .5rem;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase;background:#6366f11a;color:#6366f1}.badge--kids{background:#22c55e1a;color:#16a34a}.badge--mode{background:#6366f126;color:#6366f1}.badge--status{background:#fbbf2426;color:#d97706}.badge--completed{background:#22c55e26;color:#16a34a}.badge--in_progress{background:#3b82f626;color:#2563eb}.badge--public{background:#22c55e26;color:#16a34a}.trash-list{display:flex;flex-direction:column;gap:.75rem}.trash-card{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}@media(min-width:600px){.trash-card{flex-direction:row;justify-content:space-between;align-items:center}}.trash-card__info h3{margin:0 0 .25rem;font-size:1rem}.trash-card__info .muted{margin:0;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.trash-card__actions{display:flex;gap:.5rem;flex-wrap:wrap}.trash-card__actions button{padding:.4rem .75rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);background:var(--color-panel, #fff);color:var(--color-ink, #1e293b);font-size:.8rem;cursor:pointer}.trash-card__actions button.danger{background:#dc2626;border-color:#dc2626;color:#fff}.category-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.category-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.category-form input,.category-form select{padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem;background:#fff;color:#1e293b}.category-form button{align-self:flex-end;padding:.5rem 1rem;border:none;border-radius:var(--radius-sm, 8px);background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:.85rem;font-weight:500;cursor:pointer}.category-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto}.category-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px)}.category-item strong{display:block;font-size:.95rem}.category-item p{margin:.25rem 0 0;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.category-item small{font-size:.75rem;color:var(--color-ink-muted, #64748b)}.category-item button.danger{padding:.4rem .75rem;border:none;border-radius:var(--radius-sm, 8px);background:#dc2626;color:#fff;font-size:.8rem;cursor:pointer}.messages-list{display:flex;flex-direction:column;gap:.75rem}.message-card{padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.message-card--unread{border-left:4px solid #f59e0b}.message-card__header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}@media(min-width:600px){.message-card__header{flex-direction:row;justify-content:space-between;align-items:flex-start}}.message-card__header h3{margin:0;font-size:1rem}.message-card__header .muted{margin:0;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.message-card__actions{display:flex;gap:.5rem}.message-card__actions button{padding:.4rem .75rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);background:var(--color-panel, #fff);color:var(--color-ink, #1e293b);font-size:.8rem;cursor:pointer}.message-card__actions button.danger{background:#dc2626;border-color:#dc2626;color:#fff}.message-card>p{margin:0;font-size:.9rem;line-height:1.5}.rewards-controls{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.rewards-controls label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.rewards-controls input{padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem;background:#fff;color:#1e293b}.rewards-buttons{display:flex;gap:.5rem;align-items:flex-end;flex-wrap:wrap}.rewards-buttons button{padding:.5rem 1rem;border:none;border-radius:var(--radius-sm, 8px);font-size:.85rem;font-weight:500;cursor:pointer;background:#1e293b;color:#fff}.rewards-buttons button.approve{background:linear-gradient(135deg,#16a34a,#22c55e)}.rewards-summary{padding:1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-md, 12px)}.rewards-summary h3{margin:0 0 .75rem;font-size:1rem}.rewards-summary ul{margin:0;padding-left:1.25rem;font-size:.9rem;line-height:1.6}.quiz-list{display:flex;flex-direction:column;gap:.5rem;max-height:500px;overflow-y:auto}.quiz-row{display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:.75rem;align-items:center;padding:.75rem 1rem;background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px)}@media(max-width:700px){.quiz-row{grid-template-columns:1fr;gap:.5rem}}.quiz-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.quiz-meta strong{font-size:.9rem}.quiz-details{display:flex;flex-direction:column;gap:.15rem;font-size:.8rem;color:var(--color-ink-muted, #64748b)}.quiz-user{display:flex;flex-direction:column;gap:.1rem}.quiz-user span{font-size:.85rem}.quiz-user small{font-size:.75rem;color:var(--color-ink-muted, #64748b)}.quiz-row button.danger{padding:.4rem .75rem;border:none;border-radius:var(--radius-sm, 8px);background:#dc2626;color:#fff;font-size:.8rem;cursor:pointer}.users-list{display:flex;flex-direction:column;gap:.5rem}.users-header,.users-row{display:grid;grid-template-columns:2fr 1.5fr 2fr 1fr;gap:.75rem;align-items:center;padding:.75rem 1rem}@media(max-width:800px){.users-header,.users-row{grid-template-columns:1fr;gap:.5rem}.users-header{display:none}}.users-header{font-weight:600;font-size:.8rem;color:var(--color-ink-muted, #64748b);text-transform:uppercase;letter-spacing:.05em}.users-row{background:var(--color-panel, #fff);border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px)}.users-row input,.users-row select{width:100%;padding:.5rem;border:1px solid var(--color-border, #e2e8f0);border-radius:var(--radius-sm, 8px);font-size:.85rem;background:#fff;color:#1e293b}.users-actions{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.users-actions button{padding:.4rem .6rem;border:none;border-radius:var(--radius-sm, 8px);font-size:.75rem;font-weight:500;cursor:pointer;background:#1e293b;color:#fff}.users-actions button.danger{background:#dc2626}.users-actions button:disabled{opacity:.5;cursor:not-allowed}body[data-theme=dark] .admin-kpi-card,body[data-theme=dark] .admin-section-header,body[data-theme=dark] .admin-filters,body[data-theme=dark] .admin-bulk-actions,body[data-theme=dark] .moderation-card,body[data-theme=dark] .trash-card,body[data-theme=dark] .category-form,body[data-theme=dark] .category-item,body[data-theme=dark] .message-card,body[data-theme=dark] .rewards-controls,body[data-theme=dark] .rewards-summary,body[data-theme=dark] .quiz-row,body[data-theme=dark] .users-row{background:#1e1b4b99;border-color:#8b5cf633}body[data-theme=dark] .admin-tab-btn{background:#1e1b4b99;border-color:#8b5cf633;color:#a5b4fc}body[data-theme=dark] .admin-tab-btn:hover{background:#6366f133}body[data-theme=dark] .admin-filters input,body[data-theme=dark] .admin-filters select,body[data-theme=dark] .category-form input,body[data-theme=dark] .category-form select,body[data-theme=dark] .rewards-controls input,body[data-theme=dark] .moderation-card__controls input,body[data-theme=dark] .moderation-card__controls textarea,body[data-theme=dark] .users-row input,body[data-theme=dark] .users-row select,body[data-theme=dark] .decision-note{background:#fffffff2;color:#1e293b}@media(min-width:600px){.admin-header{flex-direction:row;justify-content:space-between;align-items:center}.admin-header h1{font-size:1.75rem}}.family-page{display:flex;flex-direction:column;gap:1rem;max-width:900px;margin:0 auto;padding-bottom:2rem}.family-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.family-header__avatar{width:52px;height:52px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.family-header__info{flex:1}.family-header__info h1{margin:0;font-size:1.25rem;font-weight:700}.family-header__info p{margin:.25rem 0 0;font-size:.85rem;opacity:.9}.family-refresh{width:40px;height:40px;border-radius:50%;background:#ffffff26;border:none;font-size:1.25rem;cursor:pointer;flex-shrink:0}.family-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}@media(max-width:500px){.family-stats{grid-template-columns:repeat(2,1fr)}}.family-stat{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.75rem;text-align:center}.family-stat strong{display:block;font-size:1.25rem;color:var(--color-ink)}.family-stat span{font-size:.7rem;color:var(--color-ink-muted);text-transform:uppercase}.family-actions{display:flex;gap:.75rem}.family-action{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s}.family-action:hover{border-color:var(--color-primary)}.family-action span{font-size:1.25rem}.family-action strong{font-size:.9rem;color:var(--color-ink)}.family-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.family-card h2{margin:0;font-size:1rem;font-weight:600;color:var(--color-ink)}.family-card__desc{margin:-.5rem 0 0;font-size:.85rem;color:var(--color-ink-muted)}.family-card--center{text-align:center;align-items:center;padding:2rem}.family-icon{font-size:3rem;margin-bottom:.5rem}.family-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;align-items:end}.family-field{display:flex;flex-direction:column;gap:.25rem}.family-field label{font-size:.75rem;font-weight:600;color:var(--color-ink-muted);text-transform:uppercase}.family-field input,.family-field select{padding:.65rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-bg);color:var(--color-ink);font-size:.9rem}.children-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.child-card{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem;display:flex;flex-direction:column;gap:.75rem}.child-card--top{border-color:#eab30880;background:linear-gradient(135deg,#eab3080d,#fbbf240d)}.child-card__header{display:flex;align-items:center;gap:.75rem}.child-card__avatar{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#fff;flex-shrink:0}.child-card__info h3{margin:0;font-size:.95rem;color:var(--color-ink)}.child-card__level{font-size:.7rem;color:var(--color-ink-muted);text-transform:uppercase}.child-card__stats{display:flex;gap:.5rem}.child-card__stats>div{flex:1;text-align:center;padding:.5rem;background:var(--color-panel);border-radius:var(--radius-sm)}.child-card__stats strong{display:block;font-size:1rem;color:var(--color-ink)}.child-card__stats span{font-size:.65rem;color:var(--color-ink-muted);text-transform:uppercase}.child-card__code{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#6366f11a;border-radius:var(--radius-sm);font-size:.8rem}.child-card__code span{color:var(--color-ink-muted)}.child-card__code code{font-weight:700;color:var(--color-primary)}.family-badges{display:flex;flex-wrap:wrap;gap:.5rem}.family-badge{display:flex;flex-direction:column;padding:.5rem .75rem;background:#0ea5e91a;border:1px solid rgba(14,165,233,.2);border-radius:var(--radius-sm)}.family-badge span{font-size:.85rem;font-weight:600;color:var(--color-ink)}.family-badge small{font-size:.7rem;color:var(--color-ink-muted)}.family-alert{padding:.75rem 1rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:500}.family-alert--error{background:#ef44441a;border:1px solid rgba(239,68,68,.2);color:#dc2626}.family-alert--success{background:#10b9811a;border:1px solid rgba(16,185,129,.2);color:#059669}.btn-primary{padding:.75rem 1.25rem;border-radius:var(--radius-md);background:var(--gradient-accent);color:#fff;font-size:.85rem;font-weight:600;border:none;cursor:pointer}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.empty-text{color:var(--color-ink-muted);font-size:.9rem}.policy-page{background:#fff;border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:2rem;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:1.25rem;color:var(--color-ink)}.policy-page h1{margin:0}.policy-section{display:flex;flex-direction:column;gap:.5rem}.policy-section h2{margin:0}.policy-list{list-style:disc;padding-left:1.25rem}.policy-meta{font-size:.85rem;color:var(--color-ink-muted)}body[data-theme=dark] .policy-page{background:#0c162b;border-color:#ffffff14;color:#e2e8f0;box-shadow:0 20px 60px #0000008c}body[data-theme=dark] .policy-meta{color:#94a3b8}.about-page{min-height:100vh;background:var(--grain),linear-gradient(180deg,#0b1226,#0b1023 35%,#f7f8fd);color:#eef2ff;padding:4rem clamp(1rem,5vw,6rem);display:flex;flex-direction:column;gap:2rem}.about-hero{max-width:720px;display:flex;flex-direction:column;gap:1rem}.about-hero__eyebrow{text-transform:uppercase;letter-spacing:.2em;color:#c7d2fe;margin:0;font-size:.8rem;font-weight:700}.about-hero h1{margin:0;font-size:clamp(2rem,5vw,3.5rem)}.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}.about-grid article{background:var(--color-panel);color:var(--color-ink);border:1px solid var(--color-border);border-radius:22px;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:var(--shadow-soft)}.about-grid article h2{margin:0;font-size:1.2rem;color:var(--color-primary)}.about-grid article ul,.about-grid article ol{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:.4rem}.about-grid article a{color:var(--color-primary-soft)}.support-grid .span-2{grid-column:span 2}.support-progress{display:flex;flex-direction:column;gap:.5rem;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:1rem 1.25rem}.support-progress__header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-weight:600}.support-progress__bar{width:100%;height:12px;border-radius:999px;background:#ffffff1f;overflow:hidden}.support-progress__bar>div{height:100%;background:linear-gradient(90deg,#6366f1,#22d3ee);border-radius:999px;transition:width .3s ease}.support-badges{display:grid;gap:.65rem}.support-badge{border:1px dashed var(--color-border);border-radius:12px;padding:.75rem 1rem;background:#ffffff14}.support-badge strong{display:block;margin-bottom:.25rem}.support-top-donors{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.support-top-donors li{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:12px;background:#ffffff0f}.support-ideas{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:.4rem}@media(max-width:640px){.about-page{padding:2rem 1rem;overflow-x:hidden}.about-grid,.support-grid{grid-template-columns:1fr}.support-grid .span-2{grid-column:auto}}.page{background:var(--color-panel);padding:clamp(1.5rem,2vw,2.6rem);border-radius:32px;border:1px solid var(--color-border);box-shadow:var(--shadow-soft);position:relative;overflow:hidden}.page:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient-card);opacity:.35;pointer-events:none}.page__cta{display:flex;gap:1rem;margin-top:1.5rem}.page__cta a{padding:.85rem 1.6rem;border-radius:999px;background:var(--gradient-accent);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 14px 30px #5e30eb59}.category-view__tabs{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.category-view__tabs button{border:1px solid var(--color-border);background:var(--color-panel);color:var(--color-ink);padding:.65rem 1.35rem;border-radius:999px;cursor:pointer;font-weight:600}.category-view__tabs button.is-active{background:var(--gradient-accent);color:#fff;border-color:transparent;box-shadow:0 12px 28px #5e30eb4d}.page-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-soft);position:relative;overflow:hidden}.page-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient-card);opacity:.2;pointer-events:none}.page-card>*{position:relative;z-index:1}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.form-grid label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}.form-grid input,.form-grid textarea{padding:.85rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:#ffffffeb}.form-grid__full{grid-column:1 / -1}@media(max-width:640px){.page{padding:1.25rem}.page__cta{flex-direction:column}.page__cta a{text-align:center}}.analytics-dashboard{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e1b4b,#0f172a);padding:2rem;font-family:Inter,system-ui,sans-serif;color:#e2e8f0}.analytics-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;color:#94a3b8}.analytics-spinner{width:48px;height:48px;border:4px solid rgba(99,102,241,.2);border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.analytics-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.analytics-title{flex:1}.analytics-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;font-weight:600;color:#6366f1;margin-bottom:.25rem;display:block}.analytics-title h1{font-size:2.5rem;font-weight:800;background:linear-gradient(135deg,#fff,#a5b4fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.analytics-subtitle{color:#94a3b8;margin-top:.5rem}.analytics-controls{display:flex;align-items:center;gap:1rem}.auto-refresh-toggle{display:flex;align-items:center;gap:.5rem;color:#94a3b8;font-size:.875rem;cursor:pointer}.auto-refresh-toggle input{accent-color:#6366f1}.refresh-btn{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.75rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 15px #6366f14d}.refresh-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.refresh-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.refresh-btn .spinning{animation:spin 1s linear infinite}.analytics-tabs{display:flex;gap:.5rem;margin-bottom:2rem;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:thin;scrollbar-color:#4b5563 transparent}.tab-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;color:#94a3b8;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.tab-btn:hover{background:#ffffff1a;color:#e2e8f0}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:2rem}.kpi-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.25rem;display:flex;align-items:center;gap:1rem;transition:all .2s}.kpi-card:hover{background:#ffffff14;transform:translateY(-2px);box-shadow:0 8px 25px #0003}.kpi-icon{width:48px;height:48px;border-radius:.75rem;background:var(--accent, #6366f1);display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#fff;flex-shrink:0}.kpi-info{display:flex;flex-direction:column;gap:.125rem}.kpi-label{font-size:.75rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.kpi-value{font-size:1.5rem;font-weight:700;color:#fff}.kpi-change{font-size:.75rem;color:#22c55e}.kpi-row{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.kpi-mini{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:.75rem;padding:1rem 1.5rem;display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:120px;flex:1}.kpi-mini .value{font-size:1.5rem;font-weight:700;color:#fff}.kpi-mini .label{font-size:.7rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.kpi-mini.success .value{color:#22c55e}.kpi-mini.warning .value{color:#eab308}.kpi-mini.danger .value{color:#ef4444}.charts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.chart-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem}.chart-card.wide{grid-column:1 / -1}.chart-card h3{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#e2e8f0}.tables-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;margin-bottom:2rem}.table-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem;overflow:hidden}.table-card h3{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#e2e8f0}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table th{text-align:left;padding:.75rem;color:#94a3b8;font-weight:500;border-bottom:1px solid rgba(255,255,255,.1);text-transform:uppercase;font-size:.7rem;letter-spacing:.05em}.data-table td{padding:.75rem;color:#e2e8f0;border-bottom:1px solid rgba(255,255,255,.05)}.data-table tr:hover td{background:#ffffff08}.data-table .badge{display:inline-block;padding:.25rem .5rem;background:#6366f133;color:#a5b4fc;border-radius:.375rem;font-size:.75rem;text-transform:capitalize}.data-table .status{font-size:.75rem;padding:.25rem .5rem;border-radius:.375rem}.data-table .status.approved{background:#22c55e33;color:#4ade80}.data-table .status.pending_review{background:#eab30833;color:#facc15}.data-table .status.rejected{background:#ef444433;color:#f87171}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem}.stat-card h4{margin:0 0 1rem;font-size:.875rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.stat-values{display:flex;gap:2rem;flex-wrap:wrap}.stat-values>div{display:flex;flex-direction:column;gap:.25rem}.big-num{font-size:2rem;font-weight:700;color:#fff}.stat-card .label{font-size:.75rem;color:#94a3b8}.realtime-pulse{display:flex;gap:1.5rem;margin-bottom:2rem;flex-wrap:wrap}.pulse-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:2rem;display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:150px;flex:1;position:relative}.pulse-card.live{border-color:#22c55e;box-shadow:0 0 20px #22c55e33}.pulse-indicator{position:absolute;top:1rem;right:1rem;width:12px;height:12px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.pulse-value{font-size:3rem;font-weight:800;color:#fff}.pulse-label{font-size:.875rem;color:#94a3b8}.activity-streams{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.stream-card{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem;max-height:400px;overflow-y:auto}.stream-card h3{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1rem;font-weight:600;color:#e2e8f0}.activity-list{list-style:none;padding:0;margin:0}.activity-list li{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid rgba(255,255,255,.05)}.activity-list li:last-child{border-bottom:none}.activity-user{font-weight:500;color:#e2e8f0;flex:1}.activity-meta{font-size:.75rem;color:#94a3b8;flex:1}.activity-time{font-size:.75rem;color:#64748b}.heatmap-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:.5rem}.heatmap-cell{background:#6366f1;border-radius:.375rem;padding:.5rem;display:flex;flex-direction:column;align-items:center;gap:.25rem;transition:all .2s}.heatmap-cell:hover{transform:scale(1.1)}.heatmap-cell .hour{font-size:.625rem;color:#ffffffb3}.heatmap-cell .count{font-size:.875rem;font-weight:600;color:#fff}@media(max-width:768px){.analytics-dashboard{padding:1rem}.analytics-title h1{font-size:1.75rem}.charts-row{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,1fr)}.heatmap-grid{grid-template-columns:repeat(6,1fr)}}.no-data{display:flex;align-items:center;justify-content:center;min-height:200px;color:#94a3b8;font-size:1rem;background:#1e293b80;border-radius:12px;border:1px dashed rgba(148,163,184,.3)}.no-recent{color:#64748b;font-size:.875rem;text-align:center;padding:1rem;margin:0}.settings-page{display:flex;flex-direction:column;gap:1rem;max-width:700px;margin:0 auto;padding-bottom:2rem}.settings-header{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--gradient-hero);border-radius:var(--radius-lg);color:#fff}.settings-header__avatar{width:52px;height:52px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.settings-header__info h1{margin:0;font-size:1.25rem;font-weight:700}.settings-header__info p{margin:.25rem 0 0;font-size:.85rem;opacity:.9}.settings-cards{display:flex;flex-direction:column;gap:1rem}.settings-card{background:var(--color-panel);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}.settings-card h2{margin:0;font-size:1rem;font-weight:600;color:var(--color-ink)}.settings-card p{margin:0;font-size:.85rem;color:var(--color-ink-muted)}.settings-card--pi{background:linear-gradient(135deg,#f9b83314,#f9731614);border-color:#f9b83340}.settings-card--danger{background:linear-gradient(135deg,#ef44440d,#dc26260d);border-color:#ef444433}.settings-card__header{display:flex;align-items:center;gap:.5rem}.pi-icon{width:28px;height:28px;border-radius:50%;object-fit:cover}.settings-field{display:flex;flex-direction:column;gap:.35rem}.settings-field label{font-size:.75rem;font-weight:600;color:var(--color-ink-muted);text-transform:uppercase;letter-spacing:.02em}.settings-field input{padding:.75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-bg);color:var(--color-ink);font-size:.9rem}.settings-field input:focus{outline:none;border-color:var(--color-primary)}.input-disabled{opacity:.6;cursor:not-allowed}.password-form{display:flex;flex-direction:column;gap:.75rem}.pi-status{display:flex;flex-direction:column;gap:.5rem}.status-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.3rem .6rem;border-radius:999px;font-size:.7rem;font-weight:600;width:fit-content}.status-badge.success{background:#10b98126;color:#059669}.status-badge.warning{background:#f59e0b26;color:#d97706}.pi-instructions{padding:.75rem;background:var(--color-bg);border-radius:var(--radius-sm);margin-top:.5rem}.pi-instructions h4{margin:0 0 .5rem;font-size:.8rem;color:var(--color-ink)}.pi-instructions ol{margin:0;padding-left:1.25rem;font-size:.8rem;color:var(--color-ink-muted)}.pi-instructions li{margin-bottom:.25rem}.toggle-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;cursor:pointer}.toggle-row span{font-size:.9rem;color:var(--color-ink)}.toggle-switch{position:relative}.toggle-switch input{display:none}.toggle-slider{display:block;width:44px;height:24px;background:var(--color-border);border-radius:999px;position:relative;transition:background .2s}.toggle-slider:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s}.toggle-switch input:checked+.toggle-slider{background:var(--color-primary)}.toggle-switch input:checked+.toggle-slider:after{transform:translate(20px)}.btn-primary,.btn-secondary,.btn-danger{padding:.75rem 1.25rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:600;cursor:pointer;border:none;transition:opacity .2s;width:fit-content}.btn-primary{background:var(--gradient-accent);color:#fff}.btn-secondary{background:var(--color-border);color:var(--color-ink)}.btn-danger{background:#ef444426;color:#dc2626;border:1px solid rgba(239,68,68,.3)}.btn-primary:disabled,.btn-secondary:disabled,.btn-danger:disabled{opacity:.5;cursor:not-allowed}.settings-toast{position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:500;box-shadow:0 4px 20px #00000026;z-index:1000;max-width:90%}.settings-toast.error{background:#fef2f2;color:#dc2626;border:1px solid rgba(239,68,68,.3)}.settings-toast.info{background:#eff6ff;color:#2563eb;border:1px solid rgba(59,130,246,.3)}.settings-toast button{background:none;border:none;font-size:1.25rem;cursor:pointer;color:inherit;padding:0;line-height:1}:root{font-family:Plus Jakarta Sans,Sora,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--color-ink);background-color:var(--color-bg);line-height:1.6}button,input,textarea,select{font:inherit}.pill,button.pill{padding:.5rem 1.1rem;border-radius:999px;border:1px solid var(--color-border-strong);background:#ffffff80;color:var(--color-ink);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease}.pill--active,button.pill--active{background:var(--gradient-accent);border-color:transparent;color:#fff;box-shadow:0 15px 40px #5e30eb59}.btn-primary{border:none;border-radius:999px;padding:.85rem 1.9rem;font-weight:700;color:#fff;background:var(--gradient-accent);box-shadow:0 14px 38px #5e30eb59;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease}.btn-primary:hover{transform:translateY(-1px) scale(1.01);box-shadow:0 18px 48px #5e30eb73}.btn-secondary{border-radius:999px;border:1px solid rgba(124,92,253,.25);padding:.8rem 1.6rem;color:var(--color-primary);background:#7c5cfd14;font-weight:600;cursor:pointer}.glass-panel{background:var(--color-glass);border:1px solid var(--color-border);border-radius:var(--radius-md);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 14px 48px #141e3a29}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--grain),linear-gradient(180deg,#0b1023e6,#f7f8fdeb),var(--color-bg)}.app-shell--with-sidebar{padding-left:72px;transition:padding-left .25s ease}.app-shell__body{display:flex;flex:1;gap:1.5rem;padding:1.5rem 2.4rem;position:relative}.app-shell__body:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 10% 20%,rgba(124,92,253,.1),transparent 30%),radial-gradient(circle at 90% 20%,rgba(14,165,233,.08),transparent 28%),radial-gradient(circle at 30% 80%,rgba(249,115,22,.06),transparent 40%);pointer-events:none;z-index:0}.app-shell__content{flex:1;min-width:0;position:relative;z-index:1}.app-shell__content--sidebar{max-width:1400px;margin:0 auto;width:100%}@media(max-width:960px){.app-shell__body{flex-direction:column;padding:1.25rem}}@media(max-width:768px){.app-shell--with-sidebar{padding-left:0}.app-shell__content--sidebar{padding-top:60px}}:root{--color-ink: #0a0f1f;--color-ink-soft: #334155;--color-ink-muted: #6b7280;--color-bg: #f7f8fd;--color-panel: #ffffff;--color-glass: rgba(255, 255, 255, .82);--color-primary: #5e30eb;--color-primary-soft: #7c5cfd;--color-secondary: #0ea5e9;--color-accent: #f97316;--color-border: rgba(99, 102, 241, .14);--color-border-strong: rgba(99, 102, 241, .28);--shadow-soft: 0 22px 70px rgba(20, 30, 58, .12);--shadow-strong: 0 45px 120px rgba(20, 30, 58, .22);--radius-lg: 28px;--radius-md: 18px;--radius-sm: 12px;--gradient-hero: linear-gradient(120deg, #0b1226 0%, #131b38 30%, #6b4bff 100%);--gradient-accent: linear-gradient(125deg, #5e30eb, #0ea5e9);--gradient-card: linear-gradient(140deg, rgba(94, 48, 235, .12), rgba(14, 165, 233, .14));--grain: radial-gradient(circle at 20% 20%, rgba(94, 48, 235, .08), transparent 26%), radial-gradient(circle at 80% 10%, rgba(14, 165, 233, .1), transparent 24%), radial-gradient(circle at 40% 70%, rgba(249, 115, 22, .08), transparent 32%)}body[data-theme=dark]{--color-ink: #e6e9ff;--color-ink-soft: #c7cff8;--color-ink-muted: #94a3b8;--color-bg: #060815;--color-panel: #0b1023;--color-glass: rgba(11, 16, 35, .85);--color-border: rgba(124, 92, 253, .3);--color-border-strong: rgba(124, 92, 253, .55);--shadow-soft: 0 24px 80px rgba(0, 0, 0, .45);--shadow-strong: 0 55px 140px rgba(0, 0, 0, .7);--gradient-hero: linear-gradient(120deg, #060815 0%, #0b1023 45%, #6b4bff 100%);--gradient-accent: linear-gradient(125deg, #5e30eb, #22d3ee);--gradient-card: linear-gradient(140deg, rgba(94, 48, 235, .18), rgba(14, 165, 233, .18))}:root{color:var(--color-ink);background-color:var(--color-bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--color-ink);background:var(--color-bg);font-family:Outfit,sans-serif;-webkit-font-smoothing:antialiased}.loader{padding:2rem}.brand-wordmark{color:#fff;font-weight:800;letter-spacing:-.03em}.brand-wordmark .brand-dot{color:var(--color-primary)}
