@import"https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap";@font-face{font-family:Chandrabati;src:url(/fonts/Chandrabati.ttf) format("truetype");font-weight:700;font-display:swap}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Hind Siliguri,Inter,-apple-system,sans-serif;background-color:#f8fafc;color:#0f172a;line-height:1.6;-webkit-font-smoothing:antialiased}button{font-family:inherit;border:none;background:none;cursor:pointer;outline:none}input,select,textarea{font-family:inherit}.chandrabati-title,.chandrabati-login-title{font-family:Chandrabati,Hind Siliguri,sans-serif;font-weight:700;letter-spacing:.2px}.chandrabati-title{font-size:1.35rem;color:#fff}.chandrabati-login-title{font-size:1.85rem;color:#fff;margin-top:10px}.english-with{font-family:Inter,sans-serif;font-weight:600;color:#38bdf8;font-size:.85em}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{background:linear-gradient(135deg,#064e3b,#022c22);color:#fff;padding:12px 24px;box-shadow:0 4px 20px #00000026;position:sticky;top:0;z-index:100}.topbar-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.brand-mark{display:flex;align-items:center}.app-logo{height:40px;width:auto;object-fit:contain}.fallback-logo-icon{color:#34d399}.brand-copy{display:flex;flex-direction:column;align-items:flex-start;margin-left:12px}.badge-class-pill{background:#ffffff26;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#e2e8f0;font-size:.75rem;padding:2px 10px;border-radius:20px;margin-top:2px}.topbar-right{display:flex;align-items:center;gap:12px}.admin-pill{background:#f59e0b;color:#fff;font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:6px;display:flex;align-items:center;gap:4px}.id-pill{background:#ffffff1f;padding:5px 12px;border-radius:8px;font-size:.85rem;font-weight:600;color:#f1f5f9}.logout-btn{color:#cbd5e1;padding:8px;border-radius:8px;transition:all .2s}.logout-btn:hover{background:#fff3;color:#fff}.main-content{max-width:1200px;width:100%;margin:0 auto;padding:28px 20px;flex:1}.welcome-banner{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #00000008;margin-bottom:24px}.eyebrow-tag{font-size:.78rem;font-weight:700;color:#059669;letter-spacing:.5px}.banner-text h1{font-size:1.7rem;color:#0f172a;margin:4px 0}.highlight-name{color:#059669}.muted-desc{color:#64748b;font-size:.95rem}.banner-badge-icon{width:60px;height:60px;background:#ecfdf5;color:#059669;border-radius:14px;display:flex;align-items:center;justify-content:center}.subject-selector-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:28px}.subject-tab-card{background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:18px 22px;display:flex;align-items:center;gap:16px;text-align:left;transition:all .25s cubic-bezier(.4,0,.2,1)}.subject-tab-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0000000f}.subject-tab-card.active-tab.physics{border-color:#059669;background:linear-gradient(135deg,#fff,#f0fdf4);box-shadow:0 8px 20px #0596691f}.subject-tab-card.active-tab.chemistry{border-color:#4f46e5;background:linear-gradient(135deg,#fff,#eef2ff);box-shadow:0 8px 20px #4f46e51f}.subject-tab-icon{width:52px;height:52px;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#475569}.active-tab.physics .subject-tab-icon{background:#059669;color:#fff}.active-tab.chemistry .subject-tab-icon{background:#4f46e5;color:#fff}.subject-tab-info strong{display:block;font-size:1.15rem;color:#0f172a}.subject-tab-info small{color:#64748b;font-size:.85rem}.subject-tab-arrow{margin-left:auto;color:#94a3b8}.section-title-bar h2{font-size:1.3rem;color:#1e293b;display:flex;align-items:center;gap:8px;margin-bottom:18px}.chapter-grid-modern{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.chapter-glass-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;display:flex;align-items:center;gap:14px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #00000005}.chapter-glass-card:hover{border-color:#059669;transform:translateY(-3px);box-shadow:0 10px 24px #0596691f}.chapter-square-avatar{width:48px;height:48px;min-width:48px;background:#ecfdf5;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#059669}.chapter-details{flex:1}.ordinal-tag{font-size:.78rem;font-weight:700;color:#059669;text-transform:uppercase}.chapter-main-title{font-size:1rem;font-weight:600;color:#0f172a;line-height:1.3}.arrow-btn{color:#cbd5e1}.chapter-glass-card:hover .arrow-btn{color:#059669}.btn-back-link{display:inline-flex;align-items:center;gap:8px;color:#059669;font-weight:600;font-size:.95rem;margin-bottom:8px;transition:color .2s}.btn-back-link:hover{color:#047857;text-decoration:underline}.selected-chapter-heading{font-size:1.6rem;color:#0f172a;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.search-bar-wrapper{position:relative;margin-bottom:18px}.search-bar-wrapper input{width:100%;padding:14px 44px;background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;font-size:1rem;color:#0f172a;box-shadow:0 2px 6px #00000005;transition:all .2s}.search-bar-wrapper input:focus{outline:none;border-color:#059669;box-shadow:0 0 0 3px #05966926}.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8}.clear-search{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#94a3b8}.topic-pill-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;margin-bottom:24px;scrollbar-width:thin}.pill-item{padding:8px 18px;background:#fff;border:1px solid #cbd5e1;border-radius:20px;font-size:.9rem;font-weight:500;color:#475569;white-space:nowrap;transition:all .2s}.pill-item:hover{background:#f1f5f9;border-color:#94a3b8}.pill-item.active{background:#059669;border-color:#059669;color:#fff;font-weight:600;box-shadow:0 4px 12px #05966933}.solution-card-list{display:flex;flex-direction:column;gap:12px}.solution-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:18px;cursor:pointer;transition:all .2s}.solution-item-card:hover{border-color:#059669;box-shadow:0 6px 16px #0000000d;transform:translate(3px)}.math-num-badge{background:#ecfdf5;border:1px solid #a7f3d0;color:#059669;padding:8px 14px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:60px}.math-num-badge small{font-size:.7rem;text-transform:uppercase;font-weight:700}.math-num-badge strong{font-size:1.2rem;line-height:1}.solution-info{flex:1}.topic-name-tag{font-size:.78rem;font-weight:600;color:#059669;background:#f0fdf4;padding:2px 8px;border-radius:4px}.solution-item-title{font-size:1.05rem;color:#0f172a;margin-top:4px;font-weight:600}.card-arrow{color:#cbd5e1}.solution-item-card:hover .card-arrow{color:#059669}.login-viewport{min-height:100vh;background:linear-gradient(135deg,#0f172a,#064e3b,#022c22);display:flex;align-items:center;justify-content:center;padding:20px}.login-glass-card{background:#fffffff2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:24px;padding:36px 32px;max-width:440px;width:100%;box-shadow:0 20px 50px #0000004d;text-align:center}.login-brand-logo{max-width:200px;height:auto;margin-bottom:12px}.portal-sub{font-size:.78rem;font-weight:700;color:#059669;letter-spacing:1px;margin-top:2px}.login-form-modern{margin-top:24px;text-align:left}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:.9rem;font-weight:600;color:#334155;margin-bottom:6px}.select-custom,.input-custom{width:100%;padding:12px 16px;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:10px;font-size:.95rem;color:#0f172a;transition:all .2s}.select-custom:focus,.input-custom:focus{outline:none;border-color:#059669;background:#fff;box-shadow:0 0 0 3px #05966926}.hint-text{font-size:.78rem;color:#64748b;margin-top:4px;display:block}.btn-login-submit{width:100%;padding:14px;background:linear-gradient(135deg,#059669,#047857);color:#fff;font-size:1rem;font-weight:600;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 12px #0596694d;transition:all .2s;margin-top:20px}.btn-login-submit:hover{transform:translateY(-1px);box-shadow:0 6px 18px #05966966}.login-footer-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.8rem;color:#64748b;margin-top:20px}.solution-full-view{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:28px;box-shadow:0 4px 16px #00000008}.solution-card-header{display:flex;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.badge-lg{background:#059669;color:#fff;padding:8px 16px;border-radius:10px;font-weight:700;font-size:1.1rem}.solution-content-block{background:#f8fafc;border-radius:12px;padding:20px;margin-bottom:20px;border:1px solid #f1f5f9}.solution-content-block h3{font-size:1.1rem;color:#0f172a;display:flex;align-items:center;gap:8px;margin-bottom:12px}.rich-render{font-size:1.05rem;line-height:1.8;color:#1e293b}.rich-render .solution-body{display:flex;flex-direction:column;gap:14px}.rich-render .solution-section{background:#fff;padding:12px 16px;border-radius:8px;border-left:4px solid #059669}.rich-render .section-title{font-weight:700;color:#059669;margin-bottom:4px}.rich-render .answer-box{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;padding:10px 16px;border-radius:8px;font-weight:700}.alert{padding:12px 16px;border-radius:10px;display:flex;align-items:center;gap:10px;margin-bottom:16px}.alert.error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.alert.success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.alert button{margin-left:auto;color:inherit}.center-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#f8fafc}.modern-loader{width:44px;height:44px;border:4px solid #e2e8f0;border-top-color:#059669;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:768px){.subject-selector-grid{grid-template-columns:1fr}.welcome-banner{flex-direction:column;align-items:flex-start;gap:12px}.banner-badge-icon{display:none}.topbar-inner{flex-wrap:wrap;gap:10px}}
