/* Product UI v81 — structure first, decoration second. */
.product-dashboard,.product-people { color:var(--ink); }
.product-dashboard { overflow:hidden; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-sm); }
.product-dashboard-header { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border-bottom:1px solid var(--border); }
.product-dashboard-header>div { display:grid; gap:1px; }
.product-dashboard-header h1 { margin:0; font-size:23px; font-weight:730; letter-spacing:-.04em; }
.product-dashboard-header p { margin:0; color:var(--muted); font-size:10px; }
.product-live { width:max-content; display:inline-flex; align-items:center; gap:6px; color:var(--accent); font-size:8px; font-weight:800; letter-spacing:.1em; }
.product-live i { width:6px; height:6px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px var(--accent-soft); }
.product-refresh { width:40px; height:40px; display:grid; place-items:center; color:var(--muted); border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.product-refresh:hover,.product-refresh:focus-visible { color:var(--brand); border-color:var(--brand); }
.product-refresh svg { width:18px; height:18px; }
.product-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; border-bottom:1px solid var(--border); background:var(--border); }
.product-summary-card { position:relative; min-height:132px; display:grid; align-content:center; gap:3px; padding:16px; color:var(--ink); text-align:left; border:0; background:var(--surface); }
.product-summary-card:hover,.product-summary-card:focus-visible { z-index:1; background:var(--authority-soft); outline-offset:-3px; }
.product-summary-card>span { color:var(--muted); font-size:9px; font-weight:700; }
.product-summary-card>strong { font-size:27px; font-weight:740; line-height:1.08; font-variant-numeric:tabular-nums; letter-spacing:-.045em; }
.product-summary-card>strong em { color:var(--muted); font-size:14px; font-style:normal; font-weight:600; }
.product-summary-card>small { color:var(--muted); font-size:9px; line-height:1.35; }
.product-summary-card>i { position:absolute; right:12px; top:12px; width:18px; color:var(--subtle); font-style:normal; }
.product-summary-card>i svg { width:16px; height:16px; }
.product-summary-card.primary { box-shadow:inset 0 3px 0 var(--brand); }
.product-summary-card.attention { box-shadow:inset 0 3px 0 var(--warning); }
.product-summary-card.attention>strong { color:var(--warning); }
.product-summary-card.clear { box-shadow:inset 0 3px 0 var(--accent); }
.product-summary-card.clear>strong { color:var(--accent); }
.product-allocation { display:grid; gap:10px; padding:14px 16px; border-bottom:1px solid var(--border); }
.product-allocation>header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.product-allocation>header>div { display:grid; gap:1px; }
.product-allocation>header span { color:var(--muted); font-size:8px; font-weight:800; letter-spacing:.08em; }
.product-allocation>header strong { font-size:14px; font-weight:720; }
.product-allocation>header button { display:inline-flex; align-items:center; gap:4px; padding:6px; color:var(--brand); border:0; background:transparent; font-size:9px; font-weight:700; }
.product-allocation>header button svg { width:13px; }
.product-time-track { height:8px; display:flex; overflow:hidden; border-radius:999px; background:var(--border); }
.product-time-track i { height:100%; }
.product-time-track .onsite,.product-time-legend i.onsite { background:var(--accent); }
.product-time-track .travel,.product-time-legend i.travel { background:var(--info); }
.product-time-track .other,.product-time-legend i.other { background:var(--subtle); }
.product-time-legend { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.product-time-legend>span { display:grid; grid-template-columns:7px minmax(0,1fr) auto; align-items:center; gap:6px; }
.product-time-legend>span>i { width:7px; height:7px; border-radius:50%; }
.product-time-legend small { color:var(--muted); font-size:9px; }
.product-time-legend strong { font-size:11px; font-weight:720; }
.product-time-legend em { grid-column:2; color:var(--subtle); font-size:8px; font-style:normal; }
.product-coverage { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); }
.product-coverage>section { min-width:0; padding:14px 16px; background:var(--surface); }
.product-coverage section>header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.product-coverage section>header span { color:var(--muted); font-size:8px; font-weight:800; letter-spacing:.08em; }
.product-coverage section>header h2 { margin:1px 0 0; font-size:14px; font-weight:720; }
.product-coverage section>header button { padding:5px; color:var(--brand); border:0; background:transparent; font-size:9px; font-weight:700; }
.product-coverage-row { width:100%; display:grid; grid-template-columns:minmax(100px,.8fr) minmax(90px,1fr) 14px; align-items:center; gap:10px; min-height:42px; padding:6px 2px; color:var(--ink); text-align:left; border:0; border-top:1px solid var(--border); background:transparent; }
.product-coverage-row:first-child { border-top:0; }
.product-coverage-row>span { min-width:0; display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.product-coverage-row strong { overflow:hidden; font-size:10px; font-weight:680; text-overflow:ellipsis; white-space:nowrap; }
.product-coverage-row small { color:var(--muted); font-size:8px; white-space:nowrap; }
.product-coverage-row>i { height:5px; overflow:hidden; border-radius:99px; background:var(--canvas); }
.product-coverage-row>i b { display:block; height:100%; border-radius:inherit; background:var(--accent); }
.product-coverage-row>svg { width:13px; color:var(--subtle); }
.product-account-list { display:grid; grid-template-columns:1fr 1fr; gap:1px 12px; }
.product-account-row { min-width:0; min-height:42px; display:grid; grid-template-columns:minmax(0,1fr) auto auto 13px; align-items:center; gap:5px; padding:6px 2px; color:var(--ink); text-align:left; border:0; border-top:1px solid var(--border); background:transparent; }
.product-account-row:nth-child(-n+2) { border-top:0; }
.product-account-row>span { overflow:hidden; font-size:10px; font-weight:680; text-overflow:ellipsis; white-space:nowrap; }
.product-account-row>strong { font-size:11px; font-weight:740; }
.product-account-row>small { color:var(--muted); font-size:8px; }
.product-account-row>svg { width:12px; color:var(--subtle); }
.product-empty-line { margin:8px 0; color:var(--muted); font-size:10px; }
.product-people { margin-top:10px; padding:14px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-sm); }
.product-people>header { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 2px 10px; border-bottom:1px solid var(--border); }
.product-people>header>div { display:grid; gap:1px; }
.product-people>header span { color:var(--brand); font-size:8px; font-weight:800; letter-spacing:.08em; }
.product-people>header h2 { margin:0; font-size:18px; font-weight:730; }
.product-people>header p { margin:0; color:var(--muted); font-size:9px; }
.product-people>header button { display:inline-flex; align-items:center; gap:4px; padding:7px; color:var(--brand); border:0; background:transparent; font-size:9px; font-weight:700; }
.product-people>header button svg { width:13px; }
.product-people-list { display:grid; gap:0; }
.product-person { --state:var(--subtle); position:relative; min-width:0; min-height:86px; display:grid; grid-template-columns:minmax(210px,1.35fr) auto 72px minmax(280px,1fr) 18px; align-items:center; gap:12px; width:100%; padding:12px 10px 12px 13px; color:var(--ink); text-align:left; border:0; border-bottom:1px solid var(--border); border-left:3px solid var(--state); background:var(--surface); }
.product-person:last-child { border-bottom:0; }
.product-person:hover,.product-person:focus-visible { background:color-mix(in srgb,var(--authority-soft) 62%,var(--surface)); outline-offset:-3px; }
.product-person.state-in-store { --state:var(--accent); }
.product-person.state-active { --state:var(--info); }
.product-person.state-pending-close { --state:var(--warning); }
.product-person.state-closed { --state:var(--authority); }
.product-person-main { min-width:0; display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; gap:9px; }
.product-avatar { width:38px; height:38px; display:grid; place-items:center; color:#fff; border-radius:9px; background:var(--authority); font-size:10px; font-weight:750; }
.product-person-main>span:last-child { min-width:0; display:grid; gap:1px; }
.product-person-main strong { overflow:hidden; font-size:12px; font-weight:720; text-overflow:ellipsis; white-space:nowrap; }
.product-person-main small { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.product-person-main em { color:var(--subtle); font-size:8px; font-style:normal; }
.product-person-status { display:inline-flex; align-items:center; gap:5px; min-height:26px; padding:4px 7px; color:var(--state); border:1px solid color-mix(in srgb,var(--state) 30%,var(--border)); border-radius:99px; background:color-mix(in srgb,var(--state) 7%,var(--surface)); font-size:8px; font-weight:700; white-space:nowrap; }
.product-person-status i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.product-person-start { display:grid; gap:1px; }
.product-person-start small { color:var(--muted); font-size:7.5px; white-space:nowrap; }
.product-person-start strong { font-size:10px; font-weight:720; font-variant-numeric:tabular-nums; }
.product-person-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-left:1px solid var(--border); }
.product-person-metrics>span { min-width:0; display:grid; gap:1px; padding:3px 8px; border-left:1px solid var(--border); }
.product-person-metrics>span:first-child { border-left:0; }
.product-person-metrics strong { overflow:hidden; font-size:10px; font-weight:720; font-variant-numeric:tabular-nums; text-overflow:ellipsis; white-space:nowrap; }
.product-person-metrics small { color:var(--muted); font-size:7px; }
.product-person-open { color:var(--subtle); }
.product-person-open svg { width:15px; }
#screen-customers .intelligence-header { margin-bottom:8px; }
#screen-customers .reporting-hub-head { display:none; }
#screen-customers .reporting-hub { margin-top:0; }
#screen-customers .reporting-global-filter { position:relative; top:auto; grid-template-columns:minmax(150px,.7fr) minmax(260px,1.3fr); margin-bottom:8px; padding:7px; box-shadow:none; }
#screen-customers .reporting-range-label>span { background:transparent; }
#screen-customers .reporting-hub-output { min-height:120px; }
#screen-customers .hub-command { border-top-width:1px; }
#screen-customers .hub-command-head p,.management-briefing-head p { display:none; }
#screen-customers .hub-health { border:0; background:var(--canvas); }
#screen-customers .hub-metric-grid { gap:6px; }
#screen-customers .hub-metric { min-height:92px; padding:9px; }
#screen-customers .hub-metric-copy em { display:none; }
#screen-customers .hub-insights { gap:7px; }
#screen-customers .reporting-module-heading p { display:none; }
#screen-customers .reporting-hub-grid { gap:6px; padding:7px; }
#screen-customers .report-entry { min-height:70px; }
#screen-customers .report-entry-copy small { line-height:1.3; }
#screen-customers .report-entry-open { background:transparent; }
.inbox-masthead,.discussion-case-hero { box-shadow:none; }
.discussion-case-hero { padding:16px; border-radius:14px; background:var(--authority-strong); }
.discussion-case-hero p { display:none; }
.discussion-visit-card,.discussion-case-section,.discussion-conversation-section,.discussion-visit-note { padding:14px; border-radius:13px; box-shadow:none; }
.inbox-thread-modal { background:var(--canvas); }
.inbox-thread-modal>.modal-heading { background:color-mix(in srgb,var(--canvas) 96%,transparent); }
@media(max-width:920px) {
  .product-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .product-dashboard-header { min-height:64px; padding:11px 12px; }
  .product-dashboard-header h1 { font-size:20px; }
  .product-summary-card { min-height:112px; padding:12px; }
  .product-summary-card>strong { font-size:23px; }
  .product-coverage { grid-template-columns:1fr; }
  .product-account-row:nth-child(2) { border-top:1px solid var(--border); }
  .product-people { padding:10px; }
  .product-person { grid-template-columns:minmax(0,1fr) auto 16px; gap:8px; padding:11px 7px 11px 10px; }
  .product-person-main { grid-template-columns:36px minmax(0,1fr); }
  .product-avatar { width:36px; height:36px; }
  .product-person-start { grid-column:1; grid-row:2; display:flex; gap:5px; padding-left:45px; }
  .product-person-metrics { grid-column:1 / -1; grid-row:3; grid-template-columns:repeat(5,minmax(0,1fr)); }
  .product-person-open { grid-column:3; grid-row:1 / 3; }
  #screen-customers .reporting-global-filter { grid-template-columns:1fr; }
  #screen-customers .reporting-range-label { display:none; }
}
@media(max-width:430px) {
  .product-summary-grid { grid-template-columns:1fr 1fr; }
  .product-summary-card { min-height:106px; }
  .product-time-legend { grid-template-columns:1fr; gap:5px; }
  .product-time-legend em { grid-column:3; }
  .product-account-list { grid-template-columns:1fr; }
  .product-account-row:nth-child(2) { border-top:1px solid var(--border); }
  .product-person-status { padding:3px 6px; }
  .product-person-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .product-person-metrics>span:nth-child(4),.product-person-metrics>span:nth-child(5) { border-top:1px solid var(--border); }
  .product-person-metrics>span:nth-child(4) { grid-column:1 / 2; border-left:0; }
  .product-person-metrics>span:nth-child(5) { grid-column:2 / 4; }
}
@media(prefers-reduced-motion:reduce) {
  .product-summary-card,.product-refresh,.product-person,.product-coverage-row,.product-account-row { transition:none!important; }
}


/* Reporting Product UI v82
   A decision-first executive workspace: less decoration, stronger hierarchy,
   clear report entry points, and complete drill-down affordances. */
#screen-customers.intelligence-screen {
  --report-ink: #102536;
  --report-muted: #637381;
  --report-line: #d9e2e8;
  --report-soft: #f4f7f8;
  --report-red: #b3132f;
  --report-green: #087762;
  --report-blue: #176c91;
  --report-gold: #a46e14;
  background: #f3f6f7;
}
#screen-customers .intelligence-header {
  align-items: center;
  min-height: auto;
  padding: 18px 22px;
  border: 1px solid var(--report-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,37,54,.06);
}
#screen-customers .intelligence-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
#screen-customers .intelligence-brand h1 {
  margin: 2px 0 0;
  font-size: clamp(1.45rem,3vw,2rem);
  letter-spacing: -.035em;
}
#screen-customers .intelligence-brand p { display: none; }
#screen-customers .intelligence-live {
  padding: 9px 13px;
  border: 1px solid #b9ded5;
  border-radius: 999px;
  background: #edf9f6;
}
#screen-customers .intelligence-live small { display: none; }
#screen-customers .reporting-hub {
  gap: 0;
  padding-top: 14px;
}
#screen-customers .reporting-hub-head,
#screen-customers .reporting-module-section { display: none !important; }
#screen-customers .reporting-global-filter {
  display: grid;
  grid-template-columns: minmax(170px,1fr) auto;
  gap: 14px 24px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--report-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
#screen-customers .reporting-range-label {
  min-width: 0;
}
#screen-customers .reporting-range-label > [data-icon] {
  width: 38px;
  height: 38px;
  color: var(--report-ink);
  background: #edf2f5;
  border-radius: 11px;
}
#screen-customers .reporting-range-label strong {
  color: var(--report-ink);
  font-size: .92rem;
}
#screen-customers .reporting-range-label small {
  color: var(--report-muted);
  font-weight: 650;
}
#screen-customers .reporting-range-presets {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--report-line);
  border-radius: 13px;
  background: var(--report-soft);
}
#screen-customers .reporting-range-presets button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: #526372;
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
}
#screen-customers .reporting-range-presets button.active {
  color: #fff;
  background: var(--report-ink);
  box-shadow: 0 5px 12px rgba(16,37,54,.18);
}
#screen-customers .reporting-custom-range {
  grid-column: 1/-1;
  padding-top: 12px;
  border-top: 1px solid var(--report-line);
}
#screen-customers .reporting-hub-output { min-height: 0; }

