.mehr-shell{max-width:1450px;margin:0 auto;padding-bottom:30px;color:#173d60}.mehr-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;background:white;border:1px solid #d6e3ed;border-radius:16px;margin:0 0 14px}.mehr-toolbar h2{font-size:23px;margin:4px 0}.mehr-toolbar p{margin:2px 0;font-size:13px;color:#647c91}.mehr-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.mehr-controls label{font-weight:700;font-size:12px}.mehr-controls input{display:block;padding:9px;min-height:40px;border:1px solid #cbdde9;border-radius:9px}.mehr-controls button{min-height:42px}.mehr-status{padding:12px 16px;font-size:12px;background:#eef6fb;border-radius:10px;margin:10px 0;color:#3c5b72}.mehr-edit{border:1px solid #cbdde9;background:#fff;border-radius:14px;margin-bottom:18px;padding:14px 18px}.mehr-edit summary{font-size:15px;font-weight:800;cursor:pointer}.mehr-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin:14px 0}.mehr-editor-item{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#214867}.mehr-editor-item textarea,.mehr-editor-item input{width:100%;box-sizing:border-box;font-size:13px;font-weight:400;border:1px solid #cbdde9;border-radius:9px;padding:9px;resize:vertical;background:#fff}.mehr-edit-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.mehr-muted{color:#708494;font-size:12px}.mehr-preview{background:#e7edf2;border:1px solid #cddbe5;border-radius:16px;padding:22px}.mehr-paper{max-width:900px;margin:auto;box-sizing:border-box;padding:36px 43px;background:white;color:#1a3043;box-shadow:0 3px 22px #163c5518;border:1px solid #dce6ee;font-family:Arial,'Segoe UI',sans-serif;font-size:12px;line-height:1.55}.mehr-paper-header{display:flex;align-items:center;gap:16px;padding:8px 0 13px;border-bottom:3px solid #e17a1d}.mehr-paper-header img{width:142px;height:auto;object-fit:contain}.mehr-paper-header h1{font-size:24px;color:#0d426b;margin:0}.mehr-paper-header strong{font-size:17px;color:#b65f16}.mehr-paper-header p{font-size:11px;color:#6d8295;margin:2px 0}.mehr-info{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;padding:12px 0;font-size:11px}.mehr-report-note{padding:9px 12px;margin:8px 0 18px;border:1px solid #c7dce9;background:#f2f8fc;color:#45687f;font-size:11px}.mehr-section{break-inside:auto;margin:15px 0 20px}.mehr-section h3{font-size:15px;margin:0 0 8px;padding:6px 10px;background:#eaf3f9;border-left:4px solid #e17a1d;color:#0b426f;break-after:avoid}.mehr-metric{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #ebf0f3;padding:4px 6px}.mehr-metric b{font-size:12px;white-space:nowrap;color:#0c416c}.mehr-metric small{font-size:10px;color:#708494;font-weight:400}.mehr-tablewrap{overflow-x:auto;margin:9px 0 7px}.mehr-table{width:100%;border-collapse:collapse;font-size:10.5px;table-layout:auto}.mehr-table th{background:#d9ecdc;color:#284b36;font-weight:800}.mehr-table th,.mehr-table td{border:1px solid #b6c6cf;text-align:center;padding:6px 5px;overflow-wrap:anywhere}.mehr-table td.mehr-label{text-align:left}.mehr-note{font-size:10.5px;color:#667e91;margin:7px 0}.mehr-manual{display:flex;gap:12px;justify-content:space-between;padding:5px 6px;border-bottom:1px solid #ebf0f3}.mehr-manual strong{color:#704c28;text-align:right;font-weight:600}.mehr-noteline{margin-top:8px;border-top:1px dotted #b8cbd9;padding-top:6px;font-size:11px}.mehr-noteline p{white-space:normal;overflow-wrap:anywhere;margin:4px 0}.mehr-footer{margin-top:22px;padding-top:8px;border-top:2px solid #e17a1d;color:#426178;font-size:10px;display:flex;justify-content:space-between;gap:10px}.mehr-flag{padding:2px 7px;background:#edf5fc;border-radius:10px;font-size:10px}#ehs-monthly-print-root{display:none}@media(max-width:700px){.mehr-preview{padding:4px}.mehr-paper{padding:18px 14px}.mehr-paper-header{flex-wrap:wrap}.mehr-info{grid-template-columns:1fr}.mehr-toolbar{padding:12px}.mehr-paper-header h1{font-size:18px}.mehr-table{font-size:9px}.mehr-section h3{font-size:13px}}@media print{@page{size:A4 portrait;margin:12mm}html,body{background:white!important;margin:0!important;padding:0!important}body>*:not(#ehs-monthly-print-root){display:none!important}#ehs-monthly-print-root{display:block!important;position:static!important;margin:0!important;padding:0!important}#ehs-monthly-print-root .mehr-paper{max-width:none;width:100%;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-size:10.5px!important}#ehs-monthly-print-root .mehr-paper-header img{width:125px}#ehs-monthly-print-root .mehr-section{margin:9px 0 13px}#ehs-monthly-print-root .mehr-section h3{font-size:12px;print-color-adjust:exact;-webkit-print-color-adjust:exact}#ehs-monthly-print-root .mehr-table th{print-color-adjust:exact;-webkit-print-color-adjust:exact}#ehs-monthly-print-root .mehr-metric,#ehs-monthly-print-root .mehr-manual{padding:3px 5px}#ehs-monthly-print-root .mehr-table tr{break-inside:avoid}#ehs-monthly-print-root .mehr-info{font-size:10px}}

/* V259.18 reporting reconciliation: read-only source quality appendix */
.mehr-reconciliation{border:1px solid #c9dbe8;background:#f8fbfd;border-radius:9px;padding:12px 13px;break-before:auto}
.mehr-reconciliation h3{background:#dceaf5!important}
.mehr-reconciliation .mehr-table th{background:#d5e6f4;color:#184663}
.mehr-reconciliation .mehr-metric{background:#fff}
@media print{#ehs-monthly-print-root .mehr-reconciliation{border:1px solid #bccbd5;break-inside:auto;padding:6px 8px}}

/* V259.19 audit details */
.mehr-audit-subtitle{font-size:12px;color:#164767;margin:15px 0 6px;font-weight:800}.mehr-source-btn{border-color:#c6deee!important;background:#f5fafe!important}.mehr-reconciliation .mehr-table td{font-variant-numeric:tabular-nums}
@media print{#ehs-monthly-print-root .mehr-audit-subtitle{break-after:avoid}}

/* V259.25 — employee inputs and per-section edit links */
.mehr-edit-shortcut{font-size:11px!important;float:right;border:1px solid #b8cddf!important;border-radius:7px!important;background:#fff!important;color:#174b70!important;padding:3px 8px!important;min-height:28px!important;cursor:pointer;font-weight:700}
.mehr-contribute-heading{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin:14px 0}
.mehr-contribute-heading label{display:flex;gap:5px;flex-direction:column;font-size:12px;font-weight:700;min-width:260px}
.mehr-contribute-heading select{min-height:40px;border:1px solid #b8ccda;border-radius:8px;padding:8px;background:#fff;color:#143d5d}
.mehr-state-pill{border-radius:15px;background:#e9f2f8;padding:6px 12px;font-size:12px;font-weight:700;color:#15456b}
.mehr-contribute .mehr-edit-actions button,.mehr-review-card button{padding:9px 16px;min-height:38px}
.mehr-review-card{border:1px solid #d1e0ea;border-radius:10px;background:#f9fcff;padding:12px;margin:10px 0}
.mehr-review-card>span{display:block;font-size:11px;color:#526e82;margin-top:3px}
.mehr-review-card p{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}
.mehr-review-note{color:#8a4b10;background:#fff7e9;border:1px solid #eacb98;padding:10px;border-radius:8px}
.mehr-contributed{background:#f5faf5;border-left:3px solid #4c9458;margin:10px 0;padding:9px 12px;font-size:11px}
.mehr-contributed-entry{border-bottom:1px dotted #b6d1bc;padding:6px 0;white-space:normal;overflow-wrap:anywhere}
.mehr-contributed-entry:last-child{border-bottom:0}
.mehr-contributed-entry>div{margin-top:3px}
.mehr-contributed-metric{color:#335d3b}
@media print{.mehr-edit-shortcut{display:none!important}}

/* V259.27 — genuine in-page editing inside the printable report (screen only) */
.mehr-section[data-mehr-section]{scroll-margin-top:170px}
.mehr-section h3:after{content:'';display:block;clear:both}
.mehr-inline-row{background:#fffaf3;align-items:center}
.mehr-inline-row input{margin-left:auto;max-width:310px;min-width:100px;width:45%;padding:7px 10px;border:1px solid #b4c9dd;border-radius:8px;color:#153f5f;font-size:12px;background:#fff}
.mehr-inline-editor{padding:14px;margin:10px 0;border:1px solid #a5c3dc;border-radius:10px;background:#f6fbff}
.mehr-inline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.mehr-inline-text{display:flex;flex-direction:column;gap:6px;color:#1b4b6e;font-size:12px;font-weight:700}
.mehr-inline-text textarea{box-sizing:border-box;width:100%;border:1px solid #b5cade;border-radius:8px;padding:10px;background:#fff;color:#193b57;font:12px Arial, sans-serif;resize:vertical}
.mehr-inline-info{font-size:11px;color:#4d6982;margin:0 0 10px}
.mehr-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:13px}
.mehr-inline-actions button{min-height:36px;padding:8px 15px;cursor:pointer}
.mehr-inline-actions small,.mehr-inline-error{font-size:11px;color:#617d94}
.mehr-approved-caption{display:block;font-size:9px;font-weight:normal;color:#34764e}
@media(max-width:700px){.mehr-inline-row{flex-wrap:wrap}.mehr-inline-row input{width:100%;max-width:none}}
@media print{.mehr-edit-shortcut,.mehr-inline-editor,.mehr-inline-row input{display:none!important}}

/* V259.29 — reporting period selector, PDF and email */
.mehr-controls select{display:block;padding:9px;min-height:40px;border:1px solid #cbdde9;border-radius:9px;background:white;color:#173d60;min-width:145px;font:inherit}
.mehr-email-dialog{border:1px solid #b9cfe2;border-radius:15px;max-width:min(510px,92vw);width:100%;padding:22px;background:#fff;color:#193e5b;box-shadow:0 18px 50px #18324c44}
.mehr-email-dialog::backdrop{background:#173b5691}
.mehr-email-dialog h3{margin:0 0 12px;color:#13496f}.mehr-email-dialog p{font-size:12px;line-height:1.5}.mehr-email-dialog label{display:block;margin:10px 0;font-size:12px;font-weight:700}.mehr-email-dialog input,.mehr-email-dialog textarea{display:block;box-sizing:border-box;width:100%;margin:5px 0;padding:10px;border:1px solid #b8ccde;border-radius:7px;background:#fff;color:#163d59}.mehr-email-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.mehr-email-actions button{padding:9px 15px}.mehr-entry-month{font-weight:800;color:#216087}
@media print{.mehr-email-dialog{display:none!important}}
