/* Sistemas: encontro de retas. Inequações: regiões em uma reta. */
.math-systems .math-hero { background:radial-gradient(circle at 88% 20%,rgba(96,146,164,.14),transparent 39%),rgba(28,29,43,.8); }
.math-systems .math-hero-symbol { color:#d7c3f2; background:linear-gradient(145deg,#283449,#3b2f50); }
.math-graph-controls { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.math-graph-controls button,.math-numberline button { min-height:44px; padding:9px 13px; border:1px solid #68537a; border-radius:9px; color:#faf2fe; background:#32283e; font:700 14px/1.4 system-ui,sans-serif; cursor:pointer; }
.math-graph-controls button:hover,.math-numberline button:hover { border-color:#ceabe3; background:#463752; }
.math-graph-controls button:focus-visible,.math-numberline button:focus-visible { outline:3px solid #e5b8eb; outline-offset:3px; }
.math-graph-controls button[aria-pressed=true],.math-numberline button[aria-pressed=true] { border-color:#e7bbeb; background:#664877; }
.math-graph-stage { display:grid; grid-template-columns:minmax(240px,370px) minmax(220px,1fr); gap:22px; align-items:center; }
.math-graph { width:100%; max-width:370px; height:auto; border:1px solid #594765; border-radius:12px; background:linear-gradient(145deg,#1a1c29,#222035); }
.math-graph text { fill:#e5d4ef; font:16px system-ui,sans-serif; }
.math-axes path { fill:none; stroke:#786b84; stroke-width:1.3; }
.math-line-a { stroke:#e9aadf; stroke-width:3.5; }
.math-line-b { stroke:#9abedb; stroke-width:3.5; }
.math-cross { fill:#fff4b8; stroke:#352f3f; stroke-width:2; }
.math-graph-readout p:first-child { color:#f4e0fa; font:clamp(18px,2vw,23px)/1.5 Georgia,serif; }
.math-graph-readout p:nth-child(2) { color:#c5f1e2; font-weight:750; }
.math-inequalities .math-hero { background:radial-gradient(circle at 91% 18%,rgba(95,107,169,.19),transparent 39%),rgba(27,27,45,.82); }
.math-inequalities .math-hero-symbol { color:#e6c5f2; }
.math-inequality-expression { color:#fff0fc !important; font:clamp(26px,3vw,36px)/1.3 Georgia,serif !important; }
.math-numberline { position:relative; display:flex; justify-content:space-between; gap:4px; max-width:850px; margin:34px 0; padding-top:14px; }
.math-numberline::before { position:absolute; left:2%; right:2%; top:7px; border-top:3px solid #a890bf; content:""; }
.math-numberline button { position:relative; z-index:1; flex:1; min-width:0; padding:8px 1px; border-radius:50px; font-size:clamp(11px,1.3vw,14px); }
.math-numberline button.solution { background:#5b426c; border-color:#b497d0; color:#fff; }
.math-inequality-feedback { min-height:1.6em; color:#e7d9ec !important; }
.math-inequality-feedback.right { color:#c6f2db !important; }
.math-inequality-feedback.retry { color:#ffd1d4 !important; }
@media(max-width:740px){.math-graph-stage { grid-template-columns:1fr; }.math-numberline { gap:2px; }.math-numberline button { min-height:40px; }}