.report-workspace {
  display: grid;
  gap: 14px;
  color: var(--report-ink);
}
.report-workspace button {
  font: inherit;
}
.report-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: stretch;
  padding: 26px 28px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(120deg,rgba(179,19,47,.93),rgba(179,19,47,.72) 30%,rgba(10,43,61,.98) 72%),
    #0a2b3d;
  box-shadow: 0 16px 36px rgba(16,37,54,.16);
}
.report-workspace-head > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.report-workspace-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #ffd8df;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.report-workspace-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66dcc3;
  box-shadow: 0 0 0 5px rgba(102,220,195,.14);
}
.report-workspace-head h2 {
  max-width: 620px;
  margin: 12px 0 6px;
  color: #fff;
  font-size: clamp(1.75rem,4vw,2.75rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.report-workspace-head p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  font-weight: 650;
}
.report-health {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  color: #fff;
  text-align: left;
  background: rgba(255,255,255,.09);
  cursor: pointer;
}
.report-health.warning { background: rgba(255,190,88,.13); }
.report-health small {
  color: #ffd7a1;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.report-health strong {
  margin: 4px 0 6px;
  font-size: 1.35rem;
}
.report-health span {
  color: rgba(255,255,255,.72);
  font-size: .77rem;
  font-style: normal;
}
.report-health svg {
  width: 13px;
  vertical-align: -2px;
}

.report-scoreboard {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,37,54,.05);
}
.report-score {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--report-line);
  color: var(--report-ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: background .18s ease,transform .18s ease;
}
.report-score:last-child { border-right: 0; }
.report-score:hover { background: #f6f9fa; }
.report-score:active { transform: translateY(1px); }
.report-score::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 34px;
  height: 3px;
  background: var(--report-green);
}
.report-score.primary::before { background: var(--report-red); }
.report-score:nth-child(3)::before { background: var(--report-blue); }
.report-score:nth-child(4)::before { background: var(--report-gold); }
.report-score small {
  display: block;
  margin-bottom: 9px;
  color: var(--report-muted);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.report-score > strong {
  display: block;
  color: var(--report-ink);
  font-size: clamp(1.65rem,3.2vw,2.35rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.report-score > strong span {
  color: #7b8994;
  font-size: .48em;
  letter-spacing: 0;
}
.report-score p {
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--report-muted);
  font-size: .78rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-time-analysis,
.report-launcher,
.report-analysis-panel,
.report-people-panel {
  padding: 24px 26px;
  border: 1px solid var(--report-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,37,54,.045);
}
.report-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.report-section-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--report-red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.report-section-heading h3 {
  margin: 0;
  color: var(--report-ink);
  font-size: 1.28rem;
  letter-spacing: -.025em;
}
.report-section-heading > button,
.report-section-heading > p {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--report-muted);
  background: transparent;
  font-size: .76rem;
  font-weight: 800;
}
.report-section-heading > button {
  cursor: pointer;
}
.report-section-heading svg {
  width: 15px;
  vertical-align: -3px;
}
.report-time-layout {
  display: grid;
  grid-template-columns: minmax(170px,.72fr) minmax(0,2fr);
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 16px;
}
.report-time-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  color: #fff;
  background: var(--report-ink);
}
.report-time-total small {
  color: #abc0cc;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.report-time-total strong {
  margin: 6px 0;
  font-size: 2rem;
  letter-spacing: -.04em;
}
.report-time-total p {
  margin: 0;
  color: #abc0cc;
  font-size: .75rem;
}
.report-time-breakdown {
  display: grid;
  gap: 18px;
  padding: 24px;
}
.report-time-bar {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf0;
}
.report-time-bar i { display: block; height: 100%; }
.report-time-bar .onsite { background: var(--report-green); }
.report-time-bar .travel { background: var(--report-blue); }
.report-time-bar .other { background: #a8b5be; }
.report-time-figures {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.report-time-figures > * {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--report-line);
  color: var(--report-ink);
  text-align: left;
  background: transparent;
}
.report-time-figures > *:first-child { padding-left: 0; }
.report-time-figures > *:last-child { padding-right: 0; border-right: 0; }
.report-time-figures > button { cursor: pointer; }
.report-time-figures > * > i {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
}
.report-time-figures .onsite { background: var(--report-green); }
.report-time-figures .travel { background: var(--report-blue); }
.report-time-figures .other { background: #a8b5be; }
.report-time-figures span span { display: flex; flex-direction: column; }
.report-time-figures small {
  color: var(--report-muted);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.report-time-figures strong {
  margin: 4px 0 2px;
  font-size: 1.1rem;
}
.report-time-figures em {
  color: var(--report-muted);
  font-size: .7rem;
  font-style: normal;
}

.report-launcher-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 16px;
}
.report-launcher-grid > button {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 18px;
  gap: 14px;
  align-items: start;
  min-height: 134px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--report-line);
  color: var(--report-ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: background .18s ease;
}
.report-launcher-grid > button:last-child { border-right: 0; }
.report-launcher-grid > button:hover { background: var(--report-soft); }
.report-launch-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--report-red);
  background: #fff0f3;
  font-size: .7rem;
  font-weight: 900;
}
.report-launcher-grid > button:nth-child(2) .report-launch-number {
  color: var(--report-green);
  background: #e8f7f3;
}
.report-launcher-grid > button:nth-child(3) .report-launch-number {
  color: var(--report-gold);
  background: #fff5df;
}
.report-launcher-grid button > span:nth-child(2) { min-width: 0; }
.report-launcher-grid small {
  display: block;
  color: var(--report-muted);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.report-launcher-grid strong {
  display: block;
  margin: 5px 0 8px;
  font-size: 1rem;
}
.report-launcher-grid em {
  display: block;
  color: var(--report-muted);
  font-size: .74rem;
  font-style: normal;
  line-height: 1.45;
}
.report-launcher-grid svg { width: 16px; margin-top: 9px; color: #82919d; }

.report-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.report-section-heading.compact { margin-bottom: 10px; }
.report-rank-list {
  overflow: hidden;
  border-top: 1px solid var(--report-line);
}
.report-rank-row {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid #e8edef;
  color: var(--report-ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.report-rank-row:last-child { border-bottom: 0; }
.report-rank-row:hover { background: #f8fafb; }
.report-rank-index {
  color: #8b99a4;
  font-size: .68rem;
  font-weight: 900;
}
.report-rank-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.report-rank-copy strong {
  overflow: hidden;
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-rank-copy i {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f3;
}
.report-rank-copy i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--report-green);
}
.report-analysis-panel:nth-child(2) .report-rank-copy i b { background: var(--report-red); }
.report-rank-value {
  color: var(--report-ink);
  font-size: .9rem;
  font-weight: 900;
  white-space: nowrap;
}
.report-rank-value small {
  margin-left: 3px;
  color: var(--report-muted);
  font-size: .62rem;
  font-weight: 700;
}
.report-rank-row > svg { width: 14px; color: #91a0aa; }

.report-person-list {
  overflow: hidden;
  border-top: 1px solid var(--report-line);
}
.report-person-row {
  display: grid;
  grid-template-columns: 28px 44px minmax(0,1fr) auto 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid #e8edef;
  color: var(--report-ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.report-person-row:last-child { border-bottom: 0; }
.report-person-row:hover { background: #f8fafb; }
.report-person-rank {
  color: #8b99a4;
  font-size: .68rem;
  font-weight: 900;
}
.report-person-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--report-ink);
  font-size: .72rem;
  font-weight: 900;
}
.report-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.report-person-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.report-person-copy strong {
  overflow: hidden;
  font-size: .85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-person-copy small {
  overflow: hidden;
  color: var(--report-muted);
  font-size: .7rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-person-status {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  white-space: nowrap;
}
.report-person-status.store { color: #08715d; background: #dff5ef; }
.report-person-status.active { color: #176c91; background: #e4f1f7; }
.report-person-status.closed { color: #53636f; background: #edf1f3; }
.report-person-row > svg { width: 14px; color: #91a0aa; }
.report-empty-row {
  padding: 24px 0;
  color: var(--report-muted);
  font-size: .8rem;
}

/* Focused report workspace: keep filters concise and results dominant. */
#screen-customers .report-view-context {
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
#screen-customers .report-view-context > [data-icon] { display: none; }
#screen-customers .report-detail-back {
  min-width: auto;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--report-ink);
  background: #edf2f5;
}
#screen-customers .report-filter-card {
  padding: 20px;
  border: 1px solid var(--report-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
#screen-customers .filter-heading,
#screen-customers .team-filter-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--report-line);
}
#screen-customers .period-control {
  border-color: var(--report-line);
  border-radius: 14px;
  background: var(--report-soft);
}
#screen-customers .date-presets button.active,
#screen-customers .team-run-report {
  background: var(--report-ink);
}
#screen-customers .report-code,
#screen-customers .filter-step,
#screen-customers .team-builder-step-number {
  border-radius: 9px;
}
#screen-customers .team-directory-disclosure {
  border-color: var(--report-line);
  border-radius: 14px;
  box-shadow: none;
}

@media (max-width: 850px) {
  .report-scoreboard { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-score:nth-child(2) { border-right: 0; }
  .report-score:nth-child(-n+2) { border-bottom: 1px solid var(--report-line); }
  .report-time-layout { grid-template-columns: 1fr; }
  .report-time-total { min-height: 120px; }
  .report-launcher-grid { grid-template-columns: 1fr; }
  .report-launcher-grid > button {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--report-line);
  }
  .report-launcher-grid > button:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  #screen-customers .intelligence-header {
    margin-inline: 0;
    padding: 13px 14px;
    border-radius: 0 0 16px 16px;
  }
  #screen-customers .intelligence-logo { width: 44px; height: 44px; border-radius: 11px; }
  #screen-customers .intelligence-brand .eyebrow { display: none; }
  #screen-customers .intelligence-brand h1 { font-size: 1.25rem; }
  #screen-customers .reporting-global-filter {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-inline: 0;
    border-radius: 16px;
  }
  #screen-customers .reporting-range-presets { width: 100%; }
  #screen-customers .reporting-range-presets button { flex: 1; min-width: 0; padding-inline: 5px; }
  .report-workspace-head {
    display: grid;
    padding: 22px 20px;
    border-radius: 18px;
  }
  .report-workspace-head h2 { font-size: 1.85rem; }
  .report-health {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
  }
  .report-score { min-height: 112px; padding: 18px; }
  .report-score::before { left: 18px; }
  .report-score > strong { font-size: 1.65rem; }
  .report-time-analysis,
  .report-launcher,
  .report-analysis-panel,
  .report-people-panel { padding: 20px 18px; border-radius: 18px; }
  .report-section-heading { align-items: flex-start; }
  .report-section-heading > p { display: none; }
  .report-time-breakdown { padding: 20px 18px; }
  .report-time-figures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-time-figures > * { padding-inline: 12px; }
  .report-time-figures > *:nth-child(2) { border-right: 0; }
  .report-time-figures > *:nth-child(3) { display: none; }
  .report-analysis-grid { grid-template-columns: 1fr; }
  .report-person-row {
    grid-template-columns: 24px 42px minmax(0,1fr) 14px;
  }
  .report-person-status { display: none; }
}
@media (max-width: 430px) {
  .report-scoreboard { grid-template-columns: 1fr 1fr; }
  .report-score { min-height: 106px; padding: 16px 14px; }
  .report-score small { font-size: .58rem; }
  .report-score p { font-size: .69rem; }
  .report-launcher-grid > button { padding: 18px 16px; }
  .report-rank-value small { display: none; }
  .report-person-row { gap: 8px; }
  .report-person-copy small { max-width: 170px; }
}

.report-person-status.pending{color:#875d13;background:#fff1cf}.report-person-status.idle{color:#697782;background:#edf1f3}


/* Reporting System v83
   One coherent language for Customer 360, People & Team, and Management.
   Dense enough for decisions, calm enough for daily use. */
#screen-customers[data-report-view]:not([data-report-view="hub"]) {
  --rs-ink:#142634;
  --rs-muted:#697985;
  --rs-border:#d7e0e5;
  --rs-surface:#ffffff;
  --rs-soft:#f4f7f8;
  --rs-warm:#fbf8f5;
  --rs-red:#ae1531;
  --rs-red-soft:#fff1f4;
  --rs-green:#087663;
  --rs-green-soft:#e8f6f2;
  --rs-amber:#9a6819;
  --rs-amber-soft:#fff5df;
  background:#f2f5f6;
}
#screen-customers[data-report-view]:not([data-report-view="hub"]) .intelligence-header {
  display:none;
}
#screen-customers .report-panel {
  width:100%;
  max-width:1180px;
  margin:0 auto;
}
#screen-customers .report-view-context {
  position:sticky;
  top:max(0px,env(safe-area-inset-top));
  z-index:18;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  align-items:center;
  max-width:1180px;
  margin:0 auto 12px;
  padding:12px 14px;
  border:1px solid var(--rs-border);
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 22px rgba(20,38,52,.07);
  backdrop-filter:blur(12px);
}
#screen-customers .report-view-context.hidden { display:none; }
#screen-customers .report-view-context > div {
  min-width:0;
}
#screen-customers .report-view-context strong {
  display:block;
  color:var(--rs-ink);
  font-size:.94rem;
  letter-spacing:-.01em;
}
#screen-customers .report-view-context small {
  display:block;
  overflow:hidden;
  color:var(--rs-muted);
  font-size:.7rem;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#screen-customers .report-detail-back {
  display:inline-flex;
  gap:7px;
  align-items:center;
  min-height:38px;
  border:0;
  border-radius:10px;
  color:var(--rs-ink);
  background:#edf2f4;
  font-size:.76rem;
  font-weight:850;
}

/* Shared builder */
#screen-customers .report-filter-card {
  margin:0 0 12px;
  padding:16px 18px;
  border:1px solid var(--rs-border);
  border-radius:18px;
  background:var(--rs-surface);
  box-shadow:none;
}
#screen-customers .filter-heading,
#screen-customers .team-filter-heading {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin:0 0 14px;
  padding:0 0 13px;
  border-bottom:1px solid var(--rs-border);
}
#screen-customers .filter-heading > div,
#screen-customers .team-filter-heading > div {
  min-width:0;
}
#screen-customers .filter-heading strong,
#screen-customers .team-filter-heading strong {
  color:var(--rs-ink);
  font-size:1rem;
  letter-spacing:-.02em;
}
#screen-customers .filter-heading span,
#screen-customers .team-filter-heading small {
  color:var(--rs-muted);
  font-size:.7rem;
  line-height:1.35;
}
#screen-customers .report-code,
#screen-customers .filter-step,
#screen-customers .team-filter-heading > span {
  display:none;
}
#screen-customers .period-control {
  margin:0;
  padding:12px;
  border:1px solid var(--rs-border);
  border-radius:13px;
  background:var(--rs-soft);
}
#screen-customers .period-control-head {
  margin-bottom:8px;
}
#screen-customers .period-control-head [data-icon] { display:none; }
#screen-customers .period-control-head strong {
  color:var(--rs-ink);
  font-size:.72rem;
}
#screen-customers .report-date-grid {
  gap:8px;
}
#screen-customers .report-date-grid label {
  min-width:0;
  padding:8px 10px;
  border:1px solid var(--rs-border);
  border-radius:10px;
  background:#fff;
}
#screen-customers .report-date-grid label span {
  color:var(--rs-muted);
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.1em;
}
#screen-customers .report-date-grid input {
  min-width:0;
  color:var(--rs-ink);
  font-size:.75rem;
  font-weight:800;
}
#screen-customers .period-arrow { color:#9aa8b1; }
#screen-customers .date-presets {
  display:flex;
  gap:4px;
  padding:4px;
  border:1px solid var(--rs-border);
  border-radius:11px;
  background:#edf2f4;
}
#screen-customers .date-presets button {
  flex:1;
  min-height:34px;
  border:0;
  border-radius:8px;
  color:#5c6d79;
  background:transparent;
  font-size:.68rem;
  font-weight:850;
}
#screen-customers .date-presets button.active {
  color:#fff;
  background:var(--rs-ink);
}
#screen-customers .report-search {
  min-height:50px;
  border:1px solid #bcc9d0;
  border-radius:13px;
  background:#fff;
  box-shadow:0 0 0 3px rgba(20,38,52,.025);
}
#screen-customers .report-search:focus-within {
  border-color:var(--rs-red);
  box-shadow:0 0 0 3px rgba(174,21,49,.08);
}
#screen-customers .report-search input {
  color:var(--rs-ink);
  font-size:.9rem;
}
#screen-customers .team-report-builder {
  display:grid;
  grid-template-columns:minmax(240px,.9fr) minmax(330px,1.4fr) minmax(180px,.55fr);
  gap:10px;
  align-items:stretch;
}
#screen-customers .team-builder-step {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  gap:8px;
  padding:12px;
  border:1px solid var(--rs-border);
  border-radius:13px;
  background:var(--rs-soft);
}
#screen-customers .team-builder-step-number { display:none; }
#screen-customers .team-builder-step-copy strong {
  color:var(--rs-ink);
  font-size:.75rem;
}
#screen-customers .team-builder-step-copy small { display:none; }
#screen-customers .team-employee-select-wrap {
  min-height:44px;
  border:1px solid var(--rs-border);
  border-radius:10px;
  background:#fff;
}
#screen-customers .team-employee-select-wrap > [data-icon] { display:none; }
#screen-customers .team-employee-select {
  padding-left:11px;
  color:var(--rs-ink);
  font-size:.76rem;
  font-weight:800;
}
#screen-customers .team-run-report {
  min-height:100%;
  padding:14px 16px;
  border:0;
  border-radius:13px;
  color:#fff;
  background:var(--rs-red);
  box-shadow:none;
}
#screen-customers .team-run-report > [data-icon]:first-child { display:none; }
#screen-customers .team-run-report strong { font-size:.82rem; }
#screen-customers .team-run-report small { color:rgba(255,255,255,.72); font-size:.64rem; }
#screen-customers .team-directory-disclosure {
  margin-top:10px;
  border:1px solid var(--rs-border);
  border-radius:12px;
  background:#fff;
}
#screen-customers .team-directory-disclosure summary {
  min-height:44px;
  padding:10px 12px;
}
#screen-customers .team-directory-disclosure summary > [data-icon] { display:none; }

