.monthly-learning-card,.ml-evidence{box-sizing:border-box;color:#18382c;background:#fffdf8;border:1px solid #e4dacb;border-radius:13px;padding:18px;font:inherit;font-size:14px;line-height:1.55;min-width:0}
.monthly-learning-card *,.ml-evidence *,.ml-dialog *{box-sizing:border-box}
.ml-card-header,.ml-dialog-header,.ml-preview-head,.ml-evidence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ml-card-header h2,.ml-dialog-header h2,.ml-preview h3,.ml-evidence h2{margin:2px 0 4px;color:#173d2e;font-size:20px;line-height:1.3}
.ml-card-header p,.ml-dialog-header p{margin:4px 0 0;color:#63786d;font-size:13px}
.ml-compact-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:12px 0;color:#304d40}
.ml-compact-summary>div{min-width:0}.ml-compact-summary>div>strong{display:block;overflow-wrap:anywhere}.ml-compact-summary p{margin:3px 0 0;color:#61756a;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.ml-eyebrow{display:block;color:#478163;font-size:10px;font-weight:800;letter-spacing:.12em}
.ml-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 13px;border:1px solid #cbd9cf;border-radius:8px;background:#fffdf8;color:#24553f;font:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;white-space:normal}
.ml-button:hover,.ml-button:focus-visible{border-color:#0b5a40;outline-color:#0b5a40}
.ml-button:disabled{opacity:.58;cursor:wait}
.ml-primary{background:#0b5a40;border-color:#0b5a40;color:white}
.ml-secondary{background:#f4f7f3}
.ml-quiet{background:transparent;border-color:#ddd4c5;color:#596d62}
.ml-class-default{flex:0 0 auto}
.ml-editor-fields{display:grid;gap:12px;margin-top:18px}
.ml-edit-triggers{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.ml-edit-panel{margin-top:12px;padding:13px;border:1px solid #e4dacb;border-radius:10px;background:#fffaf2}
.ml-edit-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#315641}
.ml-edit-panel .ml-editor-fields{margin-top:12px}
.ml-editor-fields>label,.ml-dialog label,.ml-addition-form label{display:grid;gap:5px;color:#304d40;font-weight:650}
.ml-editor-fields input,.ml-editor-fields textarea,.ml-dialog input,.ml-dialog textarea,.ml-addition-form input,.ml-addition-form select,.ml-addition-form textarea{min-width:0;max-width:100%;padding:9px 10px;border:1px solid #d8d1c4;border-radius:7px;background:#fff;color:#203b30;font:inherit}
.ml-editor-fields input:focus,.ml-editor-fields textarea:focus,.ml-dialog input:focus,.ml-dialog textarea:focus,.ml-addition-form input:focus,.ml-addition-form select:focus,.ml-addition-form textarea:focus{outline:2px solid #98bdaa;outline-offset:1px}
.ml-editor-fields textarea,.ml-dialog textarea,.ml-addition-form textarea{resize:vertical}
.ml-total-override{max-width:280px}
.ml-editor-fields small,.ml-dialog label small{color:#718178;font-size:12px;font-weight:400}
.ml-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.ml-addition-form{display:grid;gap:10px;padding:14px;border:1px dashed #d4cbbd;border-radius:10px;background:#fffaf2}
.ml-addition-form h3,.ml-additions-list h3,.ml-next-plan h3{margin:0;color:#315641;font-size:15px}
.ml-additions-list{display:grid;gap:8px}
.ml-additions-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border-radius:8px;background:#f4f7f1}
.ml-additions-list article>div{display:grid;gap:2px;min-width:0}
.ml-additions-list article span,.ml-additions-list article small{color:#63786d;overflow-wrap:anywhere}
.ml-preview{margin-top:18px;padding:15px;border:1px solid #dce6dd;border-radius:10px;background:#f5f8f3}
.ml-total,.ml-evidence-head>strong{flex:0 0 auto;color:#0b5a40;font-size:23px;line-height:1.2}
.ml-preview-summary{display:grid;gap:4px;margin:10px 0;color:#304d40;font-weight:700}
.ml-preview-summary span{font-weight:400;color:#536b5e;white-space:pre-wrap;overflow-wrap:anywhere}
.ml-page-breakdown{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0;color:#4f695b;font-size:12px}
.ml-page-breakdown span{padding:4px 8px;border-radius:999px;background:#e8f0e8}
.ml-page-breakdown .ml-adjustment{background:#f6ead6;color:#755022}
.ml-preview-items{display:grid;gap:6px;margin:12px 0 0;padding:0;list-style:none}
.ml-preview-items li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding-top:7px;border-top:1px solid #dfe7df;min-width:0}
.ml-preview-items li strong{overflow-wrap:anywhere}.ml-preview-items li>span{color:#0b5a40;font-weight:700}.ml-preview-items li small{grid-column:1/-1;color:#61756a;white-space:pre-wrap;overflow-wrap:anywhere}
.ml-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px}
.ml-lock-note,.ml-muted{color:#6d7e73;font-size:13px}
.ml-inline-error{color:#a33324;font-size:13px;margin:8px 0}
.ml-error{border-color:#e7bcb5;color:#8e2f25}
.ml-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px;background:#10251b80}
.ml-dialog{width:min(92vw,640px);max-height:min(90vh,900px);overflow:auto;padding:20px;border:1px solid #ddd3c4;border-radius:15px;background:#fffdf8;color:#18382c;box-shadow:0 18px 60px #10251b35}
.ml-dialog-header{margin-bottom:14px}
.ml-dialog-header h2{font-size:21px}
.ml-class-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 16px}
.ml-class-counts span{display:flex;align-items:center;justify-content:center;gap:5px;min-height:54px;padding:7px;border-radius:8px;background:#eef4ed;color:#506a5c;text-align:center;font-size:12px}
.ml-class-counts strong{color:#0b5a40;font-size:18px}
.ml-dialog>label{margin:12px 0}
.ml-next-plan{display:grid;gap:10px;margin-top:16px;padding:14px;border-top:1px solid #e3dacd;background:#fffaf2}
.ml-next-plan p{margin:0;color:#66786d;font-size:12px}
.ml-evidence{padding:15px}
.ml-evidence-head h2{font-size:18px}
.ml-evidence>p{white-space:pre-wrap;overflow-wrap:anywhere;color:#536b5e}
.ml-evidence-details{margin-top:10px;border-top:1px solid #e5e1d6;padding-top:9px}
.ml-evidence-details summary{color:#426653;font-size:12px;font-weight:700;cursor:pointer}
.ml-evidence-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.ml-evidence-breakdown div{display:grid;gap:2px;min-width:88px;padding:8px 10px;border-radius:8px;background:#edf3ec}
.ml-evidence-breakdown dt{color:#65766a;font-size:11px}.ml-evidence-breakdown dd{margin:0;color:#174e38;font-size:16px;font-weight:750}
.ml-evidence ul{display:grid;gap:5px;margin:10px 0 0;padding-left:18px;color:#536b5e}
.ml-book-evidence,.ml-supplement-evidence,.ml-other-evidence{margin-top:12px;padding-top:10px;border-top:1px solid #dfe7df}
.ml-book-evidence h4,.ml-supplement-evidence h4,.ml-other-evidence h4{margin:0;color:#315641;font-size:13px}
.ml-book-evidence ul,.ml-addition-evidence{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}
.ml-book-evidence li,.ml-addition-evidence li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:9px 10px;border-radius:8px;background:#f4f7f1;min-width:0}
.ml-book-evidence li>div,.ml-addition-evidence-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.ml-book-evidence li>div strong,.ml-addition-evidence-title strong{overflow-wrap:anywhere}
.ml-book-evidence li>div small,.ml-book-evidence li>.ml-evidence-range,.ml-addition-evidence li>small{grid-column:1/-1;color:#66786d;white-space:pre-wrap;overflow-wrap:anywhere}
.ml-book-evidence li>span,.ml-addition-pages{color:#0b5a40;font-weight:750;white-space:nowrap}
.ml-supplement-evidence .ml-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.ml-section-heading>strong{color:#0b5a40;font-size:15px}
.ml-scope{flex:0 0 auto;padding:2px 7px;border-radius:999px;background:#e6eee8;color:#43654e;font-size:10px;font-weight:700}
.ml-scope-class{background:#f5ead9;color:#785521}
.ml-scope-legacy{background:#ece9e2;color:#665f52}
.ml-no-additions{margin:8px 0 0}
.ml-addition-evidence li>small{grid-column:1/-1}
.ml-other-evidence .ml-preview-items{margin-top:7px}
.ml-calculation-note{margin:10px 0 0;color:#6c786f;font-size:12px}
.ml-evidence-compact{margin-top:12px;padding:12px}
@media(max-width:600px){
  .monthly-learning-card{padding:14px}
  .ml-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .ml-card-header h2{font-size:18px}
  .ml-class-default{max-width:110px;font-size:12px}
  .ml-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ml-dialog{padding:16px}
  .ml-dialog-header{gap:8px}
  .ml-class-counts{gap:5px}.ml-class-counts span{display:grid;gap:1px;padding:5px 3px;font-size:10px}.ml-class-counts strong{font-size:16px}
  .ml-actions{display:grid;grid-template-columns:1fr 1fr}.ml-actions .ml-button{width:100%}
  .ml-total,.ml-evidence-head>strong{font-size:20px}
}
@media(max-width:360px){.ml-card-header{grid-template-columns:1fr}.ml-class-default{justify-self:start}.ml-form-grid{grid-template-columns:1fr}.ml-actions{grid-template-columns:1fr}}
