/* Step 319 — View Allocations light-mode patch.
   Scoped ONLY to the read-only check allocation popup; no financial logic touched.
   Inline dark defaults are overridden in day mode; night mode remains unchanged. */
#lotdesk-check-allocations-viewer[data-theme="day"] {
  background:rgba(20,36,55,.50)!important;
  color:#17334c!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-panel {
  background:#fff!important;
  color:#17334c!important;
  border-color:#2c9fd1!important;
  box-shadow:0 22px 72px rgba(20,45,75,.24)!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-header {
  border-bottom-color:#d3e2ed!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-header h2 {
  color:#0c304b!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-header p {
  color:#51718b!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] button[data-ld130-close] {
  background:#eef6fb!important;
  color:#16415f!important;
  border-color:#a3c6dc!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-stats>div {
  background:#f0f7fc!important;
  border-color:#ccdfeb!important;
  color:#143450!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-stats small {
  color:#3c607b!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-stats>div:last-child>div {
  color:#087759!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] #ld318-allocation-audit-summary {
  background:#f1f7fc!important;
  border-color:#b5cfe2!important;
  color:#24526d!important;
  line-height:1.5;
}
#lotdesk-check-allocations-viewer[data-theme="day"] #ld318-allocation-audit-summary[data-audit-severity="danger"] {
  background:#fff1f2!important;
  border-color:#cf7e87!important;
  color:#9b2032!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] #ld318-allocation-audit-summary[data-audit-severity="warning"] {
  background:#fff6e6!important;
  border-color:#d19a44!important;
  color:#794b15!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] #ld318-allocation-audit-summary[data-audit-severity="ok"] {
  background:#e9f7f2!important;
  border-color:#8bbfaf!important;
  color:#126b50!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-scroll table {
  color:#203b50!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-scroll thead {
  background:#e9f3fa!important;
  color:#16405d!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-scroll th {
  border-bottom:1px solid #bfd4e3!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row {
  border-bottom-color:#d6e5ef!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row td {
  color:#243e53!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row td:nth-child(2) div {
  color:#123650!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row td:nth-child(2) small {
  color:#576f85!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] button[data-ld130-open-vehicle] {
  background:#e8f5fb!important;
  border-color:#61add3!important;
  color:#055e90!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-ld318-audit-index] {
  color:#42647d!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-audit-status="missing"],
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-audit-status="mismatch"] {
  color:#aa2537!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-audit-status="unverified"],
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-audit-status="historical"] {
  color:#83510b!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-row small[data-audit-status="current"] {
  color:#146c52!important;
}
#lotdesk-check-allocations-viewer[data-theme="day"] .ld319-allocation-foot {
  color:#586f82!important;
}
@media(max-width:640px){
  #lotdesk-check-allocations-viewer .ld319-allocation-panel {padding:14px!important;max-height:94vh!important;}
  #lotdesk-check-allocations-viewer .ld319-allocation-stats>div {min-width:calc(50% - 13px)!important;box-sizing:border-box;}
  #lotdesk-check-allocations-viewer .ld319-allocation-header h2 {font-size:17px!important;}
}
