/* Customer 360 and Van Sales journey — final presentation layer. */
#reportPanelCustomer{--c360-navy:#10344d;--c360-blue:#1e617d;--c360-red:#c90031;--c360-green:#087b66;--c360-soft:#f3f7f9}

/* Customer directory */
#reportPanelCustomer>.report-filter-card{display:grid!important;grid-template-columns:minmax(280px,.78fr) minmax(360px,1.22fr)!important;align-items:stretch!important;gap:14px!important;padding:18px!important;border:1px solid var(--border)!important;border-radius:18px!important;background:var(--surface)!important;box-shadow:0 8px 24px rgba(16,52,77,.06)!important}
#reportPanelCustomer>.report-filter-card .filter-heading{display:flex!important;grid-column:1/-1;align-items:center;justify-content:space-between;gap:16px;padding:0 0 12px;border-bottom:1px solid var(--border)}
#reportPanelCustomer>.report-filter-card .filter-heading>div{display:flex;align-items:center;gap:10px}#reportPanelCustomer .report-code{display:grid;width:42px;height:42px;place-items:center;border-radius:11px;background:var(--c360-navy);color:#fff;font-size:10px;font-weight:900}
#reportPanelCustomer>.report-filter-card .filter-heading strong{display:block;font-size:17px}#reportPanelCustomer>.report-filter-card .filter-heading span span{display:block;margin-top:2px;color:var(--muted);font-size:10px}
#reportPanelCustomer>.report-filter-card .filter-step{padding:6px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.06em}
#reportPanelCustomer>.report-filter-card>.period-control{display:grid!important;grid-column:1!important;grid-row:2/span 3!important;gap:11px!important;margin:0!important;padding:14px!important;border:1px solid var(--border)!important;border-radius:14px!important;background:var(--c360-soft)!important}
#reportPanelCustomer .period-control-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#reportPanelCustomer .period-control-head>div{display:flex;align-items:center;gap:7px}#reportPanelCustomer .period-control-head strong{font-size:11px}#reportPanelCustomer .period-control-head>span{font-size:9px}
#reportPanelCustomer .report-date-grid{display:none!important}#reportPanelCustomer .date-presets{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px!important}#reportPanelCustomer .date-presets button{min-height:35px!important;padding:6px!important;border-radius:8px!important;font-size:9px!important}
#reportPanelCustomer>.report-filter-card>label{grid-column:2!important;align-self:end;margin:0 0 -6px;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
#reportPanelCustomer>.report-filter-card>.report-search{grid-column:2!important;align-self:start;min-height:58px;margin:0!important;border:2px solid color-mix(in srgb,var(--c360-blue) 28%,var(--border));border-radius:14px;background:var(--surface);box-shadow:0 7px 18px rgba(16,52,77,.07)}
#reportPanelCustomer>.report-filter-card>.report-search:focus-within{border-color:var(--c360-blue);box-shadow:0 0 0 4px color-mix(in srgb,var(--c360-blue) 13%,transparent)}#reportPanelCustomer>.report-filter-card>.report-search input{height:56px!important;padding-inline:46px 14px!important;border:0!important;background:transparent!important;font-size:16px!important;font-weight:700}
#reportPanelCustomer>.report-filter-card>.customer-directory-filters{grid-column:2!important;grid-row:4!important;align-self:start;margin:0!important}
#reportPanelCustomer .report-result-head{display:flex;align-items:center;justify-content:space-between;margin:12px 0 8px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}#reportPanelCustomer .report-result-head strong{font-size:14px}#reportPanelCustomer .report-result-head span{margin-top:2px;color:var(--muted);font-size:10px}
#reportPanelCustomer .customer-directory-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
#reportPanelCustomer .customer-directory-v2 .report-customer-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) minmax(105px,.34fr) 20px!important;align-items:center!important;gap:11px!important;min-height:118px!important;padding:13px!important;border:1px solid var(--border)!important;border-left:3px solid transparent!important;border-radius:14px!important;background:var(--surface)!important;box-shadow:0 4px 14px rgba(16,52,77,.035)!important;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
#reportPanelCustomer .customer-directory-v2 .report-customer-row:hover,#reportPanelCustomer .customer-directory-v2 .report-customer-row:focus-visible{border-color:color-mix(in srgb,var(--c360-blue) 38%,var(--border))!important;border-left-color:var(--c360-red)!important;box-shadow:0 9px 22px rgba(16,52,77,.1)!important;transform:translateY(-1px)}
.customer-result-index{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#edf3f6;color:var(--c360-navy);font-size:10px;font-weight:900;font-variant-numeric:tabular-nums}.report-customer-copy{display:grid;gap:4px;min-width:0}.report-customer-copy .customer-result-code{color:var(--c360-red)!important;font-size:8px!important;font-weight:900;letter-spacing:.07em}.report-customer-copy>strong{overflow:hidden;font-size:12px!important;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.report-customer-copy>em{overflow:hidden;color:var(--muted);font-size:9px!important;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.customer-result-visits{display:flex!important;align-items:center;gap:5px;flex-wrap:wrap;margin-top:3px}.customer-result-visits>b{margin-right:3px;color:var(--ink);font-size:9px}.customer-result-visits>span{display:inline-flex!important;gap:2px;padding:3px 6px;border-radius:999px;background:var(--success-soft);color:var(--success);font-size:8px!important}.customer-result-visits>span b{font-size:8px!important}
#reportPanelCustomer .report-customer-owner{display:grid;align-content:center;gap:3px;min-height:54px;padding-left:11px;border-left:1px solid var(--border)}#reportPanelCustomer .report-customer-owner small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}#reportPanelCustomer .report-customer-owner strong{overflow:hidden;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}#reportPanelCustomer .row-chevron{color:var(--c360-blue)}

/* Customer 360 detail */
#historyDetail .customer-command-view{--c360-navy:#10344d;--c360-blue:#1e617d;--c360-red:#c90031;--c360-green:#087b66;--c360-soft:#f3f7f9;width:min(1180px,100%);gap:14px!important;margin:0 auto!important;font-size:14px!important}
#historyDetail .customer-command-view :is(.customer-report-summary,.customer-period-overview,.customer-visit-history){padding:18px!important;border:1px solid var(--border)!important;border-radius:18px!important;background:var(--surface)!important;box-shadow:0 7px 22px rgba(16,52,77,.055)!important}
#historyDetail .customer-command-view .customer-report-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px!important;border-top:0!important;border-left:4px solid var(--c360-red)!important;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--authority-soft) 28%,var(--surface)))!important}
#historyDetail .customer-command-view .customer-report-toolbar{grid-column:1/-1;display:flex!important;align-items:center;justify-content:space-between;margin:0!important;padding:0 0 10px!important;border-bottom:1px solid var(--border)!important}#historyDetail .customer-command-view .report-back{display:inline-flex;align-items:center;gap:6px;min-height:38px!important;padding:7px 9px!important;border:1px solid var(--border)!important;border-radius:9px!important;background:var(--surface)!important;font-size:10px!important}
#historyDetail .customer-command-view .customer-summary-identity{display:grid!important;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:0!important;margin:0!important;border:0!important}#historyDetail .customer-command-view .customer-code-badge{display:grid!important;width:48px;height:48px;place-items:center;border-radius:13px;background:var(--c360-navy);color:#fff;font-size:11px;font-weight:900}
#historyDetail .customer-command-view .customer-summary-identity h2{margin:3px 0 0!important;font-size:clamp(18px,2vw,25px)!important;line-height:1.25!important}#historyDetail .customer-command-view .customer-summary-identity p{margin:6px 0 0!important;font-size:11px!important}#historyDetail .customer-command-view .eyebrow{color:var(--c360-red)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.09em!important}
#historyDetail .customer-command-view .wl-followup-label{grid-column:2;grid-row:2;align-self:center;min-width:250px;min-height:64px!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:var(--surface)!important}#historyDetail .customer-command-view .wl-followup-label strong{font-size:12px!important}#historyDetail .customer-command-view .wl-followup-label small{font-size:9px!important}
#historyDetail .customer-command-view .cp-actions{grid-column:1/-1;display:flex;gap:8px;margin:0!important}#historyDetail .customer-command-view .cp-actions button{min-height:38px!important;padding:7px 11px!important;font-size:10px!important}
#historyDetail .customer-command-view .customer-context-grid{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px!important;margin:0!important;padding:0!important}#historyDetail .customer-command-view .customer-context-grid>span{display:grid;gap:3px;padding:10px 11px!important;border:1px solid var(--border)!important;border-radius:10px;background:var(--surface)!important}#historyDetail .customer-command-view .customer-context-grid small{font-size:8px!important;text-transform:uppercase!important;letter-spacing:.05em}#historyDetail .customer-command-view .customer-context-grid strong{font-size:12px!important}
#historyDetail .customer-command-view .customer-period-overview{display:grid!important;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:14px 18px!important}#historyDetail .customer-command-view .report-block-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin:0!important;padding-bottom:10px!important;border-bottom:1px solid var(--border)!important}#historyDetail .customer-command-view .report-block-heading h2{font-size:17px!important}
#historyDetail .customer-command-view .customer-inline-range{display:grid!important;grid-template-columns:1fr 1fr;align-items:end;gap:8px!important;margin:0!important;padding:12px!important;border:1px solid var(--border);border-radius:12px;background:var(--c360-soft)}#historyDetail .customer-command-view .customer-inline-range label{font-size:9px!important}#historyDetail .customer-command-view .customer-inline-range input{min-height:40px!important;padding:8px!important;font-size:12px!important}#historyDetail .customer-command-view .customer-inline-range button{grid-column:1/-1;min-height:38px!important;padding:7px 10px!important;border:0!important;background:var(--c360-navy)!important;color:#fff!important;text-align:center}
#historyDetail .customer-command-view .customer-overview-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;padding:0!important;border:0!important}#historyDetail .customer-command-view .customer-overview-metrics>div{display:grid;align-content:center;gap:2px;min-height:92px!important;padding:12px!important;border:1px solid var(--border)!important;border-top:3px solid var(--c360-blue)!important;border-radius:12px!important;background:var(--surface)!important}#historyDetail .customer-command-view .customer-overview-metrics strong{font-size:20px!important}#historyDetail .customer-command-view .customer-overview-metrics span{font-size:10px!important;font-weight:800}#historyDetail .customer-command-view .customer-overview-metrics small{font-size:8px!important}
#historyDetail .customer-command-view .customer-kpi-row{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:11px;background:var(--c360-soft)}#historyDetail .customer-command-view .customer-kpi-row>span{font-size:9px!important;font-weight:900;text-transform:uppercase}
#historyDetail .customer-command-view .customer-downloads{grid-column:1/-1;display:flex!important;justify-content:flex-start;gap:8px;margin:0!important;padding:0!important;border:0!important}#historyDetail .customer-command-view .customer-downloads button{min-height:38px!important;padding:7px 11px!important;border:1px solid var(--border)!important;border-radius:9px!important;background:var(--surface)!important}
#historyDetail .customer-command-view .customer-visit-history{display:grid!important;gap:11px!important}#historyDetail .customer-command-view .timeline-heading{padding-bottom:10px!important}#historyDetail .customer-command-view .timeline-heading>span{font-size:9px!important}
#historyDetail .customer-command-view .customer-history-source-filter{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;padding:5px;border:1px solid var(--border);border-radius:12px;background:var(--c360-soft)}#historyDetail .customer-command-view .customer-history-source-filter button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px!important;padding:6px 9px!important;border:0!important;border-radius:8px!important;background:transparent!important;font-size:10px!important;text-align:center}#historyDetail .customer-command-view .customer-history-source-filter button.active{background:var(--c360-navy)!important;color:#fff!important;box-shadow:0 3px 9px rgba(16,52,77,.18)}#historyDetail .customer-command-view .customer-history-source-filter button strong{color:inherit!important;font-size:9px!important}
#historyDetail .customer-command-view #customerHistoryVisitList{display:grid;gap:8px}#historyDetail .customer-command-view .customer-history-visit{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:11px!important;padding:12px!important;border:1px solid var(--border)!important;border-left:3px solid var(--c360-green)!important;border-radius:13px!important;background:var(--surface)!important;box-shadow:0 3px 12px rgba(16,52,77,.035)!important}#historyDetail .customer-command-view .customer-history-visit:hover,#historyDetail .customer-command-view .customer-history-visit:focus-visible{border-color:color-mix(in srgb,var(--c360-blue) 36%,var(--border))!important;box-shadow:0 8px 20px rgba(16,52,77,.09)!important}
#historyDetail .customer-command-view .visit-sequence{display:grid!important;width:34px;height:34px;place-items:center;border-radius:9px;background:var(--c360-soft);color:var(--c360-navy);font-size:9px;font-weight:900}#historyDetail .customer-command-view .customer-history-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px!important}#historyDetail .customer-command-view .customer-history-top{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important}#historyDetail .customer-command-view .customer-history-top small{font-size:9px!important}#historyDetail .customer-command-view .customer-history-top strong{margin:3px 0!important;font-size:13px!important}#historyDetail .customer-command-view .customer-history-top em{font-size:9px!important}
#historyDetail .customer-command-view .customer-history-facts{display:flex!important;gap:5px!important;margin:0!important}#historyDetail .customer-command-view .customer-history-facts>span{display:grid!important;grid-template-columns:auto auto;align-items:center;gap:2px 5px!important;min-width:92px;padding:7px 8px!important;border:1px solid var(--border)!important;border-radius:9px;background:var(--c360-soft)!important}#historyDetail .customer-command-view .customer-history-facts svg{grid-row:1/3;width:14px!important;height:14px!important}#historyDetail .customer-command-view .customer-history-facts b{font-size:10px!important}#historyDetail .customer-command-view .customer-history-facts small{font-size:8px!important}
#historyDetail .customer-command-view .customer-history-kpis{display:flex;align-items:center;justify-content:flex-end;gap:4px}#historyDetail .customer-command-view .customer-history-open{grid-column:1/-1;display:flex!important;align-items:center;justify-content:space-between;margin:0!important;padding:7px 0 0!important;border-top:1px solid var(--border);color:var(--c360-blue)!important}#historyDetail .customer-command-view .customer-history-open strong{font-size:10px!important;color:var(--c360-blue)!important}#historyDetail .customer-command-view .customer-history-open small{font-size:8px!important}

/* Van Sales journey: readable milestone cards. */
.ta-directory .ta-branch.ta-has-van-journey>summary{grid-template-columns:minmax(180px,.9fr) minmax(125px,.48fr) minmax(500px,1.55fr) auto!important;gap:14px!important}
.ta-directory .ta-van-journey{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important;overflow:visible!important;border:0!important;background:transparent!important}
.ta-directory .ta-journey-step{display:grid!important;grid-template-rows:auto auto 18px;align-content:center;gap:4px!important;min-height:76px!important;padding:10px 11px!important;border:1px solid var(--family-line)!important;border-radius:11px;background:var(--family-surface)!important;box-shadow:0 3px 10px rgba(16,52,77,.035)}
.ta-directory .ta-journey-step:before{left:auto!important;right:9px!important;top:10px!important;width:7px!important;height:7px!important}.ta-directory .ta-journey-step small{padding-right:12px;color:var(--family-muted)!important;font-size:8px!important;letter-spacing:.08em!important}.ta-directory .ta-journey-step>strong{font-size:13px!important;line-height:1.25!important}.ta-directory .ta-journey-step>em{align-self:end;color:var(--family-muted)!important;font-size:8px!important}
.ta-directory .ta-loading-step{background:color-mix(in srgb,var(--family-good) 5%,var(--family-surface))!important}.ta-directory .ta-loading-range{display:flex!important;align-items:center;gap:5px!important}.ta-directory .ta-loading-range b{font-size:11px!important}.ta-directory .ta-loading-range i{display:grid!important;width:19px;height:19px!important;place-items:center;border-radius:6px!important;background:color-mix(in srgb,var(--family-good) 13%,var(--family-surface))!important;color:var(--family-good);font-size:10px;font-style:normal;font-weight:900}.ta-directory .ta-loading-range i:before,.ta-directory .ta-loading-range i:after{display:none!important}
.ta-directory .ta-loading-step .ta-loading-duration{display:flex!important;align-items:baseline;gap:4px;align-self:end;justify-self:start;padding:0!important;background:transparent!important;color:var(--family-muted)!important;font-size:8px!important}.ta-directory .ta-loading-duration span{font-weight:700}.ta-directory .ta-loading-duration strong{color:var(--family-good);font-size:9px}.ta-directory .ta-loading-step.live .ta-loading-duration strong{color:var(--family-action)}
@media(max-width:1220px){.ta-directory .ta-branch.ta-has-van-journey>summary{grid-template-columns:minmax(0,1fr) auto!important}.ta-directory .ta-has-van-journey .ta-branch-meta{grid-column:1!important}.ta-directory .ta-has-van-journey .ta-van-journey{grid-column:1/-1!important}.ta-directory .ta-has-van-journey .ta-expand-control{grid-column:2!important;grid-row:1/span 2!important}}
@media(max-width:760px){#reportPanelCustomer>.report-filter-card{grid-template-columns:1fr!important}#reportPanelCustomer>.report-filter-card>*{grid-column:1!important}#reportPanelCustomer>.report-filter-card>.period-control,#reportPanelCustomer>.report-filter-card>.customer-directory-filters{grid-row:auto!important}#reportPanelCustomer .customer-directory-v2{grid-template-columns:1fr!important}#historyDetail .customer-command-view .customer-report-summary{grid-template-columns:1fr!important}#historyDetail .customer-command-view .wl-followup-label{grid-column:1!important;grid-row:auto!important;min-width:0}#historyDetail .customer-command-view .customer-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#historyDetail .customer-command-view .customer-period-overview{grid-template-columns:1fr!important}#historyDetail .customer-command-view .customer-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-directory .ta-van-journey{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){#reportPanelCustomer>.report-filter-card{padding:12px!important}#reportPanelCustomer>.report-filter-card .filter-heading{align-items:flex-start}#reportPanelCustomer .date-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-directory-v2 .report-customer-row{grid-template-columns:34px minmax(0,1fr) 18px!important;min-height:126px!important}.customer-directory-v2 .report-customer-owner{grid-column:2;padding:6px 0 0!important;border-left:0!important;border-top:1px solid var(--border)}.customer-directory-v2 .row-chevron{grid-column:3;grid-row:1/3}#historyDetail .customer-command-view :is(.customer-report-summary,.customer-period-overview,.customer-visit-history){padding:13px!important;border-radius:14px!important}#historyDetail .customer-command-view .customer-summary-identity{grid-template-columns:40px minmax(0,1fr)}#historyDetail .customer-command-view .customer-code-badge{width:40px;height:40px;border-radius:11px}#historyDetail .customer-command-view .customer-context-grid{grid-template-columns:1fr 1fr}#historyDetail .customer-command-view .customer-history-source-filter{grid-template-columns:1fr}#historyDetail .customer-command-view .customer-history-source-filter button{justify-content:space-between}#historyDetail .customer-command-view .customer-history-main{grid-template-columns:1fr!important}#historyDetail .customer-command-view .customer-history-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}#historyDetail .customer-command-view .customer-history-facts>span{min-width:0;padding:6px!important}#historyDetail .customer-command-view .customer-history-kpis{justify-content:flex-start}.ta-directory .ta-van-journey{grid-template-columns:1fr!important}.ta-directory .ta-journey-step{grid-template-rows:auto auto!important;min-height:60px!important}.ta-directory .ta-loading-step{grid-template-rows:auto auto auto!important}}
@media(prefers-reduced-motion:reduce){#reportPanelCustomer .report-customer-row{transition:none!important}}

/* Customer 360 v3 — compact customer workspace.
   One visual level per task: find, understand, inspect. */
#reportPanelCustomer{
  --c360-ink:#142c3b;
  --c360-muted:#607380;
  --c360-line:color-mix(in srgb,var(--border) 88%,#b8c7d0);
  --c360-tint:color-mix(in srgb,var(--c360-blue) 5%,var(--surface));
}

/* Find: remove the duplicate title card and keep search + period in one bar. */
#reportPanelCustomer>.report-filter-card{
  grid-template-columns:minmax(360px,1.35fr) minmax(400px,.65fr)!important;
  align-items:end!important;
  gap:10px 18px!important;
  padding:14px 16px!important;
  border-color:var(--c360-line)!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px rgba(16,52,77,.045)!important;
}
#reportPanelCustomer>.report-filter-card .filter-heading{display:none!important}
#reportPanelCustomer>.report-filter-card>label{
  grid-column:1!important;grid-row:1!important;align-self:center!important;
  margin:0!important;color:var(--c360-ink)!important;font-size:11px!important;
  font-weight:850!important;letter-spacing:.02em!important;text-transform:none!important;
}
#reportPanelCustomer>.report-filter-card>.report-search{
  grid-column:1!important;grid-row:2!important;align-self:end!important;
  min-height:48px!important;margin:0!important;border:1px solid var(--c360-line)!important;
  border-radius:11px!important;box-shadow:none!important;
}
#reportPanelCustomer>.report-filter-card>.report-search:focus-within{
  border-color:var(--c360-blue)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--c360-blue) 13%,transparent)!important;
}
#reportPanelCustomer>.report-filter-card>.report-search input{
  height:46px!important;padding-inline:44px 13px!important;font-size:15px!important;font-weight:700!important;
}
#reportPanelCustomer>.report-filter-card>.period-control{
  display:grid!important;grid-column:2!important;grid-row:1/span 2!important;
  grid-template-rows:auto auto;align-content:end;gap:7px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
}
#reportPanelCustomer>.report-filter-card>.customer-directory-filters{
  grid-column:1!important;grid-row:3!important;align-self:start!important;margin:0!important;
}
#reportPanelCustomer .period-control-head strong{font-size:11px!important}
#reportPanelCustomer .period-control-head>span{color:var(--c360-muted)!important;font-size:10px!important;font-weight:700}
#reportPanelCustomer .date-presets{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important}
#reportPanelCustomer .date-presets button{
  min-height:46px!important;padding:6px 7px!important;border:1px solid transparent!important;
  border-radius:9px!important;background:var(--c360-tint)!important;color:var(--c360-muted)!important;
  font-size:10px!important;font-weight:800!important;
}
#reportPanelCustomer .date-presets button.active{
  border-color:var(--c360-navy)!important;background:var(--c360-navy)!important;color:#fff!important;
}

