/* UI-A2 admin pages; deliberately scoped to ma-* and their shell. */
body[data-admin-page]{background:#faf7f0;color:#1a2540;font-family:Outfit,system-ui,sans-serif}
.ma-mast{padding:30px 24px 24px;background:#0d1f3c;color:#fff}.ma-mast h1{margin:10px 0}.ma-mast a{color:#f0bc45}.ma-mast nav{display:flex;gap:20px;flex-wrap:wrap}.ma-shell{padding:20px 24px 80px;max-width:1800px;margin:auto}.ma-shell [hidden]{display:none!important}.ma-shell label{display:block;font-size:13px;font-weight:600;margin:8px 0}.ma-shell input:not([type=checkbox]),.ma-shell select,.ma-shell textarea{display:block;width:100%;padding:8px;border:1px solid #b6bfd0;border-radius:5px;background:#fff;color:#1a2540;font:inherit;box-sizing:border-box}.ma-shell textarea{min-height:74px;resize:vertical}.ma-shell button,.ma-button{padding:8px 12px;border:1px solid #b6bfd0;border-radius:5px;color:#173761;background:#fff;font:inherit;cursor:pointer}.ma-shell button:hover,.ma-shell button[aria-pressed=true]{background:#eaf0f8}.ma-shell button:disabled{opacity:.5;cursor:wait}.ma-shell :focus-visible{outline:3px solid #c78b00;outline-offset:2px}.ma-shell fieldset{border:0;padding:0;min-width:0}.ma-shell table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.ma-shell th,.ma-shell td{text-align:left;padding:11px 12px;border-bottom:1px solid #dce1e8;vertical-align:top}.ma-shell th{background:#edf0f5}.ma-shell h2{font-size:19px}.ma-shell h3{font-size:16px}.ma-scroll{overflow-x:auto}.ma-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}.ma-tools label{min-width:150px}.ma-tools select{max-width:340px}.ma-review{display:grid;grid-template-columns:minmax(220px,1fr) minmax(350px,1.5fr) minmax(300px,1.1fr);gap:12px;align-items:start}.ma-pane,.ma-card{background:#fff;padding:16px;border:1px solid #dce1e8;border-radius:8px;min-width:0}.ma-pane{max-height:calc(100vh - 90px);overflow:auto;position:sticky;top:12px;overscroll-behavior:contain}.ma-question-image{max-width:100%;height:auto}.ma-photo-view{height:65vh;min-height:380px;overflow:auto;background:#e6e7e8;touch-action:none;position:relative;cursor:grab}.ma-photo-view img{display:block;max-width:100%;height:auto;margin:auto;transform-origin:center center}.ma-page-strip{display:flex;overflow-x:auto;gap:8px;padding-top:10px}.ma-page-strip img{width:60px;height:80px;object-fit:contain}.ma-step{display:flex;align-items:start;gap:8px;margin:8px 0;font-size:13px}.ma-step button{min-width:72px;flex-shrink:0}.ma-mistake{background:#f7f8fb;border:1px solid #dce1e8;padding:10px;margin:14px 0;border-radius:6px}.ma-alert{padding:10px;background:#fff0cc;color:#714c00}.ma-tabs{display:none}.ma-card{margin:18px 0}.ma-timeline li{padding:10px 0}.ma-timeline time{display:inline-block;min-width:170px;color:#56617a}.ma-timeline strong{margin-left:12px}.ma-heat-row{display:grid;grid-template-columns:180px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #dce1e8}.ma-heat-row>div{display:flex;flex-wrap:wrap;gap:6px}.ma-heat-cell{padding:8px;border:1px solid #bcc7cc;border-radius:4px;max-width:230px;font-size:12px;color:#17253b}.ma-heat-cell b{display:block}.ma-bar{display:block;width:180px;height:10px;background:#e9edf4;margin:6px 0;border-radius:4px;overflow:hidden}.ma-bar i{display:block;height:100%;background:#315a91}#admin-status{white-space:pre-wrap;color:#744200;min-height:1.5em}#owner-comment{max-width:900px}
@media(max-width:1099px){.ma-review{display:block}.ma-pane{display:none;position:static;max-height:none}.ma-pane.ma-active{display:block}.ma-tabs{display:flex;gap:8px;margin:12px 0}.ma-tabs [aria-selected=true]{background:#173761;color:#fff}.ma-photo-view{height:65vh}.ma-shell{padding:12px 12px 60px}.ma-heat-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ma-shell *{scroll-behavior:auto}}

/* Skills and cross-topic reasoning summaries. */
.ma-step-skill{display:block;color:#345575;margin-top:4px}.ma-kind{display:inline-block;padding:2px 7px;border-radius:12px;background:#eaf0f8;color:#173761;font-size:12px;white-space:nowrap}.ma-kind-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;border-bottom:1px solid #dce1e8}.ma-kind-row .ma-bar{width:min(280px,100%)}
