.sm-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(125deg,#121e2b,#172536);color:#fff;border-radius:16px;padding:22px 24px;margin-bottom:14px}.sm-head h2{margin:0}.sm-head p{margin:5px 0 0;color:#aebccc}.sm-head .eyebrow{color:#ff5b52;font-size:10px;font-weight:900;letter-spacing:.16em;margin:0 0 5px}
.sm-cards{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));gap:9px;margin:12px 0}.sm-cards article{background:#fff;border:1px solid #dfe5eb;border-radius:13px;padding:12px}.sm-cards small,.sm-cards span{display:block;color:#738092;font-size:9px}.sm-cards b{display:block;font-size:18px;margin:4px 0}
.sm-filters{display:grid;grid-template-columns:130px minmax(165px,1.2fr) minmax(155px,1fr) minmax(210px,1.5fr) minmax(145px,1fr) minmax(165px,1fr) minmax(145px,.9fr);gap:10px;background:#fff;border:1px solid #dfe5eb;border-radius:13px;padding:12px;margin-bottom:9px;align-items:end}.sm-filters label{margin:0;min-width:0}.sm-filters input,.sm-filters select,.sm-filters .multi-filter,.sm-filters .mf-shell,.sm-filters .mf-trigger{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.sm-filters .mf-trigger{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sm-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sm-help{background:#eef4fb;border-left:4px solid #2878e6;border-radius:8px;padding:9px 11px;margin:8px 0 10px;font-size:10px;color:#455568}
.sm-table{max-height:72vh;overflow-y:auto;overflow-x:hidden;position:relative;scrollbar-gutter:stable}.sm-table table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:0!important}.sm-table th,.sm-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;font-size:9px;line-height:1.25;padding:6px 5px}.sm-table td small{display:block;color:#7d8998;margin-top:2px;line-height:1.2}.sm-table thead tr:first-child{height:38px}.sm-table thead tr:first-child th{position:sticky;top:0;z-index:8;background:#f8fafc;height:38px;max-height:38px;padding:4px 4px;vertical-align:middle;overflow:hidden;overflow-wrap:normal;word-break:normal;line-height:1.1;box-shadow:0 1px 0 #d8e0e8}.sm-table thead tr.sm-column-filters th{position:sticky;top:38px;z-index:7;background:#eef3f7;box-shadow:0 1px 0 #d8e0e8;padding:3px!important}.sm-money{white-space:nowrap!important;font-variant-numeric:tabular-nums}.sm-percent{text-align:center;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.sm-table th:nth-child(1){width:5%}.sm-table th:nth-child(2){width:5.5%}.sm-table th:nth-child(3){width:8.5%}.sm-table th:nth-child(4){width:10.5%}.sm-table th:nth-child(5){width:6%}.sm-table th:nth-child(6){width:7%}.sm-table th:nth-child(7){width:5.5%}.sm-table th:nth-child(8){width:3.5%}.sm-table th:nth-child(9){width:6.5%}.sm-table th:nth-child(10){width:6%}.sm-table th:nth-child(11){width:5.5%}.sm-table th:nth-child(12){width:5.5%}.sm-table th:nth-child(13){width:6%}.sm-table th:nth-child(14){width:5%}.sm-table th:nth-child(15){width:4%}.sm-table th:nth-child(16){width:4%}.sm-table th:nth-child(17){width:6%}
.sm-sort{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;padding:0;cursor:pointer;text-align:left;width:100%}.sm-sort span{font-size:9px;color:#7b8795}.sm-sort.active{color:#14293b}.sm-column-filters input,.sm-column-filters select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:4px 5px;border:1px solid #cfd8e2;border-radius:6px;background:#fff;font-size:8px}
.sm-resource-head>div{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:4px;align-items:center}.sm-resource-column-toggle{width:22px!important;min-width:22px!important;height:22px;padding:0!important;border:1px solid #c8d2dc!important;border-radius:6px!important;background:#fff!important;color:#31465b!important;font-weight:900!important;line-height:1!important}.sm-resource-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;line-height:1.25;max-height:1.25em}.sm-resource-open .sm-resource-text{-webkit-line-clamp:unset;display:block;max-height:none;overflow:visible}.sm-resource-open .sm-table th:nth-child(3){width:6.5%}.sm-resource-open .sm-table th:nth-child(4){width:18%}.sm-resource-open .sm-table th:nth-child(6){width:6%}.sm-resource-open .sm-table th:nth-child(9){width:5.5%}.sm-resource-open .sm-table th:nth-child(10){width:5.5%}.sm-resource-open .sm-table th:nth-child(11){width:5%}.sm-resource-open .sm-table th:nth-child(12){width:5%}.sm-resource-open .sm-table th:nth-child(13){width:5.5%}.sm-resource-open .sm-table th:nth-child(17){width:4.5%}
.sm-status,.sm-health{display:inline-block;padding:2px 6px;border-radius:999px;font-size:9px;font-weight:850;margin:0 3px 2px 0}.sm-status.ok,.sm-health.ok{background:#dcfce7;color:#166534}.sm-status.bad,.sm-health.bad{background:#fee2e2;color:#991b1b}.sm-status.wait,.sm-health.wait{background:#fff4d6;color:#8a5a00}.sm-status.muted{background:#eef2f6;color:#64748b}.sm-status-secondary{display:block;width:max-content;margin-top:3px}.sm-approval-detail{color:#805500!important;font-weight:700}.sm-unavailable{font-weight:700;color:#7b8795;font-size:9px}.sm-pager{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px}.sm-pager label{display:flex;align-items:center;gap:6px;margin:0}.sm-pager select{width:auto}
@media(max-width:1500px){.sm-cards{grid-template-columns:repeat(4,1fr)}.sm-filters{grid-template-columns:repeat(3,minmax(190px,1fr))}.sm-table th,.sm-table td{font-size:8px}}
@media(max-width:1000px){.sm-filters{grid-template-columns:repeat(2,minmax(180px,1fr))}.sm-filter-actions{justify-content:flex-start}.sm-table th,.sm-table td{font-size:7.5px;padding:5px 3px}}
@media(max-width:700px){.sm-head{align-items:flex-start;flex-direction:column}.sm-cards{grid-template-columns:repeat(2,1fr)}.sm-filters{grid-template-columns:1fr}.sm-filter-actions{grid-column:1;flex-direction:column}.sm-filter-actions button{width:100%}.sm-table th,.sm-table td{font-size:7px}.sm-pager{justify-content:flex-start;flex-wrap:wrap}}
.sm-subnav{display:flex;gap:8px;margin:0 0 12px;border-bottom:1px solid #dfe5eb;padding-bottom:8px}.sm-subnav button{border:1px solid #cfd8e2;background:#fff;color:#455568;border-radius:9px;padding:8px 12px;font-weight:800;font-size:10px;cursor:pointer}.sm-subnav button.active{background:#172536;color:#fff;border-color:#172536}.sm-inner-view{display:none}.sm-inner-view.active{display:block}.sm-replacement-head{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #dfe5eb;border-radius:13px;padding:14px 16px;margin-bottom:10px}.sm-replacement-head h3{margin:0}.sm-replacement-head p{margin:4px 0 0;color:#738092;font-size:10px}.sm-replacement-table table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.sm-replacement-table th,.sm-replacement-table td{padding:12px 14px;border-bottom:1px solid #e6ebf0;text-align:left}.sm-replacement-table th{background:#f3f6f9;font-size:10px;color:#536274}.sm-replacement-table td{font-size:12px}.sm-replacement-table td b{font-size:13px}.sm-replacement-table th:first-child,.sm-replacement-table td:first-child{width:50%}.sm-replacement-table th:last-child,.sm-replacement-table td:last-child{width:50%}

.sm-replacement-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 10px}.sm-replacement-cards article{background:#fff;border:1px solid #dfe5eb;border-radius:12px;padding:12px 14px}.sm-replacement-cards small,.sm-replacement-cards span{display:block;color:#748193;font-size:9px}.sm-replacement-cards b{display:block;font-size:20px;margin:3px 0;color:#172536}.sm-replacement-note{background:#fff8df;border:1px solid #eadba4;border-radius:10px;padding:9px 12px;margin-bottom:10px;color:#6b5b22;font-size:10px}.sm-repl-contract{display:grid;gap:10px}.sm-repl-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.sm-repl-title small,.sm-repl-section>small{display:block;color:#7b8795;font-size:9px;font-weight:700}.sm-repl-title b{font-size:15px!important;color:#172536}.sm-repl-status{display:inline-block;background:#eef2f6;color:#435468;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:800;white-space:nowrap}.sm-repl-item{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px dashed #e5e9ee}.sm-repl-item:last-child{border-bottom:0}.sm-repl-item span{font-size:10px;color:#334155}.sm-repl-item b{font-size:10px!important;white-space:nowrap}.sm-repl-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sm-repl-metrics>div{background:#f7f9fb;border:1px solid #e6ebf0;border-radius:9px;padding:8px}.sm-repl-metrics span{display:block;color:#748193;font-size:8px}.sm-repl-metrics b{display:block;font-size:11px!important;margin-top:3px}.sm-repl-badge{display:inline-block!important;width:max-content;margin-top:5px;padding:2px 6px;border-radius:999px;font-size:8px!important;font-weight:850}.sm-repl-badge.saldo{background:#fff4d6;color:#8a5a00}.sm-repl-badge.zero{background:#dcfce7;color:#166534}.sm-repl-badge.muted{background:#eef2f6;color:#64748b}@media(max-width:900px){.sm-replacement-cards{grid-template-columns:1fr}.sm-repl-metrics{grid-template-columns:1fr}.sm-replacement-table th,.sm-replacement-table td{padding:9px}}

.sm-replacement-actions{display:flex;align-items:center;gap:10px}.sm-replacement-actions button{white-space:nowrap}
.sm-replacement-table{overflow-x:hidden}.sm-replacement-table table{width:100%;table-layout:fixed}.sm-replacement-table th,.sm-replacement-table td{padding:8px 7px;font-size:9px;vertical-align:middle}.sm-replacement-table thead tr:first-child th.sm-repl-group{width:50%!important;text-align:center;background:#e9eef4;color:#20354a;font-weight:900;letter-spacing:.04em}.sm-replacement-table thead tr:last-child th{width:10%!important}.sm-replacement-table .sm-repl-row td{width:10%!important}.sm-repl-row{cursor:pointer}.sm-repl-row:hover td,.sm-repl-row.open td{background:#f7fafc}.sm-repl-crtl{white-space:nowrap}.sm-repl-caret{display:inline-block;width:14px;color:#607286;font-weight:900}.sm-repl-row .sm-money{white-space:nowrap!important}.sm-repl-row td b{font-size:10px}.sm-repl-badge{display:block!important;width:max-content;margin-top:3px;padding:2px 5px;border-radius:999px;font-size:7px!important;font-weight:850}.sm-repl-badge.saldo{background:#fff4d6;color:#8a5a00}.sm-repl-badge.zero{background:#dcfce7;color:#166534}.sm-repl-badge.muted{background:#eef2f6;color:#64748b}.sm-repl-detail-row>td{padding:0!important;background:#f8fafc!important}.sm-repl-detail{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #dce4ec;border-bottom:1px solid #dce4ec}.sm-repl-detail-side{padding:12px 16px}.sm-repl-detail-side+ .sm-repl-detail-side{border-left:1px solid #dce4ec}.sm-repl-detail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.sm-repl-detail-title b{font-size:9px!important;color:#536274}.sm-repl-detail-title span{font-size:11px;font-weight:900;color:#172536}.sm-repl-items-table{width:100%;table-layout:auto!important;border-collapse:collapse!important}.sm-repl-items-table th,.sm-repl-items-table td{width:auto!important;padding:5px 6px!important;border-bottom:1px solid #e8edf2;font-size:9px!important}.sm-repl-items-table th{background:transparent!important;color:#718096!important}.sm-repl-items-table th:nth-child(2),.sm-repl-items-table td:nth-child(2){text-align:right;white-space:nowrap}.sm-repl-items-table th:nth-child(3),.sm-repl-items-table td:nth-child(3){width:70px!important;white-space:nowrap}.sm-replacement-note{margin-bottom:8px}
@media(max-width:1000px){.sm-replacement-table th,.sm-replacement-table td{font-size:8px;padding:6px 4px}.sm-repl-detail{grid-template-columns:1fr}.sm-repl-detail-side+ .sm-repl-detail-side{border-left:0;border-top:1px solid #dce4ec}}
