/* University workspace and responsive cascading selection. */
.mbed-fields,.mbedu-page{min-width:0;max-width:100%;box-sizing:border-box;display:grid;gap:12px;color:#202b3d}
.mbed-fields *, .mbedu-page *{box-sizing:border-box;min-width:0}
.mbed-cycle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mbed-cycle button,.mbed-tabs button{border:1px solid #dce0e6;background:white;color:#233044;border-radius:11px;padding:10px 8px;min-height:46px;font:inherit;font-weight:650;cursor:pointer;overflow-wrap:anywhere;text-align:center;line-height:1.25}
.mbed-cycle button.selected,.mbed-tabs button[aria-pressed=true]{border-color:#c6093d;color:#c6093d;background:#fff1f4}
.mbed-field{display:grid;gap:5px;margin:0;font-size:14px;font-weight:650;color:#37465a}
.mbed-group-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.mbed-field select,.mbed-field input,.mbed-field textarea,.mbedu-page textarea{width:100%;max-width:100%;min-height:44px;border:1px solid #dce0e6;border-radius:11px;padding:9px 10px;background:#f8f9fa;color:#223044;font:inherit;font-weight:400;line-height:1.35}
.mbedu-page{width:100%;padding:6px 0 12px;background:#fff;gap:11px}
.mbedu-page h1{font-size:clamp(22px,6.4vw,30px);line-height:1.18;margin:0;color:#192338;overflow-wrap:anywhere}
.mbedu-page h2{font-size:clamp(16px,4.5vw,21px);line-height:1.25;margin:0 0 3px;color:#192338;overflow-wrap:anywhere}
.mbedu-page p{margin:0;line-height:1.45;overflow-wrap:anywhere}
.mbed-muted,.mbedu-page small{color:#687588;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.mbed-pill{justify-self:start;border-radius:999px;padding:6px 10px;background:#fce8ee;color:#b20935;font-size:12px;letter-spacing:.04em;font-weight:800}
.mbed-card{background:#fff;border:1px solid #dce0e6;border-radius:15px;padding:13px;display:grid;gap:10px;box-shadow:0 2px 10px rgba(25,35,56,.045)}
.mbed-line{display:flex;align-items:center;gap:9px;justify-content:space-between;flex-wrap:wrap}
.mbed-line>div:first-child,.mbed-line>span:first-child{flex:1;overflow-wrap:anywhere}
.mbed-btn{border:1px solid #dce0e6;background:#fff;color:#a90831;min-height:40px;padding:8px 12px;border-radius:10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.mbed-btn:disabled{opacity:.55;cursor:default}.mbed-main{background:#c6093d;color:white;border-color:#c6093d}
.mbedu-page>.mbed-btn{justify-self:start}
.mbed-progress{height:8px;overflow:hidden;border-radius:10px;background:#e8eaf0}.mbed-progress>i{height:100%;background:#c6093d;display:block;border-radius:10px}
.mbed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mbed-tile{min-width:0;min-height:66px;display:flex;align-items:center;gap:9px;text-align:start;border:1px solid #dce0e6;border-radius:13px;padding:12px 10px;background:white;color:#192338;font:inherit;font-weight:750;font-size:clamp(12px,3.7vw,16px);box-shadow:0 2px 8px rgba(25,35,56,.04);overflow-wrap:anywhere;line-height:1.25;cursor:pointer}
.mbed-tile svg{color:#c6093d;stroke:#c6093d;flex:none;width:25px;height:25px}
.mbed-tabs{display:flex;gap:6px;flex-wrap:wrap}.mbed-tabs button{font-size:12px;padding:8px 10px;min-width:0;min-height:38px}
.mbed-result{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:56px;padding:10px 12px;border:1px solid #dce0e6;border-radius:12px;background:#fff}
.mbed-result-open{display:grid;gap:3px;min-width:0;flex:1;border:0;background:none;box-shadow:none;padding:0;text-align:start;font:inherit;color:inherit;overflow-wrap:anywhere;cursor:pointer}
.mbed-result-open small{font-size:11px}.mbed-result-open b{font-size:14px;line-height:1.3}
.mbed-empty{padding:12px;text-align:center;color:#687588;font-size:13px;line-height:1.4;background:#f8f9fb;border-radius:10px}
.mbed-card .mbed-empty{padding:6px;background:transparent;text-align:start}
.mbed-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px}
.mbed-link{color:#b20935;text-decoration:underline;overflow-wrap:anywhere;padding:5px 0}
.mbedu-page form{display:grid;gap:10px}.mbedu-page fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:8px}.mbedu-page legend{font-size:14px;font-weight:750;margin-bottom:10px}.mbed-radio{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #dce0e6;border-radius:10px;overflow-wrap:anywhere}.mbed-radio input{accent-color:#c6093d;width:18px;height:18px;flex:none}
.mbed-error,.mbed-good{padding:10px;border-radius:9px;white-space:normal;background:#fff0f3;color:#a20930;font-size:13px}.mbed-good{background:#eaf8ef;color:#146b44}.mbed-exercise-fields{display:grid;gap:10px}.mbed-exercise-fields[hidden]{display:none}
.mbed-cycle button:focus-visible,.mbed-btn:focus-visible,.mbed-tile:focus-visible,.mbed-tabs button:focus-visible,.mbed-result-open:focus-visible{outline:3px solid #e18da5;outline-offset:2px}
@media(max-width:350px){.mbed-tile{padding:10px 8px;gap:6px;font-size:12px}.mbed-tile svg{width:21px;height:21px}.mbed-card{padding:11px}.mbed-grid{gap:6px}.mbed-line{gap:6px}.mbed-cycle button{font-size:13px;padding:9px 5px}}
@media(min-width:850px){.mbedu-page{max-width:800px;margin-inline:auto}.mbed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mbed-tile{min-height:76px}}
