.mlt-med-upload,.mlt-med-card{box-sizing:border-box;background:#fff;border:1px solid #dce5ef;border-radius:16px;padding:24px;margin:24px 0;color:#24374d;box-shadow:0 5px 18px #18314708}.mlt-med-upload{grid-column:1/-1;background:linear-gradient(135deg,#f8fbff,#fff)}.mlt-med-upload h3,.mlt-med-card h2{margin:6px 0 12px;line-height:1.3}.mlt-med-eyebrow{font-size:11px;letter-spacing:.09em;color:#526c88;font-weight:700}.mlt-med-drop{border:2px dashed #b8cce2;border-radius:12px;padding:22px;background:#f3f8fe;display:grid;gap:12px}.mlt-med-drop input{max-width:100%;width:100%}.mlt-med-drop small,.mlt-med-upload small,.mlt-med-table small{display:block;color:#60748a;line-height:1.5}.mlt-med-consent{display:flex!important;gap:10px;align-items:flex-start;font-size:13px;font-weight:400;margin-top:16px}.mlt-med-consent input{width:auto!important;flex:0 0 auto;margin-top:4px}.mlt-med-validation{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:.01;pointer-events:none}.mlt-med-upload [role=status]{font-size:14px;margin:14px 0 0;min-height:1.5em}.mlt-med-upload[data-busy=true]{border-color:#3d7acf}.mlt-med-error{color:#a32538!important}.mlt-med-upload button,.mlt-med-later button{background:#225c9c;color:#fff;border:0;border-radius:9px;padding:10px 16px;font-weight:600;margin-top:12px;cursor:pointer}.mlt-med-upload button:disabled,.mlt-med-later button:disabled{opacity:.6;cursor:wait}.mlt-med-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.mlt-med-stats>div{border-radius:12px;padding:16px;background:#edf3fa;display:grid;gap:8px}.mlt-med-stats strong{font-size:30px;line-height:1}.mlt-med-stats span{font-size:13px;font-weight:600}.mlt-med-badge{display:inline-block;border-radius:30px;padding:5px 10px;font-weight:600;font-size:12px}.med-state-missing{background:#f0f3f6!important;color:#556275}.med-state-received{background:#e6f1ff!important;color:#235e9d}.med-state-review{background:#f0eaff!important;color:#6447a6}.med-state-validated{background:#e4f4ec!important;color:#23704e}.med-state-observed{background:#fff2dc!important;color:#94600d}.med-state-expired,.med-state-purged{background:#fde9eb!important;color:#a3374a}.mlt-med-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.mlt-med-filters label,.mlt-med-review-form label,.mlt-med-admin label{display:grid;gap:7px;font-size:13px;font-weight:600}.mlt-med-admin label{margin:16px 0}.mlt-med-admin{max-width:1100px}.mlt-med-admin select,.mlt-med-admin textarea{width:100%;max-width:700px}.mlt-med-admin textarea{min-height:80px}.mlt-med-filters input,.mlt-med-filters select,.mlt-med-review-form input,.mlt-med-review-form select,.mlt-med-review-form textarea{border:1px solid #ccd8e7;border-radius:8px;padding:9px;max-width:100%;background:#fff;box-sizing:border-box}.mlt-med-table{width:100%;border-collapse:collapse;text-align:left}.mlt-med-table td,.mlt-med-table th{padding:15px 12px;border-bottom:1px solid #e6ecf3;vertical-align:top}.mlt-med-table th{font-size:12px;color:#5a708a;background:#f6f9fc}.mlt-med-review{min-width:200px;max-width:440px}.mlt-med-review summary,.mlt-med-later summary{cursor:pointer;font-weight:600;color:#225c9c;padding:5px 0}.mlt-med-review-form{display:grid;gap:12px;margin:16px 0}.mlt-med-review .mlt-med-upload{padding:16px}.mlt-med-history{padding-left:20px;font-size:12px}.mlt-med-history li{margin:10px 0}.mlt-med-history p{margin:4px 0}.mlt-med-pagination{display:flex;gap:8px}.mlt-med-empty{text-align:center;padding:25px}.mlt-med-later input{padding:8px;border:1px solid #cdd9e7;border-radius:8px}.mlt-med-spin{display:inline-block;width:15px;height:15px;border:2px solid #b8d1ed;border-top-color:#245d9e;border-radius:50%;animation:mltmedspin .8s linear infinite;margin-right:8px;vertical-align:middle}@keyframes mltmedspin{to{transform:rotate(360deg)}}@media(max-width:650px){.mlt-med-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mlt-med-upload,.mlt-med-card{padding:16px}.mlt-med-filters{display:grid;grid-template-columns:1fr;width:100%}.mlt-med-table{min-width:650px}}@media(prefers-reduced-motion:reduce){.mlt-med-spin{animation:none}}
.mlt-med-people{max-width:850px;margin-top:8px}.mlt-med-people input[type=search]{width:100%;padding:13px 15px;border:1px solid #ccd8e7;border-radius:10px;background:#fff;box-sizing:border-box}.mlt-med-people [role=status]{font-size:12px;font-weight:400;color:#5e7289;min-height:18px;margin:8px 0}.mlt-med-person{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dce5ef;border-radius:12px;background:#f6f9fc;padding:15px;margin:10px 0;overflow-wrap:anywhere}.mlt-med-person strong{font-size:13px}.mlt-med-person button{background:#fff3f3;border:1px solid #e5c3c7;color:#a33b45;border-radius:7px;padding:7px 12px;cursor:pointer}.mlt-med-person-result{display:block;text-align:left;width:100%;padding:12px;border:1px solid #c8dbef;background:#edf5ff;border-radius:8px;margin:5px 0;color:#254e7c;cursor:pointer}.mlt-med-person-result:focus,.mlt-med-person-result:hover{background:#dcecff}.mlt-med-people small{display:block;font-weight:400;color:#61768d}
/* Unified documentary workspace; private files stay in authorized same-origin routes. */
.mlt-med-card{border-color:#e7dde1;color:#293548}.mlt-med-badge{display:inline-flex;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:700}.med-state-missing{background:#fff3d7;color:#8c621b}.med-state-received{background:#e7f0ff;color:#305591}.med-state-review{background:#eeebff;color:#62509a}.med-state-validated{background:#e5f5e9;color:#28643a}.med-state-observed,.med-state-expired{background:#ffe9eb;color:#9d3443}.mlt-med-stats>a{display:flex;flex-direction:column;padding:15px;border-radius:12px;text-decoration:none!important;border:1px solid #00000008;gap:8px}.mlt-med-stats>a strong{font-size:26px}.mlt-med-stats>a:hover{box-shadow:0 5px 15px #0001}.mlt-med-stats>a:focus-visible{outline:3px solid #b34454;outline-offset:2px}.mlt-med-desk-head,.mlt-med-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.mlt-med-review-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:24px;margin-top:22px}.mlt-med-preview{min-width:0;display:flex;flex-direction:column;gap:12px}.mlt-med-preview iframe{width:100%;height:650px;max-height:75vh;border:1px solid #e4e7ee;border-radius:12px;background:#f4f5f8}.mlt-med-preview img{display:block;width:100%;max-height:75vh;object-fit:contain;border:1px solid #e4e7ee;border-radius:12px;background:#f4f5f8}.mlt-med-last-review{font-size:12px;color:#6a7588}.mlt-med-feedback{padding:15px 18px;border:1px solid #dbe4ef;border-radius:12px;background:#f2f7fd;color:#36536e}.mlt-med-review-form [data-med-conflict]{padding:12px;background:#fff1d9;color:#79521a;border-radius:8px}.mlt-med-review-form [hidden]{display:none!important}.mlt-med-review-form input,.mlt-med-review-form select,.mlt-med-review-form textarea{max-width:100%;border-radius:8px!important;min-height:42px}.mlt-med-member{border-top:1px solid #eee4e7;margin-top:13px;padding-top:12px;font-size:12px}.mlt-med-member small{display:block;margin:7px 0;color:#687388}.mlt-med-member-editor{margin-top:12px}.mlt-med-member-editor summary{font-size:13px;font-weight:650;cursor:pointer;color:#962e41}.mlt-med-member .mlt-med-upload{margin:10px 0;padding:15px}.mlt-med-member .mlt-med-drop{padding:13px}.mlt-med-member .mlt-med-upload h3{font-size:16px}.mlt-med-member .mlt-med-upload input{font-size:12px}.mlt-med-inactive{font-size:11px!important;color:#7d8796!important}.mlt-med-upload progress{display:block;width:100%;height:12px;margin:15px 0}.mlt-med-upload progress[hidden]{display:none}.mlt-med-observation{padding:10px;background:#fff5e6;border-radius:8px}.mlt-med-reminders{margin:14px 0 24px}.mlt-med-upload button,.mlt-med-review-form button{border-radius:9px}.mlt-med-admin .mlt-med-table{width:100%;border-collapse:collapse}.mlt-med-admin .mlt-med-table th,.mlt-med-admin .mlt-med-table td{padding:15px;text-align:left;border-bottom:1px solid #e5e9ef}.mlt-med-admin .mlt-med-table th{background:#f5f7fa}.mlt-med-admin form label{display:block;margin:12px 0}.mlt-med-admin input:not([type=checkbox]),.mlt-med-admin select,.mlt-med-admin textarea{max-width:100%;border-radius:8px;padding:9px}.mlt-med-admin .mlt-med-filters{display:flex;gap:15px;flex-wrap:wrap}.mlt-med-admin .mlt-med-filters label{flex:1;min-width:170px}.mlt-med-preview small{font-size:12px;color:#6a7588}@media(max-width:900px){.mlt-med-review-columns{grid-template-columns:1fr}.mlt-med-preview iframe{height:450px;max-height:60vh}.mlt-med-preview img{max-height:60vh}}@media(max-width:540px){.mlt-med-card{padding:16px}.mlt-med-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mlt-med-preview iframe{height:360px}}
.mlt-med-upload button,.mlt-med-review-form button{background:#9e293c;color:#fff;border:1px solid transparent;padding:10px 14px;font-weight:650}.mlt-med-upload [data-med-clear]{background:#f4f5f8;color:#7f3342;border-color:#e2dce2;font-weight:500}.mlt-med-upload button:disabled,.mlt-med-review-form button:disabled{opacity:.6;cursor:wait}.mlt-med-identity{display:grid;grid-template-columns:1fr 1.3fr;gap:7px;font-size:13px}.mlt-med-identity dt{font-weight:650}.mlt-med-identity dd{margin:0;overflow-wrap:anywhere}

.mlt-med-success-dialog{box-sizing:border-box;border:1px solid #e8e4e8;border-radius:22px;padding:30px;max-width:460px;width:calc(100% - 32px);color:#283344;box-shadow:0 24px 80px #24132335;text-align:center;background:#fff}.mlt-med-success-dialog:not([open]){display:none}.mlt-med-success-dialog::backdrop{background:#21152699}.mlt-med-success-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;margin:0 auto 18px;background:#e8f5ed;color:#247445;font:700 30px system-ui}.mlt-med-success-dialog h3{font:700 21px/1.3 system-ui;margin:0 0 12px!important;color:#283344}.mlt-med-success-dialog p{font:14px/1.7 system-ui;color:#667085}.mlt-med-success-dialog>div{display:grid;gap:10px;margin-top:22px}.mlt-med-success-dialog button{white-space:normal;width:100%;border:0;border-radius:10px;padding:12px 16px;background:#9e293c;color:#fff;font:600 14px/1.4 system-ui;cursor:pointer}.mlt-med-success-dialog [data-med-success-close]{background:#f1f3f6;color:#465264}@media(max-width:480px){.mlt-med-success-dialog{padding:24px 18px}}

.mlt-med-member-editor>summary.mlt-med-primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;padding:10px 16px;background:#9e293c;color:white;font:650 13px/1.4 system-ui;cursor:pointer;margin:4px 0}.mlt-med-member-editor>summary.mlt-med-primary-action:focus-visible{outline:3px solid #9e293c55;outline-offset:3px}.mlt-med-success-details{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 12px;padding:16px;border-radius:12px;background:#f5f7fa;text-align:left;font:13px/1.5 system-ui}.mlt-med-success-details dt{color:#667085}.mlt-med-success-details dd{margin:0;overflow-wrap:anywhere;font-weight:600;color:#283344}@media(max-width:400px){.mlt-med-success-details{grid-template-columns:1fr;gap:3px}.mlt-med-success-details dd{margin-bottom:8px}}

.mlt-med-review-result{box-sizing:border-box;border:1px solid #e8e4e8;border-radius:20px;padding:28px;max-width:500px;width:calc(100% - 32px);color:#283344;background:#fff;box-shadow:0 25px 80px #24132340}.mlt-med-review-result:not([open]){display:none}.mlt-med-review-result::backdrop{background:#21152699}.mlt-med-result-icon{display:grid;place-items:center;width:50px;height:50px;margin:0 0 16px;border-radius:50%;background:#e8f5ed;color:#247445;font:700 27px system-ui}.mlt-med-review-result.is-error .mlt-med-result-icon,.mlt-med-review-result.is-warning .mlt-med-result-icon{background:#fff0d7;color:#845314}.mlt-med-review-result h2{font:700 22px/1.3 system-ui;margin:0 0 12px;color:#283344}.mlt-med-review-result p{font:14px/1.65 system-ui;color:#667085}.mlt-med-review-result dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px 14px;padding:17px;background:#f5f7fa;border-radius:12px;font:13px/1.5 system-ui;margin:20px 0}.mlt-med-review-result dt{color:#667085}.mlt-med-review-result dd{margin:0;overflow-wrap:anywhere;color:#283344;font-weight:600}.mlt-med-review-result button{width:100%}@media(max-width:420px){.mlt-med-review-result{padding:22px 18px}.mlt-med-review-result dl{grid-template-columns:1fr;gap:4px}.mlt-med-review-result dd{margin-bottom:8px}}
.mlt-med-selected{font-size:13px;line-height:1.5;overflow-wrap:anywhere;margin:10px 0;color:#4c5a70}.mlt-med-upload progress{width:100%;height:12px;accent-color:#96273a}.mlt-med-upload [data-med-progress][hidden]{display:none!important}
.mlt-med-upload :is(a,button,input,select,textarea,summary):focus-visible,.mlt-med-card :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #1769aa;outline-offset:3px}.mlt-med-upload [role=status],.mlt-med-card [role=status]{overflow-wrap:anywhere}@media(max-width:650px){.mlt-med-upload :is(button,select,input:not([type=checkbox]):not([type=radio])),.mlt-med-card :is(button,select){min-height:44px}.mlt-med-card :is(input,select,textarea){max-width:100%;box-sizing:border-box}}
