:root {
  --brand-green: #416b49;
  --brand-green-light: #55965e;
  --brand-blue: #385269;
  --brand-blue-hover: #3e77a9;
  --brand-teal: #4a8784;
  --brand-teal-dark: #3f6762;
  --interactive: #006560;
  --gray-light: #e6e4e7;
  --gray: #99979d;
  --ink: #333333;
  --muted: #3f6762;
  --bg: #f7f7f8;
  --paper: #ffffff;
  --line: #e6e4e7;
  --radius: 14px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: var(--interactive); }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--brand-blue-hover); outline-offset: 3px; }
button:active:not(:disabled) { transform: translateY(1px); }
svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button svg { vertical-align: middle; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 20; background: var(--interactive); color: white; padding: 12px; border-radius: 6px; }
.skip:focus { top: 10px; }

/* Navegação com a marca e os atalhos comerciais. */
.sidebar { width: 270px; position: fixed; inset: 0 auto 0 0; background: var(--interactive); border-right: 5px solid var(--brand-green-light); border-top-right-radius: 30px; border-bottom-right-radius: 30px; color: white; padding: 32px 8px; z-index: 10; }
.sidebar-brand { display: flex; justify-content: center; margin: 0 12px 26px; }
.sidebar-brand img { display: block; width: 162.45px; max-width: 100%; height: auto; }
.nav-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--gray-light); padding: 0 12px 18px; }
nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 46px; padding: 12px; border: 0; border-radius: 13px; background: transparent; text-align: left; font-size: 15px; font-weight: 500; color: white; line-height: 1.5; transition: background .15s; }
.nav-item > span:first-child { display: flex; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item.active { background: #00544f; font-weight: 650; }
.nav-item:hover { background: #00544f; }
.nav-item:focus-visible { outline-color: white; outline-offset: -3px; }
.nav-trailing { margin-left: auto; padding: 3px 7px; border-radius: 6px; background: rgb(255 255 255 / 14%); color: white; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.shell { margin-left: 270px; }

.topbar { min-height: 76px; border-bottom: 1px solid var(--line); background: white; display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; gap: 20px; }
.breadcrumb { font-size: 13px; color: var(--ink); white-space: nowrap; }
.breadcrumb > span { margin: 0 12px; color: var(--brand-teal-dark); }
.breadcrumb strong { font-weight: 600; color: var(--brand-blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--interactive); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.button:hover { background: var(--gray-light); }
.button-primary { background: var(--interactive); color: white; border-color: var(--interactive); }
.button-primary:hover { background: var(--brand-blue-hover); border-color: var(--brand-blue-hover); }
.button-primary svg { width: 17px; height: 17px; }
main { max-width: 1680px; margin: auto; padding: 34px 32px 38px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; letter-spacing: 1.2px; color: var(--brand-teal-dark); line-height: 1.5; }
.eyebrow > span { width: 6px; height: 6px; background: var(--brand-green); border-radius: 50%; }
h1 { margin: 10px 0; font-size: 33px; font-weight: 650; line-height: 1.25; letter-spacing: -1px; color: var(--brand-blue); }
h1 > span { color: var(--brand-green-light); }
.page-heading p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.period-tag { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--brand-teal-dark); font-size: 12px; white-space: nowrap; }
.period-tag svg { width: 19px; height: 19px; color: var(--brand-green); }
.period-tag strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 650; letter-spacing: .2px; color: var(--brand-blue); }
.error-banner { margin-bottom: 20px; padding: 15px 18px; border: 1px solid var(--brand-teal); border-radius: 8px; background: white; color: var(--ink); font-size: 14px; line-height: 1.7; }

.kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
.kpi { min-height: 158px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.kpi-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 550; line-height: 1.5; }
.kpi-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--gray-light); color: var(--brand-blue); flex-shrink: 0; }
.kpi-icon svg { width: 17px; height: 17px; }
.kpi > strong { display: block; margin: 6px 0 12px; font-size: 38px; font-weight: 650; letter-spacing: -1.3px; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.kpi-footer { display: flex; align-items: center; gap: 7px; min-height: 20px; font-size: 12px; color: var(--brand-teal-dark); line-height: 1.5; }
.tiny-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; }
.kpi-highlight { border-color: var(--brand-green-light); background: #f1f6f1; }
.kpi-highlight > strong { color: var(--interactive); }
.kpi-highlight .kpi-icon { color: var(--interactive); background: white; }
.stat-pill { padding: 3px 6px; border-radius: 4px; background: white; color: var(--interactive); font-size: 12px; font-weight: 650; }

.insights { display: grid; grid-template-columns: 1.4fr 1fr .95fr; gap: 18px; margin-bottom: 30px; }
.chart-card { min-width: 0; min-height: 300px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.card-heading h2 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.5; color: var(--brand-blue); }
.card-heading p { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink); }
.chart-heading-icon { color: var(--brand-teal-dark); }
.chart-heading-icon svg { width: 18px; height: 18px; }
.bars { display: grid; gap: 14px; }
.bar-item { display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--ink); text-align: left; font-size: 13px; }
.bar-item:hover { color: var(--interactive); }
.bar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.bar-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar-count { font-weight: 650; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.bar-track { display: block; height: 7px; border-radius: 4px; background: var(--gray-light); overflow: hidden; }
.bar-value { display: block; height: 100%; border-radius: 4px; background: var(--bar-color, var(--brand-green)); transition: width .3s; }
.bar-item.selected .bar-track { outline: 2px solid var(--interactive); outline-offset: 2px; }
.chart-footnote { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--ink); }
.state-bars { gap: 18px; padding-top: 3px; }
.state-bars .bar-item { display: grid; grid-template-columns: 26px 1fr 30px; align-items: center; gap: 10px; }
.state-bars .bar-heading { display: contents; }
.state-bars .bar-label { grid-column: 1; font-size: 12px; font-weight: 600; }
.state-bars .bar-count { grid-column: 3; grid-row: 1; text-align: right; font-size: 13px; }
.state-bars .bar-track { grid-column: 2; grid-row: 1; height: 14px; border-radius: 3px; }
.state-bars .bar-value { border-radius: 3px; }
.coverage-card .card-heading { margin-bottom: 6px; }
.donut-wrap { position: relative; width: 146px; height: 146px; margin: 0 auto 10px; }
.donut { width: 146px; height: 146px; transform: rotate(-90deg); stroke-width: 15; }
.donut circle { fill: none; stroke-linecap: butt; }
.donut-track { stroke: var(--gray-light); }
#donut-value { stroke: var(--interactive); stroke-dasharray: 0 383.28; transition: stroke-dasharray .5s; }
.donut-number { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.donut-number strong { font-size: 29px; font-weight: 650; letter-spacing: -.8px; color: var(--brand-blue); }
.donut-number span { font-size: 12px; color: var(--ink); }
.donut-legend { display: grid; gap: 10px; }
.donut-legend button { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; text-align: left; }
.donut-legend strong { margin-left: auto; color: var(--brand-blue); font-weight: 650; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.green { background: var(--interactive); }
.legend-dot.pale { background: var(--gray); }

.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.list-heading h2 { margin: 7px 0 0; font-size: 23px; font-weight: 650; letter-spacing: -.5px; color: var(--brand-blue); }
.list-heading-tools { display: flex; align-items: center; gap: 12px; }
.list-heading-tools select { max-width: 205px; padding: 8px 4px; border: 0; background: transparent; color: var(--ink); font-size: 12px; }
.list-count { padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--brand-teal-dark); font-size: 12px; white-space: nowrap; }
.list-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.list-tabs { display: flex; gap: 25px; overflow-x: auto; padding: 0 22px; border-bottom: 1px solid var(--line); }
.list-tab { display: flex; align-items: center; gap: 8px; padding: 18px 0 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.list-tab span { padding: 3px 6px; border-radius: 4px; background: var(--gray-light); color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.list-tab.active { border-bottom-color: var(--interactive); color: var(--interactive); font-weight: 650; }
.list-tab.active span { background: var(--interactive); color: white; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-field { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; min-width: 180px; height: 42px; padding: 0 11px; border: 1px solid var(--gray); border-radius: 6px; background: white; color: var(--brand-teal-dark); }
.search-field svg { width: 17px; height: 17px; }
.search-field input { width: 100%; min-width: 0; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: var(--brand-teal-dark); opacity: 1; }
.select-field { flex: 0 1 180px; min-width: 140px; }
.select-field select { width: 100%; height: 42px; padding: 0 9px; border: 1px solid var(--gray); border-radius: 6px; background: white; color: var(--ink); font-size: 13px; }
.uf-select { flex-basis: 150px; }
.opportunity-select { flex: 1 1 270px; min-width: 230px; }
.opportunity-help { margin: 0; padding: 12px 20px; color: var(--brand-teal-dark); font-size: 12px; line-height: 1.6; }
.opportunity-hint { margin-top: 6px; color: var(--interactive); font-size: 12px; line-height: 1.5; }
.clear-filters { display: flex; align-items: center; gap: 5px; padding: 9px 0; border: 0; background: transparent; color: var(--interactive); font-size: 12px; }
.clear-filters svg { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.filter-chip { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--brand-teal); border-radius: 5px; background: white; color: var(--interactive); font-size: 12px; }
.filter-chip svg { width: 13px; height: 13px; }
.table-scroll { position: relative; overflow: auto; }
table { width: 100%; min-width: 1000px; border-collapse: collapse; table-layout: fixed; text-align: left; }
th { padding: 14px 13px; border-bottom: 1px solid var(--line); background: #f7f7f8; color: var(--brand-blue); font-size: 12px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
th:first-child { padding-left: 22px; }
.company-col { width: 27%; }
.person-col { width: 25%; }
th:nth-child(2) { width: 16%; }
th:nth-child(4) { width: 18%; }
.channels-col { width: 10%; }
th:last-child { width: 4%; padding-left: 0; padding-right: 10px; }
td { height: 90px; padding: 18px 13px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
td:first-child { padding-left: 21px; }
td:last-child { padding: 0 10px 0 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; transition: background .12s; }
tbody tr:hover { background: #f1f6f1; }
.company-cell { display: flex; align-items: center; gap: 11px; }
.company-monogram { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--gray-light); color: var(--brand-green); font-size: 12px; font-weight: 650; flex-shrink: 0; }
.company-monogram.color-1 { color: var(--brand-blue); }
.company-monogram.color-2 { color: var(--interactive); }
.company-monogram.color-3 { color: var(--brand-teal-dark); }
.company-copy { min-width: 0; }
.company-name { margin-bottom: 6px; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.company-location { display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--brand-teal-dark); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.company-location svg { width: 12px; height: 12px; }
.segment-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.segment-tag { max-width: 145px; overflow: hidden; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: #f7f7f8; color: var(--brand-teal-dark); font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.segment-tag.more { background: white; color: var(--ink); }
.person-name { margin-bottom: 6px; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.person-title { overflow: hidden; color: var(--brand-teal-dark); font-size: 13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.person-empty { color: var(--ink); font-size: 13px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid var(--brand-teal); border-radius: 4px; background: white; color: var(--interactive); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.status-badge > i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--interactive); flex-shrink: 0; }
.status-badge.pending { border-color: var(--line); background: var(--gray-light); color: var(--ink); }
.status-badge.pending > i { background: var(--brand-blue); }
.channel-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.channel-button { display: flex; align-items: center; justify-content: center; width: 28px; height: 30px; border: 1px solid var(--brand-teal); border-radius: 5px; background: white; color: var(--interactive); text-decoration: none; }
.channel-button svg { width: 15px; height: 15px; }
.channel-button:hover { background: var(--brand-blue-hover); border-color: var(--brand-blue-hover); color: white; }
.channel-button.disabled { border-color: var(--line); background: var(--gray-light); color: var(--ink); cursor: default; }
.snov-button { width: auto; min-height: 32px; padding: 5px 8px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.row-open { padding: 8px 0; border: 0; background: transparent; color: var(--interactive); }
.row-open svg { width: 18px; height: 18px; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 21px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; line-height: 1.5; }
.pagination { display: flex; align-items: center; gap: 12px; }
.pagination label { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; }
.pagination select { padding: 5px; border: 1px solid var(--gray); border-radius: 4px; background: white; color: var(--ink); font-size: 12px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--interactive); }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover:not(:disabled) { background: var(--brand-blue-hover); color: white; }
.empty-state { padding: 50px 20px; color: var(--brand-teal-dark); text-align: center; }
.empty-state > span { display: inline-block; padding: 15px; border-radius: 50%; background: var(--gray-light); }
.empty-state h3 { color: var(--brand-blue); font-size: 18px; font-weight: 600; }
.empty-state p { margin: 10px 0 20px; color: var(--ink); font-size: 14px; }

/* Ficha comercial: nomes, canais e observações com o mesmo contraste. */
dialog { padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); box-shadow: 0 0 80px #33333320; }
dialog::backdrop { background: #33333380; backdrop-filter: blur(2px); }
.company-dialog { position: fixed; inset: 0 0 0 auto; width: 540px; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; overflow-y: auto; border-radius: 16px 0 0 16px; }
.drawer-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; border-bottom: 1px solid var(--line); background: white; }
.detail-header { padding: 25px; }
.detail-header h2 { margin: 16px 0 12px; color: var(--brand-blue); font-size: 26px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; }
.detail-subtitle { color: var(--ink); font-size: 14px; line-height: 1.7; }
.detail-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.detail-flags .segment-tag { max-width: none; white-space: normal; }
.detail-body { display: grid; gap: 18px; padding: 0 25px 25px; }
.detail-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.detail-card h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--brand-blue); font-size: 16px; font-weight: 650; line-height: 1.5; }
.detail-card h3 svg { width: 18px; height: 18px; color: var(--brand-green); }
.opportunity-item { padding: 14px 0; border-top: 1px solid var(--line); }
.opportunity-item.selected { padding-left: 12px; border-left: 3px solid var(--interactive); }
.opportunity-item h4 { margin: 0 0 10px; color: var(--interactive); font-size: 15px; line-height: 1.5; }
.opportunity-evidence { margin: 0; padding-left: 20px; color: var(--ink); font-size: 14px; line-height: 1.7; }
.opportunity-question { margin: 12px 0 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.contact-profile { display: flex; align-items: center; gap: 12px; margin: 2px 0 20px; }
.contact-avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--gray-light); color: var(--interactive); font-size: 15px; font-weight: 650; flex-shrink: 0; }
.contact-profile h4 { margin: 0; font-size: 18px; font-weight: 650; color: var(--ink); }
.contact-profile p { margin: 6px 0 0; color: var(--brand-teal-dark); font-size: 14px; line-height: 1.6; }
.contact-profile .original-job-title { font-size: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.detail-actions .button { padding: 11px 13px; font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 20px; margin: 0; }
.detail-grid > div { min-width: 0; }
.detail-grid dt { margin-bottom: 6px; color: var(--brand-teal-dark); font-size: 12px; font-weight: 550; line-height: 1.5; }
.detail-grid dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; line-height: 1.7; }
.detail-grid .wide { grid-column: 1/-1; }
.detail-grid a { color: var(--interactive); text-underline-offset: 3px; }
.email-verification { display: inline-flex; margin-top: 10px; padding: 5px 7px; border-radius: 4px; background: #f1f6f1; color: var(--interactive); font-size: 12px; line-height: 1.6; }
.email-verification.accept-all { background: var(--gray-light); color: var(--ink); }
.contact-area-tag { display: inline-block; margin-top: 10px; padding: 5px 7px; border-radius: 4px; background: var(--gray-light); color: var(--ink); font-size: 12px; }
.detail-description { margin: 0 0 16px; color: var(--ink); font-size: 14px; line-height: 1.8; }
.waste-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 18px; }
.waste-tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: #f7f7f8; color: var(--brand-teal-dark); font-size: 12px; line-height: 1.6; }
.evidence-note { margin: 16px 0 0; color: var(--ink); font-size: 12px; line-height: 1.8; }
.pending-contact { margin: 5px 0 0; padding: 16px; border: 1px dashed var(--gray); border-radius: 8px; background: #f7f7f8; color: var(--ink); font-size: 14px; line-height: 1.8; }
.toast { position: fixed; bottom: 25px; left: calc(50% + 135px); z-index: 50; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 9px; background: var(--interactive); color: white; font-size: 14px; line-height: 1.5; opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: opacity .2s,transform .2s; box-shadow: 0 5px 25px #33333326; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

@media (min-width:1550px) {
  main { padding-left: 42px; padding-right: 42px; }
  .topbar { padding-left: 42px; padding-right: 42px; }
  .kpi { padding: 23px; }
  .kpi > strong { font-size: 41px; }
  .insights { gap: 22px; }
}
@media (max-width:1200px) {
  main { padding: 28px 24px 36px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
  .kpi { padding: 17px; }
  .insights { gap: 12px; }
  .chart-card { padding: 18px; }
  .page-heading h1 { font-size: 30px; }
}
@media (max-width:1000px) {
  .sidebar { width: 242px; padding: 25px 12px; }
  .shell { margin-left: 242px; }
  .nav-item { gap: 9px; font-size: 14px; }
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .insights { grid-template-columns: 1.25fr 1fr; }
  .coverage-card { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 146px 1fr; align-items: center; gap: 25px; min-height: 185px; }
  .coverage-card .card-heading, .coverage-card .donut-wrap { margin: 0; }
  .period-tag { padding: 10px; }
  .page-heading { gap: 18px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 14px; }
  .toast { left: calc(50% + 121px); }
}
@media (max-width:760px) {
  .sidebar { position: relative; inset: auto; width: 100%; height: auto; padding: 13px 20px; border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; border-bottom: 3px solid var(--brand-green-light); }
  .sidebar-brand { margin: 0 0 12px; }
  .sidebar-brand img { width: 90.25px; }
  .nav-label { display: none; }
  nav { display: flex; gap: 12px; }
  .nav-item { width: auto; min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .nav-item.active { box-shadow: none; }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-trailing { display: none; }
  .shell { margin-left: 0; }
  .topbar { min-height: 65px; padding: 12px 20px; gap: 12px; }
  .breadcrumb { font-size: 12px; }
  .breadcrumb > span { margin: 0 8px; }
  main { padding: 26px 20px 30px; }
  .page-heading { align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { max-width: 330px; font-size: 14px; }
  .eyebrow { font-size: 12px; letter-spacing: .8px; }
  .period-tag { margin-top: 10px; padding: 10px; gap: 7px; font-size: 12px; }
  .period-tag svg { width: 16px; height: 16px; }
  .period-tag strong { font-size: 13px; }
  .kpis { gap: 12px; margin-bottom: 18px; }
  .kpi { padding: 17px; }
  .kpi > strong { font-size: 35px; }
  .insights { gap: 14px; margin-bottom: 26px; }
  .coverage-card { grid-template-columns: 1fr 130px 1fr; gap: 15px; min-height: 180px; }
  .donut-wrap, .donut { width: 130px; height: 130px; }
  .donut-number strong { font-size: 27px; }
  .list-heading h2 { font-size: 22px; }
  .list-heading-tools { flex-direction: column; align-items: flex-end; gap: 5px; }
  .list-heading-tools select { max-width: 190px; font-size: 12px; }
  .list-tabs { gap: 22px; padding: 0 16px; }
  .list-tab { font-size: 13px; }
  .filters { padding: 16px; gap: 10px; }
  .search-field { flex-basis: 100%; height: 44px; }
  .search-field input, .select-field select { font-size: 16px; }
  .select-field { flex: 1 1 145px; min-width: 130px; }
  .opportunity-select { flex-basis: 100%; min-width: 0; }
  .table-footer { flex-wrap: wrap; padding: 16px; }
  .pagination { gap: 9px; }
  .company-dialog { width: 100%; max-width: 540px; }
  .toast { left: 50%; }
}
@media (max-width:450px) {
  .sidebar { padding: 12px 15px; }
  nav { gap: 7px; }
  .nav-item { gap: 8px; padding: 10px 13px; }
  .topbar { padding: 12px 15px; }
  .breadcrumb { font-size: 12px; }
  .breadcrumb > span { margin: 0 5px; }
  main { padding: 22px 15px 28px; }
  .page-heading { flex-direction: column; gap: 13px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p { max-width: none; font-size: 14px; }
  .period-tag { margin-top: 0; padding: 9px 12px; }
  .period-tag > span { display: flex; align-items: center; gap: 10px; }
  .period-tag strong { margin: 0; }
  .kpi { padding: 15px; }
  .kpi-label { font-size: 13px; }
  .kpi-icon { width: 25px; height: 25px; }
  .kpi-footer { font-size: 12px; }
  .insights { grid-template-columns: 1fr; }
  .chart-card { min-height: 290px; padding: 20px; }
  .region-card { display: none; }
  .coverage-card { grid-column: auto; grid-template-columns: minmax(0,1fr) 125px; gap: 10px 20px; min-height: 200px; }
  .coverage-card .card-heading { grid-column: 1; grid-row: 1; }
  .coverage-card .donut-wrap { grid-column: 2; grid-row: 1/3; }
  .donut-wrap, .donut { width: 125px; height: 125px; }
  .donut-legend { grid-column: 1; grid-row: 2; margin-bottom: 8px; }
  .card-heading h2 { font-size: 16px; }
  .card-heading p { font-size: 13px; }
  .bar-item { font-size: 14px; }
  .list-heading { align-items: flex-start; gap: 10px; }
  .list-heading h2 { font-size: 21px; }
  .list-heading-tools { max-width: 145px; }
  .list-heading-tools select { max-width: 145px; white-space: normal; }
  .list-tabs { gap: 19px; }
  .table-footer { gap: 14px; }
  .pagination { width: 100%; justify-content: space-between; }
  .drawer-top { padding: 18px 20px; }
  .detail-header { padding: 22px 20px; }
  .detail-body { padding: 0 20px 22px; }
  .detail-card { padding: 18px; }
  .detail-header h2 { font-size: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
