.flex-math-page{padding-bottom:110px}.flex-math{--fm-ink:var(--txb-ink,#483e47);--fm-muted:var(--txb-muted,#786974);--fm-line:var(--txb-line,#eadce3);--fm-accent:var(--txb-deep,#9d556f);color:var(--fm-ink);max-width:900px;margin:16px auto 0}.flex-math *{box-sizing:border-box}.flex-math-hero{display:flex;align-items:center;gap:18px;padding:12px 4px 24px}.flex-math-hero small,.flex-math-section-title small{color:var(--fm-muted)}.flex-math h1{font-size:clamp(26px,5vw,34px);line-height:1.25;margin:5px 0 9px}.flex-math h2{font-size:19px;margin:0 0 16px}.flex-math p{line-height:1.65}.flex-math-hero p{margin:0;font-size:14px;color:var(--fm-muted)}.flex-math-symbol{flex:0 0 64px;width:64px;height:64px;display:grid;place-items:center;border-radius:24px;background:var(--txb-soft,#f7e8ef);color:var(--fm-accent);font-size:25px;font-weight:800}.flex-math-card{margin:0 0 20px;padding:22px;background:var(--txb-paper,white);border:1px solid var(--fm-line);border-radius:22px;box-shadow:0 5px 16px #45384405}.flex-math button,.flex-math input,.flex-math select,.flex-math-download a{font:inherit}.flex-math button{cursor:pointer;border:1px solid var(--fm-line);color:var(--fm-ink);background:var(--txb-paper,white);border-radius:12px;padding:11px 15px;min-height:44px;font-size:14px;line-height:1.45}.flex-math button:disabled{cursor:default;opacity:.5}.flex-math a:focus-visible,.flex-math button:focus-visible,.flex-math input:focus-visible,.flex-math select:focus-visible{outline:3px solid var(--txb-accent,#cf8daa);outline-offset:3px}.flex-math .flex-math-primary{background:var(--fm-accent);border-color:var(--fm-accent);color:white;font-weight:700}.flex-math-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:20px}.flex-math-grades button{padding:13px 6px;text-align:center}.flex-math-grades small,.flex-math-grades strong{display:block}.flex-math-grades strong{font-size:16px;margin-bottom:5px}.flex-math-grades small{font-size:12px;color:var(--fm-muted)}.flex-math button[aria-pressed=true]{border-color:var(--fm-accent);background:var(--txb-soft,#f7e8ef);box-shadow:inset 0 0 0 1px var(--fm-accent)}.flex-math-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:12px}.flex-math-fields label{display:grid;grid-gap:8px;gap:8px;font-size:14px;font-weight:600}.flex-math-fields input,.flex-math-fields select{width:100%;min-width:0;padding:11px 12px;min-height:46px;border:1px solid var(--fm-line);border-radius:10px;background:var(--txb-paper,white);color:var(--fm-ink);font-size:16px}.flex-math-counts{display:flex;gap:8px;flex-wrap:wrap}.flex-math-counts button{padding:7px 14px;min-height:38px}.flex-math-muted{color:var(--fm-muted);font-size:13px;margin:13px 0}.flex-math-banner{border-radius:12px;padding:13px 16px}.flex-math-error{color:#a42b34;background:#fff3f2;padding:10px 12px;border-radius:10px}.flex-math-notice{color:var(--fm-ink);background:var(--txb-soft,#f7e8ef)}.flex-math-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.flex-math-section-title h2{margin:5px 0 0}.flex-math-tag{flex-shrink:0;padding:6px 9px;border-radius:9px;font-size:12px;color:var(--fm-accent);background:var(--txb-soft,#f7e8ef)}.flex-math-progress{display:flex;align-items:center;gap:16px;font-size:13px;margin-bottom:15px;color:var(--fm-muted)}.flex-math-progress progress{flex:1 1;min-width:20px;height:9px;accent-color:var(--fm-accent)}.flex-math-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.flex-math-question{border:1px solid var(--fm-line);border-radius:12px;padding:13px;min-width:0}.flex-math-question label{display:flex;align-items:baseline;gap:9px;margin-bottom:12px}.flex-math-question label small{color:var(--fm-muted);font-size:11px}.flex-math-question label strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.flex-math-question input{width:100%;background:var(--txb-paper,white);color:var(--fm-ink);border:1px solid var(--fm-line);border-radius:8px;padding:9px 12px;min-height:42px;font-size:18px}.flex-math-answer-line{display:block;height:34px;border-bottom:1px solid var(--fm-line);margin-bottom:6px}.flex-math-pages{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0;font-size:13px}.flex-math-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.flex-math-result{padding:18px;background:var(--txb-soft,#f7e8ef);border-radius:14px}.flex-math-result>h3{margin-top:0;font-size:23px}.flex-math-result>strong{display:block;font-size:36px;color:var(--fm-accent)}.flex-math-result>strong>small{font-size:14px;color:var(--fm-muted);font-weight:400}.flex-math-result p{font-size:14px}.flex-math-result summary{cursor:pointer;padding:10px 0}.flex-math-wrongs{display:grid;grid-gap:10px;gap:10px;margin-top:6px}.flex-math-wrongs article{padding:13px;border-radius:10px;background:var(--txb-paper,white)}.flex-math-wrongs p{margin-bottom:3px}.flex-math-wrongs small{color:var(--fm-muted)}.flex-math-download{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:16px;background:var(--txb-soft,#f7e8ef);border-radius:12px}.flex-math-download a{color:var(--fm-accent);text-decoration:underline}.flex-math-download small{line-height:1.6;color:var(--fm-muted)}.flex-math-history{display:grid;grid-gap:9px;gap:9px}.flex-math-history button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;padding:14px}.flex-math-history button[aria-current=true]{border-color:var(--fm-accent)}.flex-math-history small,.flex-math-history strong{display:block}.flex-math-history small{margin-top:5px;color:var(--fm-muted);font-size:12px}@media (max-width:420px){.flex-math-card{padding:16px}.flex-math-grades{gap:6px}.flex-math-grades small{font-size:11px}.flex-math-hero{gap:10px}.flex-math-symbol{flex-basis:48px;width:48px;height:48px;font-size:21px;border-radius:17px}.flex-math-questions{gap:8px}.flex-math-question{padding:10px}.flex-math-question label{gap:5px}.flex-math-question label strong{font-size:16px}.flex-math-actions>button{width:100%}}