/* UI15: scoped read-only maintenance snapshot, independent from editing guides. */
#dialog.me-dialog{width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;}
.me-dialog .modal{display:flex;flex-direction:column;max-height:calc(100dvh - 28px);box-sizing:border-box;overflow:hidden;}
.me-viewer{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;}
.me-body{overflow:auto;scrollbar-gutter:stable;min-height:0;padding:0 3px 16px;}
.me-context{border-left:3px solid #0b7c86;background:#f2f8f9;padding:14px 16px;border-radius:7px;}
.me-context .eyebrow{font-size:10px;color:#35717d;margin:0;}
.me-context h3{font-size:20px;line-height:1.35;margin:8px 0;overflow-wrap:anywhere;}
.me-facts{display:grid;grid-template-columns:minmax(105px,.7fr) minmax(0,1.3fr);gap:0 16px;font-size:13px;margin:8px 0;}
.me-facts dt,.me-facts dd{padding:8px 0;margin:0;border-bottom:1px solid #dce7eb;white-space:pre-wrap;overflow-wrap:anywhere;}
.me-facts dt{color:#516e7d;}.me-facts dd{font-weight:600;color:#1c3c4d;}
.me-note{font-size:12px;line-height:1.55;color:#456272;margin:12px 0;}
.me-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;}
.me-tabs{display:flex;gap:7px;padding:14px 0 10px;position:sticky;top:0;background:white;z-index:1;}
.me-tab{flex:1;min-width:0;border:1px solid #c6d9e1;border-radius:8px;background:white;padding:11px 9px;text-align:left;font:inherit;font-size:13px;font-weight:650;color:#365767;cursor:pointer;}
.me-tab[aria-selected=true]{background:#e7f4f5;border-color:#1c838b;color:#114e58;box-shadow:inset 0 -2px #1c838b;}
.me-panel[hidden]{display:none!important;}.me-panel{min-width:0;}.me-panel h4{font-size:16px;margin:18px 0 10px;}
.me-details{border:1px solid #d5e2e8;border-radius:8px;padding:12px;margin:18px 0;}.me-details summary{font-size:13px;font-weight:600;cursor:pointer;}
.me-notice,.me-warning{padding:12px 14px;border-radius:7px;font-size:13px;line-height:1.55;overflow-wrap:anywhere;}
.me-notice{background:#edf7f8;color:#375968;border:1px solid #cce2e5;}.me-warning{background:#fff5e6;border:1px solid #dbb675;color:#654919;}
.me-photo-card{margin:16px 0;padding:14px;border:1px solid #d5e2e8;border-radius:9px;}.me-photo-card h5{font-size:14px;overflow-wrap:anywhere;margin:0 0 12px;}
.me-enlarge{display:flex;flex-direction:column;align-items:center;width:100%;border:1px solid #c6d9e1;border-radius:7px;background:#f4f8fa;padding:8px;cursor:pointer;color:#254c60;}
.me-enlarge img{max-width:100%;height:auto;max-height:360px;object-fit:contain;}.me-enlarge span{padding:8px;font-size:13px;font-weight:650;}
.me-actions{display:flex;justify-content:flex-end;gap:9px;flex:none;border-top:1px solid #d5e2e8;padding-top:12px;}.me-actions button{min-height:42px;}
.me-viewer :focus-visible{outline:2px solid #176b8c;outline-offset:3px;}
.me-photo-dialog{width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #c6d9e1;border-radius:10px;}.me-zoom{display:flex;flex-direction:column;gap:12px;}.me-zoom img{max-height:70dvh;max-width:100%;object-fit:contain;}.me-zoom h2{font-size:18px;margin:0;}
@media(max-width:640px){
 .me-dialog .modal{padding:14px;}.me-context{padding:11px 12px;}.me-context h3{font-size:17px;}
 .me-facts{grid-template-columns:minmax(88px,.7fr) minmax(0,1.3fr);gap:0 9px;font-size:12px;}
 .me-tab{font-size:11px;padding:10px 7px;}.me-tabs{gap:5px;}.me-actions{display:grid;grid-template-columns:1fr 1fr;}.me-actions button{font-size:12px;padding:10px 8px;}
}
