:root,
[data-accent="green"] {
  --ink: #17231f;
  --muted: #64706b;
  --line: #dce3de;
  --paper: #f5f4ef;
  --card: #ffffff;
  --green: #185b49;
  --green-strong: #104638;
  --green2: #e4efe8;
  --blue: #185b49;
  --shadow: 0 12px 32px rgba(29, 52, 43, .07);
}

[data-accent="blue"] {
  --green: #176b72;
  --green-strong: #12575d;
  --blue: #316dcc;
  --green2: #e3f3f3;
}

.sidebar {
  width: 252px;
  padding: 22px 16px 18px;
  background: #123d32;
}

main { margin-left: 252px; }

.brand-image-link { padding: 0 7px 11px; }
.brand-logo-image { width: 194px; max-width: 100%; }
.sidebar #primaryNavigation { margin-top: 8px; }
.sidebar .nav-group { margin-bottom: 9px; }
.sidebar .nav-group-title { padding: 7px 11px 4px; color: #e8c35d; font-size: 9px; letter-spacing: .14em; }
.sidebar #primaryNavigation .nav-link {
  position: relative;
  min-height: 34px;
  padding: 8px 11px;
  color: #c0d2cb;
  border-radius: 8px;
  font-size: 12px;
}
.sidebar #primaryNavigation .nav-link:hover { background: rgba(255,255,255,.075); }
.sidebar #primaryNavigation .nav-link.active {
  color: #fff;
  background: #2a5a4c;
  box-shadow: inset 3px 0 #e2b63f;
}
.sidebar #primaryNavigation .nav-link:focus-visible { outline: 3px solid #f4d982; outline-offset: 1px; }

