.genset-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:24px; align-items:stretch; }
.genset-identity { display:flex; flex-direction:column; gap:12px; min-width:0; }
.genset-identity .pm-site-back { align-self:flex-start; }
.genset-identity h2 { margin:0; color:#29496c; font-size:24px; line-height:1.35; font-weight:600; }
.genset-header-tags,.genset-legend { display:flex; flex-wrap:wrap; gap:8px; }
.genset-region { margin:0; border-top:1px solid #d7e0ea; padding-top:12px; font-size:10px; color:#607086; }
.genset-tag { display:inline-flex; align-items:center; padding:4px 8px; border-radius:3px; font-size:10px; font-weight:600; }
.genset-tag.is-navy { background:#173e68; color:#fff; }
.genset-tag.is-gray { background:#e6ebf1; color:#68788b; }
.genset-tag.is-orange { background:#fff0d8; color:#986114; }
.genset-tag.is-green { background:#e1f4e9; color:#08754d; }
.genset-tag.is-red { background:#fce4e8; color:#b52d43; }
.genset-map { display:flex; flex-direction:column; min-width:0; }
.genset-map iframe { display:block; width:100%; min-height:165px; flex:1; border:0; }
.genset-map > div { display:flex; gap:8px 12px; align-items:center; flex-wrap:wrap; padding:10px 12px; font-size:10px; }
.genset-empty { padding:24px; font-size:11px; color:#68788b; }
.genset-window { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:10px; color:#607086; }
.genset-window label { display:flex; gap:10px; align-items:center; }
.genset-window select { padding:7px 10px; font-size:10px; }
.genset-grid-four { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.genset-grid-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.genset-panel { padding:20px; }
.genset-panel > .section-title { margin-bottom:14px; }
.genset-note { margin:0 0 12px; font-size:10px; line-height:1.8; color:#708198; }
.genset-readiness { padding:14px 18px; border-left:4px solid #e27b2b; background:#fff5e9; }
.genset-readiness.is-gray { border-color:#8a98aa; background:#f5f7fa; }
.genset-readiness.is-green { border-color:#0b8a5b; background:#edf8f2; }
.genset-readiness.is-red { border-color:#d64b55; background:#fff0f2; }
.genset-readiness strong { font-size:14px; font-weight:600; color:#29496c; }
.genset-readiness p,.genset-readiness span { font-size:10px; line-height:1.8; color:#607086; }
.genset-readiness p { margin:6px 0; }
.genset-comparison { padding:16px; min-width:0; }
.genset-comparison h4 { margin:0 0 16px; font-size:11px; color:#607086; font-weight:600; }
.genset-comparison-values { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.genset-comparison-values span { display:block; font-size:9px; color:#8090a2; margin-bottom:5px; }
.genset-comparison-values strong { font-size:20px; color:#29496c; font-weight:600; overflow-wrap:anywhere; }
.genset-bars > div { display:flex; align-items:center; gap:8px; margin:6px 0; }
.genset-bars > div > span { width:42px; font-size:9px; color:#708198; }
.genset-bar-track { flex:1; background:#eef2f7; height:7px; }
.genset-bar-track > span { display:block; height:100%; }
.genset-bar-track .is-before { background:#8d9fb5; }
.genset-bar-track .is-after { background:#173e68; }
.genset-comparison-footer { display:flex; align-items:center; gap:8px; margin-top:14px; flex-wrap:wrap; }
.genset-comparison-footer > span:last-child,.genset-comparison > p { font-size:9px; color:#708198; line-height:1.7; }
.genset-fields { margin:0; font-size:11px; }
.genset-fields > div { display:grid; grid-template-columns:40% minmax(0,1fr); gap:12px; padding:10px 0; border-bottom:1px solid #e2e8f0; }
.genset-fields dt { font-size:10px; color:#8090a2; font-weight:600; }
.genset-fields dd { margin:0; overflow-wrap:anywhere; }
.genset-timeline { position:relative; display:grid; gap:8px; max-height:420px; overflow-y:auto; padding:2px 4px 2px 2px; }
.genset-event { display:grid; grid-template-columns:160px minmax(0,1fr); gap:16px; padding:12px; background:#f7f9fc; border:1px solid #e2e8f0; border-left:4px solid var(--event-color); text-align:left; font-size:10px; }
.genset-event.is-navy { --event-color:#173e68; }.genset-event.is-orange { --event-color:#e27b2b; }.genset-event.is-green { --event-color:#0b8a5b; }.genset-event.is-red { --event-color:#d64b55; }.genset-event.is-gray { --event-color:#8a98aa; }
.genset-event[aria-expanded=true] { outline:2px solid #173e68; outline-offset:1px; }
.genset-event-date { color:#708198; }
.genset-event-content { display:flex; flex-direction:column; gap:5px; color:#708198; min-width:0; }
.genset-event-content strong { color:var(--event-color); font-size:11px; }
.genset-duration-track { height:12px; background:#f1e4d6; display:block; }
.genset-duration-track > span:not(.genset-note) { display:block; height:100%; background:#e27b2b; }
.genset-selected { margin-top:16px; padding:14px; border:1px solid #c9d3df; background:#f7f9fc; font-size:11px; }
.genset-evidence-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin-bottom:14px; }
.genset-evidence-flow > div { position:relative; padding:12px; background:#f4f7fb; }
.genset-evidence-flow > div > span:first-child { display:block; font-size:10px; color:#708198; }
.genset-evidence-flow strong { display:block; font-size:18px; font-weight:600; color:#29496c; margin-top:8px; }
.genset-flow-arrow { position:absolute; right:-19px; top:32px; color:#8090a2; }
.genset-summary h4 { margin:0 0 10px; color:#29496c; font-size:11px; font-weight:600; }
.genset-summary { padding:14px; background:#f7f9fc; }
.genset-summary ul { margin:0; padding-left:16px; list-style:disc; font-size:10px; line-height:1.9; color:#607086; }
.genset-history-filters { display:flex; flex-wrap:wrap; gap:12px; padding:16px; }
.genset-history-filters .pm-site-form-field { min-width:120px; flex:1; }
.genset-table-scroll { overflow-x:auto; }
.genset-history { width:100%; min-width:1150px; font-size:10px; border-collapse:collapse; }
.genset-history td { white-space:normal; max-width:180px; overflow-wrap:anywhere; }
.genset-history small { display:block; font-size:9px; color:#8090a2; margin-top:4px; }
.genset-evaluation-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:16px; }
.genset-evaluation-actions span { font-size:10px; color:#8090a2; }
.genset-open-detail { margin-top:12px; font-size:10px; font-weight:600; }
.genset-detail button:focus-visible { outline:2px solid #173e68; outline-offset:3px; }
@media(max-width:1100px) { .genset-grid-four { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { .genset-header,.genset-grid-two { grid-template-columns:1fr; }.genset-evidence-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }.genset-flow-arrow { display:none; } }
@media(max-width:600px) { .genset-grid-four { grid-template-columns:1fr; }.genset-event { grid-template-columns:1fr; gap:8px; }.genset-fields > div { grid-template-columns:1fr; gap:4px; } }

.genset-map-viewport { position:relative; flex:1; min-height:165px; padding:0!important; }
.genset-map-viewport iframe { position:absolute; inset:0; height:100%; width:100%; min-height:0; }/* Shared PM list refinements, scoped to new classes. */
.genset-list-card {display:block;width:100%;padding:0;text-align:left;cursor:pointer;border-left:4px solid #173e68;}
.genset-list-card .preventive-card-head {display:grid;grid-template-columns:.8fr 1.4fr .8fr 1.4fr 1.1fr 22px;align-items:center;}
.genset-list-card:hover {background:#f5f8fc;box-shadow:0 2px 8px #173e6812;}
.genset-list-card:focus-visible,.pm-page-button:focus-visible {outline:2px solid #2473d4;outline-offset:3px;}
.pm-work-status {display:inline-flex;margin-top:5px;padding:5px 8px;border-radius:4px;color:white;font-size:9px;font-weight:600;line-height:1.4;}
.pm-work-status.is-red,.pm-attention-track .is-red {background:#d64b55;}
.pm-work-status.is-green,.pm-attention-track .is-green {background:#0b8a5b;}
.pm-work-status.is-purple,.pm-attention-track .is-purple {background:#7653b4;}
.pm-work-status.is-orange,.pm-attention-track .is-orange {background:#c87519;}
.pm-work-status.is-navy,.pm-attention-track .is-navy {background:#173e68;}
.pm-work-status.is-gray,.pm-attention-track .is-gray {background:#75859a;}
.pm-attention-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.pm-attention-panel {padding:20px;min-width:0;}
.pm-attention-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;}
.pm-attention-heading p {font-size:9px;letter-spacing:.8px;font-weight:600;color:#75859a;margin:0 0 5px;}
.pm-attention-heading h3 {font-size:13px;font-weight:600;color:#29496c;margin:0;}
.pm-attention-heading>strong {font-size:28px;line-height:1;color:#c87519;}
.pm-attention-label {font-size:9px;color:#75859a;white-space:nowrap;}
.pm-attention-bars {display:grid;gap:12px;max-height:240px;overflow:auto;padding-right:4px;}
.pm-attention-row>div:first-child {display:flex;justify-content:space-between;gap:12px;margin-bottom:5px;font-size:10px;color:#42536a;}
.pm-attention-row strong {font-size:11px;color:#29496c;}
.pm-attention-track {height:7px;background:#e9eff5;border-radius:4px;overflow:hidden;}
.pm-attention-track span {display:block;height:100%;border-radius:4px;}
.pm-attention-note {font-size:9px;line-height:1.7;color:#75859a;margin:14px 0 0;}
.pm-work-pagination {display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;margin-top:16px;border-top:1px solid #e4eaf1;}
.pm-page-button {display:inline-flex;align-items:center;justify-content:center;min-width:116px;border:1px solid #d7dfe8;background:white;color:#29496c;border-radius:5px;padding:9px 14px;font-size:10px;font-weight:600;transition:background .15s;}
.pm-page-button:hover:not(:disabled) {background:#173e68;color:white;border-color:#173e68;}
.pm-page-button:disabled {opacity:.4;cursor:not-allowed;}
.pm-page-position {font-size:10px;color:#75859a;font-weight:500;}
@media(max-width:1100px) {.genset-list-card .preventive-card-head {grid-template-columns:1fr 1.6fr 1fr;gap:12px;}.genset-list-card .preventive-card-chevron {display:none;}.genset-list-card .with-divider {border-left:0;padding-left:0;}}
@media(max-width:850px) {.pm-attention-grid {grid-template-columns:1fr;}.pm-attention-panel {padding:16px;}}
.pm-donut-layout {display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:center;min-height:235px;}
.pm-donut-layout svg {width:100%;max-width:190px;}
.pm-donut-total {font-size:29px;font-weight:600;fill:#29496c;}
.pm-donut-subtitle {font-size:10px;fill:#75859a;}
.pm-status-bar-layout {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(210px,1fr);gap:24px;align-items:center;min-height:190px;}
.pm-status-bars {display:flex;gap:10px;min-width:0;height:190px;align-items:flex-end;justify-content:space-around;border-bottom:1px solid #cbd5e1;padding:0 8px;}
.pm-status-bar-row {display:flex;min-width:24px;max-width:48px;height:100%;flex:1 1 0;align-items:flex-end;}
.pm-status-bar-track {display:flex;width:100%;height:100%;overflow:hidden;background:#e9eff5;align-items:flex-end;}
.pm-status-bar-fill {display:block;width:100%;min-height:4px;color:#fff;transition:height .2s ease;}
.pm-status-bar-fill b {font-size:9px;font-weight:700;}
.pm-status-detail {align-self:stretch;display:flex;flex-direction:column;justify-content:center;}
.pm-status-month-bars {display:flex;min-width:0;height:225px;align-items:flex-end;gap:10px;border-bottom:1px solid #cbd5e1;}
.pm-status-month {display:flex;min-width:0;height:100%;flex:1 1 0;flex-direction:column;justify-content:flex-end;align-items:stretch;}
.pm-status-month-track {display:flex;width:100%;min-height:0;flex:1 1 auto;flex-direction:column-reverse;overflow:hidden;background:#e9eff5;}
.pm-status-month-segment {display:block;width:100%;min-height:2px;}
.pm-status-month>span {flex:0 0 22px;padding-top:6px;text-align:center;font-size:9px;color:#75859a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pm-priority-bars {display:grid;gap:10px;margin-top:12px;min-height:210px;align-content:center;}
.pm-priority-bar-row {display:grid;gap:4px;}
.pm-priority-bar-head {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:#42556d;}
.pm-priority-bar-head span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}
.pm-priority-bar-head strong {font-size:9px;color:#29496c;}
.pm-priority-bar-track {display:flex;width:100%;height:17px;overflow:hidden;background:#e9eff5;}
.pm-priority-bar-late {height:100%;background:#d64b55;}
.pm-priority-bar-rejected {height:100%;background:#c87519;}
.pm-priority-axis {display:flex;justify-content:space-between;border-top:1px solid #cbd5e1;padding-top:5px;font-size:8px;color:#8190a4;}
.pm-chart-legend {list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.pm-chart-legend li {display:flex;gap:7px;align-items:center;font-size:9px;color:#42536a;}
.pm-chart-legend i,.pm-chart-key i {display:inline-block;width:8px;height:8px;border-radius:2px;flex-shrink:0;}
.pm-chart-legend li>span {flex:1;}
.pm-chart-legend strong {font-size:11px;text-align:right;white-space:nowrap;}
.pm-chart-legend small {display:block;font-size:8px;font-weight:400;color:#75859a;}
.pm-chart-key {display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px;font-size:9px;color:#42536a;}
.pm-chart-key span {display:flex;align-items:center;gap:5px;}
.pm-priority-graph {width:100%;min-height:190px;max-height:265px;}
.pm-chart-axis {font-size:9px;fill:#75859a;}
.pm-chart-nop {font-size:10px;fill:#42536a;font-weight:500;}
.pm-chart-count {font-size:10px;fill:#29496c;font-weight:600;}
.pm-chart-empty {min-height:220px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#75859a;text-align:center;}
@media(max-width:1250px) {.pm-donut-layout {grid-template-columns:145px 1fr;gap:10px;}.pm-chart-legend li {font-size:8px;}}
@media(max-width:850px) {.pm-donut-layout {grid-template-columns:180px 1fr;}.pm-chart-legend li {font-size:10px;}}
@media(max-width:850px) {.pm-status-bar-layout {grid-template-columns:1fr;}.pm-status-detail {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px) {.pm-donut-layout {grid-template-columns:1fr;}.pm-donut-layout svg {margin:auto;}}
/* Compact chart spacing and matching Dashboard card finish. */
.pm-attention-grid {gap:12px;align-items:stretch;}
.pm-attention-panel {padding:14px 16px;}
.pm-attention-heading {margin-bottom:10px;gap:10px;}
.pm-attention-heading p {margin-bottom:3px;}
.pm-attention-heading h3 {font-size:12px;}
.pm-donut-layout {grid-template-columns:140px minmax(0,1fr);gap:10px;min-height:158px;}
.pm-donut-layout svg {max-width:140px;}
.pm-chart-legend {gap:6px;}
.pm-chart-legend li {font-size:9px;gap:6px;line-height:1.3;}
.pm-chart-legend strong {display:flex;align-items:baseline;gap:6px;font-size:10px;}
.pm-chart-legend small {display:inline;font-size:8px;min-width:30px;}
.pm-chart-key {margin-bottom:6px;gap:10px;}
.pm-priority-graph {display:block;min-height:0;height:158px;max-height:158px;}
.pm-attention-note {margin-top:8px;font-size:9px;line-height:1.5;}
.pm-chart-empty {min-height:158px;}
.pm-attention-panel {display:flex;min-height:350px;flex-direction:column;}
.pm-attention-heading {min-height:42px;align-items:flex-start;}
.pm-status-bar-layout {min-height:225px;flex:1;margin-top:12px;}
.pm-status-bars {height:205px;}
.pm-priority-bars {min-height:225px;flex:1;margin-top:4px;gap:7px;}
.pm-dashboard-work-card {border-radius:0;text-align:left;}
.pm-dashboard-work-card:hover {background:#f5f8fc;box-shadow:0 2px 8px #173e6812;}
.pm-dashboard-work-card .preventive-card-section {color:#29496c;}
.pm-dashboard-work-card .pm-site-work-value {overflow-wrap:anywhere;}
.pm-dashboard-work-card .preventive-card-details {background:#f8fafc;border-top:1px solid #e4eaf1;}
.pm-dashboard-work-card:focus-within {outline:2px solid #2473d4;outline-offset:2px;}
.pm-dashboard-work-card .preventive-card-head {grid-template-columns:1fr 1.6fr 1fr 1fr 22px;}
.pm-dashboard-work-card .preventive-card-details {padding:12px;}
.pm-dashboard-work-card .preventive-detail-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;}
.pm-dashboard-work-card .preventive-notes {margin-top:10px;padding-top:8px;}
.pm-dashboard-review {display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf6f2;border-left:3px solid #0b8a5b;padding:10px 12px;margin-bottom:12px;color:#29496c;font-size:10px;}
.pm-dashboard-review.needs-review {background:#fff5e8;border-left-color:#e27b2b;}
.pm-dashboard-review strong {font-weight:600;font-size:11px;}
.pm-dashboard-review p {margin:4px 0 0;line-height:1.5;}
.pm-dashboard-review button {flex-shrink:0;border:1px solid #ccd9e6;background:white;padding:8px 10px;font-size:10px;font-weight:600;color:#173e68;cursor:pointer;}
.pm-dashboard-master {border-top:1px solid #e2e8f0;margin-top:10px;padding-top:10px;}
.pm-dashboard-master h3 {font-size:10px;font-weight:600;color:#173e68;margin:0 0 8px;}
.pm-dashboard-master>p {font-size:10px;color:#64748b;}
.pm-dashboard-review-badge {margin-top:4px;font-size:9px;font-weight:600;color:#b45309;}
.data-freshness,.source-upload-section {padding:16px 20px;}
.data-freshness>header {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.data-freshness>header>span,.freshness-note {font-size:10px;color:#64748b;}
.freshness-note {margin:6px 0 12px;}
.freshness-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.freshness-item {min-width:0;background:#f8fafc;border:1px solid #e1e8f0;padding:10px;}
.freshness-item-head {display:flex;justify-content:space-between;align-items:center;gap:6px;}
.freshness-item-head strong {font-size:10px;color:#29496c;}
.freshness-status {font-size:8px;font-weight:600;padding:3px 5px;white-space:nowrap;}
.freshness-status.current {color:#0b6b45;background:#e3f3eb;}
.freshness-status.needs-update {color:#a54f10;background:#fff0dc;}
.freshness-status.invalid-date {color:#a52b38;background:#fce5e9;}
.freshness-file {font-size:9px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:6px 0;}
.freshness-item-foot {display:flex;justify-content:space-between;gap:4px;font-size:9px;color:#52657a;}
.source-upload-section header>p {font-size:10px;color:#64748b;margin-top:4px;}
.source-tabs {display:flex;gap:4px;border-bottom:1px solid #d8e0ea;margin:10px 0;}
.source-tabs button {font-size:10px;font-weight:600;padding:9px 12px;color:#64748b;border-bottom:2px solid transparent;cursor:pointer;}
.source-tabs button[aria-selected=true] {color:#173e68;border-bottom-color:#173e68;background:#eef3f9;}
.source-current {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;font-size:10px;color:#64748b;}
.source-current strong {color:#29496c;overflow-wrap:anywhere;}
.source-upload-form {display:grid;grid-template-columns:minmax(0,1fr) 150px 135px 42px;gap:8px;align-items:center;}
.source-upload-form>.control,.source-upload-form>.btn-primary {height:42px;font-size:10px;padding:0 10px;font-weight:600;}
.source-upload-form>.btn-primary:disabled {background:#cbd5e1;border-color:#cbd5e1;cursor:not-allowed;}
.source-file-picker {height:42px;display:flex;border:1px solid #d8e0ea;cursor:pointer;min-width:0;font-size:10px;color:#64748b;}
.source-file-picker>span:first-child {display:flex;align-items:center;flex-shrink:0;background:#e9eef4;border-right:1px solid #d8e0ea;padding:0 12px;color:#29496c;font-weight:600;}
.source-file-picker>span:nth-child(2) {padding:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.source-file-picker input {display:none;}
.source-upload-success {font-size:10px;color:#0b6b45;margin-top:10px;}
@media(max-width:1100px){.freshness-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.source-upload-form{grid-template-columns:minmax(0,1fr) 42px;}.source-file-picker{grid-column:1/-1;}.source-upload-form>.control{grid-column:1/-1;}.source-current,.data-freshness>header{align-items:flex-start;flex-direction:column;}.freshness-grid{grid-template-columns:1fr;}.source-tabs button{padding:8px;font-size:9px;}}
@media(max-width:1100px){.pm-dashboard-work-card .preventive-card-head {grid-template-columns:1fr 1.5fr 1fr 1fr 18px;}.pm-dashboard-work-card .preventive-card-section {padding-left:10px;padding-right:10px;}}
@media(max-width:800px){.pm-dashboard-work-card .preventive-detail-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.pm-dashboard-review {align-items:flex-start;flex-direction:column;}}
@media(max-width:1100px) {.pm-donut-layout {grid-template-columns:115px minmax(0,1fr);gap:8px;}.pm-chart-legend li {font-size:8px;}.pm-chart-legend strong {gap:4px;}}
@media(max-width:850px) {.pm-donut-layout {grid-template-columns:140px minmax(0,1fr);}.pm-chart-legend li {font-size:9px;}.pm-attention-panel {padding:14px 16px;}}
@media(max-width:500px) {.pm-donut-layout {grid-template-columns:110px minmax(0,1fr);}.pm-chart-legend small {min-width:0;}}
.pm-filter-charts {margin:16px 0 0;}
.pm-filter-charts .pm-attention-panel {background:#f9fbfd;border:1px solid #e0e7ef;box-shadow:none;}
.pm-site-list-heading {margin-top:16px;}
.pm-site-list-heading>p {font-size:10px;font-weight:400;line-height:1.5;color:#94a3b8;margin:4px 0 0;}
.pm-upload-actions {display:flex;align-items:center;gap:8px;margin-top:12px;}
.pm-upload-actions>button {flex:1;min-width:0;margin-top:0;}
.pm-upload-history {flex:0 0 42px;width:42px;height:42px;}
.pm-upload-history-button {width:42px;height:42px;border:1px solid #cbd5e1;background:#fff;color:#173e68;display:flex;align-items:center;justify-content:center;}
.pm-upload-history-button:hover {background:#edf4fc;border-color:#173e68;}
.pm-upload-history-button:focus-visible {outline:2px solid #2473d4;outline-offset:2px;}
.pm-upload-history-overlay {position:fixed;inset:0;z-index:1000;background:#173e6870;display:flex;align-items:center;justify-content:center;padding:20px;}
.pm-upload-history-dialog {width:600px;max-width:100%;max-height:80vh;background:white;border:1px solid #d7dfe8;box-shadow:0 16px 48px #173e6840;display:flex;flex-direction:column;}
.pm-upload-history-dialog header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #e4eaf1;}
.pm-upload-history-dialog h3 {margin:0;font-size:14px;font-weight:600;color:#29496c;}
.pm-upload-history-dialog header p {margin:4px 0 0;font-size:10px;color:#75859a;}
.pm-upload-history-dialog header button {background:transparent;border:0;padding:6px;color:#75859a;}
.pm-history-table-scroll {overflow:auto;padding:8px 20px 20px;}
.pm-history-table-scroll table {width:100%;border-collapse:collapse;}
.pm-history-table-scroll th {font-size:9px;color:#75859a;font-weight:600;text-align:left;padding:12px 8px;}
.pm-history-table-scroll td {font-size:11px;color:#42536a;padding:12px 8px;border-top:1px solid #e4eaf1;overflow-wrap:anywhere;}
.pm-history-table-scroll td:last-child {white-space:nowrap;width:115px;}
.pm-history-message {font-size:11px;color:#75859a;padding:24px 20px;}

.freshness-renewal{margin:6px 0 0;font-size:11px;line-height:1.4;color:#64748b}.freshness-renewal.due{color:#b45309}

.pm-card-statuses{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pm-condition-badge{display:inline-flex;padding:4px 7px;font-size:9px;font-weight:600;line-height:1.3;background:#edf1f5;color:#556579;border-radius:3px}.pm-condition-badge.is-red{background:#ffe3e7;color:#ac253d}.pm-condition-badge.is-orange{background:#fff0d7;color:#9b5909}.pm-condition-badge.is-green{background:#dff3e7;color:#267344}.preventive-filter-search{margin-left:0!important;text-align:left;flex:1 1 250px}.preventive-filter-search label{text-align:left}
