/* EiD Office 0.4.2.24 – planning monitor aligned with all other sections */
/* Do not center/cap this module: especially visible when Edge uses 67–80% zoom.
   All other main views take the full width of .content. */
#planningmonitorView{color:var(--ink);max-width:none;width:100%;min-width:0;margin:0}
.pm-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 20px}
.pm-head .pm-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#987a6f}
.pm-head h1{font-size:27px;line-height:1.25;margin:3px 0}
.pm-head p{font-size:12px;color:var(--muted);margin:0;max-width:850px}
.pm-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.pm-actions label,.pm-filters label{font-size:11px;display:flex;flex-direction:column;gap:5px;color:var(--muted);font-weight:650}
.pm-actions input,.pm-filters select{min-height:36px;height:36px;border-radius:8px;border:1px solid var(--stroke);background:#fff;color:var(--ink);padding:7px 10px;font-size:12px;max-width:250px}
.pm-action,.pm-actions .pm-action{border:1px solid #dfcfca;background:#fff;color:#725d55;border-radius:9px;font-size:12px;font-weight:700;padding:7px 12px;min-height:36px;cursor:pointer}
.pm-action:hover{background:#f0ece8}
.pm-card{width:100%;min-width:0;background:#fff;border:1px solid var(--stroke);border-radius:14px;margin:0 0 18px;overflow:hidden;box-shadow:var(--shadow)}
.pm-card-inner{padding:18px 20px}
.pm-card h2{font-size:17px;margin:0 0 3px}
.pm-card .pm-sub{color:var(--muted);font-size:11px;margin:0}
.pm-card-top{padding:17px 20px;border-bottom:1px solid #eee7e2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.pm-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.pm-metric{position:relative;background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;min-height:114px;min-width:0}
.pm-metric small{color:#96857c;font-size:11px;font-weight:650}
.pm-metric strong{font-size:27px;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.3}
.pm-metric span{font-size:11px;line-height:1.45;color:#968782}
.pm-dot-alert{width:7px;height:7px;background:#bd8477;border-radius:50%;position:absolute;right:12px;top:12px}
.pm-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px 20px;background:#fff;border-bottom:1px solid var(--stroke)}
.pm-filters label.pm-check{flex-direction:row;align-items:center;font-weight:600;gap:8px;margin:0 0 9px;min-height:16px;cursor:pointer}
.pm-filters input[type=checkbox]{accent-color:#aa8376;cursor:pointer;width:16px!important;height:16px!important;min-width:16px;min-height:16px!important;margin:0;flex:0 0 16px}
.pm-notice{font-size:12px;color:#49685e;padding:12px 18px;background:#edf5f0;border-radius:10px;margin-bottom:16px;min-height:42px}
.pm-notice.error{color:#8b3e3e;background:#fff1f0}
.pm-table-wrapper{overflow-x:auto;max-width:100%}
.pm-table{width:100%;border-collapse:collapse;min-width:790px;font-size:12px}
.pm-table th,.pm-table td{text-align:left;padding:14px 20px;border-bottom:1px solid #f1ebe7;vertical-align:middle;white-space:nowrap;font-variant-numeric:tabular-nums}
.pm-table thead th{background:#fbf9f8;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#98867d}
.pm-table tbody tr:hover{background:#fbfaf8}
.pm-table tbody th{font-weight:700}
.pm-table tbody small,.pm-table tbody th small{display:block;font-weight:400;color:#968782;margin-top:5px;white-space:normal}
.pm-chip{font-size:11px;border-radius:25px;display:inline-block;padding:5px 9px;background:#e8eeeb;color:#3a695d;font-weight:700}
.pm-chip.warn{background:#f9ece5;color:#945b42}.pm-chip.neutral{background:#f2eee9;color:#77645a}
.pm-chip.ok{background:#dfeee8;color:#3f7868}
.pm-muted,.pm-empty{color:#95857e;font-size:12px}
.pm-empty{padding:30px!important;text-align:center!important}
.pm-footnote{background:#f5f1ed;padding:14px 19px;font-size:12px;line-height:1.6;color:#675c57}
.pm-count{font-size:12px;color:#82746f}
.pm-links{display:flex;gap:8px;flex-wrap:wrap}
.pm-links button{border:1px solid #dfcfca;color:#725d55;border-radius:9px;padding:7px 12px;background:#fff;font-size:12px;font-weight:700;min-height:34px;cursor:pointer}
.pm-links button:hover{background:#f0ece8}
@media(max-width:900px){.pm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-head h1{font-size:24px}.pm-metric{padding:14px 15px}}
@media(max-width:570px){.pm-metrics{grid-template-columns:1fr}.pm-card-top{padding:14px}.pm-filters{padding:12px}.pm-actions{width:100%}.pm-actions label{flex:1}.pm-actions input{max-width:none}.pm-card-inner{padding:13px}}
