:root{--ink:#252b37;--muted:#858c99;--brand:#2865f5;--brand-dark:#1850d6;--accent:#2865f5;--wash:#f6f7fb;--line:#e7eaf1;font-family:'Segoe UI','Microsoft YaHei UI','PingFang SC',sans-serif}
.nav-rejected-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;border-radius:99px;background:#ffe8e7;color:#a7282d;font-size:11px;font-weight:700;white-space:nowrap}
body{background:#f6f7fb;-webkit-font-smoothing:antialiased}
.sidebar{background:#fff;color:#505663;border-right:1px solid #e9ecf3;padding:24px 16px 18px}
.app-logo{gap:10px;margin-bottom:30px}.app-logo strong{color:#202632;font-size:21px;letter-spacing:.3px}.app-logo>span{background:linear-gradient(140deg,#3088ff,#42c8f5);color:#fff;border-radius:13px;box-shadow:0 4px 12px #368dff20}.app-logo small{color:#a0a6b2;border-color:#e2e6ef;background:#fafbfe}
.nav-group{margin:5px 0}.nav-group summary{color:#454b57;min-height:48px;border-radius:10px}.nav-group summary strong{font-weight:600;font-size:15px}.nav-group summary:hover{background:#f6f8fc}.nav-group summary>span{color:#777e8a}.nav-group summary i{font-size:0;width:8px;height:8px;border-right:1.5px solid #777e8a;border-bottom:1.5px solid #777e8a;transform:rotate(45deg);margin-right:4px}.nav-group[open] summary i{transform:rotate(225deg)}
.nav-group-items{border-left:1px solid #eef0f5;margin-left:17px;padding-left:8px;gap:6px}.nav-item{color:#626976;min-height:46px;font-size:14px;gap:10px;border-radius:10px;font-weight:400}.nav-item:hover{color:#2865f5;background:#f5f8ff}.nav-item.active{color:#2865f5;background:#edf3ff;box-shadow:none;font-weight:600}.nav-item span,.nav-item.active span{color:inherit}.nav-item svg,.nav-group summary svg{width:19px;height:19px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav-count{color:#2865f5;background:#e6eeff;font-weight:600}.nav-caption{color:#a2a9b6;font-size:11px;letter-spacing:1px}
.sidebar-foot{border-top:1px solid #eef0f5;padding-top:18px}.sidebar-foot strong{color:#414958;font-weight:600}.sidebar-foot small{color:#9299a6}.sidebar-foot button{color:#78818f}.sidebar-account-actions button:hover{color:#2865f5}.avatar{color:#2865f5;background:#edf3ff}
.topbar{background:#fff;border-color:#edf0f5}.store-switch button{font-weight:600}.role-identity{color:#2865f5!important;background:#f1f5ff!important;border-color:#dee8ff!important}.demo-badge{color:#9199a7!important;background:#f6f7fb!important}.icon-button{border-color:#e5e9f0;color:#929baa}.top-search input{background:#f8f9fc;border-color:#e6eaf2}.unified-search form>span{color:#929baa}
.page-heading h1{font-weight:650;letter-spacing:-.6px;color:#252b37}.breadcrumb{color:#939cab}.panel{border-color:#e7eaf1;box-shadow:0 3px 16px #28355204}.panel-head{border-color:#edf0f5}.panel-head h2,.form-section h3{font-weight:600}.primary-compact,.primary-button,.secondary-button{background:#2865f5;color:#fff;border-color:#2865f5;box-shadow:0 3px 8px #2865f51a;font-weight:600}.primary-compact:hover,.primary-button:hover{background:#1850d6}.ghost-button{border-color:#e0e5ee;color:#526071;font-weight:500}.ghost-button:hover{color:#2865f5;background:#f6f9ff;border-color:#c6d6fd}
.record-dialog-overlay{background:rgba(22,31,49,.36);backdrop-filter:blur(3px)}.record-dialog{border-radius:18px;box-shadow:0 20px 70px #16213a26}.dialog-head{border-color:#edf0f5;background:#fff}.dialog-head h2{font-weight:650;color:#252b37}.dialog-head p,.form-section-title p{color:#9099a7}.dialog-body{background:#f7f8fc}.form-section{border-color:#e5eaf2;background:#fff;border-radius:12px}.dialog-foot{border-color:#e8ecf3}.dialog-close{border-color:#e4e8ef;color:#8c95a4}.field>span{color:#697282;font-weight:500}.field input,.field select,.field textarea,.setting-field input,.setting-field select,[data-after-sales-form] textarea{border-color:#e0e5ee;background:#fff;border-radius:8px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6693ff;box-shadow:0 0 0 3px #2865f510}.detail-row,.record-detail-grid>div,.record-detail-summary>div{background:#f9fafe;border-color:#e9edf4}.record-detail-grid strong{font-weight:600}.detail-row small{color:#9099a7}.after-sales-shared{background:#f0f5ff;color:#2865f5}.after-sales-actions button{box-shadow:0 3px 8px #2865f51a}
th{background:#f8f9fc;color:#848d9d;font-weight:500}td{border-color:#eef0f5}.record-link{color:#2865f5}.status.approved{color:#399779;background:#ecf8f1}.after-sale-overdue td{background:#fff2f2;color:#c24b4b}.after-sale-resolved td{background:#f2f3f5;color:#959ca8}.quick-search-dropdown{box-shadow:0 12px 40px #18274a1f}
.login-panel{background:#f7f9ff}.login-card{border-color:#e6ebf5;box-shadow:0 20px 65px #2865f510}
.binding-age{display:inline-block;padding:5px 10px;background:#edf3ff;color:#2865f5;border-radius:7px;font-weight:600;white-space:nowrap}.binding-notes{min-width:180px;max-width:320px;white-space:pre-wrap;overflow-wrap:anywhere}.binding-bottom-row td{background:#f8f9fb;color:#9098a6}.binding-bottom-badge{color:#929baa;font-size:11px}
.record-detail-item input,.record-detail-item select,.record-payment-table input,.record-payment-table select{width:100%;min-height:36px;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font:inherit;font-weight:500}.record-detail-item input:hover,.record-detail-item select:hover,.record-payment-table input:hover,.record-payment-table select:hover{background:#fff;border-color:#dfe6f5}.record-detail-item input:focus,.record-detail-item select:focus,.record-payment-table input:focus{background:#fff;outline:none;border-color:#8aabff;box-shadow:0 0 0 3px #2865f510}.inline-notes{width:100%;min-height:90px;padding:12px;border:1px solid #e0e6f1;border-radius:8px;font:inherit;background:#fff}.inline-save-status{color:#5373ad;font-size:12px}.inline-save-status.note-save-error{color:#b33d3d}

.monthly-chart { overflow-x:auto;justify-content:flex-start;gap:8px; }
.monthly-chart .bar-group { flex:1 0 30px;min-width:30px; }
.monthly-chart .bars { gap:3px; }
.monthly-chart .bars i { width:7px; }

.option-editor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:760px){.option-editor-grid {grid-template-columns:1fr;}}

.option-setting-row:has(.game-drag-handle){grid-template-columns:30px minmax(0,1fr) 32px;}
.game-drag-handle{cursor:grab!important;color:#8c96aa!important;background:transparent!important;}
.option-setting-row.is-dragging{opacity:.5;}
[data-game-search]{margin-bottom:8px;}

.game-picker-inline{display:flex;align-items:center;gap:6px;min-width:0;}
.game-picker-inline [data-game-search]{width:42%;min-width:0;margin-bottom:0;font-size:12px;padding-left:8px;padding-right:6px;}
.game-picker-inline [data-game-select]{width:58%;min-width:0;font-size:12px;padding-left:8px;padding-right:20px;}

.game-combobox{position:relative;display:flex;align-items:stretch;border:1px solid #dce3ef;border-radius:8px;background:#fff;min-width:0;}
.game-combobox:focus-within{border-color:#2d64ff;box-shadow:0 0 0 2px #edf2ff;}
.game-combobox [data-game-search]{width:80%;min-width:0;border:0!important;box-shadow:none!important;background:transparent;}
.game-combobox [data-game-toggle]{width:20%;border:0;border-left:1px solid #edf0f6;border-radius:0 8px 8px 0;background:transparent;color:#64748b;font-size:21px;cursor:pointer;}
.game-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:20;max-height:240px;overflow-y:auto;background:#fff;border:1px solid #dce3ef;border-radius:8px;box-shadow:0 8px 24px #25345b18;padding:4px;}
.game-options button{display:block;width:100%;border:0;background:white;text-align:left;padding:9px 10px;border-radius:5px;color:#263246;cursor:pointer;}
.game-options button:hover,.game-options button:focus{background:#edf3ff;color:#2860ff;}
.game-combobox [hidden]{display:none!important;}
.record-detail-dialog .dialog-close[data-close-detail] {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #e2e9f3;
  border-radius: 12px;
  background: #f4f7fb;
  color: #536482;
  font-size: 0;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.record-detail-dialog .dialog-close[data-close-detail]::before,
.record-detail-dialog .dialog-close[data-close-detail]::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 15px;
  height: 0;
  margin: auto;
  border-top: 2px solid currentColor;
  border-radius: 2px;
  pointer-events: none;
}
.record-detail-dialog .dialog-close[data-close-detail]::before { transform: rotate(45deg); }
.record-detail-dialog .dialog-close[data-close-detail]::after { transform: rotate(-45deg); }
.record-detail-dialog .dialog-close[data-close-detail]:enabled:hover {
  border-color: #cddcff;
  background: #eaf1ff;
  color: var(--brand);
}
.record-detail-dialog .dialog-close[data-close-detail]:enabled:active { background: #e0eaff; }
.record-detail-dialog .dialog-close[data-close-detail]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.record-number-with-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.record-reversed-badge {
  padding: 3px 8px;
  border: 1px solid #facbc7;
  border-radius: 999px;
  background: #fef3f2;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.field .game-combobox{height:42px;min-height:42px;border-color:#e0e5ee;box-sizing:border-box;}
.field .game-combobox [data-game-search]{height:40px;min-height:0;margin:0;padding:0 12px;border-radius:8px 0 0 8px;line-height:normal;}
.field .game-combobox [data-game-toggle]{height:40px;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;border-left:0;color:#263246;}
.game-options button:first-child{color:#2865f5;border-bottom:1px solid #edf0f6;border-radius:5px 5px 0 0;}
/* Use one arrow for native selects and the searchable game picker. */
.record-form .field select:not([hidden]) { appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23263246' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px;padding-right:36px; }
.field .game-combobox [data-game-toggle] { position:absolute;right:0;top:0;bottom:0;width:20%;height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23263246' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px; }
.game-combobox [data-game-toggle] svg { display:none; }

.page-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}

.page-heading-actions>.ghost-button,.page-heading-actions>.page-primary{height:44px;min-height:44px;box-sizing:border-box;padding:0 20px;border-radius:10px;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;margin:0;}
.page-heading-actions > .ghost-button,
.page-heading-actions > .page-primary {
  width:124px;
  height:44px;
  min-height:44px;
  padding:0 12px;
  color:#fff;
  background:#2865f5;
  border:1px solid #2865f5;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  box-shadow:0 4px 10px #2865f51a;
}
.page-heading-actions > .ghost-button:hover,
.page-heading-actions > .page-primary:hover { background:#2058df;border-color:#2058df; }

.merchant-recovery-form{border:1px solid #e5eaf2;border-radius:12px;background:#f7f8fc;overflow:hidden}.merchant-recovery-form .form-section{margin:20px}.merchant-recovery-form .field{min-width:0}.merchant-recovery-form .dialog-foot{padding:16px 22px}.merchant-recovery-form [type=submit]{min-width:124px;height:44px;border-radius:10px}@media(max-width:1100px){.merchant-recovery-form .field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.merchant-recovery-form .form-section{margin:12px}.merchant-recovery-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-recovery-form .dialog-foot{flex-wrap:wrap}.merchant-recovery-form .dialog-foot p{display:block}}@media(max-width:420px){.merchant-recovery-form .field-grid{grid-template-columns:minmax(0,1fr)}.merchant-recovery-form .span-2{grid-column:span 1}}

.table-scroll table th.number,.table-scroll table td.number{ text-align:right;padding-left:16px;padding-right:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.merchant-recovery-form .field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23263246' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;padding-right:36px}

/* Keep record table headers and values on the same column center. */
.table-scroll .admin-records-table th.number,.table-scroll .admin-records-table td.number{text-align:center}.admin-records-table th:last-child,.admin-records-table td:last-child{text-align:center}.admin-records-table .record-row-actions{justify-content:center}

.recovery-filter{padding:20px;grid-template-columns:2fr 1fr 1fr auto;align-items:end}.recovery-records-table th,.recovery-records-table td{white-space:nowrap}.recovery-records-table td{max-width:300px;overflow-wrap:anywhere}.recovery-records-table td:nth-child(17){white-space:pre-wrap;min-width:160px}.merchant-recovery-form .field select{max-width:100%}@media(max-width:700px){.recovery-filter{grid-template-columns:1fr 1fr}}

.merchant-recovery-form [data-insurance-company][hidden]{display:none}

[data-bargainer-field][hidden]{display:none}

.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:repeat(4,minmax(0,220px))}@media(max-width:800px){.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:minmax(0,1fr)}}

.finance-inputs{grid-template-columns:repeat(4,minmax(0,220px))}.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:repeat(5,minmax(0,220px))}@media(max-width:900px){.finance-inputs,.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.finance-inputs,.finance-inputs:has([data-bargainer-field]:not([hidden])){grid-template-columns:minmax(0,1fr)}}

[data-recovery-order][hidden]{display:none}

.record-payment-table th:nth-child(3),.record-payment-table td:nth-child(3),.record-payment-table th:nth-child(4),.record-payment-table td:nth-child(4){text-align:right}.record-payment-table td:nth-child(3) input{text-align:right;padding-right:12px}.record-payment-table th:nth-child(5),.record-payment-table td:nth-child(5){text-align:center}.record-payment-table th,.record-payment-table td{vertical-align:middle}

/* Use the same axis for headers, static values and editable values. */
table th.aligned-money-column,table td.aligned-money-column,table th.aligned-action-column,table td.aligned-action-column{text-align:center!important;padding-left:16px;padding-right:16px;vertical-align:middle}
table td.aligned-money-column input{box-sizing:border-box;width:100%;text-align:center!important;padding-left:8px!important;padding-right:8px!important;font-variant-numeric:tabular-nums}
table td.aligned-money-column input[type=number]{appearance:textfield;-moz-appearance:textfield}
table td.aligned-money-column input::-webkit-inner-spin-button,table td.aligned-money-column input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
table td.aligned-action-column .record-row-actions,table td.aligned-action-column .approval-actions{justify-content:center}

/* Center recovery summary headings, values and actions consistently. */
.recovery-records-table th,.recovery-records-table td,.recovery-records-table th.number,.recovery-records-table td.number,.recovery-records-table th:first-child,.recovery-records-table td:first-child{text-align:center;vertical-align:middle}.recovery-records-table .record-row-actions{justify-content:center}.recovery-records-table .rank-scope{text-align:center}

.reapproval-changes{border:1px solid #f1a3a3!important;background:#fff5f5!important;color:#bf2222}.review-change{display:flex;gap:16px;padding:10px 0;border-bottom:1px solid #f6dcdc;overflow-wrap:anywhere}.review-change b{min-width:110px}.review-change span{white-space:pre-wrap}

.all-listing-numbers{white-space:pre-line!important;min-width:150px;overflow-wrap:anywhere}
.topbar .top-actions{margin-left:auto}
.app-logo>span.brand-logo{flex:0 0 42px;width:42px;height:42px;background:transparent;border-radius:0;box-shadow:none}.brand-logo img{display:block;width:42px;height:32px;object-fit:contain}.app-logo strong{white-space:nowrap;line-height:1.25;flex-shrink:0}
.brand-mark.brand-mark-logo{background:#fff;border:0;box-shadow:none;display:grid;place-items:center}.brand-mark-logo img{width:46px;height:32px;object-fit:contain}.login-card #login-title{margin-bottom:24px}
.brand-panel .brand-purpose{font-size:clamp(28px,3.2vw,58px);line-height:1.45;letter-spacing:.02em}.brand-purpose span{display:block;white-space:nowrap}.brand-panel .brand-copy{max-width:560px;line-height:1.8}
.brand-panel{justify-content:flex-start}.brand-panel>div:nth-child(2){position:absolute;top:40%;left:clamp(36px,6vw,88px);right:clamp(36px,6vw,88px);z-index:1}
.brand-panel>div:nth-child(2){top:22%;max-width:520px}.brand-panel .brand-purpose{font-size:clamp(26px,2.7vw,48px);line-height:1.3}.brand-panel .brand-copy{font-size:15px;line-height:1.6;margin-top:20px}
.brand-panel>div:nth-child(2){max-width:640px}.brand-panel .brand-purpose{font-size:clamp(36px,4.2vw,76px);line-height:1.3}.brand-panel .brand-copy{font-size:18px;line-height:1.7;margin-top:24px}@media(min-width:701px) and (max-width:1200px){.brand-panel .brand-purpose{font-size:clamp(30px,3.6vw,44px)}}

[data-sold-orders] .recovery-orders-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
[data-sold-orders] .recovery-orders-table :is(th, td) {
  width: auto;
  min-width: 0;
  padding: 7px 4px;
  white-space: normal;
  overflow-wrap: anywhere;
}
[data-sold-orders] .recovery-orders-table :is(th, td):first-child { width: 42px; }
[data-sold-orders] .recovery-orders-table :is(th, td):nth-child(2) { width: 84px; }
[data-sold-orders] .recovery-orders-table :is(th, td):last-child { width: 70px; }
[data-sold-orders] .recovery-orders-table .reclaimed-closure-cell {
  width: 56px;
  text-align: center;
}
.reclaimed-closure-cell input[type="checkbox"] {
  vertical-align: middle;
  cursor: pointer;
}
.reclaimed-closure-cell input[type="checkbox"]:enabled:hover {
  box-shadow: 0 0 0 3px #eef4ff;
}
.reclaimed-closure-cell input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.reclaimed-closure-cell input[type="checkbox"]:disabled { cursor: wait; }
.recovery-orders-table th small { display: block; font-weight: normal; }
.recovery-orders-table .status { padding-inline: 5px; white-space: normal; }
.merchant-recovery-form [data-source-store] [hidden] { display: none; }
.merchant-recovery-form .payout-remove-button {
  align-self: end;
  justify-self: start;
  min-height: 40px;
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #b42318;
  border-color: #f1b8b2;
  background: #fff3f1;
}
.merchant-recovery-form .payout-remove-button:hover { background: #ffe2de; }


[data-merchant-results] table {
  width: 100%;
  min-width: 830px;
  table-layout: fixed;
}
[data-merchant-results] :is(th, td) {
  padding: 7px 5px;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
[data-merchant-results] :is(th, td):first-child { width: 80px; }
[data-merchant-results] :is(th, td):last-child { width: 96px; white-space: nowrap; }
[data-merchant-results] .approval-actions {
  display: grid;
  justify-items: start;
  gap: 3px;
}
[data-merchant-results] .approval-actions button { min-width: 0; padding: 4px 5px; }






[data-merchant-results] .record-action-button { padding-inline: 5px; white-space: nowrap; }

.merchant-top-scroll { overflow-x: auto; overflow-y: hidden; height: 18px; }
.merchant-top-scroll[hidden] { display: none; }
[data-merchant-results] { scrollbar-width: none; }
[data-merchant-results]::-webkit-scrollbar { height: 0; }


.recovery-detail-dialog > .dialog-body { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.recovery-detail-dialog .merchant-recovery-form { display: flex; flex-direction: column; min-height: 0; }
.recovery-detail-dialog .recovery-detail-scroll { min-height: 0; overflow: auto; padding: 4px 20px; }
.recovery-detail-dialog .dialog-foot { position: static; flex: none; }
.recovery-detail-dialog .dialog-foot > div { margin-inline-start: auto; justify-content: flex-end; }
.recovery-detail-dialog .dialog-foot .ghost-button { height: 44px; border-radius: 10px; }
@media (max-width: 700px) {
  .recovery-detail-dialog .recovery-detail-scroll { padding-inline: 4px; }
}

.reclaimed-summary-head { flex-wrap: wrap; }
.reclaimed-summary-head h2 { margin: 0; }
.reclaimed-summary-filters { margin-inline-start: auto; }
.reclaimed-summary-filters label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
  font-size: 13px;
}
.reclaimed-summary-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}
.reclaimed-summary-toggle:hover { background: #eef4ff; }
.reclaimed-summary-toggle input[type="checkbox"],
.reclaimed-closure-cell input[type="checkbox"] {
  flex: none;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand);
}
.reclaimed-summary-filters input[type="month"] {
  width: 160px;
  height: 38px;
  min-height: 38px;
}


/* Compact tables keep complete values; overflowing tables scroll from the top. */
.table-scroll-managed { scrollbar-width: none; }
.table-scroll-managed::-webkit-scrollbar { height: 0; }
.table-top-scroll {
 position: sticky;
 top: 70px;
 z-index: 6;
 height: 16px;
 overflow-x: auto;
 overflow-y: hidden;
 background: #f3f6fb;
 scrollbar-color: #bac7dc #eef2f8;
 scrollbar-width: auto;
}
.table-top-scroll[hidden] { display: none; }
.table-top-scroll::-webkit-scrollbar { height: 12px; }
.table-top-scroll::-webkit-scrollbar-track { background: #eef2f8; }
.table-top-scroll::-webkit-scrollbar-thumb { background: #bac7dc; border: 2px solid #eef2f8; border-radius: 9px; }
.table-top-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.dialog-table-top-scroll { top: 0; }
.table-scroll-managed > table > :is(thead,tbody,tfoot) > tr > :is(th,td) {
 padding: 10px 8px;
 padding-inline: 8px !important;
 line-height: 1.45;
 vertical-align: middle;
}
.table-scroll-managed .record-row-actions { gap: 0; }
.table-scroll-managed .record-action-button,
.table-scroll-managed .record-delete-button { padding-inline: 6px; }
.table-scroll-managed .admin-records-table :is(th,td):last-child { min-width: 88px; }
.table-scroll-managed .admin-records-table td:nth-child(3),
.table-scroll-managed .admin-records-table td:nth-child(4),
.table-scroll-managed .admin-records-table td:nth-child(5) {
 max-width: 160px;
 white-space: normal;
 overflow-wrap: anywhere;
}
@media (min-width: 1100px) {
 .workspace { max-width: none; padding-inline: 28px; }
}
@media (max-width: 700px) {
 .table-top-scroll { top: 62px; }
 .dialog-table-top-scroll { top: 0; }
 .table-scroll-managed > table > :is(thead,tbody,tfoot) > tr > :is(th,td) { padding-block: 9px; }
}