/* Results: a single full-width scan list; no half-empty card grid. */
#reportPanelCustomer #historyResults{margin-top:8px}
#reportPanelCustomer .report-result-head{
  margin:0!important;padding:8px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;
}
#reportPanelCustomer .report-result-head strong{font-size:13px!important}
#reportPanelCustomer .report-result-head span{font-size:10px!important}
#reportPanelCustomer .report-result-head .text-button{min-height:40px;padding:7px 10px}
#reportPanelCustomer .customer-directory-v2{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
#reportPanelCustomer .customer-directory-v2 .report-customer-row{
  grid-template-columns:36px minmax(0,1fr) minmax(150px,.28fr) 28px!important;
  gap:12px!important;min-height:78px!important;padding:10px 12px!important;
  border:1px solid var(--c360-line)!important;border-left:3px solid transparent!important;
  border-radius:11px!important;box-shadow:none!important;
}
#reportPanelCustomer .customer-directory-v2 .report-customer-row:hover,
#reportPanelCustomer .customer-directory-v2 .report-customer-row:focus-visible{
  border-color:color-mix(in srgb,var(--c360-blue) 42%,var(--c360-line))!important;
  border-left-color:var(--c360-red)!important;box-shadow:0 5px 14px rgba(16,52,77,.075)!important;
  transform:none!important;
}
#reportPanelCustomer .customer-result-index{width:32px;height:32px;border-radius:9px;font-size:10px}
#reportPanelCustomer .report-customer-copy{gap:2px!important}
#reportPanelCustomer .report-customer-copy .customer-result-code{font-size:9px!important}
#reportPanelCustomer .report-customer-copy>strong{font-size:14px!important;line-height:1.3!important}
#reportPanelCustomer .report-customer-copy>em{font-size:11px!important}
#reportPanelCustomer .customer-result-visits{gap:5px!important;margin-top:4px!important}
#reportPanelCustomer .customer-result-visits>b{font-size:10px!important}
#reportPanelCustomer .customer-result-visits>span,
#reportPanelCustomer .customer-result-visits>span b{font-size:9px!important}
#reportPanelCustomer .report-customer-owner{min-height:44px!important;padding-left:13px!important}
#reportPanelCustomer .report-customer-owner small{font-size:9px!important}
#reportPanelCustomer .report-customer-owner strong{font-size:12px!important}
#reportPanelCustomer .row-chevron{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:var(--c360-tint)}
@media(max-width:900px){
  #reportPanelCustomer>.report-filter-card{grid-template-columns:1fr!important}
  #reportPanelCustomer>.report-filter-card>label,#reportPanelCustomer>.report-filter-card>.report-search,#reportPanelCustomer>.report-filter-card>.period-control{grid-column:1!important;grid-row:auto!important}
  #reportPanelCustomer>.report-filter-card>.period-control{padding-top:8px!important;border-top:1px solid var(--c360-line)!important}
  #reportPanelCustomer>.report-filter-card>.customer-directory-filters{grid-column:1!important;grid-row:auto!important}
}
@media(max-width:620px){
  #reportPanelCustomer>.report-filter-card{padding:11px!important;border-radius:12px!important}
  #reportPanelCustomer .date-presets{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #reportPanelCustomer .date-presets button{min-height:42px!important}
  #reportPanelCustomer .customer-directory-v2 .report-customer-row{grid-template-columns:32px minmax(0,1fr) 28px!important;gap:9px!important;min-height:104px!important;padding:10px!important}
  #reportPanelCustomer .report-customer-owner{grid-column:2!important;min-height:0!important;padding:6px 0 0!important;border-top:1px solid var(--c360-line)!important;border-left:0!important}
  #reportPanelCustomer .row-chevron{grid-column:3!important;grid-row:1/span 2!important}
}

