/* STEP 199 — Overhead subpages use a single approved Inventory/Deals visual language.
   This file intentionally alters presentation only. No amounts, posting, ledger rules or data changes.
   Scope every rule to the Overhead shell; do not affect Inventory / Deals / Accounting. */
#main-app .ld192-overhead-shell {
 --ld199-strong: var(--ld166-text);
 --ld199-secondary: var(--ld166-muted);
 --ld199-card: var(--ld166-panel-2);
 --ld199-surface: var(--ld166-panel);
 --ld199-divider: var(--ld166-line);
}
/* Consistent navigation (inherits the Step198 seven-tab behavior). */
#main-app .ld192-overhead-shell .ld198-tabs {gap:5px!important;align-items:center!important;margin-bottom:13px!important;padding:7px 8px!important}
#main-app .ld192-overhead-shell .ld198-tabs > button {font-size:12px!important;letter-spacing:0!important;font-weight:750!important;min-height:38px!important}
#main-app .ld192-overhead-shell .ld198-tabs > button[aria-selected="true"] {font-weight:850!important}
#main-app .ld192-overhead-shell .ld192-section-intro {margin:1px 0 12px!important;min-height:44px}
#main-app .ld192-overhead-shell .ld192-section-intro h2 {font-size:18px!important;font-weight:850!important}
#main-app .ld192-overhead-shell .ld192-section-intro p {font-size:12px!important;line-height:1.4!important;color:var(--ld199-secondary)!important}
/* One section title / header / divider system. */
#main-app .ld192-overhead-shell :is(#ops-report-panel,#ops-vehicle-panel,#ops-shop-earnings-panel,#ops-credit-container .cc119-panel,.ld198-legacy-section>.panel) {border-radius:11px!important;border:1px solid var(--ld199-divider)!important;background:var(--ld199-surface)!important;box-shadow:var(--ld166-shadow)!important;min-width:0!important;overflow:hidden!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell :is(#ops-report-panel,#ops-vehicle-panel,#ops-shop-earnings-panel,#ops-credit-container .cc119-panel,.ld198-legacy-section>.panel) > .panel-head {display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;min-height:66px!important;padding:14px 17px!important;border:0!important;border-bottom:1px solid var(--ld199-divider)!important;background:var(--ld199-surface)!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell :is(#ops-report-panel,#ops-vehicle-panel,#ops-shop-earnings-panel,#ops-credit-container .cc119-panel,.ld198-legacy-section>.panel) > .panel-head :is(h2,h3,h4) {font-size:16px!important;line-height:1.25!important;letter-spacing:0!important;font-weight:850!important;margin:0 0 4px!important;color:var(--ld199-strong)!important;text-shadow:none!important;opacity:1!important}
#main-app .ld192-overhead-shell :is(#ops-report-panel,#ops-vehicle-panel,#ops-shop-earnings-panel,#ops-credit-container .cc119-panel,.ld198-legacy-section>.panel) > .panel-head :is(p,small) {font-size:12px!important;line-height:1.4!important;color:var(--ld199-secondary)!important;text-shadow:none!important;opacity:1!important}
#main-app .ld192-overhead-shell .ld198-legacy-section {gap:12px!important}
#main-app .ld192-overhead-shell .ld198-legacy-section>.heading {display:none!important}
#main-app .ld192-overhead-shell .ld198-legacy-section>.panel > .panel-head {min-height:60px!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-payroll-panel .panel-head {min-height:68px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:14px 17px!important;margin:0!important;}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-payroll-panel .panel-head h3 {margin:0!important;font-size:16px!important;color:var(--ld199-strong)!important;line-height:1.3!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-week-controls {display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;margin:0!important;flex-wrap:wrap!important;min-width:0!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-week-controls label {margin:0!important;font-size:12px!important;color:var(--ld199-secondary)!important;font-weight:750!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-week-controls input[type="date"] {min-height:40px!important;height:40px!important;background:var(--ld166-input)!important;color:var(--ld199-strong)!important;border:1px solid var(--ld166-border)!important;color-scheme:normal!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-payroll-panel .stats {padding:4px 16px 12px!important;margin:0!important}
#main-app .ld192-overhead-shell .ld198-legacy-section .labor-payroll-panel .stat {min-height:118px!important}
/* All filters get the same surface, readable labels, consistent input shape. */
#main-app .ld192-overhead-shell :is(.ops-vehicle-controls,.ops-report-filters,.ops-register-filters,.cc119-filters) {background:var(--ld199-surface)!important;border-color:var(--ld199-divider)!important;color:var(--ld199-strong)!important;box-shadow:none!important;}
#main-app .ld192-overhead-shell :is(.ops-vehicle-controls,.ops-report-filters,.ops-register-filters,.cc119-filters) label,
#main-app .ld192-overhead-shell :is(.field label,.labor-week-controls label,.cc119-filters label) {font-size:12px!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;color:var(--ld199-secondary)!important;font-weight:800!important;text-shadow:none!important;opacity:1!important}
#main-app .ld192-overhead-shell :is(.ops-vehicle-controls,.ops-report-filters,.ops-register-filters,.cc119-filters) :is(input,select) {height:41px!important;min-height:41px!important;background:var(--ld166-input)!important;color:var(--ld199-strong)!important;border:1px solid var(--ld166-border)!important;font-size:13px!important;font-weight:650!important;opacity:1!important;text-shadow:none!important;border-radius:8px!important}
#main-app .ld192-overhead-shell :is(.ops-vehicle-controls,.ops-report-filters,.ops-register-filters,.cc119-filters) :is(input,select)::placeholder {color:var(--ld199-secondary)!important;opacity:.9!important}
#main-app .ld192-overhead-shell .ops-vehicle-controls {display:flex!important;align-items:flex-end!important;gap:10px!important;margin:0!important;padding:15px 16px!important;border:0!important;border-radius:0!important;background:var(--ld199-surface)!important}
#main-app .ld192-overhead-shell .ops-vehicle-controls>div {min-width:135px!important}
#main-app .ld192-overhead-shell .ops-vehicle-controls .ops-vehicle-search {flex:2 1 280px!important}
#main-app .ld192-overhead-shell .ops-vehicle-controls .ops-vehicle-cat-filter {flex:1 1 190px!important}
#main-app .ld192-overhead-shell .ops-vehicle-controls #ops-vehicle-clear {min-height:41px!important}
/* Vehicle expenses were the most severely faded: old navy-specific text on light cards. */
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stats {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:7px 16px 16px!important;margin:0!important}
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stat {min-width:0!important;min-height:98px!important;padding:15px 16px!important;background:var(--ld199-card)!important;color:var(--ld199-strong)!important;border:1px solid var(--ld199-divider)!important;border-top:2px solid var(--ld166-highlight)!important;border-radius:9px!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important}
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stat span {font-size:12px!important;min-height:0!important;font-weight:800!important;letter-spacing:0!important;color:var(--ld199-secondary)!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stat strong {display:block!important;margin:7px 0 0!important;padding:0!important;font-size:clamp(20px,1.9vw,29px)!important;line-height:1.2!important;font-weight:850!important;overflow-wrap:anywhere!important;white-space:normal!important;color:var(--ld199-strong)!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-notice {color:var(--ld199-secondary)!important;font-size:12px!important;line-height:1.5!important;margin:0 16px 14px!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-breakdown {padding:0!important;margin:0 16px 16px!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-cat-head {font-size:13px!important;font-weight:850!important;color:var(--ld199-strong)!important;border-color:var(--ld199-divider)!important;text-shadow:none!important;letter-spacing:0!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-category-grid {gap:8px!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-category-grid > div {background:var(--ld199-card)!important;border:1px solid var(--ld199-divider)!important;border-radius:8px!important;padding:11px 12px!important;align-items:flex-start!important;font-size:12px!important;line-height:1.4!important;min-height:60px!important;}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-category-grid span {color:var(--ld199-secondary)!important;overflow-wrap:anywhere!important;min-width:0!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-category-grid strong {color:var(--ld199-strong)!important;white-space:nowrap!important;font-weight:850!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel :is(.ops-vehicle-table,.ops-vehicle-footer) {background:var(--ld199-surface)!important;border-color:var(--ld199-divider)!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-table th {color:var(--ld199-secondary)!important;background:var(--ld199-card)!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-table td {color:var(--ld199-strong)!important;background:var(--ld199-surface)!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-table :is(small,.ops-amount) {color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-vehicle-panel .ops-vehicle-footer {font-size:12px!important}
/* Reports: replace inaccessible hard-coded white header and huge form styling. */
#main-app .ld192-overhead-shell #ops-report-panel .panel-head h3 {font-size:16px!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-report-panel .panel-head p {font-size:12px!important;color:var(--ld199-secondary)!important}
#main-app .ld192-overhead-shell #ops-report-panel .ops-report-filters {padding:16px!important;gap:11px!important;background:var(--ld199-surface)!important}
#main-app .ld192-overhead-shell #ops-report-panel .field :is(input,select,button) {font-size:13px!important;min-height:41px!important}
#main-app .ld192-overhead-shell #ops-report-panel .field label {font-size:12px!important;color:var(--ld199-secondary)!important}
#main-app .ld192-overhead-shell #ops-report-results {padding:12px 16px 20px!important;background:var(--ld199-surface)!important;color:var(--ld199-strong)!important;font-size:13px!important}
#main-app .ld192-overhead-shell #ops-report-results > div:first-child {color:var(--ld199-secondary)!important;font-size:13px!important}
#main-app .ld192-overhead-shell #ops-report-results h4 {font-size:14px!important;margin:18px 0 8px!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-report-results .stats {margin:12px 0!important;gap:10px!important}
#main-app .ld192-overhead-shell #ops-report-results .stat {min-height:115px!important}
#main-app .ld192-overhead-shell #ops-report-results table :is(td,th) {font-size:12px!important;line-height:1.45!important}
/* Credit-card pages inherit shared panel header / filters / stats, no permanent navy island in Day mode. */
#main-app .ld192-overhead-shell #ops-credit-container .cc119-panel {background:var(--ld199-surface)!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-credit-container :is(.cc119-cards,.cc119-filters,.cc119-rowtop,.cc119-stats,.cc119-guidance) {margin-left:16px!important;margin-right:16px!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-stats {gap:10px!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-card {background:var(--ld199-card)!important;border:1px solid var(--ld199-divider)!important;border-top:2px solid var(--ld166-highlight)!important;border-radius:9px!important;box-shadow:none!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-stat {background:var(--ld199-card)!important;border:1px solid var(--ld199-divider)!important;border-top:2px solid var(--ld166-highlight)!important;border-radius:9px!important;min-height:98px!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-stat strong {font-size:clamp(20px,1.9vw,29px)!important;color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-filters label {font-size:12px!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-table :is(td,th) {font-size:12px!important;line-height:1.4!important}
#main-app .ld192-overhead-shell #ops-credit-container .cc119-message {background:var(--ld199-card)!important;color:var(--ld199-strong)!important;border-color:var(--ld199-divider)!important}
/* Same table look across each subsection. No visual loss of data meaning. */
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) .table-wrap {max-width:100%!important;background:var(--ld199-surface)!important;color:var(--ld199-strong)!important;overflow-x:auto!important}
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) table {border-collapse:collapse!important;min-width:680px!important;width:100%!important;color:var(--ld199-strong)!important;background:var(--ld199-surface)!important}
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) th {padding:11px 12px!important;font-size:11px!important;text-transform:none!important;letter-spacing:.1px!important;font-weight:800!important;background:var(--ld199-card)!important;color:var(--ld199-secondary)!important;border-bottom:1px solid var(--ld199-divider)!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) td {padding:11px 12px!important;font-size:12px!important;color:var(--ld199-strong)!important;border-bottom:1px solid var(--ld199-divider)!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) td strong {color:var(--ld199-strong)!important}
#main-app .ld192-overhead-shell :is(.ld198-legacy-section,#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) :is(.muted,small,.ops-vehicle-notice) {color:var(--ld199-secondary)!important;opacity:1!important}
/* Keep action colors and distinctions, and guarantee button text contrast. */
#main-app .ld192-overhead-shell .ld198-legacy-section :is(button.primary,button.secondary,button.danger),
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) :is(button.primary,button.secondary,button.danger) {font-size:12px!important;font-weight:800!important;min-height:36px!important;border-radius:7px!important;opacity:1!important;text-shadow:none!important}
#main-app .ld192-overhead-shell .ld198-legacy-section button.secondary,
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) button.secondary {background:var(--ld199-card)!important;color:var(--ld199-strong)!important;border:1px solid var(--ld166-border)!important}
#main-app .ld192-overhead-shell .ld198-legacy-section button.primary,
#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-report-panel,#ops-credit-container) button.primary {background:#087fcb!important;color:#fff!important;border:1px solid #14afe5!important}
#main-app .ld192-overhead-shell :is(button,select,input):focus-visible {outline:2px solid var(--ld166-highlight)!important;outline-offset:2px!important}
/* Responsive without dropping any nav items, and without hiding headings. */
@media(max-width:1300px) {#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stats {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px) {#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stats {grid-template-columns:repeat(2,minmax(0,1fr))!important}#main-app .ld192-overhead-shell #ops-credit-container .cc119-stats {grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:550px) {#main-app .ld192-overhead-shell :is(#ops-vehicle-panel,#ops-shop-earnings-panel) .ops-vehicle-stats {grid-template-columns:1fr!important}#main-app .ld192-overhead-shell .ld198-legacy-section .labor-week-controls {justify-content:flex-start!important}}

/* Step 295 — Dedicated in-house earnings panel, visible only in Car Expenses. */
#main-app .ld192-overhead-shell #ops-shop-earnings-panel {margin:0 0 12px!important;padding:0!important;}
#main-app .ld192-overhead-shell #ops-shop-earnings-panel .ops-vehicle-stat small {display:block!important;margin-top:8px!important;font-size:12px!important;line-height:1.45!important;color:var(--ld199-secondary)!important;opacity:1!important;text-shadow:none!important;white-space:normal!important;}
#main-app .ld192-overhead-shell #ops-shop-earnings-panel .ops-vehicle-notice {text-transform:none!important;}
