/* Step 156 · Single full pricing analysis + compact Express Value side panel.
   Preserve myLotDesk's approved dark/navy/cyan theme; no additional popups. */
#content .ld156-full{font-size:12px;color:#d8edf8;display:flex;flex-direction:column;gap:13px}
#content .ld156-overview{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #2c5e72;padding:0 1px 13px}
#content .ld156-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px}
#content .ld156-price>strong{font-size:clamp(23px,2.2vw,31px);color:#80f8c4;line-height:1.15;font-weight:900}
#content .ld156-price>span{font-size:12px;color:#cee5f1}
#content .ld156-price>small{display:block;flex-basis:100%;font-size:11px;color:#9ec1d1}
#content .ld156-level{font-size:11px;font-weight:850;color:#d6f0ff;white-space:nowrap;border:1px solid #4b7688;border-radius:15px;padding:5px 9px}
#content .ld156-level.high{color:#9aefb6;border-color:#356f58}
#content .ld156-level.medium{color:#f0d697;border-color:#88734a}
#content .ld156-level.low,#content .ld156-level.insufficient{color:#f6b0a0;border-color:#95584f}
#content .ld156-modebar{display:flex;flex-direction:column;gap:6px}
#content .ld156-modebuttons{display:flex;gap:7px;flex-wrap:wrap}
#content .ld156-modebuttons button{background:#103049;color:#d7effb;border:1px solid #38718a;border-radius:7px;font-size:12px;font-weight:850;min-height:35px;padding:5px 13px;cursor:pointer}
#content .ld156-modebuttons button.active{color:#062434;background:#65dcf2;border-color:#65dcf2}
#content .ld156-modebar p{margin:0;color:#d1e7f2;line-height:1.5;font-size:11px}
#content .ld156-modebar>small{color:#94bece;font-size:10.5px}
#content .ld156-evidence{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #27536b;border-bottom:1px solid #27536b;padding:12px 0}
#content .ld156-evidence>div:first-child{border-right:1px solid #27536b;padding-right:15px}
#content .ld156-evidence b{font-size:12px;color:#b9f1ff}
#content .ld156-evidence p{font-size:11px;color:#b1cfde;line-height:1.65;margin:4px 0 0}
#content .ld156-evidence p b{color:#e2f5fb;font-size:11px}
#content .ld156-method{margin:0;padding:0 0 10px;border-bottom:1px solid #27536b}
#content .ld156-method summary{font-size:12px;color:#7eddf4;font-weight:850;cursor:pointer}
#content .ld156-method>p{font-size:11px;color:#adc9d7;line-height:1.55}
#content .ld156-manual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#content .ld156-manual label{display:flex;flex-direction:column;gap:5px;color:#bfd9e5;font-size:11px;font-weight:800}
#content .ld156-manual label small{color:#96b7c8;font-size:10px;font-weight:500}
#content .ld156-manual .ld156-enable{grid-column:1/-1;flex-direction:row;align-items:center;gap:10px;color:#f8e5bb}
#content .ld156-manual .ld156-enable input{width:18px;min-height:18px;flex:0 0 auto}
#content .ld156-historyhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
#content .ld156-historyhead b{font-size:14px;color:#f2fbff}
#content .ld156-historyhead small{display:block;color:#aac6d6;font-size:11px;margin-top:3px}
#content .ld156-historyhead button,#content .ld156-more{border:1px solid #417b93;border-radius:7px;color:#d8f1ff;background:#153e53;font-size:11px;font-weight:750;min-height:32px;padding:7px 13px;cursor:pointer}
#content .ld156-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:12px 0;border-top:1px solid #244e65}
#content .ld156-filters label{display:flex;flex-direction:column;gap:5px;color:#b5d9e8;font-size:10.5px;font-weight:800}
#content .ld156-filters select,#content .ld156-filters input{min-height:36px;padding:7px;background:#0d2e46;color:#e8f9ff;border:1px solid #3c708b;border-radius:7px}
#content .ld156-filters .ld156-search{grid-column:span 2}
#content .ld156-filters>button{margin-top:auto;min-height:36px;background:#13415b;border:1px solid #377590;color:#d5f1fd;border-radius:7px;font-weight:800;cursor:pointer}
#content .ld156-tablewrap{overflow-x:auto;overflow-y:auto;max-height:535px;border:1px solid #295369;border-radius:8px;overscroll-behavior:contain}
#content .ld156-tablewrap table{width:100%;min-width:940px;background:#0a2639;border-collapse:collapse}
#content .ld156-tablewrap th{position:sticky;top:0;background:#11435c;color:#bce8f5;font-size:10px;text-align:left;white-space:nowrap;padding:10px 9px}
#content .ld156-tablewrap td{border-top:1px solid #26475d;color:#e4f4fc;padding:9px;font-size:11px;vertical-align:top}
#content .ld156-tablewrap td small{display:block;color:#98bac9;font-size:10px;line-height:1.5;margin-top:3px}
#content .ld156-tablewrap tr.ld156-priced{background:#113a48}
#content .ld156-tablewrap tr.ld156-context{opacity:.84}
#content .ld156-tablewrap td:first-child button{width:27px;min-height:27px;padding:0;background:#103147;border:1px solid #477388;border-radius:6px;color:#d8eefa;cursor:pointer}
#content .ld156-used{color:#83ecc0;font-size:10px}
#content .ld156-notused{color:#bbcad5;font-size:10px}
#content .ld156-foot{font-size:10.5px;color:#9cbbc9;line-height:1.55;margin:1px 0 0}
#content .ld156-notes{border-left:2px solid #a88f55;padding:0 12px;color:#ead3ac;background:#52452a22}
#content .ld156-notes p{font-size:10.5px;line-height:1.6;margin:6px 0}
#content .ld156-caution{background:#45362c33;color:#f1ca98;border-left:3px solid #cba362;font-size:11px;padding:9px}
#content .ld156-manual-override .ld152-quick-summary{border-color:#e8ae76;background:#3b3129}
#content .ld151-page-head .ld151-back{font-size:12px}
#content .ld151-history .ld151-section-title{margin-bottom:12px}
#content .ld151-finance-head{padding:14px 18px 11px}
#content .ld151-calculator-body{padding:15px 18px 8px}
#content .ld151-finance .ld151-rule{margin:13px 0}
#content .ld151-bid-result{padding:13px 18px}
#content .ld152-quick-summary{padding:9px 18px}
@media(max-width:1070px){#content .ld156-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#content .ld156-evidence{grid-template-columns:1fr;gap:8px}#content .ld156-evidence>div:first-child{border-right:0;border-bottom:1px solid #2a5169;padding:0 0 8px}#content .ld156-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#content .ld156-overview{align-items:flex-start}#content .ld156-price>strong{font-size:25px}#content .ld156-manual{grid-template-columns:1fr}#content .ld156-modebuttons button{flex:1}}
#content .ld156-live-auction{margin:0 18px;padding:11px 0;border-top:1px solid #28556c;border-bottom:1px solid #28556c}
#content .ld156-live-auction summary{color:#7de1f7;cursor:pointer;font-size:12px;font-weight:800}
#content .ld156-live-auction summary span{color:#8bafc4;font-size:10px;font-weight:500}
#content .ld156-live-auction label{margin-top:10px}
#content #ld156-bid-verdict{display:flex;flex-direction:column;gap:3px;margin-top:8px}
#content #ld156-bid-verdict strong{color:#e9d59e;font-size:12px}
#content #ld156-bid-verdict small{color:#b7d3df;font-size:10px;line-height:1.5}

#content .ld156-low-confidence .ld151-bid-result strong{color:#f2d28b!important}
#content .ld156-low-confidence .ld151-live-dot{color:#f2d28b!important;border-color:#806a3f!important}


/* Step 157 — visible, meaningfully distinct confidence states.
   Appearance only: no changes to pricing, comparable selection, or bid maths. */
#content .ld156-overview{align-items:center;flex-wrap:wrap}
#content .ld156-level{
 --ld157-rgb:119,195,221;
 display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;
 min-width:195px;max-width:260px;box-sizing:border-box;
 border:2px solid rgba(var(--ld157-rgb),.8);border-radius:11px;
 padding:10px 13px;background:rgba(var(--ld157-rgb),.10);
 color:rgb(var(--ld157-rgb));font-weight:900;font-size:12px;
 white-space:normal;line-height:1.25;flex-shrink:0;
 box-shadow:0 0 0 1px rgba(var(--ld157-rgb),.15),0 0 14px rgba(var(--ld157-rgb),.10);
 animation:ld157-confidence-breathe 4s ease-in-out infinite;
}
#content .ld156-level .ld157-level-icon{
 width:28px;height:28px;flex:0 0 28px;border:2px solid currentColor;
 border-radius:50%;display:grid;place-items:center;
 font-size:18px;font-weight:900;line-height:1;
}
#content .ld156-level .ld157-level-text{display:flex;flex-direction:column;gap:3px;min-width:0}
#content .ld156-level .ld157-level-text strong{color:inherit;font-size:12px;letter-spacing:.35px;font-weight:900}
#content .ld156-level .ld157-level-text small{font-size:10px;line-height:1.3;font-weight:650;letter-spacing:0;color:#d4e5ec}
#content .ld156-level.low{
 --ld157-rgb:255,194,83;
 color:#ffd178;border-color:#ffbf48;background:rgba(130,76,12,.25);
 animation:ld157-confidence-breathe 1.85s ease-in-out infinite;
}
#content .ld156-level.medium{
 --ld157-rgb:96,197,245;
 color:#8be0ff;border-color:#57b9eb;background:rgba(30,100,137,.25);
 animation:ld157-confidence-breathe 3.2s ease-in-out infinite;
}
#content .ld156-level.high{
 --ld157-rgb:94,237,166;
 color:#9cf7c3;border-color:#58dba0;background:rgba(19,104,75,.21);
 animation:ld157-confidence-breathe 4.8s ease-in-out infinite;
}
#content .ld156-level.insufficient{
 --ld157-rgb:255,133,115;
 color:#ffc1b3;border-color:#ef7e71;background:rgba(139,44,34,.27);
 animation:ld157-confidence-breathe 1.85s ease-in-out infinite;
}
@keyframes ld157-confidence-breathe{
 0%,100%{box-shadow:0 0 0 1px rgba(var(--ld157-rgb),.17),0 0 10px rgba(var(--ld157-rgb),.08)}
 50%{box-shadow:0 0 0 4px rgba(var(--ld157-rgb),.11),0 0 22px rgba(var(--ld157-rgb),.29)}
}
#content .ld157-express-status{margin-top:8px}
#content .ld157-express-status .ld156-level{width:100%;min-width:0;max-width:none;padding:8px 10px;gap:8px}
#content .ld157-express-status .ld157-level-icon{height:24px;width:24px;flex-basis:24px;font-size:16px}
#content .ld157-express-status .ld157-level-text strong{font-size:11px}
#content .ld157-manual-note{display:block;margin-top:6px;color:#d6ba9a!important;line-height:1.4}
@media(max-width:700px){#content .ld156-level{min-width:0;max-width:100%;width:100%}#content .ld156-overview{align-items:stretch}#content .ld156-price{width:100%}}
@media(prefers-reduced-motion:reduce){#content .ld156-level{animation:none!important}}
@media(prefers-contrast:more){#content .ld156-level{border-width:3px;background:#071e2d}#content .ld156-level .ld157-level-text small{color:#fff}}

/* Step 158: small, inline disclosure for nearby-year low-mileage matching. */
.ld158-year-match{border-left:3px solid #50c7e9;padding:8px 12px;margin:8px 0 12px;background:rgba(45,152,192,.08);font-size:12px;line-height:1.5;color:#cae9f3}
.ld158-year-match b{color:#70dcf3}
@media(prefers-reduced-motion:reduce){.ld158-year-match{scroll-behavior:auto}}

/* Step 159: inline nearby-year historical evidence, without additional cards */
.ld159-archive-status{font-size:11px;color:#a6c8d8;margin:10px 0!important}
.ld159-archive-alert{font-size:12px;margin:10px 0;padding:9px 12px;color:#ffd78a;border-left:3px solid #e7ac3f;background:#302819}
.ld159-archive-alert button{margin-left:12px;padding:5px 10px;border:1px solid #e7ac3f;border-radius:6px;color:#ffdfa8;background:transparent;cursor:pointer}
.ld159-discovery{margin:13px 0 14px;padding:11px 0;border-top:1px solid #33627b;border-bottom:1px solid #33627b}
.ld159-discovery-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 17px;margin-bottom:8px}
.ld159-discovery-heading b{color:#8fe1f6;font-size:14px}
.ld159-discovery-heading small{color:#a8cadb;font-size:11px}
.ld159-discovery table{width:100%;border-collapse:collapse;font-size:12px}
.ld159-discovery th{text-align:left;color:#abcadb;text-transform:uppercase;font-size:10px;border-bottom:1px solid #2e566e;padding:8px 6px}
.ld159-discovery td{padding:9px 6px;border-bottom:1px solid #21435b;vertical-align:top}
.ld159-discovery td small{display:block;color:#a8cadb;margin-top:3px;font-size:10px}
.ld159-discovery details{margin-top:10px;color:#b1cfe0}
.ld159-discovery summary{cursor:pointer;font-size:12px;color:#73d4fa}
@media(max-width:720px){.ld159-discovery{overflow-x:auto}.ld159-discovery table{min-width:660px}}

.ld159-discovery>summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 17px;cursor:pointer;list-style:revert;color:#8fe1f6;font-size:13px}
.ld159-discovery>summary small{font-size:11px;color:#a8cadb;font-weight:400}
.ld159-discovery .ld159-discovery-inner{margin-top:10px}

/* Step 160 -- make valuation recalculation verifiable, never imply that mere
   context rows were included in a computed wholesale estimate. */
.ld160-change:not(:empty){margin:8px 0 12px;padding:10px 12px;background:#10364a;border-left:4px solid #5cdaef;border-radius:6px;color:#dbfaff;font-size:12px;font-weight:700;line-height:1.5}
.ld160-match-explanation{display:block;color:#ffd690;font-size:12px;line-height:1.6;padding-top:5px}
.ld160-broader{display:flex!important;gap:11px;align-items:flex-start;margin:12px 0;padding:13px;background:#38260d;border:1px solid #c48d3f;border-radius:9px;cursor:pointer}
.ld160-broader input{margin-top:5px;accent-color:#f2bb66;flex-shrink:0;width:18px;height:18px}
.ld160-broader strong{font-size:13px;color:#ffe0a3}
.ld160-broader small{display:block;color:#f2cf96;line-height:1.5;margin-top:4px}
.ld160-scenario-label{display:block;color:#f9c679!important;font-weight:800!important}
.ld156-context button[data-ld156-exclude]{opacity:.65}

#content .ld156-tablewrap tr.ld156-context td:first-child button{width:39px;font-size:9px;font-weight:700;color:#c1d4df}

/* Step 165 — Fix Adjust Matching checkbox inheriting the full-width vehicle
   input rule. Do not change scenario selection, pricing, or Express logic. */
#content .ld151-editor label.ld160-broader{
  display:flex!important;
  box-sizing:border-box;
  width:100%;max-width:100%;min-width:0;
  align-items:flex-start;justify-content:flex-start;
  gap:12px;margin:10px 0;padding:12px 14px;
  background:#322510;border:1px solid #9b7640;
  border-left:3px solid #f3bc63;
  border-radius:8px;
  cursor:pointer;
}
#content .ld151-editor label.ld160-broader > input[type="checkbox"]{
  appearance:auto;
  width:18px!important;max-width:18px!important;min-width:18px!important;
  height:18px!important;max-height:18px!important;min-height:18px!important;
  flex:0 0 18px!important;
  margin:1px 0 0!important;padding:0!important;
  accent-color:#f2bb66;cursor:pointer;
}
#content .ld151-editor label.ld160-broader > span{
  display:block;flex:1 1 auto;min-width:0;max-width:100%;
  overflow-wrap:break-word;word-break:normal;line-height:1.5;
}
#content .ld151-editor label.ld160-broader > span > strong{
  display:block;font-size:12px;line-height:1.4;color:#ffe0a3;
}
#content .ld151-editor label.ld160-broader > span > small{
  display:block;margin:3px 0 0;font-size:11px;line-height:1.45;
  color:#dfc397;white-space:normal;
}
#content .ld151-editor label.ld160-broader:focus-within{
  outline:2px solid #6edff3;outline-offset:2px;
}
@media(max-width:620px){
  #content .ld151-editor label.ld160-broader{padding:10px;gap:10px}
}