.topbar {
  min-height: 74px;
  padding: 15px 32px;
  background: rgba(245,244,239,.96);
}
.topbar h1 { font-size: 23px; }
.topbar .eyebrow { margin-bottom: 3px; }
.header-actions { gap: 8px; }
.header-actions .button,
.header-actions .search,
.site-settings-button { min-height: 40px; }
.search input { width: 176px; }
.button.primary { background: var(--green); }
.button.primary:hover { background: var(--green-strong); }
.public-beta-banner { margin: 10px 32px 0; }
.breadcrumbs { margin: 8px 32px; }
.eyebrow { color: #55625d; }
.recent-change dt { color: #55625d; }
.site-footer { color: #55625d; }

.hero {
  min-height: 148px;
  margin: 12px 32px 18px;
  padding: 20px 28px;
  border: 1px solid #d9e3d9;
  border-radius: 16px;
  background: linear-gradient(115deg, #e4efe7 0%, #f4f0dd 100%);
}
.hero h2 { margin: 10px 0 6px; font-size: clamp(28px, 2.5vw, 36px); }
.hero>div:first-child>p { max-width: 720px; line-height: 1.45; }
.hero-actions { margin-top: 11px; }
.hero-evidence { padding: 13px 16px; background: rgba(255,255,255,.68); }

.whole-site-dashboard { margin: 0 32px 30px; }
.whole-site-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.whole-site-heading h2 { font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.025em; }
.whole-site-heading>div>p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.overview-data-note,
.overview-status-badge {
  color: #4e625a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.overview-data-note { padding-bottom: 4px; white-space: nowrap; }
.whole-site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.overview-insight-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(29,52,43,.045);
}
.overview-tax-card { grid-column: 1 / -1; padding: 22px 24px 18px; }
.overview-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.overview-card-heading h3 { margin: 0; color: var(--ink); font: 800 clamp(19px,1.65vw,25px)/1.2 Manrope,sans-serif; letter-spacing: -.02em; }
.overview-status-badge { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; background: #edf3ee; }
.overview-tax-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 30px; align-items: center; }
.overview-tax-bars { display: grid; gap: 8px; }
.overview-tax-row { display: grid; grid-template-columns: 112px minmax(120px,1fr) 48px; gap: 10px; align-items: center; min-height: 24px; color: #53635d; font-size: 12px; }
.overview-tax-row>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-tax-track { height: 9px; overflow: hidden; border-radius: 999px; background: #edf0ed; }
.overview-tax-track i { display: block; height: 100%; border-radius: inherit; background: #95afa5; }
.overview-tax-row.is-uk { color: var(--green-strong); font-weight: 800; }
.overview-tax-row.is-uk .overview-tax-track { height: 13px; background: #dfeae4; box-shadow: 0 0 0 4px #f2f6f3; }
.overview-tax-row.is-uk .overview-tax-track i { background: var(--green); }
.overview-tax-row strong { text-align: right; font: 800 12px Manrope,sans-serif; }
.overview-tax-spotlight { display: grid; grid-template-columns: 1fr 96px; align-items: center; padding: 15px 0 15px 22px; border-left: 1px solid var(--line); }
.overview-tax-spotlight>span,
.overview-tax-spotlight>small,
.overview-tax-spotlight>p { grid-column: 1; }
.overview-tax-spotlight>span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.overview-tax-spotlight>strong { grid-column: 1; display: block; margin: 3px 0 0; color: var(--green-strong); font: 800 38px Manrope,sans-serif; letter-spacing: -.04em; }
.overview-tax-spotlight>small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.overview-tax-spotlight>p { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.overview-tax-mix { grid-column: 2; grid-row: 1 / span 4; }
.overview-tax-mix svg { display: block; width: 96px; height: 96px; }
.overview-tax-mix text { fill: #52645d; font: 800 9px DM Sans,sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.overview-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #e8ece9; }
.overview-card-footer details { max-width: 70%; }
.overview-card-footer summary,
.overview-method summary { cursor: pointer; color: #354a42; font-size: 11px; font-weight: 800; }
.overview-card-footer details p,
.overview-method p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.overview-card-footer>a { color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.overview-card-footer>a:hover { text-decoration: underline; }
.overview-card-footer>a:focus-visible,
.overview-card-footer summary:focus-visible,
.overview-method summary:focus-visible { outline: 3px solid #d3ad3e; outline-offset: 3px; border-radius: 3px; }
.overview-metric-row { display: flex; align-items: end; gap: 34px; min-height: 64px; }
.overview-metric-row>div { display: grid; gap: 2px; }
.overview-metric-row strong { color: var(--green-strong); font: 800 34px Manrope,sans-serif; letter-spacing: -.04em; }
.overview-metric-row>div+div strong { color: var(--ink); font-size: 21px; }
.overview-metric-row span { color: var(--muted); font-size: 10px; }
.overview-income-chart { min-height: 102px; margin-top: 9px; }
.overview-income-chart svg { display: block; width: 100%; height: 102px; overflow: visible; }
.overview-income-chart path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.overview-income-chart circle { fill: #fff; stroke: var(--green); stroke-width: 2; }
.overview-income-chart line { stroke: #dfe5e1; stroke-width: 1; }
.overview-income-chart text { fill: var(--muted); font: 700 9px DM Sans,sans-serif; }
.overview-momentum-list { display: grid; gap: 0; min-height: 152px; }
.overview-momentum-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid #edf0ee; }
.overview-momentum-row>div { display: grid; gap: 3px; }
.overview-momentum-row>div strong { font-size: 13px; }
.overview-momentum-row span { color: var(--muted); font-size: 10px; }
.overview-momentum-row b { color: var(--ink); font: 800 22px Manrope,sans-serif; white-space: nowrap; }
.overview-momentum-row b.is-positive { color: var(--green); }
.overview-method { margin-top: 8px; }
.overview-insight-card>.overview-card-footer>p { max-width: 62%; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.overview-empty { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 1180px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .topbar>div:first-child { flex: 1 0 210px; }
  .header-actions { flex: 1 1 560px; justify-content: flex-end; }
  .search input { width: 150px; }
  .overview-tax-layout { grid-template-columns: minmax(0,1fr) 230px; gap: 20px; }
  .overview-tax-spotlight { grid-template-columns: 1fr 78px; }
  .overview-tax-mix svg { width: 78px; height: 78px; }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .sidebar { width: 220px; }
  main { margin-left: 220px; }
  .whole-site-dashboard { margin-left: 25px; margin-right: 25px; }
}

@media (max-width: 900px) {
  .whole-site-grid { grid-template-columns: 1fr; }
  .overview-tax-layout { grid-template-columns: 1fr; }
  .overview-tax-spotlight { grid-template-columns: 1fr 96px; padding: 15px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 800px) {
  main { margin-left: 0; }
  .topbar { padding: 14px 16px; }
  .topbar>div:first-child { flex-basis: 150px; }
  .topbar h1 { font-size: 20px; }
  .header-actions { flex-basis: 100%; justify-content: flex-start; }
  .header-actions .button { padding: 9px 11px; }
  .header-actions .search-shell { order: 3; flex: 1 0 100%; }
  .search-shell .search { display: flex; }
  .mobile-menu-button {
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: 700 13px 'DM Sans',sans-serif;
  }
  .analytics-settings-control { position: static; margin: 0 16px 16px; }
  .public-beta-banner { margin-left: 16px; margin-right: 16px; }
  .breadcrumbs { margin-left: 16px; margin-right: 16px; }
  .hero { min-height: 0; margin: 10px 16px 18px; padding: 19px; }
  .hero h2 { font-size: 27px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .whole-site-dashboard { margin: 0 16px 26px; }
  .whole-site-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .overview-data-note { white-space: normal; }
  .overview-insight-card,
  .overview-tax-card { padding: 17px; }
  .overview-card-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .overview-tax-row { grid-template-columns: 96px minmax(88px,1fr) 42px; gap: 7px; }
  .overview-card-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .overview-card-footer details,
  .overview-insight-card>.overview-card-footer>p { max-width: none; }
}

@media (max-width: 430px) {
  .topbar>div:first-child { flex: 0 0 auto; width: 100%; }
  .header-actions { display: grid; grid-template-columns: auto 1fr 1fr; width: 100%; }
  .mobile-menu-button { min-width: 72px; }
  .header-actions .search-shell { grid-column: 1 / -1; width: 100%; }
  .header-actions #exportBtn { display: none; }
  .header-actions #addBtn,
  .header-actions #accountButton { padding-left: 8px; padding-right: 8px; }
  .site-settings-button { grid-column: 1 / -1; justify-self: start; min-height: 34px; }
  .overview-tax-row { grid-template-columns: 87px minmax(64px,1fr) 40px; font-size: 11px; }
  .overview-tax-spotlight { grid-template-columns: 1fr 82px; }
  .overview-tax-mix svg { width: 82px; height: 82px; }
  .overview-metric-row { gap: 22px; }
  .overview-metric-row strong { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .overview-insight-card *,
  .overview-tax-track i { transition: none !important; animation: none !important; }
}