/* Customer 360 */
#screen-customers #reportPanelCustomer > .report-filter-card {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  align-items:stretch;
}
#screen-customers #reportPanelCustomer > .report-filter-card .filter-heading {
  grid-column:1/-1;
}
#screen-customers #reportPanelCustomer > .report-filter-card > label {
  grid-column:1;
  margin:0 0 -5px;
  color:var(--rs-ink);
  font-size:.7rem;
  font-weight:900;
}
#screen-customers #reportPanelCustomer .report-search { grid-column:1; }
#screen-customers #reportPanelCustomer .customer-directory-filters { grid-column:1; }
#screen-customers #reportPanelCustomer .period-control { grid-column:1; grid-row:auto; }
#screen-customers .report-result-head {
  padding:12px 14px;
  border:1px solid var(--rs-border);
  border-bottom:0;
  border-radius:14px 14px 0 0;
  background:#fff;
}
#screen-customers .report-directory {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:0 0 16px 16px;
  background:#fff;
}
#screen-customers .report-customer-row {
  display:grid;
  grid-template-columns:48px minmax(0,1fr) minmax(130px,.35fr) 16px;
  gap:14px;
  align-items:center;
  min-height:82px;
  padding:12px 15px;
  border:0;
  border-bottom:1px solid #e5ebee;
  background:#fff;
}
#screen-customers .report-customer-row:last-child { border-bottom:0; }
#screen-customers .report-customer-row:hover { background:#f8fafb; }
#screen-customers .report-list-code,
#screen-customers .customer-code-badge {
  display:grid;
  place-items:center;
  border:1px solid #e7bdc6;
  border-radius:11px;
  color:var(--rs-red);
  background:var(--rs-red-soft);
  font-size:.7rem;
  font-weight:900;
}
#screen-customers .report-customer-copy strong {
  color:var(--rs-ink);
  font-size:.84rem;
}
#screen-customers .report-customer-copy small,
#screen-customers .report-customer-copy em {
  color:var(--rs-muted);
  font-size:.67rem;
}
#screen-customers .report-customer-owner {
  padding-left:14px;
  border-left:1px solid var(--rs-border);
}
#screen-customers .report-customer-owner small {
  color:var(--rs-muted);
  font-size:.58rem;
  letter-spacing:.09em;
}
#screen-customers .report-customer-owner strong {
  color:var(--rs-ink);
  font-size:.72rem;
}
#screen-customers .customer-report-v83 {
  display:grid;
  gap:12px;
}
#screen-customers .customer-report-summary {
  overflow:hidden;
  border:0;
  border-radius:20px;
  color:#fff;
  background:linear-gradient(120deg,#9f1730 0%,#7e1c30 32%,#142b39 78%);
  box-shadow:0 14px 30px rgba(20,38,52,.12);
}
#screen-customers .customer-report-toolbar {
  padding:11px 18px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
#screen-customers .customer-report-toolbar button,
#screen-customers .customer-report-toolbar .report-period {
  color:#fff;
  background:rgba(255,255,255,.1);
}
#screen-customers .customer-summary-identity {
  padding:22px 24px 18px;
}
#screen-customers .customer-summary-identity .customer-code-badge {
  width:58px;
  height:58px;
  border-color:rgba(255,255,255,.25);
  color:#fff;
  background:rgba(255,255,255,.11);
}
#screen-customers .customer-summary-identity .eyebrow { color:#ffd3db; }
#screen-customers .customer-summary-identity h2 {
  color:#fff;
  font-size:clamp(1.35rem,3vw,2rem);
  letter-spacing:-.04em;
}
#screen-customers .customer-summary-identity p { color:rgba(255,255,255,.72); }
#screen-customers .customer-context-strip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.14);
  background:rgba(5,20,29,.2);
}
#screen-customers .customer-context-strip > span {
  padding:14px 18px;
  border-right:1px solid rgba(255,255,255,.12);
}
#screen-customers .customer-context-strip > span:last-child { border-right:0; }
#screen-customers .customer-context-strip small {
  color:rgba(255,255,255,.58);
  font-size:.59rem;
  letter-spacing:.08em;
}
#screen-customers .customer-context-strip strong {
  overflow:hidden;
  color:#fff;
  font-size:.78rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#screen-customers .customer-period-overview {
  padding:20px 22px;
  border:1px solid var(--rs-border);
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}
#screen-customers .customer-overview-metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .customer-overview-metrics > div {
  min-height:92px;
  padding:17px;
  border:0;
  border-right:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
}
#screen-customers .customer-overview-metrics > div:last-child { border-right:0; }
#screen-customers .customer-overview-metrics strong {
  color:var(--rs-ink);
  font-size:1.45rem;
}
#screen-customers .customer-overview-metrics span {
  color:var(--rs-ink);
  font-size:.72rem;
}
#screen-customers .customer-overview-metrics small {
  color:var(--rs-muted);
  font-size:.62rem;
}
#screen-customers .customer-kpi-row {
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--rs-border);
}
#screen-customers .customer-downloads {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:0;
  background:transparent;
}
#screen-customers .customer-downloads button {
  width:auto;
  min-height:42px;
  padding:9px 13px;
  border-radius:10px;
  box-shadow:none;
}
#screen-customers .customer-downloads svg { width:16px; }
#screen-customers .customer-downloads strong { font-size:.72rem; }
#screen-customers .customer-downloads small { display:none; }
#screen-customers .customer-visit-history {
  padding:20px 22px;
  border:1px solid var(--rs-border);
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}
#screen-customers .customer-history-visit {
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:12px;
  width:100%;
  margin:0;
  padding:14px 0;
  border:0;
  border-bottom:1px solid #e4eaed;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .customer-history-visit:last-child { border-bottom:0; }
#screen-customers .customer-history-visit:hover { background:#f9fbfb; }
#screen-customers .visit-sequence {
  width:40px;
  height:40px;
  border:1px solid var(--rs-border);
  border-radius:10px;
  color:var(--rs-ink);
  background:var(--rs-soft);
}
#screen-customers .customer-history-main {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr) auto;
  gap:14px;
  align-items:center;
}
#screen-customers .customer-history-top {
  min-width:0;
}
#screen-customers .customer-history-top strong {
  color:var(--rs-ink);
  font-size:.84rem;
}
#screen-customers .customer-history-top small,
#screen-customers .customer-history-top em { color:var(--rs-muted); font-size:.66rem; }
#screen-customers .customer-history-facts {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:10px;
}
#screen-customers .customer-history-facts > span {
  min-height:54px;
  padding:8px 10px;
  border-right:1px solid var(--rs-border);
}
#screen-customers .customer-history-facts > span:last-child { border-right:0; }
#screen-customers .customer-history-facts svg { display:none; }
#screen-customers .customer-history-kpis { display:none; }
#screen-customers .customer-history-open {
  min-width:110px;
  color:var(--rs-red);
}
#screen-customers .customer-history-open small { display:none; }

/* People & Team */
#screen-customers .team-report-hero,
#screen-customers .person-command-summary,
#screen-customers .management-briefing {
  overflow:hidden;
  border:0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 28px rgba(20,38,52,.08);
}
#screen-customers .team-report-hero .report-hero-top,
#screen-customers .management-briefing-head {
  padding:22px 24px;
  color:#fff;
  background:linear-gradient(120deg,#142b39,#1b3a48);
}
#screen-customers .team-report-hero .eyebrow,
#screen-customers .management-briefing .eyebrow { color:#f0bdc7; }
#screen-customers .team-report-hero h2,
#screen-customers .management-briefing h2 { color:#fff; }
#screen-customers .team-report-hero .report-hero-top p,
#screen-customers .management-briefing-head p { color:rgba(255,255,255,.68); }
#screen-customers .report-metric-grid.report-summary-grid,
#screen-customers .executive-metric-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0;
  padding:0;
  border:1px solid var(--rs-border);
  border-top:0;
  border-radius:0;
  background:#fff;
}
#screen-customers .report-metric,
#screen-customers .executive-metric {
  min-height:112px;
  padding:17px 18px;
  border:0;
  border-right:1px solid var(--rs-border);
  border-bottom:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .report-metric:nth-child(3n),
#screen-customers .executive-metric:nth-child(3n) { border-right:0; }
#screen-customers .report-metric-icon,
#screen-customers .executive-metric-icon { display:none; }
#screen-customers .report-metric strong,
#screen-customers .executive-metric strong {
  color:var(--rs-ink);
  font-size:1.38rem;
}
#screen-customers .report-metric span,
#screen-customers .executive-metric small {
  color:var(--rs-muted);
  font-size:.65rem;
  font-weight:850;
  letter-spacing:.04em;
}
#screen-customers .report-metric small,
#screen-customers .executive-metric em { color:var(--rs-muted); font-size:.62rem; }
#screen-customers .executive-metric b { font-size:.58rem; }
#screen-customers .executive-allocation,
#screen-customers .management-time-split {
  margin:0;
  padding:18px 22px;
  border:1px solid var(--rs-border);
  border-top:0;
  border-radius:0 0 18px 18px;
  background:#fff;
}
#screen-customers .report-section-navigator {
  position:sticky;
  top:76px;
  z-index:12;
  display:flex;
  gap:4px;
  overflow-x:auto;
  margin:10px 0;
  padding:5px;
  border:1px solid var(--rs-border);
  border-radius:13px;
  background:rgba(255,255,255,.96);
  box-shadow:0 7px 18px rgba(20,38,52,.05);
}
#screen-customers .report-section-navigator button {
  min-width:max-content;
  min-height:38px;
  padding:8px 12px;
  border:0;
  border-radius:9px;
  color:#586b78;
  background:transparent;
}
#screen-customers .report-section-navigator button > span:first-child { display:none; }
#screen-customers .report-section-navigator strong { font-size:.7rem; }
#screen-customers .report-section-navigator small { display:none; }
#screen-customers .report-block,
#screen-customers .people-performance-section,
#screen-customers .person-visit-section,
#screen-customers .person-kpi-summary,
#screen-customers .management-card {
  margin:10px 0;
  padding:20px 22px;
  border:1px solid var(--rs-border);
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}
#screen-customers .report-block-heading {
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--rs-border);
}
#screen-customers .report-block-heading .eyebrow {
  color:var(--rs-red);
  font-size:.62rem;
}
#screen-customers .report-block-heading h2 {
  color:var(--rs-ink);
  font-size:1.12rem;
}
#screen-customers .report-block-heading p {
  margin:3px 0 0;
  color:var(--rs-muted);
  font-size:.69rem;
}
#screen-customers .operational-position-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .operation-position-card {
  min-height:100px;
  padding:14px;
  border:0;
  border-right:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .operation-position-card:last-child { border-right:0; }
#screen-customers .operation-position-icon { display:none; }
#screen-customers .operation-position-copy strong {
  color:var(--rs-ink);
  font-size:1.4rem;
}
#screen-customers .operation-position-copy b { color:var(--rs-ink); font-size:.68rem; }
#screen-customers .operation-position-copy small { color:var(--rs-muted); font-size:.58rem; }
#screen-customers .people-report-list {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:14px;
}
#screen-customers .person-report-card {
  margin:0;
  padding:14px 16px;
  border:0;
  border-bottom:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .person-report-card:last-child { border-bottom:0; }
#screen-customers .person-report-card:hover { background:#f8fafb; }
#screen-customers .person-scoreline {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:10px;
  background:var(--rs-soft);
}
#screen-customers .person-scoreline > span {
  border-right:1px solid var(--rs-border);
}
#screen-customers .person-scoreline > span:last-child { border-right:0; }
#screen-customers .person-scoreline strong { color:var(--rs-ink); }
#screen-customers .person-command-summary {
  padding:0;
}
#screen-customers .person-summary-back {
  margin:12px 14px 0;
  padding:8px 11px;
  border:0;
  border-radius:9px;
  color:var(--rs-ink);
  background:#edf2f4;
}
#screen-customers .person-command-head {
  margin-top:10px;
  padding:20px 22px;
  border:0;
  border-radius:0;
  color:#fff;
  background:linear-gradient(120deg,#8f1930,#142b39 76%);
}
#screen-customers .person-command-head h2 { color:#fff; }
#screen-customers .person-command-head p { color:rgba(255,255,255,.68); }
#screen-customers .person-command-head .eyebrow { color:#ffd2da; }
#screen-customers .person-summary-body { padding:18px 20px 20px; }
#screen-customers .person-summary-section-head {
  margin:0 0 10px;
}
#screen-customers .person-output-grid,
#screen-customers .person-control-grid,
#screen-customers .person-time-actions {
  gap:0;
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:12px;
}
#screen-customers .person-summary-action {
  min-height:100px;
  padding:15px;
  border:0;
  border-right:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .person-summary-action:last-child { border-right:0; }
#screen-customers .person-summary-action > span:first-child { display:none; }
#screen-customers .person-time-panel {
  margin:12px 0 18px;
  padding:16px;
  border:1px solid var(--rs-border);
  border-radius:13px;
  background:var(--rs-soft);
}
#screen-customers .person-visit-heading {
  padding-bottom:14px;
  border-bottom:1px solid var(--rs-border);
}
#screen-customers .person-visit-guide {
  margin:12px 0;
  padding:10px 12px;
  border-radius:10px;
  color:var(--rs-muted);
  background:var(--rs-soft);
  font-size:.68rem;
}
#screen-customers .person-visit-guide svg { display:none; }
#screen-customers .person-visit-day {
  overflow:hidden;
  margin:0 0 10px;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .person-visit-day > header {
  padding:10px 13px;
  border-bottom:1px solid var(--rs-border);
  background:var(--rs-soft);
}
#screen-customers .person-visit-row {
  min-height:88px;
  padding:12px 14px;
  border-bottom:1px solid var(--rs-border);
  background:#fff;
}
#screen-customers .person-route-leg {
  min-height:62px;
  padding:9px 14px;
  border-bottom:1px solid var(--rs-border);
  background:#f3f7f6;
}
#screen-customers .person-route-leg-icon { display:none; }
#screen-customers .person-route-leg-copy strong { color:var(--rs-ink); }
#screen-customers .person-kpi-summary-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .person-kpi-summary-card {
  min-height:84px;
  padding:13px 14px;
  border:0;
  border-right:1px solid var(--rs-border);
  border-bottom:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .person-kpi-summary-card:nth-child(2n) { border-right:0; }
#screen-customers .person-kpi-summary-icon { display:none; }

/* Management */
#screen-customers .management-briefing-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
#screen-customers .management-health {
  min-width:140px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  color:#fff;
  background:rgba(255,255,255,.09);
}
#screen-customers .management-health.warning {
  color:#ffe1a6;
  background:rgba(255,188,75,.1);
}
#screen-customers .management-time-split {
  display:grid;
  grid-template-columns:minmax(140px,.5fr) minmax(220px,1.5fr) auto 14px;
  gap:16px;
  align-items:center;
}
#screen-customers .attention-card {
  border-color:#e7c7a0;
}
#screen-customers .exception-list {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .exception-row {
  min-height:64px;
  margin:0;
  padding:10px 13px;
  border:0;
  border-bottom:1px solid var(--rs-border);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
#screen-customers .exception-row:last-child { border-bottom:0; }
#screen-customers .exception-row > span:first-child { display:none; }
#screen-customers .exception-row.has-issue { background:#fffaf1; }
#screen-customers .exception-row strong { color:var(--rs-ink); font-size:.76rem; }
#screen-customers .exception-row small { color:var(--rs-muted); font-size:.64rem; }
#screen-customers .exception-row em {
  display:grid;
  min-width:32px;
  height:32px;
  place-items:center;
  border-radius:9px;
  color:var(--rs-ink);
  background:#edf2f4;
  font-style:normal;
  font-weight:900;
}
#screen-customers .exception-row.has-issue em {
  color:#8c5b10;
  background:#ffedc4;
}
#screen-customers .management-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
#screen-customers .management-grid .management-card { margin:0; }
#screen-customers .coverage-list {
  overflow:hidden;
  border-top:1px solid var(--rs-border);
}
#screen-customers .coverage-row {
  padding:11px 2px;
  border:0;
  border-bottom:1px solid #e5ebee;
  background:#fff;
}
#screen-customers .coverage-track {
  height:5px;
  background:#edf1f3;
}
#screen-customers .coverage-track span { background:var(--rs-green); }
#screen-customers .management-grid .management-card:nth-child(2) .coverage-track span { background:var(--rs-red); }
#screen-customers .management-leaderboard {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .management-leaderboard > button {
  min-height:66px;
  padding:10px 13px;
  border:0;
  border-bottom:1px solid var(--rs-border);
  background:#fff;
}
#screen-customers .management-leaderboard > button:last-child { border-bottom:0; }
#screen-customers .management-leaderboard > button:hover { background:#f8fafb; }
#screen-customers .report-kpi-overview {
  overflow:hidden;
  border:1px solid var(--rs-border);
  border-radius:13px;
}
#screen-customers .kpi-overview-item {
  border-right:1px solid var(--rs-border);
  background:#fff;
}
#screen-customers .report-export-actions {
  display:flex;
  justify-content:flex-end;
  margin:10px 0;
}
#screen-customers .report-export-actions button {
  width:auto;
  min-height:44px;
  padding:10px 14px;
  border-radius:10px;
  box-shadow:none;
}
#screen-customers .report-export-actions button strong { font-size:.74rem; }
#screen-customers .report-export-actions button small { display:none; }
#screen-customers .report-methodology {
  margin:8px 0;
  padding:11px 13px;
  border:1px solid var(--rs-border);
  border-radius:11px;
  color:var(--rs-muted);
  background:#fff;
  font-size:.68rem;
}

