/* Memorial Studio 0.5.2.50 — interface de dados gerais e exportação. */
.ms50-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:16px 0}
.ms50-stat-grid>div{border:1px solid #383f49;background:#22272f;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:5px}
.ms50-stat-grid strong{font-size:21px;color:#fff}.ms50-stat-grid span{font-size:11px;color:#b5bdc8}
.ms50-export-panel{margin-top:14px;border:1px solid #3a414d;border-left:3px solid #c92e42;border-radius:8px;padding:16px;background:rgba(185,42,60,.04)}
.ms50-export-title{font-weight:700;font-size:14px;margin-bottom:6px}
.ms50-accept{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6;margin:12px 0}
.ms50-accept input{accent-color:#c82e44;flex:0 0 auto;margin-top:4px}
.ms50-export-panel button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:640px){.ms50-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ms50-export-panel{padding:12px}}

/* Memorial Studio 0.5.2.52 — pendências de flecha e tratamento documental */
.ms52-review-panel{border:1px solid #454d57;background:#1b2027;border-radius:9px;padding:14px;margin:14px 0;max-height:440px;overflow-y:auto}
.ms52-issue-title{font-size:14px;font-weight:700;margin-bottom:8px}
.ms52-issue{border-top:1px solid #37404a;padding:12px 0;display:grid;gap:8px}
.ms52-issue>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:12px}
.ms52-issue>div span{color:#e89d7f}.ms52-issue textarea{display:block;background:#2b3038;color:#fff;border:1px solid #555c66;border-radius:6px;padding:9px;width:100%;min-height:70px;resize:vertical}
.ms52-issue label{font-size:11px;line-height:1.5;display:flex;align-items:flex-start;gap:7px}.ms52-issue input{accent-color:#d52e45;flex:none;margin-top:3px}

.ms52-source-panel{border:1px solid #454d57;background:#22272f;border-radius:8px;padding:13px;margin:14px 0;font-size:12px}
.ms52-source-panel label{display:flex;gap:8px;align-items:center;line-height:1.5}.ms52-source-panel input{accent-color:#d52e45}

.ms52-source-note{font-size:10px;color:#9ca9b7;line-height:1.4}

/* Memorial Studio v0.5.2.54 — aceite de flechas com parecer do engenheiro */
.ms54-issue-high{border-left:3px solid #c83d4f;padding-left:10px;margin-left:-3px}
.ms54-justification-label{display:block!important;font-size:11px!important;font-weight:700!important;color:#f2f3f5;margin-top:3px}
.ms54-review-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#aab4c0}
.ms54-review-bottom .ms54-reviewed{color:#92cfaa;font-weight:700}
.ms54-review-engineer{font-size:10px;color:#9eabb9;line-height:1.45}
.ms54-review-warning{font-size:11px;color:#eaaa94;margin:2px 0;line-height:1.45}
.ms52-issue input:disabled,.ms52-issue textarea:disabled{opacity:.5;cursor:not-allowed}

/* v0.5.2.54.1: prévia clara, perto dos controles, sem ocultar em erro técnico */
#ms-page-panel{display:block;margin:12px 0 18px;scroll-margin-top:18px}
#ms-page-panel .ms-report-iframe{display:block;max-width:100%;background:#83878d}
#ms-page-panel .ms-report-iframe[hidden]{display:none}
.ms54-preview-status{font-size:11px;line-height:1.5;color:#aac4b4;border-left:3px solid #679779;padding:7px 10px;margin:7px 0 11px;background:#20282a}
.ms54-preview-status.ms54-preview-error{color:#f0c19d;border-left-color:#de855f;background:#2d2526}

/* v0.5.2.55 — leitura documental de flechas */
.ms55-pdf-review{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 14px;padding:10px;border:1px solid #3c4450;border-radius:7px;background:#22272e}.ms55-pdf-review .help{flex:1;min-width:210px;margin:0;line-height:1.5;overflow-wrap:anywhere}.ms55-pdf-review button:disabled{opacity:.58;cursor:progress}

/* v0.5.2.56 — diagnóstico de leitura local dos PDFs */
