*,:after,:before{box-sizing:border-box}:root[data-theme=dark]{--bg:#020617;--text:#0b1120;--on-surface:#e5e7eb;--muted:#94a3b8;--surface:radial-gradient(circle at top left,#111827,#020617);--surface-elevated:radial-gradient(circle at top left,#1e293b,#020617);--surface-border:rgba(148,163,184,.4);--primary:#4f46e5;--primary-alt:#0ea5e9;--accent:#22c55e;--error-bg:hsla(0,91%,71%,.08);--error-text:#fecaca;--success-bg:rgba(34,197,94,.1);--success-text:#bbf7d0;--input-bg:rgba(15,23,42,.8);--input-border:rgba(148,163,184,.5)}:root[data-theme=light]{--bg:#f3f4f6;--text:#0f172a;--on-surface:#0f172a;--muted:#374151;--surface:#fff;--surface-elevated:#fff;--surface-border:rgba(148,163,184,.6);--primary:#2563eb;--primary-alt:#22c55e;--accent:#16a34a;--error-bg:#fee2e2;--error-text:#b91c1c;--success-bg:#dcfce7;--success-text:#166534;--input-bg:#fff;--input-border:rgba(148,163,184,.7)}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--on-surface)}a{color:inherit;text-decoration:none}.shell{min-height:100vh;padding:32px 20px 40px}.hero{max-width:700px;margin:0 auto;text-align:center;padding:36px 28px;border-radius:24px;background:var(--surface-elevated);border:1px solid var(--surface-border);box-shadow:0 24px 60px rgba(15,23,42,.9)}.hero h1{font-size:32px;margin-bottom:8px}.hero p{color:var(--muted);font-size:15px}.hero-actions{margin-top:20px}.btn-primary{display:inline-block;padding:10px 20px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--accent));color:#f9fafb;font-weight:600;font-size:15px}.card{background:var(--surface);border-radius:18px;border:1px solid var(--surface-border);padding:16px 16px 18px;box-shadow:0 14px 30px rgba(15,23,42,.28);min-width:0;overflow-x:hidden}.form{gap:10px;margin-top:14px}.form,label{display:flex;flex-direction:column}label{gap:4px;font-size:14px}input,textarea{background:var(--input-bg);border-radius:10px;border:1px solid var(--input-border);padding:8px 10px;color:var(--on-surface);font-family:inherit;font-size:14px}button{background:linear-gradient(135deg,var(--primary),var(--accent));color:#f9fafb;border-radius:999px;border:none;padding:8px 16px;font-weight:600;cursor:pointer;font-size:14px}.error{margin-top:4px;background:var(--error-bg);color:var(--error-text)}.error,.success{padding:6px 10px;border-radius:8px;font-size:13px}.success{margin-top:8px;background:var(--success-bg);color:var(--success-text)}.layout-student{display:grid;grid-gap:16px;gap:16px;grid-template-columns:.8fr 2fr .8fr;min-width:0;min-height:calc(100vh - 96px)}.student-right-stack{display:flex;flex-direction:column;gap:16px}.layout-student .column:first-child .card{height:100%;display:flex;flex-direction:column}.landing-root{min-height:100vh;background:#f8fafc;color:#0f172a}.landing-navbar{position:-webkit-sticky;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:rgba(248,250,252,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e2e8f0}.landing-navbar-left{display:flex;align-items:center;gap:24px}.landing-navbar-right{display:flex;align-items:center;gap:12px}.landing-logo{font-weight:700;font-size:20px;letter-spacing:.04em}.landing-nav-links{display:flex;gap:16px;font-size:14px}.landing-nav-links a{color:#0f172a;text-decoration:none;padding:4px 0}.landing-nav-links a:hover{color:#2563eb}.landing-main{max-width:1120px;margin:0 auto;padding:24px 16px 48px}.landing-news-ribbon{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:#e0f2fe;color:#0c4a6e;overflow:hidden;margin-bottom:24px}.landing-news-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.landing-news-track{overflow:hidden;flex:1 1}.landing-news-items{display:inline-flex;gap:32px;white-space:nowrap;animation:landing-news-scroll 30s linear infinite}.landing-news-item{font-size:13px}@keyframes landing-news-scroll{0%{transform:translateX(0)}to{transform:translateX(-50%)}}.landing-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-gap:32px;gap:32px;align-items:center;margin-bottom:40px}.landing-hero-text h1{font-size:36px;margin-bottom:8px}.landing-hero-text p{font-size:15px;color:#475569;max-width:480px}.landing-hero-actions{display:flex;gap:12px;margin-top:20px}.landing-hero-pill{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:rgba(239,68,68,.12);color:#b91c1c;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}.landing-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.landing-hero-tag{padding:4px 10px;border-radius:999px;font-size:12px;background:#0f172a;color:#e5e7eb}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:999px;border:1px solid #cbd5f5;color:#1e293b;background:#fff;font-size:14px;text-decoration:none}.btn-secondary:hover{border-color:#64748b}.landing-hero-carousel{position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(135deg,#1d4ed8,#22c55e);padding:1px}.landing-hero-placeholder{padding:32px 20px;border-radius:16px;background:#0f172a;color:#cbd5f5;font-size:14px}.landing-carousel-strip{display:flex;animation:landing-carousel-scroll 25s linear infinite}@keyframes landing-carousel-scroll{0%{transform:translateX(0)}to{transform:translateX(-50%)}}.landing-carousel-card{background:#0f172a;color:#e5e7eb;border-radius:16px;overflow:hidden;min-width:260px;max-width:260px;margin:12px;box-shadow:0 12px 30px rgba(15,23,42,.4)}.landing-carousel-image{height:120px;background-size:cover;background-position:50%}.landing-carousel-body{padding:16px}.landing-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:rgba(248,250,252,.08)}.landing-pill.small{font-size:10px}.forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:14px;gap:14px}.form-card{border:1px solid #dbeafe;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 10px 26px rgba(15,23,42,.08)}.form-card-image{height:130px;background-size:cover;background-position:50%;background-color:#eff6ff}.form-card-image-fallback{display:grid;place-items:center;font-weight:700;color:#1e3a8a;letter-spacing:.08em}.form-card-body{padding:12px;display:flex;flex-direction:column;gap:8px}.form-card-body h4{margin:0}.form-card-body p{margin:0;color:#475569;font-size:14px}.form-tags{display:flex;flex-wrap:wrap;gap:6px}.form-tags span{font-size:11px;padding:3px 8px;border-radius:999px;background:#e2e8f0;color:#334155}.landing-carousel-body h3{margin-top:8px;margin-bottom:4px;font-size:16px}.landing-carousel-body p{font-size:13px;color:#cbd5f5}.landing-section{margin-top:32px}.landing-section-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.landing-grades-layout{display:flex;flex-direction:column;gap:24px}.landing-whats-new>h3{margin-bottom:12px}.landing-grades-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px}.landing-grade-card{background:var(--surface);border-radius:16px;overflow:hidden;box-shadow:0 14px 32px rgba(15,23,42,.16);border:1px solid var(--surface-border);display:flex;flex-direction:column}.landing-grade-image{height:120px;background-size:cover;background-position:50%}.landing-grade-body{padding:14px 14px 16px}.landing-grade-body h4{margin-top:6px;margin-bottom:6px;font-size:15px}.landing-grade-body p{font-size:13px;color:#64748b}.muted-section{margin-top:40px;padding:20px 18px;border-radius:16px;background:#e5f3ff}@media (max-width:800px){.landing-navbar{padding-inline:12px}.landing-nav-links{display:none}.landing-hero{grid-template-columns:minmax(0,1fr)}}.student-topbar{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-shell{max-width:720px;margin:40px auto}.auth-header{text-align:center;margin-bottom:20px}.auth-brand{font-size:28px;font-weight:700;letter-spacing:.04em;margin-bottom:4px}.auth-panels{display:flex;justify-content:center}.auth-card{width:100%;max-width:460px;margin:0 auto}.link-button{border:none;background:none;padding:0;margin:0;color:#2563eb;cursor:pointer;font-size:inherit}.link-button:hover{text-decoration:underline}.student-topbar-left{min-width:0}.student-topbar-right{margin-left:auto;display:flex;align-items:center;gap:8px}.column{display:flex;flex-direction:column;gap:14px;min-width:0}.list{list-style:none;padding:0;margin:12px 0 0;max-height:280px;overflow:auto}.curriculum-tree-list{max-height:480px}.list li{padding:6px 8px;border-radius:10px;cursor:pointer}.list li.selected{background:rgba(56,189,248,.16)}.completed-test{border:1px solid rgba(34,197,94,.6);background:linear-gradient(90deg,rgba(34,197,94,.14),rgba(15,23,42,.9))}.muted{color:#94a3b8;font-size:13px}.student-panel-header{justify-content:space-between;gap:10px}.student-panel-controls,.student-panel-header{display:flex;align-items:center;flex-wrap:wrap}.student-panel-controls{gap:8px}.student-menu-actions,.student-mobile-menu-trigger{display:none}.student-user-meta{word-break:break-word}.content-picker{display:flex;flex-direction:column;gap:4px;min-width:260px}.content-picker label{font-size:12px;color:var(--muted);letter-spacing:.02em}.content-picker-control{display:flex;align-items:center;gap:8px;border:1px solid var(--surface-border);border-radius:12px;background:rgba(30,64,175,.08);padding:6px 10px;box-shadow:0 8px 20px rgba(15,23,42,.1)}.content-picker-icon{font-size:16px;line-height:1}.content-picker-control select{width:100%;min-height:34px;border:none;background:transparent;color:inherit;font-size:14px;outline:none}.content-picker-control:focus-within{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.2)}.questions{max-height:360px;overflow:auto;margin-top:10px}.question{margin-bottom:10px}.q-text{margin-bottom:4px;white-space:pre-wrap;overflow-wrap:anywhere}.question-header{display:flex;align-items:center;gap:8px;cursor:pointer;margin-bottom:4px}.question-title{flex:1 1;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.options{display:grid;grid-auto-rows:auto;grid-row-gap:4px;row-gap:4px}.option{display:grid;grid-template-columns:auto auto 1fr;align-items:center;grid-column-gap:8px;column-gap:8px;font-size:14px}.option-label{margin-right:4px}.badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:rgba(148,163,184,.24);font-size:11px}.option-text{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.chart{margin-top:8px;display:flex;flex-direction:column;gap:8px}.bar-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) auto;align-items:center;grid-gap:6px;gap:6px}.bar-label{font-size:13px}.bar-track{height:8px;border-radius:999px;background:rgba(30,64,175,.4);overflow:hidden}.bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#0ea5e9)}.bar-value{font-size:12px;color:#e5e7eb}.unit-tests-list{max-height:calc(100vh - 220px)}.unit-test-item{cursor:default;border:1px solid var(--surface-border);background:rgba(30,64,175,.08);margin-bottom:8px}.unit-test-title{font-size:15px;font-weight:600;line-height:1.35;margin-bottom:8px}.unit-test-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.unit-test-btn{width:100%;padding:7px 10px;font-size:13px}.student-featured-forms-wrap{overflow:hidden;border-radius:14px;border:1px solid var(--surface-border);padding:10px;background:rgba(30,64,175,.06)}.student-featured-forms-track{display:flex;gap:12px;width:max-content;animation:student-forms-marquee 30s linear infinite}.student-featured-forms-wrap:hover .student-featured-forms-track{animation-play-state:paused}@keyframes student-forms-marquee{0%{transform:translateX(0)}to{transform:translateX(-50%)}}.student-forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:12px;gap:12px}.student-form-card{border:1px solid var(--surface-border);border-radius:14px;overflow:hidden;background:rgba(30,64,175,.08);min-width:240px}.student-form-card-image{height:120px;background-size:cover;background-position:50%;background-color:rgba(59,130,246,.12)}.student-form-card-image-fallback{display:grid;place-items:center;font-size:22px;font-weight:700;letter-spacing:.08em;color:#93c5fd}.student-form-card-body{padding:10px;display:flex;flex-direction:column;gap:8px}.student-form-card-body h4{margin:0;font-size:15px}.student-form-card-body p{margin:0;color:var(--muted);font-size:13px}.student-form-tags{display:flex;flex-wrap:wrap;gap:6px}.student-form-tags span{font-size:11px;border-radius:999px;padding:3px 8px;background:rgba(148,163,184,.2)}.report-card{animation:fade-up .32s ease-out}@keyframes fade-up{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;z-index:50}.modal{min-width:260px;max-width:360px;background:var(--surface);border-radius:16px;border:1px solid var(--surface-border);box-shadow:0 18px 40px rgba(15,23,42,.9);padding:16px 18px 14px}.modal h2{margin:0 0 6px;font-size:18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}@media (max-width:1024px){.layout-student{grid-template-columns:1fr}.unit-tests-list{max-height:360px}.student-topbar{align-items:flex-start}.student-topbar-right{margin-left:0}}@media (max-width:768px){.shell{padding:10px 8px 20px}.layout-student{gap:10px;min-height:auto}.column{gap:10px}.card{border-radius:14px;padding:12px 12px 14px}.student-panel-header{gap:8px;align-items:flex-start}.student-topbar-right{width:100%;justify-content:flex-start}.student-panel-header .student-topbar-right{display:none}.student-mobile-menu-trigger{display:inline-flex;position:-webkit-sticky;position:sticky;top:8px;z-index:45;margin-bottom:8px;padding:8px 12px;border-radius:999px}.student-menu-column{position:fixed;left:0;top:0;bottom:0;width:min(88vw,340px);z-index:52;transform:translateX(-110%);transition:transform .22s ease;padding:8px;pointer-events:none;overflow:hidden}.student-menu-column.open{transform:translateX(0);pointer-events:auto}.student-menu-column .card{height:calc(100vh - 16px)!important;height:calc(100dvh - 16px)!important;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;display:block}.student-mobile-menu-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.52);z-index:51}.student-menu-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding-top:0;margin-bottom:4px;position:static;background:transparent}.student-menu-actions button{min-height:38px}.list{overflow:visible}.curriculum-tree-list,.list{max-height:none}.list li{padding:9px 10px}.unit-tests-list{max-height:none;overflow:visible}.unit-test-item{border-radius:12px;padding:10px}.unit-test-actions{grid-template-columns:1fr}.unit-test-btn{min-height:40px}.options{row-gap:8px}.option{grid-template-columns:auto auto 1fr;align-items:flex-start;font-size:13px}.bar-row{grid-template-columns:1fr;gap:4px}.bar-value{justify-self:flex-start}.student-forms-grid{grid-template-columns:1fr}.student-form-card{min-width:0}.student-featured-forms-track{animation-duration:40s}.student-featured-forms-wrap{padding:8px}.content-picker{min-width:100%}}@media (max-width:480px){.shell{padding:8px 6px 16px}.card{padding:10px}.q-text{font-size:14px;line-height:1.4}.muted{font-size:12px}}.whatsapp-bubble{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:700;letter-spacing:.02em;color:#fff;background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 14px 30px rgba(22,163,74,.4);z-index:40}.global-footer{margin-top:32px;text-align:center;font-size:12px;color:#64748b;padding:18px 16px 26px}.global-footer a{color:inherit;text-decoration:underline}.contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-gap:16px;gap:16px}.contact-card h2{margin-top:0}.contact-details{display:flex;flex-direction:column;gap:12px;margin-top:12px}.contact-details-row{display:flex;gap:12px;align-items:flex-start}.contact-details-icon{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(14,165,233,.1);color:#0ea5e9;border:1px solid rgba(14,165,233,.25);flex:0 0 auto}.contact-details-label{font-size:12px;margin-bottom:2px}.contact-details-value{font-weight:650;line-height:1.35}.contact-person-image{width:124px;height:124px;border-radius:22px;object-fit:contain;object-position:center;display:block;margin-bottom:10px;border:1px solid rgba(14,165,233,.18);box-shadow:0 10px 26px rgba(15,23,42,.12);background:rgba(14,165,233,.06)}.profile-card{margin-top:12px;background:linear-gradient(180deg,rgba(14,165,233,.08),hsla(0,0%,100%,0) 70%);border:1px solid rgba(148,163,184,.55);border-radius:18px;padding:0;box-shadow:0 16px 36px rgba(15,23,42,.1);overflow:hidden}.profile-card-grid{display:grid;grid-template-columns:170px 1fr;grid-gap:0;gap:0;align-items:stretch}.profile-image-col{display:flex;justify-content:flex-start;align-items:stretch}.profile-avatar{width:100%;height:100%;border-radius:0;object-fit:contain;object-position:center;border:none;box-shadow:none;background:rgba(14,165,233,.06)}.profile-details-col{display:flex;flex-direction:column;gap:12px;padding:16px}.profile-name{font-size:18px;font-weight:750;margin-top:2px}.profile-detail{display:flex;align-items:center;gap:12px}.profile-detail-icon{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(14,165,233,.1);color:#0ea5e9;border:1px solid rgba(14,165,233,.25);flex:0 0 auto}.profile-detail-text{font-weight:650;color:var(--on-surface)}.profile-detail-link{color:#2563eb;font-weight:650;text-decoration:underline}@media (max-width:800px){.profile-card-grid{grid-template-columns:1fr}.profile-image-col{justify-content:center}.profile-avatar{width:100%;height:200px;border-radius:0}.profile-details-col{padding:14px 16px 16px}}.contact-details-link{color:#2563eb;text-decoration:underline}@media (max-width:800px){.contact-grid{grid-template-columns:1fr}}