.database-view-tabs{overflow-x:auto;flex-wrap:nowrap}.database-view-tabs [data-database-view]{flex:0 0 auto;white-space:nowrap}
.screening-push-panel{display:grid;gap:14px;min-width:0}
.screening-entry-shell{display:grid;gap:7px;padding:18px 20px;border:1px solid #d7e5e8;border-left:4px solid #149a94;border-radius:9px;background:#f7fbfb;color:#526b79}.screening-entry-shell-heading span{display:block;margin-bottom:4px;color:#08766f;font-size:11px;font-weight:800;letter-spacing:.12em}.screening-entry-shell-heading h3{margin:0;color:#0d344d;font-size:18px;line-height:1.4}.screening-entry-shell p{max-width:72ch;margin:0;line-height:1.55}.screening-entry-shell.is-error{border-color:#efc7c7;border-left-color:#b44848;background:#fff8f8}.screening-entry-shell.is-error .screening-entry-shell-heading span,.screening-entry-shell.is-error .screening-entry-shell-heading h3{color:#913c3c}
.screening-entry-wait{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;padding:14px 16px;border:1px solid #b9dedb;border-left:4px solid #149a94;border-radius:9px;background:#eef8f7;color:#315664;box-shadow:0 4px 16px rgba(13,52,77,.06)}
.screening-entry-wait strong{display:block;color:#0d344d;font-size:15px;line-height:1.45}.screening-entry-wait p{margin:4px 0 0;line-height:1.55}.screening-entry-wait-escalation{color:#8b5c00!important;font-weight:700}
.screening-entry-wait-spinner{flex:0 0 22px;width:22px;height:22px;margin-top:1px;border:3px solid #b9dedb;border-top-color:#149a94;border-radius:50%;animation:screening-entry-wait-spin .9s linear infinite}
@keyframes screening-entry-wait-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.screening-entry-wait-spinner{animation:none;border-top-color:#b9dedb;background:radial-gradient(circle,#149a94 0 4px,transparent 5px)}}
.screening-push-toolbar{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px 18px;flex-wrap:wrap}
.screening-push-toolbar h3,.screening-push-chart-heading h3{margin:0;color:#0d344d;font-size:18px;line-height:1.4}
.screening-push-toolbar p{max-width:72ch;margin:3px 0 0;color:#607585;font-size:12px;line-height:1.5}
.screening-push-filters{display:flex;align-items:flex-end;justify-content:flex-start;gap:8px;flex-wrap:wrap}
.screening-push-filters label,.screening-push-chart-heading label{display:grid;gap:4px;margin:0;color:#40596a;font-size:12px}
.screening-push-filters input{width:220px}.screening-push-filters select{width:120px}
.screening-push-threshold-note{padding:10px 12px;border-left:3px solid #149a94;background:#eef8f7;color:#315664}
.screening-push-candidate-table{max-height:min(620px,calc(100dvh - 300px))}.screening-push-candidate-table table{min-width:1800px}
.screening-push-candidate-table tbody tr{cursor:pointer}.screening-push-candidate-table tbody tr:hover,.screening-push-candidate-table tbody tr:focus{background:#eef8f7;outline:none}
.push-status{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:12px;white-space:nowrap}
.push-status.is-pending{background:#fff4dc;color:#8b5c00}.push-status.is-pushed{background:#dff5f1;color:#08766f}
.screening-geo-overview{display:grid;gap:10px;padding:12px;border:1px solid #d9e7e9;border-radius:9px;background:linear-gradient(135deg,#f4fbfa,#f8fafc)}
.screening-geo-service-row{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;color:#546b7b;font-size:12px;line-height:1.5}
.screening-geo-service{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-weight:700;white-space:nowrap;background:#e7edf1;color:#526674}
.screening-geo-service.is-running{background:#dff5f1;color:#08766f}.screening-geo-service.is-controlled-pause{background:#fff4dc;color:#8b5c00}.screening-geo-service.is-error{background:#ffe5e5;color:#a52f2f}.screening-geo-service.is-disabled{background:#edf0f2;color:#687884}
.screening-geo-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}
.screening-geo-metric{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid #dbe7eb;border-radius:7px;background:#fff;color:#516978;text-align:left;cursor:pointer}
.screening-geo-metric:hover,.screening-geo-metric:focus-visible{border-color:#42aaa4;outline:none}.screening-geo-metric.is-active{border-color:#149a94;box-shadow:0 0 0 1px #149a94;background:#eef8f7}.screening-geo-metric span{font-size:11px;white-space:nowrap}.screening-geo-metric strong{color:#0d344d;font-size:18px;line-height:1.2}
.screening-geo-status{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:#edf2f5;color:#526674}.screening-geo-status.is-located{background:#dff5f1;color:#08766f}.screening-geo-status.is-running,.screening-geo-status.is-queued{background:#e3f0ff;color:#23669c}.screening-geo-status.is-pending,.screening-geo-status.is-machine-requery{background:#fff4dc;color:#8b5c00}.screening-geo-status.is-resource-paused{background:#fff0d5;color:#8a5700}.screening-geo-status.is-no-reliable-exact{background:#edf2f5;color:#526674}.screening-geo-status.is-integrity-hold{background:#f3e9ff;color:#7544a3}.screening-geo-status.is-manual-review{background:#fce7f1;color:#9b2f63}.screening-geo-status.is-failed,.screening-geo-status.is-no-address{background:#ffe5e5;color:#a52f2f}.screening-geo-adcode{display:block;margin-top:3px;color:#748794;font-size:10px}
.screening-push-settings-table{max-height:min(670px,calc(100dvh - 300px))}.screening-push-settings-table table{min-width:2100px}
.screening-push-settings-table thead th{position:sticky;top:0;z-index:2;background:#edf4f7;white-space:normal;min-width:92px}
.screening-push-settings-table td{vertical-align:top}.screening-push-settings-table input{width:88px;min-width:76px}.screening-push-settings-table select{width:130px}
.screening-push-settings-table small{display:block;margin-top:4px;color:#758896;line-height:1.3}
.screening-push-settings-table .permission-note.is-edit{color:#08766f}.screening-push-settings-table .permission-note.is-hidden,.forced-pause{color:#a84646!important}
.setting-with-unit{display:flex;align-items:center;gap:5px}.setting-with-unit span{white-space:nowrap;color:#657988}
.primary-btn.compact{min-width:64px;width:auto;padding-inline:13px}
.screening-push-chart-card{margin-top:14px;min-width:0}
.screening-push-chart-heading{display:flex;align-items:flex-end;justify-content:flex-start;gap:10px 14px;flex-wrap:wrap;margin-bottom:8px}
.screening-push-chart-heading>div>h3{margin-bottom:8px}.screening-push-chart-heading select{width:180px}
.screening-push-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#607585;font-size:12px}
.screening-push-legend span{display:inline-flex;align-items:center;gap:6px}.screening-push-legend i{width:12px;height:12px;border-radius:2px}.screening-push-legend i.pending{background:#c8d3dd}.screening-push-legend i.pushed{background:#149a94}
.screening-push-chart-scroll{overflow:auto;max-width:100%;padding-bottom:3px}.screening-push-chart-scroll svg{display:block;min-width:100%;font-family:inherit}
.push-chart-grid{stroke:#dbe5eb;stroke-width:1}.push-chart-pending{fill:#c8d3dd}.push-chart-pushed{fill:#149a94}.push-chart-axis,.push-chart-label{fill:#5f7384;font-size:11px}.push-chart-axis-title{fill:#40596a;font-size:12px}.push-chart-total{fill:#0d344d;font-size:11px;font-weight:700}
.screening-push-chart-empty{height:190px;display:grid;place-items:center;border:1px dashed #d9e4ea;border-radius:7px;background:#f8fafb;color:#758896}
.screening-push-detail-open{overflow:hidden}.screening-push-detail-backdrop{padding:16px}.screening-push-detail{display:flex;flex-direction:column;width:min(1460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden}.screening-push-detail-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px}.screening-push-detail-header h3{margin:0}.screening-push-detail-close{flex:0 0 auto;min-width:72px;min-height:40px}.screening-push-detail .historical-order-modal-body{display:grid;flex:1 1 auto;gap:14px;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.push-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-radius:8px;background:#eef8f7}.push-detail-hero h4{margin:0;color:#0d344d;font-size:20px}.push-detail-hero p{margin:5px 0 0;color:#607585}.push-detail-hero>div:last-child{text-align:right}.push-detail-hero>div:last-child span{display:block;color:#607585}.push-detail-hero>div:last-child strong{font-size:28px;color:#08766f}
.push-detail-meta{display:flex;gap:16px;flex-wrap:wrap;color:#40596a}.model-hit-card{border:1px solid #f0c7c7;border-radius:8px;background:#fff8f8;padding:13px}.model-hit-card h4{margin:0;color:#8c2f2f}.model-hit-card p{margin:6px 0 10px;color:#765858}.model-hit-card ul{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.model-hit-card li{display:flex;gap:8px;padding:5px 8px;border-radius:999px;background:#ffe5e5;color:#a52f2f}.model-hit{border-radius:2px;background:#ffe0e0;color:#b42318;font-weight:800;padding:0 2px;text-decoration:none}
.push-detail-business{display:grid;gap:8px;min-width:0}.push-detail-business>h4{margin:0;color:#0d344d;font-size:18px;line-height:1.4}.push-detail-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;padding:1px;border:1px solid #cfdde3;background:#cfdde3;overflow:hidden}.push-detail-business-field{display:grid;grid-template-columns:minmax(118px,30%) minmax(0,1fr);min-width:0;margin:0;background:#fff}.push-detail-business-field.is-wide{grid-column:1/-1;grid-template-columns:132px minmax(0,1fr)}.push-detail-business-field dt,.push-detail-business-field dd{min-width:0;margin:0;padding:10px 12px;line-height:1.55;word-break:break-word}.push-detail-business-field dt{display:flex;align-items:flex-start;background:#edf5f8;color:#244b63;font-weight:700}.push-detail-business-field dd{background:#fff;color:#17384d}
.screening-registry-panel{display:grid;gap:12px;min-width:0}.screening-registry-metrics{grid-template-columns:repeat(4,minmax(150px,1fr))}.screening-registry-table{max-height:min(650px,calc(100dvh - 300px))}.screening-registry-table table{min-width:1680px}.screening-registry-table thead th{position:sticky;top:0;z-index:2;background:#edf4f7}.screening-registry-table td{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screening-backup-table table{min-width:1420px}.screening-backup-table tbody tr{cursor:pointer}.screening-backup-table tbody tr:hover,.screening-backup-table tbody tr:focus{background:#eef8f7;outline:none}.screening-backup-detail .backup-reason-card p{margin-bottom:0}.screening-backup-snapshot{border:1px solid #d9e4ea;border-radius:8px;overflow:hidden}.screening-backup-snapshot h4{margin:0;padding:10px 13px;background:#f1f6f8;color:#0d344d}.screening-backup-snapshot pre{margin:0;padding:13px;max-height:420px;overflow:auto;background:#fbfcfd;color:#263e50;white-space:pre-wrap;word-break:break-word;line-height:1.5}
@media(max-width:1500px){.push-detail-business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.screening-push-toolbar{display:grid}.screening-push-filters{width:100%}.push-detail-business-grid{grid-template-columns:1fr}.push-detail-business-field,.push-detail-business-field.is-wide{grid-column:auto;grid-template-columns:128px minmax(0,1fr)}}
@media(max-width:1200px){.screening-geo-metrics{grid-template-columns:repeat(4,minmax(104px,1fr))}}
@media(max-width:900px){.screening-registry-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.screening-push-filters{display:grid}.screening-push-filters input,.screening-push-filters select{width:100%}.screening-push-detail-backdrop{padding:8px}.screening-push-detail{width:100%;max-height:calc(100dvh - 16px)}.screening-push-detail-header{padding:12px}.screening-push-detail-close{min-width:68px;min-height:44px}.screening-push-detail .historical-order-modal-body{padding:12px}.push-detail-hero{align-items:flex-start}.push-detail-hero h4{font-size:17px}.push-detail-hero>div:last-child strong{font-size:23px}.push-detail-business-field,.push-detail-business-field.is-wide{grid-template-columns:108px minmax(0,1fr)}.push-detail-business-field dt,.push-detail-business-field dd{padding:9px}.screening-registry-metrics{grid-template-columns:1fr}.screening-geo-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* R2-027: table tabs have a separate summary, filter row and scrolling body. */
#databaseManagementView:not(.hidden) .screening-push-toolbar{gap:8px;align-items:center}
#databaseManagementView:not(.hidden) .screening-push-toolbar>div{min-width:0;max-width:100%}
#databaseManagementView:not(.hidden) .screening-push-toolbar p{max-width:none;margin:4px 0 0}
#databaseManagementView:not(.hidden) .screening-push-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#databaseManagementView:not(.hidden) .screening-push-filters label{display:flex;align-items:center;gap:8px;white-space:nowrap}
#databaseManagementView:not(.hidden) .screening-push-filters :is(input,select){height:34px;min-width:0;max-width:100%}
#databaseManagementView:not(.hidden) .screening-push-filters :is(button,.primary-btn),
#databaseManagementView:not(.hidden) .screening-page-jump+button{flex:0 0 auto;width:auto;min-width:64px;align-self:center;margin:0}
#databaseManagementView:not(.hidden) .screening-geo-overview{gap:8px;padding:8px}
#databaseManagementView:not(.hidden) .screening-geo-metrics{display:flex;flex-wrap:wrap;gap:8px}
#databaseManagementView:not(.hidden) .screening-geo-metric{flex:0 0 118px;width:118px;max-width:100%;padding:8px}
#databaseManagementView:not(.hidden) .screening-registry-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#databaseManagementView:not(.hidden) .screening-registry-metrics>article{flex:0 1 200px;min-width:150px;padding:8px}
#databaseManagementView:not(.hidden) .screening-push-settings-table :is(th,td){text-align:center;vertical-align:middle}
#databaseManagementView:not(.hidden) .screening-push-settings-table table{min-width:2200px}
#databaseManagementView:not(.hidden) .screening-push-settings-table .setting-with-unit{justify-content:center}
#databaseManagementView:not(.hidden) .screening-push-threshold-note{padding:8px;line-height:1.5}
#databaseManagementView:not(.hidden) .screening-push-chart-card{margin-top:8px;padding:8px}
#databaseManagementView:not(.hidden) .screening-page-jump{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#databaseManagementView:not(.hidden) .screening-page-jump input{width:70px;min-width:0}
@media(max-width:560px){
 #databaseManagementView:not(.hidden) .screening-push-filters label{max-width:100%}
 #databaseManagementView:not(.hidden) .screening-push-filters input{width:min(220px,60vw)}
 #databaseManagementView:not(.hidden) .screening-push-filters select{width:150px}
}

/* R2-028: use each chart's intrinsic width, anchored to the left. */
#databaseManagementView:not(.hidden) :is(.screening-score-chart-scroll,.screening-push-chart-scroll){text-align:left}
#databaseManagementView:not(.hidden) :is(.screening-score-chart-scroll,.screening-push-chart-scroll) svg{display:block;min-width:0;max-width:none;margin:0}
