/* =====================================================================
   UI refresh layer — loaded AFTER app.css and the theme variables.

   One calm, consistent look across the app: neutral surfaces, a single
   brand colour (from the active theme), compact single-line tables and
   quiet cards. It supersedes the older "polish" / "vibrancy" layers in
   app.css (gradient headers, gradient buttons, hover lifts) rather than
   adding another competing layer on top.

   Colours come from the theme service (--primary, --primary-dark,
   --primary-light, --primary-rgb) so every theme and the Branding colour
   keep working.
   ===================================================================== */

:root {
  /* The theme (or a usable Branding colour) is the single source of colour. */
  --app-primary: var(--primary, #2563eb);
  --app-primary-rgb: var(--primary-rgb, 37, 99, 235);
  --app-primary-dark: var(--primary-dark, #1d4ed8);
  --app-gradient-start: var(--gradient-start, #1e3a8a);
  --app-gradient-end: var(--gradient-end, #3b82f6);
  --ui-bg: #f6f7f9;
  --ui-surface: #ffffff;
  --ui-border: #e4e7ec;
  --ui-border-strong: #d0d5dd;
  --ui-text: #101828;
  --ui-text-2: #475467;
  --ui-text-3: #667085;
  --ui-radius: 10px;
  --ui-radius-sm: 7px;
  --ui-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --ui-shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --ui-shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
  --ui-ring: rgba(var(--app-primary-rgb), .28);
  --app-border: var(--ui-border);
  --app-muted: var(--ui-text-2);
  --app-sidebar-active-bg: rgba(var(--app-primary-rgb), .09);
  --app-sidebar-hover: #f2f4f7;
  --app-sidebar-border: var(--ui-border);
}

/* ---- Base ----------------------------------------------------------- */
body, .app-main { background: var(--ui-bg); color: var(--ui-text); }
body { font-size: .9375rem; -webkit-font-smoothing: antialiased; }
a { color: var(--app-primary-dark); font-weight: inherit; text-decoration: none; }
a:hover { color: var(--app-primary-dark); text-decoration: underline; }
.btn, .nav-link, .dropdown-item, .page-link, .badge, .sort-link { text-decoration: none !important; }
.text-secondary { color: var(--ui-text-2) !important; }
.text-muted { color: var(--ui-text-3) !important; }
.text-primary { color: var(--app-primary-dark) !important; }
.bg-primary { background-color: var(--app-primary) !important; }
.border-primary { border-color: var(--app-primary) !important; }
.border { border-color: var(--ui-border) !important; }
h1, h2, h3, h4, h5, h6 { color: var(--ui-text); letter-spacing: -.01em; }

/* ---- Buttons: flat, one primary -------------------------------------- */
.btn { border-radius: var(--ui-radius-sm); font-weight: 500; letter-spacing: 0; box-shadow: none; }
.btn:active { transform: none; }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--ui-ring) !important; }
.btn-primary, .view-switcher .btn.btn-primary, .view-switcher .btn.btn-primary.active {
  background: var(--app-primary) !important;
  background-image: none !important;
  border: 1px solid var(--app-primary) !important;
  color: #fff !important;
  box-shadow: var(--ui-shadow-xs);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--app-primary-dark) !important;
  border-color: var(--app-primary-dark) !important;
  filter: none; transform: none; box-shadow: var(--ui-shadow-xs);
}
.btn-outline-primary {
  color: var(--app-primary-dark) !important;
  border-color: rgba(var(--app-primary-rgb), .45) !important;
  background: var(--ui-surface);
}
.btn-outline-primary:hover, .btn-outline-primary.active {
  background: rgba(var(--app-primary-rgb), .08) !important;
  color: var(--app-primary-dark) !important;
  border-color: var(--app-primary) !important;
}
.btn-outline-secondary {
  --bs-btn-color: #344054; --bs-btn-border-color: var(--ui-border-strong); --bs-btn-bg: #fff;
  --bs-btn-hover-color: var(--ui-text); --bs-btn-hover-bg: #f9fafb; --bs-btn-hover-border-color: #98a2b3;
  --bs-btn-active-color: var(--ui-text); --bs-btn-active-bg: #f2f4f7; --bs-btn-active-border-color: #98a2b3;
  font-weight: 500;
}
.view-switcher .btn.btn-outline-secondary { font-weight: 500; }
.filter-status .btn.active, .filter-status .btn-outline-secondary.active {
  background: #344054 !important; border-color: #344054 !important; box-shadow: none;
}

/* ---- Forms ----------------------------------------------------------- */
.form-control, .form-select { border-color: var(--ui-border-strong); border-radius: var(--ui-radius-sm); font-size: .9rem; }
.form-control:focus, .form-select:focus {
  border-color: var(--app-primary) !important;
  box-shadow: 0 0 0 3px var(--ui-ring) !important;
}
.form-label { font-weight: 500; color: #344054; font-size: .84rem; margin-bottom: .3rem; }
.form-text { color: var(--ui-text-3); }
.form-check-input:checked { background-color: var(--app-primary) !important; border-color: var(--app-primary) !important; }
.input-group-text { background: #f9fafb; border-color: var(--ui-border-strong); color: var(--ui-text-2); }
/* Help hint: no dotted underline under every label, just a small marker */
[data-help] { border-bottom: 0; cursor: help; }
[data-help]::after { content: none; }
label[data-help]:not(:hover)::after {
  content: "?"; position: static; display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; margin-left: .35rem; border-radius: 50%;
  background: #eaecf0; color: var(--ui-text-3); font-size: .62rem; font-weight: 700;
  vertical-align: 1px; transform: none; padding: 0; box-shadow: none;
}
.form-section {
  background: var(--ui-surface);
  border: 1px solid var(--ui-border) !important;
  border-left: 1px solid var(--ui-border) !important;
  border-radius: var(--ui-radius);
  box-shadow: none;
  padding: 1.1rem 1.25rem 1.25rem;
}
.form-section > legend {
  margin: 0 0 .9rem; padding: 0 0 .6rem;
  border-bottom: 1px solid var(--ui-border);
  font-size: .78rem; letter-spacing: .05em; color: var(--ui-text);
}
.form-section .form-control, .form-section .form-select { border-color: var(--ui-border-strong); }

/* ---- Cards ----------------------------------------------------------- */
.card, .widget-card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-border) !important;
  border-radius: var(--ui-radius) !important;
  box-shadow: var(--ui-shadow-xs) !important;
  transition: none;
}
.card:hover, .widget-card:hover, .kanban-card:hover, .kpi-card:hover,
.widget-card.text-center:hover, .card .widget-card.h-100:hover {
  transform: none;
  box-shadow: var(--ui-shadow-xs) !important;
}
.card > .card-header {
  background: var(--ui-surface) !important;
  border-bottom: 1px solid var(--ui-border) !important;
  color: var(--ui-text);
  font-weight: 600; font-size: .92rem;
  padding: .8rem 1rem;
  border-radius: var(--ui-radius) var(--ui-radius) 0 0 !important;
}
.card > .card-header i { color: var(--ui-text-3); }
.card .widget-card.h-100 { border-left: 1px solid var(--ui-border) !important; }
.card .widget-card.h-100:hover { background: #f9fafb; border-color: var(--ui-border-strong) !important; }

/* stat tiles */
.widget-card.text-center, .widget-card.p-3.text-center, .widget-card.text-center.p-3 {
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-border) !important;
  text-align: left !important;
  padding: 1rem 1.1rem !important;
}
.widget-card.text-center h3, .widget-card.text-center h4 {
  font-size: 1.45rem; font-weight: 700; color: var(--ui-text); margin: 0 0 .15rem;
}
.widget-card.text-center small { font-size: .8rem; }
.widget-card.text-center .display-6 { font-size: 1.4rem; display: block; margin-bottom: .5rem; }

/* ---- KPI cards: white, one coloured icon tile each -------------------- */
.kpi-card {
  background: var(--ui-surface) !important;
  color: var(--ui-text);
  border: 1px solid var(--ui-border);
  box-shadow: var(--ui-shadow-xs);
  border-radius: var(--ui-radius);
  padding: 1rem 1.1rem;
  align-items: flex-start;
  gap: .85rem;
  height: 100%;
}
.kpi-card::before, .kpi-card::after { content: none; }
.kpi-icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; opacity: 1;
  background: rgba(var(--app-primary-rgb), .10); color: var(--app-primary-dark);
}
.kpi-2 .kpi-icon { background: #eef2ff; color: #4338ca; }
.kpi-3 .kpi-icon { background: #ecfdf3; color: #067647; }
.kpi-4 .kpi-icon { background: #fffaeb; color: #b54708; }
.kpi-5 .kpi-icon { background: #f0f9ff; color: #026aa2; }
.kpi-6 .kpi-icon { background: #f4f3ff; color: #5925dc; }
.kpi-body { min-width: 0; }
.kpi-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ui-text-3); text-shadow: none;
}
.kpi-value {
  font-size: 1.4rem; font-weight: 700; color: var(--ui-text); text-shadow: none;
  line-height: 1.25; white-space: nowrap; letter-spacing: -.02em;
}
.kpi-sub { font-size: .78rem; color: var(--ui-text-2); text-shadow: none; }
/* clickable KPI: whole card opens the list; "Next" is its own link on top */
.kpi-card.kpi-link { cursor: pointer; }
.kpi-card.kpi-link:hover { border-color: var(--app-primary); }
.kpi-card.kpi-link a.kpi-value:hover { text-decoration: none; }
.kpi-card.kpi-link .kpi-next { position: relative; z-index: 2; color: var(--app-primary-dark); font-weight: 600; }
.kpi-card.kpi-link .kpi-next:hover { text-decoration: underline; }
a:has(> .kpi-card) { display: block; height: 100%; }
a:has(> .kpi-card):hover { text-decoration: none; }
a:has(> .kpi-card):hover .kpi-card { border-color: var(--ui-border-strong); }

/* ---- Badges: soft tints instead of solid blocks ----------------------- */
.badge { font-weight: 600; letter-spacing: 0; padding: .3em .65em; }
.badge.text-bg-secondary { background: #f2f4f7 !important; color: #344054 !important; }
.badge.text-bg-success { background: #ecfdf3 !important; color: #067647 !important; }
.badge.text-bg-danger { background: #fef3f2 !important; color: #b42318 !important; }
.badge.text-bg-warning { background: #fffaeb !important; color: #b54708 !important; }
.badge.text-bg-info { background: #f0f9ff !important; color: #026aa2 !important; }
.badge.text-bg-primary { background: rgba(var(--app-primary-rgb), .10) !important; color: var(--app-primary-dark) !important; }
.badge.text-bg-dark { background: #344054 !important; color: #fff !important; }
.badge.text-bg-light { background: #f9fafb !important; color: var(--ui-text-2) !important; border: 1px solid var(--ui-border); }

.stage-badge {
  box-shadow: none; font-weight: 600; font-size: .74rem; padding: .28em .65em;
  background: #f2f4f7; color: #344054 !important;       /* default for any stage name */
}
.stage-badge::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; margin-right: .4em; vertical-align: 1px;
}
.stage-badge[data-stage="Enquiry"]                     { background: #f2f4f7; color: #344054 !important; }
.stage-badge[data-stage="Qualified"]                   { background: #f0f9ff; color: #026aa2 !important; }
.stage-badge[data-stage="Proposal Submitted"]          { background: #f4f3ff; color: #5925dc !important; }
.stage-badge[data-stage="Negotiation"]                 { background: #fffaeb; color: #b54708 !important; }
.stage-badge[data-stage="Verbal Commit / Awaiting PO"] { background: #f0fdf9; color: #107569 !important; }
.stage-badge[data-stage="Closed Won"]                  { background: #ecfdf3; color: #067647 !important; }
.stage-badge[data-stage="Closed Lost"]                 { background: #fef3f2; color: #b42318 !important; }
.stage-badge[data-stage="On Hold"]                     { background: #f2f4f7; color: #667085 !important; }

/* ---- Tables: compact, single-line rows -------------------------------- */
.table { --bs-table-border-color: var(--ui-border); font-size: .875rem; color: var(--ui-text); margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .6rem .8rem; }
.table thead th, .table > thead > tr > th {
  background: #f9fafb !important;
  font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ui-text-3); white-space: nowrap; vertical-align: middle;
  border-bottom: 1px solid var(--ui-border);
}
.table tbody tr:last-child > * { border-bottom: 0; }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: #f9fafb; }
.table td.small, .table .small { font-size: .82rem; }
.table tfoot > tr > * { background: #f9fafb; }
/* data lists: keep every row on one line; long names truncate with a tooltip */
.table-list th, .table-list td { white-space: nowrap; }
.table-list > :not(caption) > * > * { padding: .5rem .65rem; }
.table-list td:first-child, .table-list th:first-child { padding-left: 1rem; }
.table-list td:last-child, .table-list th:last-child {
  position: sticky; right: 0; background: var(--ui-surface);
  box-shadow: -1px 0 0 var(--ui-border); padding-right: .85rem;
}
.table-list thead th:last-child { background: #f9fafb !important; }
.table-list.table-hover > tbody > tr:hover > td:last-child { background: #f9fafb; }
.cell-truncate { display: block; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-truncate-sm { max-width: 160px; }
.cell-sub { font-size: .76rem; color: var(--ui-text-3); line-height: 1.2; }
.table .btn-sm { padding: .2rem .45rem; font-size: .8rem; }
.sort-link { color: inherit; }
.sort-link .bi-chevron-down { opacity: .45; font-size: .65rem; }
.card > .table-responsive:last-child, .card > .table-responsive:last-child > .table { border-radius: 0 0 var(--ui-radius) var(--ui-radius); }
.pagination { --bs-pagination-color: #344054; --bs-pagination-border-color: var(--ui-border-strong); }
.pagination .page-item.active .page-link { background-color: var(--app-primary) !important; border-color: var(--app-primary) !important; color: #fff; }

/* ---- Shell: sidebar --------------------------------------------------- */
.app-sidebar { width: 236px; background: var(--ui-surface); border-right: 1px solid var(--ui-border); }
.sidebar-brand {
  border-bottom: 1px solid var(--ui-border) !important;
  padding: 1rem .9rem .85rem; gap: .35rem;
  background: var(--ui-surface);
}
.sidebar-logo-full { height: min(var(--brand-logo-height, 48px), 44px); }
.brand-name { font-size: .82rem; font-weight: 600; color: var(--ui-text-2) !important; letter-spacing: .01em; }
.sidebar-nav { padding: .6rem .5rem 1rem; }
.sidebar-nav .nav { gap: 1px !important; }
.sidebar-nav .nav-section {
  font-size: .66rem; font-weight: 600; letter-spacing: .07em; color: #98a2b3;
  padding: 1rem .7rem .35rem;
}
.sidebar-nav .nav-link {
  margin: 0; padding: .46rem .7rem; gap: .65rem;
  font-size: .875rem; font-weight: 500; color: #344054;
  border-radius: var(--ui-radius-sm);
}
.sidebar-nav .nav-link i { font-size: 1rem; width: 1.1rem; color: #667085; }
.sidebar-nav .nav-link:hover { background: var(--app-sidebar-hover); color: var(--ui-text); }
.sidebar-nav .nav-link.active {
  background: var(--app-sidebar-active-bg) !important;
  color: var(--app-primary-dark) !important;
  font-weight: 600; box-shadow: none;
}
.sidebar-nav .nav-link.active i { color: var(--app-primary-dark); }
/* collapsible group (Administration) */
.sidebar-nav .nav-group-toggle {
  width: 100%; border: 0; background: transparent; text-align: left;
  display: flex; align-items: center; gap: .65rem;
}
.sidebar-nav .nav-group-toggle .nav-caret { margin-left: auto; font-size: .7rem; width: auto; transition: transform .15s ease; }
.sidebar-nav .nav-group-toggle[aria-expanded="true"] .nav-caret { transform: rotate(90deg); }
.sidebar-nav .nav-sub .nav-link { padding-left: 2.45rem; font-size: .84rem; font-weight: 400; }
.sidebar-nav .nav-sub .nav-link.active { font-weight: 600; }
.app-shell.sidebar-collapsed .app-sidebar .nav-sub,
.app-shell.sidebar-collapsed .app-sidebar .nav-caret { display: none; }
.sidebar-footer { border-top: 1px solid var(--ui-border); font-size: .75rem; color: #98a2b3; padding: .7rem 1rem; }
.sidebar-version { color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
.sidebar-version:hover, .sidebar-version:focus { color: var(--bs-primary); text-decoration: underline; }

/* ---- Shell: top bar --------------------------------------------------- */
.app-topbar {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--ui-border);
  padding: .55rem 1.25rem;
  min-height: 56px;
}
.app-topbar .topbar-title h1 { font-size: 1.05rem; font-weight: 600; padding-left: 0; }
.app-topbar .topbar-title h1::before { content: none; }
.app-topbar .btn-sm { padding: .32rem .65rem; }
.topbar-search {
  display: inline-flex; align-items: center; gap: .5rem;
  min-width: 230px; padding: .32rem .6rem;
  background: #f9fafb; border: 1px solid var(--ui-border-strong); border-radius: var(--ui-radius-sm);
  color: var(--ui-text-3); font-size: .85rem; cursor: text;
}
.topbar-search:hover { border-color: #98a2b3; background: #fff; }
.topbar-search .kbd-hint { margin-left: auto; }
.kbd-hint {
  background: #fff; border: 1px solid var(--ui-border-strong); border-radius: 5px;
  color: var(--ui-text-3); font-size: .68rem; padding: .05rem .35rem; box-shadow: none;
}
.bu-switcher .btn { font-weight: 600; }
.app-content { padding: 1.25rem; }
.app-footer { background: transparent; border-top: 0; color: #98a2b3; padding: .6rem 1.25rem 1rem; }

/* page header row used at the top of list pages */
.page-intro { color: var(--ui-text-2); font-size: .875rem; }

/* ---- Navs / dropdowns / modals ---------------------------------------- */
.nav-settings .nav-link { background: transparent; color: var(--ui-text-2); font-weight: 500; }
.nav-settings .nav-link.active, .nav-pills .nav-link.active {
  background: rgba(var(--app-primary-rgb), .10) !important;
  color: var(--app-primary-dark) !important; box-shadow: none;
}
.nav-settings .nav-link:hover:not(.active) { background: #f2f4f7; color: var(--ui-text); }
.nav-tabs .nav-link.active { color: var(--app-primary-dark) !important; border-color: var(--ui-border) var(--ui-border) #fff !important; }
.dropdown-menu { border-color: var(--ui-border); box-shadow: var(--ui-shadow-md); font-size: .875rem; }
.dropdown-item.active, .dropdown-item:active { background: rgba(var(--app-primary-rgb), .10); color: var(--app-primary-dark); }
.th-sort-dropdown .dropdown-item.active { background: rgba(var(--app-primary-rgb), .10); color: var(--app-primary-dark); }
.modal-content { border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-md); }
.progress-bar { background: var(--app-primary) !important; }
.alert { border-radius: var(--ui-radius); font-size: .9rem; }
.stat-card { border-left: 1px solid var(--ui-border) !important; }
.btn-gradient, .gradient-header { background: var(--app-primary) !important; color: #fff !important; border: none !important; }

/* ---- Kanban ----------------------------------------------------------- */
.kanban-column { background: #f2f4f7; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); }
.kanban-card { border: 1px solid var(--ui-border); border-radius: var(--ui-radius-sm); box-shadow: var(--ui-shadow-xs); }

/* ---- Empty states ------------------------------------------------------ */
td.text-center.text-secondary.py-5 .bi, td.text-center.text-secondary.py-4 .bi { color: #98a2b3; }

/* ---- Sign-in ----------------------------------------------------------- */
.app-body:has(.auth-wrap) { background: var(--ui-bg); }
.app-body:has(.auth-wrap) .app-content { padding: 0; }
.app-body:has(.auth-wrap) .app-footer { display: none; }
.auth-wrap { min-height: 100vh; padding: 0; align-items: stretch; justify-content: stretch; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); width: 100%; min-height: 100vh; }
.auth-aside {
  background: linear-gradient(160deg, var(--app-gradient-start), var(--app-primary));
  color: #fff; padding: 3rem 3.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-aside .auth-logo-img {
  max-height: 52px; max-width: 220px; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 6px 10px;
}
.auth-aside h1 { color: #fff; font-size: 2rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.auth-aside p { color: rgba(255, 255, 255, .86); font-size: 1rem; max-width: 30rem; }
.auth-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.auth-points li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; color: rgba(255, 255, 255, .92); }
.auth-points i { color: #fff; opacity: .9; }
.auth-aside small { color: rgba(255, 255, 255, .7); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; background: var(--ui-surface); }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 { font-size: 1.5rem; font-weight: 700; }
.auth-form .btn-primary { padding: .6rem; font-weight: 600; }
.auth-form .form-control { padding: .55rem .75rem; }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { padding: 1.75rem 1.5rem; min-height: 0; }
  .auth-aside h1 { font-size: 1.4rem; }
  .auth-points, .auth-aside .auth-foot { display: none; }
  .auth-main { align-items: flex-start; padding-top: 2rem; }
}

/* ---- Small screens ----------------------------------------------------- */
@media (max-width: 991.98px) {
  .app-sidebar { width: 264px; }
  .app-content { padding: 1rem; }
  .topbar-search { min-width: 0; }
  .topbar-search .topbar-search-text, .topbar-search .kbd-hint { display: none; }
}
@media (max-width: 575.98px) {
  .app-topbar { padding: .5rem .75rem; }
  .table-list th, .table-list td { white-space: normal; }
  .cell-truncate { max-width: none; white-space: normal; }
  .kpi-value { font-size: 1.2rem; }
}

/* ---- Charts ------------------------------------------------------------ */
.chart-box { position: relative; width: 100%; min-height: 220px; }
.chart-box > canvas { position: absolute; inset: 0; }

/* ---- Report tiles (Reports page) --------------------------------------- */
.report-tile {
  display: flex; align-items: center; gap: .875rem; height: 100%;
  padding: .875rem 1rem; border: 1px solid var(--ui-border, #e4e7ec); border-radius: 12px;
  background: var(--bs-body-bg); color: inherit; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.report-tile:hover {
  border-color: var(--app-primary); box-shadow: 0 4px 14px rgba(16, 24, 40, .08);
  text-decoration: none; color: inherit; transform: translateY(-1px);
}
.report-tile-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.15rem;
  color: var(--app-primary-dark, var(--app-primary));
  background: color-mix(in srgb, var(--app-primary) 10%, transparent);
}
.report-tile-body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.report-tile-title { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.report-tile-text { font-size: .8125rem; color: var(--ui-text-2, #667085); line-height: 1.35; }
.report-tile-go { flex: 0 0 auto; color: var(--ui-text-3, #98a2b3); transition: transform .15s ease, color .15s ease; }
.report-tile:hover .report-tile-go { color: var(--app-primary); transform: translateX(2px); }
