.card-icon.mathematics,.finder-icon.mathematics{color:#5c4cc4;background:#eeeafd}.mathematics-hero{background:radial-gradient(circle at 82% 15%,#6d5fe824,#0000 28%)}.mathematics-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.mathematics-topic-card{border:1px solid var(--line);background:var(--white);border-radius:16px;padding:28px;scroll-margin-top:95px}.mathematics-topic-card>div{justify-content:space-between;align-items:center;display:flex}.mathematics-topic-card>div>small{color:var(--muted);letter-spacing:.12em;font-weight:800}.mathematics-topic-card h2{margin:20px 0 8px;font-size:1.55rem}.mathematics-topic-card p{min-height:48px;color:var(--muted)}.mathematics-topic-card ul{gap:8px;margin:20px 0;padding:0;list-style:none;display:grid}.mathematics-topic-card li{color:var(--ink);padding-left:18px;font-size:.82rem;position:relative}.mathematics-topic-card li:before{content:"";background:#6d5fe8;border-radius:50%;width:7px;height:7px;position:absolute;top:.55em;left:0}.mathematics-status{color:#5c4cc4;text-transform:uppercase;letter-spacing:.08em;margin-top:8px;font-size:.67rem;font-weight:800;display:inline-block}.mathematics-existing{background:var(--navy);color:#fff;border-radius:16px;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px;margin-top:42px;padding:34px;display:grid}.mathematics-existing p{color:#b8cac6}.mathematics-existing>div:last-child{gap:9px;display:grid}.mathematics-existing a{color:var(--mint);border:1px solid #31504b;border-radius:8px;justify-content:space-between;align-items:center;padding:13px 15px;font-weight:800;display:flex}.home-mathematics-topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.home-mathematics-topics>a{border:1px solid var(--line);background:var(--white);border-radius:18px;flex-direction:column;min-height:245px;padding:26px;display:flex}.home-mathematics-topics small,.home-mathematics-topics b{color:#5c4cc4;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem;font-weight:800}.home-mathematics-topics h3{margin:16px 0 8px;font-size:1.35rem}.home-mathematics-topics p{color:var(--muted)}.home-mathematics-topics b{align-items:center;gap:7px;margin-top:auto;display:flex}.home-mathematics-topics>a:hover{border-color:#a79ded;transform:translateY(-3px)}[data-theme=dark] .card-icon.mathematics,[data-theme=dark] .finder-icon.mathematics{color:#bdb5ff;background:#292548}[data-theme=dark] .mathematics-topic-card,[data-theme=dark] .home-mathematics-topics>a{background:var(--white)}@media (max-width:900px){.mathematics-existing,.home-mathematics-topics{grid-template-columns:1fr}}@media (max-width:700px){.finder-filters{grid-template-columns:repeat(2,1fr)}.mathematics-topic-grid{grid-template-columns:1fr}.mathematics-topic-card{padding:22px}.mathematics-topic-card p{min-height:0}.mathematics-existing{gap:24px;padding:24px}}@media (max-width:380px){.finder-filters{grid-template-columns:1fr}}.math-calculator textarea{resize:vertical;width:100%;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cedbd4;border-radius:7px;padding:12px 13px}.math-calculator textarea:focus{border-color:var(--green);outline:0;box-shadow:0 0 0 3px #176b581a}.math-coefficients{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.math-precision{border-left:3px solid #6d5fe8;padding-left:11px}.math-result{height:auto;min-height:410px;max-height:none;overflow:visible}.math-result>strong{font-size:clamp(1.45rem,3vw,2.35rem)}.math-result-details{color:#b8cac6;font-size:.82rem;line-height:1.55}.math-result-details p{margin:0 0 10px}.math-result-details ol{gap:5px;margin:8px 0 16px;padding-left:20px;display:grid}.linear-system-grid,.matrix-input{gap:8px;display:grid}.linear-system-grid .constant{border-left:3px solid #6d5fe8;margin-left:8px}.matrix-label{color:var(--green);text-transform:uppercase;letter-spacing:.09em;font-size:.7rem;font-weight:800}.matrix-output{gap:7px;margin:12px 0;display:grid}.matrix-output span{color:#fff;border:1px solid #42635c;border-radius:6px;place-items:center;min-height:38px;font-weight:800;display:grid}.math-check{grid-template-columns:20px 1fr;align-items:center;display:grid!important}.math-check input{width:18px;height:18px}.secondary-button{border:1px solid var(--line);background:var(--paper);color:var(--green);border-radius:7px;padding:10px 13px;font-weight:800}@media (max-width:900px){.math-result{height:auto;min-height:390px;max-height:none}}@media (max-width:620px){.math-coefficients{grid-template-columns:1fr}.math-result{min-height:360px}.linear-system-grid{gap:6px}.linear-system-grid input,.matrix-input input{min-width:0;padding:10px 7px}.math-calculator .calc-heading{flex-direction:column;align-items:flex-start;gap:12px}.math-calculator .segmented{grid-template-columns:repeat(2,1fr);width:100%;display:grid}}.definite-integral{align-items:center;gap:.16em;display:inline-flex}.integral-symbol{margin-right:.28em;font-size:1.28em;line-height:1;display:inline-block;position:relative}.integral-symbol sup,.integral-symbol sub{font-size:.42em;line-height:1;position:absolute;left:.62em}.integral-symbol sup{top:-.16em}.integral-symbol sub{bottom:-.12em}.calculator-card:has(textarea[placeholder*="1, 2"]) .calc-grid>.math-result{box-sizing:border-box;height:500px;min-height:500px;max-height:500px;overflow:visible}.calculator-card:has(option[value=binomial]) .result-empty>span{overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.2}