/* Report modals and KPI drill-downs inherit the same restraint. */
#screen-customers ~ #modalRoot .modal-sheet,
body:has(#screen-customers.active) #modalRoot .modal-sheet {
  border-radius:22px 22px 0 0;
}
body:has(#screen-customers.active) #modalRoot .modal-heading {
  border-bottom:1px solid #dde5e9;
}
body:has(#screen-customers.active) #modalRoot .kpi-drill-card,
body:has(#screen-customers.active) #modalRoot .control-queue-row {
  border-color:#d7e0e5;
  box-shadow:none;
}

@media (max-width:900px) {
  #screen-customers .team-report-builder { grid-template-columns:1fr 1.25fr; }
  #screen-customers .team-run-report { grid-column:1/-1; min-height:52px; }
  #screen-customers .report-metric-grid.report-summary-grid,
  #screen-customers .executive-metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .report-metric:nth-child(3n),
  #screen-customers .executive-metric:nth-child(3n) { border-right:1px solid var(--rs-border); }
  #screen-customers .report-metric:nth-child(2n),
  #screen-customers .executive-metric:nth-child(2n) { border-right:0; }
}
@media (max-width:700px) {
  #screen-customers[data-report-view]:not([data-report-view="hub"]) {
    padding-top:0;
  }
  #screen-customers .report-view-context {
    top:0;
    margin-inline:0;
    border-radius:0 0 14px 14px;
  }
  #screen-customers .report-view-context small { display:none; }
  #screen-customers .report-filter-card { padding:14px; border-radius:15px; }
  #screen-customers #reportPanelCustomer > .report-filter-card {
    display:grid;
    grid-template-columns:1fr;
  }
  #screen-customers #reportPanelCustomer > .report-filter-card > * {
    grid-column:1 !important;
    grid-row:auto !important;
  }
  #screen-customers #reportPanelCustomer > .report-filter-card > label { margin-top:4px; }
  #screen-customers .team-report-builder { grid-template-columns:1fr; }
  #screen-customers .team-run-report { grid-column:1; min-height:50px; }
  #screen-customers .customer-report-summary,
  #screen-customers .team-report-hero,
  #screen-customers .person-command-summary,
  #screen-customers .management-briefing { border-radius:16px; }
  #screen-customers .customer-summary-identity { padding:18px; }
  #screen-customers .customer-context-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .customer-context-strip > span:nth-child(2) { border-right:0; }
  #screen-customers .customer-context-strip > span:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.12); }
  #screen-customers .customer-overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .customer-overview-metrics > div:nth-child(2) { border-right:0; }
  #screen-customers .customer-overview-metrics > div:nth-child(-n+2) { border-bottom:1px solid var(--rs-border); }
  #screen-customers .customer-history-main {
    grid-template-columns:minmax(0,1fr) auto;
  }
  #screen-customers .customer-history-facts { grid-column:1; margin-top:8px; }
  #screen-customers .customer-history-open { grid-column:2; grid-row:1/3; min-width:20px; }
  #screen-customers .customer-history-open span { display:none; }
  #screen-customers .customer-history-open svg { width:15px; }
  #screen-customers .report-customer-row {
    grid-template-columns:44px minmax(0,1fr) 14px;
  }
  #screen-customers .report-customer-owner { display:none; }
  #screen-customers .report-section-navigator { top:64px; }
  #screen-customers .operational-position-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #screen-customers .operation-position-card {
    border-bottom:1px solid var(--rs-border);
  }
  #screen-customers .operation-position-card:nth-child(2n) { border-right:0; }
  #screen-customers .management-grid { grid-template-columns:1fr; }
  #screen-customers .management-time-split {
    grid-template-columns:1fr;
  }
  #screen-customers .management-time-split > svg { display:none; }
}
@media (max-width:470px) {
  #screen-customers .filter-heading span,
  #screen-customers .team-filter-heading small { display:none; }
  #screen-customers .customer-period-overview,
  #screen-customers .customer-visit-history,
  #screen-customers .report-block,
  #screen-customers .people-performance-section,
  #screen-customers .person-visit-section,
  #screen-customers .person-kpi-summary,
  #screen-customers .management-card { padding:16px 14px; }
  #screen-customers .customer-downloads { justify-content:stretch; }
  #screen-customers .customer-downloads button { flex:1; justify-content:center; }
  #screen-customers .customer-history-visit { grid-template-columns:34px minmax(0,1fr); }
  #screen-customers .visit-sequence { width:32px; height:32px; font-size:.62rem; }
  #screen-customers .customer-history-facts > span { padding:7px 5px; }
  #screen-customers .customer-history-facts small { font-size:.54rem; }
  #screen-customers .report-metric-grid.report-summary-grid,
  #screen-customers .executive-metric-grid { grid-template-columns:1fr 1fr; }
  #screen-customers .report-metric,
  #screen-customers .executive-metric { min-height:102px; padding:14px; }
  #screen-customers .person-control-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .person-summary-action:nth-child(2n) { border-right:0; }
  #screen-customers .person-kpi-summary-grid { grid-template-columns:1fr; }
  #screen-customers .person-kpi-summary-card { border-right:0; }
}


/* Reporting Mobile Integrity v84
   Hidden decorative icons must not leave fixed grid tracks behind. */
#screen-customers .report-view-context {
  grid-template-columns:max-content minmax(0,1fr) !important;
  width:100%;
  min-width:0;
}
#screen-customers .report-detail-back {
  width:auto !important;
  min-width:max-content !important;
  max-width:none !important;
  overflow:visible !important;
  padding:9px 12px !important;
  font-size:.76rem !important;
  white-space:nowrap;
}
#screen-customers .report-detail-back span,
#screen-customers .report-detail-back svg {
  flex:0 0 auto;
}
#screen-customers .report-view-context > div {
  width:auto;
  min-width:0;
  overflow:hidden;
}
#screen-customers .report-view-context strong {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* People report builder */
#screen-customers .team-employee-select-wrap {
  grid-template-columns:minmax(0,1fr) 18px !important;
  gap:8px;
  width:100%;
  min-width:0;
}
#screen-customers .team-employee-select {
  grid-column:1;
  width:100%;
  min-width:0;
  padding:0 8px 0 2px;
  overflow:hidden;
  text-overflow:ellipsis;
}
#screen-customers .team-select-chevron {
  grid-column:2;
  width:18px;
}
#screen-customers .team-run-report {
  grid-template-columns:minmax(0,1fr) 22px !important;
  width:100%;
  min-width:0;
}
#screen-customers .team-run-report > span:nth-child(2) {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .team-run-report > [data-icon]:last-child {
  grid-column:2;
  display:block;
}
#screen-customers .team-run-report strong,
#screen-customers .team-run-report small {
  max-width:none;
}
#screen-customers .team-directory-disclosure > summary {
  grid-template-columns:minmax(0,1fr) auto !important;
  width:100%;
  min-width:0;
}
#screen-customers .team-directory-disclosure > summary > span:nth-child(2) {
  grid-column:1;
  width:auto;
  min-width:0;
}
#screen-customers .team-directory-disclosure > summary > span:last-child {
  grid-column:2;
  white-space:nowrap;
}

/* Sticky section navigation */
#screen-customers .report-section-navigator button {
  display:flex !important;
  grid-template-columns:none !important;
  flex:0 0 auto;
  gap:0;
  align-items:center;
  width:auto;
  min-width:max-content;
}
#screen-customers .report-section-navigator button > span:nth-child(2) {
  display:block;
  width:auto;
  min-width:max-content;
}
#screen-customers .report-section-navigator button > svg {
  display:none;
}

/* Individual summary cards */
#screen-customers .person-summary-action {
  grid-template-columns:minmax(0,1fr) 15px !important;
  gap:8px;
  width:100%;
  min-width:0;
}
#screen-customers .person-summary-action-copy {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .person-summary-action-copy small,
#screen-customers .person-summary-action-copy strong,
#screen-customers .person-summary-action-copy em {
  max-width:100%;
}
#screen-customers .person-summary-action > svg {
  grid-column:2;
  display:block;
}
#screen-customers .person-output-grid,
#screen-customers .person-time-actions,
#screen-customers .person-control-grid {
  width:100%;
  min-width:0;
}
#screen-customers .person-time-panel {
  width:100%;
  min-width:0;
}

/* Visit timeline */
#screen-customers .person-visit-section,
#screen-customers .person-visit-list,
#screen-customers .person-visit-day,
#screen-customers .person-visit-day-list {
  width:100%;
  min-width:0;
}
#screen-customers .person-visit-guide {
  display:block !important;
  grid-template-columns:none !important;
  width:100%;
  min-width:0;
  padding:11px 14px;
  line-height:1.45;
}
#screen-customers .person-visit-guide > span {
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
  white-space:normal;
}
#screen-customers .person-route-leg {
  grid-template-columns:22px minmax(0,1fr) auto !important;
  width:100%;
  min-width:0;
}
#screen-customers .person-route-leg-line {
  grid-column:1;
}
#screen-customers .person-route-leg-copy {
  grid-column:2;
  width:100%;
  min-width:0;
}
#screen-customers .person-route-leg-open {
  grid-column:3;
}
#screen-customers .person-route-leg-copy strong {
  flex-wrap:wrap;
}
#screen-customers .person-visit-row {
  width:100%;
  min-width:0;
}
#screen-customers .person-visit-main {
  width:100%;
  min-width:0;
}
#screen-customers .person-visit-main strong,
#screen-customers .person-visit-main small,
#screen-customers .person-visit-main em {
  max-width:100%;
}

/* KPI, team, and management tiles with hidden leading icons */
#screen-customers .person-kpi-summary-card {
  grid-template-columns:minmax(0,1fr) 48px !important;
  width:100%;
  min-width:0;
}
#screen-customers .person-kpi-summary-card > span:nth-child(2) {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .person-kpi-open {
  grid-column:2;
}
#screen-customers .executive-metric {
  grid-template-columns:minmax(0,1fr) 15px !important;
  width:100%;
  min-width:0;
}
#screen-customers .executive-metric-copy {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .executive-metric > svg {
  grid-column:2;
}
#screen-customers .report-metric {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 15px !important;
  width:100%;
  min-width:0;
}
#screen-customers .report-metric > div {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .report-metric-open {
  grid-column:2;
}
#screen-customers .operation-position-card {
  grid-template-columns:minmax(0,1fr) 18px !important;
  width:100%;
  min-width:0;
}
#screen-customers .operation-position-copy {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .operation-position-arrow {
  grid-column:2;
}
#screen-customers .exception-row {
  grid-template-columns:minmax(0,1fr) auto 16px !important;
  width:100%;
  min-width:0;
}
#screen-customers .exception-row > div {
  grid-column:1;
  width:100%;
  min-width:0;
}
#screen-customers .exception-row > em {
  grid-column:2;
}
#screen-customers .exception-chevron {
  grid-column:3;
}
#screen-customers .customer-history-facts > span {
  grid-template-columns:1fr !important;
}
#screen-customers .customer-history-facts b,
#screen-customers .customer-history-facts small {
  width:100%;
  max-width:none;
}

/* Keep reporting content clear of the fixed mobile navigation. */
@media (max-width:700px) {
  #screen-customers .report-panel.active {
    padding-bottom:calc(118px + env(safe-area-inset-bottom));
  }
  #screen-customers .report-view-context {
    grid-template-columns:max-content minmax(0,1fr) !important;
    min-height:58px;
  }
  #screen-customers .report-detail-back {
    min-height:38px;
    padding:8px 10px !important;
  }
  #screen-customers .team-builder-step {
    grid-template-columns:minmax(0,1fr) !important;
    width:100%;
    min-width:0;
  }
  #screen-customers .team-run-report {
    min-height:58px;
  }
  #screen-customers .person-command-head {
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:12px;
  }
  #screen-customers .person-command-head > .status-pill {
    grid-column:1/-1;
    justify-self:start;
  }
  #screen-customers .person-command-head h2 {
    overflow-wrap:anywhere;
  }
  #screen-customers .person-output-grid,
  #screen-customers .person-time-actions {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  #screen-customers .person-summary-action {
    min-height:92px;
    padding:13px 12px;
  }
  #screen-customers .person-summary-action-copy strong {
    overflow:visible;
    font-size:1.05rem;
    text-overflow:clip;
  }
  #screen-customers .person-summary-action-copy small {
    font-size:.66rem;
  }
  #screen-customers .person-summary-action-copy em {
    display:-webkit-box;
    overflow:hidden;
    white-space:normal;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:.62rem;
  }
  #screen-customers .person-visit-heading {
    grid-template-columns:44px minmax(0,1fr) auto !important;
    width:100%;
    min-width:0;
    padding:14px 12px;
  }
  #screen-customers .person-route-count {
    min-width:50px;
  }
  #screen-customers .person-visit-row {
    grid-template-columns:36px minmax(0,1fr) 68px 15px !important;
    gap:8px;
    padding:11px 8px;
  }
  #screen-customers .person-visit-result {
    min-width:0;
  }
  #screen-customers .person-route-leg {
    padding:9px 8px;
  }
  #screen-customers .person-route-leg-open small {
    display:none;
  }
  #screen-customers .person-kpi-summary-card {
    grid-template-columns:minmax(0,1fr) 42px !important;
  }
}
@media (max-width:420px) {
  #screen-customers .report-view-context {
    gap:8px;
    padding:10px;
  }
  #screen-customers .report-detail-back span {
    display:none;
  }
  #screen-customers .report-detail-back {
    width:38px !important;
    min-width:38px !important;
    justify-content:center;
    padding:0 !important;
    font-size:0 !important;
  }
  #screen-customers .person-output-grid,
  #screen-customers .person-time-actions {
    grid-template-columns:1fr !important;
  }
  #screen-customers .person-summary-action {
    min-height:78px;
    border-right:0;
    border-bottom:1px solid var(--rs-border);
  }
  #screen-customers .person-summary-action:last-child {
    border-bottom:0;
  }
  #screen-customers .person-visit-row {
    grid-template-columns:32px minmax(0,1fr) 56px 14px !important;
  }
  #screen-customers .person-visit-result small span {
    display:none;
  }
}


/* Today Date Control v85
   One-day operational scope with exact report handoff and mobile-safe controls. */
.product-dashboard-header {
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto;
  align-items:center;
}
.product-dashboard-title {
  min-width:0;
}
.product-dashboard-header>.product-dashboard-tools {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.product-date-control {
  display:flex;
  align-items:stretch;
  min-height:44px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--canvas);
}
.product-date-control button {
  display:grid;
  place-items:center;
  color:var(--ink);
  border:0;
  background:transparent;
}
.product-date-control button:hover,
.product-date-control button:focus-visible {
  color:var(--brand);
  background:var(--authority-soft);
}
.product-date-step {
  width:38px;
  flex:0 0 38px;
}
.product-date-step:disabled {
  cursor:not-allowed;
  color:var(--subtle);
  opacity:.45;
}
.product-date-step svg {
  width:15px;
  height:15px;
}
.product-date-step.next {
  border-left:1px solid var(--border);
}
.product-date-step.previous {
  border-right:1px solid var(--border);
}
.product-date-control label {
  display:grid;
  align-content:center;
  gap:1px;
  min-width:144px;
  padding:5px 10px;
  background:var(--surface);
}
.product-date-control label small {
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.product-date-control input {
  width:100%;
  min-height:22px;
  padding:0;
  color:var(--ink);
  border:0;
  outline:0;
  background:transparent;
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.product-date-today {
  min-width:54px;
  padding:0 10px;
  border-left:1px solid var(--border) !important;
  color:var(--brand) !important;
  background:var(--brand-soft) !important;
  font-size:10px;
  font-weight:800;
}
.product-date-context {
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 16px;
  color:var(--authority);
  border-bottom:1px solid var(--border);
  background:var(--authority-soft);
}
.product-date-context>svg {
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.product-date-context>span {
  display:flex;
  align-items:baseline;
  gap:7px;
}
.product-date-context strong {
  font-size:10px;
}
.product-date-context small {
  color:var(--muted);
  font-size:9px;
}
.product-dashboard.is-historical-day .product-live {
  color:var(--authority);
}
.product-dashboard.is-historical-day .product-live i {
  box-shadow:0 0 0 4px var(--authority-soft);
}
@media(max-width:760px) {
  .product-dashboard-header {
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    align-items:stretch;
  }
  .product-dashboard-tools {
    justify-content:stretch;
  }
  .product-date-control {
    min-width:0;
    flex:1;
  }
  .product-date-control label {
    min-width:0;
    flex:1;
  }
  .product-date-context>span {
    display:grid;
    gap:1px;
  }
}
@media(max-width:430px) {
  .product-dashboard-tools {
    gap:6px;
  }
  .product-date-step {
    width:34px;
    flex-basis:34px;
  }
  .product-date-control label {
    padding-inline:7px;
  }
  .product-date-today {
    min-width:48px;
    padding-inline:7px;
  }
  .product-refresh {
    width:38px;
    flex:0 0 38px;
  }
}

/* Reporting Workspace v93
   Keep the People builder inside one decision surface and adapt primary
   navigation to desktop without covering report content. */
#reportPanelTeam > .team-report-filter-card { display:block; width:100%; min-width:0; overflow:hidden; }
#reportPanelTeam > .team-report-filter-card:not(.focused-report) .team-filter-heading {
  display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
  margin-bottom:14px; padding-bottom:13px; border-bottom:1px solid var(--rs-border);
}
#reportPanelTeam > .team-report-filter-card.focused-report .team-filter-heading { display:none; }
#screen-customers #reportPanelTeam .team-report-builder {
  width:100%; min-width:0;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.25fr) minmax(0,.85fr);
  gap:12px; align-items:stretch;
}
#screen-customers #reportPanelTeam .team-builder-step,
#screen-customers #reportPanelTeam .team-run-report { width:100%; min-width:0; max-width:100%; }
#screen-customers #reportPanelTeam .team-run-report { grid-column:auto; min-height:100%; overflow:hidden; }
#screen-customers #reportPanelTeam .team-employee-select { overflow:visible; text-overflow:clip; }
#screen-customers #reportPanelTeam .team-directory-disclosure { width:100%; min-width:0; margin-top:12px; }

