.info-card li,.info-card ol li,.solver-card li,.solver-card ol li{list-style-type:none!important}.history-expression-text,h1.mobile{text-overflow:ellipsis;white-space:nowrap}h2,h3{padding:10px 0;font-weight:bolder}.mathcontent a,.mathcontent a:hover{text-decoration:underline}.tally-table,table{border-collapse:collapse}.history-item{word-break:break-word}.worksheets #snackbar,aside.fixed{position:fixed!important}html{scroll-behavior:smooth}.gradient-text{-webkit-background-clip:text;background-clip:text;color:transparent;background-image:linear-gradient(to right,#8b5cf6,#ec4899)}.content-section h1{font-size:2.25rem;line-height:2.5rem;font-weight:700;margin-bottom:2rem;color:#f1f5f9}.content-section h2{font-size:1.5rem;font-weight:600;color:#5eead4;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:1px solid #334155}.content-section h3{font-size:1.25rem;font-weight:600;color:#7dd3fc;margin-bottom:1rem}.content-section p{color:#f1f1f1!important}.content-section p,.content-section ul li{color:#94a3b8;margin-bottom:.75rem;line-height:1.6}.module-card h3 a,.module-card ul li a{color:inherit;transition:color .2s ease-in-out;text-decoration:none}.content-section ul{list-style:none;padding:0;width:100%;max-width:30rem}.content-section ul li::before{content:'●';font-size:1.25rem;margin-right:.75rem;color:#6366f1;flex-shrink:0}.features-list li:first-child::before{color:#6366f1}.features-list li:nth-child(2)::before,.stats-snackbar-success .stats-snackbar-icon{color:#22c55e}.features-list li:nth-child(3)::before{color:#a855f7}.features-list li:nth-child(4)::before,.stats-snackbar-error .stats-snackbar-icon{color:#ef4444}main.relative{position:relative}main.worksheets{top:0!important;bottom:0!important;left:0;z-index:30;width:100%}#sidebar{transform:translateX(-100%);transition:transform .3s ease-in-out;position:fixed;top:0;bottom:0;left:0;z-index:30;width:18rem}#sidebar.open{transform:translateX(0)}#sidebar-backdrop{position:fixed;inset:0;background-color:rgba(0,0,0,.5);z-index:20;display:none;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}#sidebar-backdrop.open{display:block;opacity:1;pointer-events:auto}.nav-link{display:flex;align-items:center;padding:.625rem .75rem;border-radius:.375rem;color:#94a3b8;text-decoration:none;font-weight:500;transition:background-color .2s,color .2s;gap:.75rem}.history-item:hover,.nav-link.active,.nav-link:hover{background-color:#334155;color:#e2e8f0}.nav-link svg{width:18px;height:18px;stroke-width:2}.info-card,.solver-card{background-color:#1e293b;border-radius:.75rem;padding:1.5rem;margin-bottom:2rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);overflow:hidden}#math-concepts-app-wrapper #inputOverlayMenu,.chart-container{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.solver-card h3{margin-top:0;font-size:1.125rem;color:#22d3ee;margin-bottom:1rem}.info-card ol,.info-card p,.info-card ul,.solver-card ol,.solver-card p,.solver-card ul{margin-bottom:1rem;line-height:1.75;color:#94a3b8}.info-card li,.solver-card li{margin-left:1.5rem;margin-bottom:.5rem}.info-card code,.solver-card code{background-color:#334155;padding:.2em .5em;border-radius:.25rem;font-size:.9em;color:#e2e8f0}.shape-svg-container{width:60px;height:auto;margin:0 auto 1rem;color:#22d3ee}.plot-container canvas,.shape-svg-container svg{width:100%;height:100%}.input-label{display:block;color:#94a3b8;margin-bottom:.375rem;font-size:.875rem;font-weight:500}.solver-card input[type=number],.solver-card input[type=text],.solver-card select,.solver-card textarea,.solver-input{width:100%;padding:.625rem .875rem;border-radius:.375rem;border:1px solid #475569;background-color:#334155;color:#f1f5f9;font-size:.875rem;margin-bottom:.5rem;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}#nextSectionButton,#nextSolverButton,.formula-display{padding:.75rem 1rem}.solver-card input:focus,.solver-card select:focus,.solver-card textarea:focus,.solver-input:focus{outline:0;border-color:#38bdf8;box-shadow:0 0 0 2px rgba(56,189,248,.3)}.solver-card textarea{min-height:100px}.calculate-button:active,.solver-card button:active{transform:translateY(1px)}.calculate-button:disabled,.solver-card button:disabled{background-color:#475569;cursor:not-allowed}.formula-display{background-color:#334155;color:#e2e8f0;border-radius:.5rem;margin-bottom:1.5rem;text-align:center;font-size:1.1rem}.result-area{border:1px solid #475569;border-radius:.375rem;padding:1rem;margin-top:1rem;color:#e2e8f0;font-size:.9rem;min-height:90px;line-height:1.6}.result-area.active{border-left:3px solid #22d3ee}.result-area .step{margin-bottom:.5rem;color:#94a3b8}.result-area .final-answer{margin-top:.75rem;font-weight:700;color:#5eead4}.tally-table{width:100%;margin-top:1rem}.tally-table td,.tally-table th{border:1px solid #475569;padding:.75rem;text-align:left}.tally-table th{background-color:#334155;font-weight:600;color:#e2e8f0}.katex-display{margin:.75em 0;color:#e2e8f0;overflow-x:auto;overflow-y:hidden}.katex{color:#e2e8f0}.pictogram-container{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px;padding:1rem;border:1px solid #475569;border-radius:.5rem;min-height:60px;background-color:#0f172a}.pictogram-item span{font-size:1.75rem;line-height:1}.pictogram-label{font-size:.875rem;color:#94a3b8;text-align:center;margin-top:4px}.pictogram-key{margin-top:.75rem;font-size:.9rem;color:#cbd5e1}.history-item{display:flex;align-items:center;justify-content:space-between}#math-concepts-app-wrapper .message-text-content,.history-expression-text{flex-grow:1}.remove-history-item-btn{flex-shrink:0;transition:color .2s,opacity .2s}#clearHistoryButton{margin-top:.75rem;width:100%;font-size:.75rem;text-align:center;padding:.375rem 0;border-radius:.375rem;transition:background-color .2s,color .2s,border-color .2s;cursor:pointer}#clearHistoryButton:hover{border-color:rgba(56,189,248,.5);background-color:rgba(167,139,250,.15);color:#8b5cf6}#clearGeometryHistoryButton:disabled,#clearHistoryButton:disabled,#toggleGeometryHistoryViewButton:disabled{opacity:.5;cursor:not-allowed}.fixed-action-button{position:fixed;right:1.5rem;color:#fff;font-weight:600;padding:.75rem;border-radius:9999px;box-shadow:0 4px 12px rgba(0,0,0,.2);z-index:50;display:flex;align-items:center;justify-content:center;cursor:pointer}.fixed-action-button:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 10px 20px rgba(96,165,250,.3)}.snackbar.show,.stats-snackbar.show{transform:translateY(0)}.fixed-action-button svg,.stats-snackbar-icon svg{width:20px;height:20px}#nextSolverButton{bottom:calc(20px + 1.5rem + 40px + 1rem)}#nextSolverButtonText,.back-link svg{margin-right:.5rem}#circleCanvas,canvas{margin:1rem auto}#stk-scroll-to-top-btn{left:1.5rem;right:auto;bottom:calc(20px + 1.5rem);visibility:hidden;opacity:0;transition:visibility .3s,opacity .3s,background-color .3s,transform .2s}#stk-scroll-to-top-btn.visible{visibility:visible;opacity:1;transform:translateY(0)}.dot-loader{display:flex;align-items:center;justify-content:center}.dot-loader div{width:8px;height:8px;background-color:#fff;border-radius:50%;margin:0 3px;animation:1.4s ease-in-out infinite both dot-loader-anim}.dot-loader div:first-child{animation-delay:-.32s}.dot-loader div:nth-child(2){animation-delay:-.16s}#math-concepts-app-wrapper .thinking-dots span:first-child,.dot-loader div:nth-child(3){animation-delay:0s}@keyframes dot-loader-anim{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.stats-snackbar-container{display:flex;flex-direction:column-reverse;align-items:center}.snackbar,.stats-snackbar{align-items:center;display:flex}.stats-snackbar{background-color:#334155;color:#e2e8f0;padding:.8rem 1.2rem;border-radius:.375rem;box-shadow:0 4px 12px rgba(0,0,0,.3);gap:.75rem;opacity:0;transform:translateY(20px);transition:opacity .3s,transform .3s;min-width:280px;max-width:450px}.stats-snackbar.show{opacity:1}.stats-snackbar-icon{margin-right:10px;font-size:1.25rem}.sidebar nav a svg,.snackbar-icon{margin-right:.75rem}.snackbar-info,.stats-snackbar-info{background-color:#3b82f6}.back-link:hover,.stats-snackbar-info .stats-snackbar-icon{color:#38bdf8}.stats-snackbar-success{background-color:#10b981}.query-progress-bar-inner.danger,.snackbar-error,.stats-snackbar-error{background-color:#ef4444}.stats-snackbar-warning{background-color:#f59e0b}.stats-snackbar-warning .stats-snackbar-icon{color:#f97316}#snackbar-container{position:fixed;bottom:1.5rem;left:1.5rem;z-index:1000;display:flex;flex-direction:column-reverse;gap:.5rem}.snackbar{box-shadow:0 2px 10px rgba(0,0,0,.2);transform:translateY(150%);max-width:350px}.snackbar-icon{display:flex;align-items:center}.snackbar-icon svg{width:1.25rem;height:1.25rem}.snackbar-success{background-color:#22c55e}.stk-ad-bottom,.stk-ad-top{height:60px;background-color:#1e293b}.back-link,.stk-ad-banner{align-items:center;font-size:.875rem;color:#94a3b8}.stk-ad-banner{display:flex;justify-content:center;border:1px dashed #475569}.stk-ad-top{margin-bottom:1.5rem}.stk-ad-bottom{position:fixed;left:0;right:0;bottom:0;z-index:998}.hidden{display:none}.back-link{display:inline-flex;text-decoration:none}.module-card ul li a,.wsheet,canvas,h1.mobile{display:block}@media (min-width:768px){#sidebar{position:relative;transform:translateX(0);display:flex!important;flex-shrink:0;flex-direction:column}#sidebar-backdrop{display:none!important}body.overflow-hidden-mobile{overflow:auto;touch-action:auto}.sidebar-hidden{transform:translateX(0)}main.flex-1{margin-left:18rem}}.module-card ul,.module-card ul li{list-style-type:none!important;margin-left:0!important}.content-section h1.page-title{font-size:2rem;line-height:2.25rem}.content-section h2.section-title{color:#a78bfa}.content-section h3.solver-subtitle{color:#c4b5fd}.solver-input,.solver-select{font-size:.95rem}.action-button,.secondary-action-button{background-color:#7c3aed;color:#fff;font-weight:500;padding:.625rem 1rem;border-radius:.375rem;transition:background-color .2s;margin-top:.5rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.interactive-hint-area button:hover,.live-preview-area{background-color:#2d3748}.results-display-area{transition:opacity .3s ease-in-out,max-height .3s ease-in-out,padding .3s ease-in-out,margin .3s ease-in-out;overflow:hidden}.results-display-area.results-hidden{opacity:0;max-height:0!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important}.results-display-area.active{border-left:3px solid #8b5cf6}.results-display-area .step-block{margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px dashed #475569}.results-display-area .step-block:last-child{border-bottom:none;padding-bottom:0}.results-display-area .step-explanation{color:#94a3b8;font-size:.9rem;margin-top:.35rem;padding-left:1rem;border-left:2px solid #64748b}.results-display-area .final-result-block{margin-top:1rem;padding-top:1rem;border-top:1px solid #64748b;font-weight:700;color:#a7f3d0}.error-message{color:#f87171;font-weight:500}.live-preview-area{color:#e5e7eb;padding:.75rem;border-radius:.375rem;min-height:2.5em;border:1px solid #4b5563;margin-top:.75rem;margin-bottom:1rem;font-size:1rem;overflow-x:auto}.htu-step-container{font-family:'Courier New',Courier,monospace;margin-bottom:1.5rem;padding:1rem;background-color:#293548;border-radius:.5rem;border-left:4px solid #60a5fa}.htu-calculation{display:grid;justify-items:end;gap:.25rem;margin-bottom:.5rem;padding-right:.5rem;direction:rtl;overflow-x:auto;max-width:100%}.htu-calculation div,.htu-calculation span{direction:ltr;text-align:center;min-width:22px;line-height:1.5}.htu-header-cell{font-size:.8rem;color:#9ca3af;font-weight:700;padding-bottom:.25rem}.htu-digit{padding:.1rem;font-size:1.2rem}.htu-carry{font-size:.85rem;color:#fbbf24;height:1.2em;min-width:22px;text-align:center;font-weight:700}.htu-borrow{font-size:.85rem;color:#ef4444;text-decoration:line-through}.htu-borrowed-from{font-size:.85rem;color:#fbbf24}.htu-operator{grid-column:1/2;font-size:1.2rem;padding-right:.5rem;align-self:center;font-weight:700}.htu-line,.htu-partial-product-sum-line{grid-column:1/-1;height:2px;margin-bottom:.25rem}.htu-line{background-color:#4b5563;margin-top:.25rem}.htu-step-explanation{font-size:.9rem;color:#9ca3af;margin-top:.75rem;text-align:left}.htu-partial-product-sum-line{background-color:#60a5fa;margin-top:.25rem}#solverHistoryListContainer{max-height:20rem;overflow-y:auto;margin-bottom:.75rem;padding:.5rem;border-top:1px solid #334155}.history-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;position:relative}.history-expression-text{flex-grow:1;overflow:hidden;margin-right:1.5rem;width:calc(100% - 1.5rem)}.history-timestamp{font-size:.7rem;color:#64748b;margin-top:.25rem}.history-item:hover .history-timestamp{color:#94a3b8}.remove-history-item-btn{background:0 0;border:none;color:#64748b;font-size:1.1rem;cursor:pointer;padding:0 .3rem;line-height:1;opacity:.6;position:absolute;top:.3rem;right:.3rem}.history-item:hover .remove-history-item-btn{color:#ef4444;opacity:1}#clearHistoryButton{color:#a78bfa;border:1px solid rgba(167,139,250,.3);background-color:rgba(167,139,250,.05)}.stats-snackbar-container{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;flex-direction:column-reverse;gap:.5rem}#interactivePracticeQuestion{font-size:1.25rem;margin-bottom:1rem;text-align:center}#interactivePracticeFeedback{margin-top:1rem;padding:.75rem;border-radius:.375rem}#interactivePracticeFeedback.correct{background-color:#166534;color:#dcfce7;border-left:4px solid #22c55e}#interactivePracticeFeedback.incorrect{background-color:#991b1b;color:#fee2e2;border-left:4px solid #ef4444}#interactivePracticeFeedback.hint{background-color:#713f12;color:#fef3c7;border-left:4px solid #f59e0b}#interactivePracticeFeedback.answer{background-color:#1d4ed8;color:#dbeafe;border-left:4px solid #3b82f6}.fixed-action-button{background-color:#7c3aed;transition:background-color .3s ease-in-out,transform .2s ease-in-out}.action-button:hover,.calc-button.operator:hover,.calculate-button:hover,.fixed-action-button:hover{background-color:#6d28d9}@media (max-width:767px){.page-title{font-size:1.75rem;line-height:2.25rem}.section-title{font-size:1.5rem}.solver-subtitle{font-size:1.1rem}.fixed-action-button{width:3rem;height:3rem}.fixed-action-button svg{width:1rem;height:1rem}#nextSectionButton{bottom:5.5rem}#snackbar-container{left:50%;transform:translateX(-50%);width:calc(100% - 3rem);align-items:center}body.overflow-hidden-mobile{overflow:hidden}#stk-scroll-to-top-btn{bottom:calc(60px + 1rem);left:1rem}#nextSolverButton{bottom:calc(60px + 1rem);right:1rem}.wsheet{display:none!important}.htu-calculation{gap:.1rem}.htu-borrow,.htu-carry,.htu-digit,.htu-header-cell{min-width:18px;font-size:1rem}}.counter{line-height:1}.engagement-button.action-taken{background-color:#0ea5e9;color:#fff}.module-card{background-color:#1e293b;border-radius:.5rem;padding:1.25rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;border:1px solid #334155}.module-card h3{font-size:1.125rem;font-weight:600;color:#818cf8;margin-bottom:.75rem}.module-card ul,.sidebar nav a{font-size:.875rem;color:#94a3b8}.sidebar nav a,.sidebar nav a.nav-link{transition:background-color .2s ease-in-out,color .2s ease-in-out}.module-card h3 a:hover,.sidebar nav a.active-link svg{color:#a5b4fc}.module-card ul{padding-left:.5rem!important;flex-grow:1}.module-card ul li{padding-left:.75rem!important;margin-bottom:.5rem;line-height:1.5;border-left:2px solid #334155;position:relative}.module-card ul li a:hover{color:#cbd5e1}.sidebar nav#appendixNav,.sidebar nav#pageNavIterative{transition:max-height .5s ease-in-out;overflow:hidden}.sidebar nav a{display:flex;align-items:center;padding:.5rem .75rem;border-radius:.375rem}.show-more-nav-button:hover,.sidebar nav a.nav-link:hover,.sidebar nav a:hover{background-color:#334155;color:#f1f5f9}.sidebar nav a.active-link{background-color:#4f46e5;color:#fff;font-weight:500}#math-concepts-app-wrapper .thinking-dots span{display:inline-block;width:8px;height:8px;background-color:#9ca3af;border-radius:50%;margin:0 2px;animation:1.4s infinite both thinking-blink}#math-concepts-app-wrapper .thinking-dots span:nth-child(2){animation-delay:.2s}#math-concepts-app-wrapper .thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes thinking-blink{0%,100%,80%{opacity:0}40%{opacity:1}}#math-concepts-app-wrapper .message-delete-button{background-color:transparent;border:none;color:#9ca3af;cursor:pointer;padding:4px;margin-left:8px;float:right;line-height:1}#closeSnackbar:hover,#math-concepts-app-wrapper .message-delete-button:hover{color:#e5e7eb}#math-concepts-app-wrapper .message-content-wrapper{display:flex;justify-content:space-between;align-items:flex-start}#math-concepts-app-wrapper .katex{font-size:1.1em!important;line-height:1.5!important;word-break:break-word!important;overflow-wrap:break-word!important;vertical-align:middle!important;padding-block:6px!important;transition:font-size .3s,color .3s!important}#math-concepts-app-wrapper .katex-display{font-size:calc(1.1em + .125rem)!important;line-height:1.85!important;font-weight:600!important;padding-block:20px!important;margin-block:24px!important;text-align:center!important;overflow-x:auto!important;white-space:normal!important}#math-concepts-app-wrapper .katex .mfrac{margin:0 5px!important;display:inline-flex!important;align-items:center!important;font-size:1em!important}#math-concepts-app-wrapper .katex .mfrac .frac-line{border:1px solid rgba(229,231,235,.4)!important}#math-concepts-app-wrapper .katex .vlist{overflow:visible!important}#math-concepts-app-wrapper .katex .binom{vertical-align:middle!important}#math-concepts-app-wrapper .bot-message-bubble{padding:10px;border-radius:12px;align-self:flex-start;font-size:14px;background:0 0!important}#math-concepts-app-wrapper .user-message-bubble{padding:10px;border-radius:12px;max-width:75%;align-self:flex-end;font-size:14px;word-wrap:break-word}#math-concepts-app-wrapper .bot-message-bubble li,#math-concepts-app-wrapper .bot-message-bubble ol,#math-concepts-app-wrapper .bot-message-bubble p,#math-concepts-app-wrapper .bot-message-bubble ul{margin-bottom:.75rem;line-height:1.5;white-space:pre-wrap}#math-concepts-app-wrapper .bot-message-bubble h1,#math-concepts-app-wrapper .bot-message-bubble h2,#math-concepts-app-wrapper .bot-message-bubble h3{margin-top:1em;margin-bottom:.5em;font-weight:600}#math-concepts-app-wrapper .bot-message-bubble h1{font-size:1.5em}#math-concepts-app-wrapper .bot-message-bubble h2,.katex-display>.katex{font-size:1.25em}#math-concepts-app-wrapper .bot-message-bubble h3,.katex{font-size:1.1em}#math-concepts-app-wrapper .math-block{margin:1.5em 0;text-align:center}.modal,.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);justify-content:center;align-items:center;z-index:9999}.modal-content{background-color:#1f2937;color:#e5e7eb;padding:20px;border-radius:12px;text-align:center;width:90%;max-width:400px;box-shadow:0 8px 16px rgba(0,0,0,.3)}.modal-actions{margin-top:20px;display:flex;justify-content:center;gap:12px}.modal-button{padding:10px 20px;font-size:16px;font-weight:700;border-radius:8px;border:none;cursor:pointer;transition:background-color .2s}.modal-button.confirm,.toast-message.error{background-color:#dc2626;color:#fff}.modal-button.cancel{background-color:#4b5563;color:#e5e7eb}.modal-button.confirm:hover{background-color:#b91c1c}#math-concepts-app-wrapper .chat-actions button:hover,.modal-button.cancel:hover{background-color:#6b7280}#math-concepts-app-wrapper .suggestion-item{padding:.75rem 1rem;color:#e5e7eb;cursor:pointer;font-size:.875rem;border-bottom:1px solid #374151}#math-concepts-app-wrapper .suggestion-item:last-child{border-bottom:none}#math-concepts-app-wrapper .input-overlay-item:hover,#math-concepts-app-wrapper .suggestion-item:hover{background-color:#374151}#math-concepts-app-wrapper .history-message{padding:.5rem .75rem;border-radius:.375rem;border:1px solid #374151;font-size:.875rem}#math-concepts-app-wrapper .history-message.user{background-color:#1e40af;color:#dbeafe;margin-left:2rem;border-color:#1e3a8a}#math-concepts-app-wrapper .history-message.bot{background-color:#374151;color:#d1d5db;margin-right:2rem}#math-concepts-app-wrapper .history-message p{margin-bottom:.25rem;white-space:pre-wrap;word-wrap:break-word}#math-concepts-app-wrapper .chat-actions{margin-top:.5rem;display:flex;gap:.5rem}#math-concepts-app-wrapper .chat-actions button{background-color:#4b5563;color:#e5e7eb;padding:.25rem .5rem;border-radius:.25rem;border:none;font-size:.75rem;cursor:pointer}.toast-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background-color:#222;color:#fff;padding:10px 20px;border-radius:8px;font-size:.875rem;z-index:10000;box-shadow:0 4px 8px rgba(0,0,0,.5);opacity:0;transition:opacity .3s ease-in-out,transform .3s ease-in-out;transform:translateX(-50%) translateY(10px)}.toast-message.show{opacity:1;transform:translateX(-50%) translateY(0)}.toast-message.warning{background-color:#ca8a04;color:#fff}#math-concepts-app-wrapper #inputOverlayMenu{position:absolute;bottom:calc(100% + .5rem);left:0;background-color:#1f2937;border:1px solid #374151;border-radius:.5rem;z-index:40;width:200px;padding:.5rem}#math-concepts-app-wrapper .input-overlay-item{display:flex;align-items:center;padding:.5rem .75rem;color:#e5e7eb;font-size:.875rem;border-radius:.375rem;cursor:pointer;transition:background-color .15s ease-in-out}#math-concepts-app-wrapper .input-overlay-item svg{margin-right:.75rem;width:1.25rem;height:1.25rem;color:#9ca3af}.snackbar{visibility:hidden;min-width:250px;margin-left:-125px;background-color:#111;color:#fff;text-align:center;border-radius:2px;padding:16px;position:fixed;z-index:1;left:50%;bottom:30px;font-size:17px;opacity:0;transition:opacity .5s,bottom .5s}.snackbar.show{visibility:visible;opacity:1;-webkit-animation:.5s fadein,.5s 4.5s fadeout;animation:.5s fadein,.5s 4.5s fadeout}@-webkit-keyframes fadein{from{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@-webkit-keyframes fadeout{from{bottom:30px;opacity:1}to{bottom:0;opacity:0}}@keyframes fadeout{from{bottom:30px;opacity:1}to{bottom:0;opacity:0}}body{font-family:Roboto,sans-serif}.concept-svg-container{width:100%;max-width:250px;height:auto;min-height:180px;background-color:#283347;border:1px solid #475569;margin:.5rem auto 1rem;border-radius:.25rem;padding:.5rem}.concept-svg-container svg{width:100%;height:auto;display:block}.concept-svg-container svg line,.concept-svg-container svg path,.concept-svg-container svg polygon,.concept-svg-container svg rect{stroke:#a78bfa}.concept-svg-container svg text{fill:#cbd5e1}.concept-svg-container svg .angle-arc{stroke:#c084fc}.concept-svg-container svg .right-angle-symbol{stroke:#94a3b8}.action-button,.calculate-button{background-color:#7c3aed;color:#fff;font-weight:500;padding:.75rem 1.25rem;border-radius:.375rem;transition:background-color .2s;margin-top:1rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}input[type=number]{background-color:#334155!important;border:none!important;appearance:textfield}.calculate-button:disabled{background-color:#5b21b6;cursor:not-allowed}.quiz-option-btn:hover:not(:disabled),.secondary-action-button{background-color:#475569}.accordion-button:hover,.gemini-solver-input,.nav-category-header:hover,.secondary-action-button:hover,code,th{background-color:#334155}.interactive-hint-area{margin-top:.5rem;font-size:.85rem}.interactive-hint-area button{font-size:.8rem;padding:.25rem .5rem;margin-right:.5rem;background-color:#4a5568}.extrema-plot-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}body.overflow-hidden-mobile{overflow:hidden}.gemini-solver-input{margin-top:1rem;width:100%;padding:.75rem;border-radius:.375rem;border:1px solid #475569;color:#e2e8f0}.gemini-solver-button{margin-top:.75rem;background-color:#3b82f6;color:#fff;font-weight:500;padding:.625rem 1rem;border-radius:.375rem;transition:background-color .2s}.gemini-solver-button:hover{background-color:#2563eb}.gemini-solver-button:disabled{background-color:#1e3a8a;cursor:not-allowed}.gemini-usage-container{margin-top:1rem;padding:.75rem;background-color:#1a202c;border-radius:.5rem;border:1px solid #334155;text-align:center}.gemini-usage-bar{width:100%;background-color:#475569;border-radius:.25rem;height:8px;overflow:hidden;margin-top:.5rem}.gemini-usage-fill{height:100%;width:0%;background-color:#8b5cf6;border-radius:.25rem;transition:width .5s ease-in-out}.gemini-usage-text{font-size:.8rem;color:#cbd5e1;font-weight:500}#currencyDisclaimer{font-size:.75rem;color:#fcd34d;margin-top:1rem;padding:.5rem;background-color:rgba(252,211,77,.1);border-radius:.375rem;border:1px solid rgba(217,119,6,.3)}#currencyDisclaimer.error{color:#f87171;background-color:rgba(248,113,113,.1);border-color:rgba(220,38,38,.3)}img.h-5{width:30px}.content-section li,.content-section p{margin-bottom:1rem;line-height:1.75;color:#9ca3af}.crumbs a{font-weight:400!important;font-size:.95rem!important}li{list-style:none}code{padding:.2em .5em;border-radius:4px;font-size:.9em;color:#e2e8f0}h1.gradient-text{background:linear-gradient(to right,#a78bfa,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}h1.mobile{font-size:16px;overflow:hidden;max-width:250px}h2{font-size:30px;margin:10px 0}h3{text-align:left;margin:5px 0}.mathcontent a,.page-title,h4{font-weight:700}h4{padding:15px 0;font-size:18px}.page-title{font-size:1.75rem;line-height:2rem;margin-bottom:1.5rem;text-align:center}.section-title,.solver-subtitle{font-weight:600;margin-bottom:.75rem}.section-title{font-size:1.5rem;padding-bottom:.5rem;border-bottom:1px solid #475569;color:#e2e8f0}.solver-subtitle{font-size:1rem;margin-top:.5rem;color:#6ee7b7}a{color:var(--link-color);text-decoration:none;position:relative;transition:color .3s}a::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:2px;background-color:var(--link-underline);transform:scaleX(0);transform-origin:left;transition:transform .3s}a:focus,a:hover{color:var(--link-hover);outline:0}a:focus::after,a:hover::after{transform:scaleX(1)}a:focus-visible{outline:2px dashed var(--link-focus);outline-offset:4px}main a{color:#f1fd74}.mathcontent a{color:#b1ff95}button{border:none;background:0 0}.button-grid{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.button-grid .calculate-button{width:100%;margin-top:0}.solver-card button{padding:.6rem 1.5rem;background-color:#2563eb;color:#fff;font-weight:600;border-radius:1rem;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:.3s;cursor:pointer;font-family:inherit;width:100%}.calculator-card button:not(.accordion-button),.solver-input-area button{padding:.75rem 1.5rem;transition:background-color .2s ease-in-out;width:100%;color:#fff;font-size:1rem;cursor:pointer}.solver-card button:hover{background-color:#1d4ed8}.solver-card button:focus{outline:#60a5fa solid 2px;outline-offset:2px}.solver-input-area button{background-color:#10b981;border-radius:.375rem;font-weight:600;border:none}.calculator-card button:not(.accordion-button):hover,.solver-input-area button:hover{background-color:#059669}.calculator-card button:not(.accordion-button){background-color:#10b981;border-radius:.375rem;font-weight:500;border:none;display:block;margin-top:.5rem}.history-show-more-button{display:block;width:100%;text-align:left;padding:.5rem;margin-top:.5rem;font-size:.875rem;color:#93c5fd;background-color:transparent;border:1px solid #2563eb;border-radius:.375rem;cursor:pointer;transition:.2s ease-in-out}.history-show-more-button:hover{background-color:#1e40af;color:#fff}#clearGeometryHistoryButton,#toggleGeometryHistoryViewButton{margin-top:.75rem;width:100%;font-size:.75rem;text-align:center;color:#a78bfa;border:1px solid rgba(167,139,250,.3);background-color:rgba(167,139,250,.05);padding:.375rem 0;border-radius:.375rem;transition:background-color .2s,color .2s}#clearGeometryHistoryButton:hover,#toggleGeometryHistoryViewButton:hover{background-color:rgba(167,139,250,.15);color:#c084fc}.engagement-button{background-color:transparent;border:1px solid #475569;color:#94a3b8;border-radius:50%;width:2.25rem;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;transition:.2s}.engagement-button:hover{background-color:#475569;color:#fff}.engagement-button .counter{position:absolute;top:-.25rem;right:-.25rem;background-color:#ef4444;color:#fff;font-size:.625rem;font-weight:600;border-radius:50%;min-width:1rem;height:1rem;display:flex;align-items:center;justify-content:center;padding:.125rem}.engagement-buttons-container{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #475569}#nextSectionBtn,#nextSectionButton,#nextSectionButtonFAB{bottom:14.5rem}#scrollToTopBtn{bottom:3rem}input[type=text]{border:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;width:100%;padding:.75rem 1rem;border-radius:.375rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);font-size:1rem;line-height:1.5;color:#374151;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}input[type=number]:focus{outline:0;border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.5)}input[type=number]::placeholder{color:#9ca3af}.solver-input:focus,.solver-select:focus{box-shadow:0 0 0 2px rgba(124,58,237,.3);outline:0;border-color:#38bdf8;box-shadow:0 0 0 2px rgba(56,189,248,.3)}.input-group label,.solver-input-area label{display:block;font-size:.875rem;font-weight:500;color:#cbd5e1;margin-bottom:.5rem}.input-group label{margin-bottom:.25rem;color:#94a3b8}.solver-input-area input[type=number],.solver-input-area input[type=text],.solver-input-area select{width:100%;padding:.75rem;border-radius:.375rem;border:1px solid #475569;background-color:#334155;color:#e2e8f0;font-size:1rem;margin-bottom:1rem;transition:border-color .2s,box-shadow .2s}.solver-input-area input[type=number]:focus,.solver-input-area input[type=text]:focus,.solver-input-area select:focus,.solver-input-block input[type=text]:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.5)}.solver-input-block label{display:block;margin-bottom:.5rem;font-size:.875rem;color:#cbd5e1;font-weight:500}.solver-input-block input[type=text]{width:100%;padding:.75rem;border-radius:.375rem;border:1px solid #475569;background-color:#334155;color:#e2e8f0;font-size:1rem;margin-bottom:1rem;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.formula-input,.formula-select{background-color:#334155;border:1px solid #475569;color:#e2e8f0;padding:.625rem .875rem;border-radius:.375rem;width:100%;font-size:.875rem;transition:border-color .2s,box-shadow .2s;margin-bottom:.5rem}.formula-input:focus,.formula-select:focus{outline:0;border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.3)}.calculator-card input[type=number],.calculator-card textarea{width:100%;padding:.75rem;border-radius:.375rem;border:1px solid #475569;background-color:#334155;color:#e2e8f0;font-size:1rem;margin-bottom:1rem}.calculator-card textarea{min-height:80px;font-family:monospace}.interactive-card input[type=number],.interactive-card input[type=range],.interactive-card input[type=text],.interactive-card select,.solver-card input[type=number],.solver-card input[type=text],.solver-card select{width:100%;padding:.75rem 1rem;border-radius:.375rem;border:1px solid #475569;background-color:#334155;color:#e2e8f0;font-size:1rem;margin-bottom:.5rem}#closeSnackbar,.interactive-card input[type=range]{padding:.25rem}.interactive-card input[type=number]:focus,.interactive-card input[type=range]:focus,.interactive-card input[type=text]:focus,.interactive-card select:focus,.solver-card input[type=number]:focus,.solver-card input[type=text]:focus,.solver-card select:focus{outline:transparent solid 2px;outline-offset:2px;border-color:#8b5cf6;box-shadow:0 0 0 2px #a78bfa}.dms-input-group{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem}.dms-input-group input{width:60px;text-align:center}.tom-select{background-color:#1f2937;color:#f8fafc;border:1px solid #334155;border-radius:.375rem}.tom-select .item{color:#f8fafc;background-color:transparent}.ts-dropdown{background-color:#f1f5f9;border:1px solid #cbd5e1}.ts-dropdown .option{color:#1e293b;padding:.5rem 1rem}.ts-dropdown .option.active,.ts-dropdown .option:hover{background-color:#e2e8f0;color:#000}.input-group{margin-bottom:1rem}.grid-inputs,.input-grid,.input-grid-2,.solver-input-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1rem}.solver-input-coeffs{display:flex;flex-direction:column;gap:.75rem}.solver-input-coeffs>div{flex:1}.complex-input-grid{display:grid;grid-template-columns:1fr;gap:.5rem;align-items:center;margin-bottom:.5rem}.complex-input-grid span{text-align:center;font-size:1.1rem;color:#9ca3af}.grid-inputs label,aside button{font-size:12px}.equation-line{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.eq-input{min-width:40px;max-width:100%;flex:1 1 auto;text-align:center;margin-bottom:0}.eq-op{color:#9ca3af;white-space:nowrap;margin:0 .25rem}.calculator-result-area,.llm-response-area{margin-top:1rem;padding:1rem;border-radius:.375rem}.solver-input-block{background-color:#1e293b;padding:1rem;border-radius:.5rem;box-shadow:0 4px 12px rgba(0,0,0,.15);margin-bottom:1.5rem}.realtime-equation-display{text-align:center;font-size:1rem;color:#7dd3fc;padding:.5rem;margin-bottom:.75rem;min-height:3em;border:1px dashed #334155;border-radius:.375rem;background-color:#111827}.result-area,.results-display-area{background:0 0;border-left:none}.calculator-result-area{background-color:#293548;min-height:3rem;border-left:4px solid #34d399}.calculator-result-area p.step{margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px dashed #475569;color:#e2e8f0}.calculator-result-area p.step:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.calculator-result-area p.final-result-step strong{color:#6ee7b7}.llm-response-area{background-color:#2d3748;border-left:3px solid #60a5fa;font-size:.9rem;color:#e2e8f0;line-height:1.6}.llm-response-area.loading{font-style:italic;color:#94a3b8}@keyframes pulse-border-purple{0%{box-shadow:0 0 0 0 rgba(139,92,246,.4);border-color:rgba(139,92,246,.6)}50%{box-shadow:0 0 0 8px rgba(139,92,246,0);border-color:#8b5cf6}100%{box-shadow:0 0 0 0 rgba(139,92,246,0);border-color:rgba(139,92,246,.6)}}.gemini-result-area.is-loading{animation:1.5s ease-out infinite pulse-border-purple;border-color:#8b5cf6}.query-progress-container{margin-top:1.5rem;padding:.75rem 1rem;background-color:#1e293b;border-radius:.5rem;border:1px solid #334155;display:flex;flex-direction:column;gap:.5rem}.query-progress-label{font-size:.875rem;color:#94a3b8;font-weight:500;display:flex;justify-content:space-between;align-items:center}.query-progress-bar-outer{width:100%;background-color:#475569;border-radius:.25rem;height:8px;overflow:hidden}.query-progress-bar-inner{height:100%;background-color:#34d399;width:0%;border-radius:.25rem;transition:width .3s ease-in-out}.query-progress-bar-inner.warn{background-color:#fbbf24}.quiz-option-btn{background-color:#334155;color:#e2e8f0;padding:.75rem 1rem;border-radius:.375rem;margin-bottom:.5rem;text-align:left;width:100%;transition:background-color .2s,border-color .2s;border:1px solid #475569}.calculator-body,.quiz-explanation{background-color:#2d3748;padding:1rem}.quiz-option-btn.selected{border-color:#8b5cf6;background-color:#4f46e5}.quiz-option-btn:disabled{opacity:.7;cursor:not-allowed}.quiz-option-btn.correct-answer{background-color:#16a34a;border-color:#16a34a;color:#fff;font-weight:600}.quiz-option-btn.wrong-answer{background-color:#dc2626;border-color:#dc2626;color:#fff;font-weight:600}.quiz-feedback-correct{color:#22c55e;font-weight:500}.quiz-feedback-incorrect{color:#ef4444;font-weight:500}.quiz-explanation{border-left:3px solid #8b5cf6;margin-top:1rem;border-radius:.375rem;font-size:.9rem}#scientific-calculator-section{display:flex;justify-content:center;align-items:center;flex-direction:column}.calculator-body{border-radius:1rem;box-shadow:0 8px 24px rgba(0,0,0,.5);width:100%;display:flex;flex-direction:column}.calc-button,.calculator-display{color:#e2e8f0;border-radius:.5rem;align-items:center;user-select:none}.calculator-display{background-color:#1a202c;font-size:1.75rem;text-align:right;padding:.75rem 1rem;margin-bottom:1rem;overflow-x:auto;white-space:nowrap;font-family:'Roboto Mono',monospace;min-height:60px;display:flex;justify-content:flex-end}.calculator-buttons-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.calc-button{background-color:#475569;font-size:1rem;padding:1rem;border:none;cursor:pointer;transition:background-color .2s ease-in-out,transform .1s ease-in-out;font-weight:500;display:flex;justify-content:center;-webkit-tap-highlight-color:transparent}.calc-button:hover{background-color:#64748b}.calc-button:active{transform:scale(.95);background-color:#334155}.calc-button.operator{background-color:#7c3aed;color:#fff}.calc-button.clear,.calc-button.delete{background-color:#ef4444;color:#fff;font-size:.9rem}.calc-button.clear:hover,.calc-button.delete:hover{background-color:#dc2626}.calc-button.equals{background-color:#22c55e;color:#fff}.calc-button.equals:hover{background-color:#16a34a}.calc-button.large{grid-column:span 2}.solid-svg-container{width:100px;height:80px;margin:.5rem auto 1rem;background-color:#2d3748;border-radius:.375rem;display:flex;align-items:center;justify-content:center;padding:.5rem}.solid-svg-container svg{width:90%;height:90%;stroke:#9ca3af;stroke-width:1.5;fill:rgba(107,114,128,0.1)}.chart-container{width:100%;max-width:600px;margin:1rem auto 0;background-color:#1e293b;padding:.75rem;border-radius:.5rem}.grouped-data-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;align-items:center}.grouped-data-row input{margin-bottom:0;flex:1 1 100px;min-width:0}.remove-row-btn{background-color:#ef4444;color:#fff;padding:.25rem .5rem;font-size:.8rem;border-radius:.25rem;flex-shrink:0}table{width:100%;margin-top:1rem;font-size:.875rem}td,th{border:1px solid #475569;padding:.5rem;text-align:center}.step-block{background-color:#2d3748;padding:.75rem;border-radius:.375rem;margin-bottom:.75rem;border-left:3px solid #22c55e}.step-math{margin-bottom:.75rem;padding-top:.35rem;padding-bottom:.75rem;border-bottom:1px dashed #475569}.step-block p{margin-bottom:.25rem;color:#e5e7eb;word-wrap:break-word}.step-explanation{font-size:.875rem;color:#9ca3af;margin-top:.25rem;margin-bottom:.5rem}.sub-step-explanation{font-size:.8rem;color:#a0aec0;margin-left:1rem;margin-top:.25rem}#quadraticGraphCanvas{width:100%;max-width:600px;height:300px;max-height:300px;background-color:#273040;border-radius:.375rem;margin-top:1rem;display:block}.plot-container{padding:1rem;width:100%;height:350px;background-color:#1f2937;border-radius:.375rem;margin-top:1.5rem;margin-bottom:1.6rem}#circleCanvas{border:1px solid #4b5563;background-color:#2d3748;border-radius:.375rem;width:100%;max-width:400px;height:350px;display:block}#triangleConstructionCanvas{border:1px solid #475569;background-color:#283347;border-radius:.375rem;width:100%;max-width:400px;height:250px;margin:1rem auto;display:block}aside button{text-align:center}.topnavheader{padding:10px 15px;font-size:.85rem}.sidebar nav a.nav-link{display:flex;align-items:center;padding:.6rem .75rem;border-radius:.375rem;font-size:.9rem;color:#94a3b8}.sidebar nav a.nav-link svg{margin-right:.75rem;width:18px;height:18px}.sidebar nav a.nav-link.active-link{background-color:#10b981;color:#fff;font-weight:500}.sidebar nav a.nav-link.active-link svg{color:#a7f3d0}.show-more-nav-button{hover:text-slate-200 background-color: transparent;display:block;width:100%;text-align:center;padding:.5rem .75rem;margin-top:.5rem;font-size:.875rem;color:#94a3b8;background-color:transparent;border:1px solid #334155;border-radius:.375rem;cursor:pointer;transition:.2s ease-in-out}.accordion-button,.nav-category-header{width:100%;transition:background-color .2s}.nav-group-title{padding:.5rem .75rem;margin-top:1rem;margin-bottom:.25rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:600}.nav-category-header{padding:.5rem .75rem;border-radius:.375rem}.accordion-button{color:#e2e8f0;text-align:left;border:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.accordion-content{padding:0;background-color:#1e293b;display:block;max-height:0;overflow:hidden;transition:max-height .3s ease-in-out,padding .3s ease-in-out}.accordion-arrow{transition:transform .3s}.accordion-button.active .accordion-arrow{transform:rotate(180deg)}.accordion-button{background-color:#293548;padding:1rem 1.5rem;font-weight:600;border-bottom:1px solid #1e293b}.accordion-content.active{display:block;max-height:500px;padding:1.5rem}.accordion-content h3{font-size:1.25rem;font-weight:600;margin-top:0;margin-bottom:1rem;color:#6ee7b7}#formulaHistoryListContainer,#geometryHistoryListContainer{padding:.5rem;border-top:1px solid #334155}#geometryHistoryList,#hyperbolicDiffSolverHistoryList{max-height:10rem;overflow-y:auto;transition:max-height .3s ease-in-out}#geometryHistoryList.expanded,#hyperbolicDiffSolverHistoryList.expanded{max-height:20rem}.history-item{display:flex;align-items:center;justify-content:space-between;padding:.6rem .5rem;font-size:.8rem;color:#94a3b8;border-radius:.375rem;cursor:pointer;transition:background-color .2s}.interactive-step-container{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #334155}.interactive-step-prompt{color:#e2e8f0;margin-bottom:.75rem}.interactive-input-group{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}.worksheets .content-section{display:flex;width:100%;max-width:1200px;flex-direction:column;align-items:center}.generator-controls{background-color:#1f2937;padding:1.5rem;border-radius:.5rem;margin-bottom:2rem;display:flex;flex-direction:column;align-items:center;gap:1.5rem;width:100%;max-width:600px}.generator-controls div{display:flex;flex-direction:column;align-items:center;width:100%}.generator-controls label{font-weight:500;margin-bottom:.5rem;white-space:nowrap;font-size:.85rem;display:block;color:#cbd5e1}.generator-controls input[type=number],.generator-controls select{background-color:#374151;border:1px solid #4b5563;color:#e5e7eb;padding:.5rem .75rem;border-radius:.25rem;width:100%;text-align:center}.generator-controls input[type=number]:focus,.generator-controls select:focus{outline:0;border-color:#a78bfa;box-shadow:0 0 0 2px rgba(167,139,250,.5)}.generator-controls button{background-image:linear-gradient(to right,#8b5cf6,#ec4899)!important;color:#fff;padding:.5rem 1.5rem!important;border-radius:9999px!important;font-weight:600;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);transition:.3s!important;border:none;cursor:pointer;width:100%!important;margin-top:1rem!important}.question-item,.worksheets #snackbar{padding:1rem 1.5rem;border-radius:.375rem}.content-section p{font-size:.9rem}#questionsArea{width:100%;max-width:600px;margin-left:auto;margin-right:auto;margin-top:1.5rem}.question-item{background-color:#2d3748;margin-bottom:1rem;box-shadow:0 2px 4px rgba(0,0,0,.1);width:100%}.question-item p.question-text{font-size:1.25rem;font-weight:500;margin-bottom:.75rem;color:#e5e7eb;min-height:2em;word-wrap:break-word;overflow-wrap:break-word}.question-item .actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.question-item .actions button{padding:.5rem 1rem;border-radius:.25rem;font-size:.875rem;font-weight:500;transition:background-color .2s ease-in-out;flex-grow:1}@media (min-width:400px){.question-item .actions button{flex-grow:0}}.show-answer-btn{background-color:#6d28d9;color:#fff}.show-answer-btn:hover{background-color:#5b21b6}.show-steps-btn{background-color:#0d9488;color:#fff}.show-steps-btn:hover{background-color:#0f766e}.worksheets #snackbar{bottom:20px;right:20px;left:20px;background-color:#151515!important;color:#e5e7eb;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);z-index:100;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out,transform .3s ease-in-out;transform:translateY(20px);min-width:300px!important;max-width:450px}#snackbar.show,.mathcravequiz-tooltip-container:hover .mathcravequiz-tooltip-text{visibility:visible;opacity:1}@media (min-width:640px){h1.mobile{font-size:20px;max-width:350px}h2{font-size:45px}h3{padding:12px 0;margin:8px 0}h4{padding:20px 0;font-size:20px}.page-title{font-size:2.25rem;line-height:2.5rem;margin-bottom:2rem}.section-title{font-size:1.75rem;margin-bottom:1rem}.calc-button,.solver-subtitle{font-size:1.25rem}.button-grid{flex-direction:row;flex-wrap:wrap}.button-grid .calculate-button{flex-grow:0;width:auto}.calculator-card button:not(.accordion-button),.solver-card button,.solver-input-area button{width:auto}.input-grid,.input-grid-2{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.solver-input-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.solver-input-coeffs{flex-direction:row}.grid-inputs{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.calculator-card .grid-inputs{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.complex-input-grid{grid-template-columns:1fr auto 1fr auto}.equation-line{flex-wrap:nowrap}.solver-input-block{padding:1.5rem;margin-bottom:2rem}.calculator-body{width:450px}.calculator-display{font-size:2.25rem;min-height:70px}.calculator-buttons-grid{grid-template-columns:repeat(5,1fr);gap:.75rem}.calc-button.clear,.calc-button.delete{font-size:1rem}.solid-svg-container{width:120px;height:100px}#quadraticGraphCanvas,.plot-container{height:350px;max-height:350px}#circleCanvas{height:400px}#triangleConstructionCanvas{height:300px}aside button{font-size:13px}.interactive-input-group{flex-direction:row;align-items:center}.generator-controls{flex-direction:row;justify-content:center;flex-wrap:wrap;gap:1rem}.generator-controls div{width:auto;flex-direction:row;gap:.5rem}.generator-controls label{margin-bottom:0}.generator-controls input[type=number]{width:80px}.generator-controls select{width:180px}.generator-controls button{width:auto;margin-top:0}.worksheets #snackbar{left:auto!important}}#snackbar.show{transform:translateY(0)}#snackbarTitle{font-size:1.125rem;font-weight:600;color:#a78bfa}#snackbarMessage{font-size:1rem;line-height:1.7;margin-top:.5rem;max-height:200px;overflow-y:auto;padding-right:.5rem}#snackbarMessage::-webkit-scrollbar{width:6px;height:6px}#snackbarMessage::-webkit-scrollbar-track{background:#28303a;border-radius:3px}#snackbarMessage::-webkit-scrollbar-thumb{background:#5a6675;border-radius:3px}#snackbarMessage::-webkit-scrollbar-thumb:hover{background:#718096}#snackbarMessage ul{list-style-type:decimal;padding-left:1.25rem;margin-top:.5rem}#snackbarMessage li{margin-bottom:.35rem}#closeSnackbar{background:0 0;border:none;color:#9ca3af;font-size:1.5rem;line-height:1;cursor:pointer}.quizblock button{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.25rem;font-size:1rem;font-weight:600;font-family:inherit;color:#fff;background-color:#2563eb;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .25s,transform .2s;box-shadow:0 2px 6px rgba(0,0,0,.1);text-align:center;width:100%;max-width:100%}#mathcravequiz-app,#mathcravequiz-aside{border-radius:.75rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.2),0 8px 10px -6px rgba(0,0,0,.2);width:100%;color:#e0e0e0}.quizblock button:hover{background-color:#1d4ed8;transform:translateY(-1px)}#mathcravequiz-layout-container{display:flex;flex-direction:column;width:100%;max-width:1200px;gap:1.5rem}#mathcravequiz-app{background-color:#16162a;padding:1.5rem 2rem;flex:3}#mathcravequiz-aside{padding:.5rem;flex:1;min-height:200px;overflow-y:auto;max-height:calc(100vh - 2rem)}@media (min-width:1024px){.extrema-plot-grid{grid-template-columns:1fr 1fr}#mathcravequiz-layout-container{flex-direction:row}#mathcravequiz-aside{max-height:none}}.mathcravequiz-math-expression{font-size:1.125rem;line-height:1.5;color:#e0e0e0}.mathcravequiz-option-button{transition:.2s ease-in-out;background-color:#26263a;border:1px solid #3a3a5a;color:#e0e0e0;font-size:1rem}.mathcravequiz-button-primary,.mathcravequiz-button-secondary{padding:.75rem 1.25rem;font-size:1rem;font-family:inherit;cursor:pointer;transition:background-color .25s,transform .2s;box-shadow:0 2px 6px rgba(0,0,0,.1);max-width:100%;text-align:center;font-weight:600;width:100%}.mathcravequiz-option-button:hover:not(.selected):not(.disabled){background-color:#3a3a5a;border-color:#5a5a7a}.mathcravequiz-option-button.correct,.mathcravequiz-option-button.selected{background-color:#28a745;border-color:#218838;color:#fff}.mathcravequiz-option-button.incorrect{background-color:#dc3545;border-color:#c82333;color:#fff}.mathcravequiz-button-primary{background-image:linear-gradient(to right,#6a0dad,#8a2be2);border:none;justify-content:center;color:#fff;border-radius:.5rem}.mathcravequiz-button-primary:hover{background-image:linear-gradient(to right,#5a0da0,#7a1be0)}.mathcravequiz-button-secondary{border:1px solid #5a5a7a;justify-content:center;color:#fff;background-color:#2563eb;border:none;border-radius:.5rem}.mathcravequiz-explanation-container{background-color:#26263a;color:#e0e0e0;border-left:4px solid #8a2be2;border-radius:.5rem;padding:1rem;position:relative}.mathcravequiz-explanation-container .mathcravequiz-math-expression{color:#e0e0e0}#mathcravequiz-ai-solver-response{background-color:#3a3a5a;color:#e0e0e0;border:1px solid #5a5a7a;border-radius:.5rem}#mathcravequiz-ai-solver-response .font-semibold{color:#a1a1aa}#mathcravequiz-quiz-screen .bg-blue-50,#mathcravequiz-results-screen .bg-blue-100,#mathcravequiz-results-screen .bg-red-50{background-color:#26263a;color:#e0e0e0}#mathcravequiz-quiz-screen .text-blue-800,#mathcravequiz-results-screen .text-blue-800{color:#8a2be2}#mathcravequiz-classroom-suggestions .font-semibold,#mathcravequiz-quiz-screen .text-gray-700{color:#b0b0b0}#mathcravequiz-feedback-message{color:#fff}#mathcravequiz-feedback-message.text-green-600{color:#28a745}#mathcravequiz-feedback-message.text-red-600,#mathcravequiz-mistakes-summary .text-red-800{color:#dc3545}#mathcravequiz-classroom-suggestions{background-color:#3a3a5a;border-color:#5a5a5a;color:#e0e0e0}#mathcravequiz-classroom-suggestions .text-gray-600{color:silver}.overflow-y-auto::-webkit-scrollbar{width:8px}.overflow-y-auto::-webkit-scrollbar-track{background:#26263a;border-radius:10px}.overflow-y-auto::-webkit-scrollbar-thumb{background:#5a5a7a;border-radius:10px}.overflow-y-auto::-webkit-scrollbar-thumb:hover{background:#7a7a9a}.mathcravequiz-tooltip-container{position:relative;display:inline-block}.mathcravequiz-tooltip-container .mathcravequiz-tooltip-text{visibility:hidden;background-color:#5a5a7a;color:#fff;text-align:center;border-radius:6px;padding:5px 8px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-60px;opacity:0;transition:opacity .3s;width:120px;font-size:.75rem}.mathcravequiz-tooltip-container .mathcravequiz-tooltip-text::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#5a5a7a transparent transparent}.mathcravequiz-topic-progress-bar-container{width:100%;height:10px;background-color:#3a3a5a;border-radius:9999px;overflow:hidden;margin-top:.25rem}.mathcravequiz-topic-progress-bar-fill{height:100%;border-radius:9999px;transition:width .3s ease-in-out}.mathcravequiz-topic-progress-bar-fill.strength{background-color:#28a745}.mathcravequiz-topic-progress-bar-fill.improvement{background-color:#dc3545}.mathcravequiz-topic-label{font-weight:600;color:#e0e0e0}.mathcravequiz-topic-percentage{font-size:.875rem;color:#b0b0b0}#mathcravequiz-score-history li{background-color:#26263a;padding:.75rem;border-radius:.5rem;margin-bottom:.5rem;border:1px solid #3a3a5a}#mathcravequiz-progress-bar-container{width:100%;height:12px;background-color:#3a3a5a;border-radius:9999px;overflow:hidden;margin-bottom:1.5rem;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}#mathcravequiz-progress-bar-fill{height:100%;background-image:linear-gradient(to right,#6a0dad,#8a2be2);border-radius:9999px;transition:width .5s ease-out}.mathcravequiz-spinner{border:4px solid rgba(255,255,255,.3);border-top:4px solid #8a2be2;border-radius:50%;width:24px;height:24px;animation:1s linear infinite spin;margin:0 auto}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
