.mm-tools [data-action="planResults"][aria-pressed="true"]{background:#fff4b8;color:#302b15}
.mm-card:has(.result-chip) .mm-card-main{padding-bottom:32px}
.mm-card .result-chip{position:absolute;right:7px;bottom:7px;z-index:2;display:inline-flex;align-items:center;gap:4px;min-height:21px;padding:1px 6px;border:0;border-radius:4px;font-size:10px;line-height:18px;font-weight:500;font-variant-numeric:tabular-nums;cursor:pointer}
.mm-card .result-chip.is-empty{border:1px dashed var(--border,#d8d8d8);background:var(--card,#fff);color:var(--muted-foreground,#777)}
.result-chip:focus-visible{outline:2px solid #1765dc;outline-offset:2px}
.grade-HD{background:#dff4e8;color:#237248}.grade-D{background:#e5efff;color:#2257a0}.grade-C{background:#fff4c6;color:#846411}.grade-P{background:#ffead8;color:#9e521b}.grade-N{background:#ffe4e4;color:#b33434}.grade-mark{background:#e8effa;color:#315273}
.results-summary{padding:17px 18px;margin-bottom:16px;border:1px solid var(--line,#e3e5e8);border-radius:8px;background:#fff;color:var(--ink,#292929)}
.results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.results-heading h2{margin:0;font-size:14px}.results-heading small{margin-left:5px;font-size:11px;font-weight:400;color:#818181}.results-heading a{font-size:11px;color:#52729b;text-decoration:none}
.results-summary dl{display:grid;grid-template-columns:1fr 1fr;margin:18px 0 10px;gap:14px}.results-summary dt{font-size:11px;color:#777}.results-summary dd{margin:4px 0 0;font-size:24px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}.results-summary p{margin:9px 0 0;font-size:11px;color:#818181;line-height:1.65}
#result-editor{position:fixed;inset:auto;margin:0;width:244px;box-sizing:border-box;padding:14px;border:1px solid #dedede;border-radius:9px;background:#fff;color:#292929;box-shadow:0 8px 28px #17243c26;z-index:1000;font-size:12px}
#result-editor::backdrop{background:transparent}#result-editor form{display:block;margin:0}.result-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.result-editor-heading label{display:block;margin:0;font-weight:600;line-height:1.4}.result-editor-heading small{display:inline;font-size:10px;font-weight:400;color:#888}.result-editor-heading button{border:0;background:none;padding:0 4px;font-size:18px;color:#888;line-height:1;cursor:pointer}
.result-mark-row{display:flex;align-items:center;gap:8px}.result-mark-row input{width:86px;min-width:0;height:34px;padding:5px 8px;border:1px solid #d4d4d4;border-radius:5px;font:inherit;font-size:14px;font-variant-numeric:tabular-nums}.result-mark-row input:focus{outline:2px solid #1765dc33;border-color:#1765dc}.result-mark-row>span{color:#888;font-size:11px}.result-preview{margin-left:auto;padding:3px 6px;border-radius:4px;font-size:11px}
#result-error{margin:8px 0 0;color:#b33434;font-size:11px;line-height:1.5}#result-error:empty{display:none}.result-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.result-editor-actions button{min-height:30px;padding:5px 9px;border:0;border-radius:5px;background:transparent;font:inherit;color:#777;cursor:pointer}.result-editor-actions .primary{background:#252525;color:#fff}.result-editor-actions button:disabled{opacity:.45;cursor:default}
@media print{.result-chip,#result-editor,.results-summary{display:none!important}}