@media (min-width:1024px) {
  .app-shell { display:grid; grid-template-rows:auto auto minmax(0,1fr); padding-bottom:0; }
  .topbar { grid-row:1; }
  .bottom-nav {
    position:sticky; z-index:30; top:64px; bottom:auto; left:auto; grid-row:2;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:min(calc(100% - 32px),1120px); min-height:54px; margin:10px auto 0; padding:5px;
    transform:none; border:1px solid var(--border); border-radius:14px;
    background:color-mix(in srgb,var(--surface) 98%,transparent);
    box-shadow:0 8px 24px rgba(7,29,48,.06); backdrop-filter:blur(16px);
  }
  .bottom-nav:has(.inbox-nav-item.hidden) { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bottom-nav .nav-item {
    min-height:44px; flex-direction:row; gap:8px; padding:0 16px;
    border-radius:10px; font-size:11px;
  }
  .bottom-nav .nav-icon { height:20px; }
  .bottom-nav .nav-item.active { color:var(--brand); background:var(--brand-soft); }
  .bottom-nav .nav-item.active::after { top:auto; bottom:0; width:24px; height:2px; }
  main { grid-row:3; }
  #screen-customers { padding-bottom:42px; }
}
@media (min-width:721px) and (max-width:1023px) {
  #screen-customers #reportPanelTeam .team-report-builder { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers #reportPanelTeam .team-run-report { grid-column:1 / -1; min-height:58px; }
}
@media (max-width:720px) {
  #reportPanelTeam > .team-report-filter-card:not(.focused-report) .team-filter-heading { align-items:flex-start; gap:10px; }
  #screen-customers #reportPanelTeam .team-report-builder { grid-template-columns:minmax(0,1fr); }
  #screen-customers #reportPanelTeam .team-run-report { grid-column:1; min-height:58px; }
}
/* Multi-day Customer Coverage v94 */
#screen-customers .customer-coverage-section { overflow:hidden; }
#screen-customers .customer-coverage-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 12px; overflow:hidden; border:1px solid var(--rs-border); border-radius:12px; background:var(--rs-soft); }
#screen-customers .customer-coverage-metrics>div { min-width:0; padding:12px 14px; border-left:1px solid var(--rs-border); }
#screen-customers .customer-coverage-metrics>div:first-child { border-left:0; }
#screen-customers .customer-coverage-metrics strong { display:block; color:var(--rs-ink); font-size:1.25rem; font-variant-numeric:tabular-nums; }
#screen-customers .customer-coverage-metrics small { display:block; margin-top:2px; color:var(--rs-muted); font-size:.65rem; font-weight:800; text-transform:uppercase; }
#screen-customers .customer-coverage-list { overflow:hidden; border:1px solid var(--rs-border); border-radius:13px; background:#fff; }
#screen-customers .customer-coverage-row { width:100%; min-width:0; min-height:76px; display:grid; grid-template-columns:42px minmax(0,1fr) minmax(120px,.3fr) 20px; align-items:center; gap:12px; padding:11px 14px; color:var(--rs-ink); text-align:left; border:0; border-bottom:1px solid var(--rs-border); background:#fff; cursor:pointer; transition:background .18s ease,border-color .18s ease; }
#screen-customers .customer-coverage-row:last-child { border-bottom:0; }
#screen-customers .customer-coverage-row:hover,#screen-customers .customer-coverage-row:focus-visible { background:var(--rs-soft); }
#screen-customers .customer-coverage-rank { width:38px; height:38px; display:grid; place-items:center; color:var(--rs-navy); border:1px solid var(--rs-border); border-radius:10px; background:var(--rs-soft); font-size:.7rem; font-weight:900; }
#screen-customers .customer-coverage-copy { min-width:0; display:grid; gap:3px; }
#screen-customers .customer-coverage-copy>strong { overflow-wrap:anywhere; font-size:.82rem; }
#screen-customers .customer-coverage-copy>small { overflow:hidden; color:var(--rs-muted); font-size:.62rem; text-overflow:ellipsis; white-space:nowrap; }
#screen-customers .customer-coverage-copy>em { min-width:0; display:flex; align-items:center; gap:5px; color:var(--rs-navy); font-size:.62rem; font-style:normal; font-weight:750; }
#screen-customers .customer-coverage-copy>em svg { width:13px; height:13px; flex:0 0 13px; }
#screen-customers .customer-coverage-copy>em span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#screen-customers .customer-coverage-result { display:grid; justify-items:end; gap:2px; }
#screen-customers .customer-coverage-result strong { font-size:1.05rem; font-variant-numeric:tabular-nums; }
#screen-customers .customer-coverage-result small { color:var(--rs-ink); font-size:.62rem; font-weight:800; }
#screen-customers .customer-coverage-result em { color:var(--rs-muted); font-size:.58rem; font-style:normal; }
#screen-customers .customer-coverage-open { color:var(--rs-red); }
#screen-customers .customer-coverage-open svg { width:16px; }
.customer-coverage-modal-summary { display:grid; grid-template-columns:40px minmax(0,1fr); gap:10px; padding:12px; border:1px solid var(--border); border-radius:12px; background:var(--canvas); }
.customer-coverage-modal-summary>svg { width:20px; height:20px; padding:9px; color:var(--authority); border-radius:10px; background:var(--authority-soft); box-sizing:content-box; }
.customer-coverage-modal-summary>div { min-width:0; display:grid; gap:2px; }
.customer-coverage-modal-summary small,.customer-coverage-modal-summary span { color:var(--muted); font-size:10px; }
.customer-coverage-visit-list { margin-top:10px; overflow:hidden; border:1px solid var(--border); border-radius:12px; }
.customer-coverage-visit { width:100%; min-height:68px; display:grid; grid-template-columns:34px minmax(0,1fr) auto 16px; align-items:center; gap:9px; padding:10px; text-align:left; border:0; border-bottom:1px solid var(--border); background:var(--surface); cursor:pointer; }
.customer-coverage-visit:last-child { border-bottom:0; }
.customer-coverage-visit:hover,.customer-coverage-visit:focus-visible { background:var(--canvas); }
.customer-coverage-visit-index { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--border); border-radius:9px; font-size:9px; font-weight:900; }
.customer-coverage-visit-copy { min-width:0; display:grid; gap:2px; }
.customer-coverage-visit-copy small,.customer-coverage-visit-copy em { overflow:hidden; color:var(--muted); font-size:9px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.customer-coverage-visit-copy strong { font-size:12px; }
.customer-coverage-visit-result { display:grid; justify-items:end; gap:2px; }
.customer-coverage-visit-result strong { font-size:12px; }
.customer-coverage-visit-result small { color:var(--muted); font-size:9px; }
@media(max-width:720px) {
  #screen-customers .customer-coverage-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .customer-coverage-metrics>div:nth-child(3) { border-left:0; border-top:1px solid var(--rs-border); }
  #screen-customers .customer-coverage-metrics>div:nth-child(4) { border-top:1px solid var(--rs-border); }
  #screen-customers .customer-coverage-row { min-height:92px; grid-template-columns:36px minmax(0,1fr) 64px 16px; gap:8px; padding:10px 8px; }
  #screen-customers .customer-coverage-rank { width:34px; height:34px; }
  #screen-customers .customer-coverage-result small { font-size:.56rem; }
  #screen-customers .customer-coverage-result em { display:none; }
  .customer-coverage-visit { grid-template-columns:30px minmax(0,1fr) 56px 14px; padding:9px 7px; }
  .customer-coverage-visit-copy em { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) { #screen-customers .customer-coverage-row { transition:none; } }
/* Customer Directory v96 — immediate list, real operational filters, paged rendering. */
#screen-customers #reportPanelCustomer .customer-directory-filters { min-width:0; border:1px solid var(--rs-border); border-radius:13px; background:var(--rs-soft); }
#screen-customers .customer-directory-filters summary { min-height:46px; display:flex; align-items:center; gap:10px; padding:9px 12px; color:var(--rs-ink); cursor:pointer; list-style:none; touch-action:manipulation; }
#screen-customers .customer-directory-filters summary::-webkit-details-marker { display:none; }
#screen-customers .customer-directory-filters summary > [data-icon] { width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center; color:var(--rs-navy); border-radius:8px; background:#fff; }
#screen-customers .customer-directory-filters summary svg { width:17px; height:17px; stroke-width:1.8; }
#screen-customers .customer-directory-filters summary > span:nth-child(2) { min-width:0; display:grid; gap:1px; }
#screen-customers .customer-directory-filters summary strong { font-size:.72rem; }
#screen-customers .customer-directory-filters summary small { color:var(--rs-muted); font-size:.62rem; }
#screen-customers .customer-directory-filters .filter-summary-chevron { margin-left:auto; transition:transform .18s ease; }
#screen-customers .customer-directory-filters[open] .filter-summary-chevron { transform:rotate(90deg); }
#screen-customers .customer-directory-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:0 12px 12px; border-top:1px solid var(--rs-border); }
#screen-customers .customer-directory-filter-grid label { min-width:0; display:grid; gap:5px; padding-top:10px; }
#screen-customers .customer-directory-filter-grid label > span { color:var(--rs-muted); font-size:.58rem; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
#screen-customers .customer-directory-filter-grid select { width:100%; min-width:0; min-height:42px; padding:0 30px 0 10px; color:var(--rs-ink); border:1px solid var(--rs-border); border-radius:9px; background:#fff; font:inherit; font-size:.68rem; font-weight:700; }
#screen-customers .customer-directory-filter-grid select:focus-visible { outline:2px solid var(--rs-red); outline-offset:2px; }
#screen-customers .customer-directory-filter-grid .customer-sort-filter { grid-column:span 2; }
#screen-customers .customer-filter-reset { min-height:42px; align-self:end; display:flex; align-items:center; justify-content:center; gap:7px; padding:0 12px; color:var(--rs-red); border:1px solid #e7bdc6; border-radius:9px; background:#fff; font-size:.67rem; font-weight:850; cursor:pointer; transition:background .18s ease,border-color .18s ease; }
#screen-customers .customer-filter-reset:hover,#screen-customers .customer-filter-reset:focus-visible { background:var(--rs-red-soft); border-color:var(--rs-red); }
#screen-customers .customer-filter-reset svg { width:15px; height:15px; stroke-width:1.8; }
#screen-customers .customer-directory-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#screen-customers .customer-directory-head > div { min-width:0; display:grid; gap:2px; }
#screen-customers .customer-directory-head .eyebrow { color:var(--rs-red); font-size:.56rem; }
#screen-customers .customer-directory-head > small { max-width:330px; color:var(--rs-muted); font-size:.63rem; text-align:right; }
#screen-customers .report-customer-row { color:var(--rs-ink); text-align:left; cursor:pointer; touch-action:manipulation; transition:background .18s ease,border-color .18s ease; }
#screen-customers .report-customer-row:focus-visible { position:relative; z-index:1; outline:2px solid var(--rs-red); outline-offset:-2px; }
#screen-customers .report-customer-copy { min-width:0; display:grid; gap:3px; }
#screen-customers .report-customer-copy strong,#screen-customers .report-customer-copy small { overflow-wrap:anywhere; }
#screen-customers .report-customer-copy em { display:flex; flex-wrap:wrap; align-items:center; gap:5px; font-style:normal; }
#screen-customers .report-customer-copy em b { color:var(--rs-ink); }
#screen-customers .customer-visit-count,#screen-customers .customer-master-status { display:inline-flex; align-items:center; min-height:20px; padding:2px 7px; border-radius:999px; color:var(--rs-navy); background:var(--rs-soft); font-size:.58rem; font-weight:850; }
#screen-customers .customer-team-count { display:inline-flex; align-items:center; gap:4px; min-height:22px; padding:2px 8px; border:1px solid var(--rs-border); border-radius:999px; font-size:.6rem; font-weight:750; }
#screen-customers .customer-team-count b { font-size:.68rem; }
#screen-customers .customer-team-count.merch { color:var(--rs-green); background:var(--rs-green-soft); }
#screen-customers .customer-team-count.sales { color:var(--rs-navy); background:var(--rs-soft); }
#screen-customers .customer-source-incomplete { color:var(--rs-amber); font-size:.6rem; font-weight:800; }
#screen-customers .customer-master-status { color:#7a5100; background:#fff1c7; }
#screen-customers .customer-directory-more,#screen-customers .customer-directory-end { display:flex; justify-content:center; padding:12px; border:1px solid var(--rs-border); border-top:0; border-radius:0 0 14px 14px; background:#fff; }
#screen-customers .customer-directory-more .secondary-button { min-width:210px; min-height:44px; }
#screen-customers .customer-directory-more .secondary-button span { margin-left:6px; color:var(--rs-muted); font-size:.62rem; }
#screen-customers .customer-directory-end { color:var(--rs-muted); font-size:.65rem; font-weight:750; }
@media(max-width:720px) {
  #screen-customers .customer-directory-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #screen-customers .customer-directory-filter-grid .customer-sort-filter { grid-column:1/-1; }
  #screen-customers .customer-directory-head { align-items:flex-start; }
  #screen-customers .customer-directory-head > small { display:none; }
}
@media(max-width:390px) {
  #screen-customers .customer-directory-filter-grid { grid-template-columns:1fr; }
  #screen-customers .customer-directory-filter-grid .customer-sort-filter { grid-column:1; }
}
@media(prefers-reduced-motion:reduce) {
  #screen-customers .customer-directory-filters .filter-summary-chevron,
  #screen-customers .customer-filter-reset,
  #screen-customers .report-customer-row { transition:none!important; }
}
/* Customer Directory v97 — Region is the geographic filter; count labels identify active Customer Master branches. */
/* Customer Directory v98 — Sales Channel is sourced from the Sales Master and remains a compact operational facet. */
#screen-customers .customer-sales-channel { display:inline-flex; align-items:center; min-height:20px; padding:2px 7px; border:1px solid var(--rs-border); border-radius:999px; color:var(--rs-navy); background:#fff; font-size:.58rem; font-weight:850; }
@media(min-width:721px) { #screen-customers .customer-directory-filter-grid .customer-sort-filter { grid-column:span 1; } }

/* Team Activity Mandatory Progress v104 — plan versus completed mandatory visits. */
.product-person-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.product-person-metrics>span.mandatory{background:color-mix(in srgb,var(--brand-soft) 55%,var(--surface))}.product-person-metrics>span.mandatory strong{color:var(--brand)}.product-person-metrics>span.mandatory-done{background:color-mix(in srgb,var(--success-soft) 52%,var(--surface))}.product-person-metrics>span.mandatory-done strong{color:var(--success)}
@media(max-width:680px){.product-person-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:430px){.product-person-metrics>span:nth-child(n+4){border-top:1px solid var(--border)}.product-person-metrics>span:nth-child(4){grid-column:auto;border-left:0}.product-person-metrics>span:nth-child(5){grid-column:auto}.product-person-metrics>span:nth-child(6){grid-column:auto}}


/* Current Shop Visibility v105 — exact shop, check-in and live elapsed time */
.product-person.state-in-store{background:color-mix(in srgb,var(--success-soft) 30%,var(--surface))}
.product-person-current-store{display:grid;gap:1px;min-width:0;margin-top:2px;padding:5px 7px;border:1px solid color-mix(in srgb,var(--success) 25%,var(--border));border-radius:8px;background:color-mix(in srgb,var(--success-soft) 68%,var(--surface))}
.product-person-current-store>small{color:var(--success);font-size:7px;font-weight:850;letter-spacing:.08em;white-space:normal}
.product-person-main .product-person-current-store>strong{color:var(--ink);font-size:9px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.product-person-current-store>em{color:var(--success);font-size:7.5px;font-style:normal;font-variant-numeric:tabular-nums}
.product-person-current-store>em b{font-weight:850}
@media(max-width:680px){.product-person.state-in-store{grid-template-rows:auto auto auto}.product-person-current-store{margin-right:2px}.product-person-main .product-person-current-store>strong{font-size:9.5px}}


/* Visit Plan Split v106 — mandatory completion versus visits outside plan */
.product-person-metrics>span.other-visits{background:color-mix(in srgb,var(--authority-soft) 64%,var(--surface))}.product-person-metrics>span.other-visits strong{color:var(--authority)}

/* Team Activity Visual System v108 — same operational logic, clearer hierarchy. */
.product-people{--team-card-border:color-mix(in srgb,var(--authority) 12%,var(--border));margin-top:14px;padding:18px;border-color:var(--team-card-border);border-radius:20px;background:color-mix(in srgb,var(--canvas) 70%,var(--surface));box-shadow:0 12px 32px rgba(15,39,58,.07)}
.product-people>header{min-height:62px;padding:0 4px 14px;border-bottom-color:var(--team-card-border)}
.product-people>header>div{gap:3px}.product-people>header span{font-size:.64rem;letter-spacing:.12em}
.product-people>header h2{font-size:1.25rem;font-weight:800;letter-spacing:-.025em}
.product-people>header p{color:var(--muted);font-size:.72rem;line-height:1.45}
.product-people>header button{min-height:44px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--brand) 18%,var(--border));border-radius:12px;background:var(--surface);font-size:.7rem;cursor:pointer;touch-action:manipulation;transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}
.product-people>header button:hover,.product-people>header button:focus-visible{color:var(--brand-strong);border-color:color-mix(in srgb,var(--brand) 44%,var(--border));background:var(--brand-soft);outline:3px solid color-mix(in srgb,var(--brand) 22%,transparent);outline-offset:2px}
.product-people-list{gap:9px;padding-top:12px}
.product-person{--person-tone:var(--subtle);min-height:98px;grid-template-columns:minmax(280px,1.25fr) auto 92px minmax(390px,1fr) 22px;gap:14px;padding:13px 14px;border:1px solid var(--team-card-border);border-left:4px solid var(--person-tone);border-radius:15px;background:linear-gradient(90deg,color-mix(in srgb,var(--person-tone) 4%,var(--surface)),var(--surface) 30%);box-shadow:0 2px 8px rgba(15,39,58,.035);cursor:pointer;touch-action:manipulation;transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.product-person:last-child{border-bottom:1px solid var(--team-card-border)}
.product-person.state-in-store{--person-tone:var(--accent);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 6%,var(--surface)),var(--surface) 34%)}
.product-person.state-active{--person-tone:var(--info)}.product-person.state-pending-close{--person-tone:var(--warning)}.product-person.state-closed{--person-tone:var(--authority)}
.product-person:hover{border-color:color-mix(in srgb,var(--person-tone) 34%,var(--border));background:linear-gradient(90deg,color-mix(in srgb,var(--person-tone) 8%,var(--surface)),var(--surface) 42%);box-shadow:0 8px 20px rgba(15,39,58,.08)}
.product-person:focus-visible{border-color:var(--person-tone);background:linear-gradient(90deg,color-mix(in srgb,var(--person-tone) 8%,var(--surface)),var(--surface) 42%);box-shadow:0 0 0 3px color-mix(in srgb,var(--person-tone) 22%,transparent),0 8px 20px rgba(15,39,58,.08);outline:none}
.product-person-main{grid-template-columns:42px minmax(0,1fr);gap:11px}.product-avatar{width:42px;height:42px;border-radius:12px;font-size:.72rem;box-shadow:0 4px 10px rgba(15,47,74,.12)}
.product-person-main>span:last-child{gap:3px}.product-person-main strong{font-size:.8rem;font-weight:800;letter-spacing:-.012em}
.product-person-main small{font-size:.68rem;line-height:1.35}.product-person-main em.product-person-employee{color:var(--muted);font-size:.61rem;line-height:1.35}
.product-person-current-store{gap:2px;margin-top:1px;padding:7px 9px;border-color:color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:10px;background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.product-person-current-store>small{color:var(--accent-strong);font-size:.57rem;letter-spacing:.1em}
.product-person-main .product-person-current-store>strong{display:-webkit-box;overflow:hidden;color:var(--ink);font-size:.68rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.product-person-current-store>em{color:var(--accent-strong);font-size:.6rem;line-height:1.35}
.product-person-status{min-height:30px;padding:5px 9px;color:var(--person-tone);border-color:color-mix(in srgb,var(--person-tone) 28%,var(--border));background:color-mix(in srgb,var(--person-tone) 7%,var(--surface));font-size:.62rem;font-weight:800}
.product-person-status i{width:7px;height:7px;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 13%,transparent)}
.product-person-start{gap:2px;padding-left:2px}.product-person-start small{color:var(--muted);font-size:.57rem;font-weight:650;letter-spacing:.02em}.product-person-start strong{font-size:.72rem;font-weight:800}
.product-person-metrics{overflow:hidden;grid-template-columns:repeat(6,minmax(0,1fr));min-height:58px;border:1px solid var(--border);border-radius:11px;background:color-mix(in srgb,var(--canvas) 68%,var(--surface))}
.product-person-metrics>span{align-content:center;gap:3px;padding:7px 9px;border-left-color:var(--border);background:transparent}
.product-person-metrics>span.mandatory{background:color-mix(in srgb,var(--brand) 5%,var(--surface));box-shadow:inset 0 2px 0 color-mix(in srgb,var(--brand) 72%,transparent)}
.product-person-metrics>span.mandatory-done{background:color-mix(in srgb,var(--accent) 6%,var(--surface));box-shadow:inset 0 2px 0 color-mix(in srgb,var(--accent) 72%,transparent)}
.product-person-metrics>span.other-visits{background:color-mix(in srgb,var(--authority) 4%,var(--surface));box-shadow:inset 0 2px 0 color-mix(in srgb,var(--authority) 48%,transparent)}
.product-person-metrics strong{font-size:.72rem;font-weight:800}.product-person-metrics small{color:var(--muted);font-size:.57rem;font-weight:650;line-height:1.2}
.product-person-open{display:grid;place-items:center;width:22px;height:44px;color:var(--muted)}.product-person-open svg{width:17px;height:17px}
@media(max-width:1180px){
  .product-person{grid-template-columns:minmax(280px,1fr) auto 96px 22px;grid-template-rows:auto auto}
  .product-person-metrics{grid-column:1/-1;grid-row:2;margin-left:53px}.product-person-open{grid-column:4;grid-row:1/3}
}
@media(max-width:680px){
  .product-people{padding:12px;border-radius:17px}.product-people>header{align-items:flex-start}
  .product-people>header button{min-width:44px;padding:9px;font-size:0}.product-people>header button svg{width:18px;height:18px}
  .product-people>header h2{font-size:1.08rem}.product-people>header p{font-size:.66rem}
  .product-person{grid-template-columns:minmax(0,1fr) auto 22px;grid-template-rows:auto auto auto;gap:9px;padding:12px}
  .product-person-main{grid-column:1;grid-row:1;grid-template-columns:40px minmax(0,1fr)}.product-avatar{width:40px;height:40px}
  .product-person-status{grid-column:2;grid-row:1}.product-person-start{grid-column:1/3;grid-row:2;display:flex;align-items:baseline;gap:6px;padding-left:51px}
  .product-person-metrics{grid-column:1/4;grid-row:3;margin-left:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-person-metrics>span:nth-child(n+4){border-top:1px solid var(--border)}.product-person-metrics>span:nth-child(4){border-left:0}
  .product-person-open{grid-column:3;grid-row:1/3}
}
@media(max-width:430px){
  .product-people{padding:10px}.product-person{padding:11px 10px}.product-person-main{grid-template-columns:36px minmax(0,1fr);gap:9px}
  .product-avatar{width:36px;height:36px;border-radius:10px}.product-person-main strong{font-size:.74rem}
  .product-person-status{padding:4px 7px;font-size:.57rem}.product-person-start{padding-left:45px}
  .product-person-metrics>span{padding:7px 5px}.product-person-metrics strong{font-size:.68rem}.product-person-metrics small{font-size:.53rem}
}
@media(prefers-reduced-motion:reduce){.product-people>header button,.product-person{transition:none!important}}

/* Workspace Clarity v121 — decision-first, readable, progressively disclosed. */
.product-dashboard{border-radius:20px;box-shadow:none}
.product-dashboard-header{min-height:92px;padding:18px 20px}
.product-dashboard-header h1{font-size:clamp(1.45rem,3vw,1.85rem)}
.product-dashboard-header p{font-size:.78rem}
.product-live{font-size:.68rem}
.product-summary-grid{gap:0}
.product-summary-card{min-height:124px;padding:20px}
.product-summary-card>span{font-size:.75rem;font-weight:750}
.product-summary-card>strong{font-size:2rem}
.product-summary-card>strong em{font-size:1rem}
.product-summary-card>small{font-size:.72rem;line-height:1.45}
.product-allocation{gap:14px;padding:18px 20px}
.product-allocation>header span{font-size:.65rem}
.product-allocation>header strong{font-size:1rem}
.product-allocation>header button{min-height:44px;padding:8px 10px;font-size:.72rem}
.product-time-track{height:10px}
.product-time-legend small{font-size:.72rem}.product-time-legend strong{font-size:.82rem}.product-time-legend em{font-size:.65rem}
.product-secondary-disclosure,.report-secondary-disclosure{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:var(--surface)}
.product-secondary-disclosure{margin:14px}
.product-secondary-disclosure>summary,.report-secondary-disclosure>summary{
  min-height:66px;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;
  padding:12px 16px;color:var(--ink);list-style:none;cursor:pointer;touch-action:manipulation;background:var(--surface)
}
.product-secondary-disclosure>summary::-webkit-details-marker,.report-secondary-disclosure>summary::-webkit-details-marker{display:none}
.product-secondary-disclosure>summary>span:first-child{display:flex;align-items:center;gap:11px;min-width:0}
.product-secondary-disclosure>summary>span:first-child>svg{width:22px;height:22px;padding:9px;box-sizing:content-box;color:var(--authority);border-radius:10px;background:var(--authority-soft)}
.product-secondary-disclosure>summary span span,.report-secondary-disclosure>summary>span{display:grid;gap:1px;min-width:0}
.product-secondary-disclosure>summary small,.report-secondary-disclosure>summary small{color:var(--muted);font-size:.65rem;font-weight:850;letter-spacing:.08em}
.product-secondary-disclosure>summary strong,.report-secondary-disclosure>summary strong{font-size:.9rem}
.product-secondary-disclosure>summary em,.report-secondary-disclosure>summary em{color:var(--brand);font-size:.72rem;font-style:normal;font-weight:800}
.product-secondary-disclosure>summary>svg,.report-secondary-disclosure>summary>svg{width:17px;height:17px;color:var(--muted);transition:transform .18s ease}
.product-secondary-disclosure[open]>summary>svg,.report-secondary-disclosure[open]>summary>svg{transform:rotate(90deg)}
.product-secondary-disclosure[open]>summary,.report-secondary-disclosure[open]>summary{border-bottom:1px solid var(--border);background:var(--canvas)}
.product-coverage{background:var(--border)}
.product-coverage>section{padding:18px 20px}
.product-coverage section>header span{font-size:.65rem}.product-coverage section>header h2{font-size:1rem}.product-coverage section>header button{min-height:44px;font-size:.72rem}
.product-coverage-row,.product-account-row{min-height:48px}
.product-coverage-row strong,.product-account-row>span{font-size:.78rem}.product-coverage-row small,.product-account-row>small{font-size:.68rem}.product-account-row>strong{font-size:.8rem}

.report-workspace{gap:12px}
.report-workspace-head{
  min-height:112px;align-items:center;padding:22px 24px;color:var(--report-ink);border:1px solid var(--report-line);
  border-radius:18px;background:#fff;box-shadow:none
}
.report-workspace-kicker{color:var(--report-red);font-size:.67rem;letter-spacing:.12em}
.report-workspace-kicker i{background:var(--report-green);box-shadow:0 0 0 4px #e8f7f3}
.report-workspace-head h2{margin:7px 0 3px;color:var(--report-ink);font-size:clamp(1.55rem,3vw,2rem);line-height:1.08}
.report-workspace-head p{color:var(--report-muted);font-size:.8rem}
.report-health{min-width:176px;min-height:72px;padding:12px 14px;color:var(--report-ink);border:1px solid var(--report-line);border-radius:13px;background:var(--report-soft)}
.report-health.warning{background:#fff7e8;border-color:#efd39c}
.report-health small{color:var(--report-muted);font-size:.61rem}.report-health strong{margin:2px 0;font-size:1.05rem}.report-health span{color:var(--report-muted);font-size:.68rem}
.report-scoreboard{border-radius:16px;box-shadow:none}
.report-score{min-height:116px;padding:18px 20px}
.report-score:before{left:20px}
.report-score small{font-size:.66rem}.report-score>strong{font-size:clamp(1.65rem,3vw,2.1rem)}.report-score p{font-size:.72rem}
.report-time-analysis,.report-launcher,.report-analysis-panel,.report-people-panel{padding:20px 22px;border-radius:16px;box-shadow:none}
.report-section-heading{margin-bottom:14px}.report-section-heading>div>span{font-size:.65rem}.report-section-heading h3{font-size:1.12rem}
.report-section-heading>button,.report-section-heading>p{min-height:44px;display:inline-flex;align-items:center;font-size:.72rem}
.report-time-layout{border-radius:14px}.report-time-total{padding:20px}.report-time-total strong{font-size:1.7rem}.report-time-breakdown{padding:20px}
.report-launcher-grid{border-radius:14px}
.report-launcher-grid>button{min-height:112px;padding:18px;grid-template-columns:34px minmax(0,1fr) 18px}
.report-launcher-grid>button:nth-child(n) .report-launch-number{color:var(--report-red);background:#fff0f3}
.report-launcher-grid small{font-size:.64rem}.report-launcher-grid strong{font-size:.94rem}.report-launcher-grid em{font-size:.72rem}
.report-secondary-disclosure{border-color:var(--report-line)}
.report-secondary-disclosure>summary{border-color:var(--report-line);padding:13px 20px}
.report-secondary-disclosure>summary small{color:var(--report-red)}
.report-secondary-content{display:grid;gap:12px;padding:12px;background:var(--report-soft)}
.report-secondary-content .report-analysis-grid{gap:12px}
.report-secondary-content .report-analysis-panel,.report-secondary-content .report-people-panel{box-shadow:none}

#screen-customers .reporting-global-filter{padding:12px 14px}
#screen-customers .reporting-range-label strong{font-size:.9rem}
#screen-customers .reporting-range-label small{font-size:.72rem}
#screen-customers .reporting-range-presets button{min-height:44px;font-size:.75rem}
#screen-customers .customer-directory-filter-grid label>span{font-size:.66rem}
#screen-customers .customer-directory-filter-grid select{min-height:44px;font-size:.78rem}
#screen-customers .customer-directory-filters summary strong{font-size:.82rem}
#screen-customers .customer-directory-filters summary small{font-size:.7rem}
#screen-customers .customer-directory-head .eyebrow{font-size:.64rem}
#screen-customers .customer-directory-head>small{font-size:.72rem}
#screen-customers .report-customer-copy strong{font-size:.82rem}
#screen-customers .report-customer-copy small,#screen-customers .report-customer-copy em{font-size:.7rem}

[data-theme="dark"] .report-workspace-head,[data-theme="dark"] .report-scoreboard,[data-theme="dark"] .report-score,
[data-theme="dark"] .report-time-analysis,[data-theme="dark"] .report-launcher,[data-theme="dark"] .report-launcher-grid>button,
[data-theme="dark"] .report-analysis-panel,[data-theme="dark"] .report-people-panel{color:var(--ink);border-color:var(--border);background:var(--surface)}
[data-theme="dark"] .report-workspace-head h2,[data-theme="dark"] .report-health,[data-theme="dark"] .report-score>strong{color:var(--ink)}
[data-theme="dark"] .report-health,[data-theme="dark"] .report-secondary-content{border-color:var(--border);background:var(--canvas)}

@media(max-width:760px){
  .product-dashboard-header{min-height:0;padding:16px}.product-summary-card{min-height:112px;padding:16px}
  .product-allocation{padding:16px}.product-secondary-disclosure{margin:10px}
  .report-workspace-head{align-items:stretch;gap:14px;padding:18px}.report-health{min-width:150px}
  .report-score{padding:16px}.report-time-analysis,.report-launcher,.report-analysis-panel,.report-people-panel{padding:16px}
  .report-launcher-grid{grid-template-columns:1fr}.report-launcher-grid>button{min-height:88px;border-right:0;border-bottom:1px solid var(--report-line)}.report-launcher-grid>button:last-child{border-bottom:0}
  .report-time-layout{grid-template-columns:1fr}.report-time-total{padding:16px}.report-time-breakdown{padding:16px}
}
@media(max-width:520px){
  .product-dashboard-header h1{font-size:1.35rem}.product-dashboard-header p{font-size:.72rem}
  .product-summary-card>span{font-size:.68rem}.product-summary-card>strong{font-size:1.65rem}.product-summary-card>small{font-size:.64rem}
  .product-time-legend{grid-template-columns:1fr}.product-time-legend em{grid-column:3}
  .product-secondary-disclosure>summary,.report-secondary-disclosure>summary{grid-template-columns:minmax(0,1fr) 18px;min-height:62px;padding:10px 12px}
  .product-secondary-disclosure>summary>em,.report-secondary-disclosure>summary>em{display:none}
  .report-workspace-head{display:grid}.report-health{width:100%;min-width:0}
  .report-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr))}.report-score{min-height:108px;border-bottom:1px solid var(--report-line)}.report-score:nth-child(2){border-right:0}.report-score:nth-last-child(-n+2){border-bottom:0}
  .report-time-figures{grid-template-columns:1fr;gap:10px}.report-time-figures>*{min-height:48px;padding:8px 0;border-right:0;border-bottom:1px solid var(--report-line)}.report-time-figures>*:last-child{border-bottom:0}
  .report-secondary-content .report-analysis-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.product-secondary-disclosure>summary>svg,.report-secondary-disclosure>summary>svg{transition:none}}

/* Desktop Application Frame v126 - every primary screen shares the 1120px frame. */
@media (min-width:1024px) {
  .app-shell > .bottom-nav,
  .app-shell > main {
    width:min(calc(100% - 32px),1120px);
    margin-inline:auto;
  }
  #screen-home {
    padding-inline:0;
  }
}

/* v127 — Sales Pro parity: ranked region coverage and actionable latest store activity. */
.product-coverage-disclosure > summary { border-bottom:0; }
.product-coverage-disclosure[open] > summary { border-bottom:1px solid var(--border); }
.dashboard-operations {
  display:grid;
  grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);
  background:var(--surface);
}
.dashboard-operations > section { min-width:0; padding:20px 22px; background:var(--surface); }
.dashboard-operations > section + section { border-left:1px solid var(--border); }
.dashboard-operations header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.dashboard-operations header > div { min-width:0; }
.dashboard-operations header span { color:var(--brand); font-size:.62rem; font-weight:900; letter-spacing:.1em; }
.dashboard-operations header h2 { margin:4px 0 2px; color:var(--ink); font-size:1rem; line-height:1.2; }
.dashboard-operations header p { margin:0; color:var(--muted); font-size:.68rem; line-height:1.4; }
.dashboard-operations header button {
  min-width:44px;
  min-height:44px;
  padding:0 8px;
  color:var(--brand);
  border:0;
  border-radius:9px;
  background:transparent;
  font-size:.7rem;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}
.dashboard-operations header button:hover,.dashboard-operations header button:focus-visible { background:var(--brand-soft); }
.dashboard-region-row,.dashboard-visit-row {
  width:100%;
  min-height:58px;
  display:grid;
  align-items:center;
  gap:11px;
  padding:9px 4px;
  color:var(--ink);
  border:0;
  border-top:1px solid var(--border);
  background:var(--surface);
  text-align:left;
  cursor:pointer;
  touch-action:manipulation;
  transition:background 180ms ease,box-shadow 180ms ease;
}
.dashboard-region-row:first-child,.dashboard-visit-row:first-child { border-top:0; }
.dashboard-region-row:hover,.dashboard-region-row:focus-visible,.dashboard-visit-row:hover,.dashboard-visit-row:focus-visible { background:var(--canvas); box-shadow:inset 3px 0 0 var(--accent); }
.dashboard-region-row:active,.dashboard-visit-row:active { background:var(--authority-soft); }
.dashboard-region-row { grid-template-columns:32px minmax(0,1fr) 34px 18px; }
.dashboard-visit-row { grid-template-columns:32px minmax(150px,1.4fr) minmax(105px,.75fr) 62px 82px 18px; }
.dashboard-row-rank {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  color:var(--authority);
  border-radius:9px;
  background:var(--authority-soft);
  font-size:.62rem;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.dashboard-region-row strong,.dashboard-visit-row strong { display:block; overflow:hidden; font-size:.75rem; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-region-row small,.dashboard-visit-row small { display:block; margin-top:3px; color:var(--muted); font-size:.63rem; }
.dashboard-region-row > b {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  color:var(--accent);
  border-radius:10px;
  background:var(--accent-soft);
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
}
.dashboard-region-row > svg,.dashboard-visit-row > svg { width:15px; height:15px; color:var(--subtle); }
.dashboard-visit-copy,.dashboard-visit-owner,.dashboard-visit-time { min-width:0; }
.dashboard-visit-owner em{display:block;overflow:hidden;margin-top:3px;color:var(--accent-strong);font-size:.56rem;font-style:normal;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.dashboard-visit-skus{min-width:0;text-align:center;font-variant-numeric:tabular-nums}.dashboard-visit-skus strong{display:inline-grid;min-width:28px;height:24px;place-items:center;padding:0 7px;border-radius:8px;color:var(--success);background:var(--success-soft);font-size:.72rem}.dashboard-visit-skus small{margin-top:2px;font-size:.52rem;white-space:nowrap}.dashboard-visit-skus.is-empty strong{color:var(--muted);background:var(--canvas)}
.dashboard-visit-row.is-new-customer{margin:5px 0;padding-inline:9px;border:1px solid #bda7f4;border-left:5px solid #6d3fd3;border-radius:12px;background:linear-gradient(90deg,#f4f0ff 0,#fbfaff 58%,var(--surface) 100%);box-shadow:0 6px 18px rgba(72,42,142,.09)}
.dashboard-visit-row.is-new-customer:hover,.dashboard-visit-row.is-new-customer:focus-visible{background:linear-gradient(90deg,#ede6ff 0,#f8f5ff 58%,var(--surface) 100%);box-shadow:inset 3px 0 0 #6d3fd3,0 6px 18px rgba(72,42,142,.12)}
.dashboard-new-customer{display:inline-flex;margin:0 0 4px;padding:3px 7px;border-radius:999px;background:#6d3fd3;color:#fff;font-size:.5rem;font-style:normal;font-weight:900;letter-spacing:.045em;line-height:1.2}
[data-theme="dark"] .dashboard-visit-row.is-new-customer{border-color:#8064c7;border-left-color:#b89bff;background:linear-gradient(90deg,#2b2145 0,#1d2937 62%,var(--surface) 100%)}
.dashboard-visit-time { text-align:right; font-variant-numeric:tabular-nums; }
.dashboard-visit-time small { display:inline-flex; padding:3px 7px; border-radius:999px; font-weight:800; }
.dashboard-visit-time small.complete { color:var(--success); background:var(--success-soft); }
.dashboard-visit-time small.live { color:var(--warning); background:var(--warning-soft); }
.dashboard-empty-visits { min-height:132px; display:flex; align-items:center; justify-content:center; gap:12px; color:var(--muted); }
.dashboard-empty-visits svg { width:28px; height:28px; }
.dashboard-empty-visits strong { display:block; color:var(--ink); font-size:.8rem; }
.dashboard-empty-visits small { display:block; margin-top:3px; font-size:.68rem; }
.dashboard-visits-panel > .dashboard-visit-expand {
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 32px;
  align-items:center;
  gap:12px;
  margin:12px 0 0;
  padding:10px 12px;
  color:var(--ink);
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--canvas);
  text-align:left;
  cursor:pointer;
  touch-action:manipulation;
}
.dashboard-visit-expand:hover,.dashboard-visit-expand:focus-visible { border-color:var(--brand); background:var(--brand-soft); }
.dashboard-visit-expand-icon { width:34px; height:34px; display:grid; place-items:center; color:#fff; border-radius:10px; background:var(--brand); font-size:1.35rem; font-weight:700; }
.dashboard-visit-expand-icon svg { width:18px; height:18px; }
.dashboard-visit-expand > span:nth-child(2) { display:grid; gap:2px; }
.dashboard-visit-expand strong { font-size:.78rem; }
.dashboard-visit-expand small { color:var(--muted); font-size:.62rem; }
.dashboard-visit-expand-chevron { display:grid; place-items:center; color:var(--brand); transition:transform 180ms ease; }
.dashboard-visit-expand-chevron svg { width:18px; height:18px; }
.dashboard-visit-expand.is-expanded .dashboard-visit-expand-icon { background:var(--authority); }
.dashboard-visit-expand.is-expanded .dashboard-visit-expand-chevron { transform:rotate(-90deg); }

@media(max-width:760px) {
  .dashboard-operations { grid-template-columns:1fr; }
  .dashboard-operations > section { padding:16px 14px; }
  .dashboard-operations > section + section { border-top:1px solid var(--border); border-left:0; }
  .dashboard-visit-row { grid-template-columns:30px minmax(0,1fr) 54px 72px 16px; }
  .dashboard-visit-owner { grid-column:2 / 3; }
  .dashboard-visit-skus{grid-column:3;grid-row:1 / 3}
  .dashboard-visit-time { grid-column:4; grid-row:1 / 3; }
  .dashboard-visit-row > svg { grid-column:5; grid-row:1 / 3; }
}
@media(max-width:390px) {
  .dashboard-operations header { gap:8px; }
  .dashboard-operations header button { padding-inline:4px; }
  .dashboard-region-row,.dashboard-visit-row { gap:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .dashboard-region-row,.dashboard-visit-row,.dashboard-visit-expand-chevron { transition:none!important; }
}
/* v128 — Reporting exposes visit coverage as a primary, always-visible workspace. */
.report-visit-coverage {
  overflow:hidden;
  border:1px solid var(--report-line,var(--border));
  border-radius:16px;
  background:var(--surface);
  box-shadow:none;
}
.report-visit-coverage .dashboard-region-panel,
.report-visit-coverage .dashboard-visits-panel { background:var(--surface); }
[data-theme="dark"] .report-visit-coverage { border-color:var(--border); }
@media(max-width:760px) {
  .report-visit-coverage { border-radius:14px; }
}

/* Field-only Temporary Shop entry: clear, touch-safe, and separate from Customer Master administration. */
.field-store-actions{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch}
.field-store-actions>button{min-height:52px}
.temporary-shop-button{display:flex!important;align-items:center;justify-content:center;gap:9px;border-color:#89cabb!important;background:#eef9f6!important;color:#075c4c!important}
.temporary-shop-button svg{width:20px;height:20px;flex:0 0 auto}
.temporary-shop-button span,.temporary-shop-button strong,.temporary-shop-button small{display:block}
.temporary-shop-button small{margin-top:2px;color:#52756e;font-size:11px;font-weight:650}
.new-shop-entry{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px 0;padding:14px;border:1px solid #b8ddd4;border-radius:16px;background:#f0faf7}
.new-shop-entry-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#0a806a;color:#fff}
.new-shop-entry-icon svg{width:22px;height:22px}
.new-shop-entry strong,.new-shop-entry small{display:block}
.new-shop-entry small{margin-top:3px;color:#57707e;line-height:1.45}
.new-shop-entry-actions{display:grid;gap:5px;min-width:170px}
.new-shop-entry-actions .text-button{min-height:36px}
.field-temporary-customer-form{display:grid;gap:16px;padding:2px 0 8px}
.field-temporary-customer-form>label,.field-temporary-customer-form .field-grid label{display:grid;gap:7px;color:#213b49;font-size:13px;font-weight:800}
.field-temporary-customer-form>label>span{justify-self:end;color:#748993;font-size:11px;font-weight:650}
.field-temporary-customer-form :is(input,select,textarea){width:100%;min-height:48px;box-sizing:border-box;border:1px solid #c8d7de;border-radius:12px;background:#fff;color:#102d3f;padding:11px 12px;font:inherit;font-size:16px}
.field-temporary-customer-form textarea{min-height:84px;resize:vertical}
.field-temporary-customer-form :is(input,select,textarea):focus-visible{outline:3px solid rgba(10,128,106,.2);outline-offset:1px;border-color:#0a806a}
.field-temporary-intro,.field-temporary-note{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:14px;border-radius:14px}
.field-temporary-intro{border:1px solid #b8ddd4;background:#f0faf7}
.field-temporary-intro>svg{width:24px;height:24px;padding:9px;border-radius:12px;background:#0a806a;color:#fff}
.field-temporary-intro strong,.field-temporary-intro small,.field-temporary-note strong,.field-temporary-note small{display:block}
.field-temporary-intro small,.field-temporary-note small{margin-top:4px;color:#58717d;line-height:1.45}
.field-temporary-note{border:1px solid #dbe5e9;background:#f7fafb}
.field-temporary-note>svg{width:22px;height:22px;color:#0a806a}
.field-error{min-height:20px;margin:0;color:#b42336;font-weight:750}
html[data-theme="dark"] :is(.new-shop-entry,.field-temporary-intro,.field-temporary-note){background:#18313f;color:#f4f8fa;border-color:#385261}
html[data-theme="dark"] .temporary-shop-button{background:#153b35!important;color:#d8fff5!important;border-color:#3b776d!important}
html[data-theme="dark"] .temporary-shop-button small,html[data-theme="dark"] :is(.new-shop-entry,.field-temporary-intro,.field-temporary-note) small{color:#b8cad2}
html[data-theme="dark"] .field-temporary-customer-form :is(input,select,textarea){background:#102733;color:#f4f8fa;border-color:#42606f}
@media(max-width:720px){.field-store-actions{grid-template-columns:1fr}.new-shop-entry{grid-template-columns:44px minmax(0,1fr)}.new-shop-entry>button,.new-shop-entry-actions{grid-column:1/-1;width:100%}.field-temporary-customer-form .field-grid.two{grid-template-columns:1fr}}


/* GPS area + geography report */
.dashboard-visit-head-actions{display:flex;align-items:center;gap:8px}.dashboard-visit-head-actions button:first-child{color:#6d28d9;background:#f4f0ff;border-color:#c4b5fd}.dashboard-location-line{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}.dashboard-area-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 7px;border:1px solid #e0004d;border-radius:999px;background:#fff0f5;color:#a9003b;font-style:normal;font-weight:700;line-height:1.15}.dashboard-area-chip svg{width:12px;height:12px;flex:0 0 12px}.dashboard-area-chip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-area-chip i{padding:1px 4px;border-radius:999px;background:#b90043;color:#fff;font-size:8px;font-style:normal;letter-spacing:.05em}.dashboard-area-chip.is-master{border-color:#d9e2e8;background:#f2f6f8;color:#365064}.dashboard-area-chip.is-gps{border-color:#16a34a;background:#dcfce7;color:#166534;box-shadow:0 0 0 2px rgba(34,197,94,.08)}.dashboard-area-chip.is-gps i{background:#15803d}.dashboard-area-chip.is-pending{border-color:#16a34a;background:#dcfce7;color:#166534;border-style:dashed}.dashboard-area-chip.is-unavailable{border-color:#d7e0e6;background:#f6f8fa;color:#6b7e8b}
.geo-activity-report{display:grid;gap:16px}.geo-report-controls{display:grid;gap:10px;padding:12px;border:1px solid var(--line,#d9e2e8);border-radius:12px;background:#f7f9fb}.geo-report-controls>div{display:flex;gap:6px;overflow:auto}.geo-report-controls button{min-height:40px;padding:8px 13px;border:1px solid #cad6de;border-radius:9px;background:#fff;color:#334b5c;font-weight:700;white-space:nowrap}.geo-report-controls button.active{background:#12364a;color:#fff;border-color:#12364a}.geo-report-kpis{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d9e2e8;border-radius:12px;overflow:hidden}.geo-report-kpis span{display:grid;gap:2px;padding:12px 14px;border-right:1px solid #d9e2e8}.geo-report-kpis span:last-child{border-right:0}.geo-report-kpis strong{font-size:22px;color:#102f4a}.geo-report-kpis small{color:#607483}.geo-report-rows{display:grid;border:1px solid #d9e2e8;border-radius:12px;overflow:hidden}.geo-report-rows>button{display:grid;grid-template-columns:36px minmax(0,1fr) auto 18px;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border:0;border-bottom:1px solid #e2e8ed;background:#fff;text-align:left;color:#132f42}.geo-report-rows>button:last-child{border-bottom:0}.geo-report-rows>button:hover{background:#faf8ff}.geo-report-rows>button>span:nth-child(2){display:grid;gap:4px}.geo-report-rows strong{font-size:14px}.geo-report-rows small{color:#647888}.geo-report-rows i{display:block;height:4px;background:#e9edf1;border-radius:99px;overflow:hidden}.geo-report-rows i b{display:block;height:100%;background:#7c3aed;border-radius:99px}.geo-report-rows em{font-size:18px;font-style:normal;font-weight:800}.geo-rank{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef3f6;font-size:10px;font-weight:800}.geo-report-detail{border:1px solid #c4b5fd;border-radius:12px;overflow:hidden}.geo-report-detail:empty{display:none}.geo-report-detail header,.geo-report-detail>button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.geo-report-detail header{background:#f4f0ff}.geo-report-detail header span,.geo-report-detail>button span{display:grid;gap:2px;text-align:left}.geo-report-detail header small{color:#6d28d9;font-size:9px;font-weight:800}.geo-report-detail header em,.geo-report-detail>button em{font-style:normal;font-size:11px}.geo-report-detail>button{width:100%;min-height:54px;border:0;border-top:1px solid #e3e8ed;background:#fff;color:#18364a}.geo-report-detail>button span{flex:1}.geo-report-detail>button small{color:#637888}.geography-report-card{grid-column:1/-1}.geography-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.geography-report-grid>section{padding:14px;border:1px solid #dbe4ea;border-radius:12px;background:#fbfcfd}.geo-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.geo-section-head strong{font-size:15px}.geo-section-head small{color:#667a88}
[data-theme="dark"] .dashboard-area-chip{background:#302452;color:#ddd2ff;border-color:#7055aa}[data-theme="dark"] .dashboard-area-chip.is-master{background:#203747;color:#d1dee6;border-color:#486273}[data-theme="dark"] .geo-report-controls,[data-theme="dark"] .geography-report-grid>section{background:#132b3b}[data-theme="dark"] .geo-report-controls button,[data-theme="dark"] .geo-report-rows>button,[data-theme="dark"] .geo-report-detail>button{background:#173346;color:#edf3f7}
@media(max-width:700px){.dashboard-visit-head-actions{gap:5px}.dashboard-visit-head-actions button{padding-inline:8px}.geography-report-grid{grid-template-columns:1fr}.geo-report-controls{padding:9px}.geo-report-kpis span{padding:10px}.geo-report-kpis strong{font-size:19px}.dashboard-location-line{gap:4px}.dashboard-area-chip{max-width:190px}}

.geo-attribution{display:block;margin-top:8px;color:#6b7e8b;font-size:10px;line-height:1.4}


/* v389 — channel performance averages and operational Champion */
#screen-customers .team-champion-section{margin-top:16px;border:1px solid #d8c88d;border-radius:20px;background:linear-gradient(145deg,#fffdf5 0%,#fff 48%,#f1faf7 100%);box-shadow:0 12px 30px rgb(16 47 74 / 8%);overflow:hidden}
#screen-customers .team-champion-section>header{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 20px;border-bottom:1px solid #e9e1c1}
#screen-customers .team-champion-badge{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#f4c84d,#c89212);color:#fff;font-size:24px;box-shadow:0 8px 18px rgb(192 139 15 / 24%)}
#screen-customers .team-champion-section>header h2{margin:2px 0;color:#14364c;font-size:19px}
#screen-customers .team-champion-section>header p{margin:0;color:#647784;font-size:11px}
#screen-customers .team-champion-section>header>strong{display:grid;justify-items:end;color:#08745b;font-size:24px}
#screen-customers .team-champion-section>header>strong small{font-size:10px;color:#6c7e88}
#screen-customers .team-champion-list{display:grid;padding:5px 14px}
#screen-customers .team-champion-row{display:grid;grid-template-columns:32px minmax(190px,1.5fr) repeat(7,minmax(68px,.62fr)) 58px 16px;gap:10px;align-items:center;width:100%;min-height:70px;padding:9px 7px;border:0;border-bottom:1px solid #e3e9ed;background:transparent;color:#16384d;text-align:left;cursor:pointer}
#screen-customers .team-champion-row:last-child{border-bottom:0}
#screen-customers .team-champion-row:hover{background:#f7fbf9}
#screen-customers .team-champion-row.is-champion{margin:4px 0;border:1px solid #d7bd5e;border-radius:13px;background:#fffbeb}
#screen-customers .team-champion-rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf1f5;color:#31546a;font-size:10px;font-weight:900}
#screen-customers .team-champion-row.is-champion .team-champion-rank{background:#d9a91d;color:#fff}
#screen-customers .team-champion-person{display:flex;align-items:center;gap:9px;min-width:0}
#screen-customers .team-champion-avatar{width:38px;height:38px;flex:0 0 38px}
#screen-customers .team-champion-person>span{display:grid;gap:2px;min-width:0}
#screen-customers .team-champion-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#screen-customers .team-champion-person small,#screen-customers .team-champion-row>span>small{display:block;color:#6a7c88;font-size:9px}
#screen-customers .team-champion-row>span>strong{display:block;font-size:12px}
#screen-customers .team-champion-row>em{display:grid;place-items:center;min-width:50px;height:34px;border-radius:10px;background:#e8f6f0;color:#08745b;font-size:13px;font-style:normal;font-weight:900}
#screen-customers .team-champion-row>svg{width:15px;color:#718591}
#screen-customers .team-champion-section>details{margin:0 20px 15px;padding:10px 12px;border:1px solid #e2e8ec;border-radius:11px;background:#f8fafb;color:#617481;font-size:10px}
#screen-customers .team-champion-section>details summary{color:#173a50;font-weight:850;cursor:pointer}
#screen-customers .team-champion-section>details p{margin:7px 0 0;line-height:1.55}
@media(max-width:900px){#screen-customers .team-champion-row{grid-template-columns:30px minmax(155px,1.4fr) repeat(3,minmax(74px,.7fr)) 54px 14px}#screen-customers .team-champion-row>span:nth-of-type(4),#screen-customers .team-champion-row>span:nth-of-type(5),#screen-customers .team-champion-row>span:nth-of-type(7),#screen-customers .team-champion-row>span:nth-of-type(9){display:none}}
@media(max-width:620px){#screen-customers .team-champion-section>header{grid-template-columns:44px minmax(0,1fr);padding:14px}#screen-customers .team-champion-badge{width:44px;height:44px}#screen-customers .team-champion-section>header>strong{grid-column:2;justify-items:start;font-size:19px}#screen-customers .team-champion-list{padding:6px 9px}#screen-customers .team-champion-row{grid-template-columns:28px minmax(0,1fr) 54px 14px;min-height:76px}#screen-customers .team-champion-row>span:nth-of-type(n+3){display:none}#screen-customers .team-champion-row>em{min-width:48px}#screen-customers .team-champion-section>details{margin:0 12px 12px}}


/* Always-visible Champion score guide */
#screen-customers .team-score-guide{margin:4px 20px 18px;padding:15px;border:1px solid #dce5ea;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgb(16 47 74 / 5%)}
#screen-customers .team-score-guide>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
#screen-customers .team-score-guide>header h3{margin:2px 0 3px;color:#14364c;font-size:15px}
#screen-customers .team-score-guide>header p{margin:0;color:#6a7c88;font-size:10px;line-height:1.45}
#screen-customers .team-score-guide>header>strong{display:grid;min-width:58px;justify-items:end;color:#14364c;font-size:23px;line-height:1}
#screen-customers .team-score-guide>header>strong small{margin-top:4px;color:#71838e;font-size:8px;text-transform:uppercase}
#screen-customers .team-score-rule-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
#screen-customers .team-score-rule-grid article{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;min-height:76px;padding:10px;border:1px solid #e1e8ec;border-radius:11px;background:#f8fafb;overflow:hidden}
#screen-customers .team-score-rule-grid article::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--score-color,#2471d4)}
#screen-customers .team-score-rule-grid article b{grid-row:1/3;display:grid;place-items:center;align-self:start;width:32px;height:32px;border-radius:9px;background:color-mix(in srgb,var(--score-color,#2471d4) 12%,white);color:var(--score-color,#2471d4);font-size:13px}
#screen-customers .team-score-rule-grid article span{align-self:end;color:#17394f;font-size:10px;font-weight:850;line-height:1.2}
#screen-customers .team-score-rule-grid article small{align-self:start;margin-top:3px;color:#71838e;font-size:8px;line-height:1.35}
#screen-customers .team-score-rule-grid article[data-score-tone=green]{--score-color:#07825e}#screen-customers .team-score-rule-grid article[data-score-tone=teal]{--score-color:#168a96}#screen-customers .team-score-rule-grid article[data-score-tone=gold]{--score-color:#b77a05}#screen-customers .team-score-rule-grid article[data-score-tone=purple]{--score-color:#7854c5}#screen-customers .team-score-rule-grid article[data-score-tone=red]{--score-color:#c74255}
#screen-customers .team-score-note{margin:11px 0 0;padding:9px 11px;border-radius:9px;background:#f1f6f8;color:#59707e;font-size:9px;line-height:1.5}
#screen-customers .team-score-note strong{color:#17394f}
@media(max-width:1000px){#screen-customers .team-score-rule-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){#screen-customers .team-score-guide{margin:4px 12px 14px;padding:12px}#screen-customers .team-score-guide>header h3{font-size:14px}#screen-customers .team-score-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#screen-customers .team-score-rule-grid article{min-height:86px;grid-template-columns:30px minmax(0,1fr);padding:9px}#screen-customers .team-score-rule-grid article b{width:28px;height:28px;font-size:12px}}

#screen-customers .team-champion-mobile-facts{display:none!important}
@media(max-width:620px){#screen-customers .team-champion-mobile-facts{display:block!important;margin-top:3px;color:#315c70!important}}

/* v291 — visible per-person Champion calculation */
#screen-customers .team-champion-actions{display:flex;align-items:center;gap:10px}
#screen-customers .team-champion-actions>strong{display:grid;justify-items:end;color:#08745b;font-size:24px}
#screen-customers .team-champion-actions>strong small{font-size:10px;color:#6c7e88}
#screen-customers .team-champion-actions>button{min-height:42px;padding:0 14px;border:1px solid #0b7b63;border-radius:10px;background:#0b7b63;color:#fff;font-size:11px;font-weight:850;white-space:nowrap}
#screen-customers .team-champion-list{gap:12px;padding:14px}
#screen-customers .team-champion-card{border:1px solid #d8e3e4;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 15px rgb(16 47 74 / 5%)}
#screen-customers .team-champion-card.is-champion{border-color:#d8bd55;background:#fffdf5;box-shadow:0 7px 20px rgb(188 137 17 / 12%)}
#screen-customers .team-champion-card .team-champion-row{display:grid;grid-template-columns:34px minmax(210px,1fr) minmax(230px,auto) 64px 44px;gap:12px;align-items:center;min-height:72px;width:100%;padding:12px 14px;border:0;background:transparent;color:#16384d;text-align:left}
#screen-customers .team-champion-card.is-champion .team-champion-rank{background:#d9a91d;color:#fff}
#screen-customers .team-champion-card .team-champion-person{display:flex;align-items:center;gap:9px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
#screen-customers .team-score-compact{display:grid;grid-template-columns:repeat(3,minmax(66px,1fr));gap:6px}
#screen-customers .team-score-compact.two{grid-template-columns:repeat(2,minmax(78px,1fr))}
#screen-customers .team-score-compact>span{display:grid;gap:1px;padding:7px 8px;border-radius:9px;background:#f1f6f7;text-align:center}
#screen-customers .team-score-compact strong{font-size:12px;color:#17394f}
#screen-customers .team-score-compact small{font-size:8px;color:#657984}
#screen-customers .team-score-total{text-align:right}
#screen-customers .team-score-total strong{color:#08745b!important;font-size:18px!important}
#screen-customers .team-score-toggle{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9cad0;border-radius:10px;background:#fff;color:#14364c;font-size:22px;font-weight:600;cursor:pointer}
#screen-customers .team-score-toggle:hover{border-color:#0b7b63;background:#edf8f5;color:#08745b}
#screen-customers .team-score-collapsible{display:none;border-top:1px solid #e4eaed}
#screen-customers .team-champion-card.is-open .team-score-collapsible{display:block}
#screen-customers .team-score-three{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px 14px;background:#f7faf9;border-bottom:1px solid #e4eaed}
#screen-customers .team-score-three>span{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:end}
#screen-customers .team-score-three small{color:#58707d;font-size:10px;font-weight:800}
#screen-customers .team-score-three strong{color:#14364c;font-size:13px}
#screen-customers .team-score-three i{grid-column:1/-1;display:block;height:6px;border-radius:99px;background:#dfe8e7;overflow:hidden}
#screen-customers .team-score-three i::after{content:'';display:block;width:var(--score-width);height:100%;border-radius:inherit;background:#13866d}
#screen-customers .team-score-three>span:nth-child(2) i::after{background:#2588a8}
#screen-customers .team-score-three>span:nth-child(3) i::after{background:#d79a15}
#screen-customers .team-score-three.two{grid-template-columns:repeat(2,1fr)}
#screen-customers .team-score-three.two>span:nth-child(2) i::after{background:#d79a15}
#screen-customers .team-score-detail{display:grid;grid-template-columns:2fr 1fr;gap:16px;padding:14px}
#screen-customers .team-score-detail h4{margin:0 0 8px;color:#17394f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
#screen-customers .team-score-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#screen-customers .team-score-items.quality{grid-template-columns:repeat(2,minmax(0,1fr))}
#screen-customers .team-score-items>span{display:grid;gap:2px;min-height:58px;padding:8px 9px;border:1px solid #e1e8eb;border-radius:9px;background:#fbfcfd}
#screen-customers .team-score-items small{color:#617682;font-size:8px;font-weight:800;text-transform:uppercase}
#screen-customers .team-score-items strong{color:#14364c;font-size:12px}
#screen-customers .team-score-items em{color:#71838d;font-size:9px;font-style:normal}
#screen-customers .team-score-detail.manager-model{grid-template-columns:minmax(0,1fr) 240px}
#screen-customers .team-manager-review{display:grid;align-content:start;gap:7px;padding:14px;border:1px solid #ead9a8;border-radius:11px;background:#fffaf0}
#screen-customers .team-manager-review>span{color:#836014;font-size:9px;font-weight:850;text-transform:uppercase}
#screen-customers .team-manager-review>strong{color:#17394f;font-size:22px}
#screen-customers .team-manager-review>p{margin:0;color:#687b84;font-size:10px;line-height:1.45}
#screen-customers .team-manager-review>button{min-height:42px;margin-top:5px;border:1px solid #b47a05;border-radius:9px;background:#fff;color:#8b5d00;font-size:11px;font-weight:850}
@media(max-width:900px){#screen-customers .team-champion-section>header{grid-template-columns:48px minmax(0,1fr)}#screen-customers .team-champion-actions{grid-column:2;justify-content:flex-start}#screen-customers .team-champion-card .team-champion-row{grid-template-columns:32px minmax(180px,1fr) 62px 42px}#screen-customers .team-score-compact{display:none}#screen-customers .team-score-detail{grid-template-columns:1fr}#screen-customers .team-score-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){#screen-customers .team-champion-actions{grid-column:1/-1;justify-content:space-between;width:100%}#screen-customers .team-champion-actions>button{min-height:46px}#screen-customers .team-champion-card .team-champion-row{grid-template-columns:28px minmax(0,1fr) 52px 42px;padding:10px;gap:8px}#screen-customers .team-score-total strong{font-size:15px!important}#screen-customers .team-score-toggle{width:40px;height:40px}#screen-customers .team-score-three{grid-template-columns:1fr;padding:10px}#screen-customers .team-score-detail{padding:10px;gap:12px}#screen-customers .team-score-items,#screen-customers .team-score-items.quality{grid-template-columns:repeat(2,minmax(0,1fr))}}

#screen-customers .team-score-weight-groups{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
#screen-customers .team-score-weight-groups.simple{grid-template-columns:3fr 1fr}
#screen-customers .team-score-weight-groups>article{border:1px solid #dce5e8;border-radius:11px;background:#f9fbfc;overflow:hidden}
#screen-customers .team-score-weight-groups>article>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#edf4f7;color:#17394f;font-size:10px}
#screen-customers .team-score-weight-groups>article>header b{color:#08745b}
#screen-customers .team-score-weight-groups>article>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e4eaed}
#screen-customers .team-score-weight-groups>article:nth-child(n+2)>div{grid-template-columns:1fr}
#screen-customers .team-score-weight-groups>article>div>span{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:34px;padding:7px 8px;background:#fff}
#screen-customers .team-score-weight-groups small{color:#627681;font-size:8px}
#screen-customers .team-score-weight-groups strong{color:#17394f;font-size:11px}
@media(max-width:820px){#screen-customers .team-score-weight-groups{grid-template-columns:1fr 1fr}#screen-customers .team-score-weight-groups>article:first-child{grid-column:1/-1}}
@media(max-width:520px){#screen-customers .team-score-weight-groups{grid-template-columns:1fr}#screen-customers .team-score-weight-groups>article:first-child{grid-column:auto}#screen-customers .team-score-weight-groups>article>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

.champion-manager-form{display:grid;gap:16px}.champion-manager-person{display:flex;align-items:center;gap:10px;padding:11px;border-radius:11px;background:#edf6f4}.champion-manager-person>span{display:grid;gap:2px}.champion-manager-person small{color:#657984}.champion-manager-form fieldset{margin:0;padding:0;border:0}.champion-manager-form legend{margin-bottom:9px;color:#17394f;font-size:12px;font-weight:850}.champion-manager-scale{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.champion-manager-scale button{display:grid;place-items:center;min-width:40px;min-height:44px;border:1px solid #bdcbd0;border-radius:9px;background:#fff;color:#17394f;font-weight:850}.champion-manager-scale button.active{border-color:#0b7b63;background:#0b7b63;color:#fff}.champion-manager-form>label{display:grid;gap:7px;color:#17394f;font-weight:800}.champion-manager-form textarea{width:100%;padding:10px;border:1px solid #bdcbd0;border-radius:9px;font:inherit}.champion-manager-form .form-error{min-height:18px;margin:0;color:#b42318;font-size:11px}@media(max-width:620px){#screen-customers .team-score-detail.manager-model{grid-template-columns:1fr}.champion-manager-scale{grid-template-columns:repeat(5,1fr)}.champion-manager-scale button{min-width:0}}
