/* Yasser Math V20 — isolated teacher workbench, no global V19/V18 overrides */
.ym20{--m:#087c76;--ink:#12344b;--muted:#60758a;--line:#d8e7e7;direction:rtl;display:grid;gap:16px;color:var(--ink);font-family:inherit}
.ym20 *{box-sizing:border-box}
.ym20-hero{background:linear-gradient(110deg,#12324d,#07847b);color:#fff;border-radius:18px;padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.ym20-hero h2{color:#fff;font-size:clamp(1.5rem,2.4vw,2rem);margin:3px 0}.ym20-hero p{color:#e3f3f2;margin:0}.ym20-hero small{color:#cceee5;font-weight:700}
.ym20-tag{border:1px solid #ffffff63;border-radius:40px;padding:8px 13px;background:#ffffff1c;font-weight:700}
.ym20-callout{border:1px solid #cde1d2;border-right:4px solid #18815e;border-radius:11px;background:#f1faf5;padding:12px 16px;margin:0;line-height:1.8}
.ym20-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:13px}
.ym20-tabs button{font:inherit;background:#fff;color:#215268;border:1px solid #cbdfe1;border-radius:11px;padding:10px 14px;cursor:pointer;font-weight:700}
.ym20-tabs button.active{background:var(--m);color:white;border-color:var(--m)}.ym20-tabs button:focus-visible{outline:3px solid #ffbd59}
.ym20-status{background:#e9f6f5;border:1px solid #bce3de;padding:9px 14px;border-radius:11px;margin:0;line-height:1.8;color:#155c53}
.ym20-status[data-bad='1']{background:#fff1eb;color:#952d20;border-color:#f0c4ac}
.ym20-card{display:grid;gap:15px;padding:clamp(15px,2vw,25px);border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 4px 16px #132e3c0d}
.ym20-card h3{font-size:1.3rem;color:#164258;margin:0}.ym20-card h4{color:#135267;margin:7px 0 0}.ym20-muted{color:var(--muted);line-height:1.8;margin:0}
.ym20-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ym20-card label{display:grid;gap:6px;font-weight:700;line-height:1.5}
.ym20-card input,.ym20-card select,.ym20-card textarea{width:100%;min-width:0;max-width:100%;padding:11px;border:1px solid #cddfdf;border-radius:10px;background:#fff;color:#1c394c;font:inherit}
.ym20-card input[type=file]{padding:7px}.ym20-card textarea{min-height:115px;resize:vertical;line-height:1.9}
.ym20-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.ym20-actions button{min-height:40px}
.ym20-list{display:grid;gap:9px;max-height:550px;overflow-y:auto}
.ym20-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #dce8e9;background:#fbffff;border-radius:12px;padding:12px}
.ym20-row>div:first-child{flex:1}.ym20-row small{display:block;color:#667f8b;margin-top:5px;font-size:.75rem;direction:auto}
.ym20-review{border:1px solid #d2e4e5;border-radius:13px;padding:14px;background:#fbffff;display:grid;gap:9px}.ym20-review p{white-space:pre-wrap;margin:0;line-height:1.7}.ym20-review ol{margin:3px 15px}.ym20-review li{padding:2px}
.ym20-report{display:grid;gap:14px}.ym20-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.ym20-metric{display:grid;place-items:center;text-align:center;border-radius:12px;background:#e9f6f5;padding:12px 6px;min-height:80px}.ym20-metric strong{color:#075e5c;font-size:1.4rem}.ym20-metric small{color:#456575}
.ym20-bar{display:grid;grid-template-columns:minmax(110px,230px) 1fr 53px;align-items:center;gap:9px;padding:5px 0}.ym20-bar>span{overflow-wrap:anywhere}.ym20-bar>div{border-radius:99px;background:#edf3f5;height:13px;overflow:hidden}.ym20-bar i{background:linear-gradient(90deg,#0eaaa2,#155a87);display:block;height:100%;border-radius:99px}
@media(max-width:800px){.ym20-grid{grid-template-columns:1fr}.ym20-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ym20-bar{grid-template-columns:100px 1fr 45px}.ym20-card{padding:13px}}
